/* Sonadora — design system
   Layout: exchange-grade grid (Binance language): dense 12-col sections, product UI as hero, big tabular numbers, one yellow accent.
   Dark-first; light values under prefers-color-scheme: light and [data-theme="light"]. */
/* Self-hosted IBM Plex (fontsource, OFL). Fallback face is metric-matched so the swap doesn't move text. */
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-cyrillic-ext-400-normal.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-greek-400-normal.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-vietnamese-400-normal.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-cyrillic-ext-500-normal.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-cyrillic-500-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-greek-500-normal.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-vietnamese-500-normal.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-cyrillic-ext-600-normal.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-cyrillic-600-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-greek-600-normal.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-vietnamese-600-normal.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/ibm-plex-sans-cyrillic-ext-700-normal.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/ibm-plex-sans-cyrillic-700-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/ibm-plex-sans-greek-700-normal.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/ibm-plex-sans-vietnamese-700-normal.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-mono-cyrillic-ext-500-normal.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-mono-cyrillic-500-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-mono-vietnamese-500-normal.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-mono-cyrillic-ext-600-normal.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-mono-cyrillic-600-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-mono-vietnamese-600-normal.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-mono-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-mono-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Plex Fallback";src:local("Arial"),local("ArialMT"),local("Helvetica Neue"),local("Helvetica"),local("Liberation Sans"),local("Roboto");size-adjust:99.7%;ascent-override:102.8%;descent-override:27.6%;line-gap-override:0%}
:root {
  --bg: #0B0E11;
  --bg-band: #12161C;
  --surface: #181A20;
  --surface-2: #1E2329;
  --surface-3: #2B3139;
  --line: #2B3139;
  --line-soft: #22272E;
  --fg: #EAECEF;
  --fg-2: #B7BDC6;
  --muted: #848E9C;
  --accent: #FCD535;
  --accent-hover: #F0B90B;
  --accent-ink: #181A20;
  --accent-text: #FCD535;
  --accent-wash: rgba(252, 213, 53, .10);
  --pos: #2EBD85;
  --neg: #F6465D;
  --ph-bg: rgba(252, 213, 53, .22);
  --ph-fg: #FCD535;
  --shadow: 0 16px 48px rgba(0, 0, 0, .45);
  --header: rgba(11, 14, 17, .92);
  --scene-sky1: #2A3550; --scene-sky2: #F0B90B; --scene-hill1: #1E5E4B; --scene-hill2: #2EBD85;
  --font: "IBM Plex Sans", "Plex Fallback", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r-sm: 8px; --r: 12px; --r-lg: 20px;
  --wrap: 1200px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #FFFFFF; --bg-band: #FAFAFA; --surface: #FFFFFF; --surface-2: #F5F5F5; --surface-3: #EAECEF;
    --line: #EAECEF; --line-soft: #F0F1F2; --fg: #1E2329; --fg-2: #474D57; --muted: #707A8A;
    --accent: #FCD535; --accent-hover: #F0B90B; --accent-ink: #1E2329; --accent-text: #B88A00; --accent-wash: rgba(252, 213, 53, .18);
    --pos: #03A66D; --neg: #CF304A; --ph-bg: rgba(252, 213, 53, .45); --ph-fg: #5C4500;
    --shadow: 0 16px 40px rgba(24, 26, 32, .10); --header: rgba(255, 255, 255, .92);
    --scene-sky1: #BFD7FF; --scene-sky2: #FFE58A; --scene-hill1: #5FBF8F; --scene-hill2: #2EA36F;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #FFFFFF; --bg-band: #FAFAFA; --surface: #FFFFFF; --surface-2: #F5F5F5; --surface-3: #EAECEF;
  --line: #EAECEF; --line-soft: #F0F1F2; --fg: #1E2329; --fg-2: #474D57; --muted: #707A8A;
  --accent: #FCD535; --accent-hover: #F0B90B; --accent-ink: #1E2329; --accent-text: #B88A00; --accent-wash: rgba(252, 213, 53, .18);
  --pos: #03A66D; --neg: #CF304A; --ph-bg: rgba(252, 213, 53, .45); --ph-fg: #5C4500;
  --shadow: 0 16px 40px rgba(24, 26, 32, .10); --header: rgba(255, 255, 255, .92);
  --scene-sky1: #BFD7FF; --scene-sky2: #FFE58A; --scene-hill1: #5FBF8F; --scene-hill2: #2EA36F;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--header); }
img, svg, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, li a, td a, .prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.skip { position: absolute; left: 16px; top: 8px; transform: translateY(-200%); opacity: 0; pointer-events: none; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { transform: none; opacity: 1; pointer-events: auto; }
[dir="rtl"] .skip { left: auto; right: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }
.num, .tab { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.hl { color: var(--accent-text); }
mark.ph { background: var(--ph-bg); color: var(--ph-fg); padding: 0 .3em; border-radius: 4px; font-weight: 500; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ——— Buttons & chips ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface-2); color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--surface-2); color: var(--fg-2); font-size: 13px; font-weight: 500; border: 1px solid var(--line); white-space: nowrap; }
.chip-accent { background: var(--accent-wash); color: var(--accent-text); border-color: transparent; }
.chip-pos { color: var(--pos); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.code { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 2px 6px; border-radius: 4px; background: var(--surface-3); color: var(--fg-2); }

/* ——— Header ——— */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--header); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line-soft); }
.hdr .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { direction: ltr; display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 700; font-size: 20px; letter-spacing: -.02em; flex: none; }
.logo img { display: block; height: auto; }
.logo .lg-mark { width: auto; height: 40px; flex: none; }
.logo .lg-txt { display: grid; gap: 4px; justify-items: center; line-height: 1; }
.logo .lg-wm { width: auto; height: 21px; }
.logo .lg-sub { display: flex; align-items: center; gap: 5px; font-size: 7.5px; font-weight: 600; letter-spacing: .42em; margin-right: -.42em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.logo .lg-sub::before, .logo .lg-sub::after { content: ""; width: 10px; height: 1px; background: currentColor; opacity: .7; }
.logo .lg-l { display: none; }
.ftr-brand .logo .lg-mark { height: 52px; }
.ftr-brand .logo .lg-wm { height: 27px; }
.ftr-brand .logo .lg-sub { font-size: 9px; gap: 7px; }
.ftr-brand .logo .lg-sub::before, .ftr-brand .logo .lg-sub::after { width: 14px; }
@media (max-width: 520px) { .hdr .logo .lg-mark { height: 32px; } .hdr .logo .lg-wm { height: 16px; } .hdr .logo .lg-sub { font-size: 6px; gap: 4px; } .hdr .logo .lg-sub::before, .hdr .logo .lg-sub::after { width: 7px; } .hdr .logo { gap: 7px; } }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .logo .lg-l { display: block; } :root:not([data-theme="dark"]) .logo .lg-d { display: none; } }
:root[data-theme="light"] .logo .lg-l { display: block; }
:root[data-theme="light"] .logo .lg-d { display: none; }
.logo small { display: none; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.nav a { padding: 8px 10px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; color: var(--fg-2); white-space: nowrap; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--accent-text); }
.hdr-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.iconbtn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: var(--r-sm); background: transparent; border: 1px solid transparent; color: var(--fg-2); cursor: pointer; }
.iconbtn:hover { color: var(--fg); background: var(--surface-2); }
.mkt-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); cursor: pointer; font-size: 14px; font-weight: 500; }
.mkt-btn:hover { border-color: var(--muted); }
.mkt-btn .sep { width: 1px; height: 16px; background: var(--line); }
.i-sun { display: none; }
:root[data-theme="light"] .i-sun { display: block; } :root[data-theme="light"] .i-moon { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .i-sun { display: block; } :root:not([data-theme="dark"]) .i-moon { display: none; } }
.burger { display: none; }
@media (max-width: 1100px) { .nav { display: none; } .burger { display: inline-grid; } }
.nav-compact .nav { display: none; } .nav-compact .burger { display: inline-grid; }
@media (max-width: 720px) { .hdr .cta-hdr { display: none; } .mkt-btn .mkt-lang { display: none; } .mkt-btn .sep { display: none; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: 1fr; }
.drawer[hidden] { display: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.drawer-panel { position: relative; margin-left: auto; width: min(380px, 100%); height: 100%; background: var(--surface); padding: calc(16px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) 20px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.drawer-panel a.dl { padding: 14px 4px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.drawer-panel .dl-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }

/* ——— Sections ——— */
.sec { padding-block: 72px; }
.sec-tight { padding-block: 48px; }
.band { background: var(--bg-band); border-block: 1px solid var(--line-soft); }
.sec-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: 40px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent-text); letter-spacing: .02em; }
.h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.06; }
.h2 { font-size: clamp(28px, 3.6vw, 44px); }
.h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--fg-2); max-width: 62ch; line-height: 1.55; }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
@media (max-width: 720px) { .sec { padding-block: 56px; } .sec-head { margin-bottom: 28px; } }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card-flat { background: var(--surface-2); border-color: transparent; }
.card h3 { font-size: 20px; letter-spacing: -.01em; }
.card p { color: var(--fg-2); }
a.card { transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--muted); }
.card .more { margin-top: auto; font-weight: 600; color: var(--accent-text); display: inline-flex; gap: 6px; align-items: center; }

