/* Moonhand "before" page — minimal, agentic.
 * Two neutrals (cool white, near-black) and one electric ultramarine. Lime is the only other colour and it means
 * exactly one thing: waiting for you (the 3 held items, Approve). Blue means the agents' work.
 * Geist light and tight for promises, Geist Mono for the machine (bracketed indices, timestamps, counts).
 * Hairlines, 2 px corners, registration ticks. Data is drawn, not decorated: the night ledger is 412 bars.
 * No motion: that is site-motion's job, later, in the [data-scene] slots. */
:root {
  --paper: #f1f2f4;
  --surface: #fafbfc;
  --tint: #e8eaee;
  --ink: #08090c;
  --ink-2: #14161c;
  --muted: #5c616d;
  --faint: #8d929c;
  --line: rgb(8 9 12 / 0.09);
  --line-2: rgb(8 9 12 / 0.16);
  --blue: #2b4bff;
  --blue-deep: #0b1a8c;
  --blue-ink: #1f3bdb;
  --lime: #c6f432;
  --on-dark: #e9ebf0;
  --on-dark-dim: rgb(233 235 240 / 0.56);
  --line-dark: rgb(233 235 240 / 0.12);
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --wrap: 1240px;
  --gap: clamp(96px, 11vw, 152px);
  --r: 2px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 32px; }
.lime { color: var(--lime); }

.fiction { margin: 0; padding: 7px 16px; text-align: center; font: 400 11.5px/1.4 var(--mono); letter-spacing: 0.04em; background: var(--ink); color: var(--on-dark-dim); }
.fiction a { color: var(--on-dark); text-underline-offset: 2px; }

/* nav: a hairline, a wordmark, a black button */
.nav { position: sticky; top: 0; z-index: 10; background: rgb(241 242 244 / 0.8); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 36px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 500 18px/1 var(--sans); letter-spacing: -0.04em; text-decoration: none; }
.logo svg { color: var(--blue); }
.nav nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: var(--r); font: 500 14px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--blue); }
.btn.line { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.line-light { color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--line-dark); }

