/* Anticode home page. Loads after base.css. */
.top { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--ground) 82%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 transparent; transition: box-shadow var(--t-2) var(--ease); }
.top.is-stuck { box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: var(--s-5); height: 64px; }
.nav { display: flex; gap: var(--s-1); margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: var(--r-control); font-size: 13.5px; font-weight: 500; color: var(--body); transition: color var(--t-1) var(--ease), background-color var(--t-1) var(--ease); }
.nav a:hover { color: var(--text); }
@media (max-width: 760px) { .nav { display: none; } .top-in > #top-cta { margin-left: auto; } }
/* the header names the pages; at 1040px and below they all give way to the Menu button at once (see "One breakpoint
   for the header" below, 2026-12-04), so the links marked nav-wide no longer drop out on their own first */
/* links inside the homepage copy read as links: underlined, in the text colour */
:is(.fine, .begin-copy p) a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color var(--t-1) var(--ease); }
:is(.fine, .begin-copy p) a:hover { text-decoration-color: currentColor; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: var(--s-5); padding-top: clamp(48px, 9vh, 104px); padding-bottom: var(--s-7); }
.hero-head { display: grid; justify-items: center; gap: var(--s-5); }
.hero > * { animation: rise var(--t-4) var(--ease-reveal) both; }
.hero > :nth-child(2) { animation-delay: 60ms; } .hero > :nth-child(3) { animation-delay: 120ms; } .hero > :nth-child(4) { animation-delay: 180ms; } .hero > :nth-child(5) { animation-delay: 240ms; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
/* the heading and its line only rise, never fade: text that starts invisible is the page's LCP and would wait out the fade */
.hero > .hero-title, .hero > .hero-head { animation-name: rise-y; }
@keyframes rise-y { from { transform: translateY(8px); } }
.hero-sub { font-size: 18px; line-height: 1.55; color: var(--body); max-width: 46ch; }
.fine { font-size: 13px; color: var(--muted); }

/* the same composer as the dashboard's (dashboard.css .dcomp): 37px corners, a round + and a round send */
.composer { position: relative; z-index: 5; display: grid; gap: 4px; width: 100%; max-width: 740px; padding: 12px; border-radius: 37px; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(18px) saturate(1.3); text-align: left;
  /* its depth as tokens, as the dashboard's (.dash --sh-comp), so light mode can use them */
  --sh-comp: 0 0 0 1px var(--hair), 0 30px 80px -40px rgba(0, 0, 0, 0.9);
  box-shadow: var(--sh-comp); transition: box-shadow var(--t-2) var(--ease); }
/* (the pen line, a thin blue light along the bottom edge of the box, was removed at the owner's ask, 2026-11-11) */
.composer textarea { width: 100%; min-height: 56px; max-height: 220px; resize: none; padding: 8px 10px; border: 0; background: transparent; font-size: 17px; line-height: 1.45; color: var(--text); outline: none; }
.composer textarea::placeholder { color: var(--muted); }
/* typed placeholder (anticode.js): the example ideas ink in one character at a time over the empty box, set exactly
   as the placeholder is so nothing moves when it takes over; the real placeholder stays, unseen, for screen readers */
.composer.has-ph-type textarea::placeholder { color: transparent; }
.ph-type { position: absolute; padding: 8px 10px; font-size: 17px; line-height: 1.45; color: var(--muted); pointer-events: none; transition: opacity var(--t-2) var(--ease); }
.composer textarea:not(:placeholder-shown) + .ph-type { opacity: 0; visibility: hidden; transition: none; }
.ph-w { white-space: nowrap; }
.ph-c { opacity: 0; filter: blur(4px); transition: opacity 280ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 320ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.ph-c.on { opacity: 1; filter: none; }
.ph-type.is-out .ph-c { transition-duration: 240ms; }
.ph-type.is-static .ph-c, .ph-type.is-static .ph-caret { transition: none; }
.ph-caret { position: absolute; top: 0; left: 0; width: 2px; border-radius: 1px; background: var(--text); opacity: 0.7; transition: transform 120ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity var(--t-2) var(--ease); }
.ph-caret.no-glide { transition: opacity var(--t-2) var(--ease); }
.ph-type.is-out .ph-caret { transition-duration: 360ms; }
.ph-type.is-idle .ph-caret { animation: ph-breathe 1.2s ease-in-out infinite; }
.composer:focus-within .ph-caret { opacity: 0; animation: none; }
@keyframes ph-breathe { 0%, 30%, 100% { opacity: 0.7; } 65% { opacity: 0.1; } }
/* on a phone the longest example ideas take three lines, so the box makes room for them (16px also stops iOS zooming in) */
@media (max-width: 480px) { .composer textarea { font-size: 16px; min-height: 88px; } .announce > span:not(.tag-new) { white-space: nowrap; } }
.ck-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 6px; }
.ck-chips:empty { display: none; }
.composer .cchip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 6px 0 10px; border-radius: var(--r-control); background: color-mix(in srgb, var(--text) 7%, transparent); font-size: 12.5px; color: var(--text); }
.composer .cchip button { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: var(--muted); }
.composer .cchip button:hover { color: var(--text); background: color-mix(in srgb, var(--text) 10%, transparent); }
.composer .cchip .i { width: 12px; height: 12px; }
.composer-row { display: flex; align-items: center; gap: 4px; }
.ck-spacer { flex: 1; }
.ck-wrap { position: relative; }
/* the open menu reaches over the section below the hero */
.begin:has(.ck-menu.is-open) { z-index: 3; }
.ck-plus { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); box-shadow: inset 0 0 0 1px var(--hair-2); transition: color var(--t-1) var(--ease), background-color var(--t-1) var(--ease), scale var(--t-1) var(--ease); }
.ck-plus:hover, .ck-plus[aria-expanded="true"] { color: var(--text); background: color-mix(in srgb, var(--text) 7%, transparent); }
.ck-plus:active { scale: 0.92; }
.ck-plus .i, .composer .send-btn .i { width: 18px; height: 18px; }
.ck-menu { left: 0; right: auto; top: calc(100% + 8px); --origin: top left; width: 240px; padding: 6px; gap: 1px; background: color-mix(in srgb, var(--surface) 78%, var(--ground)); }
.ck-item { position: relative; display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 10px; border-radius: 10px; font-size: 14px; color: var(--body); cursor: pointer; transition: background-color var(--t-1) var(--ease), color var(--t-1) var(--ease); }
.ck-item:hover, .ck-item:has(input:focus-visible) { background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }
.ck-item input { position: absolute; opacity: 0; pointer-events: none; }
.ck-tick { width: 16px; height: 16px; opacity: 0; color: var(--text); }
.ck-item:has(input:checked) { color: var(--text); }
.ck-item:has(input:checked) .ck-tick { opacity: 1; }
.composer .send-btn { display: grid; place-items: center; width: 36px; height: 36px; margin-left: 4px; border-radius: 50%; transition: scale var(--t-1) var(--ease), background-color var(--t-2) var(--ease), color var(--t-2) var(--ease), filter var(--t-1) var(--ease); }
.composer .send-btn:active { scale: 0.9; }
/* empty, it still builds the example idea, so it stays pressable, only quieter, like the dashboard's before you type */
.composer .send-btn.is-empty { background: color-mix(in srgb, var(--text) 10%, transparent); background-image: none; color: var(--muted); box-shadow: none; filter: none; }
@media (pointer: coarse) { .ck-plus, .composer .send-btn { width: 44px; height: 44px; } .ck-item { min-height: 44px; } }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-6); padding-bottom: calc(var(--s-6) + env(safe-area-inset-bottom, 0px)); font-size: 13.5px; color: var(--muted); }
.foot-nav { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.foot-nav a { color: var(--muted); transition: color var(--t-1) var(--ease); }
.foot-nav a:hover { color: var(--text); }
.brand-sm .mark { width: 18px; height: 20px; }
.brand-sm .brand-word { font-size: 15px; color: var(--text); }

.label.is-here { animation: here 1600ms var(--ease) both; }
@keyframes here { 0%, 45% { color: var(--pen); } 100% { color: var(--muted); } }
h2[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }


/* the home composer morphs into the builder's rail: each carries the name only in the state where it's the one on
   screen, since a name shown twice at once makes the browser abort the whole transition */
/* (the homepage has two composers on screen, its one box #hs-box and the builder's #composer: the one box morphs) */
body:not(.is-building) #hs-box, body:not(.is-building):not(:has(#hs-box)) .composer { view-transition-name: ac-panel; }
body.is-building .rail { view-transition-name: ac-panel; }
#hero-engine { view-transition-name: ac-mark; }
#stage-engine { view-transition-name: ac-mark; }
.top .brand .mark { view-transition-name: ac-brand; }
.bbar .brand .mark { view-transition-name: ac-brand; }
::view-transition-group(ac-panel), ::view-transition-group(ac-mark), ::view-transition-group(ac-brand) { animation-duration: 680ms; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
::view-transition-group(ac-panel) { overflow: clip; border-radius: 31px; }
::view-transition-old(ac-panel), ::view-transition-new(ac-panel) { height: 100%; width: 100%; object-fit: cover; object-position: top left; }
::view-transition-old(ac-panel) { animation: 220ms var(--ease) both vt-fade-out; }
::view-transition-new(ac-panel) { animation: 420ms var(--ease) 160ms both vt-fade-in; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }


@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* the dashboard's backdrop behind the hero: dot field and rising light (same values as dashboard.css); the pen line is on the composer */
.home { position: relative; }
.home > :not(.home-backdrop) { position: relative; z-index: 1; }
.home-backdrop { position: absolute; inset: -64px 0 auto; height: clamp(760px, 110vh, 1040px); z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); } /* fades out instead of ending in a line */
.hb-par { position: absolute; inset: 0; animation: hb-enter 1600ms cubic-bezier(0.33, 1, 0.68, 1) both; }
@keyframes hb-enter { from { opacity: 0; transform: translateY(50vh); } }
.home-backdrop .bd-grid { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--text) 16%, transparent) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(75% 55% at 50% 48%, #000, transparent 80%); mask-image: radial-gradient(75% 55% at 50% 48%, #000, transparent 80%); }
.home-backdrop .bd-glow { position: absolute; left: 50%; bottom: 0; width: min(1400px, 150vw); aspect-ratio: 2 / 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--text) 13%, transparent), color-mix(in srgb, var(--text) 4%, transparent) 55%, transparent); }
@supports (animation-timeline: scroll()) {
  .hb-par { animation: hb-enter 1600ms cubic-bezier(0.33, 1, 0.68, 1) both, hb-par linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0px 900px; }
  @keyframes hb-par { to { transform: translate3d(0, 240px, 0); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .hb-par { animation: none !important; } }

/* the header's "more" menu: settings, pricing, sales, help, status */
#more-menu { width: min(232px, calc(100vw - 32px)); }
#more-menu > :is(button, a) { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 10px; border-radius: 10px; text-align: left; color: var(--text); }
#more-menu .i { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
#more-menu > :is(button, a):focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }

/* the settings overlay (public/settings.js): a native modal dialog */
.settings { width: min(480px, calc(100vw - 32px)); max-height: min(720px, calc(100dvh - 48px)); padding: 0; border: 1px solid var(--hair); border-radius: 26px; background: var(--ground); color: var(--body); box-shadow: 0 24px 80px -20px rgba(0, 0, 0, 0.55); overflow: auto; }
.settings::backdrop { background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.settings[open] { animation: settings-in 220ms var(--ease-reveal); }
@keyframes settings-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .settings[open] { animation: none; } }
.settings-in { display: grid; gap: var(--s-5); padding: var(--s-5) var(--s-5) var(--s-6); }
.settings-head { display: flex; align-items: center; justify-content: space-between; }
.settings-head h2 { font-size: 20px; color: var(--text); letter-spacing: -0.01em; }
.settings-x { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.settings-x:hover { background: var(--surface); color: var(--text); }
.settings-x .i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.settings-sec { display: grid; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.settings-sec h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.settings-theme { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: var(--r-control); background: var(--surface); }
.settings-theme button { min-height: 36px; border-radius: var(--r-control); font-size: 14px; font-weight: 500; color: var(--body); }
.settings-theme button[aria-checked="true"] { background: var(--ground); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18); }
.settings-theme button:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.settings-note { font-size: 13.5px; color: var(--muted); }
.settings-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.settings-who { display: grid; gap: 2px; min-width: 0; }
.settings-who b { font-size: 15px; color: var(--text); overflow-wrap: anywhere; }
.settings-who span { font-size: 13.5px; color: var(--muted); }
.settings-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.settings-form { display: grid; gap: var(--s-3); }
.settings-field { display: grid; gap: 6px; font-size: 14px; color: var(--body); }
.settings-field input { width: 100%; min-height: 44px; padding: 0 12px; border-radius: var(--r-menu); border: 1px solid var(--hair-2); box-shadow: var(--edge-in); background: var(--ground); color: var(--text); font: 400 16px/1 var(--font); }
.settings-field input:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
[data-email-msg] { color: var(--danger); }
.settings-links { display: grid; gap: var(--s-2); font-size: 14.5px; }
.settings-links a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--muted); }
.settings-links a:hover { text-decoration-color: var(--text); }

/* two-factor sign-in in Settings (public/mfa.js) */
.mfa-steps { display: grid; gap: var(--s-4); margin: 0; padding-left: 1.2em; }
.mfa-steps li { display: grid; gap: var(--s-2); }
.mfa-steps li > span { color: var(--muted); font-size: 14px; }
.mfa-key { justify-self: start; font: 600 15px/1.4 var(--mono); letter-spacing: 0.06em; padding: 8px 12px; border-radius: var(--r-menu); background: var(--surface); color: var(--text); user-select: all; overflow-wrap: anywhere; }
.mfa-field { display: grid; gap: 6px; font-size: 14px; color: var(--body); }
.mfa-field input { width: min(220px, 100%); min-height: 40px; padding: 0 12px; border-radius: var(--r-menu); border: 1px solid var(--hair-2); box-shadow: var(--edge-in); background: var(--ground); color: var(--text); font: 500 16px/1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: 0.12em; }
.mfa-field input:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.mfa-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin: 0; padding-left: 1.4em; font-variant-numeric: tabular-nums; }
.mfa-codes code { font: 14px/1.5 var(--mono); color: var(--text); }
[data-mfa-msg][data-kind="error"] { color: var(--danger); }
.mfa-choice { display: grid; gap: var(--s-2); margin: 0; padding: 0; border: 0; }
.mfa-choice legend { margin-bottom: var(--s-2); padding: 0; font-size: 14px; color: var(--body); }
.mfa-opt { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--r-menu); border: 1px solid var(--hair-2); cursor: pointer; }
.mfa-opt:has(input:checked) { border-color: var(--text); }
.mfa-opt:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 1px; }
.mfa-opt input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--text); }
.mfa-opt span { display: grid; gap: 2px; }
.mfa-opt b { font-size: 14.5px; font-weight: 600; color: var(--text); }
.mfa-opt small { font-size: 13px; color: var(--muted); }
.mfa-opt.is-off { opacity: 0.55; cursor: default; }
.mfa-devices-wrap { display: grid; gap: var(--s-2); margin-top: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.mfa-sub { font-size: 14px; font-weight: 600; color: var(--text); }
.mfa-devices { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.mfa-devices li { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.mfa-this { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--surface); font-size: 12px; font-weight: 500; color: var(--muted); }

/* Effort, as on the dashboard (dashboard.css .effort-btn): a quiet label beside send, and its menu opens to the left */
.effort-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 8px 0 12px; border-radius: 23px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color var(--t-1) var(--ease), background-color var(--t-1) var(--ease), scale var(--t-1) var(--ease); }
.effort-btn:hover, .effort-btn[aria-expanded="true"] { color: var(--text); background: color-mix(in srgb, var(--text) 7%, transparent); }
.effort-btn:active { scale: 0.97; }
.effort-btn .ic { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ef-menu { left: auto; right: 0; --origin: top right; width: 220px; }
/* the Model and Effort radio groups sit in the menu's own grid, each under its label */
.ef-group { display: contents; }
.ef-group[hidden] { display: none; }
/* one line a row: the name, and a tick at the right of the one picked. Nothing explains a model or an effort here (the owner, 13 Nov 2026) */
.ef-menu .ck-item { padding: 6px 10px; }
.ef-menu .ck-item .ck-tick { order: 2; flex: none; margin-left: auto; }
.ef-menu .ck-item > span { min-width: 0; }
.ef-menu .ck-item b { font-size: 14px; font-weight: 500; color: inherit; }
.begin:has(.ef-menu.is-open) { z-index: 3; }

/* the homepage's dots, alive (bg-field.js), as the dashboard's: the canvas takes over from the CSS grid */
.home-backdrop .bd-field { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(75% 55% at 50% 48%, #000, transparent 80%); mask-image: radial-gradient(75% 55% at 50% 48%, #000, transparent 80%); }
:root:not([data-dots="off"]) .hb-par.has-field .bd-grid { display: none; }

/* Light mode, as the dashboard's: soft depth and a gradient edge on the composer, and a pale
   blue and violet light over the hero */
:root[data-theme="light"] .composer { --sh-comp: 0 0 0 1px rgba(23, 23, 23, 0.08), 0 1px 2px rgba(23, 23, 23, 0.04), 0 22px 50px -24px rgba(29, 95, 214, 0.24);
  border: 1px solid transparent; background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(120deg, rgba(79, 124, 255, 0.55), rgba(150, 110, 255, 0.45) 50%, rgba(56, 189, 248, 0.5)) border-box; }
:root[data-theme="light"] .home-backdrop::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(40% 420px at 24% 0, rgba(99, 140, 255, 0.26), transparent 70%),
  radial-gradient(38% 400px at 78% 40px, rgba(167, 120, 255, 0.2), transparent 70%),
  radial-gradient(32% 300px at 52% 260px, rgba(80, 200, 255, 0.13), transparent 72%); }
:root[data-theme="light"] .home-backdrop .bd-glow { background: radial-gradient(closest-side, rgba(79, 124, 255, 0.26), rgba(150, 110, 255, 0.1) 55%, transparent); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .composer { --sh-comp: 0 0 0 1px var(--hair), 0 1px 2px rgba(23, 23, 23, 0.04), 0 22px 50px -24px rgba(29, 95, 214, 0.24);
    border: 1px solid transparent; background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(120deg, rgba(79, 124, 255, 0.55), rgba(150, 110, 255, 0.45) 50%, rgba(56, 189, 248, 0.5)) border-box; }
  :root:not([data-theme="dark"]) .home-backdrop::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(40% 420px at 24% 0, rgba(99, 140, 255, 0.26), transparent 70%),
    radial-gradient(38% 400px at 78% 40px, rgba(167, 120, 255, 0.2), transparent 70%),
    radial-gradient(32% 300px at 52% 260px, rgba(80, 200, 255, 0.13), transparent 72%); }
  :root:not([data-theme="dark"]) .home-backdrop .bd-glow { background: radial-gradient(closest-side, rgba(79, 124, 255, 0.26), rgba(150, 110, 255, 0.1) 55%, transparent); }
}

/* ================= the help centre (index.html › main.home) =================
   One field that answers from Anticode's own pages is the page's signature (public/help.js): a frosted pill on the
   dot field, and the words you typed underlined in the pen colour in every match. Everything below stays quiet:
   solid cards on soft shadows, no outlines, no lifts. */
.hero { padding-top: clamp(56px, 12vh, 136px); padding-bottom: var(--s-6); gap: var(--s-5); }
.hero-title { font-size: clamp(40px, 7.2vw, 76px); line-height: 1.02; letter-spacing: -0.028em; font-weight: 500; text-wrap: balance; }
.hero-sub { max-width: 52ch; text-wrap: pretty; }

.hs { position: relative; z-index: 6; display: grid; justify-items: center; gap: 10px; width: 100%; max-width: 740px; margin-top: var(--s-2); }
/* the box is the builder's composer (.composer above); over the scene it keeps its glass, and its text sits at the left */
.hs-box { text-align: left; }
.hs-box textarea { min-height: 56px; }
/* the homepage's prompt box is the app's own (calm.css .dash .dcomp, the owner 12 Nov 2026): the box with the text, Start from
   on the left and the microphone and send on the right. It carries no model or effort picker (13 Nov 2026) */
#hs-box { display: block; max-width: 768px; padding: 0; border-radius: calc(17px + 12px); background: #1a1a1a; box-shadow: inset 0 0 0 1px #333333; -webkit-backdrop-filter: none; backdrop-filter: none; }
#hs-box::before, #hs-box::after { display: none; }
#hs-box .hs-inner { display: grid; gap: 6px; padding: 14px 12px 12px; border-radius: inherit; background: #262626; box-shadow: 0 0 0 1px #3a3a3a; }
#hs-box:focus-within .hs-inner { box-shadow: 0 0 0 1px #4a4a4a; }
#hs-box .hs-inner textarea { min-height: 60px; padding: 2px 6px; font-size: 16px; line-height: 1.5; }
#hs-box:not(.has-ph-type) .hs-inner textarea::placeholder { color: #7c7c7c; }
#hs-box .hs-inner { position: relative; }
#hs-box .hs-inner .ph-type { padding: 2px 6px; font-size: 16px; line-height: 1.5; color: #7c7c7c; }
#hs-box .composer-row { display: flex; align-items: center; gap: 4px; }
#hs-box .ck-plus { width: 34px; height: 34px; background: none; box-shadow: inset 0 0 0 1px #444444; color: #cfcfcf; }
#hs-box .ck-plus:hover, #hs-box .ck-plus[aria-expanded="true"] { background: #2e2e2e; }
#hs-box .voice-btn { width: 34px; height: 34px; box-shadow: none; background: color-mix(in srgb, #ededed 8%, transparent); }
#hs-box .send-btn { width: 34px; height: 34px; margin-left: 0; border-radius: 50%; background: #ededed; background-image: none; color: #171717; box-shadow: none; filter: none; }
#hs-box .send-btn:not(.is-empty):hover { background: #ffffff; }
#hs-box .send-btn.is-empty { background: #3a3a3a; color: #7c7c7c; }
@media (pointer: coarse) { #hs-box :is(.ck-plus, .voice-btn, .send-btn) { width: 44px; height: 44px; } }
/* the matches: a solid panel that floats over the page under the field (a blur can't nest inside the field's own,
   so the page would read through it), closed by Escape, a click outside or leaving it */
.hs-results { position: absolute; left: 0; right: 0; top: calc(100% + 10px); display: grid; gap: 2px; max-height: min(62vh, 540px); overflow: auto; overscroll-behavior: contain; padding: 8px; border-radius: 24px; text-align: left;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--hair), 0 28px 70px -28px rgba(0, 0, 0, 0.75), var(--edge); animation: hs-in 180ms var(--ease-snap) both; }
.hs-results[hidden] { display: none; }
@keyframes hs-in { from { opacity: 0; transform: translateY(-4px); } }
.hs-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hs-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s-4); padding: 10px 14px; border-radius: 14px; transition: background-color var(--t-1) var(--ease); }
.hs-list li { animation: hs-row 240ms var(--ease-reveal) both; animation-delay: calc(var(--n, 0) * var(--stagger)); }
@keyframes hs-row { from { opacity: 0; transform: translateY(3px); } }
.hs-list b { grid-column: 1; font-weight: 500; font-size: 15.5px; line-height: 1.35; color: var(--text); }
.hs-list .hs-d { grid-column: 1; font-size: 13.5px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hs-list .hs-s { grid-column: 2; grid-row: 1; align-self: start; padding-top: 2px; font-style: normal; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.hs-list mark { background: none; color: inherit; text-decoration: underline 2px var(--pen); text-underline-offset: 4px; text-decoration-skip-ink: none; }
.hs-list a:hover, .hs-list a:focus-visible, .hs-all:hover, .hs-all:focus-visible { background: color-mix(in srgb, var(--text) 7%, transparent); }
.hs-list a:focus-visible, .hs-all:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.hs-all { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 14px; font-size: 14px; font-weight: 500; color: var(--body); transition: background-color var(--t-1) var(--ease); }
.hs-none { margin: 0; padding: 12px 14px 4px; font-size: 14.5px; color: var(--body); }
@media (max-width: 560px) {
  .hs-list .hs-s { display: none; }
}

/* start a build: the words on one side, the composer on the other */
.begin { padding-top: var(--s-7); }
.begin-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-7); align-items: center; }
.begin-copy { display: grid; gap: var(--s-4); }
.begin-copy h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -0.018em; }
.begin-copy > p:not(.fine) { color: var(--body); font-size: 17px; max-width: 44ch; }
.begin .composer { max-width: none; }
@media (max-width: 900px) { .begin-in { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); } }

