/* Brick-to-Pixel · Loodos kimliği: Red Hat Display, mürekkep, Mint vurgu; Blue yalnız "kargo ve iade" dilimi.
   Kazakça, Kırgızca ve Rusçada Kiril harfler için Manrope (Red Hat Display'de Kiril yok). Düz CSS, bağımlılık yok. */
:root {
  --bg: #F8F8F8; --surface: #FFFFFF; --ink: #131E20; --body: #424B4D; --sub: #667085; --line: #E5E5E5;
  --mint: #1AB0BA; --mint-text: #0A757C; --mint-soft: #E3F5F6; --blue: #5D5DF7; --blue-soft: #EEF0FF;
  --dark: #131E20; --dark-line: #2E3D40; --on-dark: #F8F8F8; --on-dark-soft: #BDC0C1; --mint-on-dark: #37D1D9;
  --font: "Red Hat Display", "Helvetica Neue", Arial, sans-serif;
  --max: 1440px; --content: 1120px; --reading: 680px; --header: 60px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
html[lang="kk"], html[lang="ky"], html[lang="ru"] { --font: "Red Hat Display", "Manrope", "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.lang-pending body { visibility: hidden; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--font); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
@media (max-width: 720px) { body { font-size: 16px; } }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
button { font: inherit; color: inherit; }
a { color: var(--mint-text); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { max-width: var(--content); margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- üst bar */
.top { position: sticky; top: 0; z-index: 40; height: var(--header); background: rgba(248, 248, 248, .94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); }
.top .bar { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)); display: flex; align-items: center; gap: 10px; color: var(--ink); }
.top .pg-exit { position: relative; flex: none; }
.top .pg-exit::after { content: ""; position: absolute; inset: -8px -4px; }
.logo-link { display: flex; align-items: center; flex: none; min-height: 44px; }
.logo { display: block; height: 22px; width: auto; }
.chapters { flex: 1; min-width: 0; display: flex; justify-content: center; position: relative; }
.chips { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.chips a { display: block; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--sub); text-decoration: none; padding: 7px 10px; border-radius: 999px; }
.chips a .cn { display: none; }
.chips a:hover { color: var(--ink); }
.chips a[aria-current="true"] { color: var(--ink); background: var(--mint-soft); }
.share, .lang-toggle, .chapter-toggle { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 500; cursor: pointer; }
.share:hover, .lang-toggle:hover { border-color: var(--mint); }
.chapters .chapter-toggle { display: none; }
.share svg, .chapter-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lang-code { font-weight: 600; letter-spacing: .06em; }
.langs { position: relative; flex: none; }
.lang-list { display: none; list-style: none; margin: 0; position: absolute; top: calc(100% + 12px); right: 0; min-width: 220px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(19, 30, 32, .12); z-index: 50; }
.lang-list.open { display: block; }
.lang-list button { display: flex; width: 100%; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: none; text-align: left; cursor: pointer; font-size: 15px; }
.lang-list button b { width: 26px; font-size: 12px; letter-spacing: .06em; color: var(--sub); }
.lang-list button:hover { background: var(--bg); }
.lang-list button[aria-current="true"] { background: var(--mint-soft); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progress span { display: block; height: 100%; width: 0; background: var(--mint); }
@media (max-width: 1000px) {
  .chapters { justify-content: flex-end; }
  .chips { display: none; position: absolute; top: calc(100% + 12px); right: 0; width: min(280px, calc(100vw - 32px)); flex-direction: column; gap: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(19, 30, 32, .12); z-index: 50; }
  .chips.open { display: flex; }
  .chips a { font-size: 15px; padding: 12px; border-radius: 8px; display: flex; gap: 12px; }
  .chips a .cn { display: inline; color: var(--sub); font-size: 12px; font-variant-numeric: tabular-nums; }
  .chapters .chapter-toggle { display: inline-flex; min-height: 44px; min-width: 44px; padding: 0 10px; }
  .chapter-toggle span { display: none; }
  .share, .lang-toggle { min-height: 44px; min-width: 44px; padding: 0 10px; }
  .share span { display: none; }
}
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 16px); opacity: 0; z-index: 60; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 14px; pointer-events: none; transition: opacity .18s, transform .18s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- ortak */
.chapter { padding: clamp(80px, 10vw, 150px) 0; }
@media (max-width: 720px) { .chapter { padding: 64px 0; } }
.tint { background: #F1F3F3; }
.dark { background: var(--dark); color: var(--on-dark-soft); }
.dark h1, .dark h2, .dark h3 { color: var(--on-dark); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--mint-text); margin-bottom: 16px; }
.dark .eyebrow { color: var(--mint-on-dark); }
.h2 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -.045em; }
.h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; margin-bottom: 18px; }
.lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; margin-top: 16px; max-width: var(--reading); }
.dark .lead { color: var(--on-dark-soft); }
.note { font-size: 13px; color: var(--sub); margin-top: 16px; max-width: var(--reading); line-height: 1.5; }
.dark .note { color: #A5ABAC; }
.block { margin-top: clamp(56px, 7vw, 96px); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 16px; font-weight: 600; cursor: pointer; }
.btn:hover { background: #24363A; }
.btn.ghost { background: transparent; color: inherit; border: 1px solid currentColor; opacity: .85; margin-top: 20px; }
.btn[hidden] { display: none; }
.hint { font-size: 14px; color: var(--sub); margin: -8px 0 16px; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* sekmeler */
.tabs-wrap { margin-top: 32px; }
.tablist { display: flex; flex-wrap: wrap; gap: 8px; }
.tablist button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
.tablist button:hover { border-color: var(--ink); }
.tablist button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.dark .tablist button { background: transparent; border-color: var(--dark-line); color: var(--on-dark); }
.dark .tablist button:hover { border-color: var(--mint-on-dark); }
.dark .tablist button[aria-selected="true"] { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.tablist.small button { font-size: 14px; }
.tabpanel { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.dark .tabpanel { background: #1B2A2D; border-color: var(--dark-line); }
.tabpanel.swap > * { animation: swap .4s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tabpanel.swap > *, .tiles.swap .tile { animation: none; } }

/* anahtar */
.switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); gap: 4px; margin-bottom: 20px; flex-wrap: wrap; }
.switch button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--sub); font-size: 15px; font-weight: 500; cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }

/* ---------- kapak */
.hero { position: relative; min-height: calc(100svh - var(--header)); display: flex; align-items: center; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0; }
.hero .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(48px, 7vw, 112px); line-height: 1.04; letter-spacing: -.055em; }
@media (max-width: 720px) { .hero h1 { font-size: clamp(38px, 11vw, 64px); } }
.hero .sub { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.2; color: var(--mint-on-dark); font-weight: 500; letter-spacing: -.02em; margin-top: 14px; }
.hero .dek { margin-top: 20px; max-width: 30em; color: var(--on-dark-soft); }
.hero .when { margin-top: 10px; font-size: 14px; color: #A5ABAC; }
.cta { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 32px; padding: 0 22px; border-radius: 999px; background: var(--mint); color: var(--ink) !important; font-weight: 600; text-decoration: none; }
.cta:hover { background: var(--mint-on-dark); }
.cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-art { width: 100%; height: auto; display: block; will-change: transform; }
.hero-art .brick, .hero-art .px { fill: #2A3B3E; }
.hero-art .px.m { fill: var(--mint); }
.hero-art .px.l { fill: #4A5A5D; }

/* ---------- 01 pazar */
.country { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 760px) { .country { grid-template-columns: 1fr; } }
.country-num .num { display: block; white-space: nowrap; font-size: clamp(52px, 7vw, 96px); line-height: .95; font-weight: 600; letter-spacing: -.055em; color: var(--ink); font-variant-numeric: tabular-nums; }
.country-num .lbl { display: block; margin-top: 8px; color: var(--sub); font-size: 15px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.facts li { padding: 8px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.first { grid-column: 1 / -1; border-left: 3px solid var(--mint); padding: 4px 0 4px 18px; }
.first b { display: block; font-size: 12px; letter-spacing: .14em; color: var(--mint-text); }
.first span { display: block; margin-top: 4px; font-size: clamp(19px, 2vw, 24px); line-height: 1.3; color: var(--ink); font-weight: 600; letter-spacing: -.02em; }
.guess .gq { font-size: clamp(18px, 1.8vw, 21px); color: var(--ink); max-width: 36em; }
.guess-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.guess-row .range { flex: 1 1 260px; }
.guess-out { font-size: 28px; font-weight: 600; color: var(--ink); min-width: 3.5em; font-variant-numeric: tabular-nums; }
.range { width: 100%; height: 44px; margin-left: 0; margin-right: 0; accent-color: var(--mint); }
.guess-result { margin-top: 24px; display: grid; gap: 10px; }
.guess-result[hidden] { display: none; }
.gbar { position: relative; height: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.gbar > span:first-child { position: absolute; left: 0; top: 0; bottom: 0; }
.gbar-you { background: #C9CDCE; }
.gbar-real { background: var(--mint); transition: width 1s var(--ease); }
@media (prefers-reduced-motion: reduce) { .gbar-real { transition: none; } }
.gbar-k { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---------- 02 sıra */
.statement { font-size: clamp(40px, 10vw, 148px); line-height: .95; letter-spacing: -.06em; overflow-wrap: break-word; }
.order-cards { list-style: none; padding: 0; margin: clamp(36px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .order-cards { grid-template-columns: 1fr; } }
.order-cards > li { display: flex; }
.ocard { width: 100%; flex: 1; min-height: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; border: 1px solid var(--dark-line); border-radius: 4px; background: #1B2A2D; color: var(--on-dark); text-align: left; cursor: pointer; transition: border-color .18s, background .18s; }
.ocard:hover:not(:disabled) { border-color: var(--mint-on-dark); }
.ocard:disabled { cursor: default; }
.ocard .onum { width: 32px; height: 32px; border-radius: 50%; border: 1.5px dashed #4A5A5D; display: grid; place-items: center; font-weight: 600; color: var(--ink); }
.ocard.picked .onum, .ocard.solved .onum { background: var(--mint-on-dark); border: 0; }
.ocard .ot { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.ocard ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.ocard ul li { font-size: 15px; line-height: 1.4; color: var(--on-dark-soft); padding-left: 16px; position: relative; }
.ocard ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--mint-on-dark); }
.order-msg { margin-top: 20px; font-size: clamp(18px, 2vw, 22px); line-height: 1.35; font-weight: 600; max-width: var(--reading); color: var(--on-dark); min-height: 1.4em; }
.order-msg.ok { color: var(--mint-on-dark); }

/* ---------- 03 hazırlık */
.questions { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.q { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 20px 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; align-items: center; transition: border-color .3s var(--ease); }
@media (max-width: 720px) { .q { grid-template-columns: 1fr; padding: 18px; } }
.q.known { border-color: var(--mint); }
.q.unclear { border-color: var(--blue); }
.q .topic { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--sub); }
.q .qq { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.3; color: var(--ink); font-weight: 600; letter-spacing: -.015em; margin-top: 4px; }
.q .test { font-size: 14px; margin-top: 8px; color: var(--sub); }
.q .test b { font-size: 11px; letter-spacing: .12em; color: var(--mint-text); margin-right: 8px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; justify-self: start; }
.seg button { min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--sub); font-size: 14px; font-weight: 500; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.seg button.u[aria-pressed="true"] { background: var(--blue); }
.verdict { margin-top: 16px; padding: 16px 20px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; transition: background .3s, border-color .3s; }
.verdict b { font-size: 22px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.verdict.stop { background: var(--blue-soft); border-color: var(--blue); }
.verdict.go { background: var(--mint-soft); border-color: var(--mint); }

/* ---------- 04 sepet */
.basket { margin-top: 32px; }
.btotal { font-size: 15px; color: var(--sub); margin-bottom: 8px; }
.barline { display: flex; height: 64px; border-radius: 3px; overflow: hidden; transition: width .6s var(--ease); }
.barline > div { height: 100%; transition: width .6s var(--ease); }
@media (prefers-reduced-motion: reduce) { .barline, .barline > div { transition: none; } }
.seg-cost { background: #C9CDCE; }
.seg-ship { background: var(--blue); }
.seg-margin { background: var(--mint); }
.legend-row { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
.legend-row li { display: inline-flex; align-items: center; gap: 8px; }
.legend-row i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.legend-row b { color: var(--ink); font-variant-numeric: tabular-nums; }

.how { margin-top: 18px; }
.how summary, .sources summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--mint-text); }
.how p { font-size: 15px; max-width: var(--reading); }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }
.tile { background: var(--surface); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.tile .k { font-size: 13px; color: var(--sub); }
.tile .v { font-size: 20px; line-height: 1.25; color: var(--ink); font-weight: 600; letter-spacing: -.02em; }
.tiles.swap .tile { animation: swap .4s var(--ease) both; }
.tiles.swap .tile:nth-child(2) { animation-delay: .04s; } .tiles.swap .tile:nth-child(3) { animation-delay: .08s; } .tiles.swap .tile:nth-child(4) { animation-delay: .12s; } .tiles.swap .tile:nth-child(5) { animation-delay: .16s; }
.line { margin-top: 16px; font-size: 17px; color: var(--ink); max-width: var(--reading); }

/* ---------- 05 kanal */
.channel .ex { font-size: 15px; color: var(--sub); margin-bottom: 16px; }
.channel dl, .fam dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
@media (max-width: 760px) { .channel dl { grid-template-columns: 1fr; } }
.channel dt, .fam dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--mint-text); }
.channel dd, .fam dd { margin: 4px 0 0; font-size: 18px; line-height: 1.4; color: var(--ink); }
.volume { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.readout { display: flex; align-items: baseline; gap: 10px; }
.readout-n { font-size: clamp(48px, 6vw, 80px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.readout small { font-size: 15px; color: var(--sub); }
.volume .range { margin-top: 16px; }
.ticks { position: relative; height: 18px; font-size: 13px; color: var(--sub); }
.ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.ticks span:first-child { transform: none; }
.ticks span:last-child { transform: translateX(-100%); }
.models { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .models { grid-template-columns: 1fr; } }
.model { border: 1px solid var(--line); padding: 18px; border-radius: 4px; opacity: .45; display: flex; flex-direction: column; gap: 6px; transition: opacity .3s var(--ease), border-color .3s, background .3s; }
.model.on { opacity: 1; border-color: var(--mint); background: var(--mint-soft); }
.model .band { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--sub); }
.model .mt { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.model .md { font-size: 15px; line-height: 1.45; }
@media (max-width: 760px) { .model:not(.on) { display: none; } }
.levers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
@media (max-width: 900px) { .levers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.levers li { border-top: 2px solid var(--ink); padding-top: 14px; }
.levers .num { display: block; font-size: clamp(36px, 4.4vw, 60px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.levers .lt { display: block; margin-top: 8px; font-size: 15px; }
.cases { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }
.flip { position: relative; display: block; width: 100%; min-height: 230px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1000px; text-align: left; }
.flip .face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 20px; border: 1px solid var(--line); background: var(--surface); backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .6s var(--ease); }
.flip .b { transform: rotateY(180deg); background: var(--ink); border-color: var(--ink); color: var(--on-dark); justify-content: flex-start; }
.flip[aria-pressed="true"] .f { transform: rotateY(-180deg); }
.flip[aria-pressed="true"] .b { transform: rotateY(0); }
.flip q { quotes: none; font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--ink); letter-spacing: -.015em; }
.flip .who { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--mint-text); }
.flip .b .who { color: var(--mint-on-dark); }
.flip .did { font-size: 15px; line-height: 1.45; color: var(--on-dark-soft); }
.flip:hover .f { border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .flip .face { transition: none; } }
@media (max-width: 760px) { .flip { min-height: 180px; } }

/* ---------- 06 yazılım */
.layers { display: grid; gap: 10px; margin-top: 32px; }
.layer { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; align-items: center; }
@media (max-width: 760px) { .layer { grid-template-columns: 1fr; gap: 8px; } }
.layer .name { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--sub); }
.boxes { display: flex; flex-wrap: wrap; gap: 8px; }
.box { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 3px; font-size: 15px; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s; }
.box:hover { border-color: var(--ink); }
.box.owner { background: var(--mint); border-color: var(--mint); font-weight: 600; }
.box.miss { border-color: var(--blue); background: var(--blue-soft); }
.soft-msg { margin-top: 18px; font-size: clamp(17px, 1.8vw, 20px); font-weight: 600; color: var(--ink); min-height: 1.4em; max-width: 40em; }
.soft-msg.ok { color: var(--mint-text); }
.rule-d, .mod-d { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.4; color: var(--ink); }
.dark .mod-d { color: var(--on-dark); }
.fam .ex { font-size: 15px; color: var(--sub); margin-bottom: 18px; }
.fam dl { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { .fam dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fam dl { grid-template-columns: 1fr; } }
.fam.ours .ex { color: var(--mint-text); font-weight: 600; }

/* ---------- 07 vendica */
.chip-line { display: inline-block; margin-top: 18px; padding: 10px 16px; border: 1px solid var(--dark-line); border-radius: 999px; color: var(--on-dark); font-size: 15px; }
.proof { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
@media (max-width: 1000px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .proof { grid-template-columns: 1fr; } }
.proof li { background: var(--dark); padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; }
.proof .num { font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--mint-on-dark); font-variant-numeric: tabular-nums; }
.proof .pt { font-size: 14px; line-height: 1.4; }
.proof b { color: var(--on-dark); font-weight: 600; font-size: 15px; }
.honest { margin-top: 24px; padding: 16px 20px; border: 1px solid var(--dark-line); font-size: 15px; color: var(--on-dark); max-width: 860px; }

/* ---------- 08 yol */
.tree { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); }
.trail { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--sub); }
.trail li { padding: 4px 10px; border-radius: 999px; background: var(--bg); }
.ask { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15; color: var(--ink); font-weight: 600; letter-spacing: -.03em; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.opts button { min-height: 48px; min-width: 88px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 16px; font-weight: 500; cursor: pointer; }
.opts button:hover { background: var(--ink); color: var(--on-dark); }
.result { border-left: 3px solid var(--mint); padding-left: 20px; }
.result b { font-size: 12px; letter-spacing: .14em; color: var(--mint-text); }
.result p { margin-top: 6px; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.4; color: var(--ink); }
.result strong { display: block; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.025em; }
.tree .btn.ghost { color: var(--ink); }
.tree-step { animation: swap .4s var(--ease); }
@media (prefers-reduced-motion: reduce) { .tree-step { animation: none; } }
.steps3 { counter-reset: s; }
.steps3 button { counter-increment: s; }
.steps3 button::before { content: counter(s); margin-right: 8px; color: var(--sub); font-variant-numeric: tabular-nums; }
.steps3 button[aria-selected="true"]::before { color: var(--mint-on-dark); }
.week .wk { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--sub); }
.week p { margin-top: 8px; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.4; color: var(--ink); }

/* ---------- kapanış */
.closing .big { font-size: clamp(44px, 7vw, 104px); line-height: 1; letter-spacing: -.055em; }
.three { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.three li { padding: 12px 18px; border: 1px solid var(--dark-line); border-radius: 999px; color: var(--on-dark); font-size: 16px; }
.mail { display: inline-flex; align-items: center; min-height: 48px; margin-top: 24px; padding: 0 22px; border-radius: 999px; background: var(--mint); color: var(--ink) !important; font-weight: 600; text-decoration: none; }
.mail:hover { background: var(--mint-on-dark); }
.sources { margin-top: 56px; }
.sources summary { color: var(--mint-on-dark); letter-spacing: .12em; font-size: 13px; }
.sources ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; color: #A5ABAC; max-width: 860px; }
.src-k { font-weight: 600; }
.foot { padding: 22px 0 calc(26px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--sub); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; }
.foot img { height: 18px; width: auto; display: block; }

/* ---------- v3 (Kasım 2026 PDF'i): PDF indirme, sepet oranları, Vendica'nın konumu */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }
.hero-actions .cta { margin-top: 0; }
.pdf-hero, .pdf-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--dark-line); border-radius: 999px; color: var(--on-dark) !important; text-decoration: none; font-weight: 600; }
.pdf-hero:hover, .pdf-btn:hover { border-color: var(--mint-on-dark); }
.pdf-hero svg, .pdf-btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pdf-hero small, .pdf-btn small { font-weight: 400; font-size: 13px; color: #A5ABAC; }
.pdf-hero span, .pdf-btn span, .pdf-hero small, .pdf-btn small { white-space: nowrap; }
/* Telefonda dil ve sayfa bilgisi gizlenmez, etiketin altına geçer */
@media (max-width: 520px) {
  .pdf-hero, .pdf-btn { display: inline-grid; grid-template-columns: auto auto; justify-content: start; column-gap: 10px; row-gap: 0; padding: 8px 22px 8px 18px; border-radius: 26px; line-height: 1.3; }
  .pdf-hero svg, .pdf-btn svg { grid-row: span 2; }
}
.take { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

.bfacts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
@media (max-width: 760px) { .bfacts { grid-template-columns: 1fr; } }
.bfacts li { border-top: 2px solid var(--ink); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.4; }
.bfacts .num { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.045em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }

.levers .ld { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--sub); }

.vfacts { margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
@media (max-width: 900px) { .vfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .vfacts { grid-template-columns: 1fr; } }
.vfacts div { background: var(--dark); padding: 16px 18px; }
.vfacts dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--mint-on-dark); }
.vfacts dd { margin: 6px 0 0; font-size: 15px; line-height: 1.4; color: var(--on-dark); }
.dark .hint { color: #A5ABAC; }
.vs-head, .vs-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: 8px 20px; padding: 14px 0; border-bottom: 1px solid var(--dark-line); }
.vs-head { padding-top: 0; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.1fr); }
.vs-head::before { content: ""; }
.vs-head .ours { font-size: 18px; font-weight: 600; color: var(--mint-on-dark); }
.vs-head b { display: block; font-size: 18px; font-weight: 600; color: var(--on-dark); }
.vs-head small { display: block; font-size: 13px; color: #A5ABAC; }
.vs-row:last-child { border-bottom: 0; padding-bottom: 0; }
.vs-row .k { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: #A5ABAC; padding-top: 3px; }
.vs-row span { font-size: 15px; line-height: 1.45; color: var(--on-dark-soft); }
.vs-row .ours { color: var(--on-dark); }
@media (max-width: 640px) {
  .vs-head, .vs-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vs-head::before { display: none; }
  .vs-row .k { grid-column: 1 / -1; padding-top: 0; }
}
.refs { margin-top: 14px; }
.refs summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--mint-on-dark); }
.refs ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--on-dark-soft); max-width: 860px; }
.refs b { color: var(--on-dark); }

.week ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.45; color: var(--ink); }

/* ---------- Büyük rakamlar ve sonuç blokları (17 Kasım)
   CSS boyutu üst sınır; js/story.js → fit() taşan rakamı kutusuna sığana kadar küçültür, aynı sıradakiler aynı boyda kalır.
   Masaüstünde düzen aynı; telefonda sonuç açıklaması rakamın altına geçer. */
[data-fit] { width: max-content; max-width: none; white-space: nowrap; }
.proof .num { align-self: flex-start; }
.country-num .num .u { font-size: .36em; font-weight: 500; letter-spacing: -.01em; margin-left: .12em; color: var(--body); }

.result-big { display: flex; flex-wrap: wrap; align-items: flex-end; align-items: last baseline; gap: 12px 24px; }
.result-big .num { font-weight: 600; line-height: .85; color: var(--mint-text); font-variant-numeric: tabular-nums; }
.result-big .cap { flex: 1 1 12em; max-width: 22em; color: var(--ink); line-height: 1.35; text-wrap: balance; }
.mega { margin-top: 16px; }
.mega .num { font-size: clamp(72px, 12vw, 160px); letter-spacing: -.06em; }
.mega .cap { font-size: clamp(18px, 2vw, 24px); }
.bbig { margin-top: 28px; }
.bbig .num { font-size: clamp(56px, 8vw, 112px); letter-spacing: -.055em; }
.bbig .cap { font-size: 17px; }
@media (max-width: 600px) {
  .result-big { flex-direction: column; align-items: flex-start; gap: 8px; }
  .result-big .cap { flex: none; max-width: none; }
}

/* Uzun kelimeler (Rusça, Kazakça, Kırgızca) dar kutuda bölünür; satır sonunda tek kelime kalmaz */
p, li, dd, dt, q { text-wrap: pretty; }
.flip q, .flip .did, .vs-head b, .vs-head small, .vs-row span, .facts li, .first span { overflow-wrap: break-word; hyphens: auto; }