/* ——— Hero ——— */
.hero { padding-block: 56px 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--fg-2); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--pos); flex: none; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.page-hero { padding-block: 56px 40px; border-bottom: 1px solid var(--line-soft); }
.page-hero .lead { margin-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--fg); }

/* Product UI mock (hero) */
.stage { position: relative; display: grid; gap: 16px; }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.player { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.play { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; border: 0; cursor: pointer; flex: none; }
.play[disabled] { opacity: .45; cursor: not-allowed; }
.wave { display: flex; align-items: center; gap: 3px; height: 44px; min-width: 0; overflow: hidden; }
.wave i { flex: 1 1 0; min-width: 2px; max-width: 6px; border-radius: 2px; background: var(--surface-3); }
.wave i.on { background: var(--accent); }
.wave.playing i.on { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scaleY(.6); } }
.time { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; grid-column: 2; }
.lyrics { position: relative; padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); font-size: 15px; line-height: 1.55; color: var(--fg-2); overflow: hidden; }
.lyrics b { color: var(--fg); font-weight: 600; }
.wm { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font-family: var(--mono); font-weight: 600; font-size: 28px; letter-spacing: .3em; color: var(--fg); opacity: .07; transform: rotate(-14deg); }
.paybar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.paybar .price { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stage-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 520px) { .stage-row { grid-template-columns: minmax(0, 1fr); } }
.scene { position: relative; aspect-ratio: 16 / 10; max-width: 100%; background: linear-gradient(180deg, var(--scene-sky1), var(--scene-sky2)); overflow: hidden; }
.scene .sun { position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #FFF4C2; right: 14%; top: 14%; box-shadow: 0 0 40px rgba(255, 230, 140, .6); }
.scene .hill { position: absolute; border-radius: 50%; }
.scene .h1x { width: 90%; height: 60%; left: -20%; bottom: -30%; background: var(--scene-hill1); }
.scene .h2x { width: 90%; height: 55%; right: -25%; bottom: -32%; background: var(--scene-hill2); }
.scene .kid { position: absolute; left: 38%; bottom: 16%; width: 13%; }
.scene .kid .hd { width: 100%; aspect-ratio: 1; border-radius: 50%; background: #FFD8B5; position: relative; }
.scene .kid .hd::before { content: ""; position: absolute; inset: -6% -4% 46% -4%; border-radius: 50% 50% 30% 30%; background: #5B3A29; }
.scene .kid .bd { width: 120%; margin-left: -10%; aspect-ratio: 1 / 1.05; border-radius: 40% 40% 12% 12%; background: #F6465D; margin-top: -6%; }
.scene .kite { position: absolute; left: 62%; top: 20%; width: 9%; aspect-ratio: 1; background: var(--accent); transform: rotate(45deg); border-radius: 3px; }
.scene .string { position: absolute; left: 47%; top: 30%; width: 22%; height: 34%; border-left: 2px dashed rgba(255, 255, 255, .65); transform: skewX(-30deg); transform-origin: top left; }
.scene .badge { position: absolute; left: 10px; top: 10px; }
.scene .tl { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.scene .tl::after { content: ""; position: absolute; inset: 0 62% 0 0; border-radius: 2px; background: #fff; }
.brief { display: grid; gap: 10px; font-size: 14px; }
.brief .row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.brief .row:last-child { border-bottom: 0; padding-bottom: 0; }
.brief .row span:first-child { color: var(--muted); }
.brief .row span:last-child { font-weight: 500; text-align: right; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.flow span { font-size: 12px; text-align: center; padding: 8px 4px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-weight: 500; }
.flow span.done { color: var(--pos); }
.flow span.now { background: var(--accent-wash); color: var(--accent-text); }

/* ——— Stats strip ——— */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.stat { padding: 24px 28px; display: grid; gap: 6px; border-left: 1px solid var(--line-soft); min-width: 0; }
.stat:first-child { border-left: 0; }
.stat b { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); } }

/* ——— Product cards ——— */
.pcard { display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding: 0; }
.pcard .pc-vis { aspect-ratio: 16 / 7; max-width: 100%; position: relative; background: var(--surface-2); border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.pcard .pc-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.pcard .pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pcard .pc-price { text-align: right; flex: none; }
.pcard .pc-price b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pcard .pc-price span { font-size: 13px; color: var(--muted); }
.spec { display: grid; gap: 0; }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.spec div:last-child { border-bottom: 0; }
.spec dt, .spec .k { color: var(--muted); }
.spec dd, .spec .v { margin: 0; text-align: right; font-weight: 500; }
.pc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.vis-wave { display: flex; align-items: end; gap: 5px; height: 60%; width: 70%; }
.vis-wave i { flex: 1; border-radius: 3px; background: var(--accent); opacity: .9; }
.vis-wave i:nth-child(3n) { opacity: .45; } .vis-wave i:nth-child(4n) { opacity: .7; }

/* ——— Steps ——— */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 24px 0 0; display: grid; gap: 10px; align-content: start; }
.step .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line); font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.step.key .n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.step::before { content: ""; position: absolute; left: 40px; right: 0; top: 20px; height: 1px; background: var(--line); }
.step:last-child::before { display: none; }
.step h3 { font-size: 18px; letter-spacing: -.01em; margin-top: 6px; }
.step p { color: var(--fg-2); font-size: 15px; }
.step .when { font-size: 13px; color: var(--accent-text); font-weight: 600; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; } .step { padding: 0 0 0 56px; } .step .n { position: absolute; left: 0; top: 0; } .step::before { left: 20px; top: 40px; bottom: -24px; right: auto; width: 1px; height: auto; } }

/* ——— Tables ——— */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-size: 13px; font-weight: 500; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface); }
.tbl td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--surface-2); }
.tbl tr.cur td { background: var(--accent-wash); }
.tbl .r { text-align: right; white-space: nowrap; }
.tbl td.strong { font-weight: 600; }
.tbl .mname { display: flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; }
.tbl .pays { color: var(--fg-2); font-size: 14px; min-width: 240px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: var(--r-sm); font-weight: 500; font-size: 14px; color: var(--fg-2); cursor: pointer; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); min-width: 0; flex: 1 1 260px; max-width: 360px; color: var(--muted); }
.search input { border: 0; background: transparent; outline: 0; flex: 1; min-width: 0; color: var(--fg); height: 100%; }

