/* ==========================================================================
   Duo by Tropfen — /duo/** (landing EN/TR, legal pages, open fallback)
   Design law: docs/design/UI-RULES.md of the Duo app.
   1. Colour = who is speaking (sky = you, apricot = the other person,
      ink = the thing to do, volt = highlight pen).
   2. Motion = sound (only the listening ring, level bars, live words and
      the thinking dots move; everything else is still or floats slowly).
   3. Release = send (press, hold, speak, release — no send button).
   Headings: Bricolage Grotesque 700/800. Everything else: Manrope.
   Pills and circles for every control, cards radius 24 without borders,
   shadows only from the UI-RULES table. Page chapters sit on the official
   store-frame grounds (sky for "you" chapters, apricot for "them" chapters)
   with the raw App Store screens inside a CSS device frame.
   ========================================================================== */

/* ---- Local font: Plus Jakarta Sans 800 is used only for "Tropfen" in the wordmark */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin-ext-800.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---- Tokens (UI-RULES §2, light) ------------------------------------------- */
:root {
  color-scheme: light dark;
  --canvas: #F5F3EF; --surface: #FFFFFF; --sunken: #EFECE6; --strong: #E3DFD7; --line: #E6E2DA;
  --ink: #15141A; --ink-muted: #67636E; --on-ink: #FFFFFF;
  --sky: #CFE0FF; --sky-deep: #2550A8; --apricot: #FFDCC7; --apricot-deep: #9A4317;
  --pistachio: #D8EEC4; --pistachio-deep: #3B6A1C; --volt: #DDF26B; --rose: #FAD4D4; --rose-deep: #A33A3A;
  --volt-ink: #15141A;                    /* text on volt is always ink */
  --bubble-sign: rgba(255,255,255,.45);   /* the white half-circle signature on bubbles and grounds */
  /* chapter grounds: the store-frame pastels in light; in dark the page stays on the dark canvas
     tokens and only the circle signature carries the chapter's colour */
  --g-hero: var(--sky); --g-sky: var(--sky); --g-apricot: var(--apricot); --g-pair-b: var(--apricot);
  --g-sky-sign: rgba(255,255,255,.38); --g-apricot-sign: rgba(255,255,255,.38); --g-chip: #FFFFFF;
  /* fixed app colours for things drawn over the (always light) screenshots */
  --scr-canvas: #F5F3EF; --scr-sky: #CFE0FF; --scr-sky-deep: #2550A8; --scr-ink: #15141A; --scr-white: #FFFFFF;
  /* shadows — only these (UI-RULES §2) */
  --sh-soft: 0 4px 14px rgba(21,20,26,.07);
  --sh-panel: 0 -10px 30px rgba(21,20,26,.06);
  --sh-you: 0 16px 34px rgba(37,80,168,.22);
  --sh-them: 0 16px 34px rgba(154,67,23,.22);
  --sh-card: 0 10px 24px rgba(21,20,26,.08);
  --sh-deep: 0 30px 60px rgba(21,20,26,.25);
  /* type */
  --display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --jakarta: 'Plus Jakarta Sans', 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --r-sm: 14px; --r-md: 20px; --r-lg: 24px; --r-xl: 32px; --r-sheet: 36px;
}
/* ---- Dark palette (UI-RULES §2, dark) — first-class, not a filter ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #121116; --surface: #1D1C23; --sunken: #26252D; --strong: #34323C; --line: #2C2A33;
    --ink: #F3F1EC; --ink-muted: #A8A4B0; --on-ink: #15141A;
    --sky: #24365E; --sky-deep: #C9DAFF; --apricot: #55301E; --apricot-deep: #FFD3BA;
    --pistachio: #2C4520; --pistachio-deep: #CDEBB0; --rose: #4D2426; --rose-deep: #FFC4C4;
    --bubble-sign: rgba(255,255,255,.08);
    --g-hero: #121116; --g-sky: #1D1C23; --g-apricot: #121116; --g-pair-b: #26252D;
    --g-sky-sign: #24365E; --g-apricot-sign: #55301E; --g-chip: #26252D;
    --sh-soft: 0 4px 14px rgba(0,0,0,.35); --sh-panel: 0 -10px 30px rgba(0,0,0,.35);
    --sh-card: 0 10px 24px rgba(0,0,0,.4); --sh-deep: 0 30px 60px rgba(0,0,0,.55);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #121116; --surface: #1D1C23; --sunken: #26252D; --strong: #34323C; --line: #2C2A33;
  --ink: #F3F1EC; --ink-muted: #A8A4B0; --on-ink: #15141A;
  --sky: #24365E; --sky-deep: #C9DAFF; --apricot: #55301E; --apricot-deep: #FFD3BA;
  --pistachio: #2C4520; --pistachio-deep: #CDEBB0; --rose: #4D2426; --rose-deep: #FFC4C4;
  --bubble-sign: rgba(255,255,255,.08);
  --g-hero: #121116; --g-sky: #1D1C23; --g-apricot: #121116; --g-pair-b: #26252D;
  --g-sky-sign: #24365E; --g-apricot-sign: #55301E; --g-chip: #26252D;
  --sh-soft: 0 4px 14px rgba(0,0,0,.35); --sh-panel: 0 -10px 30px rgba(0,0,0,.35);
  --sh-card: 0 10px 24px rgba(0,0,0,.4); --sh-deep: 0 30px 60px rgba(0,0,0,.55);
}
:root[data-theme="light"] { color-scheme: light; }

/* ---- Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.duo-page { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.duo-page img, .duo-page svg { display: block; max-width: 100%; }
.duo-page main { overflow-x: clip; }
.duo-page a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.duo-page :focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; border-radius: 999px; }
.duo-page h1, .duo-page h2, .duo-page h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0; color: var(--ink); text-wrap: balance; }
.duo-page h3 { font-weight: 700; }
.duo-page p { margin: 0; }
.duo-page .wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.duo-page .skip-link { position: absolute; left: 20px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--on-ink); font-weight: 800; border-radius: 999px; text-decoration: none; }
.duo-page .skip-link:focus { top: 14px; }
.duo-page .muted { color: var(--ink-muted); }

/* Highlight pen (volt) — exactly one word per headline, like the store captions */
.duo-page .pen { background: var(--volt); color: var(--volt-ink); border-radius: .26em; padding: .02em .16em; margin: 0 -.04em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---- Buttons: every control is a pill or circle ---------------------------- */
.duo-page .btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font: 800 16px/1 var(--sans); color: var(--ink); background: var(--sunken); transition: translate .3s var(--ease), background .3s var(--ease); }
.duo-page .btn:hover { translate: 0 -1px; }
.duo-page .btn.primary { background: var(--ink); color: var(--on-ink); min-height: 60px; padding: 0 28px; }
.duo-page .btn.on-ground { background: var(--surface); color: var(--ink); box-shadow: var(--sh-soft); }
.duo-page .btn svg { width: 20px; height: 20px; stroke-width: 1.9; }
.duo-page .pill-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--surface); color: var(--ink); box-shadow: var(--sh-soft); font: 700 14px/1 var(--sans); text-decoration: none; cursor: pointer; transition: translate .3s var(--ease); }
.duo-page .pill-btn:hover { translate: 0 -1px; }
.duo-page .pill-btn svg { width: 18px; height: 18px; stroke-width: 1.9; }
.duo-page .chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-soft); font: 700 13px/1 var(--sans); color: var(--ink-muted); }
.duo-page .chip .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.duo-page .chip .dot.you { background: var(--sky-deep); }
.duo-page .chip .dot.them { background: var(--apricot-deep); }
.duo-page .chip.you { background: var(--sky); color: var(--sky-deep); box-shadow: none; }
.duo-page .chip.them { background: var(--apricot); color: var(--apricot-deep); box-shadow: none; }
.duo-page .chip.ok { background: var(--pistachio); color: var(--pistachio-deep); box-shadow: none; }
.duo-page .chip.ink { background: var(--ink); color: var(--on-ink); box-shadow: none; }
/* on a pastel ground a chip is white with the ground's deep colour (inkMuted never sits on a pastel) */
.duo-page .ground-sky .chip, .duo-page .ground-apricot .chip { background: var(--g-chip); box-shadow: none; }
.duo-page .ground-sky .chip { color: var(--sky-deep); }
.duo-page .ground-apricot .chip { color: var(--apricot-deep); }