.sec { padding-top: clamp(72px, 9vw, 112px); }
.home > .sec { content-visibility: auto; contain-intrinsic-size: auto 560px; }
/* once an in-page link is used, every section renders, so a glide aims at real heights (anticode.js › renderAll) */
.home.is-drawn > .sec { content-visibility: visible; }
.sec-title { margin-bottom: var(--s-6); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -0.015em; }
.sec-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-4); margin-bottom: var(--s-6); }
.sec-row .sec-title { margin-bottom: 0; }
.sec-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14.5px; font-weight: 500; color: var(--body); transition: color var(--t-1) var(--ease); }
.sec-more .i { width: 16px; height: 16px; transition: transform var(--t-2) var(--ease); }
.sec-more:hover { color: var(--text); }
.sec-more:hover .i { transform: translateX(2px); }

/* cards: solid surfaces on soft shadows (--hair is transparent unless More contrast is on) */
:is(.answers a, .topic, .shots a, .help-card) { border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--hair), var(--edge); }
:is(.answers, .topics, .shots, .helps) { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.answers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.answers a { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 6px var(--s-4); height: 100%; padding: 22px 22px 22px 24px; transition: background-color var(--t-1) var(--ease); }
.answers b { font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--text); }
.answers span { grid-column: 1; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.answers .i { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 18px; height: 18px; color: var(--muted); transition: transform var(--t-2) var(--ease), color var(--t-1) var(--ease); }
.answers a:hover { background: color-mix(in srgb, var(--surface), var(--text) 3%); }
.answers a:hover .i { transform: translateX(2px); color: var(--text); }

.topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic { display: flex; flex-direction: column; gap: var(--s-3); padding: 24px; }
.topic h3 { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; letter-spacing: -0.005em; }
.topic h3 .i { flex: none; width: 20px; height: 20px; color: var(--muted); }
.topic ul { display: grid; gap: 2px; margin: 0 -10px; padding: 0; list-style: none; }
.topic ul a { display: block; padding: 8px 10px; border-radius: 10px; font-size: 15px; line-height: 1.4; color: var(--body); transition: background-color var(--t-1) var(--ease), color var(--t-1) var(--ease); }
.topic ul a:hover { background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); }
.topic-all { align-self: flex-start; margin-top: auto; padding: 10px 0 0; font-size: 14px; font-weight: 500; color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color var(--t-1) var(--ease); }
.topic-all:hover { text-decoration-color: currentColor; }

