/* RingLatch site v4, "Night Shift". Direction: ../DESIGN-site.txt.
   Big Shoulders (Chicago's civic typeface) for display, Big Shoulders Stencil for truck numbers,
   Archivo for reading. Night, sodium streetlight, canary carbon-copy tickets, daylight at 7am.
   Mobile first, 16px gutter, no sideways scroll. */

/* ------------------------------------------------------------ fonts (self-hosted, subset, OFL) */
@font-face { font-family: "Big Shoulders"; font-style: normal; font-display: swap; font-weight: 500 900;
  src: url(fonts/bigshoulders-display.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-2193, U+2212, U+2713; }
@font-face { font-family: "Big Shoulders"; font-style: normal; font-display: swap; font-weight: 500 900;
  src: url(fonts/bigshoulders-display-ext.woff2) format("woff2"); unicode-range: U+0100-024F; }
@font-face { font-family: "Big Shoulders Stencil"; font-style: normal; font-display: swap; font-weight: 800;
  src: url(fonts/bigshoulders-stencil-800.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-display: optional; font-weight: 400 700;
  src: url(fonts/archivo-text.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-2193, U+2212, U+2713; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: optional; font-weight: 400 700;
  src: url(fonts/archivo-text-ext.woff2) format("woff2"); unicode-range: U+0100-024F; }
/* Metric-matched fallbacks (computed from the font files) so the swap does not move the layout. */
@font-face { font-family: "BS-fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Neue Bold"), local("Roboto Bold");
  font-weight: 800; size-adjust: 80.9%; ascent-override: 121.8%; descent-override: 26.5%; line-gap-override: 0%; }
@font-face { font-family: "AR-fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica Neue"), local("Roboto");
  size-adjust: 98.6%; ascent-override: 89%; descent-override: 21.3%; line-gap-override: 0%; }

/* ------------------------------------------------------------ tokens */
:root {
  --night: #0c1322;
  --night-2: #101a2e;
  --asphalt: #17213a;
  --asphalt-2: #1e2a47;
  --line: rgb(214 225 255 / 0.12);
  --line-2: rgb(214 225 255 / 0.2);
  --text: #eef1f6;
  --muted: #a9b5cc;
  --faint: #8c99b5;
  --sodium: #ffb547;
  --sodium-2: #ffd08a;
  --sodium-tint: rgb(255 181 71 / 0.12);
  --taillight: #ff7a6b;
  --taillight-tint: rgb(255 122 107 / 0.12);
  --canary: #f4e7a8;
  --canary-old: #d9d5c6;
  --carbon: #26306b;
  --carbon-old: #222a55;
  --live: #6fe0a6;
  --focus: #9cc2ff;
  /* the 7am sections */
  --day: #eef1f3;
  --day-2: #ffffff;
  --day-ink: #0c1322;
  --day-muted: #475268;
  --day-line: #c9d1dc;
  --day-accent: #9a5a00;
  /* sky at 9:47pm; desk.js sets these on .sky and .street as the night strip moves */
  --sky-top: #0a111f;
  --sky-mid: #111932;
  --sky-hor: #292e53;
  --lamp: 1;
  --display: "Big Shoulders", "BS-fallback", "Arial Narrow", sans-serif;
  --text-font: "Archivo", "AR-fallback", system-ui, sans-serif;
  --r-paper: 3px;
  --r-card: 14px;
  --r-btn: 10px;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --day: #0f1729;
    --day-2: #17213a;
    --day-ink: #eef1f6;
    --day-muted: #a9b5cc;
    --day-line: rgb(214 225 255 / 0.14);
    --day-accent: #ffb547;
  }
}
:root[data-theme="dark"] {
  --day: #0f1729; --day-2: #17213a; --day-ink: #eef1f6; --day-muted: #a9b5cc; --day-line: rgb(214 225 255 / 0.14); --day-accent: #ffb547;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--night); color: var(--text); font: 400 17px/1.55 var(--text-font); font-kerning: normal; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sodium); color: var(--night); }
html { scrollbar-color: #33405f var(--night); scrollbar-width: thin; }
input, textarea { caret-color: var(--sodium); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--sodium); color: var(--night); padding: 10px 14px; border-radius: var(--r-btn); font-weight: 700; }
.skip:focus { top: 12px; }
.nw { white-space: nowrap; }
time, .num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: var(--r-btn);
  border: 0; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease; }