/* ---- Header ---------------------------------------------------------------- */
.duo-page .site-header { width: min(1180px, 100% - 40px); margin: 0 auto; padding: 18px 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; z-index: 2; }
.duo-page .brand { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; text-decoration: none; color: var(--ink); }
.duo-page .brand .faces { width: 40px; height: 38px; flex: none; }
.duo-page .brand .appicon { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.duo-page .wordmark { display: inline-flex; align-items: baseline; gap: 7px; line-height: 1; }
.duo-page .wordmark b { font: 800 30px/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.duo-page .wordmark small { font: 700 12px/1 var(--sans); color: var(--ink-muted); }
.duo-page .wordmark small em { font: 800 12px/1 var(--jakarta); letter-spacing: -.01em; font-style: normal; }
/* on the landing page the header floats over the sky hero band */
.duo-page.home .site-header { position: absolute; left: 0; right: 0; top: 0; }
.duo-page.home .site-header .wordmark small, .duo-page.home .site-header .nav-link { color: var(--sky-deep); }
.duo-page.home .site-header .nav-link:hover { color: var(--ink); background: var(--surface); }
.duo-page .site-header nav { display: flex; align-items: center; gap: 8px; }
.duo-page .nav-link { text-decoration: none; color: var(--ink-muted); font: 700 14px/1 var(--sans); padding: 12px 14px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.duo-page .nav-link:hover { color: var(--ink); background: var(--surface); }
.duo-page .theme-ico-dark { display: none; }
:root[data-theme="dark"] .theme-ico-light { display: none; }
:root[data-theme="dark"] .theme-ico-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-ico-light { display: none; } :root:not([data-theme="light"]) .theme-ico-dark { display: block; } }

/* ---- Grounds: the store-frame backgrounds, with the white circle signature -- */
.duo-page .ground { position: relative; overflow: clip; }
.duo-page .ground-sky { background: var(--g-sky); --sign: var(--g-sky-sign); }
.duo-page .ground-apricot { background: var(--g-apricot); --sign: var(--g-apricot-sign); }
.duo-page .hero.ground-sky { background: var(--g-hero); }
.duo-page .pair-side.ground-apricot { background: var(--g-pair-b); }
.duo-page .ground::before, .duo-page .ground::after { content: ""; position: absolute; border-radius: 50%; background: var(--sign); pointer-events: none; }
.duo-page .ground::before { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -14vw; top: -22vw; }
.duo-page .ground::after { width: 30vw; height: 30vw; max-width: 460px; max-height: 460px; left: -12vw; bottom: -10vw; }
.duo-page .ground > * { position: relative; z-index: 1; }
/* body text on a pastel is ink; the subline takes the ground's deep colour */
.duo-page .ground-sky .sub { color: var(--sky-deep); }
.duo-page .ground-apricot .sub { color: var(--apricot-deep); }

/* ---- Sections -------------------------------------------------------------- */
.duo-page section { position: relative; }
.duo-page .sec { padding: 96px 0; }
.duo-page .sec-head { max-width: 720px; margin-bottom: 44px; }
.duo-page .sec-head .chip { margin-bottom: 18px; }
.duo-page .sec-head h2 { font-size: clamp(32px, 4.6vw, 54px); }
.duo-page .sec-head p { margin-top: 16px; font-size: 18px; color: var(--ink-muted); max-width: 600px; }
.duo-page .sec-head.center { margin-inline: auto; text-align: center; }
.duo-page .sec-head.center p { margin-inline: auto; }

/* ---- Hero: the first store frame, alive ------------------------------------ */
.duo-page .hero { padding: 120px 0 72px; }
.duo-page .hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center; }
.duo-page .hero-copy { padding: 16px 0; }
.duo-page .hero h1 { font-size: clamp(44px, 6vw, 86px); margin-top: 22px; }
.duo-page .hero .sub { margin-top: 20px; font: 700 clamp(19px, 1.7vw, 24px)/1.35 var(--sans); max-width: 520px; }
.duo-page .hero .lede { margin-top: 16px; font-size: 17px; line-height: 1.5; color: var(--ink); max-width: 560px; opacity: .88; }
.duo-page .hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.duo-page .hero-law { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.duo-page .hero-law span { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--g-chip); font: 700 13px/1 var(--sans); color: var(--ink); }
.duo-page .hero-law i { width: 10px; height: 10px; border-radius: 50%; }
.duo-page .hero-law i.you { background: var(--sky-deep); }
.duo-page .hero-law i.them { background: var(--apricot-deep); }
.duo-page .hero-law i.volt { background: var(--volt); }
.duo-page .hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
/* the device sits straight and fully visible, centred with the copy */
.duo-page .hero-visual .device { width: min(330px, 100%); }
/* two real conversation bubbles float slowly beside the device, touching only its edge (translate, never transform) */
.duo-page .bub.float { position: absolute; z-index: 3; width: 190px; padding: 12px 14px 13px; box-shadow: var(--sh-card); animation: duoFloat 7s ease-in-out infinite; }
.duo-page .float .bub-src { font-size: 13px; } .duo-page .float .bub-tr { font-size: 15.5px; }
.duo-page .float.you { left: -5%; top: 34%; }
.duo-page .float.them { right: -5%; top: 60%; animation-duration: 8.5s; animation-delay: -3s; }

/* ---- Speech bubbles (UI-RULES §4): yours 24 24 24 8, theirs 24 24 8 24 ------ */
.duo-page .bub { position: relative; overflow: hidden; padding: 14px 16px 15px; display: flex; flex-direction: column; gap: 5px; color: var(--ink); }
.duo-page .bub::before { content: ""; position: absolute; width: 84px; height: 84px; border-radius: 50%; right: -26px; top: -30px; background: var(--bubble-sign); pointer-events: none; }
.duo-page .bub.you { background: var(--sky); border-radius: 24px 24px 24px 8px; }
.duo-page .bub.them { background: var(--apricot); border-radius: 24px 24px 8px 24px; }
.duo-page .bub-label { font: 700 12px/1.3 var(--sans); }
.duo-page .bub.you .bub-label { color: var(--sky-deep); }
.duo-page .bub.them .bub-label { color: var(--apricot-deep); }
.duo-page .bub-src { font: 500 14px/1.35 var(--sans); }
/* the translation is always bigger and bolder than the original */
.duo-page .bub-tr { font: 800 17px/1.25 var(--sans); letter-spacing: -.01em; margin-top: 2px; }

/* ---- Device frame: ink bezel, dynamic island, the raw screen inside --------- */
.duo-page .device { position: relative; width: min(330px, 100%); padding: 11px; background: #15141A; border-radius: 15.5% / 7.2%; box-shadow: var(--sh-deep), inset 0 0 0 1px rgba(255,255,255,.07); }
.duo-page .device .scr { position: relative; overflow: hidden; border-radius: 13.2% / 6.1%; background: var(--scr-canvas); container-type: inline-size; }
.duo-page .device .scr > img { width: 100%; height: auto; }
.duo-page .device .island { position: absolute; left: 50%; top: 1.6%; width: 27%; height: 3.3%; translate: -50% 0; background: #000; border-radius: 999px; }
.duo-page .device.sm { width: min(280px, 100%); }
/* every overlay drawn on a screen uses the app's fixed light colours */
.duo-page .scr .ov { position: absolute; pointer-events: none; }

/* -- hero demo: 01-chat is the base, 03-listening crossfades over it while "you hold the button" */
.duo-page .demo .s03 { position: absolute; inset: 0; width: 100%; height: auto; opacity: 0; transition: opacity .45s var(--ease); }
.duo-page .demo.is-listen .s03, .duo-page .demo.is-think .s03, .duo-page .demo.is-result .s03 { opacity: 1; }
/* idle breath: a soft sky ring invites the first press on your mic (01: centre 17.9% / 84.9%, Ø 18.9cqw) */
.duo-page .demo .idle-ring { left: 17.9%; top: 84.9%; width: 18.9cqw; height: 18.9cqw; translate: -50% -50%; border-radius: 50%; box-shadow: 0 0 0 1.4cqw rgba(37,80,168,.22); opacity: 0; }
.duo-page .demo.is-idle .idle-ring { animation: duoBreath 2.4s ease-in-out infinite; }
/* listening rings on the 03 mic (centre 50% / 81.4%, Ø 22.6cqw), volt, 1.6s, two rings offset */
.duo-page .demo .ring, .duo-page .ch-ring { left: 50%; top: 81.4%; width: 22.6cqw; height: 22.6cqw; margin: -11.3cqw 0 0 -11.3cqw; border-radius: 50%; background: radial-gradient(circle, transparent 57%, var(--volt) 59%); opacity: 0; }
.duo-page .demo .ring.r2, .duo-page .ch-ring.r2 { animation-delay: .8s; }
.duo-page .demo.is-listen .ring, .duo-page .ch-live.on .ch-ring { animation: duoRingOut 1.6s ease-out infinite; }
/* the live card replaces 03's sky card (x 4.55%→95.45%, y 15.25%→52.8%) so the words can be typed */
.duo-page .demo .live { left: 4.55%; top: 15.25%; width: 90.9%; height: 37.55%; border-radius: 6.7cqw; background: var(--scr-sky); color: var(--scr-ink); opacity: 0; transition: opacity .45s var(--ease); overflow: hidden; }
.duo-page .demo .live::before { content: ""; position: absolute; width: 36cqw; height: 36cqw; right: -8cqw; top: -14cqw; border-radius: 50%; background: rgba(255,255,255,.45); }
.duo-page .demo.is-listen .live, .duo-page .demo.is-think .live, .duo-page .demo.is-result .live { opacity: 1; }
.duo-page .demo .lv-pill { position: absolute; left: 5.4cqw; top: 5.8cqw; display: inline-flex; align-items: center; gap: 1.6cqw; height: 5.6cqw; padding: 0 2.8cqw 0 2.2cqw; border-radius: 999px; background: var(--scr-white); font: 700 2.6cqw/1 var(--sans); color: #8FA9DF; white-space: nowrap; }
.duo-page .demo .lv-pill i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #B9CCF5; }
.duo-page .demo .lv-pill .dots { display: inline-flex; gap: .9cqw; }
.duo-page .demo .lv-pill .dots i { background: var(--scr-ink); animation: duoDot 1s ease-in-out infinite; }
.duo-page .demo .lv-pill .dots i:nth-child(2) { animation-delay: .15s; } .duo-page .demo .lv-pill .dots i:nth-child(3) { animation-delay: .3s; }
.duo-page .demo .lv-pill .t2, .duo-page .demo .lv-pill .dots { display: none; }
.duo-page .demo.is-think .lv-pill .t1, .duo-page .demo.is-think .lv-pill i.d1 { display: none; }
.duo-page .demo.is-think .lv-pill .t2, .duo-page .demo.is-think .lv-pill .dots { display: inline-flex; color: var(--scr-ink); }
.duo-page .demo .lv-text { position: absolute; left: 5.4cqw; right: 5.4cqw; top: 14.6cqw; font: 800 7.6cqw/1.12 var(--display); letter-spacing: -.03em; color: var(--scr-ink); text-wrap: balance; transition: opacity .35s var(--ease); }
.duo-page .demo .lv-text .last { color: var(--scr-sky-deep); }
.duo-page .demo .lv-text .caret { display: inline-block; width: .5cqw; height: .9em; background: var(--scr-sky-deep); vertical-align: -.1em; margin-left: .6cqw; animation: duoCaret 1s steps(2) infinite; }
.duo-page .demo .lv-text .w { display: inline-block; animation: duoWordIn .4s var(--ease) both; }
/* level bars at the bottom of the card (12 bars, pitch 2.5cqw, from x 10% of the screen) */
.duo-page .demo .lv-bars, .duo-page .ch-bars { position: absolute; display: flex; align-items: center; gap: 1.28cqw; }
.duo-page .demo .lv-bars { left: 5.4cqw; bottom: 5.6cqw; height: 11.8cqw; }
.duo-page .demo .lv-bars i, .duo-page .ch-bars i { width: 1.22cqw; height: 100%; border-radius: 999px; background: var(--scr-ink); transform-origin: center; transform: scaleY(.25); }
.duo-page .demo .lv-bars i.f, .duo-page .ch-bars i.f { background: #9DB7EE; transform: scaleY(.1) !important; animation: none !important; }
.duo-page .demo.is-listen .lv-bars i, .duo-page .ch-live.on .ch-bars i { animation: duoBar .62s ease-in-out infinite alternate; }
.duo-page .demo .lv-bars i:nth-child(2n), .duo-page .ch-bars i:nth-child(2n) { animation-duration: .5s; }
.duo-page .demo .lv-bars i:nth-child(3n), .duo-page .ch-bars i:nth-child(3n) { animation-duration: .74s; animation-delay: -.3s; }
.duo-page .demo .lv-bars i:nth-child(5n), .duo-page .ch-bars i:nth-child(5n) { animation-duration: .56s; animation-delay: -.15s; }
.duo-page .demo.is-think .lv-bars, .duo-page .demo.is-result .lv-bars { opacity: 0; transition: opacity .3s; }
/* result layer: the finished bubble content (small source, big translation), read aloud by the speaker */
.duo-page .demo .lv-res { position: absolute; left: 5.4cqw; right: 5.4cqw; top: 14.6cqw; opacity: 0; transition: opacity .4s var(--ease); }
.duo-page .demo .lv-res .l { font: 700 2.9cqw/1.3 var(--sans); color: var(--scr-sky-deep); }
.duo-page .demo .lv-res .s { margin-top: 1.4cqw; font: 500 3.9cqw/1.3 var(--sans); color: var(--scr-ink); }
.duo-page .demo .lv-res .t { margin-top: 2.6cqw; font: 800 7.4cqw/1.12 var(--display); letter-spacing: -.03em; color: var(--scr-ink); }
.duo-page .demo .lv-res .t .w { display: inline-block; animation: duoWordIn .45s var(--ease) both; }
.duo-page .demo.is-result .lv-res { opacity: 1; }
.duo-page .demo.is-result .lv-text { opacity: 0; }
.duo-page .demo .lv-spk { position: absolute; right: 5.4cqw; bottom: 5.4cqw; width: 10cqw; height: 10cqw; border-radius: 50%; background: var(--scr-white); color: var(--scr-ink); display: grid; place-items: center; opacity: 0; transition: opacity .3s var(--ease); }
.duo-page .demo .lv-spk svg { width: 4.6cqw; height: 4.6cqw; stroke-width: 1.9; }
.duo-page .demo .lv-spk::before, .duo-page .demo .lv-spk::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, transparent 60%, var(--scr-sky-deep) 62%); opacity: 0; }
.duo-page .demo.is-result .lv-spk { opacity: 1; }
.duo-page .demo.is-result.is-speaking .lv-spk::before, .duo-page .demo.is-result.is-speaking .lv-spk::after { animation: duoSpeak 1.3s ease-out infinite; }
.duo-page .demo.is-result.is-speaking .lv-spk::after { animation-delay: .65s; }

/* ---- Chapters: one store frame each (caption as headline, raw screen in the device) */
.duo-page .ch { padding: 104px 0; }
.duo-page .ch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.duo-page .ch.flip .ch-copy { order: 2; }
.duo-page .ch-copy .chip { margin-bottom: 20px; }
.duo-page .ch-copy h2 { font-size: clamp(36px, 4.8vw, 62px); }
.duo-page .ch-copy .sub { margin-top: 18px; font: 700 clamp(18px, 1.6vw, 22px)/1.35 var(--sans); max-width: 480px; }
.duo-page .ch-copy .body { margin-top: 16px; font-size: 17px; line-height: 1.55; max-width: 520px; }
.duo-page .ch-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.duo-page .ch-points li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--g-chip); font: 700 14px/1.2 var(--sans); color: var(--ink); }
.duo-page .ch-points li svg { width: 18px; height: 18px; stroke-width: 2; flex: none; }
.duo-page .ground-sky .ch-points li svg { color: var(--sky-deep); }
.duo-page .ground-apricot .ch-points li svg { color: var(--apricot-deep); }
.duo-page .ch-visual { display: flex; justify-content: center; }
.duo-page .ch-visual .device { width: min(340px, 100%); }
/* the chapter's device floats very slowly, straight, by translate only */
.duo-page .ch-visual .device, .duo-page .pair .device { animation: duoFloat 9s ease-in-out infinite; }
/* 03 chapter: the live bars patch covers the baked bars (x 10%→46.7%, y 44.5%→50.5%) */
.duo-page .ch-live .ch-bars { left: 10%; top: 44.5%; width: 36.7%; height: 6%; background: var(--scr-sky); align-items: center; }
.duo-page .ch-live .ch-bars i { height: 90%; }
/* each bar has its own loudness, like the waveform in the real screen */
.duo-page .lv-bars i:nth-child(1), .duo-page .ch-bars i:nth-child(1) { height: 55%; } .duo-page .lv-bars i:nth-child(3), .duo-page .ch-bars i:nth-child(3) { height: 45%; }
.duo-page .lv-bars i:nth-child(4), .duo-page .ch-bars i:nth-child(4) { height: 52%; } .duo-page .lv-bars i:nth-child(5), .duo-page .ch-bars i:nth-child(5) { height: 50%; }
.duo-page .lv-bars i:nth-child(6), .duo-page .ch-bars i:nth-child(6) { height: 88%; } .duo-page .lv-bars i:nth-child(8), .duo-page .ch-bars i:nth-child(8) { height: 62%; }
.duo-page .lv-bars i:nth-child(9), .duo-page .ch-bars i:nth-child(9) { height: 50%; } .duo-page .lv-bars i:nth-child(10), .duo-page .ch-bars i:nth-child(10) { height: 92%; }
.duo-page .lv-bars i:nth-child(12), .duo-page .ch-bars i:nth-child(12) { height: 40%; }
.duo-page .ch-ring { position: absolute; }
/* 06 chapter: the speaker (centre 12.7% / 92%, Ø 16.2cqw) rings while the translation is read aloud */
.duo-page .spk-ring { left: 12.7%; top: 92%; width: 16.2cqw; height: 16.2cqw; margin: -8.1cqw 0 0 -8.1cqw; border-radius: 50%; background: radial-gradient(circle, transparent 58%, rgba(154,67,23,.55) 60%); opacity: 0; }
.duo-page .spk-ring.r2 { animation-delay: .65s; }
.duo-page .ch-live.on .spk-ring { animation: duoSpeak 1.3s ease-out infinite; }
/* mirrored caption for the face-to-face chapter: their half reads this way up */
.duo-page .flip-note { display: inline-block; margin-top: 22px; rotate: 180deg; font: 800 15px/1.3 var(--sans); color: var(--apricot-deep); }

/* ---- Pair: Type (you, sky) | Show it big (them, apricot) — the page splits like the phone */
.duo-page .pair { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-sheet); overflow: hidden; }
.duo-page .pair-side { padding: 64px 48px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; overflow: hidden; }
.duo-page .pair-side.ground::before { width: 60%; height: 60%; right: -22%; top: -24%; } .duo-page .pair-side.ground::after { display: none; }
.duo-page .pair-side h2 { font-size: clamp(32px, 3.6vw, 46px); }
.duo-page .pair-side .sub { margin-top: 14px; font: 700 18px/1.4 var(--sans); max-width: 380px; }
.duo-page .pair-side .body { margin-top: 12px; font-size: 16px; line-height: 1.5; max-width: 420px; }
.duo-page .pair-side .device { margin-top: 40px; margin-bottom: -34%; width: min(300px, 100%); }