.shots { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.shots a { display: grid; gap: 2px; height: 100%; padding: 8px 8px 16px; transition: box-shadow var(--t-2) var(--ease); }
.shots img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; margin-bottom: 10px; border-radius: 14px; background: var(--raised); }
.shots b { padding: 0 8px; font-size: 15.5px; font-weight: 500; color: var(--text); }
.shots span { padding: 0 8px; font-size: 13.5px; color: var(--muted); }
.shots a:hover { box-shadow: 0 0 0 1px var(--hair-2), 0 2px 4px rgba(0, 0, 0, 0.12), 0 14px 32px -14px rgba(0, 0, 0, 0.45); }

.helps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.help-card { display: flex; flex-direction: column; gap: var(--s-3); padding: 28px; }
.help-card > .i { width: 22px; height: 22px; color: var(--muted); }
.help-card h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.help-card p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.help-acts { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: auto; padding-top: var(--s-2); }
.home > .foot { margin-top: clamp(72px, 9vw, 112px); }

@media (max-width: 1000px) {
  .answers, .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots li:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .helps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .answers, .topics { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .hs-results, .hs-list li { animation: none; }
  .answers a:hover .i, .sec-more:hover .i { transform: none; }
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hs-results { box-shadow: 0 0 0 1px var(--hair), 0 28px 70px -30px rgba(30, 30, 30, 0.32), var(--edge); }
  :root:not([data-theme="dark"]) .shots a:hover { box-shadow: 0 0 0 1px var(--hair-2), 0 2px 4px rgba(30, 30, 30, 0.06), 0 14px 32px -14px rgba(30, 30, 30, 0.24); }
}
:root[data-theme="light"] .hs-results { box-shadow: 0 0 0 1px var(--hair), 0 28px 70px -30px rgba(30, 30, 30, 0.32), var(--edge); }
:root[data-theme="light"] .shots a:hover { box-shadow: 0 0 0 1px var(--hair-2), 0 2px 4px rgba(30, 30, 30, 0.06), 0 14px 32px -14px rgba(30, 30, 30, 0.24); }

/* the open matches reach over the sections below the hero */
.hero:has(.hs-results:not([hidden]), .hs .ck-menu.is-open) { z-index: 4; }

/* one box for questions and builds (public/help.js): the line under it says which it took, and one tap switches it */
.hs-list[hidden], .hs-all[hidden], .ha[hidden], .hs-switch[hidden] { display: none; }
.hs-mode { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 10px; min-height: 32px; font-size: 13.5px; color: var(--muted); }
.hs-switch { min-height: 32px; padding: 0 2px; font: inherit; font-weight: 500; color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color var(--t-1) var(--ease); }
.hs-switch:hover { text-decoration-color: currentColor; }

/* the help agent's answers: the question, what it searched and read, then the answer with its links */
.ha { display: grid; gap: var(--s-4); padding: 6px 10px 10px; }
.ha-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; font-size: 12.5px; color: var(--muted); }
.ha-acts { display: flex; gap: 14px; }
.ha-acts .hs-switch { font-size: 13px; }
.ha-turn { display: grid; gap: 10px; }
.ha-q { justify-self: end; max-width: 85%; padding: 9px 14px; border-radius: 18px 18px 6px 18px; background: color-mix(in srgb, var(--text) 7%, transparent); font-size: 15px; color: var(--text); overflow-wrap: anywhere; }
.ha-steps { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.ha-steps li { display: flex; align-items: center; gap: 8px; min-width: 0; animation: hs-row 240ms var(--ease-reveal) both; }
.ha-steps .i { flex: none; width: 14px; height: 14px; }
.ha-steps a { color: var(--body); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ha-dot { font-size: 13px; margin: 0 2px; }
.ha-a { display: grid; gap: 10px; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.ha-a:empty { display: none; }
.ha-a ul { display: grid; gap: 6px; margin: 0; padding-left: 20px; }
.ha-a a { color: var(--text); text-decoration: underline 2px var(--pen); text-underline-offset: 4px; }
.ha-a .btn { justify-self: start; }
.ha-muted { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .ha-dot, .ha-steps li { animation: none; } }

/* ================= the homepage, laid out after mercury.com =================
   A full-bleed scene under a see-through header, one box in the middle, the product rising out of the scene as the
   page scrolls, then dark "ink" sections (dark in either appearance, like the scene) and light ones in turn.
   The scene is live graphite folds (public/folds.js) over a still of them in gradients. */

/* ink: the dark sections, dark in light mode too, with the dark tokens re-declared so everything inside follows */
.ink {
  --ground: #121212; --surface: #1b1b1b; --raised: #252525; --text: #ffffff; --body: #d5dae3; --muted: #9aa1ab;
  --hair: transparent; --hair-2: transparent; --pen: #6f9bff;
  --edge: 0 1px 2px rgba(0, 0, 0, 0.32), 0 6px 20px -8px rgba(0, 0, 0, 0.5);
  --btn2-face: color-mix(in srgb, var(--text) 9%, transparent); --btn2-ring: 0 0 #0000; --btn2-ring-hover: 0 0 #0000; --btn2-text: #e3e7ee;
  --btn1-face: color-mix(in srgb, var(--text) 16%, transparent); --btn1-ring: 0 0 #0000; --btn1-ring-hover: 0 0 #0000;
  --btn1-text: #ffffff; --btn-main: #e8e8e9; --btn-main-hover: #ffffff; --btn-main-text: #08090a; --btn-soft-text: #f2f3f5;
  color-scheme: dark; background: var(--ground); color: var(--text);
}

/* the header: see-through while it sits over the scene (home-scroll.js sets .hero-under), frosted once past it */
.home { margin-top: -64px; }
.top { transition: background-color 500ms cubic-bezier(0, 0, 0.6, 1), box-shadow 500ms cubic-bezier(0, 0, 0.6, 1), -webkit-backdrop-filter 500ms, backdrop-filter 500ms; }
.top.is-stuck { box-shadow: 0 0 6px rgba(86, 86, 118, 0.1), 0 10px 30px -18px rgba(0, 0, 0, 0.35); }
.hero-under .top, .hero-under .top.is-stuck { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; --text: #ffffff; --body: rgba(255, 255, 255, 0.86); --muted: rgba(255, 255, 255, 0.72); }
.hero-under .top .brand { color: #ffffff; }
/* the header, as spline.design's: a full-width bar, 64px (the height the scene is pulled up by, .home), the brand and the
   pages on the left, Contact sales and Sign up on the right. Frosted near-black once past the hero, with a faint line under */
.top { top: 0; margin: 0; width: 100%; border-radius: 0; }
.top .top-in.wrap { --col: 1320px; height: 64px; gap: var(--s-5); }
.top .nav { margin-left: var(--s-4); }
.top .nav a { color: var(--muted); font-weight: 450; }
.top .nav a:hover { color: var(--text); }
.top-sales { margin-left: auto; }
.top, .top.is-stuck { background: rgba(2, 2, 3, 0.82); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6); }
@media (max-width: 760px) { .top-sales { display: none; } }
/* the top bar is a floating pill of frosted glass (at the owner's ask), over the hero and past it alike: the same glass
   as the box (blur, a white sheen, a 55% tint), 56px tall and 12px down, so .home is pulled up 68px under it. The
   pages sit centred in the pill, the brand to the left and Contact sales and Sign up to the right; no outline */
.home { margin-top: -68px; }
.top, .top.is-stuck, .hero-under .top, .hero-under .top.is-stuck {
  top: 12px; margin: 12px auto 0; width: min(1120px, calc(100% - 32px)); border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)), rgba(17, 17, 17, 0.55);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 36px -18px rgba(0, 0, 0, 0.75); }
.top .top-in.wrap { position: relative; max-width: none; height: 56px; padding-left: 22px; padding-right: 8px; }
.top .nav { position: absolute; left: 50%; translate: -50% 0; margin: 0; }
@media (max-width: 760px) { .top, .top.is-stuck, .hero-under .top, .hero-under .top.is-stuck { width: calc(100% - 24px); } .top .top-in.wrap { padding-left: 16px; } }

/* the scene and what's on it */
.home > .hero { position: relative; isolation: isolate; display: grid; align-items: center; justify-items: stretch; padding: calc(64px + clamp(48px, 10vh, 104px)) 0 clamp(64px, 9vh, 96px); overflow-x: clip; /* only sideways: the box's menus and its answers open down past the hero (its scene clips itself) */ color: #ffffff; text-align: center; }
.home > .hero > * { animation: none; }
.hero-in { display: grid; justify-items: center; gap: var(--s-5); }
.hero-in > * { animation: rise var(--t-4) var(--ease-reveal) both; }
.hero-in > :nth-child(2) { animation-delay: 70ms; } .hero-in > :nth-child(3) { animation-delay: 140ms; }
.hero-in > .hero-title { animation-name: rise-y; }
.hero .hero-title { max-width: 14ch; font-size: clamp(44px, 7vw, 92px); line-height: 1; letter-spacing: -0.03em; font-weight: 500; color: #ffffff; text-shadow: 0 2px 30px rgba(8, 8, 8, 0.35); }
.hero .hero-sub { max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 16px rgba(8, 8, 8, 0.45); }
.hero .hs-mode { color: rgba(255, 255, 255, 0.82); text-shadow: 0 1px 10px rgba(8, 8, 8, 0.5); }
.hero .hs-switch { color: #ffffff; }
/* the homepage is dark in both appearances (main.home is .ink), on one plain near-black ground. The three.js flow of
   energy that ran behind it was removed at the owner's ask (2026-11-11) */
.home { position: relative; isolation: isolate; }
.home.ink, .home .ink, .home > .reveal, .home > .band, .home > .cta { background: transparent; }
html:has(> body:not(.is-building) > main.home), body:not(.is-building):has(> main.home) { background: #020203; }
/* the header over it is dark too, in either appearance (the .ink tokens, without .ink's ground) */
body:not(.is-building):has(> main.home) > .top {
  --ground: #121212; --surface: #1b1b1b; --raised: #252525; --text: #ffffff; --body: #d5dae3; --muted: #9aa1ab;
  --hair: transparent; --hair-2: transparent; --line: rgba(255, 255, 255, 0.08); --pen: #6f9bff;
  --btn2-face: color-mix(in srgb, var(--text) 9%, transparent); --btn2-ring: 0 0 #0000; --btn2-ring-hover: 0 0 #0000; --btn2-text: #e3e7ee;
  --btn1-face: color-mix(in srgb, var(--text) 16%, transparent); --btn1-ring: 0 0 #0000; --btn1-ring-hover: 0 0 #0000; --btn1-text: #ffffff; --btn-main: #e8e8e9; --btn-main-hover: #ffffff; --btn-main-text: #08090a; --btn-soft-text: #f2f3f5;
  color-scheme: dark; color: var(--text); }
/* the hero's blocks rise in once and then let go of the animation (backwards, not both): a finished opacity
   animation still "in effect" makes its block a backdrop root, and the frosted glass inside it would then blur only
   its own block, never the page behind it. Same entrance, nothing left over */
.home .hero-in > * { animation-fill-mode: backwards; }
/* the idea chips under the box: quiet flat frosted pills, tinted enough that their words stay clear */
.home .ideas button { background: rgba(40, 40, 40, 0.72); -webkit-backdrop-filter: blur(26px) saturate(1.7); backdrop-filter: blur(26px) saturate(1.7); box-shadow: none; }
.home .ideas button:hover { background: rgba(55, 55, 55, 0.8); }
.home .hs-mode { color: rgba(255, 255, 255, 0.86); }
/* the two composers: frosted glass over the page, in either appearance (the page is dark and their text is white;
   the light appearance's white composer would hide it). A 44px blur, a little white haze and a 60% tint; what's typed
   stays clear (white on the tint is far above 4.5:1), and a faint sheen runs along the top edge */
:root .home.ink .composer { border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035) 60%), rgba(17, 17, 17, 0.6);
  -webkit-backdrop-filter: blur(44px) saturate(1.7); backdrop-filter: blur(44px) saturate(1.7);
  --sh-comp: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 50px -24px rgba(0, 0, 0, 0.8); }
/* flat buttons that hold their own on the dark page: solid neutral faces instead of see-through ones, and a hover
   that answers (the ink sections' hover ring is transparent, so before this a hover changed nothing) */
.home.ink, .home .ink { --btn1-face: #2f2f2f; --btn2-face: #1e1e1e; }
/* (the homepage's buttons are the flat ones of base.css, like everywhere else) */
body:not(.is-building):has(> main.home) > .top { --btn1-face: #2f2f2f; --btn2-face: #1e1e1e; }
/* the cards are frosted glass, tinted enough (86%) that their text keeps its contrast */
.home :is(.answers a, .topic, .help-card) { background: color-mix(in srgb, #151515 86%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); }
/* the footer stands on its own dark floor, fading in from nothing, so its links never sit on the closing halo */
.home > .foot::before { content: ""; position: absolute; z-index: -1; inset: -96px calc(50% - 50vw) 0; pointer-events: none;
  background: linear-gradient(transparent, #030304 96px); }
@supports (animation-timeline: scroll()) {
  /* as the page leaves the hero, its words ease up and away */
  .hero-in { animation: hero-ease linear both; animation-timeline: scroll(root); animation-range: 0 80svh; }
  @keyframes hero-ease { to { transform: translateY(-64px) scale(0.97); opacity: 0.25; } }
}

/* the product, rising out of the scene */
/* as spline.design's product window: straight under the hero, as wide as the page, on the plain dark ground */
.reveal { position: relative; z-index: 2; padding-bottom: clamp(56px, 7vw, 96px); }
.reveal-shot.wrap { --col: 1320px; margin: 0 auto; }
/* the film (public/home-film.js): 16:9 from the first paint, so the page never moves when it loads. Until the poster
   arrives the frame is the poster's sky, not a flash of grey. Its controls are flat dark-grey pills, 44px, always shown. */
.film { display: grid; gap: clamp(20px, 3vw, 32px); }
.film-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: clamp(14px, 1.8vw, 22px); background: #5b95de;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.85), 0 18px 40px -20px rgba(0, 0, 0, 0.6); }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.film-controls { position: absolute; right: clamp(10px, 1.6vw, 18px); bottom: clamp(10px, 1.6vw, 18px); display: flex; gap: 8px; }
.film-controls[hidden] { display: none; }
.film-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: #2a2a2a; color: #ffffff; cursor: pointer; transition: background-color var(--t-1) var(--ease); }
.film-btn:hover { background: #3b3b3b; }
.film-btn:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.film-btn .i { width: 20px; height: 20px; }
.film-btn[data-state="playing"] .ic-play, .film-btn[data-state="paused"] .ic-pause { display: none; }
/* on a phone the film is barely 200px tall, so its controls step out under it rather than cover a quarter of it */
@media (max-width: 560px) {
  .film-frame { overflow: visible; margin-bottom: 56px; }
  .film-video { border-radius: inherit; }
  .film-controls { top: calc(100% + 12px); right: 0; bottom: auto; }
}
.film-cap { max-width: calc(62 * var(--ch, 1ch)); margin: 0 auto; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; color: var(--body); text-align: center; text-wrap: balance; }
/* the film is bright; in the dark appearance it's softened a touch so it doesn't glow */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .film-video { filter: brightness(0.92); } }
:root[data-theme="dark"] .film-video { filter: brightness(0.92); }
@supports (animation-timeline: view()) {
  .reveal-shot { animation: shot-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  /* it rises and grows, but isn't faded: half-faded, the film's pale frames turn a muddy grey over the scene */
  @keyframes shot-rise { from { transform: translateY(90px) scale(0.9); } }
}


/* the way in, as spline.design's: the words and two buttons on the left, the five agents at work on the right */
.cta { margin-top: clamp(72px, 9vw, 112px); padding: clamp(80px, 10vw, 140px) 0; }
.cta-in.wrap { --col: 1320px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--s-7); }
.cta-copy { display: grid; justify-items: start; gap: var(--s-4); }
.cta h2 { max-width: 14ch; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 500; }
.cta-copy > p { max-width: 40ch; font-size: 18px; line-height: 1.55; color: var(--muted); }
.cta-acts { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
.home > .cta + .foot { margin-top: 0; }
/* the agents at work: a column of pills, the newest at the bottom and brightest, the ones above fading as they go */
.work { display: grid; justify-items: end; gap: 12px; margin: 0; padding: 0; list-style: none; }
.work li { display: inline-flex; align-items: center; gap: 12px; min-width: 15em; justify-content: flex-end; padding: 14px 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); font-size: 17px; color: rgba(255, 255, 255, calc(0.3 + var(--i) * 0.16)); }
.work li:last-child { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.work .ac-glowmark { margin-right: auto; font-size: 18px; }
@media (max-width: 860px) { .cta-in.wrap { grid-template-columns: minmax(0, 1fr); } .work { justify-items: start; } .work li { justify-content: flex-start; } .work li:last-child { margin-right: 0; } }

/* the footer, as spline.design's: the brand on the left, the columns on the right, every link kept */
.home > .foot { --col: 1320px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: var(--s-6); align-items: start; padding-top: clamp(48px, 6vw, 80px); }
.foot-brand { display: grid; align-content: start; gap: var(--s-3); }
.foot-brand .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: var(--text); }
.foot-brand .mark { width: 22px; height: 24px; fill: currentColor; }
.foot-brand p { max-width: 26ch; font-size: 14px; line-height: 1.5; color: var(--muted); }
.foot-copy { grid-column: 1 / -1; }
@media (max-width: 900px) { .home > .foot { grid-template-columns: minmax(0, 1fr); } }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }
.foot-cols nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-cols a { font-size: 14px; color: var(--muted); transition: color var(--t-1) var(--ease); }
.foot-cols a:hover { color: var(--text); }
.foot-h { margin-bottom: 4px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.foot-copy { font-size: 13px; color: var(--muted); }
/* Settings, moved here from the header's menu (settings.js opens it): a quiet text button with a comfortable target */
.foot-set { margin-left: 10px; padding: 10px 6px; border: 0; background: none; font: inherit; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.foot-set:hover { color: var(--text); }
/* four short columns since the footer was cut to its essentials (2026-12-04); two on a phone. Under them, the hubs
   in one quiet wrapping line (index.html .foot-more), smaller and dimmer than the columns so they don't read as more */
.foot-more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: var(--s-4); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.foot-more a { font-size: 12.5px; color: var(--muted); opacity: 0.8; transition: color var(--t-1) var(--ease), opacity var(--t-1) var(--ease); }
.foot-more a:hover { color: var(--text); opacity: 1; }
@media (pointer: coarse) { .foot-more a { display: inline-flex; align-items: center; min-height: 32px; } }
@media (max-width: 560px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  .hero-in, .reveal-shot { animation: none !important; }
}

/* ================= frontpage motion (public/home-motion.js, public/folds.js) =================
   One house curve for everything that arrives (expo out), one signature (the folds), everything else quiet.
   The headline's words come up out of a blur one after another, then the line and the box follow; below the
   fold every block rises and sharpens the first time it's seen. Nothing waits on script: without it, or with reduced
   motion, everything is simply there. */
.home { --in-ease: cubic-bezier(0.16, 1, 0.3, 1); }
/* the headline: two centred lines of plain text, so it reads whole (what moves in it is further down: "the headline's
   two turns") */
.hero .hero-title { max-width: none; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.08; letter-spacing: -0.045em; font-weight: 500; text-shadow: none; }
.hero .hero-title .ln { display: block; }
.hero .hero-title .ln-dim { color: rgba(255, 255, 255, 0.5); }
.hero .hero-sub { max-width: 52ch; font-size: clamp(16px, 1.25vw, 18px); color: rgba(255, 255, 255, 0.62); text-shadow: none; }
.hero .hs { width: min(720px, 100%); }
.hero-in { gap: var(--s-4); }
.hero-in > .hero-sub { margin-top: 2px; }
.hero-in > .hs { margin-top: var(--s-3); }
/* ideas under the box: flat pills, each fills the box with a sentence; the round one deals four more */
.ideas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ideas button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.72); font: inherit; font-size: 14px; cursor: pointer; transition: background-color var(--t-1) var(--ease), color var(--t-1) var(--ease); }
.ideas button:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.ideas button:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.ideas .i { width: 16px; height: 16px; opacity: 0.8; }
.ideas-more button { width: 40px; padding: 0; justify-content: center; }
.ideas-more .i { width: 18px; height: 18px; }
/* on a phone the ideas used to drop to two with no sign of the others; now they run on in one row that scrolls
   sideways (see "the ideas on a phone" below, 2026-12-04) */
.hero-in > .hero-title { animation: none; }
/* the words only move and sharpen, never fade: the headline is the first screen's largest text (its LCP) */
.hero .wd { display: inline-block; animation: wd-in 1100ms var(--in-ease) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
@keyframes wd-in { from { transform: translateY(0.32em); filter: blur(14px); } }
.hero-in > :nth-child(1) { animation-delay: 0ms; }
.hero-in > :nth-child(3) { animation-delay: 380ms; }
.hero-in > :nth-child(4) { animation-delay: 470ms; }
.hero-in > :nth-child(5) { animation-delay: 580ms; }

/* below the fold: rise and sharpen once, staggered by --i */
.has-in .home [data-in]:not(.is-in) { opacity: 0; }
/* backwards, not both: once a block has risen in, the animation lets go, so no filter or opacity is left "in effect"
   (that would make the block a backdrop root and stop the frosted glass inside it seeing the page behind) */
.has-in .home [data-in].is-in { animation: in-rise 1000ms var(--in-ease) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes in-rise { from { opacity: 0; transform: translateY(32px); filter: blur(8px); } }

/* cards: a soft light follows the pointer across them, and they lift a little */
.home .lit { position: relative; overflow: hidden; transition: translate 500ms var(--in-ease), background-color var(--t-1) var(--ease); }
.home .lit > * { position: relative; }
.home .lit::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 400ms var(--ease);
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--text) 8%, transparent), transparent 70%); }
@media (hover: hover) and (pointer: fine) {
  .home .lit:hover { translate: 0 -3px; }
  .home .lit:hover::before { opacity: 1; }
}

/* the five agents as steps, as spline.design's "how it works": a tile with the agent in it, then its name and its part.
   A line under the row fills as the build is handed along (--at, home-motion.js) */
.crew { --track: 46px; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin: 0; padding: 0 0 28px; list-style: none; }
.crew::before, .crew::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; border-radius: 2px; }
.crew::before { background: rgba(255, 255, 255, 0.08); }
.crew::after { background: linear-gradient(90deg, #2f6bff, #e2589b 25%, #14a36b 50%, #e08a12 75%, #0e8fb5); transform-origin: left; transform: scaleX(calc(var(--at, 0) / 5)); transition: transform 1200ms var(--in-ease); }
.crew > li { position: relative; z-index: 1; display: grid; align-content: start; gap: 8px; }
.crew [data-agent="architect"] { --a: #2f6bff; } .crew [data-agent="designer"] { --a: #e2589b; } .crew [data-agent="builder"] { --a: #14a36b; }
.crew [data-agent="critic"] { --a: #e08a12; } .crew [data-agent="sentinel"] { --a: #0e8fb5; }
.crew-tile { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; margin-bottom: 12px; border-radius: 18px; background: rgba(18, 18, 18, 0.86); overflow: hidden;
  transition: background-color 600ms var(--ease); }
.crew-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 60%, color-mix(in srgb, var(--a) 30%, transparent), transparent 70%); opacity: 0; transition: opacity 700ms var(--ease); }
.crew [data-state="work"] .crew-tile::before { opacity: 1; }
.crew [data-state="done"] .crew-tile::before { opacity: 0.4; }
.crew-n { position: absolute; left: 16px; top: 14px; font-size: 13px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.45); }
.crew-face { position: relative; display: grid; place-items: center; width: calc(var(--track) * 2); height: calc(var(--track) * 2);
  transition: scale 600ms var(--in-ease), filter 600ms var(--ease); }
.crew-face .face { width: 100%; height: 100%; overflow: visible; }
.crew b { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); transition: color 600ms var(--ease); }
.crew > li > span:last-child { max-width: 26ch; font-size: 15px; line-height: 1.5; color: var(--muted); }
.crew [data-state="wait"] .crew-face { filter: saturate(0.25) brightness(0.8); }
.crew [data-state="wait"] b { color: var(--muted); }
.crew [data-state="work"] .crew-face { scale: 1.1; }
/* the faces move as they do in the builder: they float and blink, bob and use their tool at work, smile once done */
.crew .face .bot, .crew .face .eyes { transform-box: fill-box; transform-origin: center; }
.crew .face .happy { display: none; }
.crew .face .bot { animation: crew-float 3.2s ease-in-out var(--d, 0s) infinite; }
.crew .face .eyes { animation: crew-blink 4.6s ease-in-out var(--d, 0s) infinite; }
.crew [data-state="work"] .face .bot { animation: crew-bob 0.55s ease-in-out infinite alternate; }
.crew [data-state="done"] .face .eyes { display: none; }
.crew [data-state="done"] .face .happy { display: inline; }
.crew .face .prop { transform-box: view-box; }
.crew .face .hammer { transform-origin: 29.5px 32.6px; }
.crew .face .blueprint .draw { stroke-dasharray: 14; }
.crew .face .shield { transform-origin: 29.2px 27px; transition: transform 0.35s var(--in-ease); }
.crew .face .shield .glint { opacity: 0; }
.crew [data-state="work"] .face .hammer { animation: crew-hammer 0.6s cubic-bezier(0.5, 0, 0.2, 1) infinite; }
.crew [data-state="work"] .face .pencil { animation: crew-write 0.45s linear infinite; }
.crew [data-state="work"] .face .blueprint .draw { animation: crew-draw 1.5s linear infinite; }
.crew [data-state="work"] .face .glass { animation: crew-search 1.5s ease-in-out infinite; }
.crew [data-state="work"] .face .shield { transform: translate(-6.5px, -3px) scale(1.25); }
@keyframes crew-float { 50% { transform: translateY(-0.9px); } }
@keyframes crew-blink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(0.12); } }
@keyframes crew-bob { from { transform: translateY(0.4px); } to { transform: translateY(-1.5px); } }
@keyframes crew-hammer { 0%, 100% { transform: rotate(0deg); } 45% { transform: rotate(-58deg); } 72% { transform: rotate(9deg); } 82% { transform: rotate(0deg); } }
@keyframes crew-write { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-1.4px, 0.7px); } 50% { transform: translate(-0.3px, -0.3px); } 75% { transform: translate(-1.9px, 1px); } }
@keyframes crew-draw { from { stroke-dashoffset: 14; } to { stroke-dashoffset: 0; } }
@keyframes crew-search { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-4px, -2px); } 66% { transform: translate(-6px, -5px); } }
@media (max-width: 1000px) { .crew { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 640px) {
  .crew { --track: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .crew-face { border-radius: 16px; }
  .crew b { font-size: 17px; }
  .crew > li > span:last-child { font-size: 14px; }
}

/* ================= the homepage, laid out after spline.design =================
   Section headings on the left, large and tight; cards solid near-black on the dark ground; the product shown as app
   windows that run off the page's edge; one quiet blue (the selection box) as the only accent besides the agents. */
.home .sec { padding-top: clamp(88px, 11vw, 150px); }
.home .sec.wrap, .home .sec > .wrap, .home .marq-cap.wrap { --col: 1320px; }
.sec-h { max-width: 18ch; margin-bottom: clamp(36px, 4.4vw, 64px); font-size: clamp(32px, 4vw, 56px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 500; text-wrap: balance; }
.sec-h-c { margin-inline: auto; text-align: center; }
.home .sec-title { font-size: clamp(32px, 4vw, 56px); }
.steps-more { margin-top: var(--s-6); }

/* the tools it works with, drifting past under the window, faded at both ends */
.marq { padding-top: clamp(24px, 3vw, 40px); }
.marq-track { 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); }
.marq-row { display: flex; width: max-content; gap: clamp(40px, 5vw, 72px); margin: 0; padding: 12px clamp(20px, 2.5vw, 36px); list-style: none; }
.marq-row li { display: inline-flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.62); white-space: nowrap; }
.marq-row svg { width: 26px; height: 26px; fill: currentColor; }
.marq.is-moving .marq-row { animation: marq 48s linear infinite; }
.marq-track:hover .marq-row { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marq-cap { margin-top: var(--s-4); text-align: center; font-size: 15px; color: var(--muted); }

/* the split sections: the words in half the page, an app window running off the other edge */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.wrap-half { width: 100%; max-width: 600px; padding-inline: 20px; }
.duo-l .wrap-half { justify-self: start; }
.duo-r .wrap-half { justify-self: end; }
.duo-art { min-width: 0; }
.duo-l .duo-art { margin-left: -1px; }
.duo-l .duo-art .app { margin-left: clamp(-120px, -5vw, -32px); }
.duo-r .duo-art .app { margin-right: clamp(-120px, -5vw, -32px); }
.duo-lede { max-width: 46ch; margin: calc(var(--s-5) * -1) 0 var(--s-6); font-size: 18px; line-height: 1.55; color: var(--muted); }
.feats { display: grid; gap: var(--s-5); margin: 0; padding: 0; list-style: none; }
.feats li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; }
.feats .i { width: 20px; height: 20px; margin-top: 2px; color: var(--text); }
.feats b { font-size: 18px; font-weight: 500; }
.feats span { grid-column: 2; font-size: 16px; line-height: 1.5; color: var(--muted); }
.feats-more { margin-top: var(--s-6); font-size: 16px; color: var(--muted); }
:is(.feats, .feats-more, .ships, .duo-lede) a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }
:is(.feats, .feats-more, .ships, .duo-lede) a:hover { text-decoration-color: currentColor; }
/* the homepage's figures (index.html .power): four large counts, plain white type, no tiles or rules between them */
.power { padding-top: clamp(96px, 10vw, 152px); }
.power .sec-h { max-width: 20ch; }
.power-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px); margin: 0; }
.power-grid > div { display: grid; align-content: start; gap: 12px; }
.power-grid dt { display: grid; gap: 6px; font-size: 17px; font-weight: 500; color: var(--text); }
.power-grid dt .num { font-size: clamp(56px, 6.6vw, 104px); line-height: 0.95; font-weight: 500; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.power-grid dd { margin: 0; max-width: 30ch; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 960px) { .power-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(40px, 6vw, 56px); } }
@media (max-width: 420px) { .power-grid dt .num { font-size: 52px; } }

