
:root {
  color-scheme: light;
  --ink: #181525;
  --muted: #605970;
  --paper: #faf8f5;
  --surface: #fffdfb;
  --surface-sunken: #f4f1f6;
  --line: #e8e0de;
  --field: #8a7f98;
  --brand: #5d36b7;
  --brand-strong: #4a278f;
  --brand-tint: #f3ecff;
  --brand-edge: #8a78bd;
  --focus: #7c56d7;
  --success: #1f6b45;
  --success-bg: #eaf6ef;
  --success-edge: #3f9a6b;
  --warning: #7a4b00;
  --warning-bg: #fdf3e1;
  --warning-edge: #b07818;
  --danger: #992844;
  --danger-bg: #fdf0f3;
  --danger-edge: #c2566f;
  --purple: var(--brand);
  --purple-hover: var(--brand-strong);
  --tint: var(--brand-tint);
  --error: var(--danger);
  --white: #fff;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.25rem;
  --step-3: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --step-4: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem);
  --step-5: clamp(2.15rem, 5.6vw, 3.8rem);
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --radius-xs: .25rem;
  --radius-sm: .5rem;
  --radius-md: .75rem;
  --radius-lg: 1rem;
  --radius-pill: 999px;
  --shadow-raised: 0 .65rem 2.3rem -1.5rem #48277b65;
  --container: 69rem;
  --gutter: clamp(var(--space-4), 5vw, 3.25rem);
  font: var(--step-0)/1.55 var(--font);
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* A word too long for its box breaks instead of spilling past the screen: with large text, or with fonts wider
   than the designer's (Linux browsers fall back to DejaVu Sans). Unlike "anywhere", it leaves layout sizes alone. */
body { margin: 0; overflow-wrap: break-word; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-strong); }
button, input, textarea, select { font: inherit; }
button, .button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }
::placeholder { color: var(--muted); opacity: 1; }
.visually-hidden { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; z-index: 20; inset-block-start: var(--space-4); inset-inline-start: var(--space-4); translate: 0 -200%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--surface); }
.skip-link:focus { translate: 0; }

.site-header, .site-footer { max-width: var(--container); margin-inline: auto; padding: var(--space-3) var(--gutter); }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--space-4); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: var(--space-2); min-block-size: 2.75rem; color: var(--ink); font-size: var(--step-1); font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { flex: none; inline-size: 1.75rem; block-size: 1.75rem; color: var(--brand); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(var(--space-3), 2vw, var(--space-5)); margin-inline-start: auto; }
.site-nav > a, .site-footer nav a { display: inline-flex; align-items: center; min-block-size: 2.75rem; color: var(--muted); font-size: var(--step--1); font-weight: 600; text-decoration: none; }
.site-nav > a:hover, .site-footer nav a:hover { color: var(--brand); text-decoration: underline; }
.site-nav > a[aria-current], .site-footer nav a[aria-current] { color: var(--ink); text-decoration-line: underline; text-decoration-thickness: 2px; text-decoration-color: var(--brand); text-underline-offset: .45em; }
.account-menu { position: relative; }
.account-menu > summary { min-inline-size: 2.75rem; color: var(--muted); font-size: var(--step--1); }
.account-menu > summary::before { content: none; }
.account-menu > summary::after { content: ""; flex: none; inline-size: .45em; block-size: .45em; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -.15em; transition: rotate .15s; }
.account-menu[open] > summary::after { rotate: 225deg; translate: 0 .15em; }
.account-menu > summary:hover, .account-menu[open] > summary { color: var(--ink); }
.account-menu:has([aria-current]) > summary { color: var(--ink); }
.account-avatar { display: inline-grid; place-items: center; flex: none; inline-size: 1.75rem; block-size: 1.75rem; border-radius: var(--radius-pill); background: var(--brand); color: var(--white); font-weight: 700; }
.account-name { max-inline-size: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-panel { position: absolute; z-index: 10; inset-block-start: calc(100% + var(--space-1)); inset-inline-end: 0; inline-size: max-content; min-inline-size: min(15rem, calc(100vw - 2 * var(--space-4))); max-inline-size: min(22rem, calc(100vw - 2 * var(--space-4))); padding: var(--space-2); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-raised); }
.account-panel p { margin: 0; padding: var(--space-2) var(--space-3); color: var(--muted); font-size: var(--step--1); }
.account-panel strong { color: var(--ink); overflow-wrap: anywhere; }
.account-panel ul { margin: var(--space-1) 0; padding: var(--space-1) 0; border-block: 1px solid var(--line); list-style: none; }
.account-panel ul a { display: flex; align-items: center; min-block-size: 2.75rem; padding-inline: var(--space-3); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.account-panel ul a:hover { background: var(--brand-tint); color: var(--brand-strong); }
.account-panel ul a[aria-current] { color: var(--brand); font-weight: 600; }
.account-panel form { margin: var(--space-2) 0 0; }
.account-panel button { inline-size: 100%; }
main { min-block-size: 72vh; max-width: var(--container); margin-inline: auto; padding: clamp(var(--space-6), 6vw, var(--space-8)) var(--gutter); }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-5); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 clamp(var(--space-3), 2vw, var(--space-5)); }
.site-footer .brand { font-size: var(--step-0); }
.site-footer .brand-mark { inline-size: 1.5rem; block-size: 1.5rem; }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; text-wrap: balance; }
h1 { max-width: 24ch; font-size: var(--step-4); letter-spacing: -.025em; overflow-wrap: anywhere; }
h2 { margin-top: 1.5em; font-size: var(--step-3); letter-spacing: -.015em; }
h3 { font-size: var(--step-1); letter-spacing: -.01em; }
.display { font-size: var(--step-5); line-height: 1.12; letter-spacing: -.04em; }
p { margin: 0 0 var(--space-4); overflow-wrap: anywhere; }
.lede { max-width: 44ch; color: var(--muted); font-size: clamp(var(--step-1), 1rem + .5vw, var(--step-2)); }
.muted, small { color: var(--muted); }
.eyebrow { margin: 0 0 var(--space-2); color: var(--brand); font-size: var(--step--1); font-weight: 700; }
.narrow { max-width: 38rem; margin-inline: auto; }
.stack > * + * { margin-top: var(--space-4); }
.panel { min-width: 0; }
.panel > a:not(.button), .actions > a:not(.button), .back-link { display: inline-flex; align-items: center; min-block-size: 2.75rem; }
.back-link { gap: var(--space-1); margin-bottom: var(--space-2); font-size: var(--step--1); font-weight: 600; }
.back-link::before { content: "←"; content: "←" / ""; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
time, td { font-variant-numeric: tabular-nums; }

.card { padding: clamp(var(--space-4), 4vw, var(--space-5)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.card + .card { margin-top: var(--space-4); }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card > h2 { margin-bottom: var(--space-3); font-size: var(--step-2); }
.card + :is(p, form, .actions) { margin-top: var(--space-4); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-3) var(--space-5); margin-bottom: var(--space-5); }
.page-head h1, .page-head .actions { margin: 0; }
.page-head .meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: var(--space-2) 0 0; color: var(--muted); }
.subnav { display: flex; flex-wrap: wrap; gap: 0 var(--space-1); margin: 0 0 var(--space-5); padding: 0; border-bottom: 1px solid var(--line); list-style: none; }
.subnav a { display: inline-flex; align-items: center; gap: var(--space-2); min-block-size: 2.75rem; margin-bottom: -1px; padding-inline: var(--space-3); border-bottom: 2px solid transparent; color: var(--muted); font-weight: 600; text-decoration: none; }
.subnav a:hover { color: var(--brand); }
.subnav a[aria-current] { border-bottom-color: var(--brand); color: var(--ink); }
.badge { display: inline-flex; align-items: center; gap: var(--space-1); min-block-size: 1.5rem; padding: 0 var(--space-2); border-radius: var(--radius-pill); background: var(--brand-tint); color: var(--brand-strong); font-size: var(--step--1); font-weight: 600; vertical-align: middle; }
.badge[data-tone="success"] { background: var(--success-bg); color: var(--success); }
.badge[data-tone="warning"] { background: var(--warning-bg); color: var(--warning); }
.badge[data-tone="error"] { background: var(--danger-bg); color: var(--danger); }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: var(--space-3); margin-inline: 0; }
.metrics .card { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-2); margin: 0; }
.metrics dt { color: var(--muted); font-size: var(--step--1); }
.metrics dd { margin: 0; color: var(--ink); font-size: var(--step-3); font-weight: 700; }

.button, button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-block-size: 2.75rem; padding: var(--space-2) var(--space-4); border: 1px solid var(--brand); border-radius: var(--radius-sm); background: var(--brand); color: var(--white); font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; }
.button:hover, button:hover { border-color: var(--brand-strong); background: var(--brand-strong); color: var(--white); }
.button.secondary, button.secondary { border-color: var(--brand-edge); background: var(--surface); color: var(--brand); }
.button.secondary:hover, button.secondary:hover { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-strong); }
.button.quiet, button.quiet { padding-inline: var(--space-2); border-color: transparent; background: transparent; color: var(--brand); }
.button.quiet:hover, button.quiet:hover { background: var(--brand-tint); color: var(--brand-strong); }
.button.danger, button.danger { border-color: var(--danger-edge); background: var(--surface); color: var(--danger); }
.button.danger:hover, button.danger:hover { border-color: var(--danger); background: var(--danger-bg); color: var(--danger); }
button:disabled { cursor: default; opacity: .65; }
.google-button { gap: .625rem; padding: 0 var(--space-3); border-color: #747775; border-radius: var(--radius-xs); background: #fff; color: #1f1f1f; font: 500 var(--step--1)/1.25rem Roboto, var(--font); letter-spacing: .25px; }
.google-button:hover { border-color: #747775; background: #eee; color: #1f1f1f; box-shadow: 0 1px 2px #3c40434d, 0 1px 3px 1px #3c404326; }
.google-button svg { flex: none; inline-size: 1.25rem; block-size: 1.25rem; }
.consent-note { margin: var(--space-2) 0 var(--space-4); color: var(--muted); font-size: var(--step--1); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-4); }

form { max-width: 48rem; margin: 0 0 var(--space-4); }
label { display: block; margin-top: var(--space-3); font-weight: 600; }
input:not([type=checkbox],[type=radio]), textarea, select { width: 100%; max-width: 31rem; min-block-size: 2.75rem; margin: var(--space-1) 0 var(--space-4); padding: var(--space-2) var(--space-3); border: 1px solid var(--field); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); }
:is(input, textarea)[readonly] { background: var(--surface-sunken); color: var(--muted); }
:is(input, textarea, select)[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field-error { display: block; margin: var(--space-1) 0 0; color: var(--danger); font-size: var(--step--1); font-weight: 600; }
:is(input:not([type=checkbox],[type=radio]), textarea, select) + small, .hint { display: block; margin: calc(-1 * var(--space-3)) 0 var(--space-4); color: var(--muted); font-size: var(--step--1); line-height: 1.45; }
input[type=checkbox], input[type=radio] { inline-size: 1.125rem; block-size: 1.125rem; margin: 0 var(--space-2) 0 0; vertical-align: -.19em; accent-color: var(--brand); }
label > :is(input[type=checkbox], input[type=radio]) { flex: none; }
.check, .check-option { display: flex; align-items: flex-start; gap: var(--space-3); margin: var(--space-2) 0 var(--space-4); font-weight: 400; cursor: pointer; }
.check input, .check-option input { margin: .2rem 0 0; }
fieldset { min-inline-size: 0; margin: 0 0 var(--space-4); padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); }
legend { padding-inline: var(--space-1); font-weight: 600; }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-3); }
.inline-form label { flex-basis: 100%; margin: 0; }
.inline-form :is(input, select) { flex: 1 1 14rem; margin: 0; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: var(--space-3); text-align: start; vertical-align: top; }
/* Data tables of four or more columns scroll sideways on phones instead of squeezing every cell. */
.table-scroll table:has(tr > :nth-child(4)) { min-width: 36rem; }
th { font-weight: 600; }
thead { background: var(--brand-tint); }
thead th { font-size: var(--step--1); }
tbody tr + tr { border-top: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0 var(--space-5); padding: 0; list-style: none; }
.chips a { display: block; padding: var(--space-1) var(--space-3); border: 1px solid var(--brand-edge); border-radius: var(--radius-pill); background: var(--surface); text-decoration: none; }
.chips a[aria-current] { border-color: var(--brand); background: var(--brand); color: var(--white); }
.series-list { margin: 0; padding: 0; list-style: none; }
.series-list > li + li { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--line); }