/* ---- Languages: nine pills and the real sheet ------------------------------- */
.duo-page .langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; max-width: 560px; }
.duo-page .lang-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-soft); font: 800 16px/1 var(--sans); color: var(--ink); }
.duo-page .lang-pill small { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sunken); font: 700 11.5px/1 var(--sans); color: var(--ink-muted); letter-spacing: .02em; }
.duo-page .lang-pill.you { background: var(--sky); color: var(--sky-deep); box-shadow: none; } .duo-page .lang-pill.you small { background: rgba(255,255,255,.7); color: var(--sky-deep); }
.duo-page .lang-pill.them { background: var(--apricot); color: var(--apricot-deep); box-shadow: none; } .duo-page .lang-pill.them small { background: rgba(255,255,255,.7); color: var(--apricot-deep); }
.duo-page .lang-pill[lang="ar"] { font-size: 18px; }

/* ---- Plus: the dark chapter (the paywall's own palette) --------------------- */
.duo-page .plus { --canvas: #121116; --surface: #1D1C23; --sunken: #26252D; --strong: #34323C; --line: #2C2A33; --ink: #F3F1EC; --ink-muted: #A8A4B0; --on-ink: #15141A; --sky: #24365E; --sky-deep: #C9DAFF; --apricot: #55301E; --apricot-deep: #FFD3BA; --pistachio: #2C4520; --pistachio-deep: #CDEBB0; --sh-soft: 0 4px 14px rgba(0,0,0,.35); --sh-card: 0 10px 24px rgba(0,0,0,.4); background: #15141A; color: var(--ink); color-scheme: dark; padding: 104px 0; position: relative; overflow: clip; }
.duo-page .plus::before { content: ""; position: absolute; right: -160px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: var(--volt); pointer-events: none; }
.duo-page .plus > * { position: relative; }
.duo-page .plus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.duo-page .plus-copy h2 { font-size: clamp(36px, 4.8vw, 62px); }
.duo-page .plus-copy .sub { margin-top: 18px; font: 700 clamp(18px, 1.6vw, 22px)/1.35 var(--sans); color: var(--sky-deep); max-width: 480px; }
.duo-page .plus-copy .body { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--ink-muted); max-width: 520px; }
.duo-page .plus-table { margin-top: 28px; background: var(--surface); border-radius: var(--r-lg); padding: 6px 22px 8px; }
.duo-page .plus-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.duo-page .plus-table th, .duo-page .plus-table td { padding: 15px 0; text-align: left; border-bottom: 1px solid var(--line); }
.duo-page .plus-table tr:last-child td { border-bottom: 0; }
.duo-page .plus-table th { font: 700 14px/1 var(--sans); color: var(--ink-muted); }
.duo-page .plus-table th:not(:first-child), .duo-page .plus-table td:not(:first-child) { text-align: center; width: 23%; }
.duo-page .plus-table td:first-child { font-weight: 700; }
.duo-page .plus-table td.free { color: var(--ink-muted); }
.duo-page .plus-table td.pl { font-weight: 800; }
.duo-page .plus-table th .pen { padding: 6px 12px; border-radius: 999px; }
.duo-page .plus-table .ok { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--volt); color: var(--volt-ink); }
.duo-page .plus-table .ok svg { width: 14px; height: 14px; stroke-width: 2.6; }
.duo-page .prices { display: grid; gap: 10px; margin-top: 22px; }
.duo-page .price { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-radius: var(--r-lg); background: var(--surface); }
.duo-page .price.best { box-shadow: inset 0 0 0 2px var(--ink); }
.duo-page .price b { font: 800 18px/1.2 var(--sans); display: block; }
.duo-page .price small { font: 600 14px/1.3 var(--sans); color: var(--ink-muted); display: block; margin-top: 3px; }
.duo-page .price .amt { font: 800 20px/1 var(--sans); white-space: nowrap; }
.duo-page .price .tag { display: inline-block; margin-left: 8px; padding: 5px 10px; border-radius: 999px; background: var(--volt); color: var(--volt-ink); font: 800 12px/1 var(--sans); vertical-align: middle; }
.duo-page .plus .note { margin-top: 16px; font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); }
.duo-page .plus-visual { display: flex; justify-content: center; }
.duo-page .plus-visual .device { width: min(340px, 100%); box-shadow: var(--sh-deep), inset 0 0 0 1px rgba(255,255,255,.14); animation: duoFloat 9s ease-in-out infinite; }

