/* Fabler — marketing site. Tokens mirror FablerDesign/Tokens.swift. */
:root {
  --bg: #120f1a;               /* FablerColor.background  (0.07, 0.06, 0.10) */
  --surface: #1f1c29;          /* FablerColor.surface     (0.12, 0.11, 0.16) */
  --surface-raised: #2b2938;   /* FablerColor.surfaceRaised (0.17, 0.16, 0.22) */
  --accent: #b885fc;           /* FablerColor.accent      (0.72, 0.52, 0.99) */
  --accent-soft: rgba(184, 133, 252, 0.16);
  --text: #fff;
  --text-2: rgba(255, 255, 255, 0.72); /* app uses .65; nudged up for AA on small text */
  --text-3: rgba(255, 255, 255, 0.4);  /* decorative only, never body copy */
  --line: rgba(255, 255, 255, 0.09);
  --success: #5cd48c;
  --radius: 14px;
  --radius-card: 18px;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.eyebrow { font: 600 .8125rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.lede { font-size: clamp(1.125rem, 1.8vw, 1.3rem); color: var(--text-2); max-width: 36em; }
.muted { color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 1.0625rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--accent); color: #17111f; box-shadow: 0 10px 30px -10px rgba(184,133,252,.6); }
.btn-primary:hover { background: #c69cfd; transform: translateY(-1px); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Self-drawn "coming soon" store badge — intentionally inert. */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 6px 18px 6px 14px; border-radius: 12px;
  border: 1px dashed rgba(255,255,255,.28); color: var(--text-2);
  cursor: default; user-select: none;
}
.store-badge svg { width: 24px; height: 24px; opacity: .8; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge small { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.store-badge strong { font-size: 1rem; font-weight: 600; color: var(--text); opacity: .85; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 15, 26, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 1.35rem/1 var(--serif); }
.brand-mark { width: 30px; height: 30px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--text-2); text-decoration: none; font-size: .9375rem; }
.site-nav ul a:hover { color: var(--text); }
@media (max-width: 760px) { .site-nav ul { display: none; } }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 8vw, 104px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(64px, 9vw, 112px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(184,133,252,.22), rgba(184,133,252,0) 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { margin-bottom: 2rem; }
.hero-note { margin: 1.4rem 0 0; font-size: .9375rem; color: var(--text-2); display: flex; gap: 8px; align-items: flex-start; }
.hero-note svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: .2em; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .phone { width: min(330px, 78vw); }
.hero-visual .phone.back { position: absolute; width: min(270px, 62vw); transform: translate(-46%, 8%) rotate(-7deg); opacity: .55; filter: saturate(.8); z-index: 0; }
.hero-visual .phone.front { position: relative; z-index: 1; transform: translateX(14%); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { margin-top: 12px; }
  .hero-visual .phone.front { transform: translateX(10%); }
}
@media (max-width: 480px) {
  .hero-visual .phone.back { display: none; }
  .hero-visual .phone.front { transform: none; }
}

/* ---------- Phone frame ----------
   A device drawn in CSS: metal edge, black bezel, evenly rounded corners and
   side buttons. Everything is sized from the phone's own width (cqw), so the
   frame keeps the same proportions at every size. */
.phone {
  margin: 0;
  position: relative;
  container-type: inline-size;
  filter: drop-shadow(0 34px 44px rgba(0,0,0,.6)) drop-shadow(0 16px 50px rgba(120, 80, 200, .28));
}
.screen {
  position: relative;
  box-sizing: content-box;
  width: calc(100cqw - 7cqw);          /* 2 x (bezel 2.6 + edge 0.9) */
  aspect-ratio: 780 / 1696;
  margin: .9cqw;
  border: 2.6cqw solid #07060b;        /* bezel */
  border-radius: 15.5cqw;
  overflow: hidden; background: var(--bg);
  box-shadow:
    0 0 0 .35cqw #2b2833,              /* inner edge line */
    0 0 0 .9cqw #6d687c,               /* metal band */
    0 0 0 1.05cqw #17151d;             /* outer rim */
}
/* Side buttons: action + volume on the left, power on the right. */
.phone::before, .phone::after {
  content: ""; position: absolute; width: .9cqw; background: #5a5568; border-radius: .45cqw;
}
.phone::before { left: -.75cqw; top: 31cqw; height: 9cqw; box-shadow: 0 13cqw 0 #5a5568, 0 -11cqw 0 0 #5a5568; }
.phone::after  { right: -.75cqw; top: 40cqw; height: 15cqw; }
.screen picture, .screen img { display: block; width: 100%; height: 100%; }
.screen img { object-fit: cover; object-position: top; }

/* The headline feature gets a little more presence than the rows below. */
.spotlight { padding-top: clamp(24px, 4vw, 48px); }
.spotlight .feature { padding-top: 0; padding-bottom: 0; }
.spotlight { padding-bottom: clamp(24px, 4vw, 56px); }
.spotlight h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
.step-num { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 1.05rem/1 var(--serif); margin-bottom: 18px; }
.step p { color: var(--text-2); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px !important; }
.chip { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--surface-raised); color: var(--text); font-size: .875rem; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature rows ---------- */
.features { padding-top: 0; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 96px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-text { order: 2; }
.feature-visual { display: flex; justify-content: center; position: relative; }
.feature-visual::before {
  content: ""; position: absolute; inset: 10% 5%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(184,133,252,.16), transparent);
  pointer-events: none;
}
.feature-visual .phone { width: min(300px, 74vw); position: relative; }
.feature-visual.pair .phone.back { position: absolute; width: min(250px, 60vw); transform: translate(-44%, 9%) rotate(-6deg); opacity: .6; filter: saturate(.8); }
.feature-visual.pair .phone.front { transform: translateX(16%); }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--text-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%23b885fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.ticks strong { color: var(--text); font-weight: 600; }
.quote-nudge { font-family: var(--serif); font-style: italic; color: var(--text); }
.soon { display: inline-block; margin-top: 1.5rem; padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: .9375rem; }
.soon b { color: var(--accent); font-weight: 600; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
  .feature-visual { order: 2; }
}
@media (max-width: 480px) {
  .feature-visual.pair .phone.back { display: none; }
  .feature-visual.pair .phone.front { transform: none; }
}

/* ---------- Mock screens (stand-ins until real screenshots exist) ---------- */
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: var(--sans); color: var(--text); container-type: inline-size; }
.mock-status { display: flex; justify-content: space-between; align-items: center; padding: 6cqw 9cqw 0 12cqw; font-size: 4.4cqw; font-weight: 600; height: 15cqw; }
.mock-status .island { position: absolute; left: 50%; top: 3cqw; transform: translateX(-50%); width: 31cqw; height: 9cqw; border-radius: 99px; background: #000; }
.mock-status .sys { width: 17cqw; height: 4cqw; color: #fff; }

.player { padding: 0 7cqw 7cqw; flex: 1; display: flex; flex-direction: column; }
.player-top { display: flex; align-items: center; justify-content: space-between; height: 13cqw; color: var(--text-2); font-size: 3.6cqw; }
.player-top svg { width: 6cqw; height: 6cqw; color: var(--text); }
.player-cover { margin: 5cqw 4cqw 0; }
.player-cover .cover { border-radius: 4.5cqw; }
.player-cover .cover-title { font-size: 7cqw; padding: 5cqw; }
.player-meta { margin-top: 7cqw; }
.player-meta .ch { color: var(--accent); font-size: 3.6cqw; font-weight: 600; margin: 0; }
.player-meta .t { font: 600 6.4cqw/1.2 var(--serif); margin: 1.2cqw 0 0; }
.scrub { margin-top: 6cqw; }
.scrub-bar { height: 1.4cqw; border-radius: 99px; background: rgba(255,255,255,.16); position: relative; }
.scrub-bar::before { content: ""; position: absolute; inset: 0 62% 0 0; background: var(--accent); border-radius: inherit; }
.scrub-bar::after { content: ""; position: absolute; left: 38%; top: 50%; width: 4cqw; height: 4cqw; margin: -2cqw 0 0 -2cqw; border-radius: 50%; background: #fff; }
.scrub-times { display: flex; justify-content: space-between; color: var(--text-2); font-size: 3.2cqw; margin-top: 2cqw; font-variant-numeric: tabular-nums; }
.transport { display: flex; justify-content: space-between; align-items: center; margin: 6cqw 6cqw 0; }
.transport .skip { width: 10cqw; height: 10cqw; color: var(--text); }
.transport .play { width: 20cqw; height: 20cqw; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #17111f; }
.transport .play svg { width: 8cqw; height: 8cqw; }
.player-tools { margin-top: auto; display: flex; justify-content: space-around; color: var(--text-2); font-size: 3cqw; text-align: center; }
.player-tools span { display: flex; flex-direction: column; align-items: center; gap: 1.4cqw; }
.player-tools svg { width: 6cqw; height: 6cqw; color: var(--text); }
.player-tools .speed { font-size: 4.4cqw; font-weight: 700; color: var(--text); height: 6cqw; line-height: 6cqw; }

.choices-screen .player { filter: brightness(.45) blur(1px); }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 6cqw 5.5cqw 8cqw; border-radius: 7cqw 7cqw 0 0;
  background: var(--surface); box-shadow: 0 -10px 40px rgba(0,0,0,.5);
}
.sheet-grip { width: 11cqw; height: 1.3cqw; border-radius: 99px; background: rgba(255,255,255,.25); margin: 0 auto 4.5cqw; }
.sheet h4 { font: 600 6cqw/1.2 var(--serif); margin: 0 0 1.4cqw; }
.sheet .sub { font-size: 3.3cqw; color: var(--text-2); margin: 0 0 4cqw; line-height: 1.4; }
.choice { display: flex; gap: 3cqw; align-items: flex-start; padding: 3.6cqw 4cqw; border-radius: 4cqw; background: var(--surface-raised); margin-bottom: 2.6cqw; font-size: 3.6cqw; line-height: 1.35; }
.choice .n { flex: none; width: 6cqw; height: 6cqw; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 3.2cqw; }
.choice.picked { outline: .6cqw solid var(--accent); background: #33284a; }
.nudge { display: flex; align-items: center; gap: 2.5cqw; margin-top: 3.4cqw; padding: 3.2cqw 4cqw; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); font-size: 3.3cqw; color: var(--text-2); }
.nudge svg { width: 4.6cqw; height: 4.6cqw; color: var(--accent); flex: none; }
.nudge { border-radius: 4cqw; align-items: flex-start; line-height: 1.35; }

@media (prefers-reduced-motion: no-preference) {
  .choices-screen .sheet { animation: sheet-up 1s cubic-bezier(.2,.8,.2,1) .3s both; }
  .choices-screen .choice { animation: card-up .7s cubic-bezier(.2,.8,.2,1) both; }
  .choices-screen .choice:nth-of-type(1) { animation-delay: .7s; }
  .choices-screen .choice:nth-of-type(2) { animation-delay: .82s; }
  .choices-screen .choice:nth-of-type(3) { animation-delay: .94s; }
  .choices-screen .nudge { animation: card-up .7s cubic-bezier(.2,.8,.2,1) 1.06s both; }
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes card-up { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Covers (CoverArtView in CSS) ---------- */
.cover {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-card);
  background: linear-gradient(150deg, var(--top), var(--bottom));
  isolation: isolate; container-type: inline-size;
}
.cover::before { /* soft accent bloom, top-right */
  content: ""; position: absolute; width: 90%; height: 90%; left: 40%; top: -40%; border-radius: 50%;
  background: var(--accent); opacity: .35; filter: blur(14cqw); z-index: -1;
}
.cover::after { /* legibility scrim under the title */
  content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.45));
}
.cover-pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-emblem { position: absolute; left: 50%; top: 20%; width: 26%; height: 26%; transform: translateX(-50%); color: rgba(255,255,255,.72); filter: drop-shadow(0 1cqw 2cqw rgba(0,0,0,.25)); }
.cover-title {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0; padding: 8cqw;
  font: 600 10.5cqw/1.1 var(--serif); color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.45);
}

.covers { overflow: hidden; }
.cover-strip {
  list-style: none; margin: 0; padding: 8px var(--gutter) 24px;
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 40vw, 236px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--surface-raised) transparent;
  /* full-bleed carousel: first cover lines up with the content column */
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.cover-item { scroll-snap-align: start; }
.cover-item .cover { box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.cover-genre { margin: 12px 2px 0; font-size: .875rem; color: var(--text-2); }
.covers .caption { text-align: center; color: var(--text-2); font-size: .9375rem; margin-top: 12px; }

/* ---------- AI section ---------- */
.ai-card {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 6vw, 72px);
  background: radial-gradient(120% 120% at 100% 0%, rgba(184,133,252,.18), transparent 55%), var(--surface);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start;
}
.ai-card h2 { margin-bottom: .4em; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.ai-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ai-points li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.ai-points .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-raised); display: grid; place-items: center; color: var(--accent); }
.ai-points .ico svg { width: 22px; height: 22px; }
.ai-points h3 { font: 600 1.05rem/1.3 var(--sans); margin: 2px 0 4px; }
.ai-points p { margin: 0; color: var(--text-2); font-size: .975rem; }
.ai-stamp { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--text); font-size: .9375rem; font-weight: 600; }
.ai-stamp svg { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 860px) { .ai-card { grid-template-columns: 1fr; } }

/* ---------- Beta CTA ---------- */
.beta { text-align: center; }
.beta .wrap { max-width: 760px; }
.beta .cta-row { justify-content: center; margin-top: 2rem; }
.beta .small { margin-top: 1.25rem; font-size: .9375rem; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq .wrap { max-width: 820px; }
.faq-list { 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; align-items: center; gap: 20px;
  padding: 22px 4px; font: 600 1.125rem/1.35 var(--sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-raised)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 12l5 5 5-5' fill='none' stroke='%23b885fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/28px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div { padding: 0 4px 22px; color: var(--text-2); max-width: 64ch; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--text-2); font-size: .9375rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--text); }
.site-footer .brand { font-size: 1.15rem; }
.site-footer .brand-mark { width: 24px; height: 24px; }
.footer-meta { flex-basis: 100%; margin: 0; font-size: .875rem; }

/* ---------- Simple pages (privacy, terms, 404) ---------- */
.page { padding: clamp(56px, 9vw, 112px) 0; min-height: 60vh; }
.page .wrap { max-width: 760px; }
.draft-banner { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: rgba(242, 185, 36, .1); border: 1px solid rgba(242, 185, 36, .35); color: #f6e2a8; margin: 0 0 2rem; }
.draft-banner strong { color: #fff; }
.page p, .page li { color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.feature h3 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

/* ---------- Launch (2026-12) ---------- */
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); }
a.store-badge { text-decoration: none; }
/* Live App Store link (tools/set-app-store-link.sh adds .is-live). */
.store-badge.is-live { border: 1px solid rgba(255,255,255,.5); background: #000; color: #fff; cursor: pointer; }
.store-badge.is-live strong { opacity: 1; }
.store-badge.is-live:hover { background: #17111f; }
.brand-mark { border-radius: 22%; }

.cover-art { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-card); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.cover-name { margin: 12px 2px 0; font: 600 1rem/1.25 var(--serif); color: var(--text); }
.cover-item .cover-genre { margin-top: 4px; }

.plans { list-style: none; margin: 2rem auto 0; padding: 0; max-width: 960px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan { padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.plan h3 { margin: 0 0 .5rem; font: 600 1.2rem/1.2 var(--serif); }
.plan-hours { margin: 0 0 .75rem; font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.plan p:last-child { margin: 0; color: var(--text-2); }
.plan-featured { border-color: var(--accent); box-shadow: 0 18px 50px -24px rgba(184,133,252,.7); }
#pricing .caption { text-align: center; color: var(--text-2); font-size: .9375rem; margin-top: 1.25rem; }
.get-icon { display: block; margin: 0 auto 1.25rem; border-radius: 22%; box-shadow: 0 18px 50px -20px rgba(184,133,252,.7); }

/* Apple's own "Download on the App Store" badge, unmodified (their artwork,
   at least 40px tall, with a quarter of its height clear all round). */
.app-store-badge { display: inline-block; margin: 12px; line-height: 0; border-radius: 9px; }
.app-store-badge img { display: block; height: 50px; width: auto; }