summary { display: flex; align-items: center; gap: var(--space-2); min-block-size: 2.75rem; color: var(--brand); font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; flex: none; inline-size: .45em; block-size: .45em; border: solid currentColor; border-width: 0 2px 2px 0; rotate: -45deg; transition: rotate .15s; }
details[open] > summary::before { rotate: 45deg; }
@media (prefers-reduced-motion: reduce) {
  summary::before, summary::after { transition: none; }
}
/* The signed-in header stays on one row from 360px: the email shows from 48rem, and gaps shrink on small phones. */
@media (max-width: 48rem) {
  .account-name { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 23.5rem) {
  .site-header { column-gap: var(--space-3); }
  .site-nav { column-gap: var(--space-2); }
}
/* On phones the account panel opens under the header, inside its gutters, so it stays on screen when larger text or
   zoom wraps the header and puts the avatar on the left. Footer links take as many columns as fit: two on a 320px
   phone, and one with larger text, where "preferences" wouldn't fit half the width. */
@media (max-width: 40rem) {
  .site-header { position: relative; }
  .account-menu { position: static; }
  .account-panel { inset-inline: auto var(--gutter); max-inline-size: min(22rem, calc(100% - 2 * var(--gutter))); }
  .site-footer nav { flex-basis: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); column-gap: var(--space-5); }
  .subnav a { padding-inline: var(--space-2); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Marketing pages */
.pitch > :is(section, div) + :is(section, div) { margin-top: var(--space-8); }
.pitch-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(19rem, .95fr); align-items: center; gap: var(--space-6) clamp(var(--space-6), 6vw, var(--space-8)); }
.pitch-intro .lede { max-width: 36ch; margin-bottom: var(--space-5); }
.arrow-link { display: inline-flex; align-items: center; gap: var(--space-1); min-block-size: 2.75rem; font-weight: 600; }
.pitch h2, .pricing h2 { margin-top: 0; }
.pitch section > h2, .pricing section > h2 { margin-bottom: var(--space-4); }

/* A 16:9 thumbnail with a play mark, drawn in CSS: neutral by default, as Updates draws a still that can't load, and
   tinted per sample series. */
.sample-thumb { position: relative; display: block; aspect-ratio: 16 / 9; margin-bottom: var(--space-2); border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--surface-sunken), var(--line)); }
.sample-thumb::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%; inline-size: .875rem; block-size: 1rem; translate: -40% -50%; background: var(--field); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.sample-thumb[data-tone="harbor"] { background: linear-gradient(135deg, #16324f, #3f6f93); }
.sample-thumb[data-tone="guitar"] { background: linear-gradient(135deg, #6b3f1d, #c08552); }
.sample-thumb[data-tone="kitchen"] { background: linear-gradient(135deg, #2f5d3a, #9cbf5a); }
.sample-thumb[data-tone]::after { background: #fff; opacity: .92; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5) var(--space-6); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); content: counter(step) / ""; display: grid; place-items: center; inline-size: 2.5rem; block-size: 2.5rem; margin-bottom: var(--space-3); border-radius: var(--radius-pill); background: var(--brand-tint); color: var(--brand-strong); font-weight: 700; }
.steps h3 { margin-bottom: var(--space-2); }
.steps p { margin: 0; color: var(--muted); }

/* The band that closes a page */
.pitch-closing { padding: clamp(var(--space-5), 4vw, var(--space-6)); border: 1px solid var(--brand-edge); border-radius: var(--radius-lg); background: var(--brand-tint); }

/* Creator landing page */
.pitch-intro h1 { max-width: 14ch; margin-bottom: var(--space-4); }
.pitch-intro .pitch-chosen { max-width: 36rem; margin-block: 0 var(--space-5); }
.pitch-start { margin: 0; }
.pitch-start .actions { margin-bottom: 0; }
.pitch-start .consent-note { margin-bottom: 0; }
.pitch-demo { display: grid; gap: var(--space-4); margin: 0; }
.pitch-comment, .pitch-inbox { padding: var(--space-4) var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-raised); }
.pitch-comment p { margin: 0 0 var(--space-2); }
.pitch-comment-head { display: flex; align-items: center; gap: var(--space-2); color: var(--muted); font-size: var(--step--1); }
.pitch-comment-head strong { color: var(--ink); }
.pitch-avatar { display: inline-grid; place-items: center; flex: none; inline-size: 2rem; block-size: 2rem; border-radius: var(--radius-pill); background: var(--ink); color: var(--white); font-weight: 700; }
.pitch-comment .pitch-comment-link { margin: 0; color: var(--brand); font-weight: 600; overflow-wrap: anywhere; }
.pitch-inbox { margin-inline-start: clamp(0rem, 6vw, var(--space-7)); }
.pitch-inbox p { margin: 0; }
.pitch-inbox-from { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--step--1); }
.pitch-inbox-from span { color: var(--muted); }
.pitch-inbox-subject { font-weight: 600; }
.pitch-inbox-preview { color: var(--muted); font-size: var(--step--1); }
.pitch-demo figcaption, .pitch-report figcaption { color: var(--muted); font-size: var(--step--1); }
.pitch-section-lede { max-width: 60ch; color: var(--muted); }
.pitch-cards, .pitch-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-5) 0 var(--space-4); padding: 0; list-style: none; }
.pitch-cards li, .pitch-plans li { padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.pitch-cards h3, .pitch-plans h3 { margin-bottom: var(--space-2); }
.pitch-cards p { margin: 0; color: var(--muted); }
.pitch-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) clamp(var(--space-6), 6vw, var(--space-8)); }
.pitch-split p { max-width: 52ch; }
.check-list { display: grid; gap: var(--space-3); margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.check-list li { display: flex; gap: var(--space-3); max-width: 60ch; }
.check-list li::before { content: "✓"; content: "✓" / ""; flex: none; display: grid; place-items: center; inline-size: 1.5rem; block-size: 1.5rem; border-radius: var(--radius-pill); background: var(--success-bg); color: var(--success); font-size: var(--step--1); font-weight: 700; }
.pitch-results { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: var(--space-6) clamp(var(--space-6), 5vw, var(--space-8)); }
.pitch-results p { max-width: 48ch; color: var(--muted); }
.pitch-report { margin: 0; }
.pitch-report .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 var(--space-2); }
.pitch-plan-price { margin: 0 0 var(--space-2); font-size: var(--step-3); font-weight: 700; }
.pitch-plan-price span { color: var(--muted); font-size: var(--step--1); font-weight: 400; }
.pitch-plans p:not(.pitch-plan-price) { margin: 0; color: var(--muted); }
.pitch-closing p { max-width: 56ch; }

/* Frequently asked questions */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-7); }
.faq h3 { margin-bottom: var(--space-2); }
.faq p { max-width: 56ch; margin: 0; color: var(--muted); }

/* Pricing */
.pricing-head { max-width: 46rem; margin-bottom: var(--space-6); }
.pricing-head h1 { max-width: none; }
.pricing-head .lede { margin-bottom: 0; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: var(--space-4); margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.plan { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
/* A ring outside the border marks the featured plan without moving its content. */
.plan[data-featured] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-raised); }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
.plan h2 { margin: 0; font-size: var(--step-2); }
.plan p { margin: 0; }
.plan-amount { font-size: var(--step-4); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.plan-period, .plan-fit, .plan-note { color: var(--muted); }
/* Two lines for every plan's summary, so the limits line up across the cards. */
.plan-fit { min-block-size: calc(2 * 1.55em); }
.plan-period, .plan-note { font-size: var(--step--1); }
.plan-limits { margin: 0; }
.plan-limits div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--space-3); padding-block: var(--space-2); border-top: 1px solid var(--line); }
.plan-limits dd { margin: 0; font-weight: 700; }
.plan .button { margin-top: auto; }
/* Side by side, the cards share the list's rows (name, price, summary, limits, note, button), so each part lines up
   across the plans whatever wraps. Browsers without subgrid keep the column layout above. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 48.0625rem) {
    .plans { row-gap: var(--space-3); }
    .plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; }
    .plan-head { align-self: start; }
    .plan .button { grid-row: -2; margin-top: 0; }
    .plan-fit { min-block-size: 0; }
  }
}
.pricing-terms { margin: 0 0 var(--space-7); color: var(--muted); font-size: var(--step--1); }
.pricing-included { margin-bottom: var(--space-7); }

/* Sign-in and the in-app browser page */
.auth-page { max-width: 30rem; margin-inline: auto; padding: clamp(var(--space-5), 5vw, var(--space-6)); }
.auth-page h1 { margin-bottom: var(--space-2); }
.auth-page .lede { margin-bottom: var(--space-5); font-size: var(--step-1); }
.auth-page form { margin: 0; }
.auth-page form .actions { margin-bottom: 0; }
.auth-page .consent-note { margin-bottom: 0; }
.auth-steps { margin: 0 0 var(--space-5); padding-inline-start: var(--space-5); }
.auth-steps li + li { margin-top: var(--space-2); }
.auth-page label { margin-top: 0; }
.auth-page input { margin-bottom: 0; }

/* Error and invite-only pages. Utility pages keep the app heading size. */
.site-message { max-width: 40rem; padding-block: clamp(var(--space-4), 5vw, var(--space-7)); }
.site-message h1 { max-width: 22ch; font-size: var(--step-4); line-height: 1.15; letter-spacing: -.025em; }
.site-message .lede { max-width: 46ch; margin-bottom: var(--space-5); }
.site-message .actions { gap: var(--space-3) var(--space-5); }
.site-message .actions a:not(.button) { font-weight: 600; }