/* ---- Privacy --------------------------------------------------------------- */
.duo-page .privacy-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.duo-page .shield { display: flex; gap: 14px; align-items: flex-start; background: var(--pistachio); color: var(--pistachio-deep); border-radius: var(--r-lg); padding: 18px 20px; font: 700 16px/1.4 var(--sans); max-width: 560px; }
.duo-page .shield svg { width: 24px; height: 24px; stroke-width: 1.9; flex: none; margin-top: 1px; }
.duo-page .privacy-copy h2 { font-size: clamp(32px, 4.4vw, 52px); margin-top: 26px; }
.duo-page .privacy-copy .lede { margin-top: 16px; font-size: 17px; color: var(--ink-muted); max-width: 520px; }
.duo-page .privacy-copy .btn { margin-top: 26px; }
.duo-page .facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.duo-page .facts li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: var(--r-lg); padding: 18px 20px; font-size: 16px; line-height: 1.45; }
.duo-page .facts li .ok { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--pistachio); color: var(--pistachio-deep); display: grid; place-items: center; }
.duo-page .facts li .ok svg { width: 15px; height: 15px; stroke-width: 2.4; }
.duo-page .facts li b { display: block; font-weight: 800; }
.duo-page .facts li span:not(.ok) { color: var(--ink-muted); }

