/* UGC OS landing site (ugc-os.com). Plain CSS on purpose: these pages load nothing from the app.
   The look is the app's and his video graphics': Instrument Serif headlines, Geist text, Apple
   greys, pencil lines, one red underline. Dark, in the app's dark theme (his call, 2026-11-19): its
   zinc greys on one flat dark grey, #1c1c1e, the whole page through (his pick over fading to black). */

:root {
  color-scheme: dark;
  /* The app's dark tokens (src/index.css): white ink, zinc greys. The page is one dark grey and the
     cards sit a step lighter, so they lift off it the way the app's panels do. */
  --ink: #ffffff;
  --ink-2: #d4d4d8;
  --quiet: #a1a1aa;
  --faint: #71717a;
  --line: #333337;
  --hair: rgba(255, 255, 255, 0.08);
  --paper: #1c1c1e;
  --card: #242427;
  /* A step up from a card: the toggles' picked chip, chat bubbles, code, empty media slots. */
  --raised: #323236;
  --well: rgba(255, 255, 255, 0.05);
  /* The pencil's grey strokes, and the stronger ring on the featured card. */
  --pencil: #71717a;
  --pencil-soft: #3f3f46;
  --ring-strong: rgba(255, 255, 255, 0.32);
  --red: #e0553a;
  /* The pricing card's ticks, his call (after SideShift's). */
  --green: #34c759;
  /* Each app's colour, the same as its dock icon in the app (APPS in src/utils/constants.ts). */
  --app-spy: #A855F7; --app-analyzer: #FF5257; --app-characters: #F74F9E; --app-scripts: #24365A;
  --app-voiceovers: #007AFF; --app-broll: #7165FF; --app-playground: #015C52; --app-edit: #F77646; --app-mcp: #F59E0B;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, sans-serif;
  /* Apple's SF Pro for every headline and the hero's lines (his call, 2026-11-18). It ships on Apple
     devices only and can't be served from the web, so everyone else gets their system font. */
  --sf-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', system-ui, 'Segoe UI', Roboto, sans-serif;
  --sf: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', system-ui, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1160px;
  --gutter: 24px;
  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* His grey-to-white gradient (from his own reference image), softened 2026-11-18.
     --grey-top is its top colour; the hero, inner pages and the closing card all start from it. */
  --grey-top: var(--paper);
  /* The home hero is as soft as the closing card (his call, 2026-11-19: the full grey read too heavy). */
  --hero-top: var(--paper);
  /* Flat now: the page is one grey top to bottom (his call, 2026-11-19). Kept as gradients so a
     softer top can come back in one line. */
  --grad-hero: linear-gradient(180deg, var(--hero-top) 0%, var(--paper) 100%);
  --grad-page: linear-gradient(180deg, var(--grey-top) 0%, var(--paper) 100%);
  /* The closing card's, much lighter than the hero's (2026-11-18: the full grey read too heavy). */
  --grad-card: linear-gradient(180deg, #2c2c2f 0%, #262629 50%, #222225 100%);
  /* The footer's huge faded name: a hairline grey melting into the page. */
  --grad-mark: linear-gradient(180deg, #38383c 0%, #29292c 55%, var(--paper) 100%);
  /* The top bar: 50px tall with 12px of air above and below it (Interview Coder's spacing). The hero
     and inner page tops tuck under it. */
  --nav-h: 74px;
}
::selection { background: rgba(255, 255, 255, 0.22); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
/* Headlines are SF Pro, semibold and tight, like Apple's pages. A word or two in a headline goes in the
   serif's italic (<em>, or the red-underlined words) for emphasis: the brand's voice inside Apple's
   type. The serif sits smaller at the same size, so it's scaled up to match SF Pro's capitals. */
h1, h2, h3 { font-family: var(--sf-display); font-weight: 600; margin: 0; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; }
:is(h1, h2, h3) :is(em, .underline) {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; letter-spacing: -0.005em; line-height: 0.9;
}
p { margin: 0; }
.eyebrow {
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.2;
  color: var(--quiet); margin-bottom: 12px;
}
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 620px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* The pencil line under a section headline, and the one red underline. Both are SVG paths drawn
   with a slight wobble (the #pencil filter in each page) so they read as drawn, not ruled. */
.pencil-rule { display: block; width: 180px; height: 12px; margin: 18px 0 0; color: var(--pencil-soft); }
.center .pencil-rule { margin-left: auto; margin-right: auto; }
.underline { position: relative; white-space: nowrap; display: inline-block; }
.underline svg {
  position: absolute; left: -2%; bottom: -0.14em; width: 104%; height: 0.32em;
  overflow: visible; color: var(--red); pointer-events: none;
}
.underline path, .pencil-rule path { fill: none; stroke: currentColor; stroke-linecap: round; }
.underline path { stroke-width: 5; }
.pencil-rule path { stroke-width: 1.6; }
/* The underline draws in once, left to right. A wipe, not a stroke-dash: the stretched SVG keeps
   its stroke width with non-scaling-stroke, which throws the dash maths off. */
.draw { clip-path: inset(-50% 100% -50% 0); animation: draw 0.9s var(--ease) 0.35s forwards; }
@keyframes draw { to { clip-path: inset(-50% -4% -50% 0); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; padding: 0 30px; border-radius: 999px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.98); }
/* The main button. On the dark site it's the app's white button with black text (the class name is
   from the light site, kept so the pages and split tests don't change). */
.btn-dark {
  color: #000;
  background: linear-gradient(180deg, #ffffff 0%, #e4e4e7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 0.5px rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 16px rgba(0, 0, 0, 0.35);
}
.btn-dark:hover { background: linear-gradient(180deg, #ffffff 0%, #f4f4f5 100%); }
.btn-light {
  color: var(--ink); background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn .arrow { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- nav ---------- */
/* Laid out like iPhone Creator Kit's, sitting 12px down from the top like Interview Coder's; clear over
   the hero, then once the page scrolls it fills in as a frosted pill (2026-11-19): a touch narrower,
   rounded, a hairline ring. The corners are always round; at the top there's no fill to show them. */
/* The 12px is the header's own padding, not the bar's margin: a margin would slip out of the sticky
   header and the bar would stick flush to the top. */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); padding-top: 12px; }
.nav-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px;
  width: 100%; max-width: var(--wrap); height: 50px; margin: 0 auto; padding: 0 var(--gutter);
  border-radius: 999px; background-color: transparent;
  box-shadow: 0 0 0 1px transparent, 0 12px 24px -6px transparent;
  transition: max-width 0.5s var(--ease), width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease),
    padding 0.5s var(--ease), background-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled .nav-inner, .nav.open .nav-inner {
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter)); padding: 0 7px 0 22px;
  background-color: rgba(44, 44, 47, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 24px -6px rgba(0, 0, 0, 0.6);
}
/* The logo is cropped to the oval itself (logo-oval.png), so the gap is the real gap to the name. */
.brand { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.brand img { width: auto; height: 21px; }
.brand span { font-family: var(--sans); font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: -0.02em; }
/* The links sit in the middle of the bar, whatever the logo and buttons measure (the grid's equal
   outer columns), in a quiet grey that darkens on hover: iPhone Creator Kit's layout (2026-11-19). */
.nav-links { display: flex; gap: clamp(24px, 2.6vw, 38px); font-size: 15px; font-weight: 400; color: var(--quiet); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { grid-column: 3; display: flex; align-items: center; justify-self: end; gap: 24px; font-size: 15px; font-weight: 500; }
.nav-cta .signin { color: var(--ink); }
.nav-cta .signin:hover { color: var(--ink); }
.nav-cta .btn-sm { height: 38px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; width: 38px; height: 38px; border-radius: 999px; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h);
  background: var(--grad-hero);
}
/* Everything centred, then the video wide underneath (2026-11-19). */
.hero-head { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 36px 48px; }
.hero-media { max-width: 1040px; padding-bottom: 72px; }
.pill-new {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  font-size: 14px; color: var(--ink); padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s;
}
.pill-new:hover { background: rgba(255, 255, 255, 0.1); }
.pill-new b {
  font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 3px 8px; border-radius: 999px;
}
.hero h1 { color: var(--ink); }
/* The hero headline is two lines, always: each line is a span that never wraps, and the size follows the
   screen so the longer line ("Scale Your Ecom Brand") fits it at every width. */
.hero h1.two-lines { font-size: clamp(28px, 4.8vw, 62px); }
.hero h1.two-lines > span { display: block; white-space: nowrap; }
.hero .lede { font-family: var(--sf); font-size: 18px; letter-spacing: -0.01em; color: var(--ink-2); margin-top: 20px; max-width: 520px; }
.hero .hero-actions { justify-content: center; margin-top: 28px; }
.watch { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-family: var(--sf); font-size: 15px; color: var(--ink-2); }
.watch:hover { color: var(--ink); }
.watch svg { width: 18px; height: 18px; }
.withouts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 24px; font-family: var(--sf); font-size: 14px; color: var(--quiet); }
.withouts span { display: inline-flex; align-items: center; gap: 7px; }
.withouts svg { width: 15px; height: 15px; color: var(--red); }
.withouts path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 30px; }

.vsl {
  position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 60px -18px rgba(0, 0, 0, 0.8);
}
.vsl wistia-player, .vsl iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.vsl-reel { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.vsl-reel video { width: 100%; height: 100%; object-fit: cover; }

.caption { margin: 0 0 22px; }
.logos-window {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos-track { display: flex; width: max-content; animation: logos 45s linear infinite; }
.logos-track span {
  flex: 0 0 auto; padding: 0 30px; white-space: nowrap;
  font-family: var(--sans); font-weight: 600; font-size: 24px; letter-spacing: -0.03em; color: var(--faint);
}
@keyframes logos { to { transform: translateX(-50%); } }
.caption { text-align: center; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.2; color: var(--quiet); }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section.tight { padding-top: 56px; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .lede { margin-top: 22px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 30px;
  box-shadow: 0 0 0 1px var(--hair);
}
.card h3 { margin: 20px 0 8px; }
.card p { color: var(--ink-2); font-size: 16px; }
.icon { width: 44px; height: 44px; color: var(--ink); }
/* Copy broken into short lines you can skim, each behind a small pencil mark. */
.points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.points svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--faint); }
.points path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon path, .icon circle, .icon rect, .icon line, .icon polyline, .icon ellipse {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.icon .red { stroke: var(--red); }

/* ---------- benefits: the sideways card row ---------- */
/* Sandcastles' feature row (2026-11-19): a picture over a short headline, sliding sideways, the
   headline centred with two arrows at its right. The row runs edge to edge of the screen but its
   first card lines up with the page's edge (--edge), and snaps one card at a time. */
.sol-head { display: grid; grid-template-columns: 1fr minmax(0, 760px) 1fr; align-items: end; gap: 20px; margin-bottom: 48px; }
.sol-head .section-head { grid-column: 2; margin-bottom: 0; }
.sol-arrows { display: flex; gap: 10px; justify-self: end; }
.sol-arrows button {
  width: 46px; height: 46px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--card); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: opacity 0.2s, background-color 0.2s;
}
.sol-arrows button:hover { background: var(--raised); }
.sol-arrows button:disabled { opacity: 0.35; cursor: default; }
.sol-arrows svg { width: 18px; height: 18px; }
.sol-track {
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: 2px var(--edge) 8px; scrollbar-width: none;
}
.sol-track::-webkit-scrollbar { display: none; }
.sol-card {
  flex: 0 0 auto; width: calc((min(100vw, var(--wrap)) - 2 * var(--gutter) - 36px) / 3); scroll-snap-align: start;
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--hair);
  display: flex; flex-direction: column;
}
.sol-pic { position: relative; aspect-ratio: 5 / 4; background: var(--paper); overflow: hidden; border-bottom: 1px solid var(--hair); }
.sol-pic svg.ink { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.sol-pic svg.ink path { fill: none; stroke: var(--pencil); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sol-pic svg.ink .red { stroke: var(--red); stroke-width: 3; }
.sol-pic .label { font-size: 18px; }
.sol-pic .phone { border-radius: 16px; box-shadow: 0 0 0 4px #1c1c1f, 0 0 0 5px #3f3f46, 0 18px 36px -18px rgba(0, 0, 0, 0.8); }
.sol-pic .tile { border-radius: 10px; }
/* A cost crossed out in pencil, like the receipt's $4,500. */
.label.struck { color: var(--quiet); font-size: 24px; }
.label.struck svg { position: absolute; left: -6%; top: 42%; width: 112%; height: 12px; overflow: visible; color: var(--ink); }
.label.struck path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.app-grid { position: absolute; inset: 0; margin: auto; width: fit-content; height: fit-content; display: grid; grid-template-columns: repeat(4, auto); gap: 16px; }
.app-grid .app-icon { width: 56px; height: 56px; border-radius: 15px; }
.app-grid .app-icon svg { width: 25px; height: 25px; }
.sol-text { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.sol-title { display: flex; align-items: center; gap: 12px; }
.sol-title .app-icon { width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0; }
.sol-title .app-icon svg { width: 17px; height: 17px; }
.sol-text h3 { font-size: 20px; }
.sol-text p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.sol-text .more { margin-top: auto; padding-top: 12px; font-size: 14px; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.sol-text .more:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Scripts' picture: a page of the script, its hook written out and the rest in pencil. */
.sol-pic .doc {
  position: absolute; left: 50%; top: 50%; width: 66%; transform: translate(-50%, -50%) rotate(-1.5deg);
  padding: 16px 18px 18px; border-radius: 14px; background: var(--card);
  box-shadow: 0 0 0 1px var(--hair), 0 10px 24px -14px rgba(0, 0, 0, 0.8);
}
.doc-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--paper); color: var(--quiet); box-shadow: inset 0 0 0 1px var(--hair); }
.sol-pic .doc p { margin: 10px 0 12px; font-family: var(--serif); font-size: 19px; line-height: 1.2; color: var(--ink); }
.sol-pic .doc svg { display: block; width: 100%; height: 40px; color: var(--pencil-soft); }
.sol-pic .doc path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
/* Voiceovers' picture: the voice names under a pencil wave. */
.voices { position: absolute; left: 0; right: 0; bottom: 14%; display: flex; justify-content: center; gap: 8px; }
.voices span { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); color: var(--ink-2); }
/* MCP's picture: asking the AI, and its answer. */
.chat-pic { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 9%; }
.chat-pic .bubble-me { margin: 0; }
.chat-pic .bubble-ai { margin: 0; align-self: flex-start; max-width: 85%; background: var(--card); border-radius: 18px 18px 18px 4px; padding: 10px 14px; box-shadow: 0 0 0 1px var(--hair); }

/* ---------- how it works ---------- */
.hiw { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.steps { display: flex; flex-direction: column; }
.step {
  text-align: left; padding: 22px 0; border-top: 1px solid var(--line); opacity: 0.42;
  transition: opacity 0.3s;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { opacity: 0.7; }
.step.active { opacity: 1; }
.step .num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--quiet); }
.step h3 { font-size: 21px; margin-top: 4px; }
.step p { color: var(--ink-2); font-size: 16px; max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), margin 0.4s var(--ease); }
.step.active p { max-height: 120px; margin-top: 8px; }

.stage {
  position: relative; aspect-ratio: 1 / 1; border-radius: 28px; background: var(--card);
  box-shadow: 0 0 0 1px var(--hair); overflow: hidden;
}
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s; }
.scene.active { opacity: 1; visibility: visible; }
.scene svg.ink { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.scene svg.ink path, .scene svg.ink ellipse { fill: none; stroke: var(--pencil); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scene svg.ink .red { stroke: var(--red); stroke-width: 3; }
.label {
  position: absolute; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.1;
  color: var(--ink-2); white-space: nowrap;
}
.phone {
  position: absolute; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #111;
  box-shadow: 0 0 0 5px #1c1c1f, 0 0 0 6px #3f3f46, 0 24px 48px -20px rgba(0, 0, 0, 0.8);
}
.phone video, .phone img, .tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile { position: absolute; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--raised); box-shadow: 0 0 0 1px var(--hair), 0 10px 24px -14px rgba(0, 0, 0, 0.8); }

/* ---------- ad styles ---------- */
/* The styles as a list down the left (the picked one on a white tab with an ink edge), the ad playing
   in a phone on the right. One pane shows at a time; the others fade out. */
.styles { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.style-tabs { display: flex; flex-direction: column; }
.style-tabs button {
  text-align: left; padding: 17px 22px; font-size: 17px; color: var(--quiet); border-radius: 0 14px 14px 0;
  border-bottom: 1px solid var(--hair); box-shadow: inset 3px 0 0 transparent;
  transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.style-tabs button:hover { color: var(--ink); }
.style-tabs button[aria-selected='true'] {
  color: var(--ink); font-weight: 500; background: var(--card); border-bottom-color: transparent;
  box-shadow: inset 3px 0 0 var(--ink), 0 0 0 1px var(--hair);
}
.style-stage {
  position: relative; aspect-ratio: 6 / 5; border-radius: 28px; background: var(--card);
  box-shadow: 0 0 0 1px var(--hair); overflow: hidden;
}
.style-pane { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s; }
.style-pane.active { opacity: 1; visibility: visible; }
.style-pane .phone { top: 7%; left: 50%; height: 86%; width: auto; transform: translateX(-50%); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature { background: var(--card); border-radius: 22px; padding: 26px; box-shadow: 0 0 0 1px var(--hair); display: flex; flex-direction: column; }
.feature h3 { font-size: 18px; margin: 18px 0 6px; }
.feature p { font-size: 15px; color: var(--ink-2); }
.feature .more { margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.feature .more:hover { text-decoration: underline; text-underline-offset: 3px; }
.feature .icon { width: 38px; height: 38px; }
/* The app's own dock icon: its colour as a solid tile, dark to colour across, a lit top edge and a soft
   shadow, under its white symbol (GlassTile's chip in src/components/AppGlassTile.tsx). */
.app-icon {
  width: 44px; height: 44px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
  background-color: var(--app);
  background-image: linear-gradient(to right, color-mix(in oklab, var(--app) 90%, black), var(--app));
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 3px 8px -2px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.25);
}
.app-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- value ---------- */
.value { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
/* A receipt you could print: the month's costs in serif, a pencil rule, the total crossed out in
   pencil, and UGC OS on its own grey band with the red underline. */
.receipt {
  background: var(--card); border-radius: 28px; padding: 34px 40px 32px; box-shadow: 0 0 0 1px var(--hair);
  font-family: var(--serif);
}
.receipt-head { font-style: italic; font-size: 20px; line-height: 1.2; color: var(--quiet); margin-bottom: 8px; }
.receipt .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; font-size: 26px; line-height: 1.2; }
.receipt .row em { color: var(--ink-2); }
.receipt .row .amt { font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt .rule { width: 100%; height: 10px; margin: 10px 0 6px; color: var(--pencil-soft); }
.receipt .rule path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.receipt .total { font-size: 30px; }
.receipt .struck { position: relative; color: var(--faint); }
.receipt .struck svg { position: absolute; left: -3%; top: 46%; width: 106%; height: 12px; overflow: visible; color: var(--ink); }
.receipt .struck path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.receipt .ours {
  align-items: center; margin: 18px -18px 0; padding: 16px 18px 18px; border-radius: 18px; background: var(--paper);
}
.receipt .ours .brand img { height: 26px; }
.receipt .ours .brand span { font-size: 26px; }
.receipt .ours .amt { display: inline-flex; align-items: baseline; gap: 6px; }
.receipt .ours .underline { font-size: 48px; line-height: 1; }
.receipt .ours .underline svg { height: 0.22em; bottom: -0.16em; }
.receipt .ours .per { font-family: var(--sans); font-size: 15px; color: var(--quiet); }
.receipt small { display: block; margin-top: 16px; font-family: var(--sans); font-size: 14px; color: var(--quiet); }
.perks { display: flex; flex-direction: column; gap: 26px; margin-top: 36px; }
.perk { display: flex; gap: 18px; }
.perk .icon { width: 36px; height: 36px; flex-shrink: 0; margin-top: 2px; }
.perk h3 { font-size: 19px; }
.perk p { color: var(--ink-2); font-size: 16px; margin-top: 4px; }

/* ---------- compare ---------- */
/* One grid, each product a column card; the columns share the grid's rows (subgrid), so a label that
   wraps keeps every row level across all three. Ours is lifted like the featured plan. */
.vs {
  display: grid; grid-template-columns: minmax(0, 1.9fr) repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(7, auto);
  column-gap: 12px; margin: 0 auto;
}
.vs-col {
  grid-row: 1 / -1; display: grid; grid-template-rows: subgrid;
  background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--hair); overflow: hidden;
}
.vs-ours { box-shadow: 0 0 0 1.5px var(--ring-strong), 0 24px 48px -28px rgba(0, 0, 0, 0.9); }
.vs-cell {
  display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 12px 16px;
  font-size: 15px; line-height: 1.3; color: var(--ink-2); text-align: center;
}
.vs-cell + .vs-cell { border-top: 1px solid var(--hair); }
.vs-feat .vs-cell { justify-content: flex-start; text-align: left; padding-inline: 24px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.vs-icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--quiet); }
.vs-icon path, .vs-icon rect, .vs-icon circle { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vs-head { min-height: 68px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.vs-feat .vs-head { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; color: var(--quiet); }
.vs-head .brand img { height: 20px; }
.vs-head .brand span { font-size: 17px; }
/* The other platform's name, blurred out: a mark and a word you can't read. */
.vs .them { width: 92px; height: 22px; overflow: visible; filter: blur(3.5px); }
.vs .them rect { fill: var(--ink-2); }
.vs .tick { width: 22px; height: 22px; }
.vs .tick circle { fill: var(--green); }
.vs .tick path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vs .mark { width: 18px; height: 18px; color: var(--ink); }
.vs .mark.no { color: var(--faint); }
.vs .mark path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- pricing ---------- */
.toggle {
  display: inline-flex; padding: 4px; border-radius: 999px; background: var(--well); gap: 2px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.45), inset 0 0 0 1px var(--hair);
}
.toggle button { height: 38px; padding: 0 18px; border-radius: 999px; font-size: 15px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.toggle button[aria-pressed='true'] { background: linear-gradient(to right, #38383c, #444449); color: var(--ink); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 2px 8px rgba(0, 0, 0, 0.55); }
.save-note { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
/* One card, or the tiers side by side: Free, then the paid plan (featured). */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 540px; margin: 34px auto 0; }
.pricing.tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; }
.plan { background: var(--card); border-radius: 28px; padding: 34px; box-shadow: 0 0 0 1px var(--hair); display: flex; flex-direction: column; }
.plan.featured { box-shadow: 0 0 0 1.5px var(--ring-strong), 0 24px 48px -28px rgba(0, 0, 0, 0.9); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { font-size: 24px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); white-space: nowrap; }
.plan .desc { color: var(--quiet); font-size: 15px; margin-top: 6px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 4px; font-family: var(--serif); }
.price .was { font-size: 34px; color: var(--faint); text-decoration: line-through; text-decoration-thickness: 2px; }
.price .now { font-size: 64px; line-height: 1; letter-spacing: -0.02em; }
.price .per { font-family: var(--sans); font-size: 15px; color: var(--quiet); }
.billed { font-size: 14px; color: var(--quiet); min-height: 21px; }
.billed b { color: var(--red); font-weight: 600; }
.plan .btn { margin-top: 24px; }
.includes { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.includes li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.includes svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.includes circle { fill: var(--green); }
/* The free plan's ticks are quiet, so the paid plan's green reads as the step up. */
.plan.free .includes circle { fill: var(--faint); }
/* The Free card's button for someone already on it (the app's plans screen): a pill that does nothing. */
.btn-current { color: var(--quiet); background: transparent; box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
.btn-current:active { transform: none; }
.includes path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fine { max-width: 640px; margin: 26px auto 0; text-align: center; font-size: 14px; color: var(--quiet); }
.fine a { text-decoration: underline; text-underline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-side .btn { margin-top: 28px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--well); gap: 2px; margin-bottom: 14px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.45), inset 0 0 0 1px var(--hair); }
.tabs button { height: 36px; padding: 0 18px; border-radius: 999px; font-size: 15px; color: var(--ink-2); transition: background-color 0.2s, color 0.2s; }
.tabs button[aria-selected='true'] { background: linear-gradient(to right, #38383c, #444449); color: var(--ink); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 2px 8px rgba(0, 0, 0, 0.55); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.qa summary .plus::before, .qa summary .plus::after {
  content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 1.6px; border-radius: 2px;
  background: var(--ink); transition: transform 0.3s var(--ease);
}
.qa summary .plus::after { transform: rotate(90deg); }
.qa[open] summary .plus::after { transform: rotate(0deg); }
.qa .a { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 16px; }
.qa .a a { text-decoration: underline; text-underline-offset: 3px; }
.qa .a p + p, .qa .a p + ol { margin-top: 10px; }

/* ---------- final cta ---------- */
.final { padding: 40px 0 120px; }
.final-card {
  border-radius: 36px; padding: 80px 40px; text-align: center; color: var(--ink);
  background: var(--grad-card);
  box-shadow: 0 0 0 1px var(--hair);
}
.final-card .lede { color: var(--ink-2); margin: 20px auto 0; }
.final-card .hero-actions { justify-content: center; }
/* The home page's closing card, Sandcastles' shape (2026-11-19): words left, the walkthrough right. */
.final-card.split {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center;
  padding: 40px; text-align: left;
}
.final-card.split .final-text { position: relative; padding: 72px 0 24px 16px; }
.final-card.split .lede { margin: 20px 0 0; }
.final-card.split .hero-actions { justify-content: flex-start; }
/* The pencil note over the words, its arrow curling toward the video. */
/* The pencil note: level, above the headline at the column's right, its arrow curving down into the
   gap toward the video, clear of the words. */
.watch-note {
  position: absolute; z-index: 2; right: -58px; top: 4px; display: flex; align-items: flex-start; gap: 4px;
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1; color: var(--quiet); white-space: nowrap;
}
.watch-note svg { width: 74px; height: 44px; margin-top: 6px; color: var(--pencil); overflow: visible; }
.watch-note path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.walkthrough {
  position: relative; aspect-ratio: 16 / 11; border-radius: 24px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 60px -18px rgba(0, 0, 0, 0.8);
}
.walkthrough wistia-player { position: absolute; inset: 0; width: 100%; height: 100%; }
.walkthrough-reel { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; opacity: 0.55; }
.walkthrough-reel img { width: 100%; height: 100%; object-fit: cover; }
.walkthrough-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px 0 20px; border-radius: 999px;
  font-size: 17px; font-weight: 500; color: #fff; white-space: nowrap;
  background: rgba(29, 29, 31, 0.72); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.walkthrough-play:not(:disabled):hover { background: rgba(29, 29, 31, 0.86); }
.walkthrough-play:not(:disabled):active { transform: translate(-50%, -50%) scale(0.98); }
.walkthrough-play:disabled { cursor: default; }
.walkthrough-play svg { flex-shrink: 0; width: 18px; height: 18px; fill: currentColor; }

/* ---------- footer ---------- */
/* SideShift's footer shape (2026-11-18): a big wordmark with the line and a small dark button under
   it, plain bold column names, roomy links, and the name again huge and faded, cut off at the foot. */
.footer { padding: 96px 0 0; font-size: 16px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer .brand { gap: 9px; }
.footer .brand img { height: 34px; }
.footer .brand span { font-size: 30px; letter-spacing: -0.03em; }
.footer .tagline { margin-top: 16px; color: var(--quiet); font-size: 17px; }
.footer-brand .btn { margin-top: 28px; }
.footer h4 { margin: 0 0 22px; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.footer ul a { color: var(--ink-2); transition: color 0.2s; }
.footer ul a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 15px; color: var(--quiet);
}
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: var(--ink); }
.footer-mark {
  max-width: var(--wrap); margin: 48px auto 0; padding: 0 var(--gutter);
  height: 0.62em; overflow: hidden; text-align: center; white-space: nowrap;
  font-family: var(--sans); font-weight: 600; font-size: clamp(96px, 23vw, 300px); line-height: 0.9; letter-spacing: -0.05em;
  background: var(--grad-mark); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; pointer-events: none;
}

/* ---------- inner pages ---------- */
.page-hero { margin-top: calc(-1 * var(--nav-h)); padding: 136px 0 72px; background: var(--grad-page); }
.page-hero .lede { margin-top: 22px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 28px; margin: 56px 0 14px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }

/* ---------- Safari's top bar colour ----------
   iOS 26 Safari tints the strip behind the clock from a fixed element's background-color within a
   few px of the top edge and over most of the width. site.js adds this strip, in the page's colour
   there, only over the hero and only on touch screens (desktop browsers read theme-color), so it
   reads as part of Safari's bar. Visible and hit-testable on purpose: at opacity 0 with
   pointer-events: none Safari skipped it and fell back to the body's paper. */
.edge-tint { position: fixed; top: 0; left: 0; width: 100%; height: 6px; z-index: 100; }

/* ---------- sticky button ----------
   iOS 26 Safari turns its see-through address bar into a solid band, cutting the page off, when a
   fixed element sits under it, faded out or not. So the hidden button is visibility: hidden (once
   its fade ends), which Safari doesn't see, and the shown one carries paper as its background-color
   (painted under its own gradient, never seen): if Safari still tints its bar from it, the bar is
   the page's colour, not a grey band. */
.sticky-cta {
  position: fixed; z-index: 40; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom));
  background-color: var(--paper);
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none; visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.25s, visibility 0s linear 0.35s;
}
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.sticky-cta.show:active { transform: translate(-50%, 0) scale(0.98); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .hero h1.two-lines { font-size: clamp(28px, 8.4vw, 64px); }
  .sol-card { width: calc((100vw - 2 * var(--gutter) - 18px) / 2); }
  /* No room for a centre column with the arrows beside it: the headline moves left. */
  .sol-head { grid-template-columns: minmax(0, 1fr) auto; }
  .sol-head .section-head { grid-column: 1; text-align: left; margin-left: 0; }
  .sol-head .pencil-rule { margin-left: 0; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hiw, .value, .faq { grid-template-columns: 1fr; gap: 36px; }
  .hiw .stage { order: -1; } /* the picture above the steps, so a tapped step shows in view */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .final-card.split { grid-template-columns: 1fr; text-align: center; }
  .final-card.split .lede { margin-inline: auto; }
  .final-card.split .hero-actions { justify-content: center; }
  .final-card.split .final-text { padding: 24px 0 0; }
  .watch-note { display: none; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  :root { --nav-h: 64px; }
  .nav { padding-top: 8px; }
  .nav-inner { gap: 12px; padding: 0 8px 0 var(--gutter); }
  .nav.scrolled .nav-inner, .nav.open .nav-inner { padding: 0 6px 0 16px; }
  html { scroll-padding-top: 76px; }
  .nav-cta .signin, .nav-cta .btn { display: none; }
  .nav-cta { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .mobile-menu {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 8px); padding: 6px 20px 20px;
    border-radius: 24px; background: rgba(44, 44, 47, 0.97);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 40px -16px rgba(0, 0, 0, 0.8);
  }
  .nav.open .mobile-menu { display: block; }
  .mobile-menu a:not(.btn) { display: block; padding: 13px 0; border-bottom: 1px solid var(--hair); font-size: 17px; }
  .mobile-menu a:not(.btn):last-of-type { border-bottom: 0; }
  .mobile-menu .btn { margin-top: 18px; }
  .hero-head { padding-block: 20px 32px; }
  .hero-media { padding-bottom: 44px; }
  .vsl { border-radius: 16px; }
  .sol-head { grid-template-columns: 1fr; margin-bottom: 36px; }
  /* Ad styles on a phone: the styles become a row of chips you swipe, over the ad. */
  .styles { grid-template-columns: 1fr; gap: 18px; }
  .style-tabs {
    flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter);
  }
  .style-tabs::-webkit-scrollbar { display: none; }
  .style-tabs button {
    flex: 0 0 auto; padding: 9px 16px; font-size: 15px; white-space: nowrap; border: 0; border-radius: 999px;
    background: var(--card); box-shadow: 0 0 0 1px var(--hair);
  }
  .style-tabs button[aria-selected='true'] { box-shadow: 0 0 0 1.5px var(--ink); }
  .style-stage { aspect-ratio: 4 / 5; border-radius: 24px; }
  /* Five columns on a phone: the labels lose their icons and shrink, the other columns hold one mark. */
  .vs { grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); column-gap: 4px; }
  .vs-col { border-radius: 14px; }
  .vs-cell { min-height: 52px; padding: 8px 2px; }
  .vs-feat .vs-cell { padding-inline: 10px; font-size: 13px; line-height: 1.25; }
  .vs-icon { display: none; }
  .vs-head { min-height: 48px; font-size: 13px; }
  .vs-feat .vs-head { font-size: 15px; }
  .vs-head .brand { gap: 3px; }
  .vs-head .brand img { height: 12px; }
  .vs-head .brand span { font-size: 11px; letter-spacing: -0.02em; }
  .vs .tick { width: 18px; height: 18px; }
  .vs .mark { width: 14px; height: 14px; }
  .vs .them { width: 46px; height: 12px; filter: blur(2px); }
  .sol-head .section-head { grid-column: 1; text-align: center; margin-inline: auto; }
  .sol-head .pencil-rule { margin-inline: auto; }
  .sol-arrows { display: none; } /* a swipe moves the row on a phone */
  .sol-card { width: calc(100vw - 2 * var(--gutter) - 40px); }
  .sol-track { gap: 12px; }
  .sol-pic .label { font-size: 16px; }
  .app-grid { gap: 12px; }
  .app-grid .app-icon { width: 50px; height: 50px; border-radius: 14px; }
  .lede { font-size: 17px; }
  .hero .lede { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { gap: 12px; }
  .section { padding: 80px 0; }
  .cards-3, .features, .pricing, .pricing.tiers { grid-template-columns: 1fr; }
  .card, .plan { padding: 26px; }
  .receipt { padding: 26px 22px; }
  .receipt .row { font-size: 22px; }
  .receipt .total { font-size: 26px; }
  .receipt .ours { margin-inline: -10px; padding-inline: 12px; }
  .receipt .ours .brand span { font-size: 22px; }
  .receipt .ours .brand img { height: 22px; }
  .receipt .ours .underline { font-size: 42px; }
  /* The card already frames itself, so on a phone it doesn't need a full section gap on both sides:
     the section above gives up most of its bottom padding and the card sits close to the footer. */
  .section:has(+ .final) { padding-bottom: 48px; }
  .final { padding: 0 0 24px; }
  .final-card { padding: 64px 22px; border-radius: 28px; }
  /* On a phone the closing card stacks, centred like the other headlines, the video under the button. */
  .final-card.split { grid-template-columns: 1fr; gap: 28px; padding: 40px 18px 18px; text-align: center; }
  .final-card.split .final-text { padding: 0; }
  .final-card.split .lede { margin-inline: auto; }
  .final-card.split .hero-actions { justify-content: center; }
  .watch-note { display: none; }
  .walkthrough { border-radius: 18px; }
  .walkthrough-play { height: 46px; font-size: 15px; padding: 0 18px 0 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer { padding-top: 72px; }
  .footer-bottom { margin-top: 56px; }
  .label { font-size: 17px; }
  .sticky-cta { width: calc(100% - 2 * var(--gutter)); bottom: calc(14px + env(safe-area-inset-bottom)); }
  .menu-btn { width: 44px; height: 44px; } /* Apple's minimum tap target */

  /* One column on a phone, so every headline sits centred like the section heads around it. The
     two-column layouts (hero, The Maths, FAQ) keep their left alignment on wider screens; their lists
     and questions stay left here too, since ragged centred lines are hard to read. */
  .value > :first-child > :is(.eyebrow, h2), .faq-side { text-align: center; }
  .value .pencil-rule, .faq-side .pencil-rule { margin-left: auto; margin-right: auto; }
  .faq .tabs { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }

  /* Feature cards: the icon beside the title, not above it, so 8 stacked cards take about a third
     less scrolling. */
  .feature { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .feature { padding: 22px; }
  .feature > :not(.app-icon, h3) { grid-column: 1 / -1; }
  .feature h3 { margin: 0; }
  .feature p { margin-top: 12px; }
  .feature .app-icon { width: 40px; height: 40px; border-radius: 12px; }

  /* How it works on a phone: no tabs. Every step reads in full with its own picture under it,
     a hairline between steps (the way sandcastles.ai does it). The two wrappers step out of the
     layout (display: contents) so each scene can slot in under its step by `order`, with no
     second copy of the markup. Each scene becomes its own card. */
  .hiw { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hiw .steps, .hiw .stage { display: contents; }
  .step { opacity: 1; padding: 28px 0 0; pointer-events: none; }
  .step:first-child { border-top: 0; padding-top: 4px; }
  .step:last-child { border-bottom: 0; }
  .step h3 { font-size: 24px; margin-top: 6px; }
  .step p, .step.active p { max-height: none; margin-top: 10px; }
  .step:nth-child(1) { order: 1; } .scene:nth-child(1) { order: 2; }
  .step:nth-child(2) { order: 3; } .scene:nth-child(2) { order: 4; }
  .step:nth-child(3) { order: 5; } .scene:nth-child(3) { order: 6; }
  .step:nth-child(4) { order: 7; } .scene:nth-child(4) { order: 8; }
  .scene {
    position: relative; inset: auto; opacity: 1; visibility: visible; margin: 20px 0 28px;
    aspect-ratio: 1 / 1; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); overflow: hidden;
  }
  .scene:last-child { margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .draw { animation: none; clip-path: none; }
  .sticky-cta { transition: none; }
  .step p, .scene, .style-pane { transition: none; }
  .sol-track { scroll-behavior: auto; }
}

/* ---------- inner pages: shared pieces ---------- */
.page-hero h1 { max-width: 880px; }
.page-hero.center h1 { margin: 0 auto; }
.works-with { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 30px; align-items: center; font-size: 14px; color: var(--ink-2); }
.works-with b { font-weight: 500; color: var(--quiet); margin-right: 4px; }
.works-with span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 1px var(--hair); }
.center .works-with, .center .hero-actions { justify-content: center; }

/* the before / after chat on the MCP page */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.chat { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: 0 0 0 1px var(--hair); display: flex; flex-direction: column; gap: 14px; }
.chat.good { box-shadow: 0 0 0 1.5px var(--ring-strong); }
.chat .who { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--quiet); }
.bubble-me { align-self: flex-end; max-width: 85%; background: var(--raised); border-radius: 18px 18px 4px 18px; padding: 10px 14px; font-size: 15px; }
.bubble-ai { font-size: 15px; color: var(--ink-2); }
.bubble-ai ul { margin: 8px 0 0; padding-left: 18px; }
.bubble-ai li + li { margin-top: 4px; }
.chat .verdict { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink); }

/* things to ask, and the connect cards */
.asks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ask { background: var(--card); border-radius: 22px; padding: 26px; box-shadow: 0 0 0 1px var(--hair); display: flex; flex-direction: column; gap: 12px; }
.ask .topic { font-size: 13px; font-weight: 500; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
.ask q { font-family: var(--serif); font-size: 24px; line-height: 1.15; quotes: '“' '”'; }
.ask p { font-size: 15px; color: var(--ink-2); margin-top: auto; }
.ask p b { font-weight: 500; color: var(--ink); }
.connect { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.connect .card h3 { margin-top: 0; }
.connect ol { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.connect li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 15px; color: var(--ink-2); }
.connect li::before { content: counter(s); font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.1; color: var(--quiet); }
.connect li b { font-weight: 500; color: var(--ink); }
code, .code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13.5px;
  background: var(--raised); border-radius: 8px; padding: 2px 7px; color: var(--ink); overflow-wrap: anywhere;
}
.url-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.url-row .code { padding: 10px 14px; border-radius: 999px; font-size: 14px; }
.copy-btn { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; background: var(--ink); color: var(--paper); }
.copy-btn:hover { background: #e4e4e7; }

/* the editor page: one screen, after Hormozi's roadmap page */
.magnet { padding-bottom: 96px; }
.magnet h1 { max-width: 900px; }
.magnet .nowrap { white-space: nowrap; }
.fan { position: relative; display: flex; justify-content: center; align-items: center; margin: 44px auto 0; height: 380px; }
.fan .phone, .fan .tile { position: relative; flex: 0 0 auto; }
.fan .phone { width: 196px; z-index: 2; }
.fan .tile.side { width: 160px; margin: 0 -26px; }
.fan .tile.side:first-child { transform: rotate(-6deg); }
.fan .tile.side:last-child { transform: rotate(6deg); }
.magnet-box {
  max-width: 440px; margin: 40px auto 0; padding: 28px; border-radius: var(--radius);
  background: var(--card); box-shadow: 0 0 0 1px var(--hair);
}
.magnet-box p { font-size: 17px; color: var(--ink-2); margin-bottom: 20px; }
.magnet-box small { display: block; margin-top: 14px; font-size: 13px; color: var(--quiet); }
@media (max-width: 760px) {
  .magnet { padding-top: 96px; }
  .fan { height: 250px; margin-top: 24px; }
  .fan .phone { width: 128px; }
  .fan .tile.side { width: 104px; margin: 0 -20px; }
  .magnet-box { margin-top: 28px; padding: 22px; }
  .magnet-box p { font-size: 16px; margin-bottom: 16px; }
}

/* support cards and help topics */
.card .btn { margin-top: 20px; }
.card a.link { display: inline-flex; gap: 6px; margin-top: 16px; font-size: 15px; font-weight: 500; }
.card a.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.help-groups { display: flex; flex-direction: column; gap: 64px; }
.help-groups > * { max-width: 820px; }
.help-groups h2 { font-size: 28px; margin-bottom: 8px; }
.help-groups .a ol, .help-groups .a ul { margin: 6px 0 0; padding-left: 20px; }
.help-groups .a li + li { margin-top: 4px; }

@media (max-width: 1020px) {
  .asks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .page-hero { padding: 108px 0 56px; }
  .compare, .asks, .connect { grid-template-columns: 1fr; }
  .chat, .ask { padding: 22px; }
  .help-groups h2 { font-size: 24px; }
}