/* Analytics consent banner, server-rendered at the top of public pages until a visitor chooses */
.consent-banner { border-bottom: 1px solid var(--brand-edge); background: var(--brand-tint); }
.consent-banner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-6); max-width: var(--container); margin-inline: auto; padding: var(--space-4) var(--gutter); }
.consent-banner-text { flex: 1 1 30rem; min-width: 0; }
.consent-banner h2 { margin: 0 0 var(--space-1); font-size: var(--step-1); }
.consent-banner p { max-width: 75ch; margin: 0; font-size: var(--step--1); }
.consent-banner-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: 0; }
.consent-banner-actions button { min-inline-size: 7.5rem; }
.analytics-page { max-width: 40rem; }
.analytics-providers { display: grid; gap: var(--space-3); margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.analytics-providers li { padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.analytics-providers h2 { margin: 0 0 var(--space-1); font-size: var(--step-1); }
.analytics-providers p { margin: 0; }
.analytics-page form { margin-block: var(--space-5) var(--space-4); }
.analytics-page form button { flex: 1 1 14rem; }
.analytics-page code, .consent-banner code { font-size: .9em; overflow-wrap: anywhere; }

.site-footer-note { flex-basis: 100%; margin: 0 0 var(--space-2); font-size: var(--step--1); }
/* Below 360px the header stays on one row: the logo mark stands in for the wordmark. The signed-out header, whose
   "Become a creator" is its longest link, also does so up to 383px and takes the smaller phone gaps up to 399px, so
   it keeps one row on 360-399px phones too. Below 360px that link may take two short lines, which keeps the row in
   wide fonts such as CI's DejaVu Sans; 9ch fits "Become a" in any font. */
@media (max-width: 22.4375rem) {
  .site-header .brand > span { display: none; }
  .site-nav > a[href="/creator"] { max-inline-size: 9ch; line-height: 1.2; }
}
@media (max-width: 23.9375rem) {
  .site-header:has(> .site-nav > a[href="/creator"]) .brand > span { display: none; }
}
@media (max-width: 24.9375rem) {
  .site-header:has(> .site-nav > a[href="/creator"]) { column-gap: var(--space-3); }
  .site-nav:has(> a[href="/creator"]) { column-gap: var(--space-2); }
}

@media (max-width: 56rem) {
  .pitch-hero, .pitch-results, .pitch-split { grid-template-columns: minmax(0, 1fr); }
  .pitch-demo { max-width: 34rem; }
}
@media (max-width: 48rem) {
  .plans, .pitch-cards, .pitch-plans { grid-template-columns: minmax(0, 1fr); }
  .plan-fit { min-block-size: 0; }
}
@media (max-width: 40rem) {
  .pitch > :is(section, div) + :is(section, div) { margin-top: var(--space-7); }
  .steps, .faq { grid-template-columns: minmax(0, 1fr); }
  .steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--space-3); }
  .steps li::before { grid-row: span 2; align-self: start; margin: 0; }
  .consent-banner-actions { flex-basis: 100%; }
  .consent-banner-actions button { flex: 1 1 0; min-inline-size: 0; }
}

.guide-index-intro { max-width: 46rem; margin-bottom: var(--space-6); }
.guide-index-intro .lede { margin: 0; }
.guide-topic-nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); list-style: none; padding: 0; }
.guide-topic-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.blog-calculator form { display: grid; gap: var(--space-3); }
.blog-calculator label { display: grid; gap: var(--space-1); }
.blog-calculator button { justify-self: start; }
.guide-empty { max-width: 38rem; }
.guide-empty p { color: var(--muted); }
.guide-empty a { display: inline-flex; align-items: center; gap: var(--space-1); min-block-size: 2.75rem; font-weight: 600; }
.guide-topic { scroll-margin-top: var(--space-4); }
.guide-topic + .guide-topic { margin-top: var(--space-7); }
.guide-topic h2 { margin: 0 0 var(--space-4); }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
/* The title link covers the whole card. Its focus ring is drawn around the card. */
.guide-card { position: relative; display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.guide-card:hover { border-color: var(--brand-edge); box-shadow: var(--shadow-raised); }
.guide-card h3 { margin: 0; font-size: var(--step-2); line-height: 1.25; }
.guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.guide-card h3 a:focus-visible { outline: none; }
.guide-card h3 a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 3px; }
.guide-card:hover h3 a { color: var(--brand-strong); text-decoration: underline; }
.guide-card p { margin: 0; color: var(--muted); }
.guide-card .guide-card-more { margin-top: auto; padding-top: var(--space-2); color: var(--brand); font-size: var(--step--1); font-weight: 600; }
.guide-card .guide-state { align-self: flex-start; padding: 0 var(--space-2); border-radius: var(--radius-pill); background: var(--warning-bg); color: var(--warning); font-size: var(--step--1); font-weight: 600; }

.blog-article { max-width: 34rem; margin-inline: auto; }
.blog-article-header { margin-bottom: var(--space-6); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.blog-breadcrumb, .blog-byline { color: var(--muted); font-size: var(--step--1); }
.blog-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-2); margin: 0 0 var(--space-2); padding: 0; list-style: none; }
.blog-breadcrumb li + li::before { content: "/"; content: "/" / ""; margin-inline-end: var(--space-2); }
.blog-breadcrumb a { display: inline-flex; align-items: center; min-block-size: 2.75rem; font-weight: 600; }
.blog-article h1 { max-width: none; margin-bottom: var(--space-3); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.5rem); line-height: 1.12; }
.blog-article .lede { margin-bottom: var(--space-3); }
.blog-byline { margin: 0; }
.blog-body { max-width: min(68ch, 32em); font-size: 1.0625rem; line-height: 1.7; overflow-wrap: anywhere; }
.blog-body h2 { margin-top: 2em; font-size: var(--step-3); }
.blog-body h3 { margin-top: 1.6em; }
.blog-body li { margin-block: var(--space-2); }
.blog-body ul, .blog-body ol { padding-inline-start: var(--space-5); }
.blog-body blockquote { margin: var(--space-5) 0; padding: var(--space-3) var(--space-4); border-inline-start: 4px solid var(--brand-edge); border-radius: var(--radius-sm); background: var(--surface); }
.blog-body blockquote > :last-child { margin-bottom: 0; }
.blog-body table { width: 100%; table-layout: fixed; margin-block: var(--space-5); border-collapse: collapse; font-size: var(--step--1); line-height: 1.5; }
.blog-body th, .blog-body td { padding: var(--space-2); border: 1px solid var(--line); text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.blog-body thead { background: var(--brand-tint); }
.blog-product { margin-block: var(--space-7) var(--space-6); padding: clamp(var(--space-4), 4vw, var(--space-5)); border: 1px solid var(--brand-edge); border-radius: var(--radius-lg); background: var(--brand-tint); }
.blog-product h2 { margin: 0 0 var(--space-2); font-size: var(--step-2); }
.blog-product p:not(.eyebrow) { max-width: 52ch; margin-bottom: var(--space-4); }
.blog-product .button { max-width: 100%; }
.guide-index .blog-product { max-width: 46rem; margin-bottom: 0; }
.blog-related { padding-top: var(--space-5); border-top: 1px solid var(--line); }
.blog-related h2 { margin: 0 0 var(--space-2); font-size: var(--step-2); }
.blog-related ul { margin: 0; padding-inline-start: var(--space-5); }
.blog-related a { display: inline-flex; align-items: center; min-block-size: 2.75rem; }
.blog-preview { margin: 0 0 var(--space-5); padding: var(--space-3) var(--space-4); border: 1px solid var(--warning-edge); border-inline-start-width: 4px; border-radius: var(--radius-sm); background: var(--warning-bg); color: var(--warning); }

/* Creator area (src/core/creator-*.tsx, src/billing/index.tsx, the tips pages in src/lifecycle/routes.tsx). */
.creator-workspace, .creator-form, .billing-page { min-width: 0; overflow-wrap: anywhere; }
.creator-workspace h1, .creator-form h1, .billing-page h1 { max-width: none; }
.creator-form > .card { margin-block: 0 var(--space-4); }
.creator-form .card form, .creator-tips .card form { margin-bottom: 0; }
.creator-form .card + .card { margin-top: 0; }
.creator-workspace [id], .creator-form [id] { scroll-margin-top: var(--space-4); }
/* A video's page and the list of all videos: wider than a form, narrower than the overview. */
.creator-page { max-width: 46rem; margin-inline: auto; }
.page-head .actions form { margin: 0; }

/* Overview (/creator): the creator's name, the plan strip, then series, Up next and Recent videos in one column. */
.creator-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-3); }
.creator-name a, .creator-section-head > a:not(.button), .creator-series-head a, .creator-strip-link a, .creator-pager a {
  display: inline-flex; align-items: center; min-block-size: 2.75rem; font-weight: 600;
}
.creator-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); max-width: 52rem; }
.creator-body > * { min-width: 0; margin: 0; }
.creator-body h2 { margin: 0 0 var(--space-3); font-size: var(--step-3); }
.creator-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-3); }
.creator-section-head h2 { margin: 0; }
.creator-empty { margin: 0; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-sunken); color: var(--muted); }
.creator-hint { color: var(--muted); font-size: var(--step--1); line-height: 1.45; }
.card > h2 + .creator-hint { margin-top: calc(-1 * var(--space-2)); }
.creator-drafts-note { margin: var(--space-3) 0 0; }

/* The plan strip: email followers and today's videos against the plan, and the next billing step. */
.creator-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-5); padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.creator-usage { display: flex; flex: 1 1 20rem; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin: 0; }
.creator-usage > div { flex: 1 1 9rem; min-width: 0; }
.creator-usage dt { color: var(--muted); font-size: var(--step--1); font-weight: 600; }
.creator-usage dd { margin: 0; font-size: var(--step-1); font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.creator-of { color: var(--muted); font-size: var(--step--1); font-weight: 600; }
:is(.creator-usage, .billing-summary) meter {
  display: block; inline-size: 100%; block-size: .5rem; margin-top: var(--space-1); border: 0; border-radius: var(--radius-pill);
  background: var(--surface-sunken);
}
:is(.creator-usage, .billing-summary) meter::-webkit-meter-bar { block-size: .5rem; border: 0; border-radius: var(--radius-pill); background: var(--surface-sunken); }
:is(.creator-usage, .billing-summary) meter::-webkit-meter-optimum-value { border-radius: var(--radius-pill); background: var(--brand); }
:is(.creator-usage, .billing-summary) meter::-moz-meter-bar { border-radius: var(--radius-pill); background: var(--brand); }
/* A meter sits in its own dd (a dl group holds only dt and dd), hidden from screen readers, which read the dd before it. */
.creator-meter { margin: 0; }
.creator-strip-link { margin: 0; }
.creator-plan-notes { margin-top: calc(-1 * var(--space-4)); color: var(--muted); font-size: var(--step--1); }
.creator-plan-notes p { margin: 0 0 var(--space-1); }

/* Series: one card each, with its totals, follow link and Add video. Archived ones fold away below. */
.creator-series-list { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.creator-series-card.card { min-width: 0; margin: 0; }
/* A long series name wraps beside Edit series, which stays on the right of its first line. */
.creator-series-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 var(--space-3); }
.creator-series-head h3 { flex: 1 1 0; min-width: 0; margin: 0; font-size: var(--step-2); }
.creator-series-card > .muted { margin: 0 0 var(--space-2); }
.creator-series-stats { margin: var(--space-2) 0 var(--space-3); color: var(--muted); font-size: var(--step--1); }
.creator-series-stats strong { color: var(--ink); font-size: var(--step-0); font-variant-numeric: tabular-nums; }
/* A dot follows each total but the last, and each part of a video's series, date and credit line but the badge.
   Like a comma, it stays at the end of a line that wraps, so no line starts with one. Screen readers pause at the
   comma that stands in for it. */
:is(.creator-series-stats, .creator-video-stats) > span:not(:last-child)::after,
.creator-video-meta > span:not(.badge, :last-child)::after { content: " ·"; content: " ·" / ","; color: var(--muted); white-space: nowrap; }
/* Each total keeps its words on one line, so a narrow screen breaks the line between totals rather than inside one.
   The series' 30-day totals wrap between their two parts, which together are too long for a phone. Dates stay whole. */
.creator-video-stats > span, .creator-series-stats > span:first-child, .creator-series-stats > span > span, .creator-video-meta time {
  white-space: nowrap;
}
.creator-series-card .creator-share { margin-block: 0 var(--space-3); }
.creator-series-card > .creator-hint { margin: calc(-1 * var(--space-2)) 0 var(--space-3); }
.creator-series-card .actions { margin: 0; }
.creator-archived { margin-top: var(--space-4); padding-top: var(--space-2); border-top: 1px solid var(--line); }

/* Lists inside a card: archived series, and a video's follow texts by series. */
.creator-list { margin: 0; padding: 0; list-style: none; }
.creator-list > li { min-width: 0; padding-block: var(--space-4); border-top: 1px solid var(--line); }
.creator-list > li:first-child { padding-top: var(--space-1); border-top: 0; }
.creator-list > li:last-child { padding-bottom: 0; }
.creator-list h3 { margin: 0 0 var(--space-1); }
.creator-list p { margin-bottom: var(--space-2); }

/* Video rows: the still beside the title, series and date, then the totals or when the video goes out. The title's
   link covers the row, so the still opens the video's page too. */
.creator-videos { margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); list-style: none; }
.creator-video { position: relative; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: start; gap: 0 var(--space-4); padding: var(--space-4); }
.creator-video + .creator-video { border-top: 1px solid var(--line); }
.creator-video:hover, .creator-video:focus-within { background: var(--surface-sunken); }
.creator-video-body { min-width: 0; }
.creator-video :is(h2, h3) { margin: 0 0 var(--space-1); font-size: var(--step-1); }
.creator-video-link { color: var(--ink); text-decoration: none; }
.creator-video-link:hover { color: var(--brand); text-decoration: underline; }
.creator-video-link::after { content: ""; position: absolute; inset: 0; }
.creator-video-meta, .creator-video-stats { margin: 0 0 var(--space-1); font-size: var(--step--1); }
.creator-video-meta { color: var(--muted); }
.creator-video-stats { font-variant-numeric: tabular-nums; }
.card > .creator-video-stats { margin: 0; font-size: var(--step-0); }
.creator-pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin: var(--space-3) 0; }
.creator-pager a[rel="next"] { margin-inline-start: auto; }