/* ---- FAQ ------------------------------------------------------------------- */
.duo-page .faq-list { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.duo-page .faq-item { background: var(--surface); border-radius: var(--r-lg); padding: 0 24px; }
.duo-page .faq-item summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font: 700 18px/1.3 var(--sans); position: relative; min-height: 44px; }
.duo-page .faq-item summary::-webkit-details-marker { display: none; }
.duo-page .faq-item summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--sunken); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367636E' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); background-size: 18px; background-position: center; background-repeat: no-repeat; transition: rotate .35s var(--ease); }
.duo-page .faq-item[open] summary::after { rotate: 45deg; }
.duo-page .faq-item p { margin: 0 0 22px; color: var(--ink-muted); font-size: 16px; line-height: 1.5; max-width: 680px; }
.duo-page .faq-item p a { color: var(--sky-deep); font-weight: 700; }

/* ---- Final CTA ------------------------------------------------------------- */
.duo-page .cta { text-align: center; padding: 24px 0 96px; }
.duo-page .cta-card { background: var(--surface); border-radius: var(--r-sheet); padding: 64px 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; position: relative; overflow: hidden; }
.duo-page .cta-card::before { content: ""; position: absolute; left: -80px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: var(--sky); }
.duo-page .cta-card::after { content: ""; position: absolute; right: -80px; top: -120px; width: 300px; height: 300px; border-radius: 50%; background: var(--apricot); }
.duo-page .cta-card > * { position: relative; z-index: 1; }
.duo-page .cta-card .appicon { width: 104px; height: 104px; border-radius: 24px; box-shadow: var(--sh-card); }
.duo-page .cta-card h2 { font-size: clamp(30px, 4.2vw, 48px); }
.duo-page .cta-card p { color: var(--ink-muted); font-size: 17px; max-width: 520px; }
.duo-page .cta-card .hero-cta { margin-top: 8px; justify-content: center; }

