/* Nahat website. Moon Black brand: black canvas, graphite panels, silver type, one blue for actions,
   and the app's muscle red only where a muscle is being worked. */
@font-face { font-family: "Readex"; src: url("../fonts/readex_pro.ttf") format("truetype"); font-weight: 160 700; font-display: swap; }
@font-face { font-family: "Nahat Sans"; src: url("../fonts/nahat_sans_regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nahat Sans"; src: url("../fonts/nahat_sans_semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --black: #000000;
  --graphite: #14171c;
  --raise: #1b1e23;
  --line: #30353d;
  --text: #fafafa;
  --muted: #a8afba;
  --blue: #3b82f6;
  --blue-fill: #2467d8;
  --muscle: #e8503a;
  --silver: linear-gradient(180deg, #ffffff 0%, #e9e9e9 38%, #9a9a9a 62%, #dcdcdc 78%, #7d7d7d 100%);
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --display: "Readex", "Nahat Sans", system-ui, sans-serif;
  --body: "Nahat Sans", "Readex", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { background: var(--black); color: var(--text); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.65 var(--body); background: var(--black); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--blue-fill); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }

/* ---------- Header ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s var(--ease), border-color .35s; border-bottom: 1px solid transparent; }
.site-head.solid { background: rgba(0, 0, 0, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 20px/1 var(--display); letter-spacing: .02em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 10px; font-size: 15px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--raise); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 4px; background: var(--blue); border-radius: 2px; }
.lang { background: none; border: 1px solid var(--line); color: var(--text); font: 600 14px var(--body); padding: 7px 12px; border-radius: 10px; cursor: pointer; min-width: 48px; min-height: 40px; }
.lang:hover { border-color: var(--muted); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; margin-inline-start: auto; }
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; background: rgba(0, 0, 0, .96); padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); margin: 0; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 18px; padding: 14px 4px; }
  .nav a[aria-current="page"]::after { display: none; }
  .head-cta { display: none; }
}

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.25; }
h2 { font-size: clamp(32px, 5vw, 60px); }
h3 { font-size: clamp(21px, 2.2vw, 26px); }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 46ch; }
.muted { color: var(--muted); }
.silver { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muscle { color: var(--muscle); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; font: 600 16px var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue-fill); color: #fff; }
.btn-primary:hover { background: #2d74ea; }
.btn-quiet { border-color: var(--line); color: var(--text); background: transparent; }
.btn-quiet:hover { border-color: var(--muted); }
.btn svg { width: 20px; height: 20px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(59, 130, 246, .6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); } }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 110px 0 60px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 55% at 72% 46%, #1b1e23 0%, #000 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; }
.wordmark { font: 700 clamp(120px, 21vw, 300px)/.9 var(--display); letter-spacing: -.02em; margin: 0 0 8px; }
.hero h1 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; max-width: 18ch; }
.hero .lead { margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-figure { position: relative; justify-self: center; width: min(440px, 80vw); aspect-ratio: 2 / 3; }
.hero-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-figure .lit { opacity: 0; transition: opacity 1.4s var(--ease); }
.loaded .hero-figure .lit { opacity: 1; transition-delay: .9s; }
/* The video's black background disappears into the page (lighten keeps only what is brighter). */
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: lighten; }
.hero-figure::after { content: ""; position: absolute; inset: auto 10% -4% 10%; height: 14%; background: radial-gradient(50% 50% at 50% 50%, rgba(59, 130, 246, .22), transparent 70%); z-index: -1; }

/* Page-load sequence: the wordmark is carved in (a clip sweep), then the rest follows. */
.carve { clip-path: inset(0 100% 0 0); }
[dir="rtl"] .carve { clip-path: inset(0 0 0 100%); }
.loaded .carve { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease); }
.rise { opacity: 0; transform: translateY(18px); }
.loaded .rise { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.loaded .rise.d1 { transition-delay: .55s; } .loaded .rise.d2 { transition-delay: .7s; } .loaded .rise.d3 { transition-delay: .85s; }

.scroll-hint { position: absolute; bottom: 22px; inset-inline-start: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line); border-radius: 14px; }
[dir="rtl"] .scroll-hint { transform: translateX(50%); }
.scroll-hint::after { content: ""; position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--muted); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 860px) {
  .hero { padding-top: 96px; }
  .hero-grid { grid-template-columns: 1fr; text-align: start; }
  .hero-figure { width: min(300px, 70vw); order: -1; margin-bottom: -8px; }
  .wordmark { font-size: clamp(96px, 30vw, 150px); }
  .scroll-hint { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Sculpt: timed tabs that light the body group by group ---------- */
.sculpt { position: relative; padding: clamp(40px, 8vh, 96px) 0; }
.sculpt-stage { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 24px; min-height: min(86svh, 760px); }
.sculpt-steps { position: relative; min-height: 300px; touch-action: pan-y; }
/* Each part of a step rises in from a soft blur, one after another; the step leaving drifts up and blurs out. */
.sculpt-step { position: absolute; inset: 0 0 auto; pointer-events: none; }
.sculpt-step.on { pointer-events: auto; }
.sculpt-step > *, .sculpt-step .muscles span { opacity: 0; transform: translateY(18px); filter: blur(8px);
  transition: opacity .45s var(--ease), transform .55s var(--ease), filter .45s var(--ease); }
.sculpt-step.leaving > *, .sculpt-step.leaving .muscles span { transform: translateY(-14px); }
.sculpt-step.on > *, .sculpt-step.on .muscles span { opacity: 1; transform: none; filter: none;
  transition-duration: .7s, .8s, .7s; }
.sculpt-step.on > :nth-child(2) { transition-delay: .08s; }
.sculpt-step.on > :nth-child(3) { transition-delay: .14s; }
.sculpt-step.on .muscles span:nth-child(1) { transition-delay: .18s; }
.sculpt-step.on .muscles span:nth-child(2) { transition-delay: .24s; }
.sculpt-step.on .muscles span:nth-child(3) { transition-delay: .3s; }
.sculpt-step.on .muscles span:nth-child(4) { transition-delay: .36s; }
.sculpt-step .muscles { opacity: 1 !important; transform: none !important; filter: none !important; }
.sculpt-step h2 { margin-bottom: 16px; }
.sculpt-step .muscles { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.sculpt-step .muscles span { padding: 6px 12px; border-radius: 999px; background: rgba(232, 80, 58, .12); color: #ff8c78; font-size: 14px; }
.sculpt-bodies { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: min(76svh, 680px); touch-action: pan-y; }
.body-view { position: relative; }
/* The red spreads in: the new map fades in over the old one with a slight settle. */
.body-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.015);
  transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.body-view img.on { opacity: 1; transform: none; }
.sculpt-controls { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.sculpt-nav { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; transition: border-color .2s, background .2s; }
.sculpt-nav:hover { border-color: var(--muted); background: var(--raise); }
.sculpt-nav svg { width: 20px; height: 20px; }
[dir="rtl"] .sculpt-nav svg { transform: scaleX(-1); }
.sculpt-progress { display: flex; gap: 6px; }
.sculpt-progress button { width: 40px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.sculpt-progress button span { display: block; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.sculpt-progress button span::after { content: ""; position: absolute; inset: 0; background: var(--muscle); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .sculpt-progress button span::after { transform-origin: right; }
.sculpt-progress button.done span::after { transform: none; }
.sculpt-progress button.on span::after { animation: sculpt-fill var(--sculpt-time, 2.8s) linear forwards; }
.sculpt.paused .sculpt-progress button.on span::after { animation-play-state: paused; }
@keyframes sculpt-fill { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .sculpt-progress button.on span::after { animation: none; transform: none; } .sculpt-step > *, .sculpt-step .muscles span, .body-view img { transition: none !important; filter: none !important; } }
@media (max-width: 860px) {
  .sculpt-stage { grid-template-columns: 1fr; gap: 8px; min-height: 0; }
  .sculpt-bodies { height: 46svh; order: -1; }
  .sculpt-steps { min-height: 230px; }
  .sculpt-step h2 { font-size: 30px; }
  .sculpt-controls { margin-top: 12px; }
  .sculpt-progress button { width: 30px; }
}

/* ---------- Steps strip (horizontal drift on scroll) ---------- */
.strip-wrap { overflow: hidden; padding: 8px 0 24px; }
.strip { display: flex; gap: 20px; width: max-content; will-change: transform; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: clamp(300px, 34vw, 460px); background: var(--graphite); border: 1px solid var(--line); border-radius: 22px; padding: 10px; }
.pair img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; background: #e3e6ea; }
.pair figcaption { grid-column: 1 / -1; padding: 10px 6px 4px; font-size: 15px; color: var(--muted); }
.pair figcaption b { color: var(--text); font-weight: 600; }

/* ---------- Feature rows ---------- */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.row + .row { margin-top: clamp(90px, 12vw, 160px); }
.row.flip > :first-child { order: 2; }
.row-copy { display: grid; gap: 18px; }
.facts { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: var(--muted); }
.facts li b { color: var(--text); font-weight: 600; display: block; }
.facts svg { width: 22px; height: 22px; color: var(--blue); margin-top: 3px; }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; } .row.flip > :first-child { order: 0; } }

/* Phones */
.phones { position: relative; display: flex; justify-content: center; gap: 4%; }
.phone { width: 46%; max-width: 270px; aspect-ratio: 9 / 18.5; border-radius: 34px; padding: 8px; background: #0c0e11; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px #000; overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; }
.phones .phone:nth-child(2) { transform: translateY(12%); }
[data-parallax] { will-change: transform; }

/* Pose row */
.poses { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.poses figure { margin: 0; background: linear-gradient(180deg, #e9ecef, #d9dde2); border-radius: 16px; padding: 10px 6px 0; }
.poses img { aspect-ratio: 2 / 3; object-fit: contain; width: 100%; }
.poses figcaption { font-size: 13px; color: #30353d; text-align: center; padding: 6px 2px 10px; }
@media (max-width: 640px) { .poses { grid-template-columns: repeat(3, 1fr); } .poses figure:nth-child(n+4) { display: none; } }

/* Food ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: tick 40s linear infinite; font: 500 clamp(24px, 3vw, 36px) var(--display); color: var(--muted); }
.ticker-track span:nth-child(3n) { color: var(--text); }
[dir="rtl"] .ticker-track { animation-name: tick-rtl; }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes tick-rtl { to { transform: translateX(50%); } }

/* Panels */
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.panel { background: var(--graphite); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.panel .k { font: 600 clamp(34px, 4vw, 48px)/1 var(--display); }
.panel.wide { grid-column: span 2; }
@media (max-width: 860px) { .panels { grid-template-columns: 1fr; } .panel.wide { grid-column: auto; } }

/* Big statement */
.statement { font: 500 clamp(30px, 4.6vw, 64px)/1.15 var(--display); max-width: 20ch; }
.statement .word { opacity: .18; transition: opacity .4s; }
.statement .word.on { opacity: 1; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(80% 120% at 85% 20%, #1e2a44 0%, #0c0e11 55%); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.cta-band .mark { width: min(220px, 50vw); justify-self: center; filter: drop-shadow(0 20px 40px rgba(59, 130, 246, .25)); }
.play-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: #000; color: var(--text); text-decoration: none; }
.play-badge small { display: block; font-size: 12px; color: var(--muted); }
.play-badge strong { font: 600 18px var(--display); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .mark { order: -1; width: 120px; justify-self: start; } }

/* Page header (inner pages) */
.page-hero { padding: 150px 0 60px; position: relative; }
.page-hero h1 { font-size: clamp(44px, 8vw, 104px); max-width: 14ch; }
.page-hero .lead { margin-top: 22px; }
.page-hero.has-art .wrap { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 24px; }
.page-hero.has-art img { max-height: 420px; width: auto; max-width: 100%; height: auto; object-fit: contain; justify-self: center; }
@media (max-width: 860px) { .page-hero { padding-top: 120px; } .page-hero.has-art .wrap { grid-template-columns: 1fr; } .page-hero.has-art img { max-height: 260px; order: -1; justify-self: start; } }

/* Program list */
.programs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.program { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; background: var(--graphite); border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.program img { border-radius: 14px; background: #e3e6ea; aspect-ratio: 1; object-fit: cover; }
.program p { color: var(--muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 760px) { .programs { grid-template-columns: 1fr; } .program { grid-template-columns: 96px 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 500 20px var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 26px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 70ch; }

/* Reveal on scroll (used sparingly) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 60px; color: var(--muted); font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--text); }

/* Privacy page body */
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { color: #d4d8de; }
.legal ul { padding-inline-start: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .carve, .rise, .reveal { clip-path: none; opacity: 1; transform: none; }
  .hero-figure .lit { opacity: 1; }
  .statement .word { opacity: 1; }
}

/* Pages written twice (the privacy policy): show the one for the chosen language. */
html[lang="ar"] .only-en, html[lang="en"] .only-ar { display: none; }
.legal h1 { font-size: clamp(36px, 6vw, 64px); margin-bottom: 12px; }

/* ---------- Account pages (pro.html, delete-account/): sign-in, plans, deletion ---------- */
/* These two pages also have a light variant (docs/19 §3 light roles), by the system setting or ?theme=light. */
@media (prefers-color-scheme: light) {
  :root:has(.acct):not([data-theme="dark"]) {
    --black: #fafafa; --graphite: #ffffff; --raise: #e6e7ea; --line: #d5d8dd; --text: #14171c; --muted: #4b525c; --blue: #1a56c4; color-scheme: light;
  }
  :root:has(.acct):not([data-theme="dark"]) .site-head.solid, :root:has(.acct):not([data-theme="dark"]) .nav { background: rgba(250, 250, 250, .92); }
  :root:has(.acct):not([data-theme="dark"]) .legal p, :root:has(.acct):not([data-theme="dark"]) .legal li { color: #30353d; }
}
:root[data-theme="light"]:has(.acct) { --black: #fafafa; --graphite: #ffffff; --raise: #e6e7ea; --line: #d5d8dd; --text: #14171c; --muted: #4b525c; --blue: #1a56c4; color-scheme: light; }
:root[data-theme="light"]:has(.acct) .site-head.solid, :root[data-theme="light"]:has(.acct) .nav { background: rgba(250, 250, 250, .92); }
:root[data-theme="light"]:has(.acct) .legal p, :root[data-theme="light"]:has(.acct) .legal li { color: #30353d; }
@media (max-width: 860px) { :root[data-theme="light"]:has(.acct) .nav { background: rgba(250, 250, 250, .98); } }

.acct-hero { padding-bottom: 28px; }
.acct-hero h1 { font-size: clamp(44px, 9vw, 96px); margin-top: 18px; }
.acct-main { padding: 8px 0 40px; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .acct-grid { grid-template-columns: minmax(0, 1fr); } }
.acct-card { background: var(--graphite); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 4vw, 28px); display: grid; gap: 14px; min-width: 0; }
.acct-card h2 { font-size: clamp(22px, 3vw, 28px); }
.acct-card h3 { font-size: 22px; }
.acct-side { display: grid; gap: 14px; min-width: 0; }
.acct-panel { border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; display: grid; gap: 10px; }
.acct-panel h2 { font-size: 19px; }
.acct-panel p { color: var(--muted); }
.acct-note-panel { background: color-mix(in srgb, var(--blue) 8%, transparent); }
.acct-prices { display: grid; gap: 6px; }
.acct-prices b { color: var(--text); font-weight: 600; }
.acct-list, .acct-steps { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; color: var(--muted); }
.acct-list li::marker { color: var(--blue); }
.acct-steps li::marker { color: var(--blue); font-weight: 600; }
.acct-kicker { font-size: 14px; font-weight: 600; color: var(--blue); letter-spacing: .02em; }
.acct-muted { color: var(--muted); }
.acct-small { font-size: 14px; color: var(--muted); }
.acct-lead { font-size: 18px; }
.acct-error { color: #ff8c78; font-size: 15px; }
:root[data-theme="light"]:has(.acct) .acct-error { color: #b42318; }
@media (prefers-color-scheme: light) { :root:has(.acct):not([data-theme="dark"]) .acct-error { color: #b42318; } }
.acct-wide { width: 100%; justify-content: center; }
.acct-who { font-size: 14px; color: var(--muted); }
.btn-link { background: none; border: 0; padding: 6px 0; min-height: 40px; color: var(--blue); font: 500 15px var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.btn-danger { background: #b42318; color: #fff; }
.btn-danger:hover { background: #c42a1d; }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.acct-signin { display: grid; gap: 12px; }
.acct-form { display: grid; gap: 10px; }
.acct-form label { font-size: 14px; color: var(--muted); }
.acct-form input, .acct-form select, .acct-form textarea { font: 400 17px/1.4 var(--body); color: var(--text); background: var(--black); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 52px; width: 100%; }
.acct-form textarea { resize: vertical; min-height: 140px; }
.acct-form input:focus, .acct-form select:focus, .acct-form textarea:focus { outline: none; border-color: var(--blue); }
/* The support form's honeypot: out of sight and out of the tab order; people never fill it. */
.acct-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.acct-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.acct-or::before, .acct-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.acct-note { font-size: 14px; color: var(--muted); min-height: 1.2em; }
.g-mark { width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #2467d8; display: grid; place-items: center; font: 700 15px/1 Arial, sans-serif; }
.busy { opacity: .7; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.plans { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.plan { position: relative; display: grid; gap: 4px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 18px; cursor: pointer; background: var(--black); transition: border-color .2s; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan.on { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); }
.plan.off { cursor: default; opacity: .75; }
.plan:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-top b { font: 600 18px var(--display); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.plan-price bdi { font: 600 clamp(26px, 6vw, 32px)/1.1 var(--display); }
.plan-price small { color: var(--muted); font-size: 14px; }
.save { font-size: 13px; font-weight: 600; color: #fff; background: var(--blue-fill); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }

.acct-check { width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; position: relative; }
.acct-check::after { content: ""; position: absolute; left: 18px; top: 14px; width: 12px; height: 22px; border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg); }
.acct-spinner { width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--blue); animation: acct-spin 1s linear infinite; }
@keyframes acct-spin { to { transform: rotate(360deg); } }
.acct-agree { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 15px; cursor: pointer; }
.acct-agree input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: #b42318; }
.acct-details { padding-bottom: 20px; }

/* ---------- Download page (download.html, docs/31) ---------- */
.dl-card { gap: 12px; }
.dl-card [hidden], .dl-meta[hidden], .dl-meta [hidden] { display: none !important; }
.dl-card .play-badge { color: #fafafa; }
.dl-btn { justify-self: start; }
.dl-off { opacity: .7; }
.dl-rule { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.dl-meta { display: grid; gap: 8px; margin: 0; font-size: 14px; color: var(--muted); }
.dl-meta dt { font-weight: 600; }
.dl-meta dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.dl-meta code { font: 13px/1.5 ui-monospace, Consolas, monospace; color: var(--text); }
.acct-panel a { color: var(--blue); }
.acct-panel a.btn-primary { color: #fff; } /* a button-styled link in a panel (support page WhatsApp) keeps white text */
.acct-details .legal h2:first-child { margin-top: 8px; }

/* ---------- Codes and points on Pro, and the share page (i.html, /i/<code>) ---------- */
.code-box { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--black); }
.code-box [hidden] { display: none !important; }
.code-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 15px; overflow-wrap: anywhere; }
.code-line .btn-link { margin-inline-start: auto; }
.code-tag { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--blue); }
.code-ended .code-tag { background: var(--muted); }
.code-ask { justify-self: start; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; }
.code-row .btn { flex: none; }
.code-offer { display: grid; gap: 2px; }
.code-box .btn-link { min-height: 48px; }
.points-use { min-height: 48px; align-items: center; }
.points-use input { margin: 0; accent-color: var(--blue-fill); }
.land-wrap { display: grid; justify-items: start; }
.land-card { width: min(100%, 560px); gap: 18px; }
.land-card [hidden] { display: none !important; }
.land-code-box { display: grid; gap: 10px; }
.land-code { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.land-code bdi { font: 600 clamp(34px, 9vw, 48px)/1.1 var(--display); letter-spacing: .08em; overflow-wrap: anywhere; min-width: 0; }
.land-code .btn { min-height: 48px; padding: 0 18px; }
.land-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.land-card .play-badge { color: var(--text); background: var(--black); }
.land-card .acct-small a { color: var(--blue); }