/* A video's page: the still beside its details, then its totals and the follow texts to paste under it. */
.creator-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); margin-bottom: var(--space-4); }
.creator-hero-body > *, .creator-hero .creator-chips { margin: 0 0 var(--space-2); }
.creator-hero-body > :last-child { margin-bottom: 0; }
/* Three across from about 360px; two on the narrowest phones, where labels keep their words whole. */
.creator-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)); gap: var(--space-2); margin: 0; }
/* A label that wraps to two lines makes its row taller, so each tile keeps its number at the bottom, level with the others. */
.creator-tiles > div { display: grid; align-content: space-between; min-width: 0; padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--surface-sunken); }
.creator-tiles dt { color: var(--muted); font-size: var(--step--1); font-weight: 600; overflow-wrap: normal; }
.creator-tiles .creator-of { white-space: nowrap; }
.creator-tiles dd { margin: var(--space-1) 0 0; font-size: var(--step-3); font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.creator-definitions { margin-top: var(--space-3); }
.creator-definitions dl { display: grid; gap: var(--space-3); margin: var(--space-1) 0 var(--space-3); }
.creator-definitions dt { font-weight: 600; }
.creator-definitions dd { margin: var(--space-1) 0 0; color: var(--muted); }
.creator-definitions p { margin: 0; color: var(--muted); font-size: var(--step--1); }

/* The follow link and the texts to paste under a video. Copy buttons appear once /creator-tools.js runs. */
.creator-share { margin-block: var(--space-3); }
.creator-share label { margin: 0 0 var(--space-1); font-size: var(--step--1); }
.creator-share-field { display: flex; gap: var(--space-2); }
.creator-share-field input { flex: 1 1 auto; min-width: 0; max-width: none; margin: 0; }
.creator-share-field button { flex: none; }
.creator-share textarea { display: block; max-width: none; margin: 0 0 var(--space-2); resize: vertical; field-sizing: content; min-block-size: 5.5rem; }
.creator-copy-result { display: block; color: var(--success); font-size: var(--step--1); font-weight: 600; }
.creator-copy-result[data-tone="warning"] { color: var(--warning); }
/* Text boxes grow to fit their text, so these grids never size to the longest link. */
.creator-shares { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
.creator-shares .creator-share { margin: 0; }
.creator-share-panel { margin-top: var(--space-2); }
/* The overview's copy buttons for those texts take the place of a link to them, at the same height, once the script runs. */
.creator-copy-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.creator-copy-buttons a { display: inline-flex; align-items: center; min-block-size: 2.75rem; font-weight: 600; }
.creator-note { margin: 0; color: var(--muted); font-size: var(--step--1); }
/* Links on a line of their own get a 44px target without moving the text around them. */
:is(.creator-link-row, .billing-compare) > a { display: inline-block; padding-block: .625rem; margin-block: -.625rem; }

/* Video thumbnails from i.ytimg.com, on a neutral 16:9 box that stays when an image can't load. */
.creator-thumb { display: block; overflow: hidden; inline-size: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-md); background: var(--surface-sunken); }
.creator-thumb img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.creator-thumb-small { border-radius: var(--radius-sm); }
.creator-form > .creator-thumb { max-inline-size: 16rem; margin-bottom: var(--space-4); }

/* Drafts and the video form. */
.creator-drafts ul { margin: 0; padding: 0; list-style: none; }
.creator-drafts li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--space-3); padding-block: var(--space-1); border-top: 1px solid var(--line); }
.creator-drafts li:first-child { border-top: 0; }
.creator-drafts form { margin: 0; }
.creator-choices { margin: var(--space-1) 0 var(--space-4); }
.creator-error-summary > p { margin-bottom: var(--space-1); font-weight: 700; }
.creator-error-summary ul { margin: 0; padding-inline-start: 1.25rem; }
.creator-error-summary a { color: inherit; }
.creator-check-hint { margin: calc(-1 * var(--space-3)) 0 var(--space-4) calc(1.125rem + var(--space-3)); }
.creator-next { padding-inline-start: 1.25rem; }
.creator-next li + li { margin-top: var(--space-2); }

/* Review page. */
.creator-preview { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.creator-preview-body h2 { margin: 0 0 var(--space-2); font-size: var(--step-2); }
.creator-preview-body p { margin-bottom: var(--space-2); }
.creator-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.creator-chips li {
  padding: var(--space-1) var(--space-3); border: 1px solid var(--brand-edge); border-radius: var(--radius-pill);
  background: var(--brand-tint); color: var(--brand-strong); font-size: var(--step--1); font-weight: 600; line-height: 1.3;
}
.creator-audience { margin-block: var(--space-5) var(--space-4); }
.creator-audience h2 { margin: 0 0 var(--space-2); font-size: var(--step-2); }

/* Billing. */
.billing-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); max-width: 52rem; }
.billing-body > *, .billing-body > .notice { margin: 0; }
.billing-page dl > div:first-child { border-top: 0; }
.billing-summary > h2 { margin-bottom: var(--space-2); }
.billing-summary dl { margin-bottom: var(--space-3); }
.billing-summary .creator-meter { flex-basis: 100%; }
.billing-summary meter { margin-top: 0; }
.billing-summary > p { margin-bottom: var(--space-3); }
.billing-portal { margin: var(--space-4) 0 0; }
.billing-portal .creator-hint { margin: var(--space-2) 0 0; }
.billing-alert form { margin: var(--space-3) 0 0; }
.billing-plans > h2 { margin: var(--space-2) 0 var(--space-3); }
.billing-plans > .creator-hint { margin: var(--space-3) 0 0; }
.billing-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--space-4); }
/* A lone plan (the upgrade) keeps the width it has beside another plan instead of filling the row. */
.billing-plan-grid > :only-child { max-inline-size: 25.5rem; }
.billing-plan { display: flex; flex-direction: column; gap: var(--space-2); }
.billing-plan.card { margin: 0; }
.billing-plan h3 { margin: 0; font-size: var(--step-2); }
.billing-price { margin: 0; font-size: var(--step-4); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.billing-price small { color: var(--muted); font-size: var(--step--1); font-weight: 600; letter-spacing: 0; }
.billing-features { display: grid; gap: var(--space-1); margin: 0 0 var(--space-2); padding: 0; list-style: none; }
.billing-features li { display: flex; gap: var(--space-2); }
.billing-features li::before { content: "✓"; content: "✓" / ""; color: var(--success); font-weight: 700; }
.billing-plan .button { margin-top: auto; }
.billing-review { margin-bottom: var(--space-4); }
.billing-terms { padding-inline-start: 1.25rem; }
.billing-terms li + li { margin-top: var(--space-2); }
.billing-terms-link { margin: 0 0 var(--space-4); }
.billing-page .billing-consent + .billing-terms-link { margin: calc(-1 * var(--space-1)) 0 var(--space-4) calc(1.1rem + .65rem); }
.billing-compare { color: var(--muted); }
.billing-section > h2 { margin-top: var(--space-2); }

/* Creator tips emails. The time zone and date only matter with tips on, so they hide while the box is clear. */
.creator-tips-body { max-width: 44rem; }
.creator-tips-form:has(input[name="tips"]:not(:checked)) .creator-tips-details { display: none; }
.creator-tips-form .check { margin-bottom: var(--space-3); }

@media (min-width: 34rem) {
  .creator-preview, .creator-hero { grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 30rem) {
  .creator-video { grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: var(--space-3); padding: var(--space-3); }
}
@media (max-width: 22rem) {
  .creator-share-field { flex-wrap: wrap; }
}
/* The four creator sections stay on one row down to 320px, so the current one's underline never sits over another row.
   Each link stays at least 44px wide and tall. */
@media (max-width: 24rem) {
  .creator-nav .subnav { gap: 0; }
  .creator-nav .subnav a { padding-inline: var(--space-2); font-size: var(--step--1); }
}
@media (max-width: 22rem) {
  .creator-nav .subnav a { padding-inline: var(--space-1); }
}
.creator-choices label, .billing-page .billing-consent {
  display: flex; align-items: flex-start; gap: .65rem; cursor: pointer; min-height: 2.5rem; padding-block: .4rem; margin: 0;
}
.creator-choices input, .billing-page .billing-consent input { margin: .26rem 0 0; flex: none; width: 1.1rem; height: 1.1rem; }
.billing-page dl { margin: 0; }
.billing-page dl > div {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem .75rem; border-top: 1px solid var(--line); padding: .65rem 0;
}
.billing-page dd { margin: 0; font-weight: 650; }
.billing-page .billing-section { margin-top: 1.4rem; }
.billing-page .billing-consent { margin-bottom: .65rem; }

.reader-page { max-width: 54rem; margin-inline: auto; min-width: 0; overflow-wrap: anywhere; }
.reader-heading-text { flex: 1 1 22rem; min-width: 0; }
.reader-heading-text > :last-child { margin-bottom: 0; }
.reader-heading h1 { margin: 0; }
.reader-heading .lede { max-width: 46ch; margin: var(--space-3) 0 0; }
.reader-page-actions { margin: 0; }
.reader-page > .notice { margin-block: 0 var(--space-5); }
.reader-filters { margin: 0 0 var(--space-5); }
/* Rounded corners rather than a pill, so a long series name that wraps onto several lines stays inside the chip. */
.reader-filters a { display: inline-flex; align-items: center; min-block-size: 2.75rem; border-radius: var(--radius-md); overflow-wrap: anywhere; }
.reader-empty { margin-bottom: var(--space-6); }

.reader-series { margin-bottom: var(--space-6); }
/* The creator and video count sit under the series name at every width, in line with the cards below. */
.reader-series > header { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); margin: 0 0 var(--space-3); }
.reader-series > header h2, .reader-series > header p { margin: 0; }
.reader-series > header h2 { font-size: var(--step-2); }
.reader-recent { padding-top: var(--space-5); border-top: 1px solid var(--line); }
.reader-heading + .reader-recent { padding-top: 0; border-top: 0; }
/* Video cards, like YouTube's grid but smaller: two columns on phones 320px and wider, five at the page's full width.
   The minimum is in rem, so with larger text a phone shows one column rather than squeeze titles and the badge. */
.reader-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(8.5rem, 100%), 1fr)); gap: var(--space-4) var(--space-3); margin: 0; padding: 0; list-style: none; }
.reader-card { position: relative; min-width: 0; scroll-margin-top: var(--space-5); }
.reader-card form { margin: 0; }
/* The thumbnail and the title are one Watch button. */
.reader-watch { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: var(--space-2); inline-size: 100%; min-block-size: 0; padding: 0; border: 0; border-radius: var(--radius-sm); background: none; color: var(--ink); text-align: start; }
.reader-watch:hover { background: none; color: var(--ink); }
/* A 16:9 box under the still, drawn as the homepage sample draws a thumbnail: a neutral gradient with a faint edge and
   a play mark. It shows while the still loads, and a still that can't load at all (blocked or offline) leaves it. For
   a video it no longer shows, YouTube sends its own grey still. The still covers the box's play mark. Chrome and
   Firefox draw an image's ::before and ::after only when it failed, so those draw the box again over their
   broken-image icon. */