/* ---- Footer ---------------------------------------------------------------- */
.duo-page .site-footer { width: min(1180px, 100% - 40px); margin: 0 auto; padding: 36px 0 52px; color: var(--ink-muted); font-size: 14px; }
.duo-page .footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.duo-page .footer-main .brand .faces { width: 32px; height: 30px; }
.duo-page .footer-main .brand .appicon { width: 32px; height: 32px; border-radius: 9px; }
.duo-page .footer-main .wordmark b { font-size: 24px; }
.duo-page .footer-main .studio a { color: var(--ink); font-weight: 800; text-decoration: none; }
.duo-page .footer-main .studio a:hover { text-decoration: underline; }
.duo-page .footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.duo-page .footer-links a { text-decoration: none; color: var(--ink-muted); font-weight: 700; padding: 10px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-soft); min-height: 40px; display: inline-flex; align-items: center; }
.duo-page .footer-links a:hover { color: var(--ink); }

/* ---- Legal & utility pages ------------------------------------------------- */
.duo-page .legal-main { padding: 32px 0 80px; }
.duo-page .legal-head { max-width: 760px; }
.duo-page .legal-head .eyebrow { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-soft); font: 700 13px/1 var(--sans); color: var(--ink-muted); margin: 0 0 18px; }
.duo-page .legal-head h1 { font-size: clamp(36px, 5vw, 56px); }
.duo-page .legal-head .lede { margin-top: 16px; font-size: 18px; color: var(--ink-muted); }
.duo-page .legal-head .lede a, .duo-page .prose a, .duo-page .contact-callout a, .duo-page .legal-page a:not(.btn) { color: var(--sky-deep); font-weight: 700; }
.duo-page .prose { max-width: 760px; margin-top: 28px; background: var(--surface); border-radius: var(--r-xl); padding: 12px 32px 28px; }
.duo-page .prose section { padding: 26px 0 8px; border-top: 1px solid var(--line); }
.duo-page .prose section:first-child { border-top: 0; }
.duo-page .prose h2 { font-size: 24px; margin-bottom: 12px; }
.duo-page .prose p { margin: 0 0 12px; color: var(--ink); line-height: 1.6; }
.duo-page .prose ul, .duo-page .prose ol { margin: 0 0 12px; padding-left: 22px; line-height: 1.6; }
.duo-page .prose li { margin-bottom: 8px; }
.duo-page .prose strong { font-weight: 800; }
.duo-page .legal-main .faq-list { max-width: 760px; margin-inline: 0; margin-top: 28px !important; }
.duo-page .contact-callout { display: block; max-width: 760px; margin-top: 28px; padding: 20px 24px; background: var(--sky); color: var(--ink); border-radius: var(--r-lg); font-weight: 700; }
.duo-page .contact-callout a { color: var(--sky-deep); }
.duo-page .legal-page { width: min(560px, 100% - 40px); margin: 0 auto; padding: 48px 0 80px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.duo-page .legal-page h1 { font-size: clamp(34px, 5vw, 48px); margin-top: 12px; }
.duo-page .legal-page p { font-size: 17px; color: var(--ink-muted); line-height: 1.5; }
.duo-page .legal-page .btn { margin-top: 6px; }

/* ---- Scroll reveal (IntersectionObserver adds .in) ------------------------- */
.duo-page .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.duo-page .rv.in { opacity: 1; transform: none; }
.duo-page .rv.d1 { transition-delay: .12s; } .duo-page .rv.d2 { transition-delay: .24s; }
.no-js .duo-page .rv { opacity: 1; transform: none; }

/* ---- Keyframes (UI-RULES §6 presets; floats use translate so they never fight a reveal) */
@keyframes duoFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes duoBreath { 0%, 100% { opacity: 0; scale: .96; } 50% { opacity: 1; scale: 1.06; } }
@keyframes duoRingOut { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes duoSpeak { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes duoBar { 0% { transform: scaleY(.25); } 100% { transform: scaleY(1); } }
@keyframes duoDot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-.6cqw); } }
@keyframes duoWordIn { 0% { opacity: 0; transform: translateY(.6em); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: blur(0); } }
@keyframes duoCaret { 0% { opacity: 1; } 100% { opacity: 0; } }