/* ——— Split layout with sticky panel ——— */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.panel { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.panel .pp { font-size: 40px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.panel .pp-note { font-size: 13px; color: var(--muted); }
.checks { display: grid; gap: 10px; list-style: none; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--fg-2); font-size: 15px; }
.checks li svg { color: var(--pos); margin-top: 3px; }
.xs li svg { color: var(--neg); }
@media (max-width: 980px) { .split { grid-template-columns: minmax(0, 1fr); } .panel { position: static; } }

/* ——— Prose (legal) ——— */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); display: grid; gap: 2px; font-size: 14px; }
.toc b { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.toc a { padding: 6px 10px; border-radius: 6px; color: var(--fg-2); border-left: 2px solid transparent; }
.toc a:hover { color: var(--fg); background: var(--surface-2); }
.prose { max-width: 72ch; display: grid; gap: 16px; color: var(--fg-2); }
.prose h2 { font-size: 24px; color: var(--fg); margin-top: 28px; scroll-margin-top: 96px; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; color: var(--fg); margin-top: 8px; letter-spacing: -.01em; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose .box { padding: 18px 20px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 8px; }
.prose .box.acc { background: var(--accent-wash); border-color: transparent; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.prose th { color: var(--muted); font-weight: 500; font-size: 13px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); margin-top: 16px; }
@media (max-width: 900px) { .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; } .toc { position: static; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
.js [data-legal]:not(.on) { display: none !important; }

/* ——— FAQ ——— */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--muted); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 22px; color: var(--fg-2); max-width: 72ch; display: grid; gap: 10px; }
.faq-cat { margin-top: 40px; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.faq-cat:first-child { margin-top: 0; }

/* ——— Forms ——— */
.form { display: grid; gap: 22px; }
.fset { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 18px; background: var(--surface); margin: 0; min-width: 0; }
.fset legend { font-weight: 700; font-size: 18px; padding: 0 8px; letter-spacing: -.01em; }
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .frow { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field .lbl { font-size: 14px; font-weight: 500; color: var(--fg-2); }
.field .req { color: var(--accent-text); }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); outline: 0; transition: border-color .15s; }
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: var(--neg); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--neg); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); font-size: 14px; font-weight: 500; color: var(--fg-2); }
.opt input:checked + span { border-color: var(--accent); background: var(--accent-wash); color: var(--fg); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pick label { position: relative; display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick label:has(input:checked) { border-color: var(--accent); background: var(--accent-wash); }
.pick label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pick b { font-size: 16px; }
.pick small { color: var(--muted); font-size: 13px; }
.pick .pk-price { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .pick { grid-template-columns: minmax(0, 1fr); } }
.cb { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; color: var(--fg-2); cursor: pointer; }
.cb input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.success { display: grid; gap: 14px; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--pos); }
.success .ok { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--pos) 18%, transparent); color: var(--pos); }
.ref { font-family: var(--mono); font-weight: 600; font-size: 18px; color: var(--fg); }