/* the rest (index.html): what the agents do once a build is handed to them. Four plain columns under a headline,
   no figures and no art: the section says what happens, the builder's own card (builder.css .handover) does it */
.rest .sec-h { max-width: 20ch; margin-bottom: 20px; }
.rest-lede { max-width: 54ch; margin: 0 0 clamp(36px, 4.4vw, 64px); font-size: 18px; line-height: 1.5; color: var(--muted); }
.rest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px); margin: 0; padding: 0; list-style: none; }
.rest-grid li { display: grid; align-content: start; gap: 8px; }
.rest-grid b { font-size: 18px; font-weight: 500; color: var(--text); }
.rest-grid span { max-width: 30ch; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.rest-fine { margin: clamp(28px, 3.4vw, 48px) 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .rest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .rest-grid { grid-template-columns: minmax(0, 1fr); } }
.facts { display: grid; gap: var(--s-5); margin: 0; }
.facts > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: var(--s-4); align-items: baseline; }
.facts dt { font-size: 16px; font-weight: 600; }
.facts dt .num { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; margin-right: 4px; }
.facts dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 960px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo .wrap-half { justify-self: stretch; max-width: none; }
  .duo-l .duo-art { order: 2; }
  .duo-art .app, .duo-l .duo-art .app, .duo-r .duo-art .app { margin: 0 20px; }
}
@media (max-width: 560px) { .facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* the app windows: drawn in HTML (no screenshots), the builder's own layout in miniature */
.app { border-radius: 20px; background: rgba(14, 15, 18, 0.92); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9); overflow: hidden; font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.app-bar { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 16px; background: rgba(255, 255, 255, 0.03); }
.app-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.app-seg > * { padding: 5px 12px; border-radius: 999px; font-weight: 500; color: rgba(255, 255, 255, 0.5); }
.app-seg b { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.app-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; color: rgba(255, 255, 255, 0.45); }
.app-pub { padding: 6px 14px; border-radius: 999px; background: #ffffff; color: #050506; font-weight: 600; }
.app-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 420px; }
.app-rail { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 18px; background: rgba(255, 255, 255, 0.02); }
.app-me { justify-self: end; max-width: 90%; padding: 9px 13px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.app-log { display: grid; align-content: start; gap: 12px; margin: 0; padding: 0; list-style: none; }
.app-log li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; line-height: 1.45; }
.app-log i { width: 18px; height: 18px; margin-top: 1px; border-radius: 6px; background: var(--a); }
.app-log [data-agent="architect"] { --a: #2f6bff; } .app-log [data-agent="designer"] { --a: #e2589b; } .app-log [data-agent="builder"] { --a: #14a36b; }
.app-log [data-agent="critic"] { --a: #e08a12; } .app-log [data-agent="sentinel"] { --a: #0e8fb5; }
.app-ask { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.4); }
.app-view { padding: 14px; }
.app-view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10px; }
.rep { display: grid; gap: 14px; padding: 22px 24px 28px; }
.rep-h { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; font-size: 14px; }
.rep-h span { font-weight: 600; color: #ffffff; }
.rep-h b { font-weight: 500; color: #5fd49a; }
.rep-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.rep-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
.rep-list li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #1f8a5a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.rep-sys { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); color: rgba(255, 255, 255, 0.6); }
@media (max-width: 640px) { .app-body { grid-template-columns: minmax(0, 1fr); } .app-view { display: none; } .app-url { display: none; } }

/* start a build: the heading left and its line right, the composer in a wide panel, then where it ships in three columns */
.begin.wrap { padding-top: clamp(88px, 11vw, 150px); }
.begin-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-6); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.begin-head .sec-h { margin-bottom: 0; max-width: 16ch; }
.begin-lede { max-width: 46ch; justify-self: end; font-size: 18px; line-height: 1.55; color: var(--muted); }
.begin-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); padding: 0; }
.begin-in .composer { width: min(820px, 100%); margin: 0 auto; }
.begin-in .fine { text-align: center; font-size: 14px; color: var(--muted); }
.ships { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; list-style: none; }
.ships li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px 12px; }
.ships .i { width: 20px; height: 20px; margin-top: 2px; }
.ships b { font-size: 18px; font-weight: 500; }
.ships span { grid-column: 2; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 900px) { .begin-head { grid-template-columns: minmax(0, 1fr); } .begin-lede { justify-self: start; } .ships { grid-template-columns: minmax(0, 1fr); } }

