/* Tips take only their summary's height while closed; opening pushes the form down and closing restores it. */
[data-hook="prompt-tips"] { max-width:100%; margin-top:6px; }
.tips-trigger { min-width:44px; min-height:44px; width:fit-content; padding:10px 0; cursor:pointer; font-size:14px; color:var(--muted); }
.tips-body { padding:4px 0 12px; font-size:14px; color:var(--muted); overflow-wrap:anywhere; }
.tips-body ul { margin:0; padding-left:1.4em; }
[aria-invalid="true"] { outline:2px solid #bf2020; outline-offset:2px; border-color:#bf2020; }
.field-error { color:#ffb7aa; }
[data-destination] { overflow-wrap:anywhere; max-width:100%; }
footer nav > details { display:inline-block; vertical-align:top; }
footer nav details a { margin:8px; }
/* Mobile first. Phone widths are the base; wider layouts are added at 640, 1024 and 1200 px.
   Type scale: 16 body, 14 secondary and required notes, 13 quiet metadata, 12 only on media chips.
   Panels that hold a required line use an opaque dark surface so its contrast can be measured. */
:root {
  color-scheme: dark;
  --teal: #0E5F5C;
  --teal-deep: #0B4A48;
  --cream: #FBF1E4;
  --navy: #1C2335;
  --mint: #9FE0D2;
  --coral: #FF6B4A;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #FBF1E4;
  background: #0E5F5C;
  --ink: #0A4240;
  --paper: #0B4A48;
  --panel: #0B4A48;
  --well: #0A4240;
  --fg: #FBF1E4;
  --muted: #CFE3DF;
  --subtle: #B9D3CE;
  --note: #DCEAE6;
  --line: #FBF1E41f;
  --line-strong: #FBF1E440;
  --accent: #FBF1E4;
  --accent-ink: #1C2335;
  --gutter: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; font-size: 16px; line-height: 1.5; background: radial-gradient(ellipse 900px 600px at 70% 0, #9FE0D226, transparent), #0E5F5C; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
input, textarea { font-size: 16px; }
button, a, input, textarea, summary, label { touch-action: manipulation; }
button, a, summary, label { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; color: var(--fg); background: var(--panel); }
button:disabled { cursor: not-allowed; opacity: 1; }
[hidden] { display: none !important; }
::selection { background: #FBF1E459; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 16px; z-index: 50; padding: 12px; min-height: 44px; background: var(--fg); color: var(--ink); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.4rem + 4.6vw, 5rem); line-height: 1; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: 26px; line-height: 1.12; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }

/* Page frame */
.site-header { position: relative; z-index: 30; border-bottom: 1px solid #ffffff0f; background: var(--teal); }
.header-inner, main, .footer-inner { width: 100%; max-width: 1152px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
main { flex: 1 0 auto; min-width: 0; }
.header-inner { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; min-width: 0; min-height: 44px; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; letter-spacing: -.6px; text-decoration: none; }
.brand [data-wordmark] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-actions { display: flex; flex: none; align-items: center; gap: 4px; margin-left: auto; }
.header-actions .text-button { flex: none; padding: 10px; font-size: 14px; white-space: nowrap; }
.brand-mark { flex: none; width: 12px; height: 18px; border: 2px solid var(--accent); border-radius: 3px; }
.badge { display: inline-flex; flex: none; height: 32px; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #ffffff26; border-radius: 30px; background: #ffffff0a; color: var(--muted); font-size: 14px; font-weight: 500; }
.badge::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.notice { padding: 16px 0; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
.error { margin-top: 16px; padding: 14px 16px; background: #301716; border: 1px solid #ff9b8a66; color: #ffb7aa; border-radius: 16px; line-height: 1.5; white-space: pre-wrap; }
.eyebrow, .step-index { color: var(--subtle); font-size: 12px; letter-spacing: 1.4px; font-weight: 600; }

/* Buttons */
.primary, .secondary, .light, .text-button { text-wrap: balance; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 999px; font-size: 16px; line-height: 1.3; font-weight: 600; text-align: center; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .1s; }
.primary { color: var(--accent-ink); background: var(--accent); font-weight: 700; box-shadow: 0 0 0 1px #FBF1E459, 0 12px 40px -12px #FBF1E499; }
.primary:is(:hover, :focus-visible, :active) { background: var(--accent); color: var(--accent-ink); }
.primary:active, .secondary:active, .light:active { transform: translateY(1px); }
.primary:disabled { box-shadow: none; }
.secondary { color: var(--fg); background: var(--panel); border-color: var(--line-strong); }
.secondary:is(:hover, :focus-visible, :active) { background: var(--well); color: var(--fg); }
.light { background: var(--fg); color: var(--ink); min-height: 48px; }
.light:is(:hover, :focus-visible, :active) { background: var(--fg); color: var(--ink); }
.text-button { background: transparent; color: var(--muted); padding: 10px 12px; min-height: 44px; }
.text-button:hover { background: #ffffff0d; color: var(--fg); }
.wide { width: 100%; min-height: 60px; font-size: 17px; }
.pill-divider { color: currentColor; font-weight: 400; margin: 0 2px; }

/* Fields */
textarea, input[type=password], input[type=email], input[inputmode=numeric], #report-form input, select { display: block; width: 100%; min-height: 52px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--ink); padding: 14px 16px; color: var(--fg); font-size: 16px; transition: border-color .15s; }
textarea { resize: vertical; line-height: 1.5; }
textarea::placeholder, input::placeholder { color: var(--subtle); opacity: 1; }
textarea:focus-visible, input:focus-visible, select:focus-visible { outline-width: 2px; outline-offset: 1px; border-color: var(--accent); }
input[type=checkbox]:focus-visible, input[type=range]:focus-visible { outline-width: 3px; outline-offset: 3px; }
[aria-invalid="true"]:focus-visible { border-color:#bf2020; outline:2px solid #bf2020; outline-offset:2px; box-shadow:0 0 0 6px var(--accent); }
input[type=checkbox] { appearance: none; display: inline-grid; place-content: center; flex-shrink: 0; width: 24px; height: 24px; border: 2px solid var(--checkbox-border, #CFE3DF); border-radius: 4px; background: transparent; color: var(--accent-ink); accent-color: var(--accent); cursor: pointer; }
input[type=checkbox]::before { content: ""; width: 10px; height: 6px; margin-top: -3px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); visibility: hidden; }
input[type=checkbox]:checked { border-color: var(--accent); background: var(--accent); }
input[type=checkbox]:checked::before { visibility: visible; }
@media (forced-colors: active) { input[type=checkbox] { appearance: auto; } input[type=checkbox]::before { display: none; } }
fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
legend, .field-label { padding: 0; font-size: 16px; font-weight: 600; margin-bottom: 10px; }

/* Landing: hero */
.hero { display: block; padding: 28px 0 0; }
.hero-copy { min-width: 0; }
.hero .eyebrow { margin-bottom: 18px; }
.intro { color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 448px; margin-top: 16px; }
.hero-cta { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 22px; }
.hero-cta .primary { min-height: 56px; font-size: 17px; }
.hero-cta>span { color: var(--muted); font-size: 16px; line-height: 1.4; }

/* Landing: samples. Phones and tablets get one snap row of compact cards (picture left, words right)
   with the next card's picture peeking in; desktop gets three aligned portrait cards. */
.sample-strip { margin-top: 30px; min-width: 0; }
.sample-strip>h2 { font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 12px; }
.samples { list-style: none; display: flex; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
.samples::-webkit-scrollbar { display: none; }
/* A trailing spacer lets the last card snap to the same left edge as the others. */
.samples::after { content: ""; flex: 0 0 calc(14% - 12px); }
.samples li { display: flex; flex: 0 0 min(86%, 340px); min-width: 0; scroll-snap-align: start; }
.samples figure { flex: 1; min-width: 0; display: grid; grid-template-columns: clamp(104px, 39%, 132px) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.sample-media { position: relative; grid-column: 1; grid-row: 1 / -1; align-self: stretch; width: 100%; overflow: hidden; background: var(--panel); aspect-ratio: 9/16; }
.sample-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.samples figcaption { grid-column: 2; display: block; padding: 14px 14px 0 0; color: var(--fg); font-size: 15px; line-height: 1.4; overflow: visible; overflow-wrap: normal; word-break: normal; }
.caption-word { display: inline-block; white-space: nowrap; }
.sample-specs { grid-column: 2; padding-right: 14px; margin-top: 8px; color: var(--subtle); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.custom-player { position: relative; isolation: isolate; }
.player-viewport { position: relative; }
.player-controls { position: relative; padding: 8px 12px; background: #0E5F5C; }
.captions-toggle { display: block; min-width: 44px; min-height: 44px; padding: 8px 12px; color: var(--fg); background: #16161d; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.custom-player video { display: block; width: 100%; }
.play-toggle { position: absolute; inset: 0; border: 0; background: transparent; color: white; display: flex; align-items: center; justify-content: center; width: 100%; padding: 0; }
.play-toggle:focus-visible { outline-offset: -5px; border-radius: inherit; }
.play-glyph { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid #ffffff40; background: #1C2335; font-size: 22px; padding-left: 3px; transition: opacity .15s; }
.sample-media .play-glyph { width: 44px; height: 44px; font-size: 15px; }
.playing .play-glyph { opacity: 0; }
.playing:hover .play-glyph, .playing:focus-within .play-glyph { opacity: 1; }
.player-progress { position: absolute; pointer-events: none; top: 12px; left: 12px; right: 12px; height: 2px; background: #ffffff40; border-radius: 2px; overflow: hidden; }
.sample-media .player-progress { top: 8px; left: 8px; right: 8px; }
.player-progress-fill { display: block; height: 100%; width: 0; background: var(--fg); }
.duration-pill { position: absolute; pointer-events: none; bottom: 10px; left: 8px; background: #1C2335d9; border-radius: 20px; padding: 4px 8px; font-size: 12px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.media-label { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 5px 9px; border-radius: 20px; background: #1C2335d9; color: var(--fg); font-size: 12px; line-height: 1.4; pointer-events: none; }
.sample-media .media-label { top: 18px; left: 8px; font-size: 12px; padding: 3px 7px; white-space: nowrap; }
.sound-toggle { position: absolute; top: 12px; right: 12px; z-index: 2; min-height: 44px; padding: 4px 12px; border: 0; border-radius: 24px; background: #1C2335; color: #FBF1E4; font-size: 13px; }
.player-bar { position: absolute; bottom: 10px; left: 10px; right: 10px; display: flex; align-items: center; gap: 10px; border-radius: 32px; padding: 0 12px; background: #1C2335e6; }
.player-seek { min-width: 44px; width: 100%; min-height: 44px; accent-color: var(--accent); }
.player-clock { flex-shrink: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
/* Result controls have their own row, clear of the burned-in AI label. */
.result-player .player-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.result-player .sound-toggle { position: static; flex-shrink: 0; }
.result-player .player-bar { position: static; flex: 1 1 140px; min-width: 0; padding: 0 8px; }
.result-player .player-progress { display: none; }

/* Landing: steps and the order card */
.order-grid { display: flex; flex-direction: column; gap: 32px; padding: 32px 0 28px; }
.process { min-width: 0; }
.process>.eyebrow { margin-bottom: 18px; }
.process-intro { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 8px 0 20px; max-width: 448px; }
.process-list { list-style: none; padding: 0; margin: 0; }
.process-list li { position: relative; display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 14px; padding-bottom: 16px; }
.process-list li:last-child { padding-bottom: 0; }
.process-list li:not(:last-child)::before { content: ""; position: absolute; top: 36px; bottom: 4px; left: 15.5px; width: 1px; background: var(--line-strong); }
.process-list li>span { position: relative; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 1px solid #ffffff33; border-radius: 50%; font-size: 14px; font-weight: 700; background: var(--ink); }
.process-list h3 { margin: 4px 0 2px; }
.process-list h3 small { color: var(--subtle); font-weight: 400; font-size: 16px; display: inline-block; margin-left: 8px; }
.process-list p, .quiet-box p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.card { padding: 20px 18px; background: #0B4A48e6; border: 1px solid var(--line); border-radius: 24px; box-shadow: inset 0 1px 0 #ffffff0d, 0 40px 80px -40px #000e; }
.order-card { width: 100%; scroll-margin-top: 68px; padding-bottom: 0; overflow: hidden; }
.order-card h2 { margin: 0 0 20px; font-size: 28px; }
.section-heading { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--subtle); }
.price-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.choice { position: relative; cursor: pointer; min-height: 96px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 16px; background: #ffffff05; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; transition: border-color .15s, background .15s, box-shadow .15s; }
.choice input, .ratio-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice::after { content: ""; position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; border: 2px solid #ffffff40; border-radius: 50%; transition: border-color .15s, background .15s; }
.choice:has(input:checked), .ratio-choice:has(input:checked)>span { border-color: var(--accent); background: #FBF1E41f; box-shadow: inset 0 0 0 1px var(--accent); }
.choice:has(input:checked)::after { border-color: var(--accent); background: radial-gradient(circle, var(--accent-ink) 0 3.5px, var(--accent) 4.5px); }
.choice:has(input:focus-visible), .ratio-choice:has(input:focus-visible)>span { outline: 3px solid var(--accent); outline-offset: 4px; }
.choice strong { font-size: 16px; font-weight: 500; color: var(--muted); padding-right: 30px; }
.choice:has(input:checked) strong { color: var(--fg); }
.choice small { display: block; font-size: 13px; margin-top: 4px; color: var(--subtle); }
.choice b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.ratio-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.ratio-choice { position: relative; cursor: pointer; }
.ratio-choice>span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 84px; padding: 10px 4px; border: 1px solid var(--line-strong); border-radius: 16px; background: #ffffff05; font-size: 16px; color: var(--muted); transition: border-color .15s, background .15s, box-shadow .15s; }
.ratio-choice:has(input:checked)>span { color: var(--fg); }
.ratio-choice small { font-size: 14px; color: var(--subtle); }
.frame-icon { display: block; border: 1.5px solid var(--muted); border-radius: 3px; margin-bottom: 5px; }
.frame-icon.vertical { width: 12px; height: 20px; }
.frame-icon.landscape { width: 22px; height: 13px; margin-top: 3px; margin-bottom: 9px; }
.frame-icon.square { width: 17px; height: 17px; margin-top: 1px; margin-bottom: 7px; }
.ratio-choice:has(input:checked) .frame-icon { border-color: var(--accent); background: #FBF1E440; }
.field-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
#prompt-count { color: var(--subtle); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
#prompt { min-height: 136px; }
.field-hint { color: var(--muted); font-size: 16px; line-height: 1.45; margin: 10px 0 0; }
#prompt-help { color: var(--subtle); }
.rules-disclosure { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.rules-disclosure>.text-button { justify-content: flex-start; text-align: left; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: #ffffff05; color: var(--fg); font-weight: 500; }
.rules-disclosure>.text-button:hover { background: #ffffff0d; }
.rules-panel { margin-top: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #ffffff05; }
.rules-panel ul { padding-left: 20px; margin: 10px 0; }
.rules-panel li+li { margin-top: 8px; }
.rules-panel a, .prompt-feedback a, .payment-policies a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; }
.prompt-feedback { overflow-wrap: anywhere; }
.payment-policies { display: flex; gap: 12px; flex-wrap: wrap; }
/* The agree-and-pay part of the card sits in its own darker well, flush with the card edges. */
.form-checkout { margin: 22px -18px 0; padding: 18px 18px 22px; border-top: 1px solid var(--line); background: var(--well); }
.consent-row { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--panel); transition: border-color .15s; }
.consent-row:has(input:checked) { border-color: #FBF1E4b3; }
/* The empty box stays square beside its clickable agreement label. */
.consent-row input { flex: 0 0 24px; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.consent-row label { font-size: 15px; line-height: 1.5; cursor: pointer; }
.consent-row label a { display:inline-flex; align-items:center; min-width:44px; min-height:44px; }
.consent-policy-links { display: flex; flex-wrap: wrap; gap: 0 20px; align-items: center; margin: 2px 0 -8px; }
.checkout-summary { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
#checkout-refund { margin: 16px 0 0; font-size: 16px; line-height: 1.5; }
#checkout-price { margin-top: 16px; color: var(--fg); font-size: 16px; font-weight: 500; line-height: 1.45; }
.fine-print { color: var(--subtle); font-size: 14px; line-height: 1.5; margin-top: 12px; }
span.fine-print { display: block; }
/* Links inside a named destination keep the 44px target used for every other policy link. */
[data-destination] a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
#form-allowance-note { margin-top: 4px; }
#create-button { margin-top: 14px; }
.reassurance { text-align: center; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 12px; }
.refusal-note { color: var(--subtle); font-size: 14px; line-height: 1.5; text-align: center; margin: 0 0 8px; }
#paused-banner { padding: 16px; border: 1px solid var(--accent); border-radius: 16px; font-size: 16px; margin-top: 20px; text-align: left; }

/* Shared quiet panels */
.quiet-box { padding: 18px; background: #ffffff08; border: 1px solid var(--line); border-radius: 20px; margin-top: 24px; }
.quiet-box h3 { margin-bottom: 6px; font-size: 16px; }

/* Order page */
#order-page { padding: 18px 0 32px; }
.progress-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 6px; max-width: 600px; margin: 0 auto 22px; }
.progress-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--subtle); font-size: 15px; line-height: 1.3; min-width: 0; }
.progress-step:not(:last-child)::after { content: ""; position: absolute; top: 14px; left: calc(50% + 22px); width: calc(100% - 38px); height: 2px; border-radius: 2px; background: var(--line); }
.progress-step.done::after { background: #f6f4f066; }
.progress-number { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex-shrink: 0; border: 1px solid #ffffff33; border-radius: 50%; font-size: 14px; font-weight: 600; }
.progress-step.done, .progress-step.active { color: var(--fg); }
.progress-step.active { font-weight: 600; }
.progress-step.active .progress-number { background: var(--accent); color: var(--accent-ink); border-color: transparent; box-shadow: 0 0 0 4px #FBF1E42e; }
.progress-step.done .progress-number { background: var(--fg); color: var(--ink); border-color: transparent; }
#order-main { display: flex; flex-direction: column; max-width: 600px; margin: 0 auto; }
#order-main>* { min-width: 0; }
#order-main>*+* { margin-top: 16px; }
#order-main .screen-title { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.25rem); line-height: 1.08; letter-spacing: -.03em; }
.status-kicker { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.status-kicker.status-visible { position: static; display: block; width: auto; height: auto; clip-path: none; color: var(--subtle); font-size: 14px; text-transform: capitalize; }
.saved-prompt { border-left: 2px solid #ffffff33; padding-left: 14px; margin: 12px 0 0; color: var(--muted); line-height: 1.5; font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
#order-main>p:not(.saved-prompt) { color: var(--muted); font-size: 16px; line-height: 1.5; margin-bottom: 0; }
.helper-line { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 12px 0 0; }
.format-line { color: var(--subtle); font-size: 14px; margin-top: 12px; }
.media-frame { position: relative; width: min(70vw, 300px); margin: 0 auto; border-radius: 24px; overflow: hidden; background: #16161d; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px #000; }
#order-main>.media-frame { margin-top: 20px; }
.media-frame.ratio-wide { width: 100%; }
.media-frame.ratio-square { width: min(100%, 400px); }
.media-view { display: block; width: 100%; height: auto; aspect-ratio: 9/16; object-fit: contain; background: #16161d; }
.still-reveal { object-fit: cover; animation: still-reveal 400ms cubic-bezier(0.19,1,0.22,1) both; }
.still-approval-wait { visibility: hidden; opacity: 0; }
.still-approval-reveal { animation: still-approval-reveal 200ms cubic-bezier(0.19,1,0.22,1) 550ms both; }
@keyframes still-reveal { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@keyframes still-approval-reveal { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
.still-stage { display: grid; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.still-stage>span { grid-area: 1 / 1; }
.still-stage-previous { opacity: 0; pointer-events: none; }
.still-stage-previous::before { content: attr(data-previous-stage); }
.warm-ending { margin-top: 24px; }
.warm-ending p { margin: 0 0 12px; color: var(--muted); }
.video-ready>.approval-actions { margin-top: 16px; }
.ratio-wide .media-view { aspect-ratio: 16/9; }
.ratio-square .media-view { aspect-ratio: 1; }
.demo-media { position: absolute; top: 46px; left: 12px; pointer-events: none; color: var(--muted); background: #1C2335c9; border-radius: 12px; padding: 3px 7px; font-size: 12px; }
.approval-heading .saved-prompt { margin-bottom: 0; }
.approval-actions { width: 100%; }
.approval-actions>.primary { margin-top: 14px; }
.approval-actions>.primary:first-child { margin-top: 0; }
#order-main .approval-actions>.primary+.disclosure-lines { margin-top: 16px; }
.approval-actions>.secondary { margin-top: 12px; }
.approval-actions>.payment-policies~.primary { margin-top: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0; }
.actions>.primary { width: 100%; min-height: 60px; }
#order-main .primary, #order-main .secondary { width: 100%; }
.reroll-wrap { margin-top: 20px; padding-top: 4px; border-top: 1px solid var(--line); }
.reroll-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.reroll-row>.helper-line { flex: 1 0 100%; }
#order-main .reroll-row>.secondary { flex: 1 1 0; width: auto; }
.allowance-pill { display: inline-flex; align-items: center; min-height: 32px; border: 1px solid var(--line); border-radius: 24px; padding: 4px 12px; font-size: 14px; color: var(--muted); background: #ffffff0a; }
.approval-actions>.allowance-pill { margin-top: 20px; }
.edit-panel { margin: 16px 0 0; }
.edit-label { display: block; font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.edit-box { min-height: 96px; }
.edit-hint { display: flex; gap: 16px; justify-content: space-between; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--subtle); }
.edit-count { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#order-main .panel-actions .light { flex: 1 1 auto; }
.loading-media { aspect-ratio: 9/16; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid #ffffff0f; isolation: isolate; }
.loading-media.ratio-wide { aspect-ratio: 16/9; }
.loading-media.ratio-square { aspect-ratio: 1; }
.loading-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg,transparent 20%,#ffffff14 50%,transparent 80%); animation: shimmer 1.8s linear infinite; z-index: -1; }
.loading-message { padding: 24px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.loading-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 16px; }
.loading-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: breathe 1.6s ease-in-out infinite; }
.loading-dots i:nth-child(2) { animation-delay: .2s; }
.loading-dots i:nth-child(3) { animation-delay: .4s; }
.render-ring { width: 200px; height: 200px; margin: 8px auto 0; position: relative; display: flex; align-items: center; justify-content: center; color: var(--muted); border-radius: 50%; background: radial-gradient(circle,#FBF1E412,transparent 70%); }
.render-ring::after { content: ""; position: absolute; inset: 16px; border: 6px solid #ffffff1a; border-radius: 50%; }
.render-ring::before { content: ""; position: absolute; z-index: 1; inset: 16px; border: 6px solid transparent; border-top-color: var(--accent); border-radius: 50%; animation: spin 2.4s linear infinite; }
.render-ring span { font-size: 42px; color: var(--fg); font-weight: 800; letter-spacing: 8px; }
.is-rendering #order-main { max-width: 600px; }
.is-rendering .approval-heading, .is-rendering #order-main>.helper-line { text-align: center; }
.is-rendering .saved-prompt { text-align: left; }
.cleared-media>h2, .retained-final>h2, .delete-confirmation>h2 { font-size: 20px; letter-spacing: -.02em; }
.cleared-media>.media-frame, .retained-final>.media-frame { margin-top: 14px; }
.cleared-media>.primary, .retained-final>.primary { margin-top: 14px; }
.link-card { margin-top: 0; }
.link-card h3 { margin-bottom: 6px; }
.link-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
#private-link { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border: 1px solid var(--line); border-radius: 14px; background: #1C2335b3; padding: 11px 12px; color: var(--muted); font-size: 15px; }
.link-row .light { flex-shrink: 0; padding: 12px 16px; font-size: 15px; }
#render-link-slot { width: 100%; }
#render-link-slot .link-card p { display: none; }
.is-problem .progress-track, .is-refunded .progress-track { display: none; }
.is-problem #order-main { max-width: 600px; padding: 20px 18px; border: 1px solid var(--line); border-radius: 24px; background: #0B4A48e6; box-shadow: inset 0 1px 0 #ffffff0d,0 40px 80px -40px #000e; }
.problem-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 16px; background: #ffffff0f; color: var(--muted); font-size: 24px; }
.is-problem .saved-prompt { padding: 14px 16px; background: #1C233599; border: 1px solid #ffffff14; border-radius: 14px; }
.is-problem #order-main>.primary, .is-problem #order-main>.secondary { width: 100%; }
.is-refunded #order-main { padding: 16px 0 0; max-width: 600px; }
.is-refunded .problem-icon { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto; background: var(--fg); color: var(--ink); }
.is-refunded .approval-heading, .is-refunded #order-main>.helper-line { text-align: center; }
.is-refunded .saved-prompt { text-align: left; margin-top: 24px; }
/* Housekeeping rows under the action: email choices, deletion, order details. */
details { color: var(--muted); }
summary { cursor: pointer; min-height: 44px; padding: 12px 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
.deletion-details,.offers-panel { grid-column:1/-1; font-size:14px; line-height:1.6; text-align:left; border-top: 1px solid var(--line); }
#order-main>.offers-panel, #order-main>.deletion-details { margin-top: 24px; padding-top: 4px; }
#order-main>.offers-panel+.deletion-details, #order-main>.deletion-details+.delete-panel, #order-main>.delete-panel+.delete-panel { margin-top: 4px; }
/* Every line under What gets deleted shares one size; the summary sentence leads. */
.deletion-details > :not(summary) { font-size: 14px; line-height: 1.6; margin: 8px 0 0; }
.deletion-details summary,.offers-panel>summary { min-height:44px; cursor:pointer; color: var(--fg); }
.delete-panel { border-top: 1px solid var(--line); padding-top: 16px; }
.delete-panel>.helper-line { margin-top: 0; }
.delete-refund-warning { margin: 0 0 10px; line-height: 1.5; color: var(--fg); }
#order-main .delete-panel .text-button { margin: 10px 0 0; padding: 10px 18px; border-color: var(--line-strong); color: var(--fg); font-size: 15px; }
.delete-confirmation { grid-column:1/-1; text-align:left; padding:18px; border:1px solid #777780; border-radius:16px; background: var(--panel); }
.delete-confirmation>h2 { margin-bottom: 10px; }
.delete-confirmation>.secondary { margin-top: 12px; }
.order-details { max-width: 600px; margin: 20px auto 0; border-top: 1px solid var(--line); padding-top: 4px; }
.details-heading { font-size: 15px; }
.brief-details { padding: 12px 0 20px; }
.brief-details .secondary { width: 100%; }
#order-spec { color: var(--muted); font-size: 15px; line-height: 1.5; }
#timeline { padding-left: 20px; font-size: 13px; line-height: 1.8; }
.object-hash, #admin-held .quiet-box p { overflow-wrap: anywhere; }
#admin-held .quiet-box + .quiet-box { margin-top: 16px; }
.history-section { max-width: 600px; margin: 24px auto 0; border-top: 1px solid #ffffff14; padding-top: 16px; }
.history-section>h2 { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.history-grid { display: flex; gap: 12px; overflow-x: auto; align-items: flex-start; padding: 12px 4px 8px; scrollbar-width: thin; }
.history-item { width: 76px; flex: 0 0 76px; min-width: 0; padding: 0; text-align: left; background: transparent; color: var(--muted); border: 0; border-radius: 14px; }
.history-label { display: block; font-size: 14px; margin-top: 8px; }
.history-thumb { display: block; position: relative; width: 76px; border-radius: 14px; overflow: hidden; background: #16161d; aspect-ratio: 9/16; }
.history-thumb.ratio-wide { aspect-ratio: 16/9; }
.history-thumb.ratio-square { aspect-ratio: 1; }
.history-item[aria-pressed=true] .history-thumb { outline: 2px solid var(--fg); outline-offset: 2px; }
.history-item[aria-pressed=true] { color: var(--fg); }
.history-item .media-label { position: absolute; inset: auto 0 0; background: #1C2335d9; display: block; padding: 4px; font-size: 12px; border-radius: 0; text-align: center; }
.history-item .media-view { width: 100%; height: 100%; object-fit: cover; }
.thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; }

/* Admin */
.page-heading { padding: 40px 0 28px; }
.page-heading h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 3.5rem); margin: 16px 0; }
.page-heading>p { color: var(--muted); line-height: 1.6; }
.admin-login { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.admin-login label { white-space: nowrap; }
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 13px; }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line); line-height: 1.6; }
th { background: #ffffff08; }
#admin-guardrails { margin: 24px 0; }
.panel-actions>* { min-width: 0; max-width: 100%; }
.operator-status { font-size: 13px; }
.operator-status, .operator-service-status { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: auto; }
#admin-controls section, #admin-rows td > p[aria-live] { overflow-wrap: anywhere; }
#admin-controls input, #admin-controls select { min-width: 0; max-width: 100%; }
#admin-guardrails h2 { margin: 20px 0; }
#admin-reports { display: grid; gap: 16px; overflow-wrap: anywhere; }
#admin-reports p { margin: 12px 0; }

/* Footer content shares the centred reading column at every width. */
footer { border-top: 1px solid #ffffff0f; margin-top: 8px; }
.footer-inner { display: grid; grid-template-columns: minmax(0,1fr); max-width: calc(600px + var(--gutter) * 2); gap: 4px 32px; padding-top: 20px; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); color: var(--subtle); font-size: 14px; line-height: 1.5; }
.footer-brand { color: var(--muted); font-weight: 600; }
.footer-inner nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 16px; padding: 4px 0 8px; border-bottom: 1px solid #ffffff0f; }
.footer-inner nav a:nth-child(n+5) { grid-column: 1 / -1; }
footer a { text-decoration: none; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; gap: 4px; }
.footer-inner nav a:hover, .footer-brand:hover { color: var(--fg); }

/* Policy, sign-in, report and similar single-column pages */
.policy-page { overflow-wrap:anywhere; max-width: 720px; padding-top: 36px; padding-bottom: 48px; }
.policy-page h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 2.5rem); line-height: 1.05; }
.policy-page p { color: var(--muted); line-height: 1.6; margin: 20px 0; }
.policy-page h2 { margin-top: 32px; font-size: 22px; }
.policy-page .draft { color: var(--accent); }
.policy-page .secondary { text-decoration: none; }
.policy-page a:not(.brand):not(.secondary), .consent-row a { color: #FBF1E4; text-decoration: underline; display: inline-block; min-height: 44px; min-width: 44px; line-height: 44px; }
/* Same 44px target, but the rows of policy names sit closer together. */
.consent-row a { line-height: 1.5; padding: 11px 0; margin: -3px 0; }
#report-form { display: grid; gap: 12px; }
#report-form input, select { font: inherit; font-size: 16px; width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px; background: var(--ink); color: var(--fg); }
#report-form label { font-weight: 600; margin-top: 6px; }
#report-form .primary { margin-top: 8px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes breathe { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

/* Round 10: required copy remains readable and in normal layout at touch widths. */
.disclosure-lines { width:100%; clear:both; text-align:left; margin:14px 0; }
.disclosure-lines p,.disclosure-lines>div,.footer-disclosures p,.sample-ai-notice { font-size:14px; line-height:1.5; color:var(--note); white-space:normal; overflow:visible; height:auto; max-height:none; margin:8px 0; overflow-wrap:anywhere; }
.disclosure-lines>:first-child { margin-top:0; }
.disclosure-lines>:last-child { margin-bottom:0; }
.disclosure-lines a,.footer-disclosures a { color:#FBF1E4; text-decoration:underline; display:inline-flex; align-items:center; min-width:44px; min-height:44px; max-width:100%; }
.footer-disclosures { width:100%; padding-top: 12px; }
.footer-disclosures p { margin: 4px 0; }
.sample-ai-notice { grid-column: 2; align-self: end; margin: 8px 0 0; padding: 0 14px 12px 0; font-size: 13px; line-height: 1.45; color: var(--muted); overflow-wrap: normal; }
#signin-page input[type=email],#signin-page input[inputmode=numeric] { width:100%; font-size:16px; padding:14px 16px; margin:0 0 6px; }
#signin-page .card { display:flex; flex-direction:column; gap:10px; }
#order-main .disclosure-lines { grid-column:1/-1; margin: 0; }
#order-main>.disclosure-lines { margin-top: 16px; }
#order-main .approval-actions>.disclosure-lines+.disclosure-lines { margin-top: 8px; }
#order-main .payment-policies { display:flex; flex-wrap:wrap; gap:12px; }
/* The four lines under the hero: one calm panel, grouped with space. */
#landing-disclosures .disclosure-lines { margin: 24px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--well); display: grid; gap: 10px; }
#landing-disclosures .disclosure-lines p { margin: 0; max-width: 68ch; }
#form-disclosures .disclosure-lines { margin: 14px 0 0; }

/* Round 11: one compact payment block; links keep a readable text baseline. */
.pay-block { grid-column:1/-1; width:100%; text-align:left; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--well); }
/* Inside the problem card the pay block is not boxed a second time, so its lines keep the full width. */
.is-problem .pay-block { padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.pay-block .disclosure-lines { margin:8px 0; }
.pay-block>.disclosure-lines:first-child { margin-top: 0; }
.pay-block .disclosure-lines p { margin:6px 0; line-height:1.5; }
.pay-price { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.pay-price .disclosure-lines { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 8px; margin: 0; }
.pay-price .disclosure-lines p { margin: 0 0 2px; }
.pay-price [data-disclosure=price-total] { font-size:22px; font-weight:800; letter-spacing: -.02em; color: var(--fg); flex-basis: 100%; }
.pay-block [data-disclosure=agree-pay] { margin:4px 0 0; }
.pay-block .primary { margin-top:4px; }
.renew-consent { display:flex; align-items: flex-start; gap:12px; margin-top: 12px; padding: 14px; min-height: 52px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--panel); font-size:15px; line-height:1.5; color: var(--fg); cursor: pointer; }
.renew-consent:has(input:checked) { border-color: #FBF1E4b3; }
.renew-consent input { flex: 0 0 24px; width: 24px; height: 24px; margin: 0; }
/* DB-8: the policy names in the binding consent sentence are links. */
.renew-consent a { color:#FBF1E4; text-decoration:underline; }
.renew-consent a { display: inline-block; min-width: 44px; padding: 11px 0; margin: -11px 0; text-align: center; }
.renew-consent+.primary { margin-top: 14px; }
/* The pull-up never exceeds the smallest paragraph gap, so neighbouring lines cannot overlap. */
.disclosure-policy-links { display:flex; flex-wrap:wrap; gap:0 16px; align-items:center; margin: -4px 0 -4px; }
.email-notice .disclosure-policy-links, .pay-price .disclosure-policy-links, #landing-disclosures .disclosure-policy-links { margin-bottom: 0; }
.disclosure-lines a.policy-link { line-height:1.4; white-space:normal; }
.email-notice { border:1px solid var(--line-strong); border-radius:16px; padding:16px; background:#17171d; }
.email-notice .disclosure-lines { margin:0; }
.email-notice p { margin:0; line-height:1.6; }
/* Paragraph breaks inside the notice; the rule above is unchanged. */
.email-notice p { font-size: 15px; }
.email-notice p+p { padding-top: 8px; }
.consent-policy-links { display:flex; flex-wrap:wrap; gap:0 16px; align-items:center; }

#signin-page>h1 { margin-bottom:24px; }
#signin-page>.card { margin-top: 16px; }
#signin-page .card label { font-weight: 600; }
#signin-page .card .primary, #signin-page .card .secondary, #signin-page>.secondary, #google-slot>.primary, #unsubscribe-page>.primary, #unsubscribe-page>.secondary { width: 100%; }
#signin-page #marketing-choice { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 400; cursor: pointer; }
#signin-page #marketing-choice input, .email-choice-block input { flex: none; width: 24px; height: 24px; margin: 0; }
#signin-page>.helper-line { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
#signin-page>.secondary { margin-top: 14px; }
#signin-page>a, #unsubscribe-page>a { display: block; width: fit-content; margin-top: 12px; }
section.policy-page { margin-inline: auto; }
#signin-page, #unsubscribe-page { max-width: 640px; }
#google-slot>.primary { margin-top: 8px; }
#unsubscribe-page>.secondary { margin-top: 12px; }
.email-details { margin-top:8px; font-size:14px; line-height:1.6; color:#d4d4da; }
.email-details summary { cursor:pointer; min-height:44px; padding:10px 0; }
.email-details summary:focus-visible { outline:2px solid #FBF1E4; outline-offset:4px; }

.email-choice-label { display:block; margin-bottom:8px; }
#missing-page { padding: 36px 0 48px; }
#missing-page h1 { margin-bottom:24px; }
#missing-page a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: #FBF1E4; }

.email-choice-block { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-block: 20px; }
.email-choice-block label { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--fg); font-size: 16px; cursor: pointer; }
.pay-block .email-choice-label { display: block; margin-bottom: 8px; }
.offers-panel .secondary { margin-top: 12px; }

/* The refund sentence uses the same type as the other disclosure paragraphs. */
[data-disclosure="refund-short"], .disclosure-lines [data-disclosure="refund-short"] { font-family: inherit; font-size: 16px; line-height: 1.5; margin: 0; }
.refund-rule-line { display:inline; font-size:inherit; line-height:inherit; }
[data-refund-part="closing"] { display:inline; }
[data-refund-lead] { color: var(--fg); }
[data-disclosure="refund-short"] .disclosure-policy-links { display:inline-flex; margin: -6px 0 0; }
#checkout-refund .disclosure-lines { margin:0; }
#checkout-refund .disclosure-policy-links { display:inline-flex; }
/* Decorative state marker: the empty alternative text keeps it out of the button's accessible name. */
.rules-disclosure>button::before { content:'▸ '; content:'▸ ' / ''; }
.rules-disclosure>button[aria-expanded="true"]::before { content:'▾ '; content:'▾ ' / ''; }
.pay-block .helper-line { margin-block:12px; }
#report-page>h2 { margin-top:28px; }
.offers-panel .email-choice-label { margin-top:12px; }

#order-main>#render-link-slot { grid-column:1/-1; width:100%; margin-top: 20px; }
#render-link-slot .link-card p { display:block; }
/* DB-10: one text-input style for the payment email and the email-choices fields. */
#payer-email, #offers-email, #offers-code { display:block; font:inherit; font-size:16px; width:100%; min-height:48px; border:1px solid var(--line); border-radius:12px; padding:12px; background:var(--ink); color:var(--fg); }
#payer-email::placeholder, #offers-email::placeholder, #offers-code::placeholder { color:var(--subtle); opacity:1; }
#report-no-reply { margin-top:12px; }
/* Bot check: rendered only when BOT_CHECK=turnstile. */
.bot-check { margin:16px 0; }
.bot-check-label { font-weight:600; margin:0 0 8px; }
.bot-check-widget { min-height:65px; }
.bot-check[data-bot-shown="false"] { margin:0; }
.bot-check[data-bot-shown="false"] .bot-check-widget { min-height:0; height:0; overflow:hidden; }
.bot-check[data-bot-shown="false"] .bot-check-label { display:none; }
.bot-check-error { color:#ffb7aa; margin:8px 0 0; }

/* Narrow phones: the two lengths become full-width rows so label and price each stay on one line. */
@media(max-width:359px) {
  .header-inner { gap: 6px; }
  .brand { gap: 6px; }
  .header-actions .text-button { padding-inline: 4px; font-size: 12px; }
  .price-options { grid-template-columns: minmax(0,1fr); }
  .choice { flex-direction: row; align-items: center; min-height: 60px; padding-right: 48px; }
  .choice::after { top: 50%; margin-top: -11px; }
  .choice strong { padding-right: 0; }
  .choice b { font-size: 24px; }
  .ratio-options { gap: 6px; }
  .ratio-choice>span { font-size: 15px; padding-inline: 2px; }
  .wide { font-size: 16px; padding-inline: 14px; }
}

/* Phones only */
@media(max-width:639px) {
  .split-pill { gap: 8px; padding-inline: 14px; font-size: 16px; }
  .status-kicker { font-size: 13px; }
  .section-heading { font-size: 12px; }
}

/* Tablets and up */
@media(min-width:640px) {
  :root { --gutter: 24px; }
  .hero { padding-top: 48px; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
  .intro { font-size: 18px; line-height: 1.6; }
  .samples li { flex-basis: 340px; }
  .samples::after { flex-basis: 1px; }
  #landing-disclosures .disclosure-lines { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 32px; padding: 20px 24px; }
  .order-grid { padding: 48px 0 32px; gap: 40px; }
  .order-card, .process { width: 100%; max-width: 560px; margin: 0 auto; }
  .card { padding: 28px; }
  .order-card { padding-bottom: 0; }
  .form-checkout { margin: 24px -28px 0; padding: 24px 28px 28px; }
  h2 { font-size: 30px; }
  .process-list li { grid-template-columns: 40px minmax(0,1fr); gap: 16px; padding-bottom: 24px; }
  .process-list li:not(:last-child)::before { top: 44px; left: 19.5px; }
  .process-list li>span { width: 40px; height: 40px; font-size: 16px; }
  .process-list h3 { margin-top: 8px; }
  #order-page { padding-top: 28px; }
  .progress-track { display: flex; align-items: center; gap: 12px; max-width: 600px; margin-bottom: 28px; }
  .progress-step { flex-direction: row; gap: 10px; font-size: 16px; }
  .progress-step:not(:last-child) { flex: 1; }
  .progress-step:not(:last-child)::after { position: static; width: auto; flex: 1; min-width: 12px; height: 1px; margin-left: 2px; }
  .media-frame { width: min(100%, 320px); }
  #order-main .primary, #order-main .secondary { width: auto; }
  #order-main .wide, #order-main .approval-actions>.primary, #order-main .pay-block .primary, .is-problem #order-main>.primary, .is-problem #order-main>.secondary, .is-refunded #order-main>.secondary { width: 100%; }
  #order-main .reroll-row>.secondary { flex: 0 0 auto; }
  .is-problem #order-main { padding: 28px; }
  .pay-block { padding: 24px; }
  .admin-login { flex-direction: row; align-items: center; }
  .policy-page { padding-top: 56px; padding-bottom: 64px; }
  #signin-page .card .primary, #signin-page .card .secondary, #signin-page>.secondary, #google-slot>.primary, #unsubscribe-page>.primary, #unsubscribe-page>.secondary { width: auto; align-self: flex-start; }
  .footer-inner { align-items: start; padding-top: 28px; padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
  .footer-brand { justify-self: start; }
  .footer-disclosures { padding-top: 0; }
  .footer-inner nav { grid-template-columns: minmax(0,1fr); border-bottom: 0; padding: 0; }
  .footer-inner nav a { justify-self: start; }
}

/* Desktop */
@media(min-width:1024px) {
  :root { --gutter: 32px; }
  .hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); align-items: center; gap: 56px; padding: 72px 0 24px; }
  .hero h1 { max-width: 470px; }
  .intro { margin-top: 24px; }
  .hero-cta { margin-top: 32px; }
  .sample-strip { margin-top: 0; }
  .sample-strip>h2 { margin-bottom: 16px; }
  .samples { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto auto auto auto; gap: 0 16px; margin: 0; padding: 0; overflow: visible; }
  .samples::after { display: none; }
  .samples li { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
  .samples figure { grid-row: span 4; grid-template-columns: minmax(0,1fr); grid-template-rows: subgrid; column-gap: 0; overflow: visible; background: none; border: 0; border-radius: 0; }
  .sample-media { grid-row: auto; border-radius: 20px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px #000; }
  .sample-media .media-label { top: 22px; left: 10px; }
  .sample-media .player-progress { top: 12px; left: 12px; right: 12px; }
  .duration-pill { left: 10px; }
  .samples figcaption { grid-column: 1; padding: 14px 2px 0; }
  .sample-specs { grid-column: 1; padding: 0 2px; }
  .sample-ai-notice { grid-column: 1; align-self: start; padding: 0 2px; }
  #landing-disclosures .disclosure-lines { grid-template-columns: minmax(0,1fr) minmax(0,1.7fr) minmax(0,.8fr) minmax(0,1fr); gap: 12px 32px; margin-top: 56px; }
  .order-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,520px); gap: 72px; padding: 72px 0 48px; align-items: start; }
  .order-card, .process { max-width: none; margin: 0; }
  .card { padding: 32px; border-radius: 28px; }
  .order-card { padding-bottom: 0; }
  .form-checkout { margin: 28px -32px 0; padding: 28px 32px 32px; }
  .process h2 { font-size: 40px; }
  .process-intro { font-size: 18px; line-height: 1.6; margin: 12px 0 32px; }
  .process-list li { padding-bottom: 32px; }
  #order-page { padding-top: 40px; }
  /* The result, actions, order details and stepper share one reading column. */
  #order-main.approval:has(>.media-frame)>.media-frame { width: min(100%, 360px); }
  #order-main.approval:has(>.media-frame)>.media-frame.ratio-wide { width: 100%; }
  #order-main.approval:has(>.media-frame)>.media-frame.ratio-square { width: min(100%, 480px); }
  #order-main.approval:has(>.media-frame)>.approval-heading { margin-top: 0; }
  #order-main.approval .screen-title { font-size: 44px; }
  /* Finished results read vertically, with Download immediately below the player. */
  #order-main.approval.video-ready:has(>.media-frame) { display: block; max-width: 600px; margin-inline: auto; }
  #order-main.approval.video-ready:has(>.media-frame)>.media-frame { position: relative; top: auto; width: min(100%, 360px); min-width: 0; }
  #order-main.approval.video-ready:has(>.media-frame)>.media-frame.ratio-wide { width: 100%; }
  #order-main.approval.video-ready:has(>.media-frame)>.media-frame.ratio-square { width: min(100%, 480px); }
  #order-page:has(.video-ready)>.order-details, #order-page:has(.video-ready)>.progress-track { max-width: 600px; margin-inline: auto; }
  .policy-page h1 { font-size: 40px; }
}

/* Wide desktop: the order card splits into "describe it" and "agree and pay". */
@media(min-width:1200px) {
  .order-grid { grid-template-columns: minmax(0,264px) minmax(0,1fr); gap: 48px; }
  .process h2 { font-size: 34px; }
  .process-intro { font-size: 17px; margin-bottom: 28px; }
  .order-card { padding: 28px; overflow: visible; }
  #order-form { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1fr); gap: 0 28px; align-items: start; }
  .form-checkout { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 20px; }
}

@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .still-approval-wait, .still-approval-reveal { visibility: visible; opacity: 1; }
}

/* ---------- V2 landing (Nov 26 2026): teal page, cream text, white order card with navy text. ---------- */
h1, h2, h3, .brand { font-family: "Inter Tight", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1 em { color: var(--mint); }
.brand-mark { width: 36px; height: 36px; border: 0; border-radius: 10px; object-fit: cover; }
.site-header { background: #0E5F5C; border-bottom-color: #FBF1E41a; }
.primary { box-shadow: 0 10px 30px -12px #00000080; }
.primary:is(:hover, :focus-visible, :active, :disabled) { background: var(--accent); color: var(--accent-ink); }
/* One column on phones in source order: headline, intro, featured clip, order card. On desktop the clip moves to the right column. */
#landing .hero { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 0; column-gap: 56px; padding: 32px 0 8px; align-items: start; }
#landing .hero > .featured { margin-top: 24px; }
#landing .hero h1 { font-size: clamp(2.6rem, 1.2rem + 5.2vw, 5.4rem); line-height: .95; letter-spacing: -.045em; max-width: 12ch; }
#landing .intro { margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 34rem; }
#landing .order-card { margin-top: 28px; padding: 20px; border: 0; border-radius: 28px; scroll-margin-top: 72px; overflow: visible;
  --fg: #1C2335; --muted: #3F4A5E; --subtle: #4A5468; --note: #3F4A5E; --line: #1C23351f; --line-strong: #1C233533; --ink: #FFFFFF; --paper: #FFFFFF; --panel: #F7F1E8; --well: #F7F1E8; --accent: #1C2335; --accent-ink: #FBF1E4; --checkbox-border: #8F99AA;
  background: #FFFFFF; color: #1C2335; box-shadow: 0 0 0 1.5px #FBF1E480, 0 40px 90px -30px #00000099; }
#landing .order-card a { color: #1C2335; }
#landing .order-card a.primary { color: var(--accent-ink); }
#landing .order-card a.light { color: var(--ink); }
/* Decorative example sentences type into the empty field until the visitor touches it. Never intercepts input or selection. */
.prompt-wrap { position: relative; }
.prompt-typing { position: absolute; inset: 0; margin: 0; pointer-events: none; user-select: none; font-size: 21px; line-height: 1.4; color: #4A5468; overflow: hidden; }
.prompt-typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: #1C2335; animation: prompt-caret 1s steps(1) infinite; }
@keyframes prompt-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .prompt-typing { display: none; } }
#landing .order-card textarea { border: 0; padding: 0; min-height: 0; background: transparent; font-size: 21px; line-height: 1.4; color: #1C2335; resize: none; }
/* Cream selection on the white card was almost invisible, despite native selection working. */
#landing .order-card textarea::selection { background:#1C2335; color:#FBF1E4; }
/* The borderless field keeps a visible navy focus ring of its own, on top of the card glow. */
#landing .order-card textarea:focus-visible { outline: 2px solid #1C2335; outline-offset: 6px; border-radius: 6px; }
#landing .order-card textarea[aria-invalid="true"] { outline:2px solid #bf2020; outline-offset:2px; }
#landing .order-card textarea[aria-invalid="true"]:focus-visible { outline:2px solid #bf2020; outline-offset:2px; box-shadow:0 0 0 6px #1C2335; }
#landing .order-card:focus-within { box-shadow: 0 0 0 2px #9FE0D2, 0 40px 90px -30px #00000099; }
.prompt-wrap { position: relative; margin-top: 6px; }
#landing .field-hint { font-size: 14px; color: #3F4A5E; margin-top: 6px; }
.option-row { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #1C23351f; }
.option-row fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.option-row legend { font-size: 13px; font-weight: 600; color: #4A5468; margin-bottom: 8px; padding: 0; }
.segmented { display: inline-flex !important; gap: 0 !important; padding: 4px; border-radius: 999px; background: #F2EEE7; }
.segmented .choice, .segmented .ratio-choice>span { min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; box-shadow: none !important; flex-direction: row; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: #3F4A5E; }
.segmented .choice::after { display: none; }
.segmented .choice strong, .segmented .choice b { font-size: 14px; font-weight: 600; color: inherit; padding: 0; letter-spacing: 0; }
.segmented .choice:has(input:checked), .segmented .ratio-choice:has(input:checked)>span { background: #1C2335; color: #FBF1E4; }
.segmented .choice:has(input:checked) strong { color: #FBF1E4; }
.segmented .frame-icon { margin: 0; border-color: currentColor; }
.segmented .ratio-choice:has(input:checked) .frame-icon { border-color: #FBF1E4; background: transparent; }
.segmented .frame-icon.vertical { width: 9px; height: 14px; } .segmented .frame-icon.landscape { width: 15px; height: 9px; margin: 0; } .segmented .frame-icon.square { width: 11px; height: 11px; margin: 0; }
#landing .form-checkout { margin: 18px -20px -20px; padding: 18px 20px 20px; border-top: 1px solid #1C23351f; background: #F7F1E8; border-radius: 0 0 28px 28px; }
#landing .consent-row { background: transparent; border: 0; padding: 0; }
#landing .checkout-summary { margin-top: 12px; font-size: 14px; color: #3F4A5E; }
#landing #create-button { margin-top: 12px; }
/* Colours come from the surface: navy inside the white order card, cream on the teal pay block. */
.terms-details { margin-top: 14px; font-size: 14px; color: var(--muted); }
.terms-details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--fg); }
.terms-details .terms-body { padding: 4px 0 2px; }
.terms-details .terms-body a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.terms-details .terms-body p, .terms-details .terms-body div { color: var(--muted); }
.hero-price { margin-top: 16px; font-size: 14px; color: var(--muted); }
.landing-fine { margin-top: 8px; }
.landing-fine p { font-size: 13px !important; color: var(--muted) !important; margin: 2px 0 !important; }
.featured { min-width: 0; }
.featured-clip { position: relative; width: 100%; max-width: 380px; margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 32px; overflow: hidden; background: #1C2335; box-shadow: 0 40px 90px -30px #04201fcc; outline: 1px solid #FBF1E426; }
.featured-clip:empty::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, #9FE0D240, transparent 60%), #1C2335; }
.featured-clip video, .featured-clip .player, .featured-clip figure { width: 100%; height: 100%; margin: 0; }
.featured-clip video { object-fit: cover; }
.featured-clip figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px; border-radius: 18px; background: #1C2335cc; color: #FBF1E4; font-size: 15px; line-height: 1.35; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); line-height: 1; }
.section-head p { color: var(--muted); max-width: 26rem; }
.sample-wall { padding: 72px 0 24px; }
#landing .samples { gap: 18px; }
#landing .samples li { flex: 0 0 min(62%, 236px); }
#landing .samples figure { display: flex; flex-direction: column; gap: 10px; background: transparent; border: 0; overflow: visible; }
#landing .samples figcaption { padding: 0; font-size: 14px; color: var(--muted); }
.process { padding: 72px 0; }
#landing .process-list { display: grid; gap: 28px; }
#landing .process-list li { display: block; padding: 18px 0 0; border-top: 2px solid #FBF1E4; }
#landing .process-list li::before { display: none; }
#landing .process-list li>span { width: auto; height: auto; border: 0; background: transparent; display: block; font-size: 44px; font-weight: 800; line-height: 1; margin-bottom: 10px; }
#landing .process-list h3 { font-size: 22px; }
#landing .process-list h3 small { display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: #FBF1E4; color: #1C2335; font-size: 13px; font-weight: 700; vertical-align: 3px; }
.benefits { padding: 8px 0 64px; }
.benefit-list { list-style: none; margin: 0; padding: 32px 0 0; border-top: 1px solid var(--line); display: grid; gap: 28px; }
.benefit-list h3 { font-size: 19px; margin-bottom: 6px; }
.benefit-list h3::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); margin-bottom: 14px; }
.benefit-list p { color: var(--muted); }
.faq { max-width: 760px; padding: 0 0 72px; }
.faq h2 { font-size: 36px; margin-bottom: 16px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 56px; display: flex; align-items: center; cursor: pointer; font-size: 18px; font-weight: 600; }
.faq details p { color: var(--muted); padding: 0 0 16px; }
.faq details p a { color: #FBF1E4; text-decoration: underline; display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.closing-band { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-bottom: 48px; padding: 32px; border-radius: 32px; background: #1C2335; }
.closing-band img { width: 96px; height: 96px; border-radius: 22px; }
.closing-band div { flex: 1 1 260px; }
.closing-band h2 { font-size: 34px; }
.closing-band p { color: #CFD3DC; margin-top: 6px; }
footer { background: #1C2335; border-top: 0; }
footer .footer-inner { color: #CFD3DC; }
@media (min-width: 640px) { .benefit-list { grid-template-columns: repeat(2, minmax(0,1fr)); } #landing .process-list { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) {
  #landing .hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); column-gap: 56px; padding-top: 48px; }
  #landing .hero > * { grid-column: 1; }
  #landing .hero > .featured { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin-top: 0; }
  .benefit-list { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .featured-clip { margin-right: 0; }
}
@media (max-width: 1023px) { .featured-clip { max-width: 300px; } }
@media (max-width: 639px) { .featured-clip { max-width: 260px; border-radius: 28px; } }
#landing .process-list h3 small:empty { display: none; }
.featured-clip figure { position: relative; }
.featured-top { position: absolute; z-index: 1; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.featured-top .featured-label { position: static; }
.featured-controls { display: flex; gap: 8px; margin-left: auto; }
.featured-sound { min-height: 44px; min-width: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #FBF1E4; color: #1C2335; font-weight: 700; font-size: 14px; }
.featured-sound:hover { background: #FFFFFF; }
.featured-pause { background: #1C2335; color: #FBF1E4; }
.featured-pause:hover { background: #1C2335; }
#landing #order-form { display: block; }
#landing .form-checkout { margin: 18px -20px -20px !important; padding: 18px 20px 20px !important; border: 0; border-top: 1px solid #1C23351f; border-radius: 0 0 28px 28px !important; }
#landing .consent-row input { accent-color: #1C2335; }
#landing .order-card .field-hint + .field-hint { margin-top: 2px; }
/* Flex summaries lose the native marker; draw one so the folded terms and questions read as expandable. */
.terms-details > summary::before, .faq summary::before { content: '▸'; content: '▸' / ''; display: inline-block; width: 1.1em; flex: 0 0 auto; }
.terms-details[open] > summary::before, .faq details[open] > summary::before { content: '▾'; content: '▾' / ''; }

.account-order-list, .account-order-card, .account-order-children { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.account-order-card { margin-block: 16px; padding: 16px; border: 1px solid var(--line-strong); border-radius: 16px; }
.account-order-children { margin-inline-start: 12px; padding-inline-start: 12px; border-inline-start: 2px solid var(--line-strong); }

.version-panel { min-width: 0; max-width: 100%; margin-block: 16px; overflow-wrap: anywhere; }
.version-panel textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.version-panel button, .version-panel a { min-width: 44px; min-height: 44px; }
.version-panel button { white-space: normal; margin: 8px 8px 8px 0; }
.version-panel a { display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.version-panel .saved-prompt { white-space: pre-wrap; overflow-wrap: anywhere; }
.version-assent { display: block; margin-block: 16px; }
.version-assent input { width: 44px; height: 44px; vertical-align: middle; }
/* j9 earlier-still picker: wrapping 2-column grid on phones, up to 4 columns on desktop; 44px targets. */
.still-choices { margin-top: 12px; }
.still-choice-grid { border: 0; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .still-choice-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.still-choice { display: flex; flex-direction: column; gap: 6px; min-height: 44px; min-width: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.still-choice:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.still-choice:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.still-choice input { width: 24px; height: 24px; margin: 0; accent-color: var(--accent); }
.still-choice .media-frame { width: 100%; max-width: none; margin: 0; }
.still-choice-status:empty { display: none; }

/* Contrast audit: ordinary links inherit their surface's readable text in every
   state; button links use their paired palettes above. Disabled controls retain
   full contrast (even though WCAG exempts them), with a dashed state marker.
   Media controls use opaque surfaces because video frames have arbitrary colours. */
button:disabled, a[aria-disabled="true"] { opacity: 1; border-style: dashed; }
.captions-toggle { color: #FBF1E4; }
.final-provider-credit { display: block; margin: 8px 0 0; color: var(--muted); font-size: 14px; }

/* hero-layout: class G layout fixes (hero, sample block, footer, form spacing, value cards) */
.featured[hidden] { display: none !important; }
#landing-disclosures .disclosure-lines:empty, #landing-disclosures:empty { display: none; }
#landing-disclosures:not(:has(*)) { display: none; }
/* No sample video: centre the hero and the order card instead of leaving half the page empty. */
@media (min-width: 1024px) {
  #landing .hero:has(> .featured[hidden]) { grid-template-columns: minmax(0, 640px); justify-content: center; }
  #landing .hero:has(> .featured[hidden]) > * { grid-column: 1; }
  #landing .hero:has(> .featured[hidden]) h1 { max-width: 14ch; margin-inline: auto; text-align: center; }
  #landing .hero:has(> .featured[hidden]) .intro, #landing .hero:has(> .featured[hidden]) .hero-tax { margin-inline: auto; text-align: center; }
}
.hero-tax { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
#landing .order-card textarea { min-height: 58px; }
#landing .order-card .field-hint { margin-top: 4px; }
/* "We do the homework." band, shared by every hero version */
.homework { max-width: 760px; margin: 40px auto 8px; padding: 22px 24px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--well); }
.homework h2 { font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); margin: 0 0 12px; }
.homework-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); line-height: 1.5; }
.homework-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 600; text-decoration: underline; }
/* Value cards: even spacing, no tall air between rows */
.benefit-list { gap: 16px; padding-top: 24px; }
.benefit-list li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--well); }
.benefit-list h3::before { margin-bottom: 10px; }
/* Footer: Help, Terms, Privacy, Refunds on one aligned line, separators from CSS only */
.footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0; border-bottom: 0; }
.footer-inner nav a:nth-child(n+5) { grid-column: auto; }
.footer-inner nav > details { flex: 0 0 auto; }
.footer-inner nav > details[open] { flex-basis: 100%; }
.footer-inner nav > details > summary { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
.footer-inner nav > a { min-width: 0; padding: 0; }
.footer-inner nav > a::before { content: "·"; display: inline-block; margin: 0 12px; color: #8E97AA; }
footer a[hidden] { display: none; }
@media (min-width: 640px) { .footer-inner nav { grid-template-columns: none; justify-content: flex-start; } }
/* ux-core */
button.is-disabled, button[aria-disabled="true"] { opacity:.55; cursor:not-allowed; filter:grayscale(.4); }
.disabled-reason { margin:10px 0 6px; font-weight:600; }
.pay-short-assent { margin:12px 0 4px; }
.approval-tick { display:flex; gap:10px; align-items:flex-start; min-height:44px; margin:4px 0 6px; line-height:1.5; cursor:pointer; }
.approval-tick input { margin-top:4px; flex:none; width:18px; height:18px; }
.order-settings { margin-top:28px; padding-top:12px; border-top:1px solid rgba(127,127,127,.25); display:grid; gap:8px; }
.take-teaser { margin-top:12px; }
.video-footnote { display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; margin-top:12px; font-size:14px; color:var(--muted); }
.video-footnote p { margin:0; font-size:14px; }
.video-footnote a { font-size:14px; }
.video-footnote .ai-chip { margin:0; }
.provider-summary { max-width:600px; margin:16px auto 0; font-size:14px; }

@media (max-width: 420px) {
  .header-inner { gap: 6px; }
  .brand [data-wordmark] { font-size: 0; }
  .brand [data-wordmark]::before { content: "AI Video"; font-size: 19px; }
  .header-actions { gap: 0; }
  .header-actions .text-button { padding-inline: 6px; font-size: 13px; }
  .header-inner .badge { padding-inline: 8px; gap: 6px; font-size: 12px; white-space: nowrap; }
}
@media (max-width: 359px) {
  .brand .brand-mark { width: 28px; height: 28px; }
  .brand [data-wordmark]::before { font-size: 17px; }
  .header-actions .text-button { padding-inline: 4px; font-size: 12px; }
  .header-inner .badge { padding-inline: 6px; gap: 5px; font-size: 11px; }
}