.reader-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); }
.reader-thumb, .reader-thumb img::before { background: linear-gradient(135deg, var(--surface-sunken), var(--line)); box-shadow: inset 0 0 0 1px var(--line); }
.reader-thumb::before, .reader-thumb img::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%; inline-size: .875rem; block-size: 1rem; translate: -40% -50%; background: var(--field); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.reader-thumb img { position: relative; display: block; inline-size: 100%; block-size: 100%; object-fit: cover; color: transparent; }
.reader-thumb img::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius-sm); }
.reader-card-title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.reader-card-meta { margin: var(--space-1) 0 0; color: var(--muted); font-size: var(--step--1); line-height: 1.4; }
/* A dot follows each part of the line but the last, and stays at the end of a line that wraps. Screen readers pause at
   the comma that stands in for it. */
.reader-card-meta > :not(:last-child)::after { content: " ·"; content: " ·" / ","; white-space: nowrap; }
.reader-card-meta time { white-space: nowrap; }
/* The whole box dims, so a watched card's still keeps covering the play mark under it. */
.reader-card[data-watched] .reader-thumb { opacity: .5; }
.reader-card[data-watched] .reader-card-title { color: var(--muted); }
.reader-watch:hover .reader-card-title { color: var(--brand-strong); text-decoration-line: underline; }
/* Watched sits on the thumbnail's corner, on one line, and a click on it still reaches Watch. */
.reader-watched { position: absolute; inset-block-start: var(--space-1); inset-inline-start: var(--space-1); white-space: nowrap; pointer-events: none; }
.reader-watched::before { content: "✓"; content: "✓" / ""; }
/* The channel credit stays muted and regular so the title leads, and the underline marks the link. This also styles
   the credit on the public series page. It overrides a:hover too, so the credit has its own hover color. */
.video-credit a { color: inherit; font-weight: inherit; text-decoration-line: underline; }
.video-credit a:hover { color: var(--ink); }

/* Following */
.reader-settings { max-width: 44rem; }
.reader-settings-section { margin: 0 0 var(--space-6); }
.reader-settings-section > h2 { margin: 0 0 var(--space-3); font-size: var(--step-2); }
.reader-settings-section > p { margin-bottom: var(--space-3); }
.reader-follow-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.reader-follow-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); padding-block: var(--space-2); border-bottom: 1px solid var(--line); }
.reader-follow-name { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3); min-width: 0; margin: 0; }
.reader-follow-name a { display: inline-flex; align-items: center; min-block-size: 2.75rem; font-weight: 600; }
.reader-follow-list form { margin: 0; }
.reader-plain-list { margin: 0 0 var(--space-5); padding-inline-start: var(--space-5); }

/* How often, on Account settings: the heading, Daily, Weekly, Never and Save share one row where they fit. The legend
   floats so the fieldset lays it out as a flex item instead of drawing it on a border; phones give it its own row. */
/* Links to it end in #how-often. While it is the first block, a margin taller than everything above it keeps the page
   at the top, so the header and the page heading stay in view; anywhere lower, the card still scrolls into view. */
.reader-frequency { scroll-margin-top: 16rem; }
.reader-frequency fieldset { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-4); margin: 0; padding: 0; border: 0; }
.reader-frequency legend { float: left; margin: 0 var(--space-1) 0 0; padding: 0; }
.account-page .reader-frequency legend h2 { margin: 0; font-size: var(--step-2); }
.reader-frequency-choice { display: inline-flex; align-items: center; gap: var(--space-2); min-block-size: 2.75rem; margin: 0; cursor: pointer; }
.reader-frequency-choice input { margin: 0; }
.reader-frequency-choice .muted { font-weight: 400; }
.reader-frequency fieldset:disabled .reader-frequency-choice { cursor: default; opacity: .65; }
.reader-frequency .hint { margin: var(--space-2) 0 0; }
.reader-frequency .notice { margin: var(--space-3) 0 0; }
@media (max-width: 40rem) {
  .reader-frequency legend { flex-basis: 100%; margin: 0; }
}

.reader-message { max-width: 38rem; }
.reader-message h1 { margin-bottom: var(--space-3); }
.reader-message .lede { margin-bottom: var(--space-5); }

.account-page { max-width: 44rem; }
.account-page .card { margin-bottom: var(--space-4); }
.account-page .card h2 { margin: 0 0 var(--space-2); }
.account-page .card p:last-child { margin-bottom: 0; }
.account-page form.card { max-width: none; }
.account-page form .actions { margin: var(--space-2) 0 0; }
.account-steps { margin: 0 0 var(--space-5); padding-inline-start: var(--space-5); }
.account-steps li + li { margin-top: var(--space-2); }

/* Sign-in, consent and other narrow forms outside this module still use these two classes. */
.reader-form { max-width: 32rem; }
.reader-form h1 { overflow-wrap: anywhere; }
.reader-note { margin: var(--space-3) 0 var(--space-4); }

.legal { max-width: 64rem; margin-inline: auto; }
.legal-header { max-width: 48rem; margin-bottom: var(--space-6); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.legal-header h1 { max-width: 20ch; margin-bottom: var(--space-3); }
.legal-header .lede { max-width: 56ch; margin-bottom: var(--space-3); }
.legal-updated { margin: 0; color: var(--muted); font-size: var(--step--1); }
.legal-layout { display: grid; grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr); align-items: start; gap: var(--space-5) var(--space-7); }
.legal-contents { position: sticky; inset-block-start: var(--space-4); max-block-size: calc(100vh - 2 * var(--space-4)); overflow-y: auto; padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.legal .legal-contents h2 { margin: var(--space-1) 0; color: var(--muted); font-size: var(--step--1); letter-spacing: normal; }
.legal .legal-contents ol { margin: 0; padding-inline-start: var(--space-5); font-size: var(--step--1); }
.legal .legal-contents li { margin: 0; break-inside: avoid; }
.legal .legal-contents li::marker { color: var(--muted); }
.legal-contents a { display: inline-flex; align-items: center; min-block-size: 2.75rem; line-height: 1.35; }
/* Text runs about 75 characters a line (68ch alone came to nearly 100 with system fonts); tables may use the column. */
.legal-body :is(p, ul, ol, address), .legal > :not(.legal-header, .legal-layout) { max-width: min(68ch, 33em); }
.legal section { scroll-margin-top: var(--space-4); }
.legal-body > section:first-child > h2 { margin-top: 0; }
.legal h2 { margin-top: var(--space-7); font-size: var(--step-3); }
.legal h3 { margin: var(--space-5) 0 var(--space-2); font-size: var(--step-1); }
.legal p, .legal li { line-height: 1.65; }
.legal ul, .legal ol { padding-inline-start: var(--space-5); }
.legal li + li { margin-top: var(--space-2); }
.legal .table-scroll { margin-block: var(--space-4) var(--space-5); }
.legal th, .legal td { font-size: var(--step--1); line-height: 1.5; }
/* Cookie names never break inside a word. Phones wrap one at the <wbr> after an underscore (cookie() above); wider
   tables have room for each name on one line, so the <wbr> is dropped there (white-space alone doesn't stop it). */
.legal code { font-size: .9em; overflow-wrap: normal; }
@media (min-width: 40.0625rem) {
  .legal code wbr { display: none; }
}
.legal address { margin-bottom: var(--space-4); font-style: normal; }
.legal-email { margin: var(--space-5) 0 var(--space-2); font-size: var(--step-3); font-weight: 700; }
.legal-email a { display: inline-flex; align-items: center; min-block-size: 2.75rem; }
.legal-basis { display: block; color: var(--muted); font-size: var(--step--1); }
.legal-plan-price { display: block; color: var(--muted); font-weight: 400; }
@media (max-width: 60rem) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-contents { position: static; max-block-size: none; overflow: visible; }
  /* Two columns down to 320px keep the full-size links from filling a phone's first screen. */
  .legal .legal-contents ol { columns: 6rem 2; column-gap: var(--space-6); }
}

.report-page h1 { margin-bottom: .3em; }
.report-page .report-updated { font-size: .92rem; }
.report-page h2 + .muted { margin-top: -.2rem; }
.report-page .chips { margin-block: .25rem 1.5rem; }
.report-page .metrics { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.report-page .metrics dd { overflow-wrap: anywhere; }
.report-page .report-rate { color: var(--muted); font-size: .75em; font-weight: 600; white-space: nowrap; }
.report-page .report-detail { display: block; margin-top: .2rem; color: var(--muted); font-size: .88rem; font-weight: 500; }
.report-page .number { text-align: end; }
.report-page td.number { font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Tables of short numbers fit a phone screen, even where shared table styles set a minimum width. */
.report-page .table-scroll table:not(.report-titles) { min-width: 0; }
.report-page .table-scroll + p { margin-top: .6rem; font-size: .92rem; }
.report-page .report-definitions summary { cursor: pointer; padding-block: .4rem; color: var(--purple); }
.report-page .report-definitions dl { display: grid; gap: .8rem; margin: .75rem 0 0; }
.report-page .report-definitions dt { font-weight: 650; }
.report-page .report-definitions dd { margin: .1rem 0 0; color: var(--muted); }
@media (max-width: 40rem) {
  .report-page th, .report-page td { padding: .5rem .35rem; font-size: .92rem; }
  /* Guide titles keep a readable column, and their table scrolls sideways instead. */
  .report-page .report-titles th[scope=row] { min-width: 9rem; }
}

.series-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); max-width: 62rem; margin-inline: auto; min-width: 0; overflow-wrap: anywhere; }
.series-head h1 { margin-bottom: 0; }
.series-head .lede { margin: var(--space-3) 0 0; }
.series-head .eyebrow a { display: inline-flex; align-items: center; min-block-size: 2.75rem; }
.series-head .eyebrow { display: flex; flex-wrap: wrap; align-items: center; column-gap: .35em; margin-bottom: 0; }