/* cards: solid near-black, no outline */
.home :is(.answers a, .topic, .help-card) { background: rgba(18, 18, 18, 0.86); box-shadow: none; border-radius: 20px; }
.home .help-card { padding: 36px; gap: var(--s-4); }
.home .help-card h3 { font-size: 24px; letter-spacing: -0.02em; }

@media (prefers-reduced-motion: reduce) {
  .hero .wd, .crew .face *, .crew::after, .marq-row { animation: none !important; transition: none !important; }
  .home .lit { transition: background-color var(--t-1) var(--ease); }
}
.home { overflow-x: clip; }


/* the windows run off the page on the side of their picture, so no words are cut: on the left the preview comes first
   and the build log sits next to the words; on the right the report's lines read from the left and fade out at the edge */
.duo-l .app { width: calc(100% + clamp(32px, 5vw, 120px)); }
.duo-l .app-body { grid-template-columns: minmax(0, 1fr) 260px; }
.duo-l .app-rail { order: 2; }
.rep-h { justify-content: flex-start; gap: 12px; }
.rep { max-width: 560px; }
@media (max-width: 960px) { .duo-l .app { width: auto; } }

/* the builder window's code view: the Builder writing the booking form, a caret at the end */
.app-code { min-width: 0; overflow: hidden; }
.app-code pre { margin: 0; height: 100%; padding: 18px 20px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); font: 12.5px/1.75 var(--mono); color: rgba(255, 255, 255, 0.82); white-space: pre; overflow: hidden; }
.app-code .c-t { color: #7ea2ff; } .app-code .c-a { color: #e2a35f; } .app-code .c-s { color: #6fd3a0; }
.c-caret { display: inline-block; width: 7px; height: 1.1em; margin-left: 2px; vertical-align: -0.2em; background: rgba(255, 255, 255, 0.7); animation: c-blink 1.1s steps(1) infinite; }
@keyframes c-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .c-caret { animation: none; } }
.duo-l .app-code pre { padding-left: clamp(40px, 6vw, 128px); }

