/* BAILEY site. Deep navy room, liquid glass, bright white text.
   Color jobs: sky = BAILEY, mint = done, amber = waiting on a person, blue = in motion. Red only means broken. */
:root {
  --ink: #f5f8ff;
  --ink2: rgba(222, 232, 255, .82);
  --ink3: rgba(204, 218, 252, .68);
  --bailey: #5cc8ff;
  --done: #4fe3a1;
  --wait: #ffb547;
  --flow: #7aa7ff;
  --red: #ff4d5e;
  --navy: #040a1a;
  --hair: rgba(255, 255, 255, .08);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: 16px;
  --max: 1180px;
  color-scheme: dark;
}
@media (min-width: 700px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #040a1a, #02050f) fixed, #030817;
  font: 600 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; letter-spacing: -.02em; }
p, li { text-wrap: pretty; }
a { color: var(--bailey); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--bailey); outline-offset: 3px; border-radius: 8px; }

/* ---- the room behind the glass ---- */
.room { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.light { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .2; }
.l1 { width: 900px; height: 640px; left: -280px; top: -220px; background: #1d4aa8; }
.l2 { width: 760px; height: 600px; right: -260px; top: 32%; background: #0a7f9e; }
.l3 { width: 700px; height: 560px; left: 10%; bottom: -260px; background: #5b3fc4; }
.grain {
  position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---- liquid glass, two levels ---- */
.glass {
  position: relative; isolation: isolate; border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.035) 34%, rgba(255,255,255,.018) 62%, rgba(255,255,255,.05)), rgba(8,18,44,.34);
  -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), inset 0 -1px 0 rgba(255,255,255,.06),
    inset 0 52px 70px -60px rgba(175,210,255,.55), inset 0 -44px 64px -56px rgba(92,200,255,.20),
    0 2px 4px rgba(0,0,0,.35), 0 40px 90px -40px rgba(0,0,0,.85);
}
.glass::before, .card::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background:
    conic-gradient(from 205deg, rgba(255,255,255,.70) 0deg, rgba(255,255,255,.26) 32deg, rgba(255,255,255,.05) 70deg, rgba(0,0,0,.28) 115deg,
      rgba(255,255,255,.07) 160deg, rgba(255,255,255,.50) 192deg, rgba(255,255,255,.26) 220deg, rgba(255,255,255,.05) 258deg, rgba(0,0,0,.22) 300deg, rgba(255,255,255,.70) 360deg),
    conic-gradient(from 253deg, rgba(255,95,109,.14), rgba(255,195,113,.14), rgba(244,248,111,.12), rgba(88,232,162,.14), rgba(71,199,255,.16), rgba(138,125,255,.16), rgba(255,111,216,.14), rgba(255,95,109,.14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(130% 60% at 8% -14%, rgba(255,255,255,.13), transparent 52%),
              linear-gradient(116deg, transparent 20%, rgba(255,255,255,.04) 28%, transparent 38%);
}
.glass > * { position: relative; z-index: 1; }
.card {
  position: relative; border-radius: 22px;
  background: linear-gradient(165deg, rgba(255,255,255,.08), rgba(255,255,255,.025) 46%, rgba(255,255,255,.045)), rgba(8,18,44,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), inset 0 34px 48px -42px rgba(175,210,255,.40), 0 20px 44px -28px rgba(0,0,0,.85);
}
.card::before { opacity: .62; }

/* ---- chrome ---- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--bailey); color: var(--navy); font-weight: 700; }
.skip:focus { left: 8px; }
.ribbon {
  position: sticky; top: 0; z-index: 40; margin: 0; padding: 8px var(--gutter);
  background: var(--wait); color: #1a1100; font: 700 14px/1.3 var(--sans); text-align: center; letter-spacing: .02em;
}
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 14px var(--gutter);
}
.ribbon:not([hidden]) ~ .top { top: 35px; }
.top::before {
  content: ""; position: absolute; inset: 6px calc(var(--gutter) - 10px); z-index: -1; border-radius: 20px;
  background: rgba(6, 14, 34, .55); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 30px -18px rgba(0,0,0,.8);
}
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 20px/1 var(--display); letter-spacing: .08em; }
.mark-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bailey); box-shadow: 0 0 16px 2px rgba(92,200,255,.55); flex: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 650; }
.nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 560px) { .nav a:not(.btn) { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px;
  border: 0; border-radius: 999px; background: var(--bailey); color: var(--navy);
  font: 750 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 30px -10px rgba(92,200,255,.65);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 14px 36px -10px rgba(92,200,255,.8); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.btn-ghost { background: rgba(255,255,255,.07); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,255,255,.14); }
.btn-ghost:hover { background: rgba(255,255,255,.11); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,255,255,.22); }

/* ---- page frame ---- */
main > section { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
main > section + section { margin-top: clamp(88px, 12vw, 150px); }
main > section.glass { max-width: var(--max); margin-left: max(var(--gutter), calc((100% - var(--max)) / 2)); margin-right: max(var(--gutter), calc((100% - var(--max)) / 2)); padding: clamp(28px, 5vw, 56px); }
.kicker { margin: 0 0 14px; color: var(--bailey); font: 750 14px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
h1 { font-size: clamp(38px, 6.2vw, 70px); font-weight: 800; line-height: 1.04; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 760; line-height: 1.1; max-width: 22ch; }
h3 { font-size: clamp(26px, 3vw, 32px); font-weight: 760; line-height: 1.15; }

/* ---- hero ---- */
.hero { padding-top: clamp(40px, 8vw, 96px) !important; }
.lede { max-width: 58ch; margin: 22px 0 0; color: var(--ink2); font-size: clamp(18px, 1.6vw, 20px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.film-hero { margin-top: clamp(40px, 6vw, 64px) !important; }

/* ---- film frames ---- */
.film { margin: 0; overflow: hidden; aspect-ratio: 16 / 9; display: grid; }
@media (max-width: 700px) {
  /* Phones: the mock window on top, the caption under it, so nothing covers the screen name. */
  .film:not(:has(video)) { aspect-ratio: auto; display: flex; flex-direction: column; }
  .film:not(:has(video)) .mini { aspect-ratio: 16 / 11; grid-template-columns: 36% 1fr; }
  .mini-item.on { padding: 5px 8px; }
  .film:not(:has(video)) .film-cap { align-self: stretch; max-width: none; margin: 0 4% 4%; }
  .film.is-tall { aspect-ratio: 9 / 16; max-height: 78vh; margin-inline: auto; }
}
.film video { width: 100%; height: 100%; display: block; border-radius: inherit; background: #02050f; object-fit: cover; }
.film > .mini, .film > .film-cap { grid-area: 1 / 1; }
.mini { display: grid; grid-template-columns: 26% 1fr; gap: 3%; padding: 4%; opacity: .9; }
.mini-side { display: flex; flex-direction: column; gap: 9%; padding: 7% 8%; border-radius: 16px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--hair); }
.mini-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font: 800 14px/1 var(--display); letter-spacing: .08em; margin-bottom: 6%; }
.mini-brand .mark-dot { width: 9px; height: 9px; }
.mini-item { display: block; height: 10px; width: 72%; border-radius: 6px; background: rgba(255,255,255,.08); }
.mini-item.on { height: auto; width: auto; padding: 6px 10px; border-radius: 10px; background: rgba(92,200,255,.16); color: var(--ink); font: 700 14px/1.2 var(--sans); box-shadow: inset 0 0 0 1px rgba(92,200,255,.35); white-space: nowrap; }
.mini-main { display: flex; flex-direction: column; gap: 5%; padding: 3% 0; }
.mini-label { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(255,181,71,.12); color: var(--wait); font: 750 14px/1.2 var(--sans); box-shadow: inset 0 0 0 1px rgba(255,181,71,.35); }
.mini-card { display: flex; align-items: center; gap: 12px; padding: 4.5% 5%; border-radius: 16px; background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.mini-card b { display: block; height: 10px; flex: 1; border-radius: 6px; background: rgba(255,255,255,.10); }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot.done { background: var(--done); } .dot.wait { background: var(--wait); } .dot.flow { background: var(--flow); } .dot.bailey { background: var(--bailey); }
.film-cap {
  align-self: end; justify-self: end; z-index: 2; margin: 0 4% 4% 0; max-width: min(64%, 460px);
  display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; border-radius: 18px;
  background: rgba(4, 10, 26, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 16px 40px -18px rgba(0,0,0,.9);
}
.tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; color: var(--flow); font: 750 14px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--flow); box-shadow: 0 0 10px var(--flow); }
.film-line { color: var(--ink); font: 650 16px/1.4 var(--sans); }

/* ---- story ---- */
.prose { max-width: 64ch; margin-top: 28px; display: grid; gap: 18px; }
.prose p { margin: 0; color: var(--ink2); font-size: clamp(17px, 1.5vw, 19px); }
.prose .wink { color: var(--ink); font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.35; padding-left: 18px; border-left: 3px solid var(--bailey); }

/* ---- chapters ---- */
.chapter { display: grid; gap: 28px; margin-top: clamp(48px, 7vw, 88px); align-items: center; }
.num { margin: 0 0 10px; color: var(--bailey); font: 800 15px/1 var(--display); letter-spacing: .12em; }
.lead { margin: 14px 0 0; color: var(--ink); font-size: clamp(18px, 1.6vw, 20px); font-weight: 650; max-width: 46ch; }
.facts { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 54ch; }
.facts li { position: relative; padding-left: 26px; color: var(--ink2); }
.facts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--done); box-shadow: 0 0 10px rgba(79,227,161,.5); }
@media (min-width: 960px) {
  .chapter { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; }
  .chapter:nth-of-type(even) .chapter-text { order: 2; }
}

/* ---- limits ---- */
.limits-note { margin: 24px 0 0; max-width: 60ch; color: var(--ink2); font-size: clamp(17px, 1.5vw, 19px); }

/* ---- skills: what else I can take on (11/08) ---- */
.skills-lead { margin: 16px auto 0; max-width: 56ch; color: var(--ink2); font-size: clamp(17px, 1.5vw, 19px); }
.areas { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.areas li { padding: 22px 22px 24px; }
.areas h3 { font-size: 19px; line-height: 1.25; color: var(--ink); }
.areas h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--bailey); box-shadow: 0 0 10px rgba(92,200,255,.55); }
.areas p { margin: 10px 0 0; color: var(--ink2); font-size: 16px; }
/* Cards span 2 tracks so a short last row can sit centered instead of leaving a hole. */
@media (min-width: 640px) {
  .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .areas li { grid-column: span 2; }
  .areas li:last-child:nth-child(2n+1) { grid-column: 2 / span 2; }
}
@media (min-width: 1000px) {
  .areas { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .areas li:last-child:nth-child(2n+1) { grid-column: span 2; }
  .areas li:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
  .areas li:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
}

/* ---- setup ---- */
.steps { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; padding: 20px 22px 20px 64px; color: var(--ink2); }
.steps li::after { content: counter(step); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(92,200,255,.16); color: var(--bailey); font: 800 15px/1 var(--display); box-shadow: inset 0 0 0 1px rgba(92,200,255,.35); }
.steps strong { color: var(--ink); font-weight: 750; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- early access ---- */
.access { display: grid; gap: 28px; }
.access-text p:last-child { margin: 18px 0 0; color: var(--ink2); max-width: 44ch; }
.form { display: grid; gap: 8px; }
.form label { margin-top: 10px; color: var(--ink); font-weight: 700; font-size: 15px; }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 0; border-radius: 14px;
  color: var(--ink); background: rgba(2, 6, 18, .55); font: 600 16px/1.3 var(--sans);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 2px 6px rgba(0,0,0,.4);
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.form select option { background: #0b1633; color: var(--ink); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--bailey); outline-offset: 2px; }
.form textarea { resize: vertical; min-height: 76px; }
.ts { margin-top: 18px; min-height: 65px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 10px 0 0; color: var(--ink3); font-size: 14px; }
.form-status { margin: 6px 0 0; min-height: 1.6em; font-weight: 700; }
.form-status[data-kind="wait"] { color: var(--wait); }
.form-status[data-kind="flow"] { color: var(--flow); }
.form-status[data-kind="done"] { color: var(--done); }
.form-status[data-kind="error"] { color: var(--red); }

/* ---- early access in three steps (Josh 11/07) ---- */
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.step { display: grid; gap: 8px; }
.step[hidden] { display: none; }
.step-title { padding: 0; margin: 4px 0 2px; color: var(--ink); font: 800 clamp(22px, 2.4vw, 26px)/1.2 var(--display); }
.step-title:focus { outline: none; }
.progress { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress span { display: block; height: 100%; width: 33.4%; border-radius: inherit; background: var(--bailey); box-shadow: 0 0 12px rgba(92,200,255,.6); transition: width .45s var(--ease); }
.form[data-at="2"] .progress span { width: 66.7%; }
.form[data-at="3"] .progress span { width: 100%; }
.step-count { margin: 6px 0 4px; color: var(--ink3); font-size: 14px; }
.step-count b { color: var(--ink2); }
/* Without JavaScript every step shows at once: no progress, no Next/Back, the send button stays. */
.form:not(.is-stepped) .progress, .form:not(.is-stepped) .step-count, .form:not(.is-stepped) .next, .form:not(.is-stepped) .back { display: none; }
.form:not(.is-stepped) .step + .step { margin-top: 26px; }
.form.is-done .progress, .form.is-done .step-count, .form.is-done .form-note { display: none; }
.ask { margin-top: 14px !important; display: grid; gap: 8px; }
.ask > legend { padding: 0; margin-bottom: 8px; color: var(--ink); font-weight: 700; font-size: 15px; }
.hint { margin: -4px 0 2px; color: var(--ink3); font-size: 14px; }
.opt { margin-left: 6px; color: var(--ink3); font-size: 14px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input, .rung input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; color: var(--ink2); font: 650 15px/1.2 var(--sans);
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background .15s, box-shadow .15s, color .15s; }
.chip:hover span { background: rgba(255,255,255,.09); }
.chip input:checked + span { color: var(--ink); background: rgba(92,200,255,.18); box-shadow: inset 0 0 0 1.5px rgba(92,200,255,.75), 0 0 16px -6px rgba(92,200,255,.8); }
.chip input:focus-visible + span, .rung input:focus-visible ~ .bar { outline: 3px solid var(--bailey); outline-offset: 2px; }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { opacity: .45; }
/* The budget is a ladder: each step a little taller than the last. */
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 8px; }
.rung { position: relative; display: grid; gap: 8px; align-content: end; }
.bar { display: block; border-radius: 10px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background .2s, box-shadow .2s; }
.r1 .bar { height: 26px; } .r2 .bar { height: 40px; } .r3 .bar { height: 54px; } .r4 .bar { height: 68px; } .r5 .bar { height: 82px; }
.rung:hover .bar { background: rgba(255,255,255,.10); }
.rung input:checked ~ .bar { background: linear-gradient(180deg, var(--bailey), rgba(92,200,255,.32)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 22px -4px rgba(92,200,255,.75); }
.rung-label { color: var(--ink2); font: 650 14px/1.25 var(--sans); text-align: center; }
.rung input:checked ~ .rung-label { color: var(--ink); }
.step-nav { display: flex; gap: 10px; margin-top: 20px; }
.step-nav .btn { flex: 1; }

/* ---- footer ---- */
.foot {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: clamp(88px, 12vw, 150px) auto 0; padding: 28px var(--gutter) 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink3); font-size: 14px; border-top: 1px solid var(--hair);
}
.foot p { margin: 0; }
.foot strong { color: var(--ink); letter-spacing: .08em; }

/* ---- simple pages (privacy, 404) ---- */
.page { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 8vw, 88px) var(--gutter) 0; }
.page h1 { font-size: clamp(36px, 5vw, 56px); }
.page h2 { font-size: clamp(22px, 2.4vw, 26px); margin-top: 36px; max-width: none; }
.page p { color: var(--ink2); }
.page .updated { margin-top: 40px; color: var(--ink3); font-size: 14px; }

/* ---- alignment (Josh 11/07): headlines centered, reading text and lists left ---- */
.hero, .story > .kicker, .story > h2, .chapters > .kicker, .chapters > h2,
.limits > .kicker, .limits > h2, .limits-note, .setup > .kicker, .setup > h2, .access-text,
.skills > .kicker, .skills > h2, .skills-lead { text-align: center; }
.hero .lede, .story > h2, .chapters > h2, .limits > h2, .setup > h2, .skills > h2,
.access-text h2, .access-text p:last-child, .limits-note, .prose { margin-inline: auto; }
.actions { justify-content: center; }
.film { text-align: left; }
.prose .wink { text-align: center; text-wrap: balance; padding: 22px 0 0; border-left: 0; position: relative; }
.prose .wink::before { content: ""; position: absolute; top: 0; left: 50%; width: 48px; height: 3px; margin-left: -24px; border-radius: 3px; background: var(--bailey); }
/* Early access stacks: centered heading on top, the form under it. */
.access .form { width: 100%; max-width: 560px; margin-inline: auto; }

/* ---- character pass (Josh 11/07): open with the acronym, my desk, I do / you do ---- */
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* The dotted name. The dots are my status light, the same sky dot the app uses for me. */
.dotted { letter-spacing: .02em; white-space: nowrap; }
.dotted i { font-style: normal; color: var(--bailey); text-shadow: 0 0 14px rgba(92,200,255,.75), 0 0 2px rgba(92,200,255,.9); }
.mark .dotted { font: 850 20px/1 var(--display); letter-spacing: .04em; }

/* The greeting is said out loud, so it gets real size: about a third of the name. */
.hello { margin: 0 0 clamp(2px, .6vw, 8px); color: var(--ink2); font: 760 clamp(30px, 4.4vw, 58px)/1 var(--display); letter-spacing: -.02em; }
.acro { display: grid; justify-items: center; gap: clamp(10px, 1.6vw, 18px); }
.acro-mark { font: 880 clamp(52px, 17vw, 156px)/.92 var(--display); letter-spacing: .01em; color: var(--ink);
  background: linear-gradient(180deg, #ffffff 30%, #b9d3ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.acro-mark i { -webkit-text-fill-color: var(--bailey); }
/* Josh 11/07: the full name sits on ONE line right under the dotted name, phone included.
   3.6vw keeps the line inside the gutters down to a 390px phone at the 14px floor; it only wraps below that. */
.acro-words { display: flex; flex-wrap: wrap; justify-content: center; column-gap: .25em; row-gap: 2px; white-space: nowrap;
  font: 700 clamp(14px, 3.6vw, 28px)/1.3 var(--display); letter-spacing: -.025em; color: var(--ink2); }
.acro-words b { color: var(--bailey); font-weight: 880; }
.define { margin: clamp(16px, 2vw, 22px) auto 0; max-width: 54ch; color: var(--ink3); font: 600 15px/1.55 var(--mono); }
.define b { color: var(--ink); font-weight: 750; }
.define i { color: var(--ink2); }
.promise { margin: clamp(26px, 3.4vw, 40px) auto 0; max-width: 22ch; font: 800 clamp(28px, 3.9vw, 46px)/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.promise .line { display: block; text-wrap: balance; }
.promise .line + .line { color: var(--bailey); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes glow { 0%, 100% { text-shadow: 0 0 14px rgba(92,200,255,.75), 0 0 2px rgba(92,200,255,.9); } 50% { text-shadow: 0 0 26px rgba(92,200,255,1), 0 0 4px rgba(92,200,255,1); } }
.acro-words .w { animation: rise .8s var(--ease) both; }
.acro-words .w:nth-child(2) { animation-delay: .09s; } .acro-words .w:nth-child(3) { animation-delay: .18s; }
.acro-words .w:nth-child(4) { animation-delay: .27s; } .acro-words .w:nth-child(5) { animation-delay: .36s; } .acro-words .w:nth-child(6) { animation-delay: .45s; }
.acro-mark i { animation: glow 3.6s ease-in-out 1.2s infinite; }

/* A day on my desk: a made-up demo day, written like my own log. */
.desk { max-width: 760px; margin: clamp(40px, 6vw, 64px) auto 0; padding: clamp(20px, 3.4vw, 32px); border-radius: 24px; }
.desk-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.desk-title { margin: 0; color: var(--ink); font: 800 clamp(20px, 2.2vw, 24px)/1.2 var(--display); }
.log { margin: 0; padding: 0; list-style: none; display: grid; }
.log li { display: grid; grid-template-columns: 5.2em 12px 1fr; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hair); }
.log time { color: var(--ink3); font: 600 14px/1.4 var(--mono); white-space: nowrap; }
.log .dot { width: 10px; height: 10px; transform: translateY(1px); }
.log .dot.bailey { box-shadow: 0 0 10px rgba(92,200,255,.6); } .log .dot.wait { box-shadow: 0 0 10px rgba(255,181,71,.5); } .log .dot.done { box-shadow: 0 0 10px rgba(79,227,161,.5); }
.log span { color: var(--ink); font: 600 16px/1.45 var(--mono); }
.log.is-waiting li { opacity: 0; }
.log.is-live li { animation: rise .55s var(--ease) both; }
.log.is-live li:nth-child(2) { animation-delay: .35s; } .log.is-live li:nth-child(3) { animation-delay: .7s; } .log.is-live li:nth-child(4) { animation-delay: 1.05s; }
.log.is-live li:nth-child(5) { animation-delay: 1.4s; } .log.is-live li:nth-child(6) { animation-delay: 1.75s; } .log.is-live li:nth-child(7) { animation-delay: 2.1s; }
@media (max-width: 560px) {
  .log li { grid-template-columns: 12px 1fr; row-gap: 2px; }
  .log time { grid-column: 2; grid-row: 1; }
  .log .dot { grid-column: 1; grid-row: 2; }
  .log span { grid-column: 2; grid-row: 2; font-size: 15px; }
}

/* I do / you do. Sky is me, amber is waiting on you. */
.split { margin: 28px auto 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 760px; }
.split li { display: grid; grid-template-columns: 1fr 1fr; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair); }
.split span { display: flex; align-items: center; gap: 12px; padding: 14px 18px; font-weight: 700; }
.split span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.split .me { color: var(--ink2); background: rgba(92,200,255,.07); }
.split .me::before { background: var(--bailey); box-shadow: 0 0 10px rgba(92,200,255,.6); }
.split .you { color: var(--ink); background: rgba(255,181,71,.09); box-shadow: inset 1px 0 0 rgba(255,255,255,.06); }
.split .you::before { background: var(--wait); box-shadow: 0 0 10px rgba(255,181,71,.5); }
@media (max-width: 560px) { .split li { grid-template-columns: 1fr; } .split span { padding: 12px 16px; } }

.foot .dotted { font: 850 15px/1 var(--display); letter-spacing: .04em; margin-right: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