.series-promise h2 { margin: 0 0 var(--space-3); font-size: var(--step-2); }
.series-promise .notice { margin-top: 0; }
.series-points { margin: 0 0 var(--space-5); padding: 0; list-style: none; }
.series-points li { position: relative; padding-inline-start: var(--space-6); }
.series-points li + li { margin-top: var(--space-2); }
.series-points li::before { content: "✓"; content: "✓" / ""; position: absolute; inset-inline-start: var(--space-1); color: var(--success); font-weight: 700; }
.series-promise form, .series-promise .actions { margin-bottom: 0; }
.series-promise form > button { inline-size: 100%; }
.series-promise .consent-note { margin: var(--space-3) 0 0; }
.series-status .notice { margin-top: 0; }
.series-status form { margin: 0 0 var(--space-4); }
.series-status .actions, .series-status > p:last-child { margin-bottom: 0; }

.series-latest h2, .series-more h2 { margin: 0 0 var(--space-3); font-size: var(--step-2); }
.series-videos, .series-more-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.series-videos li { padding-block: var(--space-3); border-bottom: 1px solid var(--line); }
.series-video-title { margin: 0 0 var(--space-1); font-weight: 600; }
.series-video-meta { margin: 0; color: var(--muted); font-size: var(--step--1); }
.series-more-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); padding-block: var(--space-2); border-bottom: 1px solid var(--line); }
.series-more-list p, .series-more-list form { margin: 0; }
.series-more-list a { display: inline-flex; align-items: center; min-block-size: 2.75rem; font-weight: 600; }

@media (min-width: 56rem) {
  .series-page { grid-template-columns: minmax(0, 1fr) minmax(20rem, 24rem); grid-template-areas: "head action" "latest action" "more action"; align-items: start; column-gap: var(--space-7); }
  .series-head { grid-area: head; }
  .series-action { grid-area: action; position: sticky; inset-block-start: var(--space-5); }
  .series-latest { grid-area: latest; }
  .series-more { grid-area: more; }
}

/* The tabs keep one row, so no tab sits alone on a second row, and scroll sideways only if they still don’t fit. The
   nav is the scroller, so the current tab’s underline still covers the list’s border, and focus rings sit inside the
   tabs, where the scroller can’t clip them. It holds its visually hidden words (position: relative). */
.founder-nav { container: founder-nav / inline-size; position: relative; overflow-x: auto; margin-bottom: var(--space-5); scrollbar-width: thin; }
.founder-nav .subnav { flex-wrap: nowrap; inline-size: max-content; min-inline-size: 100%; margin-bottom: 0; }
.founder-nav .subnav a { white-space: nowrap; }
.founder-nav .subnav a:focus-visible { outline-offset: -3px; }
/* Too narrow for the full labels, as on phones: each label drops its first word (“Scorecard”), the tabs pack closer and
   “Tips paused” becomes a dot. Screen readers still get every word. */
@container founder-nav (max-width: 38rem) {
  .founder-nav .subnav { column-gap: 0; }
  .founder-nav .subnav a { gap: var(--space-1); padding-inline: var(--space-2); }
  .founder-tab-label { text-transform: capitalize; }
  .founder-tab-first, .founder-tab-alert > span { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .founder-nav .badge.founder-tab-alert { inline-size: .625rem; block-size: .625rem; min-block-size: 0; padding: 0; background: var(--warning-edge); }
}
@container founder-nav (max-width: 21rem) {
  .founder-nav .subnav a { padding-inline: calc(1.5 * var(--space-1)); font-size: var(--step--1); }
}
.founder-page [id] { scroll-margin-top: var(--space-4); }
.founder-page .page-head { margin-bottom: var(--space-4); }
.founder-lede { max-width: 62ch; margin: var(--space-2) 0 0; color: var(--muted); }
.founder-section { margin-top: var(--space-6); }
.founder-section > h2 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-3); font-size: var(--step-2); }
.founder-empty { color: var(--muted); }
.founder-page .hint { margin: 0; }
/* A link in a notice gets a full-size target without making the notice taller. */
.founder-page .notice a { display: inline-flex; align-items: center; min-block-size: 2.75rem; margin-block: -.625rem; }

.founder-rows { margin: 0; list-style: none; }
.founder-rows form { margin: 0; }
/* Suspend and Restore name the creator, so a long unbroken name wraps inside the button rather than widening the page. */
.founder-rows button { min-width: 0; overflow-wrap: anywhere; }
/* Suspend: the field and its error share one flex item, so the error stays right under the field when the button
   wraps below it, and the button lines up with the field rather than with the error. */
.founder-reason { flex: 1 1 20rem; min-width: 0; }
.founder-reason form { align-items: flex-start; max-width: 40rem; margin: var(--space-2) 0 0; }
.founder-reason-field { flex: 1 1 14rem; min-width: 0; }
.founder-reason-field input { max-width: none; }
.founder-reason .hint { flex-basis: 100%; margin: 0; }

.founder-rows > li { padding-block: var(--space-4); }
.founder-rows > li:first-child { padding-top: 0; }
.founder-rows > li:last-child { padding-bottom: 0; }
.founder-rows > li + li { border-top: 1px solid var(--line); }
.founder-row-title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-1); }
.founder-row-meta { margin: 0; color: var(--muted); font-size: var(--step--1); }
/* A creator's series: each name is a full-size link target, and long names wrap rather than widen the page. */
.founder-row-series { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); margin: 0; padding: 0; list-style: none; }
.founder-row-series li { display: flex; align-items: center; gap: var(--space-2); min-block-size: 2.75rem; min-width: 0; }
.founder-row-series a { display: inline-flex; align-items: center; min-block-size: 2.75rem; }
.founder-row-series :is(a, span:not(.badge)) { min-width: 0; overflow-wrap: anywhere; }
.founder-reason-text { margin: var(--space-2) 0; }
.founder-rows .founder-reason { margin-top: var(--space-1); }
.founder-rows > li > form { margin-top: var(--space-2); }
.founder-more { margin: var(--space-2) 0 0; color: var(--muted); font-size: var(--step--1); }

.founder-switch-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin-bottom: var(--space-2); }
.founder-switch-head h2 { margin: 0; font-size: var(--step-2); }
.founder-switch-form { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); max-width: none; margin: 0; }
.founder-switch-form .hint { flex: 1 1 18rem; }
.founder-follow-up pre { max-block-size: 24rem; overflow: auto; margin: 0 0 var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--surface-sunken); font-size: var(--step--1); line-height: 1.5; }
.founder-follow-up h3 { margin: var(--space-3) 0 var(--space-2); }
.founder-follow-up .actions { margin-bottom: var(--space-3); }
.founder-cell-title { display: block; overflow-wrap: anywhere; }
.founder-cell-note { display: block; margin-top: var(--space-1); color: var(--muted); font-size: var(--step--1); font-weight: 400; overflow-wrap: anywhere; }
.founder-cell-empty { color: var(--muted); font-size: var(--step--1); }
/* Creators: five columns while they fit without squeezing a cell. The Creator column takes what's left. The region
   holds the visually hidden text in its cells (position: relative), so that text can't widen the page. */
.founder-creators { container: founder-creators / inline-size; }
.founder-table { position: relative; }
.founder-table :is(.badge, time) { white-space: nowrap; }
.founder-table :is(th, td):first-child { min-width: 12rem; }
.founder-table td:nth-child(2) { min-width: 11rem; }
.founder-table td:nth-child(3) { white-space: nowrap; }
.founder-table td:nth-child(4) { min-width: 13rem; }
.founder-row-actions, .founder-row-actions form { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); margin: 0; }
.founder-row-actions a { display: inline-flex; align-items: center; min-block-size: 2.75rem; }
.founder-row-actions button { white-space: nowrap; }
/* Too narrow for five columns, which need about 62rem with the longest stage: each creator becomes a card of labelled
   lines, so nothing scrolls sideways and every action stays in view. The column headers stay for screen readers. */
@container founder-creators (max-width: 62rem) {
  .founder-creators .founder-table.table-scroll table,
  .founder-creators .founder-table :is(tbody, tr, th, td) { display: block; min-width: 0; }
  .founder-creators .founder-table thead { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .founder-creators .founder-table tbody tr { padding: var(--space-3) var(--space-4); }
  .founder-creators .founder-table :is(th, td) { padding: var(--space-1) 0; }
  .founder-creators .founder-table td[data-label] { padding-inline-start: 4.75rem; }
  .founder-creators .founder-table td[data-label]::before { content: attr(data-label); display: inline-block; inline-size: 4rem; margin-inline: -4.75rem .75rem; color: var(--muted); font-size: var(--step--1); font-weight: 600; }
  .founder-creators .founder-table :is(.badge, time, td) { white-space: normal; }
  .founder-creators .founder-table td:last-child { padding-top: var(--space-2); }
  .founder-row-actions, .founder-row-actions form { flex-flow: row wrap; align-items: center; column-gap: var(--space-4); }
}
/* With room for two columns, as on tablets, the card puts the creator beside their stage, start and last tip. */
@container founder-creators (min-width: 36rem) and (max-width: 62rem) {
  .founder-creators .founder-table tbody tr {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: var(--space-5); align-items: start;
    grid-template-areas: "creator stage" "creator started" "creator tip" "actions actions";
  }
  .founder-creators .founder-table tbody th { grid-area: creator; }
  .founder-creators .founder-table td[data-label="Stage"] { grid-area: stage; }
  .founder-creators .founder-table td[data-label="Started"] { grid-area: started; }
  .founder-creators .founder-table td[data-label="Last tip"] { grid-area: tip; }
  .founder-creators .founder-table td:last-child { grid-area: actions; }
}

.home {
  --home-serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --home-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --home-label: .8125rem;
  --home-sky: #1c4f8a;
  --home-sky-bg: #e7f0fb;
  --home-shadow: 0 1px 2px #48277b14, 0 .65rem 2.3rem -1.5rem #48277b65;
  --home-shadow-lift: 0 2px 4px #48277b1f, 0 1.5rem 3.5rem -1.75rem #48277b80;
  overflow-wrap: anywhere;
}
.home > section + section { margin-top: clamp(var(--space-7), 9vw, 7rem); }
.home section[id], .home figure[id] { scroll-margin-top: var(--space-6); }
.home h2 { max-width: 28ch; margin: 0 0 var(--space-4); font-size: clamp(1.875rem, 1.15rem + 2.5vw, 3.125rem); line-height: 1.05; letter-spacing: -.035em; }
/* A heading breaks between its sentences, never inside one; body text avoids one-word last lines. */
.home-clause { display: inline-block; }
.home :is(p, li, dd, figcaption, summary) { text-wrap: pretty; }
.home-nowrap { white-space: nowrap; }
.home h3 { margin: 0 0 var(--space-2); letter-spacing: -.01em; }
.home-accent { color: var(--brand); font-family: var(--home-serif); font-size: 1.05em; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.home-icon { flex: none; inline-size: 1.15em; block-size: 1.15em; vertical-align: -.2em; }
.home-eyebrow { display: flex; align-items: center; gap: .45em; margin: 0 0 var(--space-3); letter-spacing: .02em; }
.home-eyebrow, .home-ledger-title, .home-trial-step { color: var(--brand-strong); font: 600 var(--home-label)/1.5 var(--home-mono); }
.home-head { max-width: 48rem; margin-bottom: var(--space-6); }
.home-lede { max-width: 58ch; margin: 0; color: var(--muted); font-size: var(--step-1); }
.home-next { margin: var(--space-5) 0 0; }
.home-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); margin: var(--space-4) 0 0; }
.home .badge { max-inline-size: 100%; }
.home .badge[data-tone="success"]::before { content: "✓"; content: "✓" / ""; }
/* An icon on a tinted tile, in one of four tones. */
.home-tile { display: grid; place-items: center; flex: none; inline-size: 2.75rem; block-size: 2.75rem; border-radius: var(--radius-md); background: var(--brand-tint); color: var(--brand-strong); }
.home-tile .home-icon { inline-size: 1.25rem; block-size: 1.25rem; }
.home-tile[data-tone="sky"] { background: var(--home-sky-bg); color: var(--home-sky); }
.home-tile[data-tone="leaf"] { background: var(--success-bg); color: var(--success); }
.home-tile[data-tone="sun"] { background: var(--warning-bg); color: var(--warning); }

