/* Widecast marketing site. Self-hosted font, no third-party requests, no JavaScript. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --pf-logo: 0px;

  --paper: #f5f4f0;
  --surface: #ffffff;
  --ink: #121318;
  --ink-2: #5a5d66;
  --ink-3: #8a8d95;
  --line: #e3e1db;
  --line-2: #cfccc4;
  --accent: #3046ff;
  --accent-ink: #ffffff;
  --accent-soft: #e9ebff;
  --ok: #128a5e;
  --ok-soft: #e2f2eb;
  --warn: #9c5a00;
  --warn-soft: #fbefd9;
  --err: #b9321c;
  --err-soft: #fbe5e0;

  --night: #0c0e13;
  --night-2: #141720;
  --night-3: #1b1f2a;
  --night-line: #262b37;
  --night-ink: #f1f0ec;
  --night-ink-2: #a2a6b1;
  --night-accent: #7d8bff;

  --r-lg: 20px;
  --r-md: 12px;
  --r-sm: 8px;
  --wrap: 1200px;
  --gutter: 24px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1115;
    --surface: #171a20;
    --ink: #edece8;
    --ink-2: #a2a6b1;
    --ink-3: #7b7f8a;
    --line: #262a33;
    --line-2: #363b46;
    --accent: #7584ff;
    --accent-ink: #0b0e1f;
    --accent-soft: #1d2246;
    --ok: #3cc48f;
    --ok-soft: #12302a;
    --warn: #e7a544;
    --warn-soft: #33270f;
    --err: #f0735d;
    --err-soft: #3a1a15;
    --night: #08090c;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 16px; top: -64px; background: var(--accent); color: var(--accent-ink); padding: 8px 16px; border-radius: var(--r-sm); text-decoration: none; z-index: 10; }
.skip:focus { top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-md);
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 620; font-size: 16px; letter-spacing: -0.005em; text-decoration: none;
  border: 1px solid transparent; transition: transform 120ms ease, filter 120ms ease;
}
.btn:hover { color: var(--accent-ink); filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--ink); background: var(--surface); filter: none; }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 680; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { color: inherit; }
.brand svg { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--ink); }

/* Waitlist form */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.join { display: flex; gap: 8px; width: 100%; max-width: 460px; }
.join input[type="email"] {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: var(--r-md);
  font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2);
}
.join input[type="email"]::placeholder { color: var(--ink-3); }
.join input[type="email"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.join .btn { flex: none; }
.night .join input[type="email"] { background: var(--night-2); border-color: var(--night-line); color: var(--night-ink); }
.night .join input[type="email"]::placeholder { color: #6f7480; }
.cta-band .join input[type="email"] { background: #fff; color: #121318; border-color: transparent; }
.cta-band .join input[type="email"]::placeholder { color: #6b6f7a; }
.cta-band .join input[type="email"]:focus-visible { outline-color: #fff; outline-offset: 2px; }
.cta-band .join { max-width: 480px; }
.result { text-align: center; }
.result p { max-width: 46ch; margin-left: auto; margin-right: auto; }
.result .small { font-size: 14px; }
.result .join { margin: 0 auto 8px; }

/* Night (always dark) hero */
.night { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.night .brand svg { color: var(--night-accent); }
.night .nav a:not(.btn) { color: var(--night-ink-2); }
.night .nav a:not(.btn):hover { color: var(--night-ink); }
.night .btn { background: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .night .btn { background: #3046ff; } }
.night .btn-ghost { background: transparent; color: var(--night-ink); border-color: var(--night-line); }
.night .btn-ghost:hover { background: var(--night-2); }
.night::after { /* faint baseline grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 96px 100%;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
.night > * { position: relative; z-index: 1; }

.hero { padding: 48px 0 0; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.hero-copy .join { margin-left: auto; }
.hero-copy .fineprint { text-align: right; }
.hero h1 {
  margin: 0 0 40px; font-size: clamp(48px, 7.6vw, 104px); line-height: 0.95; letter-spacing: -0.055em; font-weight: 720;
}
.hero h1 span { display: block; color: var(--night-ink-2); font-weight: 600; }
.hero-copy > p { margin: 0; color: var(--night-ink-2); font-size: 19px; line-height: 1.55; max-width: 42ch; }
.hero-copy p strong { color: var(--night-ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-copy .fineprint { margin: 18px 0 0; font-size: 14px; color: var(--night-ink-2); }

/* Platform pills. Logos show only when <body class="logos"> is set, after the official files are in
   /assets/platforms (see docs/platform-logos.md). */
.logos { --pf-logo: 18px; }
.pf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 56px; }
.pf-row > span:first-child { font-size: 14px; color: var(--night-ink-2); margin-right: 6px; }
.pf { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 560; border: 1px solid var(--night-line); background: var(--night-2); color: var(--night-ink); }
.pf::before { content: ""; width: var(--pf-logo); height: var(--pf-logo); background: center / contain no-repeat; margin-right: calc(var(--pf-logo) * -0.45 + 0px); }
.logos .pf-youtube::before { background-image: url("/assets/platforms/youtube.svg"); }
.logos .pf-instagram::before { background-image: url("/assets/platforms/instagram.svg"); }
.logos .pf-tiktok::before { background-image: url("/assets/platforms/tiktok.svg"); }
.logos .pf-linkedin::before { background-image: url("/assets/platforms/linkedin.svg"); }
.logos .pf-facebook::before { background-image: url("/assets/platforms/facebook.svg"); }
.logos .pf-threads::before { background-image: url("/assets/platforms/threads.svg"); }
.logos .pf-bluesky::before { background-image: url("/assets/platforms/bluesky.svg"); }
.logos .pf-x::before { background-image: url("/assets/platforms/x.svg"); }

/* App mock */
.app {
  margin-top: 40px; border: 1px solid var(--night-line); border-bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--night-2); overflow: hidden;
  box-shadow: 0 -1px 0 rgb(255 255 255 / 0.04) inset, 0 40px 120px -40px rgb(48 70 255 / 0.35);
}
.app-bar { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--night-line); font-size: 13px; color: var(--night-ink-2); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--night-line); }
.app-bar b { margin-left: 12px; font-weight: 500; }
.app-body { display: grid; grid-template-columns: 200px 1fr 340px; min-height: 480px; }
.app-nav { border-right: 1px solid var(--night-line); padding: 16px 12px; font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.app-nav > span { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); color: var(--night-ink-2); }
.app-nav > span svg { width: 16px; height: 16px; flex: none; }
.app-nav > span.on { background: var(--night-3); color: var(--night-ink); }
.app-nav .count { margin-left: auto; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--night-ink-2); }
.app-nav hr { border: 0; border-top: 1px solid var(--night-line); margin: 12px 4px; }
.app-nav .acct { font-size: 13px; }
.app-nav .acct em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--warn); }

.compose { padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--night-line); }
.compose-row { display: flex; gap: 16px; }
.reel { flex: none; width: 92px; height: 164px; border-radius: 10px; background: repeating-linear-gradient(160deg, #232838 0 14px, #1e2331 14px 28px); position: relative; display: grid; place-items: center; }
.reel svg { width: 22px; height: 22px; color: #fff; opacity: 0.9; }
.reel small { position: absolute; bottom: 8px; right: 8px; font-size: 11px; background: rgb(0 0 0 / 0.55); padding: 1px 6px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.caption { flex: 1; border: 1px solid var(--night-line); border-radius: var(--r-md); padding: 12px 14px; font-size: 14px; line-height: 1.55; color: var(--night-ink); background: var(--night); }
.caption .tags { color: var(--night-accent); }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; font-size: 13px; }
.tabs span { padding: 6px 10px; border-radius: var(--r-sm); color: var(--night-ink-2); border: 1px solid transparent; }
.tabs span.on { border-color: var(--night-line); background: var(--night-3); color: var(--night-ink); }
.tabs span.bad::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); margin-left: 6px; vertical-align: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 13px; }
.field { border: 1px solid var(--night-line); border-radius: 10px; padding: 8px 12px; background: var(--night); }
.field label { display: block; font-size: 11px; color: var(--night-ink-2); }
.field.wide { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; }
.field .meter { font-size: 11px; color: var(--night-ink-2); font-variant-numeric: tabular-nums; }
.check { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 13px; background: rgb(231 165 68 / 0.1); color: #f0c27a; border: 1px solid rgb(231 165 68 / 0.25); }
.check svg { width: 16px; height: 16px; flex: none; }
.compose-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--night-ink-2); }
.compose-foot strong { color: var(--night-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.compose-foot .btn { min-height: 34px; padding: 0 14px; font-size: 13px; border-radius: 9px; }

.queue { padding: 20px; }
.queue h3 { margin: 0 0 12px; font-size: 13px; font-weight: 560; color: var(--night-ink-2); display: flex; justify-content: space-between; }
.queue ul { list-style: none; margin: 0; padding: 0; }
.queue li { height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--night-line); font-size: 14px; }
.queue li:last-child { border-bottom: 0; }
.queue li b { font-weight: 600; }
.queue li b small { font-weight: 400; color: var(--night-ink-2); margin-left: 6px; font-size: 13px; }

.status { display: inline-grid; justify-items: end; font-size: 12.5px; font-weight: 560; font-variant-numeric: tabular-nums; }
.status > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.status > span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-q { background: rgb(255 255 255 / 0.06); color: var(--night-ink-2); }
.s-p { background: rgb(125 139 255 / 0.16); color: #aab4ff; opacity: 0; }
.s-r { background: rgb(231 165 68 / 0.14); color: #f0c27a; opacity: 0; }
.s-d { background: rgb(60 196 143 / 0.14); color: #6fdcb1; opacity: 0; }

/* One orchestrated moment: the queue publishes, one platform after another. */
@media (prefers-reduced-motion: no-preference) {
  .queue li:nth-child(1) { --d: 900ms; }
  .queue li:nth-child(2) { --d: 1100ms; }
  .queue li:nth-child(3) { --d: 1300ms; }
  .queue li:nth-child(4) { --d: 1500ms; }
  .queue li:nth-child(5) { --d: 1700ms; }
  .queue li:nth-child(6) { --d: 1900ms; }
  .queue li:nth-child(7) { --d: 2100ms; }
  .queue li:nth-child(8) { --d: 2300ms; }
  .s-q { animation: off 150ms ease var(--d) forwards; }
  .s-p { animation: on 150ms ease var(--d) forwards, off 150ms ease calc(var(--d) + 600ms) forwards; }
  .s-d { animation: on 150ms ease calc(var(--d) + 600ms) forwards; }
  .queue li.retry .s-r { animation: on 150ms ease calc(var(--d) + 600ms) forwards, off 150ms ease calc(var(--d) + 2400ms) forwards; }
  .queue li.retry .s-d { animation-delay: calc(var(--d) + 2400ms); }
}
@media (prefers-reduced-motion: reduce) {
  .s-q, .s-p, .s-r { opacity: 0; }
  .s-d { opacity: 1; }
}
@keyframes on { to { opacity: 1; } }
@keyframes off { to { opacity: 0; } }

/* Sections */
.section { padding: 120px 0 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2, .feature h2 { margin: 0 0 16px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.section-head p, .feature-copy > p { margin: 0; font-size: 19px; color: var(--ink-2); max-width: 52ch; }

.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; padding: 120px 0 0; }
.feature.flip .feature-copy { order: 2; }
.feature > *, .hero-copy > *, .app-body > * { min-width: 0; }
.feature-copy ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.feature-copy li { display: flex; gap: 12px; color: var(--ink); }
.feature-copy li svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 3px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }

/* Fan-out visual */
.fan { display: grid; grid-template-columns: 150px 1fr 230px; align-items: center; }
.fan .src { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; background: var(--paper); font-size: 13px; }
.fan .src .reel { width: 100%; height: 150px; background: repeating-linear-gradient(160deg, #20253a 0 14px, #1a1f31 14px 28px); margin-bottom: 10px; }
.fan .src b { display: block; font-weight: 600; }
.fan .src span { color: var(--ink-2); }
.fan svg.lines { width: 100%; height: 300px; }
.fan svg.lines path { fill: none; stroke: var(--accent); stroke-width: 1.25; vector-effect: non-scaling-stroke; opacity: 0.55; }
.fan ul { list-style: none; margin: 0; padding: 0; }
.fan li { height: 60px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); font-size: 14px; }
.fan li:last-child { border-bottom: 0; }
.fan li b { font-weight: 600; }
.fan li span { color: var(--ink-2); font-size: 13px; }

/* Per-platform caption checks */
.checks { display: grid; gap: 10px; }
.chk { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); font-size: 14px; background: var(--paper); }
.chk b { font-weight: 620; }
.chk .msg { color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.err { background: var(--err-soft); color: var(--err); }
.pill.info { background: var(--accent-soft); color: var(--accent); }

/* Reliability timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 22px 36px; font-size: 15px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); }
.timeline li.ok::before { border-color: var(--ok); background: var(--ok); }
.timeline li.warn::before { border-color: var(--warn); background: var(--warn-soft); }
.timeline time { display: block; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.timeline b { font-weight: 620; }
.timeline .msg { color: var(--ink-2); }
.banner { margin-top: 24px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r-md); background: var(--warn-soft); color: var(--ink); font-size: 14px; }
.banner span { display: flex; gap: 10px; align-items: center; }
.banner svg { width: 18px; height: 18px; color: var(--warn); flex: none; }
.banner .btn { min-height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }

/* Calendar */
.cal-scroll { overflow-x: auto; }
.cal-scroll .cal { min-width: 560px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; font-size: 12px; }
.cal .d { font-weight: 600; color: var(--ink-2); padding: 0 2px 4px; }
.cal .c { min-height: 96px; border: 1px solid var(--line); border-radius: 10px; padding: 6px; display: flex; flex-direction: column; gap: 4px; background: var(--paper); }
.cal .c.today { border-color: var(--accent); }
.cal em { font-style: normal; display: block; padding: 3px 6px; border-radius: 6px; font-weight: 560; line-height: 1.3; background: var(--accent-soft); color: var(--accent); }
.cal em.done { background: var(--ok-soft); color: var(--ok); }
.cal em.draft { background: transparent; border: 1px dashed var(--line-2); color: var(--ink-2); }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.promises > div { background: var(--surface); padding: 28px 24px; }
.promises svg { width: 24px; height: 24px; color: var(--accent); margin-bottom: 16px; }
.promises h3 { margin: 0 0 6px; font-size: 17px; font-weight: 640; letter-spacing: -0.01em; }
.promises p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* Pricing (monthly/yearly switch is CSS-only) */
.billing { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 32px; }
.billing input { position: absolute; opacity: 0; pointer-events: none; }
.billing label { padding: 8px 16px; border-radius: 9px; font-size: 14px; font-weight: 560; color: var(--ink-2); cursor: pointer; }
.billing label small { color: var(--ok); font-weight: 600; margin-left: 4px; }
#bill-m:checked ~ .billing label[for="bill-m"], #bill-y:checked ~ .billing label[for="bill-y"] { background: var(--ink); color: var(--paper); }
#bill-y:checked ~ .billing label[for="bill-y"] small { color: #7ee2b5; }
#bill-m:focus-visible ~ .billing label[for="bill-m"], #bill-y:focus-visible ~ .billing label[for="bill-y"] { outline: 2px solid var(--accent); outline-offset: 2px; }
.pricing > input { position: absolute; opacity: 0; pointer-events: none; }
.y { display: none; }
#bill-y:checked ~ .plans .m { display: none; }
#bill-y:checked ~ .plans .y { display: inline; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column; }
.plan.pick { border: 2px solid var(--accent); padding: 31px 27px; position: relative; }
.plan.pick .tag { position: absolute; top: -13px; left: 26px; background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 620; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 0 0 4px; font-size: 20px; font-weight: 660; letter-spacing: -0.015em; }
.plan .for { margin: 0 0 24px; font-size: 15px; color: var(--ink-2); }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price strong { font-size: 52px; line-height: 1; letter-spacing: -0.045em; font-weight: 720; font-variant-numeric: tabular-nums; }
.price > span { color: var(--ink-2); font-size: 15px; }
.plan .bill { margin: 0 0 24px; font-size: 13px; color: var(--ink-3); min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 3px; }
.plan .btn { margin-top: auto; width: 100%; }
.pricing-note { margin: 24px 0 0; font-size: 14px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform 150ms ease; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 68ch; }

/* Closing band */
.cta-band { margin: 120px 0 0; background: var(--accent); color: #fff; border-radius: var(--r-lg); padding: 64px 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
@media (prefers-color-scheme: dark) { .cta-band { background: #3046ff; } }
.cta-band h2 { margin: 0 0 10px; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 720; max-width: 16ch; }
.cta-band p { margin: 0; color: rgb(255 255 255 / 0.82); font-size: 18px; }
.cta-band .btn { background: #fff; color: #1a26a8; }
.cta-band .btn:hover { color: #1a26a8; filter: none; background: #eef0ff; }

/* Footer */
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-grid h3 { margin: 0 0 12px; font-size: 14px; font-weight: 620; color: var(--ink); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-grid .brand { color: var(--ink); margin-bottom: 12px; }
.foot-grid .brand svg { color: var(--accent); }
.foot-grid p { margin: 0; max-width: 30ch; }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-3); }

/* Legal and utility pages */
.light-header { border-bottom: 1px solid var(--line); }
.light-header .brand svg { color: var(--accent); }
.doc { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 24px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; margin: 8px 0 10px; }
.doc .effective { margin: 0 0 40px; color: var(--ink-2); font-size: 15px; }
.doc h2 { font-size: 23px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 660; margin: 52px 0 12px; }
.doc h3 { font-size: 18px; font-weight: 640; margin: 32px 0 8px; }
.doc p, .doc li { max-width: 70ch; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc .table-scroll { overflow-x: auto; margin: 16px 0 24px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; font-size: 14px; color: var(--ink-2); border-bottom-color: var(--line-2); }
.doc td:first-child { font-weight: 560; min-width: 140px; }
.back { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.back:hover { color: var(--ink); }
.notfound { min-height: 56vh; display: grid; place-content: center; text-align: center; padding: 48px var(--gutter); }
.notfound h1 { font-size: 48px; line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 16px; }
.notfound p { color: var(--ink-2); margin: 0 0 24px; }

/* Responsive */
@media (max-width: 1080px) {
  .app-body { grid-template-columns: 1fr 320px; }
  .app-nav { display: none; }
}
@media (max-width: 920px) {
  .hero-copy { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy .join { margin-left: 0; max-width: none; }
  .hero-copy .fineprint { text-align: left; }
  .app-body { grid-template-columns: 1fr; }
  .compose { border-right: 0; border-bottom: 1px solid var(--night-line); }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 40px; padding-top: 96px; }
  .feature.flip .feature-copy { order: 0; }
  .promises { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .section { padding-top: 96px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding-top: 24px; }
  .hero-copy > p { font-size: 17px; }
  .pf-row { margin-top: 36px; }
  .compose-row { flex-direction: column; }
  .reel { width: 100%; height: 120px; }
  .fields { grid-template-columns: 1fr; }
  .fan { grid-template-columns: 1fr; gap: 16px; }
  .fan svg.lines { display: none; }
  .fan .src .reel { height: 100px; }
  .chk { grid-template-columns: 1fr auto; }
  .chk .msg { grid-column: 1 / -1; grid-row: 2; }
  .promises { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .cta-band { padding: 40px 28px; }
  .join { flex-direction: column; }
  .join input[type="email"] { flex: none; }
  .join .btn { width: 100%; }
  .queue li b small { display: none; }
}