/* ---- Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .duo-page .float { width: 172px; }
}
@media (max-width: 960px) {
  .duo-page .hero { padding-bottom: 56px; }
  .duo-page .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .duo-page .hero-copy { padding: 0; }
  /* stacked: the bubbles become part of the flow, a chat around the phone */
  .duo-page .hero-visual { flex-direction: column; align-items: stretch; gap: 14px; }
  .duo-page .hero-visual .device { width: min(320px, 100%); align-self: center; order: 2; }
  .duo-page .bub.float { position: static; width: min(300px, 86%); animation: none; }
  .duo-page .float.you { align-self: flex-start; order: 1; } .duo-page .float.them { align-self: flex-end; order: 3; }
  .duo-page .sec, .duo-page .ch, .duo-page .plus { padding: 72px 0; }
  .duo-page .plus::before { width: 340px; height: 340px; right: -190px; top: -230px; }
  .duo-page .ch-grid, .duo-page .plus-grid, .duo-page .privacy-grid { grid-template-columns: 1fr; gap: 40px; }
  .duo-page .ch.flip .ch-copy { order: 0; }
  .duo-page .pair { grid-template-columns: 1fr; border-radius: var(--r-xl); }
  .duo-page .pair-side { padding: 56px 24px 0; }
  .duo-page .pair-side .device { margin-bottom: -40%; }
  .duo-page .pair-side + .pair-side { padding-top: 56px; }
}
@media (max-width: 640px) {
  .duo-page .wrap, .duo-page .site-header, .duo-page .site-footer { width: calc(100% - 36px); }
  .duo-page .site-header { padding-top: 14px; }
  .duo-page .site-header .nav-link { display: none; }
  .duo-page .pill-btn { padding: 0 14px; }
  .duo-page .brand .faces { width: 34px; height: 32px; }
  .duo-page .wordmark b { font-size: 26px; }
  .duo-page .hero { padding-top: 96px; }
  .duo-page .hero h1 { font-size: clamp(40px, 11.5vw, 52px); }
  .duo-page .hero .sub { font-size: 18px; }
  .duo-page .hero-visual .device { width: min(290px, 100%); }
  .duo-page .ground::before { width: 70vw; height: 70vw; right: -30vw; top: -34vw; }
  .duo-page .ch-copy h2, .duo-page .plus-copy h2 { font-size: clamp(32px, 9.4vw, 44px); }
  .duo-page .ch-visual .device, .duo-page .plus-visual .device { width: min(290px, 100%); }
  .duo-page .pair-side h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .duo-page .sec-head { margin-bottom: 30px; }
  .duo-page .plus-table { padding: 4px 16px 6px; }
  .duo-page .plus-table table { font-size: 15px; }
  .duo-page .plus-table th, .duo-page .plus-table td { padding: 14px 0; }
  .duo-page .cta-card { padding: 48px 20px; border-radius: var(--r-xl); }
  .duo-page .faq-item { padding: 0 18px; }
  .duo-page .faq-item summary { font-size: 16px; padding-right: 44px; }
  .duo-page .prose { padding: 8px 20px 20px; }
}
@media (max-width: 400px) {
  .duo-page .wrap, .duo-page .site-header, .duo-page .site-footer { width: calc(100% - 32px); }
  .duo-page .lang-pill { font-size: 15px; min-height: 44px; }
}