/* Hero. The text column starts at main's content edge, so the h1 lines up with the header logo. A soft glow sits
   behind the loop, inside the hero's own box. */
.home-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: var(--space-7) clamp(var(--space-6), 5vw, var(--space-8)); }
.home-hero::before { content: ""; position: absolute; z-index: -1; inset-block: -3rem -2rem; inset-inline: 35% 0; background: radial-gradient(closest-side, var(--brand-tint), transparent); pointer-events: none; }
.home-intro { min-width: 0; }
.home .home-kicker { text-wrap: balance; }
.home-kicker { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-5); padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); background: var(--brand-tint); color: var(--brand-strong); font-size: var(--step--1); font-weight: 600; line-height: 1.4; }
.home-kicker::before { content: ""; flex: none; inline-size: .55rem; block-size: .65rem; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.home-title { max-width: 12ch; margin: 0 0 var(--space-5); font-size: clamp(2.25rem, 1.6rem + 4.5vw, 4.5rem); line-height: 1; }
/* The accent stays on one line, so the headline breaks before it and not inside it. */
.home-title .home-accent { display: inline-block; }
.home-intro .lede { max-width: 40ch; margin-bottom: var(--space-6); }
.home-intro .actions { gap: var(--space-3) var(--space-5); margin-bottom: var(--space-6); }
.home-intro .button, .home-closing .button { min-block-size: 3.25rem; padding-inline: var(--space-5); font-size: var(--step-1); }
.home-intro .button:not(.secondary) { box-shadow: 0 1px 2px #48277b33, 0 .6rem 1.4rem -.6rem #5d36b799; }
.home-intro .button:not(.secondary):hover { box-shadow: 0 2px 4px #48277b33, 0 .8rem 1.6rem -.6rem #5d36b7b3; }
.home-assurances { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: var(--space-2) var(--space-5); max-width: 36rem; margin: 0 0 var(--space-5); padding: 0; list-style: none; font-size: var(--step--1); }
.home-assurances li { display: flex; gap: var(--space-2); }
.home-assurances .home-icon { margin-top: .15em; color: var(--brand); }
.home-reader-link { margin: 0; color: var(--muted); font-size: var(--step--1); }
/* A 44px target, like the page's other standalone links. */
.home-reader-link a { display: inline-flex; align-items: center; gap: .35em; min-block-size: 2.75rem; font-weight: 600; }

/* The loop: four plain lines joined by a dotted thread, and what the creator sees at the end. */
.home-loop { min-width: 0; padding: clamp(var(--space-4), 3vw, var(--space-6)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--home-shadow-lift); }
.home-loop-title { margin: 0 0 var(--space-4); color: var(--muted); font: 600 var(--home-label)/1.5 var(--home-mono); letter-spacing: .02em; }
.home-loop-steps { display: grid; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.home-loop-steps li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.home-loop-steps li:not(:last-child)::after { content: ""; position: absolute; inset-block: 2.75rem calc(-1 * var(--space-5)); inset-inline-start: calc(1.375rem - 1px); border-inline-start: 2px dotted var(--brand-edge); }
.home-loop-steps p { margin: 0; color: var(--muted); font-size: var(--step--1); }
.home-loop-steps strong { display: block; color: var(--ink); font-size: var(--step-1); letter-spacing: -.01em; line-height: 1.35; }
.home-loop-foot { display: flex; gap: var(--space-3); margin: var(--space-5) 0 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--brand-tint); color: var(--brand-strong); font-size: var(--step--1); font-weight: 600; }
.home-loop-foot .home-icon { margin-top: .15em; }

/* Per channel or per series: two cards of plain statements. The follow link's card is the lit one. */
.home-versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.home-versus-card { min-width: 0; padding: clamp(var(--space-4), 3vw, var(--space-6)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-sunken); }
.home-versus-card[data-kind="series"] { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 1px var(--brand), var(--home-shadow-lift); }
.home-tag { display: inline-block; margin: 0 0 var(--space-3); padding: 0 var(--space-3); border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font: 600 var(--home-label)/1.9 var(--home-mono); }
.home-versus-card[data-kind="series"] .home-tag { background: var(--brand); box-shadow: none; color: var(--white); }
.home-versus-card h3 { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); font-size: var(--step-3); }
.home-versus-card h3 .home-icon { color: var(--muted); }
.home-versus-card[data-kind="series"] h3 .home-icon { color: var(--brand); }
.home-versus-card ul { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.home-versus-card li { display: flex; gap: var(--space-3); }
.home-versus-card li .home-icon { margin-top: .2em; color: var(--field); }
.home-versus-card[data-kind="channel"] li { color: var(--muted); }
.home-versus-card[data-kind="series"] li .home-icon { color: var(--success); }
.home-versus-note { margin: var(--space-5) 0 0; font-weight: 600; }

/* How it works: three open columns under a rule, each led by a large numeral. */
.home-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); margin: 0 0 var(--space-6); padding: 0; list-style: none; counter-reset: home-step; }
.home-step { counter-increment: home-step; min-width: 0; padding-top: var(--space-4); border-top: 2px solid var(--ink); }
.home-step::before { content: counter(home-step); content: counter(home-step) / ""; display: block; margin-bottom: var(--space-3); color: var(--brand); font: italic 400 clamp(3rem, 2.2rem + 3vw, 4.5rem)/1 var(--home-serif); }
.home-step h3 { display: flex; align-items: center; gap: var(--space-2); font-size: var(--step-2); }
.home-step h3 .home-icon { color: var(--brand); }
.home-step p { margin: 0; color: var(--muted); }
.home-how-notes { margin-bottom: var(--space-5); }
.home-cta-note { color: var(--muted); font-size: var(--step--1); }

/* Formats: the two texts, set as text. The blanks are what YTAlert fills in for each series. */
.home-formats-box { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--home-shadow); }
.home-pastes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin-bottom: var(--space-6); }
.home-paste { min-width: 0; padding: clamp(var(--space-4), 3vw, var(--space-5)); border-radius: var(--radius-md); background: var(--surface-sunken); }
.home-paste-label { display: flex; align-items: center; gap: .45em; margin: 0 0 var(--space-3); color: var(--muted); font: 600 var(--home-label)/1.5 var(--home-mono); }
.home-paste-text { margin: 0; font: 400 var(--step-3)/1.45 var(--home-serif); letter-spacing: -.01em; }
.home-blank { display: inline-flex; align-items: center; gap: .35em; padding: 0 .5em; border-radius: var(--radius-sm); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand-edge); color: var(--brand-strong); font: 600 .7em/1.7 var(--home-mono); letter-spacing: 0; vertical-align: .12em; }
.home-kinds-label { margin: 0 0 var(--space-3); font-weight: 600; }
.home-kinds { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.home-kinds li { max-inline-size: 100%; padding: var(--space-1) var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper); font-size: var(--step--1); font-weight: 600; }
.home-formats-notes { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--step--1); }
.home-formats-notes p { max-width: 70ch; margin: 0 0 var(--space-2); }

/* What fans get: four promises, then the email and the Updates page side by side. */
.home-fans { border-radius: var(--radius-lg); background: var(--surface-sunken); }
.home-promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin: 0 0 var(--space-7); padding: 0; list-style: none; }
.home-promises li { display: grid; gap: var(--space-3); align-content: start; min-width: 0; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.home-promises p { margin: 0; color: var(--muted); font-size: var(--step--1); }
.home-promises strong { display: block; color: var(--ink); font-size: var(--step-0); }
.home-samples { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-6) var(--space-5); align-items: start; }
.home-mock { position: relative; min-width: 0; margin: 0; padding: var(--space-6) var(--space-5) var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--home-shadow); }
.home-mock-tag { position: absolute; inset-block-start: calc(-1 * var(--space-3)); inset-inline-start: var(--space-5); display: flex; align-items: center; gap: .4em; max-inline-size: calc(100% - 2 * var(--space-5)); margin: 0; padding: 0 var(--space-3); border-radius: var(--radius-pill); background: var(--brand); color: var(--white); font: 600 var(--home-label)/1.7 var(--home-mono); }
.home-credit { display: block; margin-top: var(--space-1); color: var(--muted); font-size: var(--home-label); font-weight: 400; }
.home-email-head { margin: 0 0 var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.home-email-head div { display: flex; gap: var(--space-3); }
.home-email-head dt { flex: none; inline-size: 3.75rem; color: var(--muted); }
.home-email-head dd { min-width: 0; margin: 0; font-weight: 600; }
.home-email-brand { margin: 0 0 var(--space-2); color: var(--brand); font-size: var(--step-1); font-weight: 800; letter-spacing: -.04em; }
.home-email-card { padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.home-email-title { margin: 0; font-size: var(--step-1); font-weight: 700; }
.home-email-intro { margin: var(--space-1) 0 0; color: var(--muted); font-size: var(--step--1); }
.home-email-label { margin: var(--space-4) 0 var(--space-1); color: var(--muted); font-size: var(--step--1); font-weight: 700; }
.home-email-label span { font-weight: 400; }
.home-email-card ul { margin: 0; padding: 0; list-style: none; }
.home-email-card li { padding-block: var(--space-2); border-top: 1px solid var(--line); font-weight: 700; line-height: 1.35; }
.home-email-button { display: inline-flex; align-items: center; min-block-size: 2.75rem; margin-top: var(--space-4); padding: 0 var(--space-4); border-radius: var(--radius-sm); background: var(--brand); color: var(--white); font-weight: 700; text-decoration: none; }
.home-email-button:hover { background: var(--brand-strong); color: var(--white); }
.home-email-foot { margin: var(--space-2) 0 0; color: var(--muted); font-size: var(--home-label); }
.home-updates-title { margin: 0; font-size: var(--step-2); font-weight: 700; letter-spacing: -.02em; }
.home-updates-lede { margin: var(--space-1) 0 var(--space-3); color: var(--muted); font-size: var(--step--1); }
.home-updates-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.home-chip { max-inline-size: 100%; padding: 0 var(--space-2); border: 1px solid var(--brand-edge); border-radius: var(--radius-sm); color: var(--brand-strong); font-size: var(--step--1); }
.home-chip[data-current] { border-color: var(--brand); background: var(--brand); color: var(--white); }
.home-updates-series { margin-top: var(--space-5); }
.home-updates-name { margin: 0; font-size: var(--step-1); font-weight: 700; }
.home-updates-meta { margin: 0 0 var(--space-3); color: var(--muted); font-size: var(--step--1); }
.home-updates-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(8.5rem, 100%), 1fr)); gap: var(--space-4) var(--space-3); margin: 0; padding: 0; list-style: none; }
.home-updates-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.home-updates-card:nth-child(2) .sample-thumb[data-tone] { filter: brightness(1.1); }
.home-updates-card:nth-child(3) .sample-thumb[data-tone] { filter: brightness(.92); }
.home-updates-card[data-watched] .sample-thumb { opacity: .5; }
.home-updates-card[data-watched] .home-updates-card-title { color: var(--muted); }
.home-updates-watched { position: absolute; inset-block-start: var(--space-1); inset-inline-start: var(--space-1); max-inline-size: calc(100% - 2 * var(--space-1)); }
.home-updates-card-title { font-weight: 600; line-height: 1.3; }
.home-updates-card-meta { margin-top: var(--space-1); color: var(--muted); font-size: var(--step--1); line-height: 1.4; }