/* ================= the homepage, after linear.app (the owner, 2026-11-11: "make it look like linear") =================
   Measured from linear.app at 1440px: page #08090a; text #f7f8f8, #d0d6e0 for reading, #8a8f98 grey, #62666d faint;
   content 1280px wide; a 72px full-width header with the pages at the right in 13px grey and one filled Sign up;
   a 64px headline (tracking -0.022em) with one 15px grey line under it and the newest thing beside it (Linear sets
   these on the left; here they sit in the middle, at the owner's ask); the product in a window on a lit grey stage; a still logo row; 48px section headings on the left;
   cards and windows a step up from the page with 12px corners. Kept from Anticode: its font, its words, the selection
   box on "designed." (the one signature), the box, the film, the agents. Not copied: Linear's hairline rules, since
   Anticode's surfaces carry no outlines. */
.home.ink, body:not(.is-building):has(> main.home) > .top {
  --text: #f7f8f8; --body: #d0d6e0; --muted: #8a8f98; --faint: #62666d; }
html:has(> body:not(.is-building) > main.home), body:not(.is-building):has(> main.home) { background: #08090a; }
/* a link straight into a project (route-first.js marks the document before first paint): the home page is never
   shown on the way in, only the app's own ground, until anticode.js opens the builder */
html.to-build, html.to-build > body:not(.is-building) { background: #191919 !important; }
html.to-build > body:not(.is-building) > :is(.top, main.home, .skip) { visibility: hidden; }
html.to-build > body:not(.is-building)::before, html.to-build > body:not(.is-building)::after { display: none !important; }
/* the ground is very slightly graded (the owner, 2026-11-12: "slightly gradiented, like very very slightly"): a touch
   lighter at the top of the window, easing down to the page's own near-black. Neutral grey, no colour, a few steps of
   brightness at most; fixed to the window, so every section sits on the same quiet fall of light. It is a layer of
   its own behind the page (never the body's colour), and it draws nothing in forced colours. */
.home::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 85% at 50% 0%, #101113 0%, #0c0d0f 40%, #08090a 78%); }
@media (forced-colors: active) { .home::before { display: none; } }
.home .wrap, .home .sec.wrap, .home .sec > .wrap, .home .marq-cap.wrap, .home .cta-in.wrap, .home > .foot { --col: 1360px; padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
@media (max-width: 760px) { .home .wrap, .home .sec.wrap, .home .sec > .wrap, .home .marq-cap.wrap, .home .cta-in.wrap, .home > .foot { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }

/* the header: full width, 72px, a dark see-through bar; the pages sit at the right beside Log in and Sign up */
.home { margin-top: 0; }
body:not(.is-building):has(> main.home) > .top, body:not(.is-building):has(> main.home) > .top.is-stuck {
  top: 0; margin: 0; width: 100%; border-radius: 0; box-shadow: none;
  /* the bar takes the tone of the ground under it at the top of the page, so it never reads as a darker strip */
  background: linear-gradient(180deg, rgba(16, 17, 19, 0.78), rgba(12, 13, 15, 0.62));
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
body:not(.is-building):has(> main.home) > .top .top-in.wrap { --col: 1360px; max-width: var(--col); height: 72px; gap: 0; padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
body:not(.is-building):has(> main.home) > .top .brand { font-size: 18px; }
/* relative, not static: the hover pill (.hl, anticode.js glidingHighlight) is placed from the nav's own corner, so the nav
   must be its containing block; left: auto undoes the centring rule's 50% */
body:not(.is-building):has(> main.home) > .top .nav { position: relative; left: auto; translate: none; margin: 0 0 0 auto; gap: 0; }
body:not(.is-building):has(> main.home) > .top .nav a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 400; color: var(--muted); transition: color var(--t-1) var(--ease); }
body:not(.is-building):has(> main.home) > .top .nav a:hover, .top .top-login:hover { color: var(--text); }
/* Log in as quiet text, after a short rule between it and the pages */
.top .top-login { display: inline-flex; align-items: center; height: 32px; margin-left: 16px; padding: 0 12px; font-size: 13px; color: var(--muted); text-decoration: none; transition: color var(--t-1) var(--ease); }
.top .top-login::before { content: ""; width: 1px; height: 16px; margin: 0 28px 0 -16px; background: rgba(255, 255, 255, 0.1); }
body:not(.is-building):has(> main.home) > .top #top-cta { height: 32px; margin-left: 8px; padding: 0 12px; font-size: 13px; font-weight: 500; }
@media (max-width: 760px) {
  body:not(.is-building):has(> main.home) > .top .top-in.wrap { height: 64px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  body:not(.is-building):has(> main.home) > .top #top-cta { height: 40px; padding: 0 16px; }
}
/* One breakpoint for the header (2026-12-04): at 1040px and below the Menu button takes over (public/site-menu.js),
   so the page links go entirely. Between 760 and 1040 the bar used to show four links and the Menu button at once,
   which read as a mistake. Log in then takes the free space, without the rule that divided it from the links. */
@media (max-width: 1040px) {
  .top .nav { display: none; }
  .top .top-login { margin-left: auto; } .top .top-login::before { display: none; }
}
@media (pointer: coarse) { .top .top-login, body:not(.is-building):has(> main.home) > .top .nav a { min-height: 44px; } }

/* the hero: Linear's type and spacing, but in the middle of the page (the owner, 2026-11-11: "instead of it being
   in the left side, make it in the middle"); 200px under the header at full size */
.home > .hero { padding: clamp(96px, 20vh, 200px) 0 0; text-align: center; }
/* on a phone the composer sits above the fold (2026-12-03: 162px of space pushed it under) */
@media (max-width: 600px) { .home > .hero { padding-top: clamp(24px, 5vh, 56px); } }
.hero-in { justify-items: center; gap: 0; }
.hero .hero-title { max-width: 100%; font-size: clamp(34px, 3.8vw, 54px); line-height: 1; letter-spacing: -0.022em; font-weight: 500; }
/* the headline's two turns (the owner, 2026-11-13), on one beat of three seconds, started together by home-motion.js
   (.is-live) once the faces and the type are in, and rested together while the headline is off screen (.is-off).
   Each phrase (.sg) wraps as a unit, so the lines break in the same places in the fallback type and in ours. */
.hero .sg { display: inline-block; }
/* 1. its first word switches between Imagine, Create, Automate and Launch (the owner's tagline, 2026-11-15: "Imagine your
   startup. Agents handle the rest."), each in a colour of its own (the agent stage's own tints, swarm.css: peach, rose,
   pistachio, orchid; at least 10.9, 8.8, 13.0 and 8.9 to 1 on the page's ground). The one leaving lifts and softens away
   as the next comes up into focus. Imagine is the real text and
   keeps the word's place; the others are drawn from data-w over it, set to its right edge so the gap to "full" never
   changes, and the words on its row slide by half the difference in width (--p1 to --p3, measured by
   home-motion.js), so the row stays centred without the layout moving. */
.hero .rot { position: relative; }
.rw { display: inline-block; color: var(--rc, inherit); }
.rw[data-w] { position: absolute; top: 0; right: 0; white-space: nowrap; opacity: 0; pointer-events: none; }
.rw[data-w]::before { content: attr(data-w); }
/* the word is plain, in the headline's own white (the owner, 2026-11-20: no gradient words; it read as AI-made) */
/* Imagine is there from the first paint and first leaves at 3.9s; each of the others waits unseen for its turn. After
   that the four are the same turn, three seconds apart: 600ms coming in, held, 420ms going. */
.hero-title.is-live .rw { animation: rw-turn 12s calc(1020ms + var(--k, 0) * 3000ms) infinite both; }
.hero-title.is-live .rw:first-child { animation-name: rw-first; animation-delay: 1620ms; }
@keyframes rw-turn {
  0% { opacity: 0; transform: translateY(0.26em); filter: blur(8px); animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
  5% { opacity: 1; transform: none; filter: blur(0); }
  24% { opacity: 1; transform: none; filter: blur(0); animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1); }
  27.5%, 100% { opacity: 0; transform: translateY(-0.26em); filter: blur(8px); }
}
@keyframes rw-first {
  0% { opacity: 1; transform: none; filter: blur(0); }
  19% { opacity: 1; transform: none; filter: blur(0); animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1); }
  22.5% { opacity: 0; transform: translateY(-0.26em); filter: blur(8px); animation-timing-function: step-end; }
  95% { opacity: 0; transform: translateY(0.26em); filter: blur(8px); animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
.hero-title.is-live .ln:first-child .wd { animation-name: wd-in, rot-shift; animation-duration: 1100ms, 12s; animation-timing-function: var(--in-ease), cubic-bezier(0.4, 0, 0.2, 1); animation-delay: calc(var(--i, 0) * 90ms + 60ms), 1620ms; animation-iteration-count: 1, infinite; animation-fill-mode: both; }
@keyframes rot-shift {
  0%, 19%, 100% { translate: 0 0; }
  25%, 44% { translate: calc(var(--p1, 0em) * var(--same, 0)) 0; }
  50%, 69% { translate: calc(var(--p2, 0em) * var(--same, 0)) 0; }
  75%, 94% { translate: calc(var(--p3, 0em) * var(--same, 0)) 0; }
}
/* 2. right after "agents" one agent shows at a time, each taking its turn in the same place: Architect, Designer,
   Builder, Critic, Sentinel, and round again (faces from bots.js). The place is kept from the first paint, in the
   headline's own em, so nothing shifts when they arrive. The one leaving goes in 360ms; the next waits 120ms and
   settles in 540ms, so the two are never both plain to see. */
.ag-slot { position: relative; display: inline-block; width: 0.84em; height: 0.84em; margin: -0.1em 0 -0.1em 0.18em; vertical-align: baseline; pointer-events: none; }
.ag-slot i { position: absolute; inset: 0; opacity: 0; }
.ag-slot .face { display: block; width: 100%; height: 100%; overflow: visible; }
.ag-slot .face .happy, .ag-slot .face .shade { display: none; }
.hero-title.is-live .ag-slot i { animation: ag-turn 15s calc(900ms + var(--k, 0) * 3000ms) infinite both; }
@keyframes ag-turn {
  0% { opacity: 0; transform: translateY(0.24em) scale(0.72); }
  0.8% { opacity: 0; transform: translateY(0.24em) scale(0.72); animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
  4.4% { opacity: 1; transform: none; }
  20% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1); }
  22.4%, 100% { opacity: 0; transform: translateY(-0.24em) scale(0.72); }
}
.hero-title.is-off .wd, .hero-title.is-off .rw, .hero-title.is-off .ag-slot i { animation-play-state: paused; }
/* only transform, translate, opacity and blur move. With reduced motion nothing takes turns: it reads "Engineer",
   and the Architect stands after "agents". */
@media (prefers-reduced-motion: reduce) { .rw, .ag-slot i { animation: none !important; } .ag-slot i:first-child { opacity: 1; } }
/* 3. pointing at "agents" lifts a pill above the word with the whole team in it, Architect to Sentinel, each popping
   in 55ms after the one before; it goes as soon as the pointer leaves. Only on devices that can point, only decorative
   (aria-hidden), and with reduced motion the pill just appears. */
.ag-word { position: relative; cursor: default; }
/* under "agents" a faint line says there is something to point at; pointing dims the word and runs a light once
   along the line, left to right, as the pill comes up */
.ag-u { position: relative; display: inline-block; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.ag-u::before, .ag-u::after { content: ""; position: absolute; left: 0.02em; right: 0.02em; bottom: 0.06em; height: max(1px, 0.035em); border-radius: 1px; pointer-events: none; }
.ag-u::before { background: rgba(255, 255, 255, 0.2); }
.ag-u::after { background: linear-gradient(90deg, transparent, #ffffff 50%, transparent) no-repeat; background-size: 45% 100%; background-position: -80% 0; opacity: 0; }
.ag-pop { position: absolute; left: 50%; bottom: calc(100% - 0.04em); z-index: 5; display: flex; gap: 0.4em; padding: 0.45em 0.65em;
  font-size: max(11px, calc(0.21 * clamp(40px, 4.45vw, 64px))); letter-spacing: 0; white-space: nowrap; border-radius: 999px; background: rgba(30, 30, 32, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translate(-50%, 0.5em) scale(0.94); filter: blur(4px); pointer-events: none;
  transition: opacity 200ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1), filter 200ms ease, visibility 0s 260ms; }
.ag-pop i { display: block; width: 1.7em; height: 1.7em; opacity: 0; transform: translateY(0.35em) scale(0.6); transition: opacity 160ms ease, transform 160ms ease; }
.ag-pop .face { display: block; width: 100%; height: 100%; overflow: visible; }
.ag-pop .face .happy, .ag-pop .face .shade { display: none; }
@media (hover: hover) and (pointer: fine) {
  /* the rest of the headline steps back, and a light runs through the word in step with the one on its line, leaving
     it light grey (the word is painted as a gradient clipped to its letters, like the switching first word) */
  .hero-title .sg, .hero-title .sg > .wd, .hero-title .ag-slot { transition: opacity 300ms ease, color 300ms ease; }
  .hero-title:has(.ag-word:hover) .sg:not(:has(.ag-word)), .hero-title:has(.ag-word:hover) .ag-slot { opacity: 0.26; }
  .hero-title:has(.ag-word:hover) .sg > .wd:not(.ag-word) { color: rgba(255, 255, 255, 0.26); }
  .ag-word:hover .ag-u { background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0 42%, #ffffff 50%, rgba(255, 255, 255, 0.6) 58% 100%) no-repeat;
    background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: ag-glint 950ms cubic-bezier(0.4, 0, 0.2, 1) both; }
  .ag-word:hover .ag-u::after { animation: ag-sweep 950ms cubic-bezier(0.4, 0, 0.2, 1) both; }
  .ag-word:hover .ag-pop { opacity: 1; visibility: visible; transform: translate(-50%, 0); filter: blur(0); transition-delay: 0s; }
  .ag-word:hover .ag-pop i { opacity: 1; transform: none; transition: opacity 260ms ease calc(80ms + var(--k, 0) * 55ms), transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(80ms + var(--k, 0) * 55ms); }
}
@keyframes ag-glint { from { background-position: 86% 0; } to { background-position: 10% 0; } }
@keyframes ag-sweep { 0% { background-position: -80% 0; opacity: 1; } 75% { opacity: 1; } 100% { background-position: 180% 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ag-word .ag-u::after, .ag-word .ag-u { animation: none !important; } .ag-word:hover .ag-u { background-position: 10% 0; } }
@media (prefers-reduced-motion: reduce) { .ag-pop, .ag-pop i { transition: none !important; transform: translate(-50%, 0); filter: none; } .ag-pop i { transform: none; } }
.hero-row { display: grid; justify-items: center; gap: 12px; margin-top: 32px; }
.hero .hero-sub { max-width: 60ch; margin: 0; text-wrap: balance; font-size: 15px; line-height: 24px; letter-spacing: -0.011em; color: var(--muted); }
.hero-in > .hs { justify-items: center; width: min(680px, 100%); margin-top: 40px; }
.hero .hs-mode { justify-content: center; min-height: 28px; font-size: 13px; color: var(--muted); }
.hero .ideas { justify-content: center; gap: 6px; margin-top: 4px; }
.hero-in > :nth-child(2) { animation-delay: 380ms; }
/* the two boxes: a surface a step up from the page, 12px corners, as Linear's own composer */
:root .home.ink .composer { border-radius: 12px; background: rgba(22, 23, 24, 0.9); --sh-comp: 0 24px 48px -28px rgba(0, 0, 0, 0.8); }
.home .ideas button { min-height: 32px; padding: 0 12px 0 10px; background: rgba(255, 255, 255, 0.04); font-size: 13px; color: var(--muted); }
.home .ideas button:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.ideas-more button { width: 32px; }
@media (pointer: coarse) { .home .ideas button { min-height: 44px; } .ideas-more button { width: 44px; } }
/* the ideas on a phone (2026-12-04): all four and the round "more" stay, in one row that scrolls sideways rather than
   wrapping to three rows that push the page down. The row runs to the screen's edges and fades out on the right, and
   the chip cut off by that fade is the cue that there's more to swipe to; the end padding lets the last one clear it */
@media (max-width: 560px) {
  .hero .ideas { flex-wrap: nowrap; justify-content: flex-start; justify-self: stretch; overflow-x: auto; overscroll-behavior-x: contain;
    margin-inline: -16px; padding: 2px 48px 2px 16px; scroll-padding-inline: 16px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
  .hero .ideas::-webkit-scrollbar { display: none; }
  .hero .ideas li { flex: none; }
}
/* what every build comes with, quietly under the ideas (index.html .trust, 2026-12-04): three true things, each a
   link to where it can be checked. Grey text in one line split by dots, stacked one under another on a phone */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; line-height: 20px; }
.trust li { display: inline-flex; align-items: center; }
.trust li + li::before { content: "·"; margin: 0 10px; color: var(--muted); opacity: 0.6; }
.trust a { color: var(--muted); text-decoration: none; transition: color var(--t-1) var(--ease); }
.trust a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.trust a:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; border-radius: 4px; }
@media (pointer: coarse) { .trust a { display: inline-flex; align-items: center; min-height: 32px; } }
@media (max-width: 560px) { .trust { flex-direction: column; align-items: center; } .trust li + li::before { content: none; } }
/* Linear's hero stays put as the page scrolls */
@supports (animation-timeline: scroll()) { .hero-in { animation: none; } }

/* the product under it, as Linear's: a window with 12px corners on a stage lit grey from below */
.home > .reveal { padding: 72px 0 0; }
.reveal-shot.wrap { --col: 1400px; }
.film { position: relative; isolation: isolate; }
.film::before { content: ""; position: absolute; z-index: -1; inset: 28% -48px -48px; border-radius: 16px; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 100%, rgba(146, 151, 158, 0.42), rgba(70, 73, 78, 0.2) 55%, transparent 85%), linear-gradient(transparent, rgba(255, 255, 255, 0.03)); }
.film-frame { border-radius: 12px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.reveal-shot { animation: none; }
@media (max-width: 760px) { .film::before { inset: 28% -12px -24px; } }

/* the tools it works with: one still row of marks, spread across the page, a small grey line under it */
.home > .marq { padding-top: clamp(96px, 10vw, 144px); }
.marq-track { -webkit-mask-image: none; mask-image: none; }
.marq-track, .home .marq-cap.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: max(40px, env(safe-area-inset-left, 0px)); }
.marq-row { width: auto; justify-content: space-between; gap: 24px; padding: 0; }
.marq-row li { font-size: 20px; color: var(--text); }
.marq-row li:nth-child(n+8) { display: none; }
.marq-cap { margin-top: 32px; text-align: left; font-size: 13px; color: var(--faint); }
@media (max-width: 900px) { .marq-row { flex-wrap: wrap; justify-content: flex-start; gap: 20px 32px; } .marq-row li:nth-child(n+6) { display: none; } }
@media (max-width: 760px) { .marq-track, .home .marq-cap.wrap { padding-inline: 16px; } }

/* sections: 48px headings on the left, tight; the reading beside them 24px and lighter grey; far apart */
.home .sec, .begin.wrap { padding-top: clamp(112px, 14vw, 200px); }
.sec-h, .home .sec-title { max-width: 14ch; margin-bottom: 56px; font-size: clamp(32px, 3.4vw, 48px); line-height: 1; letter-spacing: -0.022em; font-weight: 500; }
.begin-lede { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.33; letter-spacing: -0.012em; color: var(--body); }
.duo-lede { font-size: 17px; color: var(--muted); }
.feats b, .ships b { font-size: 15px; font-weight: 500; color: var(--text); }
.feats span, .ships span { font-size: 15px; line-height: 24px; color: var(--muted); }

/* the agents: tiles a step up from the page, the name and its part in Linear's 15px */
.crew::after { background: #f7f8f8; }
.crew-tile { border-radius: 12px; background: #0f1011; }
.crew-n { font-size: 12px; color: var(--faint); }
.crew b { font-size: 15px; letter-spacing: -0.011em; }
.crew > li > span:last-child { font-size: 15px; line-height: 24px; color: var(--muted); }

/* cards and app windows: a step up from the page, 12px corners, no outline */
.home :is(.answers a, .topic, .help-card) { background: #0f1011; border-radius: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.app { border-radius: 12px; background: #0f1011; }
.home .help-card h3 { font-size: 20px; letter-spacing: -0.012em; }
.topic h3 { font-size: 15px; }
.topic ul a { font-size: 14px; color: var(--muted); }

/* the way in, as Linear's closing: one large centred line and the two buttons under it */
.home > .cta { margin-top: clamp(112px, 14vw, 200px); padding: clamp(96px, 12vw, 176px) 0 clamp(48px, 6vw, 96px); }
/* the closing sits on the left like the rest of the page, with one button and a plain link beside it */
.cta-in.wrap { grid-template-columns: minmax(0, 1fr); justify-items: start; text-align: left; }
.cta-copy { justify-items: start; gap: 24px; }
.cta h2 { max-width: 16ch; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.022em; }
.cta-copy > p { max-width: 46ch; font-size: 16px; line-height: 26px; color: var(--muted); }
.cta-acts { justify-content: flex-start; align-items: center; gap: 22px; }
.cta-link { font-size: 15px; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.28); text-underline-offset: 4px; }
.cta-link:hover { color: var(--text); text-decoration-color: currentColor; }

/* the footer: Linear's 13px columns */
.home > .foot { padding-top: 64px; padding-bottom: 64px; }
/* (the dark floor that faded in over the old light is not needed on a plain ground, and it covered the buttons above) */
.home > .foot::before { display: none; }
.foot-h { font-size: 13px; font-weight: 500; color: var(--text); }
.foot-cols a, .foot-brand p, .foot-copy { font-size: 13px; color: var(--muted); }
.foot-cols nav { gap: 12px; }

/* ---- pictures that fade into the page, after the owner's reference (2026-11-13) ----
   The two product windows fade out at the bottom and on the side where they run off the page, so they read as part of
   the ground and not as boxes set on it. A mask, not an overlay: whatever is behind shows through. */
.duo-art .app { box-shadow: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 98%), linear-gradient(to right, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 52%, transparent 98%), linear-gradient(to right, #000 58%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.duo-l .duo-art .app {
  -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 98%), linear-gradient(to left, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 52%, transparent 98%), linear-gradient(to left, #000 58%, transparent 100%); }
@media (max-width: 960px) {
  /* stacked: the window sits inside the page, so only its bottom fades */
  .duo-art .app, .duo-l .duo-art .app { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
}

/* a change being made: the list of changes behind, the Builder's edit in front */
.change-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-6); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.change-head .sec-h { margin-bottom: 0; max-width: 18ch; }
.change-lede { max-width: 46ch; justify-self: end; font-size: 17px; line-height: 1.55; color: var(--muted); }
.change-art { position: relative; height: clamp(420px, 44vw, 580px); font-size: 13px; color: rgba(255, 255, 255, 0.82);
  -webkit-mask-image: linear-gradient(to bottom, #000 48%, transparent 97%), linear-gradient(to right, transparent 0, #000 9%, #000 64%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 48%, transparent 97%), linear-gradient(to right, transparent 0, #000 9%, #000 64%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.cq, .cd { position: absolute; border-radius: 12px; background: #0f1011; overflow: hidden; }
.cq { left: 6%; top: 28px; width: 46%; bottom: -40px; padding: 10px 8px; background: #0c0d0e; }
.cd { left: 36%; top: 0; right: -6%; bottom: -40px; background: #101113; box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.7); }
.cq-g ul { margin: 0; padding: 0; list-style: none; }
.cq-h { display: flex; align-items: center; gap: 10px; height: 38px; margin: 0; padding: 0 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.035); font-size: 13px; }
.cq-h b { font-weight: 500; color: #ffffff; }
.cq-h span { color: rgba(255, 255, 255, 0.45); }
.cq-g li { display: grid; grid-template-columns: 58px 16px minmax(0, 1fr); align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 30px; white-space: nowrap; }
.cq-id { font: 12px var(--mono); color: rgba(255, 255, 255, 0.4); }
.cq-t { overflow: hidden; text-overflow: clip; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
/* the state of a change is a small drawn ring, and the group's name says it in words: mint is checked, amber is being built */
.cq-h i, .cq-g li i { flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.cq-g[data-state="done"] i { box-shadow: inset 0 0 0 1.5px #5fd49a; background: radial-gradient(circle, #5fd49a 0 3px, transparent 3.5px); }
.cq-g[data-state="work"] i { box-shadow: inset 0 0 0 1.5px #e2a35f; background: linear-gradient(to right, transparent 50%, #e2a35f 50%); background-clip: content-box; padding: 3px; }
.cq-g[data-state="todo"] .cq-t { color: rgba(255, 255, 255, 0.55); }
.cd-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; padding: 0 28px; background: rgba(255, 255, 255, 0.02); font: 13px var(--mono); color: rgba(255, 255, 255, 0.5); }
.cd-who { font-family: inherit; color: rgba(255, 255, 255, 0.75); }
.cd-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.05); height: 100%; }
.cd-cols pre { margin: 0; padding: 22px 0; background: #101113; font: 13px/24px var(--mono); color: rgba(255, 255, 255, 0.85); overflow: hidden; }
.cd-l { display: block; height: 24px; padding: 0 20px 0 0; white-space: pre; }
.cd-l i { display: inline-block; width: 52px; padding-right: 16px; text-align: right; font-style: normal; color: rgba(255, 255, 255, 0.3); }
.cd-l[data-k="out"] { background: rgba(214, 69, 80, 0.16); box-shadow: inset 2px 0 0 #d64550; }
.cd-l[data-k="out"] i { color: #e5727b; }
.cd-l[data-k="in"] { background: rgba(60, 170, 110, 0.15); box-shadow: inset 2px 0 0 #3caa6e; }
.cd-l[data-k="in"] i { color: #5fd49a; }
@media (max-width: 900px) {
  .change-head { grid-template-columns: minmax(0, 1fr); }
  .change-lede { justify-self: start; }
  .change-art { height: 400px; }
  .cq { left: 0; width: 80%; }
  .cd { left: 30%; right: -55%; }
  .cd-l i { width: 40px; padding-right: 12px; }
}