.btn:active { transform: translateY(1px); }
.btn-sodium { background: var(--sodium); color: var(--night); box-shadow: 0 1px 0 rgb(255 255 255 / 0.35) inset, 0 8px 18px -12px rgb(0 0 0 / 0.7); }
.btn-sodium:hover { background: var(--sodium-2); }
.btn-line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover, .btn-line[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--sodium); color: var(--sodium-2); }
.btn-quiet { min-height: 44px; padding: 10px 14px; background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px; }
.btn-quiet:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-quiet svg { width: 16px; height: 16px; }
.btn-xl { min-height: 56px; padding: 16px 28px; font-size: 18px; }
.btn-ink { background: var(--day-ink); color: var(--day); }
.btn-ink:hover { opacity: 0.9; }
.btn-line-day { background: transparent; color: var(--day-ink); box-shadow: inset 0 0 0 1.5px var(--day-ink); }
.btn-line-day:hover { background: var(--day-ink); color: var(--day); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.sm { width: 16px; height: 16px; }
.ic.lg { width: 26px; height: 26px; }

/* ------------------------------------------------------------ header */
.bar { position: sticky; top: 0; z-index: 30; background: rgb(10 17 32 / 0.82); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.word { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; padding: 6px 0; }
.wm { height: 24px; width: auto; fill: currentColor; }
.wm .wm-b { fill: var(--sodium); }
.bar nav { display: flex; align-items: center; gap: 6px; }
.bar nav a.text { display: none; padding: 10px 10px; font-size: 15px; color: var(--muted); text-decoration: none; border-radius: 8px; }
.bar nav a.text:hover { color: var(--text); }
.bar .btn { min-height: 40px; padding: 8px 14px; font-size: 15px; }
@media (min-width: 860px) { .bar nav a.text { display: inline-block; } .bar nav { gap: 10px; } }

/* ------------------------------------------------------------ hero: sky */
.hero { position: relative; }
.sky { background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-hor) 100%); transition: background 0.4s ease; padding: 24px 0 0; }
.hero-top { display: grid; gap: 18px; padding-bottom: 8px; }
.clock { margin: 0; display: flex; align-items: flex-end; gap: 10px; color: var(--sodium); font-family: var(--display); font-weight: 900; line-height: 0.78; letter-spacing: -0.01em; user-select: none; -webkit-user-select: none; cursor: ew-resize; touch-action: pan-y; }
.clock.is-dragging { cursor: grabbing; }
.clock-hm { font-size: clamp(5.5rem, 26vw, 15.5rem); display: inline-block; width: 1.78em; } /* fixed box: the font swap cannot move anything */
.clock-hm.wide { width: 2.3em; }
@media (max-width: 899px) { .clock { order: -1; } }
.clock-side { display: grid; gap: 6px; width: 1.85em; padding-bottom: 0.2em; font-size: clamp(1.6rem, 5vw, 2.8rem); font-weight: 800; color: var(--sodium-2); line-height: 0.9; }
.clock-side span:last-child { color: var(--muted); font-weight: 700; }
.hero-copy { display: grid; gap: 16px; align-content: start; max-width: 40rem; }
.hero h1 { font: 800 clamp(2.4rem, 8.6vw, 4.25rem)/0.95 var(--display); letter-spacing: -0.005em; color: var(--text); }
.hero h1 span { display: block; white-space: nowrap; } /* three fixed lines: the font swap cannot change the height */
.lede { color: var(--muted); font-size: 17px; max-width: 34rem; }
.lede b { color: var(--text); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 4px; }
.ff-note .tel { color: var(--text); font-weight: 600; }
.ff-note { font-size: 14px; color: var(--muted); max-width: 34rem; }
.ff-note b { color: var(--text); font-weight: 600; }
@media (min-width: 900px) {
  .sky { padding-top: 30px; }
  .hero-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 40px; }
  .hero-copy { padding-bottom: 22px; }
  .clock { justify-self: end; padding-bottom: 10px; }
  .lede { font-size: 18px; }
}