/* Results: what the report shows, by name, and what it never shows. No numbers, because there are none to show yet. */
.home-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.home-metric { display: grid; gap: var(--space-3); align-content: start; min-width: 0; padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--home-shadow); }
.home-metric h3, .home-metric p { margin: 0; }
.home-metric p { color: var(--muted); font-size: var(--step--1); }
.home-ledger { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5) var(--space-6); padding: clamp(var(--space-4), 3vw, var(--space-6)); border: 1px solid var(--brand-edge); border-radius: var(--radius-lg); background: var(--brand-tint); }
.home-ledger > div { min-width: 0; }
.home-ledger-intro h3 { font-size: var(--step-2); }
.home-ledger-intro p { margin: 0 0 var(--space-2); font-size: var(--step--1); }
.home-ledger-title { margin: 0 0 var(--space-2); }
.home-ledger-list { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.home-ledger-list li { display: flex; gap: var(--space-2); }
.home-ledger-list .home-icon { margin-top: .2em; color: var(--success); }
.home-ledger-list[data-kind="never"] .home-icon { color: var(--muted); }

/* Plans, the list every plan shares and the Creator trial, step by step. */
.home-plan-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin: 0 0 var(--space-6); padding: 0; list-style: none; }
.home-plan { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; padding: clamp(var(--space-4), 3vw, var(--space-5)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.home-plan[data-featured] { position: relative; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--home-shadow-lift); }
.home-plan[data-featured] .badge { position: absolute; inset-block-start: calc(-1 * var(--space-3)); inset-inline-start: clamp(var(--space-4), 3vw, var(--space-5)); max-inline-size: calc(100% - 2 * var(--space-4)); background: var(--brand); color: var(--white); }
.home-plan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
.home-plan h3 { margin: 0; font-size: var(--step-2); }
.home-plan p { margin: 0; }
.home-plan-amount { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.home-plan-period, .home-plan-note { color: var(--muted); font-size: var(--step--1); }
.home-plan-limits { margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.home-plan-limits li { padding-block: var(--space-2); border-top: 1px solid var(--line); font-weight: 600; }
.home-plan-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-7); margin-bottom: var(--space-5); }
.home-plan-more > div { min-width: 0; }
.home-plan-title { margin: 0 0 var(--space-3); font-weight: 700; }
.home-plan-includes { margin: 0; }
.home-trial { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.home-trial li { position: relative; padding-inline-start: var(--space-6); color: var(--muted); }
.home-trial li::before { content: ""; position: absolute; inset-block-start: .2rem; inset-inline-start: 0; inline-size: .875rem; block-size: .875rem; border: 2px solid var(--brand); border-radius: var(--radius-pill); background: var(--surface); }
.home-trial li:nth-child(2)::before { background: var(--brand); }
.home-trial li:not(:last-child)::after { content: ""; position: absolute; inset-block: calc(.2rem + .875rem) calc(-1 * var(--space-3) - .2rem); inset-inline-start: calc(.4375rem - 1px); border-inline-start: 2px solid var(--brand-edge); }
.home-trial-step { display: block; }
.home-plan-terms { margin: 0; color: var(--muted); font-size: var(--step--1); }

/* Questions */
.home-questions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-6) var(--space-8); align-items: start; }
.home-questions .home-head { margin: 0; }
.home-questions-contact { margin: var(--space-4) 0 0; color: var(--muted); font-size: var(--step--1); }
.home-faq { border-bottom: 1px solid var(--line); }
.home-faq details { border-top: 1px solid var(--line); }
.home-faq summary { align-items: flex-start; padding-block: var(--space-3); color: var(--ink); font-size: var(--step-1); }
.home-faq summary::before { margin-block-start: .55em; }
.home-faq summary:hover { color: var(--brand-strong); }
/* The ring sits inside the question, so it never crosses the open answer. */
.home-faq summary:focus-visible { outline-offset: -3px; }
.home-faq details > p { max-width: 62ch; margin: 0 0 var(--space-4); padding-inline-start: calc(.45em + var(--space-2)); color: var(--muted); }

/* Closing: the page's one loud band, with a dark button that reads as the next step. */
.home-closing { border: 1px solid var(--brand-edge); border-radius: var(--radius-lg); background: radial-gradient(60% 120% at 100% 0%, #5d36b726, transparent 62%), radial-gradient(45% 90% at 0% 100%, var(--warning-bg), transparent 70%), var(--brand-tint); box-shadow: var(--home-shadow); }
.home-closing h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
.home-closing .home-lede { max-width: 52ch; margin-bottom: var(--space-5); color: var(--ink); }
.home-closing .actions { gap: var(--space-3) var(--space-5); margin: 0; }
.home-closing .button.secondary { border-color: var(--ink); background: var(--ink); box-shadow: 0 1px 2px #48277b33, 0 .6rem 1.4rem -.6rem #18152599; color: var(--white); }
.home-closing .button.secondary:hover { border-color: var(--brand-strong); background: var(--brand-strong); color: var(--white); }
/* The three bands share one inset. */
.home-fans, .home-formats-box, .home-closing { padding: clamp(var(--space-5), 5vw, var(--space-8)) clamp(var(--space-4), 4vw, var(--space-7)); }

@media (max-width: 56rem) {
  .home-hero, .home-steps, .home-questions, .home-plan-more, .home-samples { grid-template-columns: minmax(0, 1fr); }
  .home-hero::before { inset-inline: 0; inset-block: 40% -2rem; }
  .home-promises, .home-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-ledger-intro { grid-column: 1 / -1; }
  /* One step to a row: the numeral stands beside its words. */
  .home-step { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: var(--space-4); }
  .home-step::before { grid-row: span 2; margin: 0; }
  .home-step > * { grid-column: 2; }
}
@media (max-width: 40rem) {
  /* Phones: tighter spacing above the button, so it stays on the first screen under the consent banner too, and in
     wide fonts (staging measures it at 390x844 in CI's DejaVu Sans). */
  .home-hero { margin-top: calc(-1 * var(--space-3)); }
  .home-kicker { margin-bottom: var(--space-3); }
  .home-title { margin-bottom: var(--space-4); }
  .home-intro .lede { margin-bottom: var(--space-5); }
  .home-versus, .home-pastes, .home-plan-list, .home-promises, .home-metrics, .home-ledger { grid-template-columns: minmax(0, 1fr); }
  .home-promises li { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .home-updates-videos { grid-template-columns: repeat(auto-fill, minmax(min(7.5rem, 100%), 1fr)); }
  .home-mock { padding: var(--space-6) var(--space-4) var(--space-4); }
}
/* Small phones and 200% zoom: tags in the flow, stacked rows, and padding that shrinks with the screen, so cards inside
   bands keep room for their words with larger text. Updates keeps two cards to a row at 320px, as the real page does;
   larger text still drops to one. */
@media (max-width: 24rem) {
  .home-kicker { border-radius: var(--radius-md); }
  .home-fans, .home-formats-box, .home-closing { padding-inline: min(var(--space-3), 4vw); }
  .home-loop, .home-paste, .home-email-card, .home-promises li { padding: min(var(--space-3), 4vw); }
  .home-versus-card, .home-metric, .home-plan, .home-ledger { padding: min(var(--space-4), 5vw); }
  .home-mock { padding: min(var(--space-4), 5vw) min(var(--space-3), 4vw); }
  .home-intro .button, .home-closing .button, .home-email-button { padding-inline: min(var(--space-4), 5vw); }
  .home-loop-steps li, .home-promises li, .home-step { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .home-loop-steps li::after { display: none; }
  .home-step::before { grid-row: auto; }
  .home-step > * { grid-column: auto; }
  .home-mock-tag { position: static; display: inline-flex; max-inline-size: 100%; margin-bottom: var(--space-3); }
  .home-email-head div { flex-direction: column; gap: 0; }
  .home-updates-videos { grid-template-columns: repeat(auto-fill, minmax(min(7rem, 100%), 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .home-loop-steps li { animation: home-rise .5s cubic-bezier(.22, 1, .36, 1) both; }
  .home-loop-steps li:nth-child(2) { animation-delay: .08s; }
  .home-loop-steps li:nth-child(3) { animation-delay: .16s; }
  .home-loop-steps li:nth-child(4) { animation-delay: .24s; }
  .home .arrow-link > span, .home-intro .button:not(.secondary), .home-closing .button { transition: translate .15s, box-shadow .15s; }
  .home .arrow-link:hover > span { translate: .2rem 0; }
  .home .arrow-link[href^="#"]:hover > span { translate: 0 .15rem; }
  .home-intro .button:not(.secondary):hover, .home-closing .button:hover { translate: 0 -1px; }
  @keyframes home-rise { from { opacity: 0; translate: 0 .75rem; } }
}

.notice, .status, .form-error, .reader-note, .creator-status,
:is(.creator-workspace, .creator-form, .billing-page) .creator-status {
  margin-block: var(--space-3) var(--space-4);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--brand-edge);
  border-inline-start-width: 4px;
  border-radius: var(--radius-sm);
  background: var(--brand-tint);
  color: var(--ink);
}
:is(.notice, .status, .form-error, .reader-note, .creator-status) > :last-child { margin-bottom: 0; }
.notice[data-tone="success"] { border-color: var(--success-edge); background: var(--success-bg); color: var(--success); }
.notice[data-tone="warning"], .creator-status[role="alert"] { border-color: var(--warning-edge); background: var(--warning-bg); color: var(--warning); }
.notice[data-tone="error"], .form-error, .reader-note[role="alert"], .creator-status.creator-error-summary {
  border-color: var(--danger-edge);
  background: var(--danger-bg);
  color: var(--danger);
}
