/* XV website. Layout: one long page, alternating plain and tinted bands, max 1160px wide; two columns that stack on phones.
   COLOUR: every colour is a token, from docs/BRAND.md (colourway E Rose, chosen 21 Nov 2026).
   Tokens: --bg page, --bg2 tinted band, --surf cards, --ink text, --ink2 quiet text, --line rules, --acc brand accent,
   --on text on accent, --tint soft accent wash, --link links/fine lines, --handle the logo's handle, --sel editor selection. */

@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted.woff2) format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/fonts/geist.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/geist-mono.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --r: 4px;
  /* AI brand colours (Alan, 22 Nov): Claude peach #DE7356 for every prompt to Claude and Claude's cursor; ChatGPT #74AA9C; Gemini
     gradient from its logo; Grok black. The light ones take dark plum text (5.8:1 on peach, 6.9:1 on green); --claude-text is a
     darker Claude tone for small text on the page background. */
  --ok: #2E9E6B;
  --claude: #DE7356; --on-claude: #2A0E1A; --claude-text: #B4552F;
  --gpt: #74AA9C; --on-gpt: #2A0E1A; --gemini: linear-gradient(90deg, #9168C0 0%, #5684D1 50%, #1BA1E3 100%); --on-gemini: #000000; /* black: 5.0:1 on the purple end, 5.6:1 mid, 7.3:1 blue end (plum was 4.3:1 on purple) */
  --grok: #000000; --on-grok: #FFFFFF;
}

/* ---- colours: E Rose (Alan, 21 Nov 2026). Source of truth: docs/BRAND.md ---- */
:root {
  --bg: #FBF5F7; --bg2: #F6EBEF; --surf: #FFFFFF; --ink: #2A0E1A; --ink2: #6B4C59; --line: #EEDCE3;
  --acc: #D92A63; --on: #FFFFFF; --tint: #FCE1EA; --link: #C42358; --handle: #D92A63; --sel: #D92A63;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #170A10; --bg2: #1C0D14; --surf: #221019; --ink: #FBEFF3; --ink2: #B898A6; --line: #3A1E2B;
    --acc: #FF5C93; --on: #2A0E1A; --tint: #4A1A2E; --link: #FF8AB0; --handle: #FF7AA6; --sel: #FF5C93; color-scheme: dark; --claude-text: #E39470; --ok: #4CC98E;
  }
}

/* ---- base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -.015em; }
p { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; }
code { font-family: var(--mono); font-size: .86em; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--surf); color: var(--ink); padding: 8px 12px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.center { text-align: center; }
.small { font-size: 14px; color: var(--ink2); }
.note { font-size: 15px; color: var(--ink2); max-width: 70ch; }
.note.center { margin: 0 auto; }

/* the logo: colours come from the tokens */
.logo { display: block; flex: none; }
.lg-ink { fill: var(--ink); }
.lg-handle { stroke: var(--handle); stroke-width: 3; }
.lg-dot { fill: var(--handle); }
.lg-node { fill: none; stroke: var(--handle); stroke-width: 3; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--acc); color: var(--on); font: 600 16px/1 var(--body);
  padding: 15px 22px; border-radius: var(--r); text-decoration: none; border: 1px solid var(--acc); white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink2); filter: none; }
.btn-sm { padding: 10px 14px; font-size: 15px; }
.btn.disabled { color: var(--ink2); cursor: default; }