/* ——— Callout / CTA band ——— */
.cta-band { border-radius: var(--r-lg); padding: 48px; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--accent); opacity: .08; pointer-events: none; }
.cta-band .h2 { font-size: clamp(26px, 3vw, 36px); }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; } }
.note { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 16px 18px; border-radius: var(--r); background: var(--surface-2); font-size: 14px; color: var(--fg-2); }
.note svg { color: var(--accent-text); margin-top: 2px; }

/* ——— Region list ——— */
.regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.regions h4 { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-bottom: 10px; }
.regions ul { list-style: none; display: grid; gap: 4px; }
.regions button { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 7px 10px; border-radius: 6px; border: 0; background: transparent; cursor: pointer; font-size: 15px; color: var(--fg); }
.regions button:hover { background: var(--surface-2); }
.regions button[aria-current="true"] { background: var(--accent-wash); }
.regions .cur { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .regions { grid-template-columns: minmax(0, 1fr); } }

/* ——— Modal (market & language) ——— */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: calc(16px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.modal-box { position: relative; width: min(920px, 100%); max-height: min(720px, 100%); display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.modal-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px 12px; }
.modal-top h2 { font-size: 22px; }
.modal-tabs { display: flex; gap: 24px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.modal-tabs button { border: 0; background: transparent; padding: 12px 0; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; font-size: 15px; }
.modal-tabs button[aria-selected="true"] { color: var(--fg); border-color: var(--accent); }
.modal-main { overflow-y: auto; padding: 20px 24px; min-height: 0; }
.modal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: 14px; color: var(--fg-2); }
.modal-foot .sum { display: grid; gap: 2px; min-width: 0; }
.langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.langs button { display: grid; gap: 2px; text-align: left; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; }
.langs button b { font-size: 16px; }
.langs button small { font-size: 12px; color: var(--muted); }
.langs button[aria-current="true"] { border-color: var(--accent); background: var(--accent-wash); }
.langs button[disabled] { cursor: not-allowed; opacity: .6; }
.langs .soon { color: var(--accent-text); }
.mk-search { margin-bottom: 18px; max-width: none; }

/* Suggest banner & cookie notice */
.toast { position: fixed; z-index: 70; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(560px, calc(100% - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px 18px; display: grid; gap: 12px; font-size: 14px; color: var(--fg-2); }
.toast[hidden] { display: none; }
.toast .acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* ——— Footer ——— */
.ftr { border-top: 1px solid var(--line); background: var(--bg-band); padding-block: 56px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--fg-2); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.ftr h5 { font-size: 15px; color: var(--fg); margin: 0 0 14px; font-weight: 600; }
.ftr ul { list-style: none; display: grid; gap: 10px; }
.ftr a:hover { color: var(--fg); }
.ftr-brand { display: grid; gap: 14px; align-content: start; }
.ftr-legal { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ent { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.ent.seller { border-color: var(--accent); }
.ent .tag { font-size: 12px; font-weight: 600; color: var(--muted); }
.ent.seller .tag { color: var(--accent-text); }
.ent b { color: var(--fg); }
.ftr-pay { margin-top: 24px; display: grid; gap: 10px; }
.ftr-bottom { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 980px) { .ftr-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .ftr-legal { grid-template-columns: minmax(0, 1fr); } }

/* Example cards */
.ex { display: grid; gap: 14px; }
.ex .ex-vis { border-radius: var(--r); overflow: hidden; }
.ex .ex-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.occ { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.occ div { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; }
.occ b { font-size: 16px; }
.occ span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .occ { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .two { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--fg); font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; } .kv dd { margin-bottom: 10px; } }
.copy { border: 1px solid var(--line); background: var(--surface-2); color: var(--fg-2); border-radius: 6px; font-size: 12px; padding: 2px 8px; cursor: pointer; margin-left: 6px; }
.pc-vis .scene { position: absolute; inset: 0; aspect-ratio: auto; }
.ex-vis .scene { aspect-ratio: 16 / 9; }
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.road .card { padding: 22px; gap: 10px; }
.road .card h3 { font-size: 17px; }
@media (max-width: 860px) { .road { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .road { grid-template-columns: minmax(0, 1fr); } }
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.tl-item b.when { color: var(--accent-text); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .tl-item { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.steps.s5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 860px) { .steps.s5 { grid-template-columns: minmax(0, 1fr); } }
.ftr ul a, .nav a, .drawer a, .toc a, .crumbs a { color: inherit; text-decoration: none; }
.ftr ul a { color: var(--fg-2); }
.ftr ul a:hover { color: var(--fg); }
.frow { align-items: start; }
@media (max-width: 640px) {
  .tbl-cards thead { display: none; }
  .tbl-cards, .tbl-cards tbody { display: block; }
  .tbl-cards tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; padding: 16px; border-bottom: 1px solid var(--line-soft); }
  .tbl-cards tr:last-child { border-bottom: 0; }
  .tbl-cards td { padding: 0; border: 0 !important; background: transparent !important; min-width: 0; }
  .tbl-cards td[data-l]::before { content: attr(data-l); display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
  .tbl-cards td.full { grid-column: 1 / -1; }
  .tbl-cards .r { text-align: left; }
  .tbl-cards .pays { min-width: 0; }
  .tbl-cards tr.cur { background: var(--accent-wash); }
}

/* ——— v2: flags, emoji, ticker, back-to-top ——— */
.flag { display: inline-block; flex: none; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(127, 127, 127, .25); vertical-align: -2px; background: var(--surface-3); }
.mk-l { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.mkt-btn .flag { margin-right: 2px; }
.regions button .mk-l span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl .mname .flag { margin-right: 2px; }
.ent b { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flagrow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.flagrow.big { gap: 8px; }
.flagrow .more-n { font-size: 13px; font-weight: 600; color: var(--muted); padding-left: 4px; }
.emo { font-size: 28px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.occ div { position: relative; }
.occ .emo { font-size: 30px; margin-bottom: 6px; }
.occ div:hover { border-color: var(--muted); }
.aud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.aud-i { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.aud-i .emo { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); font-size: 24px; }
.aud-i b { display: block; font-size: 15px; }
.aud-i span:not(.emo) { font-size: 14px; color: var(--muted); }
@media (max-width: 560px) { .aud { grid-template-columns: minmax(0, 1fr); } }

.ticker { overflow: hidden; border-block: 1px solid var(--line-soft); background: var(--bg-band); padding-block: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 220s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; gap: 28px; padding-right: 28px; }
.tk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; color: var(--fg-2); }
.tk b { color: var(--fg); font-weight: 600; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker { overflow-x: auto; } .ticker-track { animation: none; } }

.float-pay { position: absolute; inset: 0; pointer-events: none; }
.fp { position: absolute; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; animation: bob 6s ease-in-out infinite; }
.fp1 { left: -34px; top: 22%; } .fp2 { right: -22px; top: 6%; animation-delay: -1.5s; } .fp3 { left: -40px; bottom: 2%; animation-delay: -3s; } .fp4 { right: -30px; top: 40%; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@media (max-width: 1100px) { .float-pay { display: none; } }

.totop { position: fixed; z-index: 65; right: max(16px, calc(env(safe-area-inset-right, 0px) + 16px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--fg); display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer; }
.totop:hover { border-color: var(--accent); color: var(--accent-text); }

.ftr-mkt { display: inline-flex; align-items: center; gap: 12px; justify-self: start; padding: 10px 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; text-align: left; }
.ftr-mkt:hover { border-color: var(--muted); }
.ftr-mkt small { display: block; font-size: 12px; color: var(--muted); }
.ftr-mkt b { font-size: 15px; }
.ftr-cur { font-size: 12px; font-weight: 600; color: var(--muted); padding: 2px 6px; border-radius: 4px; background: var(--surface-2); }
.ftr-langs { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 14px; }
.ftr-langs a { color: var(--fg-2); }
.ftr-langs a:hover, .ftr-langs a[aria-current="true"] { color: var(--accent-text); }
[dir="rtl"] .fp1, [dir="rtl"] .fp3 { left: auto; right: -30px; }

/* ——— v3: language list, RTL ——— */
.ftr-langs-wrap { margin-top: 24px; }
.ftr-langs-wrap summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; padding: 8px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.ftr-langs-wrap summary::-webkit-details-marker { display: none; }
.ftr-langs-wrap .ftr-langs { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; }

[dir="rtl"] .hdr-right { margin-left: 0; margin-right: auto; }
[dir="rtl"] .drawer-panel { margin-left: 0; margin-right: auto; }
[dir="rtl"] .spec dd, [dir="rtl"] .spec .v, [dir="rtl"] .brief .row span:last-child, [dir="rtl"] .pcard .pc-price, [dir="rtl"] .tbl .r { text-align: left; }
[dir="rtl"] .tbl th, [dir="rtl"] .prose td, [dir="rtl"] .prose th, [dir="rtl"] .regions button, [dir="rtl"] .langs button, [dir="rtl"] .ftr-mkt { text-align: right; }
[dir="rtl"] .prose ul, [dir="rtl"] .prose ol { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .step { padding: 0 0 0 24px; }
[dir="rtl"] .step::before { left: 0; right: 40px; }
[dir="rtl"] .toc a { border-left: 0; border-right: 2px solid transparent; }
[dir="rtl"] .btn svg, [dir="rtl"] .more svg { transform: scaleX(-1); }
[dir="rtl"] .totop { right: auto; left: max(16px, calc(env(safe-area-inset-left, 0px) + 16px)); }
[dir="rtl"] .cta-band::after { right: auto; left: -80px; }
[dir="rtl"] .fp2, [dir="rtl"] .fp4 { right: auto; left: -26px; }

[dir="rtl"] .lyrics, [dir="rtl"] .mono { unicode-bidi: plaintext; }
@media (max-width: 860px) { [dir="rtl"] .step { padding: 0 56px 0 0; } [dir="rtl"] .step .n { left: auto; right: 0; } [dir="rtl"] .step::before { left: auto; right: 20px; } }
[dir="rtl"] .ticker { direction: ltr; }
[dir="rtl"] .ticker .tk { direction: rtl; unicode-bidi: isolate; }
/* ——— v4: long words in 76 languages ——— */
h1, h2, h3, h4, p, li, dd, dt, td, th, summary, label, .lead { overflow-wrap: break-word; }
.ftr a, .ftr h5, .ftr li { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; padding-block: 10px; line-height: 1.3; }
  .mkt-btn { min-width: 0; }
  .mkt-btn .mkt-name { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hdr-right { min-width: 0; }
  h1, h2 { hyphens: auto; }
}
.chip-accent { white-space: normal; height: auto; min-height: 28px; padding-block: 4px; max-width: 100%; line-height: 1.35; }
/* 7 example songs in a 3-column grid: the first one becomes a wide featured card, so no card sits alone */
@media (min-width: 641px) { .grid.g3:has(> .ex:nth-child(7):last-child) > .ex:first-child { grid-column: 1 / -1; } .grid.g3:has(> .ex:nth-child(7):last-child) > .ex:first-child .wave i { max-width: 16px; } }
/* demo player states */
.play .i-pause { display: none; }
.play.on .i-play { display: none; }
.play.on .i-pause { display: block; }
.play.on { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent); }
.play:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
.ex.is-playing { border-color: var(--accent); }
.wave i { transition: background-color .15s linear; }
.wave.playing i.on { animation: none; }
.wave.playing i.on:last-of-type, .wave.playing i.on:not(:has(+ i.on)) { animation: pulse 0.9s ease-in-out infinite; }
[data-time] { min-width: 4.5em; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .wave.playing i.on { animation: none !important; } .play.on { box-shadow: none; } }
/* example films (vertical 9:16) and the looping clip on the home page */
.vbox video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #0B0E11; border-radius: var(--r); }
.ex-film { align-content: start; }
.scene.vloop { background: #0B0E11; }
.scene.vloop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
/* hero: vertical 9:16 preview next to the brief; the step bar moves under the brief so the first screen keeps its height */
.stage-row { --vh: 236px; grid-template-columns: calc(var(--vh) * 9 / 16) minmax(0, 1fr); align-items: start; }
.stage-row > .mock:first-child { height: var(--vh); border-radius: 18px; }
.stage-row > .mock:first-child .scene { aspect-ratio: auto; height: 100%; }
.stage-row .vloop video { object-position: 50% 50%; }
.stage-row .vloop .badge { left: 8px; top: 14px; font-size: 11px; padding: 0 8px; height: 22px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-row .vloop::after { content: ""; position: absolute; left: 8px; right: 8px; top: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,255,255,.95) 45%, rgba(255,255,255,.35) 45%); }
.stage-side { display: grid; gap: 12px; align-content: start; min-width: 0; }
.stage-side .flow { margin: 0; }
@media (max-width: 520px) { .stage-row { --vh: 200px; grid-template-columns: calc(var(--vh) * 9 / 16) minmax(0, 1fr); } .stage-side .flow span { font-size: 11px; padding-inline: 4px; } }

/* ——— First-screen background (all pages): brand silk + mark; desktop / tablet / mobile art ——— */
:root { --hero-d: url(brand/hero-dark-2100.webp); --hero-t: url(brand/hero-dark-1280.webp); --hero-m: url(brand/hero-dark-m.webp); --hero-base: #0C0F11; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --hero-d: url(brand/hero-light-2100.webp); --hero-t: url(brand/hero-light-1280.webp); --hero-m: url(brand/hero-light-m.webp); --hero-base: #F8F5F1; } }
:root[data-theme="light"] { --hero-d: url(brand/hero-light-2100.webp); --hero-t: url(brand/hero-light-1280.webp); --hero-m: url(brand/hero-light-m.webp); --hero-base: #F8F5F1; }
.hero, .page-hero, body[data-page="404"] main > .sec:first-child { position: relative; isolation: isolate; background: var(--hero-d) right center / cover no-repeat, var(--hero-base); }
.hero::before, .page-hero::before, body[data-page="404"] main > .sec:first-child::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, transparent 72%, var(--bg)); }
.page-hero::before { background: linear-gradient(to bottom, transparent 60%, color-mix(in srgb, var(--bg) 70%, transparent)); }
@media (max-width: 1279px) { .hero, .page-hero, body[data-page="404"] main > .sec:first-child { background-image: var(--hero-t); } }
@media (max-width: 1023px) { .hero { background: var(--hero-m) right top / min(72%, 620px) auto no-repeat, var(--hero-base); } }
@media (max-width: 639px) {
  .hero, .page-hero, body[data-page="404"] main > .sec:first-child { background: var(--hero-m) right top / min(92%, 440px) auto no-repeat, var(--hero-base); }
}
@media (max-width: 520px) { .hero-cta .btn { flex: 1 1 100%; justify-content: center; } }

/* ——— Product photos (home, products) ——— */
.pcard .pc-vis.pc-photo { padding: 0; background: var(--surface-3); }
.pc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.pcard:hover .pc-img, .pcard:hover .pc-img { transform: scale(1.03); }
.pc-badge { position: absolute; left: 16px; top: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, .86); color: #1E2329; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
@media (prefers-reduced-motion: reduce) { .pc-img { transition: none; } a.pcard:hover .pc-img, .pcard:hover .pc-img { transform: none; } }
/* ——— Real film on the animated-film page ——— */
.pv-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; align-items: start; }
.pv-video { width: 100%; border-radius: 14px; overflow: hidden; background: #000; }
.pv-video video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.pv-brief .row { align-items: flex-start; gap: 16px; }
.pv-brief .row span:last-child { text-align: end; }
@media (max-width: 520px) { .pv-grid { grid-template-columns: 1fr; } .pv-video { max-width: 260px; justify-self: center; } }