/* the machine voice */
.tag { display: flex; gap: 10px; margin: 0 0 22px; font: 400 12px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.tag span { color: var(--blue-ink); white-space: nowrap; flex: none; }
.black .tag, .panel .tag, .close .tag { color: var(--on-dark-dim); }
.black .tag span, .close .tag span { color: var(--lime); }
.panel .tag span { color: #fff; }

/* 01 hero */
.hero { padding: clamp(64px, 9vw, 120px) 0 56px; }
.hero h1 { margin: 0; font: 300 clamp(48px, 7.2vw, 108px)/0.96 var(--sans); letter-spacing: -0.055em; }
.hero h1 .quiet { color: #a2a7b1; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.lede { margin: 0; max-width: 40ch; font-size: 19px; line-height: 1.5; color: var(--muted); letter-spacing: -0.01em; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); margin: 56px 0 0; border-top: 1px solid var(--line-2); }
.stats div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 18px 20px 0 0; border-right: 1px solid var(--line); }
.stats div + div { padding-left: 20px; }
.stats div:last-child { border-right: 0; }
.stats dt { font: 400 11.5px/1.4 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.stats dd { margin: 0; font: 300 34px/1.1 var(--sans); letter-spacing: -0.04em; }
.stats .held dd { color: var(--ink); }
.stats .held dt::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--lime); box-shadow: 0 0 0 1px rgb(8 9 12 / 0.25); vertical-align: 1px; }

/* the night ledger: 412 bars */
.ledger { height: 72px; background: var(--ink); }
.ledger svg { display: block; width: 100%; height: 100%; }
.ledger.thin { height: 10px; }
.ledger-axis { background: var(--ink); color: rgb(233 235 240 / 0.45); border-top: 1px solid rgb(233 235 240 / 0.08); }
/* the axis spans the band edge to edge, like the band itself */
.axis-in { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 10px; font: 400 10.5px/1 var(--mono); letter-spacing: 0.05em; }

/* the field: electric blue, grain, the product */
.field { position: relative; padding: 40px 0 96px; color: #fff; background: radial-gradient(70% 90% at 50% 100%, #4a66ff 0%, var(--blue) 35%, var(--blue-deep) 100%); overflow: hidden; }
.field::before, .panel::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: 0.18; mix-blend-mode: overlay; pointer-events: none; }
.field .wrap { position: relative; }
.field-bar { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 26px; font: 400 12px/1 var(--mono); letter-spacing: 0.06em; color: rgb(255 255 255 / 0.72); }
.field-bar .lime { margin-left: auto; }

/* annotation chips on the product: what the agents did, what waits for you */
.stage-wrap { position: relative; }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; font: 500 12px/1 var(--mono); letter-spacing: 0.02em; border-radius: 3px; box-shadow: 0 18px 40px -16px rgb(4 8 40 / 0.6); white-space: nowrap; }
.chip i { width: 7px; height: 7px; }
.chip-a { top: -17px; left: 36px; background: #fff; color: var(--ink); }
.chip-a i { background: var(--blue); }
.chip-b { bottom: -17px; right: 36px; background: var(--ink); color: #fff; }
.chip-b i { background: var(--lime); }

/* windows */
.window { margin: 0; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgb(8 9 12 / 0.18), 0 50px 100px -40px rgb(4 8 40 / 0.7); }
.chrome { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #f4f5f7; border-bottom: 1px solid var(--line); }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: #d5d8de; }
.chrome span { margin-left: 14px; font: 400 11.5px/1 var(--mono); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* the report panel shows the "Waiting for you" queue close up (right side of the product screen) */
.crop { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.crop img { position: absolute; width: 260%; max-width: none; left: -156%; top: -44%; }

/* customers: a mono row between hairlines */
.customers { border-bottom: 1px solid var(--line); }
.customers-in { display: flex; align-items: center; gap: 40px; padding-top: 26px; padding-bottom: 26px; }
.customers p { margin: 0; flex: none; font: 400 11.5px/1.4 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.customers ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; flex: 1; margin: 0; padding: 0; list-style: none; font: 500 17px/1 var(--sans); letter-spacing: -0.04em; color: #9a9ea8; }

/* acts */
.act { padding-top: var(--gap); }
.act h2, .yc h2 { margin: 0; font: 300 clamp(36px, 4.4vw, 60px)/1.02 var(--sans); letter-spacing: -0.045em; }
.sub { margin: 22px 0 0; max-width: 46ch; font-size: 17px; color: var(--muted); }
.head { margin-bottom: 40px; }

/* 02 black, with a list of times */
.act.black { margin-top: var(--gap); padding: var(--gap) 0; background: var(--ink); color: var(--on-dark); }
.black .sub { color: var(--on-dark-dim); }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.steps { margin: 0; }
.steps ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.steps li { display: grid; grid-template-columns: 96px 1fr; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.steps time { grid-row: span 2; font: 400 13px/1.6 var(--mono); color: var(--on-dark-dim); }
.steps b { font: 400 22px/1.25 var(--sans); letter-spacing: -0.03em; color: #fff; }
.steps span { font-size: 14.5px; color: var(--on-dark-dim); }
.steps li.blue time { color: #7f95ff; }
.steps li.lime time { color: var(--lime); }
.steps li.blue b::after, .steps li.lime b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; vertical-align: 4px; background: #7f95ff; }
.steps li.lime b::after { background: var(--lime); }

/* 03 bento: hairline cards with registration ticks */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); }
.card.big { grid-column: span 2; grid-row: span 2; }
.art { position: relative; margin: 0; aspect-ratio: 16 / 9; color: var(--ink); background-color: var(--tint); background-image: radial-gradient(rgb(8 9 12 / 0.13) 1px, transparent 1.2px); background-size: 16px 16px; border-bottom: 1px solid var(--line); }
.card.big .art { aspect-ratio: auto; flex: 1; min-height: 360px; }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.art::before, .art::after { content: "+"; position: absolute; font: 300 14px/1 var(--mono); color: var(--faint); z-index: 1; }
.art::before { top: 8px; left: 10px; }
.art::after { bottom: 8px; right: 10px; }
.card-text { padding: 22px 24px 26px; }
.meta { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; font: 400 11.5px/1.4 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue-ink); }
.meta span { color: var(--faint); }
.meta .num { color: var(--blue-ink); margin-right: 8px; }
#security .meta, #pricing .meta { justify-content: flex-start; color: var(--ink); }
.card h3 { margin: 0; font: 400 23px/1.18 var(--sans); letter-spacing: -0.035em; }
.card.big h3 { font-size: 34px; font-weight: 300; }
.card-text > p:not(.meta) { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* 04 the electric report panel */
.panel { position: relative; display: grid; grid-template-columns: 0.75fr 1.4fr; gap: 56px; align-items: center; padding: 56px 0 56px 56px; color: #fff; background: radial-gradient(80% 120% at 100% 50%, #4a66ff 0%, var(--blue) 40%, var(--blue-deep) 100%); overflow: hidden; border-radius: var(--r); }
.panel > * { position: relative; }
.panel .sub { color: rgb(255 255 255 / 0.72); }
.panel .window { border-top-right-radius: 0; border-bottom-right-radius: 0; }

/* 05 proof */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.number { font: 200 clamp(88px, 13vw, 200px)/0.86 var(--sans) !important; letter-spacing: -0.07em !important; }
.proof-side { display: grid; gap: 20px; padding-top: 34px; }
.sources { margin: 0; }
.sources ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.sources li { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.sources li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--w); background: var(--blue); }
.sources li b { font: 500 14px var(--mono); }
.quote { margin: 0; padding: 28px; background: var(--ink); color: #fff; border-radius: var(--r); }
.quote p { margin: 0; font: 300 24px/1.25 var(--sans); letter-spacing: -0.03em; }
.quote footer { margin-top: 18px; font: 400 12px/1.4 var(--mono); letter-spacing: 0.03em; color: var(--on-dark-dim); }

/* 06/07 security + pricing */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.checks { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.checks li { padding: 5px 10px; border: 1px solid var(--line-2); border-radius: var(--r); font: 400 12px var(--mono); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 16px 0 0; background: var(--line-2); border: 1px solid var(--line-2); }
.plans div { padding: 14px; background: var(--surface); }
.plans .pick { background: var(--ink); color: #fff; }
.plans dt { font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; }
.plans dd { margin: 6px 0 4px; font: 300 28px/1 var(--sans); letter-spacing: -0.04em; }
.plans span { display: block; font: 400 11.5px/1.4 var(--mono); opacity: 0.6; }

/* 08 road to YC */
.yc { display: grid; grid-template-columns: 0.8fr 1.5fr; gap: 48px; align-items: end; padding-top: 28px; border-top: 1px solid var(--line-2); }
.yc h2 { font-size: clamp(30px, 3.2vw, 44px); }
.roadmap { margin: 0; }
.roadmap ol { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.roadmap ol::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: linear-gradient(90deg, var(--ink) 58%, var(--line-2) 58%); }
.roadmap li { position: relative; padding-top: 28px; font: 400 19px/1.2 var(--sans); letter-spacing: -0.03em; }
.roadmap li::before { content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.roadmap li.done::before { background: var(--ink); box-shadow: none; }
.roadmap li.now::before { background: var(--lime); box-shadow: 0 0 0 1px var(--ink), 0 0 0 6px rgb(198 244 50 / 0.35); }
.roadmap time { display: block; margin-bottom: 6px; font: 400 11.5px var(--mono); letter-spacing: 0.05em; color: var(--faint); }

/* 09 close */
.close { margin-top: var(--gap); background: var(--ink); color: #fff; }
.close-in { padding-top: var(--gap); padding-bottom: var(--gap); }
.close h2 { margin: 0; font: 300 clamp(64px, 11vw, 168px)/0.9 var(--sans); letter-spacing: -0.065em; }
.close .sub { color: var(--on-dark-dim); }
.close .ctas { margin-top: 36px; }

.foot { background: var(--ink); color: var(--on-dark-dim); font: 400 12px/1.4 var(--mono); border-top: 1px solid var(--line-dark); overflow: hidden; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding-top: 22px; padding-bottom: 22px; }
.foot .logo.small { font-size: 15px; color: #fff; margin-right: auto; }
/* the wordmark is sized to its column ("moonhand" is 4.08em wide at this tracking), so it never runs off the edge */
.foot .wrap:last-child { container-type: inline-size; }
.wordmark { margin: 8px 0 0; padding-bottom: clamp(24px, 4vw, 56px); font: 200 24.2cqi/0.9 var(--sans); letter-spacing: -0.08em; white-space: nowrap; color: rgb(233 235 240 / 0.07); user-select: none; }

@media (max-width: 980px) {
  .split, .proof, .yc, .panel { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.big { grid-column: span 2; grid-row: auto; }
  .panel { padding: 40px 0 0 32px; gap: 32px; }
  .panel-head { padding-right: 32px; }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .nav nav { display: none; }
  .nav-in { justify-content: space-between; }
  .hero h1 { font-size: 46px; letter-spacing: -0.05em; }
  .lede { font-size: 17px; }
  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .stats div { padding: 14px 10px 0 0 !important; border-right: 0; justify-content: flex-start; flex-direction: column; }
  .stats dd { order: -1; }
  .stats dd { font-size: 26px; }
  .ledger { height: 48px; }
  .axis-in span:nth-child(even) { display: none; }
  .chip { display: none; }
  .field { padding: 26px 0 56px; }
  .field-bar { font-size: 10.5px; gap: 6px 14px; }
  .field-bar .lime { margin-left: 0; }
  .customers-in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .customers ul { justify-content: flex-start; font-size: 15px; gap: 8px 20px; }
  .bento { grid-template-columns: 1fr; }
  .card.big { grid-column: auto; }
  .card.big .art { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
  .card.big h3 { font-size: 28px; }
  .steps li { grid-template-columns: 76px 1fr; }
  .panel { padding: 30px 0 0 20px; }
  .plans { grid-template-columns: 1fr; }
  .roadmap ol { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .roadmap ol::before { display: none; }
}