/* ---- Reduced motion: every animation stops; states are told by colour only -- */
@media (prefers-reduced-motion: reduce) {
  .duo-page *, .duo-page *::before, .duo-page *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .duo-page .rv { opacity: 1; transform: none; }
}

/* ---- Store buttons (site-wide pattern): two faded, real-looking store buttons with a "Soon" badge; no links yet */
.duo-page { --store-ink: var(--ink); --store-on: var(--canvas); --store-badge: #DDF26B; --store-badge-on: #15141A; }
.store-btns{display:flex;flex-wrap:wrap;gap:12px 14px}.store-btn{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:8px 18px 8px 14px;border-radius:999px;background:color-mix(in srgb,var(--store-ink,#15141A) 72%,transparent);color:var(--store-on,#fff);cursor:default;user-select:none;font-family:var(--sans)}.store-btn>svg{width:24px;height:24px;fill:currentColor;flex:none;opacity:.75}.store-btn>span{display:flex;flex-direction:column;line-height:1.1;opacity:.8}.store-btn small{font-size:11px;font-weight:600}.store-btn b{font-size:17px;font-weight:800;letter-spacing:-.01em;white-space:nowrap}.store-btn::after{content:"Soon";position:absolute;top:-10px;right:-8px;font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1;padding:5px 8px;border-radius:999px;background:var(--store-badge);color:var(--store-badge-on);box-shadow:0 6px 14px rgba(0,0,0,.18)}html[lang="tr"] .store-btn::after{content:"Yakında"}@media (max-width:480px){.store-btns{gap:10px}.store-btn{flex:1 1 calc(50% - 5px);justify-content:center;padding-left:10px;padding-right:10px;min-height:52px}.store-btn small{white-space:nowrap}.store-btn b{font-size:15px}.store-btn::after{right:-4px}}
.duo-page .hero-cta .store-btns { flex: 1 1 100%; }
.duo-page .plus .store-btn { --store-on: #F3F1EC; }

/* visually hidden, available to screen readers */
.duo-page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hover stability: elements that lift on hover keep a slightly larger, invisible hit area
   so the pointer never slips out from under them at the edge and re-triggers the hover. */
.duo-page .btn::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; }
.duo-page .pill-btn::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; }
