/* The public site. Tokens and fonts follow vdc/ui/app.css; DESIGN.md says what they are for. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/ui/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/ui/fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/ui/fonts/inter-latin-700-normal.woff2) format('woff2'); }

:root {
  color-scheme: light dark;
  --bg: oklch(0.972 0.004 280);
  --sunken: oklch(0.935 0.006 280);
  --line: oklch(0.86 0.008 280);
  --ink: oklch(0.22 0.016 280);
  --muted: oklch(0.45 0.016 280);
  --media: oklch(0.16 0.01 280);
  --accent: oklch(0.52 0.2 280);
  --accent-hover: oklch(0.46 0.2 280);
  --accent-ink: oklch(0.985 0.004 280);
  --accent-text: oklch(0.46 0.2 280);
  --rec: oklch(0.57 0.2 25);
  --planned: oklch(0.66 0.15 65);
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(0.175 0.008 280);
    --sunken: oklch(0.215 0.01 280);
    --line: oklch(0.33 0.012 280);
    --ink: oklch(0.94 0.006 280);
    --muted: oklch(0.74 0.012 280);
    --media: oklch(0.11 0.006 280);
    --accent: oklch(0.68 0.16 280);
    --accent-hover: oklch(0.74 0.14 280);
    --accent-ink: oklch(0.17 0.03 280);
    --accent-text: oklch(0.78 0.12 280);
    --rec: oklch(0.64 0.2 25);
    --planned: oklch(0.78 0.14 70);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-wrap: break-word; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
section { scroll-margin-top: 16px; }

h1, h2, h3 { font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.3vw, 5.6rem); line-height: 1.02; letter-spacing: -0.045em; }
h1 span { display: block; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.06; letter-spacing: -0.035em; }
h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.015em; }
p { max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--muted); }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 6px; z-index: 2; }
.skip:focus { top: 12px; }

.top { display: flex; align-items: center; gap: 12px 28px; padding: 18px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; min-height: 44px; color: var(--ink); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.top nav { display: flex; gap: 24px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 15px; }
.top nav a:hover { text-decoration: underline; }

.button { display: inline-flex; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease); }
.button:hover { background: var(--accent-hover); }

/* Hero: the sentence, then one whole video laid out as its frames */
.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(36px, 4.5vw, 60px); }
.hero p { font-size: clamp(1.06rem, 1.4vw, 1.25rem); line-height: 1.5; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.status { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rec); }
.status.planned::before { background: transparent; border: 2.5px solid var(--planned); }

.reel { background: var(--media); color: oklch(0.8 0.01 280); }
.frames { display: flex; gap: 3px; overflow: hidden; list-style: none; }
.frames li { flex: 1 0 clamp(124px, 9vw, 220px); position: relative; }
.frames img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.frames span { display: block; padding: 8px 0 0 8px; font-size: 13px; font-variant-numeric: tabular-nums; }
.reel figcaption { padding: 12px var(--gutter) 18px; font-size: 15px; }
.reel a { color: inherit; }

.block { padding: clamp(72px, 10vw, 136px) var(--gutter) 0; }

/* How it works */
.steps { list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); }
.steps h3 { margin-bottom: 10px; }
.steps li { grid-column: span 6; }
.steps .make { grid-column: 1 / span 8; }
.steps .approve { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 28px clamp(28px, 4vw, 64px); align-items: center; margin: 0 calc(var(--gutter) * -1); padding: clamp(32px, 5vw, 72px) var(--gutter); background: var(--sunken); }
.steps .approve h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; }
.approve p + p { margin-top: 14px; }
.shot { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.shot img { width: 100%; height: auto; }
.approve figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Examples */
.examples-head { display: grid; gap: 14px; }
.clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); max-width: 1180px; margin-top: clamp(28px, 4vw, 52px); }
.clips video { width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--media); border-radius: 10px; }
.clips figcaption { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.clips b { display: block; color: var(--ink); font-size: 17px; font-weight: 600; }

/* TikTok */
.tiktok { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.tiktok .status { margin: 20px 0; }
.tiktok p + p { margin-top: 14px; }
.access h3 { margin-bottom: 8px; }
.access dl { border-bottom: 1px solid var(--line); }
.access dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.access dt { font-weight: 600; }
.access dd { color: var(--muted); }
.never { margin-top: 40px; }
.never ul { padding-left: 1.2em; }
.never li { margin-top: 8px; }
.never li::marker { color: var(--muted); }

footer { margin-top: clamp(80px, 11vw, 150px); padding: 36px var(--gutter) 44px; background: var(--sunken); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; font-size: 15px; }
footer address { font-style: normal; line-height: 1.7; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: start; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 860px) {
  .hero, .tiktok, .steps .approve { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: clamp(1.9rem, 9.2vw, 4.6rem); }
  .steps li, .steps .make { grid-column: 1 / -1; }
  .top nav { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .clips { grid-template-columns: minmax(0, 320px); gap: 44px; }
  .access dl > div { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