/* Talk to Riley (opt-in, real call) */
.riley { margin-top: 4px; padding: 16px; border-radius: var(--r-card); background: rgb(23 33 58 / 0.86); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; gap: 12px; max-width: 34rem; }
.riley p { font-size: 15px; color: var(--muted); }
.riley p b { color: var(--text); }
.riley-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.riley-row a { font-size: 15px; color: var(--muted); }
.riley-status:empty { display: none; }
.riley-status { font-size: 15px; color: var(--sodium-2); }
.btn.is-live { background: var(--taillight); }

/* ------------------------------------------------------------ hero: the street + night strip */
.street { position: relative; background: var(--sky-hor); transition: background 0.4s ease; }
.street-art { position: relative; height: clamp(104px, 11vw, 158px); overflow: hidden; }
.lead-tag { position: absolute; z-index: 2; margin: 0; transform: translate(-50%, calc(-100% - 12px)); padding: 5px 9px; border-radius: 7px; background: var(--sodium); color: var(--night); font: 700 12.5px/1.2 var(--text-font); white-space: nowrap; box-shadow: 0 8px 20px -8px rgb(0 0 0 / 0.8); }
.lead-tag::after { content: ""; position: absolute; left: calc(50% + var(--dx, 0px)); top: 100%; width: 1.5px; height: 12px; background: var(--sodium); }
.street-svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; }
.street-svg .bld { fill: #060a13; }
.street-svg .far { fill: rgb(6 10 19 / 0.42); }
.street-svg .wires { fill: none; stroke: #060a13; stroke-width: 1.2; opacity: 0.9; }
.street-svg .glows path { fill: rgb(255 190 92 / 0.075); opacity: var(--lamp); transition: opacity 0.4s; }
.street-svg .lamps rect { fill: #ffd790; opacity: var(--lamp); transition: opacity 0.4s; }
.street-svg .w { fill: #151c2c; transition: fill 0.35s ease; }
.street-svg .w.lit { fill: #f7b85a; }
.street-svg .w.lead.on { fill: #ffd27a; }
.strip { position: relative; background: #060a13; padding: 4px 16px 10px; }
.strip-inner { max-width: 1208px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label time" "track track"; align-items: center; gap: 0 12px; }
.strip label { grid-area: label; font-size: 13px; color: var(--faint); padding-top: 6px; }
.strip-time { grid-area: time; color: var(--sodium-2); font-weight: 600; font-size: 14px; padding-top: 6px; font-variant-numeric: tabular-nums; }
.strip-track { grid-area: track; min-width: 0; }
@media (min-width: 900px) {
  .strip-inner { grid-template-columns: 12rem 1fr 7rem; grid-template-areas: "label track time"; gap: 0 24px; }
  .strip label, .strip-time { padding: 0 0 18px; }
  .strip-time { text-align: right; font-size: 16px; }
}
.night { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.night::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #6b4a68 0%, #2b3354 14%, #1d2540 50%, #2b3354 86%, #7a5a4a 100%); }
.night::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #6b4a68 0%, #2b3354 14%, #1d2540 50%, #2b3354 86%, #7a5a4a 100%); }
.night::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--sodium); border: 5px solid #060a13; box-shadow: 0 0 0 1.5px var(--sodium), 0 4px 10px -2px rgb(0 0 0 / 0.8); }
.night::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--sodium); border: 5px solid #060a13; box-shadow: 0 0 0 1.5px var(--sodium), 0 4px 10px -2px rgb(0 0 0 / 0.8); }
.night:focus-visible { outline: none; }
.night:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--focus); }
.night:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--focus); }
.ticks { list-style: none; margin: -6px 0 0; padding: 0 2px; display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.ticks li:nth-child(even) { visibility: hidden; }
@media (min-width: 720px) { .ticks li:nth-child(even) { visibility: visible; } }

/* ------------------------------------------------------------ hero: the ground (try it live) */
.ground { background: #060a13; padding: 4px 0 72px; }
.try { display: grid; gap: 12px; margin: 14px 0 18px; }
.try-h { font: 800 clamp(2rem, 6vw, 3rem)/1 var(--display); color: var(--text); display: flex; align-items: center; gap: 12px; }
.try-h .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sodium); }
.scenario { font-size: clamp(1.15rem, 3.6vw, 1.55rem); line-height: 1.75; color: var(--muted); max-width: 60rem; }
.scenario .tok, .scenario select { font-weight: 650; color: var(--text); background: transparent; border: 0; border-bottom: 2px dashed rgb(255 181 71 / 0.7); border-radius: 0; padding: 0 1.15em 0 0.1em; margin: 0 0.1em; line-height: 1.3; cursor: pointer; }
.scenario select { -webkit-appearance: none; appearance: none; field-sizing: content; max-width: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb547' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.05em center / 0.8em; }
.scenario select option { background: var(--asphalt); color: var(--text); }
.scenario .tok { padding-right: 0.1em; color: var(--sodium-2); font-variant-numeric: tabular-nums; }
.scenario select:hover, .scenario .tok:hover { border-bottom-style: solid; }
.try-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.sim-note { font-size: 14px; color: var(--faint); flex-basis: 100%; }
@media (min-width: 720px) { .sim-note { flex-basis: auto; margin-left: 4px; } }

/* status chips */
/* status stamps: rubber-stamp ink, the same language as the work order */
.st { display: inline-flex; align-items: center; padding: 2px 6px 1px; border: 1.5px solid currentColor; border-radius: 3px; font: 800 12.5px/1.25 var(--display); letter-spacing: 0.05em; white-space: nowrap; }
.st-live { color: var(--live); }
.st-no { color: var(--sodium-2); }

/* ------------------------------------------------------------ the desk console */
.desk { border-radius: 18px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px #000; overflow: clip; }
.desk-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--asphalt); }
.dh-shop b { font-weight: 700; }
.dh-shop > span:not(.st) { margin-left: 8px; font-size: 13px; color: var(--faint); }
.desk-head .st { margin-left: 4px; }
.dh-clock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.dh-clock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.dh-clock time { color: var(--text); font-weight: 600; }
.desk-grid { display: grid; }
.lane { padding: 16px; border-bottom: 1px solid var(--line); min-width: 0; }

/* the lead */
.arrive { position: relative; display: grid; gap: 12px; }
.arrive-top { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.arrive-top .ic { color: var(--sodium); margin-top: 20px; }
.arrive-top b { display: block; font-weight: 700; font-size: 18px; line-height: 1.25; margin-top: 2px; }
.arrive-top span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.arrive-top time { display: block; font-size: 13px; color: var(--sodium-2); font-weight: 600; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: 14px; }
.kv dt { color: var(--faint); }
.kv dd { margin: 0; color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.ring { position: absolute; left: 13px; top: 32px; width: 1px; height: 1px; pointer-events: none; }
.ring i { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--sodium); opacity: 0; }

/* the conversation */
.lane-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 12px; font-size: 13px; color: var(--faint); }
.lane-cap b { color: var(--text); font-size: 14px; }
.talk { -webkit-mask: linear-gradient(to bottom, transparent 0, #000 22px); mask: linear-gradient(to bottom, transparent 0, #000 22px); padding-top: 10px !important; }
.talk { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; gap: 14px; align-content: start; max-height: 400px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.talk:focus-visible { outline-offset: 4px; }
.ln { display: grid; gap: 3px; }
.who { display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.who time { font-weight: 500; color: var(--faint); }
.ln-riley .who { color: var(--sodium); }
.say { font-size: 16px; line-height: 1.5; color: var(--text); }
.ln-caller .say { color: #dfe6f3; }

/* after the call: owner email + the quote */
.card { background: var(--night-2); padding: 16px; display: grid; gap: 12px; align-content: start; }
.card header { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.card header .ic { color: var(--sodium); margin-top: 3px; }
.card header > :last-child:not(div) { grid-column: 2; justify-self: start; }
.card .sts { display: flex; flex-wrap: wrap; gap: 6px; }
.card .to { display: block; font-size: 13px; color: var(--faint); }
.card header b { display: block; font-weight: 700; line-height: 1.35; }
.note { font-size: 14px; color: var(--muted); }
.owner .kv dd { color: #e3e9f5; }
/* the outcome: one carbon-copy ledger ticket */
.outcome { margin-top: 14px; }
.ledger { display: grid; background: var(--canary); color: var(--carbon); border-radius: var(--r-paper); box-shadow: 0 24px 50px -30px #000;
  -webkit-mask: radial-gradient(circle 4px at 50% 0, #0000 98%, #000) 0 0 / 12px 100% repeat-x; mask: radial-gradient(circle 4px at 50% 0, #0000 98%, #000) 0 0 / 12px 100% repeat-x; }
.ledger-col { padding: 20px 18px 18px; display: grid; gap: 10px; align-content: start; }
.ledger-col h3 { font: 800 1.35rem/1.05 var(--display); }
.ledger-col .fine { color: #4a5285; font-size: 13.5px; }
.ledger-col .cite { color: #4a5285; }
.ledger-without { border-top: 2px dashed rgb(38 48 107 / 0.35); position: relative; }
.sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 16px; font-weight: 600; }
.sum .eq { font: 800 1.6rem/1 var(--display); }
.total { font: 900 clamp(2.4rem, 8vw, 3.6rem)/0.9 var(--display); letter-spacing: -0.005em; font-variant-numeric: tabular-nums; }
.miss { font-size: 16px; line-height: 1.5; padding-right: 64px; }
.miss s { font: 800 1.5rem/1 var(--display); text-decoration-color: #9c1f16; text-decoration-thickness: 3px; }
.miss b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.stamp-red { position: absolute; right: 16px; top: 18px; transform: rotate(-10deg); font: 800 16px/1 var(--display); font-style: normal; letter-spacing: 0.08em; color: #9c1f16; border: 2px solid #9c1f16; border-radius: 4px; padding: 4px 7px 3px; }
@media (min-width: 900px) {
  .ledger { grid-template-columns: 1.25fr 1fr; }
  .ledger-col { padding: 26px 28px 24px; }
  .ledger-without { border-top: 0; border-left: 2px dashed rgb(38 48 107 / 0.35); }
}
.fine { font-size: 13px; color: var(--faint); }
.legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.legend li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }

.lane-owner .card { padding: 0; background: none; }
@media (min-width: 1000px) {
  /* the call reads down the left; on the right, the call arriving and the email it produces */
  .desk-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); grid-template-rows: auto 1fr; grid-template-areas: "talk in" "talk owner"; }
  .lane { border-bottom: 0; padding: 20px 22px; }
  .lane-talk { grid-area: talk; border-right: 1px solid var(--line); }
  .lane-in { grid-area: in; border-bottom: 1px solid var(--line); }
  .lane-owner { grid-area: owner; }
  .talk { max-height: 560px; }
  .card { padding: 0; }
}


/* ------------------------------------------------------------ the numbers (still night) */
.numbers { padding: 88px 0 96px; background: var(--night); border-top: 1px solid var(--line); }
.numbers h2 { font: 800 clamp(2.2rem, 6.4vw, 4.2rem)/0.98 var(--display); max-width: 18ch; }
.facts { display: grid; gap: 28px; margin-top: 36px; }
.fact { font: 700 clamp(1.5rem, 4.2vw, 2.3rem)/1.15 var(--display); letter-spacing: 0.005em; color: var(--text); max-width: 30ch; }
.fact .cite { font: 500 14px/1 var(--text-font); vertical-align: 0.9em; margin-left: 6px; color: var(--sodium-2); white-space: nowrap; }
.sources { margin: 40px 0 0; padding: 18px 0 0 18px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13.5px; color: var(--faint); max-width: 62rem; }
.sources a { color: var(--muted); }
@media (min-width: 900px) { .facts { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* ------------------------------------------------------------ the work order (canary carbon copy) */
.order { padding: 24px 0 112px; background: var(--night); }
.sheet { background: var(--canary); color: var(--carbon); border-radius: var(--r-paper); padding: 22px 18px 26px; box-shadow: 0 30px 60px -36px #000, 0 2px 0 rgb(0 0 0 / 0.25);
  -webkit-mask: radial-gradient(circle 4px at 50% 0, #0000 98%, #000) 0 0 / 12px 100% repeat-x; mask: radial-gradient(circle 4px at 50% 0, #0000 98%, #000) 0 0 / 12px 100% repeat-x; }
.sheet-head { display: grid; gap: 14px; padding-bottom: 16px; border-bottom: 2px solid var(--carbon); }
.sheet-head h2 { font: 800 clamp(2rem, 5.6vw, 3.4rem)/0.98 var(--display); color: var(--carbon); }
.sheet-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 15px; }
.sheet-meta dt { font-weight: 700; }
.sheet-meta dd { margin: 0; }
.lines { width: 100%; border-collapse: collapse; margin-top: 6px; }
.lines thead { display: none; }
.lines tr { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid rgb(38 48 107 / 0.25); }
.lines th[scope="row"] { text-align: left; font: 800 1.45rem/1.05 var(--display); }
.lines td { font-size: 16px; line-height: 1.5; }
.lines td p + p { margin-top: 6px; }
.lines .stamp-st { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.lines .stamp-st span { display: inline-block; padding: 3px 8px 2px; border: 1.5px solid currentColor; border-radius: 3px; font: 800 13px/1.2 var(--display); letter-spacing: 0.05em; }
.lines .s-live { color: #0d6b3f; }
.lines .s-ff { color: #1d3f8f; }
.lines .s-no { color: #7a4300; }
.sheet-foot { display: grid; gap: 8px; padding-top: 16px; font-size: 15px; }
.sheet-foot b { font-weight: 700; }
@media (min-width: 900px) {
  .sheet { padding: 34px 40px 38px; transform: rotate(-0.35deg); }
  .sheet-head { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .lines thead { display: table-header-group; }
  .lines thead th { text-align: left; font: 700 13px/1.2 var(--text-font); padding: 14px 16px 10px 0; border-bottom: 1px solid rgb(38 48 107 / 0.35); }
  .lines tr { display: table-row; }
  .lines th[scope="row"], .lines td { padding: 18px 20px 18px 0; vertical-align: top; border-bottom: 1px solid rgb(38 48 107 / 0.22); }
  .lines th[scope="row"] { width: 23%; }
  .lines td:last-child { width: 22%; padding-right: 0; }
  .sheet-foot { grid-template-columns: 1fr auto; align-items: end; }
}

/* ------------------------------------------------------------ 7am: dawn into day */
.dawn { height: clamp(220px, 30vw, 380px); display: flex; align-items: flex-end; background: linear-gradient(180deg, var(--night) 0%, #232850 22%, #5d4569 42%, #b4706c 58%, #e7a877 74%, #f3d8b6 88%, var(--day) 100%); }
.am-clock { font: 900 clamp(5rem, 16vw, 9rem)/0.8 var(--display); color: var(--day-ink); display: flex; align-items: flex-end; gap: 8px; margin: 0 0 -0.04em; }
.am-clock span { font-size: 0.32em; padding-bottom: 0.15em; }
.morning { padding: 36px 0 96px; color: var(--day-ink); background: var(--day); }
.morning-grid { display: grid; gap: 40px; align-items: center; }
.morning h2 { font: 800 clamp(2.2rem, 6vw, 3.8rem)/0.98 var(--display); color: var(--day-ink); }
.checks { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 12px; max-width: 36rem; }
.checks li { position: relative; padding-left: 28px; color: var(--day-ink); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 14px; height: 8px; border-left: 2.5px solid var(--day-accent); border-bottom: 2.5px solid var(--day-accent); transform: rotate(-45deg); }
.shot { margin: 0; justify-self: center; display: grid; gap: 12px; width: 100%; max-width: 400px; }
.inbox { background: var(--day-2); color: var(--day-ink); border-radius: 16px; box-shadow: 0 40px 70px -40px rgb(12 19 34 / 0.75), 0 0 0 1px var(--day-line); overflow: hidden; }
.inbox-h { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font: 800 1.15rem/1 var(--display); letter-spacing: 0.02em; border-bottom: 1px solid var(--day-line); background: var(--day); }
.inbox-h span { font: 600 13px/1.2 var(--text-font); color: var(--day-muted); letter-spacing: 0; align-self: center; }
.inbox ul { list-style: none; margin: 0; padding: 0; }
.inbox li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 13px 16px; border-bottom: 1px solid var(--day-line); }
.inbox li:last-child { border-bottom: 0; }
.inbox li b { font-size: 15px; font-weight: 700; line-height: 1.3; }
.inbox li time { grid-column: 2; grid-row: 1; font-size: 12.5px; color: var(--day-muted); white-space: nowrap; align-self: start; padding-top: 2px; }
.inbox li span { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.4; color: var(--day-muted); }
.shot figcaption { font-size: 13.5px; color: var(--day-muted); text-align: center; }
.morning .btn-ink { min-height: 48px; }
@media (min-width: 900px) { .morning-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } .morning { padding-top: 56px; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .dawn { background: linear-gradient(180deg, var(--night) 0%, #1b2246 45%, #3a3561 72%, #6b4a62 90%, var(--day) 100%); }
  :root:not([data-theme="light"]) .am-clock { color: var(--sodium); }
}
:root[data-theme="dark"] .dawn { background: linear-gradient(180deg, var(--night) 0%, #1b2246 45%, #3a3561 72%, #6b4a62 90%, var(--day) 100%); }
:root[data-theme="dark"] .am-clock { color: var(--sodium); }

/* ------------------------------------------------------------ day sections */
.day { background: var(--day); color: var(--day-ink); }
.pricing { padding: 40px 0 96px; }
.price-grid { display: grid; gap: 28px; }
.price-main { position: relative; background: var(--canary); color: var(--carbon); border-radius: var(--r-paper); padding: 30px 20px 28px; box-shadow: 0 30px 60px -40px rgb(12 19 34 / 0.7); display: grid; gap: 16px; align-content: start;
  -webkit-mask: radial-gradient(circle 4px at 50% 0, #0000 98%, #000) 0 0 / 12px 100% repeat-x; mask: radial-gradient(circle 4px at 50% 0, #0000 98%, #000) 0 0 / 12px 100% repeat-x; }
.price-main h2 { color: var(--carbon); }
.price-main .terms li { color: var(--carbon); }
.price-main .terms li::before { background: var(--carbon); }
.price-main .fine { color: #4a5285 !important; }
.price-stamp { position: absolute; right: 18px; top: 26px; transform: rotate(-8deg); font: 800 15px/1 var(--display); letter-spacing: 0.06em; color: var(--carbon); border: 2px solid var(--carbon); border-radius: 4px; padding: 5px 8px 4px; opacity: 0.85; }
.price-main .btn-carbon { background: var(--carbon); color: var(--canary); }
.price-main .btn-carbon:hover { background: #1b2352; }
.pricing h2 { font: 800 clamp(2.2rem, 6vw, 3.6rem)/0.98 var(--display); }
.price { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 16px; margin-top: 14px; }
.price .amt { font: 900 clamp(5rem, 20vw, 8.5rem)/0.8 var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price .per { font-size: 18px; font-weight: 600; padding-bottom: 6px; max-width: 14rem; line-height: 1.3; }
.terms { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 10px; }
.terms li { padding-left: 22px; position: relative; color: var(--day-ink); }
.terms li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 8px; height: 8px; background: var(--day-accent); border-radius: 2px; transform: rotate(45deg); }
.price-main .fine, .day .fine { color: var(--day-muted); font-size: 14px; }
.price-side { display: grid; gap: 14px; align-content: start; padding: 22px 20px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--day-line); }
.price-side h3 { font: 800 1.8rem/1 var(--display); }
.price-side p { color: var(--day-muted); }
.price-side .btn { justify-self: start; }
@media (min-width: 900px) {
  .price-grid { grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
  .price-main { padding: 40px 44px 40px; }
  .price-side { padding: 30px 30px; margin-top: 24px; }
}

.faq { padding: 24px 0 96px; }
.faq h2, .team h2 { font: 800 clamp(2.2rem, 6vw, 3.6rem)/0.98 var(--display); }
.faq-list { margin-top: 26px; border-top: 1px solid var(--day-line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--day-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 12px; font-weight: 650; font-size: 18px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--day-accent); border-bottom: 2.5px solid var(--day-accent); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 12px 20px; color: var(--day-muted); max-width: 44rem; }
.faq details p a { color: var(--day-ink); }

.team { padding: 24px 0 104px; }
.team-grid { display: grid; gap: 32px; }
.founders { display: grid; gap: 18px; margin-top: 24px; max-width: 60rem; }
.founders p { font-size: 18px; color: var(--day-ink); }
.founders p b { font-weight: 700; }
.team .fine { margin-top: 22px; max-width: 44rem; }
@media (min-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }

/* ------------------------------------------------------------ footer (night again) */
footer { background: var(--night); border-top: 1px solid var(--line); padding: 40px 0 120px; color: var(--muted); font-size: 15px; }
footer .wrap { display: grid; gap: 16px; }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { color: var(--text); }
@media (min-width: 900px) { footer { padding-bottom: 48px; } footer .wrap { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; } }

/* sticky Founding Five dock on phones */
.dock { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px;
  border-radius: 14px; background: rgb(16 26 46 / 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -18px #000; transform: translateY(140%); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.dock.show { transform: none; }
.dock p { font-size: 14px; color: var(--muted); line-height: 1.3; }
.dock p b { display: block; color: var(--text); }
.dock .btn { min-height: 44px; padding: 10px 14px; font-size: 15px; white-space: nowrap; }
@media (min-width: 900px) { .dock { display: none; } }

/* ------------------------------------------------------------ inner pages (speed check, privacy, terms) */
.page { background: var(--day); color: var(--day-ink); min-height: 70vh; }
.page .band { padding: 48px 0 80px; }
.doc .wrap { max-width: 46rem; padding-top: 48px; padding-bottom: 80px; }
.doc h1 { font: 800 clamp(2.4rem, 7vw, 3.6rem)/0.98 var(--display); margin-bottom: 12px; }
.doc h2 { font: 800 1.9rem/1.05 var(--display); margin: 34px 0 10px; }
.doc p, .doc li { color: var(--day-ink); margin: 0 0 12px; }
.doc a:not(.btn) { color: var(--day-ink); }
.doc .btn { margin-top: 6px; }
.check { display: grid; gap: 32px; }
.check h1 { font: 800 clamp(2.4rem, 7vw, 3.8rem)/1.04 var(--display); margin: 10px 0 14px; }
.check .lede { color: var(--day-muted); }
.check .lede, .check .steps { max-width: 36rem; }
.page .fine { color: var(--day-muted); }
.next { display: grid; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--day-line); }
.next h2 { font: 800 1.9rem/1.05 var(--display); }
.next p { color: var(--day-ink); }
.next .ctas { margin-top: 0; }
.next a:not(.btn) { color: var(--day-ink); }
.f .msg { min-height: 1.5em; color: var(--day-muted); }
.f .msg.err { color: #a3261b; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pills li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--day-line); color: var(--day-muted); }
.steps { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 16px/1 var(--display); background: var(--day-ink); color: var(--day); }
.steps b { font-weight: 700; }
.steps span { color: var(--day-muted); font-size: 15px; }
.f { background: var(--day-2); border-radius: 18px; padding: 22px 18px; box-shadow: 0 0 0 1px var(--day-line); display: grid; gap: 14px; align-content: start; }
.f label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--day-ink); }
.f input, .f select, .f textarea { min-height: 46px; padding: 10px 12px; border-radius: 9px; border: 0; box-shadow: inset 0 0 0 1px var(--day-line); background: var(--day); color: var(--day-ink); font-weight: 500; font-size: 16px; }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #2156d9; }
.f .two { display: grid; gap: 14px; }
.f textarea { min-height: 112px; padding: 10px 12px; border-radius: 9px; border: 0; resize: vertical; font-family: inherit; line-height: 1.45; }
.f h3 { font: 800 1.8rem/1 var(--display); }
.f .opt { font-weight: 500; color: var(--day-muted); }
.msg a { color: inherit; font-weight: 700; }
.f .consent { grid-template-columns: auto 1fr; align-items: start; font-weight: 500; color: var(--day-muted); }
.f .consent input { min-height: 22px; width: 22px; margin: 2px 0 0; accent-color: var(--day-ink); }
.f .btn { justify-self: start; }
.f .hp { position: absolute; left: -9999px; }
.msg { font-size: 15px; }
.msg.ok { color: #0d6b3f; }
.msg.err { color: #a3261b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .msg.ok { color: var(--live); } :root:not([data-theme="light"]) .msg.err { color: var(--taillight); } }
@media (min-width: 600px) { .f .two { grid-template-columns: 1fr 1fr; } .f { padding: 28px; } }
@media (min-width: 900px) { .check { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }

/* ------------------------------------------------------------ motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
.nf { min-height: 100svh; display: flex; flex-direction: column; }
.nf main { flex: 1; }