/* ---- nav ---- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg); }
.nav-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; color: inherit; }
.links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.links a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.links a:not(.btn):hover { color: var(--link); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; color: var(--ink); }
.menu-btn svg { stroke: currentColor; stroke-width: 2; fill: none; display: block; }

/* ---- hero ---- */
.hero { padding-block: 64px 96px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 56px; align-items: center; }
.hero-shot { grid-column: 1 / -1; }
.hero-copy { display: grid; gap: 22px; }
.eyebrow { font: 500 13px/1.4 var(--mono); letter-spacing: .02em; color: var(--ink2); }
h1 { font-size: clamp(44px, 6.4vw, 78px); line-height: .98; font-weight: 800; letter-spacing: -.035em; }
.lead { font-size: 22px; line-height: 1.45; color: var(--ink2); max-width: 40ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- bands ---- */
.band { padding-block: 72px; }
#how .fcards { margin-top: 0; }   /* the last lane already leaves room above the cards */
.band.alt { background: var(--bg2); }
.head { display: grid; gap: 16px; max-width: 62ch; margin-bottom: 32px; }
.head.center { margin-left: auto; margin-right: auto; justify-items: center; }
.head p { color: var(--ink2); font-size: 18px; }
h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.two .head { margin-bottom: 0; }
.two { align-items: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 5px; border-left: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(-45deg); }

/* together animation: ONE artboard (Alan, 21 Nov). 12 s loop.
   0-30% you draw it · 32-40% you ask Claude ("make it dark with a bigger headline") · 42-80% Claude reworks the same artboard:
   background, sun, headline, text, new button · 80-90% done · 92-100% reset */
.together { display: grid; gap: 10px; min-width: 0; }
.tg { width: 100%; height: auto; display: block; overflow: visible; }
.tg-canvas { fill: var(--bg2); stroke: var(--line); }
.tg-lbl { font: 500 11px var(--mono); fill: var(--ink2); }
.tg-cap { font: 500 13px var(--mono); color: var(--ink2); text-align: center; }
.tg-ab { fill: #F6E7D8; filter: drop-shadow(0 2px 5px rgba(42, 14, 26, .18)); animation: tg-ab 12s infinite; }
.tg-sun { fill: #F2A93B; animation: tg-sun 12s infinite; }
.tg-h1, .tg-h2 { fill: #20313F; }
.tg-h1 { animation: tg-h1 12s infinite; } .tg-h2 { animation: tg-h2 12s infinite; }
.tg-sub { fill: #20313F; opacity: .5; animation: tg-sub 12s infinite; }
.tg-btn { fill: #F2A93B; animation: tg-btn 12s infinite; }
.tg-sun, .tg-h1, .tg-h2, .tg-sub, .tg-btn { transform-box: fill-box; }
.tg-sun, .tg-btn { transform-origin: center; }
.tg-h1, .tg-h2, .tg-sub { transform-origin: left top; }
.tg-selbox { fill: none; stroke: var(--sel); stroke-width: 1.5; }
.tg-hdl { fill: #FFFFFF; stroke: var(--sel); stroke-width: 1.5; }
.tg-sel { animation: tg-sel 12s infinite; }
.tg-bub { fill: var(--claude); }
.tg-bubtxt { font: 500 14px var(--body); fill: var(--on-claude); }
.tg-done { font: 600 13px var(--mono); fill: var(--on-claude); text-anchor: end; animation: tg-done 12s infinite; }
.tg-prompt { animation: tg-prompt 12s infinite; }
.tg-arrow-you { fill: var(--ink); stroke: var(--bg); stroke-width: 1.2; }
.tg-tag-you { fill: var(--ink); } .tg-tagtxt-you { font: 600 12px var(--body); fill: var(--bg); text-anchor: middle; }
/* Claude's cursor in Claude's own colour (Alan, 22 Nov), not the Linen XV rose, so it reads as "Claude" at a glance */
.tg-arrow-ai { fill: var(--claude); stroke: var(--bg); stroke-width: 1.2; }
.tg-tag-ai { fill: var(--claude); } .tg-tagtxt-ai { font: 600 12px var(--body); fill: var(--on-claude); text-anchor: middle; }
.tg-you { animation: tg-you 12s infinite; }
.tg-ai { animation: tg-ai 12s infinite; }

@keyframes tg-you {
  0% { transform: translate(560px, 420px); }
  8% { transform: translate(296px, 80px); }
  14% { transform: translate(342px, 128px); }
  18% { transform: translate(174px, 182px); }
  25% { transform: translate(298px, 216px); }
  29% { transform: translate(244px, 250px); }
  34% { transform: translate(432px, 360px); }
  40% { transform: translate(432px, 360px); }
  46%, 100% { transform: translate(560px, 420px); }
}
@keyframes tg-ai {
  0%, 40% { transform: translate(620px, -40px); }
  46% { transform: translate(358px, 50px); }
  52% { transform: translate(318px, 102px); }
  59% { transform: translate(236px, 202px); }
  66% { transform: translate(240px, 250px); }
  73% { transform: translate(218px, 286px); }
  80%, 100% { transform: translate(620px, -40px); }
}
@keyframes tg-ab { 0%, 46% { fill: #F6E7D8; } 50%, 92% { fill: #20313F; } 100% { fill: #F6E7D8; } }
@keyframes tg-sun {
  0%, 7% { transform: scale(0); fill: #F2A93B; }
  14%, 50% { transform: scale(1); fill: #F2A93B; }
  55%, 92% { transform: scale(1.2); fill: #E9604A; }
  100% { transform: scale(0); fill: #F2A93B; }
}
@keyframes tg-h1 {
  0%, 18% { transform: scale(0, 1); fill: #20313F; }
  22%, 56% { transform: scale(1, 1); fill: #20313F; }
  62%, 92% { transform: scale(1.38, 1.3); fill: #FBF3EA; }
  100% { transform: scale(0, 1); fill: #20313F; }
}
@keyframes tg-h2 {
  0%, 21% { transform: scale(0, 1); fill: #20313F; }
  25%, 57% { transform: scale(1, 1); fill: #20313F; }
  63%, 92% { transform: scale(1.38, 1.3); fill: #FBF3EA; }
  100% { transform: scale(0, 1); fill: #20313F; }
}
@keyframes tg-sub {
  0%, 26% { transform: scale(0, 1); fill: #20313F; }
  29%, 63% { transform: scale(1, 1) translateY(0); fill: #20313F; }
  67%, 92% { transform: scale(1, 1) translateY(8px); fill: #FBF3EA; }
  100% { transform: scale(0, 1); fill: #20313F; }
}
@keyframes tg-btn { 0%, 70% { transform: scale(0); } 74%, 92% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes tg-sel { 0%, 16% { opacity: 0; } 18%, 29% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes tg-prompt { 0%, 31% { opacity: 0; transform: translateY(8px); } 35%, 90% { opacity: 1; transform: translateY(0); } 94%, 100% { opacity: 0; transform: translateY(8px); } }
@keyframes tg-done { 0%, 78% { opacity: 0; } 81%, 100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .tg-ab, .tg-sun, .tg-h1, .tg-h2, .tg-sub, .tg-btn, .tg-sel, .tg-prompt, .tg-done, .tg-you, .tg-ai { animation: none; }
  .tg-ab { fill: #20313F; } .tg-sun { fill: #E9604A; transform: scale(1.2); }
  .tg-h1, .tg-h2 { fill: #FBF3EA; transform: scale(1.38, 1.3); } .tg-sub { fill: #FBF3EA; transform: translateY(8px); }
  .tg-sel { opacity: 0; } .tg-you { transform: translate(560px, 420px); } .tg-ai { transform: translate(380px, 250px); }
}

/* connect animation: 8 s loop. 0-14% empty, caret blinking · 15% the link is PASTED in (field flashes) · 30% Add pressed ·
   36-44% tick draws · 44-49% check · "connected" from 34% · 92% reset. (Alan: "nobody is going to write the link") */
.cd { display: grid; gap: 10px; min-width: 0; }
.cd-card { background: var(--surf); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 8px;
  box-shadow: 0 24px 50px -28px rgba(42, 14, 26, .45); }
.cd-head { display: flex; align-items: center; gap: 10px; font: 700 18px var(--display); margin-bottom: 6px; }
.cd-head svg { width: 22px; height: 22px; fill: none; stroke: var(--claude); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cd-label { font: 500 13px var(--mono); color: var(--ink2); }
.cd-field { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font-size: 15px; background: var(--bg); min-height: 42px; display: flex; align-items: center; }
.cd-url { font: 500 14px var(--mono); }
.cd-type { display: inline-block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; vertical-align: bottom; animation: cd-paste 8s infinite; }
.cd-url { animation: cd-flash 8s infinite; }
.cd-caret { display: inline-block; width: 2px; height: 1.1em; background: var(--ink); margin-left: 1px; animation: cd-caret 8s infinite; }
.cd-actions { display: flex; justify-content: flex-end; margin-top: 6px; }
.cd-btn { background: var(--acc); color: var(--on); font: 600 15px/1 var(--body); padding: 11px 20px; border-radius: 6px; animation: cd-btn 8s infinite; }
.cd-done { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); animation: cd-done 8s infinite; }
.cd-done strong { display: block; font-size: 16px; } .cd-done span { color: var(--ink2); font-size: 14px; }
.cd-tick { width: 44px; height: 44px; flex: none; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cd-tick circle { stroke-dasharray: 120; stroke-dashoffset: 120; animation: cd-ring 8s infinite; }
.cd-tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: cd-check 8s infinite; }
@keyframes cd-paste { 0%, 14% { max-width: 0; } 15%, 92% { max-width: 100%; } 100% { max-width: 0; } }
@keyframes cd-flash { 0%, 14% { background: var(--bg); } 15% { background: var(--tint); } 24%, 100% { background: var(--bg); } }
@keyframes cd-caret { 0%, 3%, 7%, 11% { opacity: 1; } 2%, 5%, 9%, 13%, 14%, 100% { opacity: 0; } }
@keyframes cd-btn { 0%, 28% { transform: none; filter: none; } 30% { transform: scale(.94); filter: brightness(.9); } 33%, 100% { transform: none; filter: none; } }
@keyframes cd-done { 0%, 33% { opacity: .25; } 37%, 92% { opacity: 1; } 100% { opacity: .25; } }
@keyframes cd-ring { 0%, 35% { stroke-dashoffset: 120; } 43%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 120; } }
@keyframes cd-check { 0%, 43% { stroke-dashoffset: 30; } 48%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 30; } }
@media (prefers-reduced-motion: reduce) {
  .cd-type, .cd-url, .cd-caret, .cd-btn, .cd-done, .cd-tick circle, .cd-tick path { animation: none; }
  .cd-type { max-width: 100%; } .cd-caret { opacity: 0; } .cd-done { opacity: 1; } .cd-tick circle, .cd-tick path { stroke-dashoffset: 0; }
}

/* screenshots of the real app */
.shot { margin: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--surf);
  box-shadow: 0 30px 60px -30px rgba(42, 14, 26, .45); min-width: 0; }
.shot img { display: block; width: 100%; height: auto; }
.hero-shot { position: relative; overflow: visible; }
.hero-shot img { border-radius: 6px; }
.bubble { position: absolute; right: 4%; bottom: -36px; width: min(340px, 70%); background: var(--surf); border: 1px solid var(--line);
  border-radius: 8px; padding: 14px; display: grid; gap: 10px; font-size: 15px; line-height: 1.4; box-shadow: 0 20px 40px -18px rgba(42, 14, 26, .5); }
.b-you { background: var(--claude); color: var(--on-claude); padding: 10px 12px; border-radius: 6px; margin-left: 16%; }
.b-ai { display: grid; gap: 4px; }
.b-who { font: 600 13px var(--mono); color: var(--claude-text); }

/* post animation (hero screenshot): 10 s loop. 0-12% one post · 12% your prompt · 20% "working" · 28/38/48% posts 2, 3, 4
   appear (copies of ai-adds.jpg clipped to each post; numbers measured from the screenshots, 1800 x 990) · 58% "Done" · 94% reset */
.play { isolation: isolate; }
.play .add { position: absolute; inset: 0; width: 100%; height: auto; opacity: 0; }
.add2 { clip-path: inset(29.8% 48.9% 21.1% 30.9%); animation: add2 10s infinite; }
.add3 { clip-path: inset(29.8% 26.9% 21.1% 52.9%); animation: add3 10s infinite; }
.add4 { clip-path: inset(29.8% 4.8% 21.1% 75.0%); animation: add4 10s infinite; }
.add2, .add3, .add4 { transform-origin: center 55%; }
.play .bubble { animation: pv-bubble 10s infinite; }
.b-ai { grid-template-columns: minmax(0, 1fr); }
.b-work, .b-done { grid-row: 2; grid-column: 1; }
.b-work { color: var(--ink2); animation: pv-work 10s infinite; }
.b-done { animation: pv-done 10s infinite; }
@keyframes add2 { 0%, 28% { opacity: 0; transform: translateY(8px); } 32%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes add3 { 0%, 38% { opacity: 0; transform: translateY(8px); } 42%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes add4 { 0%, 48% { opacity: 0; transform: translateY(8px); } 52%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes pv-bubble { 0%, 10% { opacity: 0; transform: translateY(10px); } 14%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(10px); } }
@keyframes pv-work { 0%, 18% { opacity: 0; } 22%, 55% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes pv-done { 0%, 56% { opacity: 0; } 60%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .play .add, .play .bubble, .b-work, .b-done { animation: none; }
  .play .add, .play .bubble, .b-done { opacity: 1; }
  .b-work { opacity: 0; }
}

/* either of you can start */
.lane { display: grid; gap: 18px; margin-bottom: 56px; }
.lane-title { font-size: 26px; }
.lane-ex { color: var(--ink2); font-weight: 600; }
.lane-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.lane-shots figure { margin: 0; display: grid; gap: 34px; min-width: 0; align-content: start; }
.lane-shots figcaption { display: flex; gap: 10px; align-items: baseline; font-size: 17px; }
.lane-shots figcaption b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: var(--on); font: 600 14px/26px var(--mono); text-align: center; }
.shot.has-bubble { position: relative; overflow: visible; }
.shot.has-bubble img { border-radius: 6px; }
.bubble.sm { position: absolute; left: 4%; bottom: -20px; right: auto; width: auto; max-width: 78%; padding: 10px 14px; margin: 0;
  background: var(--claude); color: var(--on-claude); border-color: var(--claude); font-size: 15px; font-weight: 500; }
.ed-ico { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--handle); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ed-ico circle { fill: var(--handle); stroke: none; }
.ed-ico.px rect { stroke-width: 1.4; }
.ed-ico.px rect.f { fill: var(--handle); }

/* studio animation (Image Studio section): 10 s loop. 0-8% the artboard · 8% the make box · 26% "Making…" · 44% the cut-out
   person appears (image-studio-after.jpg over image-studio-before.jpg; only the person, flash and lines differ) · 50% "Placed" · 94% reset */
.studio { position: relative; overflow: visible; isolation: isolate; }
.studio img { border-radius: 6px; }
.studio .st-after { position: absolute; inset: 0; width: 100%; height: auto; opacity: 0; animation: st-after 10s infinite; }
.sbox { position: absolute; left: -5%; bottom: -44px; width: min(250px, 46%); margin: 0; background: var(--surf); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px; display: grid; gap: 8px; font-size: 13px; line-height: 1.35;
  box-shadow: 0 20px 40px -18px rgba(42, 14, 26, .5); animation: st-box 10s infinite; }
.sbox p { margin: 0; }
.sb-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sb-h b { font-weight: 600; }
.sb-h span { font: 500 12px var(--mono); color: var(--link); }
.sb-prompt { background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; color: var(--ink); }
.sb-opt { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.sb-check { width: 16px; height: 16px; border-radius: 3px; background: var(--acc); position: relative; flex: none; }
.sb-check::after { content: ""; position: absolute; left: 4px; top: 2px; width: 5px; height: 9px; border: solid var(--on); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sb-btn { display: grid; background: var(--acc); color: var(--on); border-radius: 6px; padding: 9px 12px; font-weight: 600; text-align: center; }
.sb-go, .sb-work, .sb-done { grid-area: 1 / 1; }
.sb-go { animation: st-go 10s infinite; } .sb-work { opacity: 0; animation: st-work 10s infinite; } .sb-done { opacity: 0; animation: st-done 10s infinite; }
@keyframes st-box { 0%, 6% { opacity: 0; transform: translateY(10px); } 10%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(10px); } }
@keyframes st-go { 0%, 24% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes st-work { 0%, 25% { opacity: 0; } 28%, 47% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes st-done { 0%, 48% { opacity: 0; } 51%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes st-after { 0%, 42% { opacity: 0; } 48%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .studio .st-after, .sbox, .sb-go, .sb-work, .sb-done { animation: none; }
  .studio .st-after, .sbox, .sb-done { opacity: 1; } .sb-go, .sb-work { opacity: 0; }
}

/* imports: three format cards under the header + screenshot */
.fcards { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fcards li { background: var(--surf); border: 1px solid var(--line); border-radius: 6px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.fcards h3 { font-size: 19px; }
.fcards p { color: var(--ink2); font-size: 15px; }
.fcards .fn { font-size: 13px; margin-top: 4px; }
.fmt { font: 500 13px/1.3 var(--mono); color: var(--ink); background: var(--bg2); border: 1px solid var(--line); border-radius: 3px; padding: 5px 8px; justify-self: start; }
.fmt sup, .fn sup { color: var(--link); line-height: 0; }
.fmt.ico { padding: 6px; display: inline-flex; } .fmt.ico .ed-ico { width: 22px; height: 22px; }
@media (max-width: 900px) { .fcards { grid-template-columns: minmax(0, 1fr); margin-top: 32px; } }

/* connect */
.steps { margin: 8px 0 8px; padding-left: 22px; display: grid; gap: 12px; }
.steps li::marker { font-family: var(--mono); color: var(--ink2); }

/* pricing */
.every { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); padding: 3px; background: var(--surf); }
.every button { font: 600 14px/1 var(--body); background: none; border: 0; color: var(--ink2); padding: 10px 16px; border-radius: 2px; cursor: pointer; }
.every button.on { background: var(--ink); color: var(--bg); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; align-items: stretch; }
.plan { position: relative; background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.plan.best { border: 2px solid var(--acc); }
.plan.soon { background: transparent; border-style: dashed; }
.flag { position: absolute; top: -13px; left: 20px; background: var(--acc); color: var(--on); font: 500 13px/1 var(--mono); padding: 6px 8px; border-radius: 2px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.amt { font: 800 44px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.per, .bill { color: var(--ink2); font-size: 14px; }
.for { font-weight: 500; }
.plan ul { list-style: none; margin: 6px 0 18px; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink2); flex: 1; align-content: start; }
.plan li { padding-left: 18px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--handle); }
.plan li strong { color: var(--ink); }
.plan .btn { width: 100%; }

.flag.soon-flag { background: var(--surf); color: var(--ink2); border: 1px dashed var(--line); }
.notify { display: grid; gap: 8px; margin-top: auto; min-width: 0; }
.notify label { font-weight: 600; font-size: 15px; }
.notify-row { display: grid; gap: 8px; min-width: 0; }
.notify input[type="email"] { width: 100%; min-width: 0; font: 400 16px var(--body); color: var(--ink); background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.notify input[type="email"]:focus { outline: 2px solid var(--link); outline-offset: 1px; }
.notify .btn { width: 100%; }
.notify-msg { font-size: 14px; color: var(--ink2); min-height: 1.2em; }
.notify-msg.ok { color: var(--link); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tokens { max-width: 70ch; margin: 0 auto 16px; display: grid; gap: 8px; text-align: center; }
.tokens p { color: var(--ink2); font-size: 15px; }
.tokens strong { color: var(--ink); }

/* XD import: a quiet footnote, not boxes (Alan, 22 Nov) */
.plan li.xd-li sup, .xd-note sup { color: var(--link); line-height: 0; }
.xd-note { max-width: 72ch; margin: 0 auto 10px; text-align: center; font-size: 14px; color: var(--ink2); }

/* faq */
.narrow { max-width: 780px; }
#faq h2 { margin-bottom: 28px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink2); border-bottom: 2px solid var(--ink2); transform: translateY(-70%) rotate(45deg); }
details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details p { padding: 0 0 22px; color: var(--ink2); max-width: 68ch; }

/* final + footer */
.final { padding-block: 80px; }
.final .wrap { display: grid; gap: 26px; justify-items: center; }
.foot { border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--ink2); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot p { flex-basis: 100%; }

/* ---- smaller screens ---- */
@media (max-width: 1000px) {
}
@media (max-width: 900px) {
  .hero-in, .two { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
  .lane-shots { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .two.flip .shot { order: 2; }
  .menu-btn { display: block; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); }
  .links.open { display: flex; }
  .links a:not(.btn) { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .links .btn { margin-top: 14px; }
  .nav-in { position: relative; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-block: 40px 56px; }
  .band { padding-block: 52px; }
  .lead { font-size: 18px; }
  .ctas .btn { flex: 1 1 100%; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .bubble { position: static; width: auto; margin-top: 12px; }
  .bubble.sm { position: absolute; bottom: -16px; font-size: 14px; }
  .studio { display: grid; }
  .sbox { position: static; width: auto; margin-top: 12px; }
  .hero-shot { display: grid; }
  .plan.best { order: -1; margin-top: 10px; }
}

/* ---- legal pages (terms, privacy, legal): made by site/tools/legal-pages.py from docs/legal/*.md ---- */
.foot-legal { display: flex; gap: 20px; }
.foot nav.foot-legal a { color: var(--ink2); }
.foot nav a[aria-current="page"] { color: var(--link); }
.legal-note { margin-top: 10px; font-size: 14px; color: var(--ink2); text-align: center; }
.doc { padding-block: 48px 80px; }
.doc-in { max-width: 780px; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 24px; }
.draft { background: var(--tint); border-left: 4px solid var(--acc); border-radius: var(--r); padding: 14px 16px; margin-bottom: 28px; font-size: 15px; line-height: 1.5; }
.doc-toc { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 36px; font-size: 15px; }
.doc-toc-h { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); margin-bottom: 10px; }
.doc-toc ol { margin: 0; padding-left: 22px; columns: 2 220px; column-gap: 28px; }
.doc-toc li { break-inside: avoid; padding: 2px 0; }
.doc-toc a { text-decoration: none; }
.doc-toc a:hover { text-decoration: underline; }
.doc-body { overflow-wrap: break-word; }
.doc-body h2 { font-size: 26px; line-height: 1.2; margin: 44px 0 12px; scroll-margin-top: 84px; }
.doc-body h3 { font-size: 19px; line-height: 1.3; margin: 28px 0 8px; scroll-margin-top: 84px; }
.doc-body p, .doc-body ul, .doc-body ol { margin: 0 0 14px; }
.doc-body ul, .doc-body ol { padding-left: 24px; }
.doc-body li { margin-bottom: 6px; }
.doc-body li::marker { color: var(--handle); }
.doc-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0 20px; }
.doc-body mark { background: var(--tint); color: var(--ink); padding: 0 3px; border-radius: 2px; }
.doc-body .table { overflow-x: auto; margin: 6px 0 20px; border: 1px solid var(--line); border-radius: var(--r); }
.doc-body table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
.doc-body th, .doc-body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); min-width: 120px; }
.doc-body th { background: var(--bg2); font-weight: 600; }
.doc-body tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .doc { padding-block: 32px 56px; } .doc-body h2 { font-size: 22px; margin-top: 36px; } }

#image-studio-note { margin-top: 18px; } /* first note under the plans */
