/* deadman · iteration 2 (paper, light).
   one accent with one meaning: green = a check-in. red shows only when the switch is armed or pulled.
   before launch (the default state) nothing is green and nothing ticks.
   two fonts: Schibsted Grotesk for words and the wordmark, Geist Mono for every number. */

:root {
  --paper: #F4F2EC;
  --paper-2: #EAE6DC;
  --card: #FBFAF6;
  --ink: #0D0E0F;
  --ink-2: #35373A;
  --dim: #69665E;
  --faint: #77736A;
  --line: #E1DCD1;
  --line-2: #CCC6B8;
  --grid: rgba(13, 14, 15, .045);
  --go: #0B7A43;      /* green text (4.8:1 on paper) */
  --go-hi: #14A05A;   /* green dots and fills */
  --go-wash: #E1EEE3;
  --go-line: #BCD8C4;
  --alarm: #C4281C;   /* red, armed or pulled only (5.1:1 on paper) */
  --alarm-wash: #F7E3DE;
  --alarm-line: #E5B3AB;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --bar: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 20px);
  background: var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-weight: 600; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.id { text-transform: none; }
.mk { fill: currentColor; }
.dim { color: var(--dim); }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* the state switch: elements with data-show appear only in the states they list.
   <html> carries data-state="prelaunch" in the page itself, so with scripts off it is the pre-launch page */
html[data-state="prelaunch"] [data-show]:not([data-show~="prelaunch"]),
html[data-state="live"] [data-show]:not([data-show~="live"]),
html[data-state="armed"] [data-show]:not([data-show~="armed"]),
html[data-state="pulled"] [data-show]:not([data-show~="pulled"]) { display: none !important; }

/* the small tag on every made-up number */
i.s {
  display: inline-block;
  font: 500 9.5px/1 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--dim);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 3px 5px 2px;
  vertical-align: 1px;
  white-space: nowrap;
}

/* ================= header ================= */
.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 242, 236, .86);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar-in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
  height: var(--bar);
  display: flex;
  align-items: center;
  gap: 40px;
}
/* the lockup: the box is 1.1x the word's height and centred on it (kit/BRAND.md) */
.brand, .lockup {
  display: inline-block;
  white-space: nowrap;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand { font-size: 22px; }
.brand .wm, .lockup .wm { display: inline-block; }
.brand .mk, .lockup .mk {
  display: inline-block;
  width: .567em;
  height: .819em;
  vertical-align: -.05em;
  margin-right: .3em;
}
.nav { display: flex; gap: 30px; font-size: 14.5px; color: var(--ink-2); }
.nav a { padding: 6px 0; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.bar-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* the contract address chip: always text with a copy button. says "soon" until it is real */
.ca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 5px 0 15px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--card);
  font: 500 13.5px/1 var(--mono);
  white-space: nowrap;
}
.ca-k { color: var(--dim); font-weight: 400; }
.ca-v { color: var(--ink); }
.copy {
  margin-left: 6px;
  height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  font: 500 12px/1 var(--mono);
  transition: background .15s;
}
.copy:hover { background: #2B2D30; }
.copy.done { background: var(--ink-2); }
.ca-sm { height: 36px; padding-left: 12px; gap: 8px; font-size: 12.5px; border-radius: 9px; }
.ca-sm .copy { height: 26px; padding: 0 9px; margin-left: 2px; font-size: 11.5px; border-radius: 6px; }
.xbtn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--card);
}
.xbtn svg { width: 14px; height: 14px; fill: var(--ink); }

/* ================= first screen ================= */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100svh - var(--bar));
  padding: clamp(36px, 6vh, 72px) var(--gut) clamp(48px, 8vh, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
/* faint engineering paper behind the switch */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 46% 62% at 74% 52%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 46% 62% at 74% 52%, #000 30%, transparent 78%);
  pointer-events: none;
}
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 30px;
  padding: 0 5px 0 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
}
.pill b { font-weight: 500; color: var(--ink); }
.pill i.s { border-radius: 999px; padding: 4px 7px 3px; }
.pdot { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--go-hi); }
.pdot::after, .status .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--go-hi);
  opacity: 0;
  animation: ping 2.8s cubic-bezier(.2, .6, .3, 1) infinite;
}
@keyframes ping { 0% { transform: scale(.4); opacity: .6; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.ctx { font-size: 14.5px; color: var(--dim); }
.h1 {
  margin: 26px 0 0;
  font-weight: 500;
  font-size: clamp(46px, 6.4vw, 96px);
  line-height: .97;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.sub {
  margin: 26px 0 0;
  max-width: 29em;
  font-size: clamp(17px, 1.42vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.sub .short { display: none; }
.h1 .hl { display: block; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  margin: 44px 0 0;
}
.facts > div { display: flex; flex-direction: column; padding: 0 30px; border-left: 1px solid var(--line-2); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font-size: 13px; color: var(--dim); white-space: nowrap; }
.facts dd { margin: auto 0 0; padding-top: 8px; font-size: 28px; font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.ca-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 40px; }
.ca-row .ca { height: 50px; padding-left: 16px; }
.ca-row .ca .copy { height: 38px; padding: 0 15px; }
.xlink { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-2); transition: color .15s; }
.xlink svg { width: 14px; height: 14px; fill: currentColor; }
.xlink:hover { color: var(--ink); }

/* ---------- the switch, working ---------- */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 28px 24px;
  box-shadow: 0 1px 0 rgba(13, 14, 15, .03), 0 30px 60px -36px rgba(13, 14, 15, .22);
}
/* the mark's four corners, framing the readout */
.crop { position: absolute; width: 18px; height: 18px; border: 0 solid var(--ink); }
.crop.tl { top: -10px; left: -10px; border-top-width: 2px; border-left-width: 2px; }
.crop.tr { top: -10px; right: -10px; border-top-width: 2px; border-right-width: 2px; }
.crop.br { bottom: -10px; right: -10px; border-bottom-width: 2px; border-right-width: 2px; }
.crop.bl { bottom: -10px; left: -10px; border-bottom-width: 2px; border-left-width: 2px; }

.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-t { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.card-t .mk { width: 10px; height: 14.5px; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  font: 500 12px/1 var(--mono);
  background: var(--go-wash);
  color: var(--go);
}
.status .dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--go-hi); }
.status.red { background: var(--alarm-wash); color: var(--alarm); }
.status.red .dot { background: var(--alarm); }
.status.red .dot::after { border-color: var(--alarm); }

.cd { margin-top: 28px; }
.tile { display: none; }
.clock-k { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dim); }
.clock {
  margin-top: 10px;
  font-size: clamp(56px, 5.7vw, 84px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
}
.win { margin-top: 22px; }
.win-track { position: relative; height: 6px; border-radius: 3px; background: var(--paper-2); }
.win-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); border-radius: 3px; background: var(--ink); }
.win-now { position: absolute; top: -5px; bottom: -5px; left: calc(var(--p) * 100%); width: 2px; margin-left: -1px; border-radius: 1px; background: var(--ink); }
.win-start {
  position: absolute;
  left: 0;
  top: 50%;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -2px;
  border-radius: 50%;
  background: var(--go-hi);
  box-shadow: 0 0 0 3px var(--card);
}
.ticks { display: flex; justify-content: space-between; margin-top: 9px; font-size: 10.5px; color: var(--faint); }

/* the three readouts: one row each, label left, number right */
.reads { margin: 22px 0 0; border-top: 1px solid var(--line); }
.rd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "k v" "n v";
  column-gap: 16px;
  align-items: center;
  padding: 13px 0 12px;
  border-bottom: 1px solid var(--line);
}
.rd dt { grid-area: k; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.rd .v { grid-area: v; margin: 0; display: flex; align-items: baseline; gap: 6px; font-size: 25px; font-weight: 500; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.rd .v small { font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: var(--dim); }
.rd .n { grid-area: n; margin: 4px 0 0; font-size: 11.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd .v.soon { font-size: 19px; color: var(--dim); }
.gdot { align-self: center; flex: none; width: 8px; height: 8px; margin-right: 3px; border-radius: 50%; background: var(--go-hi); box-shadow: 0 0 0 3px var(--go-wash); }

.pull { margin-top: 18px; }
.pull-btn {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--alarm);
  border-radius: 9px;
  background: var(--alarm-wash);
  color: var(--alarm);
  font: 500 14px/1 var(--mono);
  cursor: not-allowed;
}
.pull p { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--dim); }

.days { margin-top: 18px; }
.days .k { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); }
.days .dn { margin-left: auto; font-size: 11.5px; color: var(--ink-2); }
.dk-s { display: none; }
.day-row { list-style: none; margin: 11px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 12), minmax(0, 1fr)); gap: 4px; }
.day-row li { position: relative; height: 24px; display: grid; place-items: center; border-radius: 4px; background: var(--go-wash); color: var(--go); }
.day-row svg { width: 12px; height: 12px; }
.day-row li.today { background: var(--go-hi); color: #fff; }
.day-row li.miss { background: transparent; box-shadow: inset 0 0 0 1.5px var(--alarm); }
.day-row li.miss::before { content: ""; width: 8px; height: 2px; border-radius: 1px; background: var(--alarm); }
.day-row li.open { background: transparent; color: var(--faint); box-shadow: inset 0 0 0 1px var(--line-2); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- before launch: nothing is green, nothing pings, the clock waits at 04:00:00 ---------- */
.status.off { background: var(--paper-2); color: var(--ink-2); }
.status.off .dot { background: var(--faint); }
.status.off .dot::after { display: none; }
html[data-state="prelaunch"] .pdot { background: var(--faint); }
html[data-state="prelaunch"] .pdot::after { display: none; }
html[data-state="prelaunch"] .win-start { display: none; }
html[data-state="prelaunch"] .blip { background: var(--ink); }
html[data-state="prelaunch"] .ring { border-color: var(--ink-2); }
html[data-state="prelaunch"] .icap { background: var(--paper-2); color: var(--ink-2); }
html[data-state="prelaunch"] .icap .dot { background: var(--faint); }

/* ---------- armed and pulled: the only places red shows up ---------- */
html[data-state="armed"] .pdot, html[data-state="pulled"] .pdot { background: var(--alarm); }
html[data-state="armed"] .pdot::after { border-color: var(--alarm); }
html[data-state="pulled"] .pdot::after { display: none; }
html[data-state="armed"] .h1, html[data-state="pulled"] .h1 { font-size: clamp(42px, 4.6vw, 68px); line-height: 1.0; }
html[data-state="armed"] .clock, html[data-state="pulled"] .clock { color: var(--alarm); }
html[data-state="armed"] .clock-k, html[data-state="pulled"] .clock-k { color: var(--alarm); }
html[data-state="armed"] .win-fill, html[data-state="armed"] .win-now,
html[data-state="pulled"] .win-fill, html[data-state="pulled"] .win-now { background: var(--alarm); }
html[data-state="armed"] .bar .brand .mk, html[data-state="armed"] .card-t .mk, html[data-state="armed"] .tile .mk,
html[data-state="pulled"] .bar .brand .mk, html[data-state="pulled"] .card-t .mk, html[data-state="pulled"] .tile .mk { fill: var(--alarm); }
html[data-state="armed"] .crop, html[data-state="pulled"] .crop { border-color: var(--alarm); }
html[data-state="armed"] .gdot, html[data-state="pulled"] .gdot { background: var(--faint); box-shadow: none; }

/* ================= pulled: the payout ================= */
.po { margin-top: 48px; padding: 28px 32px 30px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.po-k { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 12.5px; color: var(--dim); }
.po-k b { font-weight: 500; color: var(--ink); }
.po-track { margin-top: 12px; height: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.po-track span { display: block; height: 100%; border-radius: 4px; background: var(--alarm); }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 12px; padding-right: 16px; }
.steps li::before { content: ""; position: absolute; left: 30px; right: 4px; top: 13.5px; height: 1px; background: var(--line-2); }
.steps li:last-child::before { display: none; }
.sn { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); font-size: 12px; color: var(--dim); }
.steps .ok .sn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.steps .ok::before { background: var(--ink); }
.steps .now .sn { border: 1.5px solid var(--alarm); color: var(--alarm); }
.steps b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.steps div > span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--dim); text-wrap: pretty; }
.steps div > span .mono { font-size: 12px; }

/* ================= for people who dig ================= */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 136px) var(--gut) 0; }
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 12px 40px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}
.sec-no { padding-top: 11px; font-size: 12.5px; color: var(--dim); }
.sec-t { margin: 0; font-weight: 500; font-size: clamp(32px, 3.7vw, 52px); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.sec-lede { margin: 16px 0 0; max-width: 36em; font-size: 18px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

/* the schematic. shown at 1200 px and wider only, where it is drawn at about 0.87 to 0.9 scale,
   so the sizes below come out at 12 px or more on screen (labels) and 13 px or more (node lines) */
.fig {
  margin: 56px 0 0;
  padding: clamp(24px, 2.4vw, 36px) clamp(24px, 2.4vw, 36px) 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.fig-svg { display: block; width: 100%; height: auto; overflow: visible; }
.fig figcaption { margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.fig-svg text { font-family: var(--sans); }
.fig-svg .n rect { fill: var(--paper); stroke: var(--line-2); stroke-width: 1; }
.fig-svg .n.core rect { fill: var(--ink); stroke: var(--ink); }
.fig-svg .n.hold rect { fill: var(--card); stroke: var(--ink); stroke-width: 1.25; }
.fig-svg .t { font-size: 19px; font-weight: 600; letter-spacing: -.01em; fill: var(--ink); }
.fig-svg .s { font-size: 15px; fill: var(--dim); }
.fig-svg .core .t { fill: var(--paper); }
.fig-svg .core .s { fill: #B7B2A6; }
.fig-svg .ink { fill: var(--paper); }
.fig-svg .lbl { font-family: var(--mono); font-size: 14.5px; font-weight: 500; fill: var(--dim); }
.fig-svg .s2 { font-size: 16px; font-weight: 500; fill: var(--ink-2); }
.fig-svg .big { font-size: 42px; font-weight: 600; letter-spacing: -.04em; fill: var(--ink); }
.fig-svg .hair { stroke: var(--line); stroke-width: 1; }
.fig-svg .ln { stroke: var(--ink); stroke-width: 1.5; fill: none; }
/* flow 1's two branches: the line weight follows the split (80 thick, 20 thin) */
.fig-svg .ln.w80 { stroke-width: 3; }
.fig-svg .ln.w20 { stroke-width: 1.1; }
.fig-svg .al.pct { font-size: 16px; fill: var(--ink); }
.fig-svg .f3 { stroke-dasharray: 6 5; }
.fig-svg .f3-r { display: none; stroke: var(--alarm); }
.fig-svg .ah { fill: var(--ink); }
.fig-svg .ahr { fill: var(--alarm); }
.fig-svg .badge circle { fill: var(--ink); }
.fig-svg .badge text { font-family: var(--mono); font-size: 14px; font-weight: 500; fill: var(--paper); text-anchor: middle; }
.fig-svg .al { font-family: var(--mono); font-size: 14.5px; font-weight: 500; fill: var(--ink-2); }
.fig-svg .al.dim { font-weight: 400; fill: var(--dim); }
.fig-svg .go { color: var(--go); }
.fig-svg .go circle { fill: var(--go-wash); stroke: var(--go-hi); stroke-width: 1.25; }
.fig-svg .go-t { fill: var(--go); }
/* quiet moving dots: transform and opacity only */
.fig-svg .dot { fill: var(--ink); opacity: 0; animation: run-x 2.8s cubic-bezier(.45, 0, .55, 1) infinite; }
.fig-svg .dot.d2 { animation-delay: 1.4s; }
.fig-svg .dot.d3 { animation-delay: 1.4s; animation-duration: 3.4s; }
.fig-svg .go-dot { fill: var(--go-hi); animation-name: run-y; animation-duration: 4.4s; animation-delay: 2.4s; }
.fig-svg .go-dot.gx { animation-name: run-x; animation-delay: .2s; }
.fig-svg .f3-dot { display: none; fill: var(--alarm); animation-duration: 2.2s; }
@keyframes run-x { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 84% { opacity: 1; } 100% { transform: translateX(var(--d)); opacity: 0; } }
@keyframes run-y { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(var(--d)); opacity: 0; } }
html[data-state="armed"] .fig-svg .f3-k, html[data-state="pulled"] .fig-svg .f3-k { display: none; }
html[data-state="armed"] .fig-svg .f3-r, html[data-state="pulled"] .fig-svg .f3-r { display: inline; }
html[data-state="pulled"] .fig-svg .f3-r { stroke-dasharray: none; }
html[data-state="pulled"] .fig-svg .f3-dot { display: inline; }
html[data-state="armed"] .fig-svg .f3b circle, html[data-state="pulled"] .fig-svg .f3b circle { fill: var(--alarm); }
html[data-state="armed"] .fig-svg .f3t, html[data-state="pulled"] .fig-svg .f3t { fill: var(--alarm); }
html[data-state="armed"] .fig-svg .go-dot, html[data-state="pulled"] .fig-svg .go-dot { display: none; }

.flows { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.flow-h { display: flex; align-items: center; gap: 10px; }
.flow .num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 500; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.chip.go { color: var(--go); border-color: var(--go-line); background: var(--go-wash); }
html[data-state="armed"] .f3c, html[data-state="pulled"] .f3c { color: var(--alarm); border-color: var(--alarm-line); background: var(--alarm-wash); }
html[data-state="armed"] .chip.go, html[data-state="pulled"] .chip.go { color: var(--ink-2); border-color: var(--line-2); background: transparent; }
.flow h3 { margin: 16px 0 0; font-size: 21px; line-height: 1.22; letter-spacing: -.02em; text-wrap: balance; }
.flow p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.chain { display: none; }

/* what is on chain */
.proofs { margin-top: 52px; border-top: 1px solid var(--line-2); }
.proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 16px 56px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.pk { display: flex; align-items: flex-start; gap: 18px; }
.pn { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 12px; color: var(--ink-2); }
.pk h3 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }
.pk p { margin: 5px 0 0; max-width: 34em; font-size: 15px; line-height: 1.55; color: var(--dim); }
.pv { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pl { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--dim); }
.ca.addr { width: 100%; justify-content: space-between; }
.ca.addr .ca-v { color: var(--dim); }
/* c, d and e: a few named lines, each "soon" until launch */
.kvs { margin: 0; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); font-size: 13px; }
.kvs > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 5px 5px 5px 15px; }
.kvs > div + div { border-top: 1px solid var(--line); }
.kvs > div.nc { padding-right: 15px; }
.kvs dt { color: var(--ink-2); white-space: nowrap; }
.kvs dd { margin: 0; display: flex; align-items: center; gap: 4px; color: var(--dim); white-space: nowrap; }
.kvs .ca-v { color: var(--dim); }
.kvs .copy { height: 32px; padding: 0 12px; font-size: 11.5px; }

/* the spec: open by default, for the people who dig */
.spec { margin-top: 48px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); }
.spec-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 18px 24px; font-size: 13px; }
.spec-h .dim { font-size: 11.5px; }
.spec dl { margin: 0; padding: 0 24px 6px; }
.spec dl > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4px 32px; padding: 14px 0; border-top: 1px solid var(--line); }
.spec dt { font-size: 12px; color: var(--dim); padding-top: 3px; }
.spec dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }

/* what it cannot catch */
.lims { list-style: none; margin: 52px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.lims li { display: grid; grid-template-columns: 64px minmax(0, .9fr) minmax(0, 1.3fr); gap: 6px 32px; align-items: baseline; padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.lims .num { font-size: 12px; color: var(--dim); }
.lims h3 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.lims p { margin: 0; max-width: 38em; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }

/* ================= footer ================= */
.foot { margin-top: clamp(96px, 12vw, 160px); border-top: 1px solid var(--ink); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 30px var(--gut) 40px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-ca { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.foot-nav { display: flex; gap: 26px; font-size: 12.5px; color: var(--ink-2); }
.foot-nav a:hover { color: var(--ink); }
.lockup {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 48px);
  font-size: clamp(60px, 15.5vw, 224px);
  line-height: .9;
  letter-spacing: -.05em;
}
.lockup .mk { margin-right: .26em; }
.foot-bot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 10px 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.tag { margin: 0; font-size: 15px; font-weight: 500; }
.fine { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--dim); }
.mockbar { margin-top: 10px; font-size: 11.5px; }
.mockbar a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-2); }

/* ================= the intro (first visit only) ================= */
.veil { display: none; position: fixed; inset: 0; z-index: 100; }
html.intro .veil { display: block; }
html.intro.intro-js { overflow: hidden; }
.veil-bg { position: absolute; inset: 0; background: var(--paper); }
.guide { position: absolute; opacity: 0; background: var(--line-2); }
.guide.v { top: 0; bottom: 0; width: 1px; }
.guide.h { left: 0; right: 0; height: 1px; }
.lock {
  --H: clamp(124px, min(36vw, 20vh), 172px);
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 5vh;
}
.ibox-wrap { position: relative; flex: none; width: calc(var(--H) * 36 / 52); height: var(--H); transform-origin: 0 0; }
.ibox { position: absolute; inset: 0; }
.ibox .c { position: absolute; display: block; width: 44.4444%; height: 30.7692%; }
.ibox .c svg { display: block; width: 100%; height: 100%; fill: var(--ink); }
.ibox .c[data-k="tl"] { left: 0; top: 0; }
.ibox .c[data-k="tr"] { right: 0; top: 0; }
.ibox .c[data-k="br"] { right: 0; bottom: 0; }
.ibox .c[data-k="bl"] { left: 0; bottom: 0; }
/* the ring is drawn full size with a hairline and scaled up from small, so it stays a hairline */
.ring, .blip { position: absolute; left: 50%; top: 50%; border-radius: 50%; opacity: 0; }
.blip { width: calc(var(--H) * .085); height: calc(var(--H) * .085); margin: calc(var(--H) * -.0425) 0 0 calc(var(--H) * -.0425); background: var(--go-hi); }
.ring { width: calc(var(--H) * .6); height: calc(var(--H) * .6); margin: calc(var(--H) * -.3) 0 0 calc(var(--H) * -.3); border: 1px solid var(--go-hi); }
.iword {
  margin-top: calc(var(--H) * .2);
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.icap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  margin-top: 18px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: var(--go-wash);
  color: var(--go);
  font: 500 12px/1 var(--mono);
}
.icap .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go-hi); }
/* armed or pulled: the intro tells the truth too. no green check-in, the box and the blip are red */
html[data-state="armed"] .ibox .c svg, html[data-state="pulled"] .ibox .c svg { fill: var(--alarm); }
html[data-state="armed"] .blip, html[data-state="pulled"] .blip, html[data-state="armed"] .icap .dot, html[data-state="pulled"] .icap .dot { background: var(--alarm); }
html[data-state="armed"] .ring, html[data-state="pulled"] .ring { border-color: var(--alarm); }
html[data-state="armed"] .icap, html[data-state="pulled"] .icap { background: var(--alarm-wash); color: var(--alarm); }
.skip {
  position: absolute;
  right: var(--gut);
  bottom: max(22px, env(safe-area-inset-bottom));
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font: 500 12px/1 var(--mono);
  color: var(--dim);
}
/* if site.js never runs: a plain fade, the page is up by about 2.5 s, any key or tap ends it (head script) */
html.intro:not(.intro-js) .lock { animation: fb-in .5s .35s both; }
html.intro:not(.intro-js) .veil { animation: fb-out .45s 2.05s both; }
@keyframes fb-in { from { opacity: 0; } }
@keyframes fb-out { to { opacity: 0; visibility: hidden; } }

/* ================= tablets ================= */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 450px); gap: 44px; }
  .facts { grid-template-columns: repeat(3, minmax(0, max-content)); }
  .facts > div { padding: 0 18px; }
  .facts dt { white-space: normal; font-size: 12.5px; line-height: 1.35; }
  .facts dd { font-size: 25px; }
  .card { padding: 24px 24px 22px; }
  .clock { font-size: clamp(54px, 6.6vw, 72px); }
  .rd .v { font-size: 23px; }
}
/* below 1200 px the schematic would shrink its words under 12 px, so the three flows become stacked from / through / to steps */
@media (max-width: 1199px) {
  .fig { display: none; }
  .flows { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 32px; }
  .flow { padding: 28px 0 30px; border-top: 1px solid var(--line); }
  .flow h3 { margin-top: 14px; font-size: 20px; }
  .flow p { font-size: 15px; max-width: 40em; }
  .chain { display: block; list-style: none; margin: 18px 0 0; padding: 0; max-width: 520px; }
  .chain .node { padding: 11px 14px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--card); }
  .chain .nk { display: block; margin-bottom: 4px; font-style: normal; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
  .chain .node b { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
  .chain .node span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--dim); }
  .chain .node.core { background: var(--ink); border-color: var(--ink); color: var(--paper); }
  .chain .node.core span, .chain .node.core .nk { color: #A9A49A; }
  .chain .node.core .mk { width: 10px; height: 14.5px; fill: var(--paper); }
  .chain .node.end { border-color: var(--ink); }
  .chain .arw { position: relative; padding: 11px 0 13px 34px; font: 500 12px/1.3 var(--mono); color: var(--ink-2); }
  .chain .arw::before { content: ""; position: absolute; left: 17px; top: 0; bottom: 6px; width: 1.5px; background: var(--ink); }
  .chain .arw::after { content: ""; position: absolute; left: 13px; bottom: 0; border-style: solid; border-width: 7px 4.75px 0; border-color: var(--ink) transparent transparent; }
  .chain .arw.go { color: var(--go); }
  .chain .fork { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px; }
  .chain .fork .node.end { border-width: 2px; }
  html[data-state="armed"] .f3-flow .node.core, html[data-state="pulled"] .f3-flow .node.core { background: var(--alarm); border-color: var(--alarm); }
  html[data-state="armed"] .f3-flow .node.core span, html[data-state="armed"] .f3-flow .node.core .nk,
  html[data-state="pulled"] .f3-flow .node.core span, html[data-state="pulled"] .f3-flow .node.core .nk { color: #F7D6D0; }
}
/* wide tablets and small laptops: each flow's steps on the left, its plain words on the right */
@media (min-width: 861px) and (max-width: 1199px) {
  .flow { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); column-gap: 48px; align-items: start; }
  .flow-h, .flow h3 { grid-column: 1 / -1; }
  .flow .chain { grid-column: 1; }
  .flow p { grid-column: 2; margin-top: 18px; }
}
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .steps li:nth-child(3)::before { display: none; }
}

/* ================= phones ================= */
@media (max-width: 860px) {
  :root { --bar: 58px; }
  .nav { display: none; }
  .brand { font-size: 21px; }
  .bar-in { gap: 12px; }

  /* the order on a phone: the live pill, the sentence, the CA, the switch, then the rules */
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding-top: 14px; padding-bottom: 8px; }
  .hero-l { display: contents; }
  .hero::before { -webkit-mask-image: radial-gradient(ellipse 80% 40% at 50% 70%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 40% at 50% 70%, #000 20%, transparent 75%); }
  .eyebrow { order: 1; gap: 6px 10px; }
  .pill { height: 27px; font-size: 12px; gap: 8px; }
  .pl-l { display: none; }
  .ctx { font-size: 12.5px; }
  .h1 { order: 2; margin-top: 11px; font-size: clamp(42px, 12.4vw, 64px); letter-spacing: -.048em; }
  html[data-state="armed"] .h1, html[data-state="pulled"] .h1 { font-size: clamp(36px, 10.4vw, 52px); }
  .sub { order: 3; margin-top: 10px; font-size: 16px; line-height: 1.48; }
  .sub .long { display: none; }
  .sub .short { display: inline; }
  .ca-row { order: 4; margin-top: 14px; gap: 8px; flex-wrap: nowrap; }
  .ca-row .ca { flex: 1 1 auto; min-width: 0; height: 44px; padding-left: 14px; }
  .ca-row .ca .copy { height: 34px; margin-left: auto; }
  .ca-row .xlink { flex: none; height: 44px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); font-size: 13.5px; gap: 8px; color: var(--ink); }
  .card { order: 5; margin-top: 16px; padding: 13px 15px 12px; }
  .facts { order: 6; margin-top: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .facts > div { padding: 0 12px; }
  .facts dt { font-size: 11.5px; line-height: 1.35; white-space: normal; }
  .facts dd { font-size: 22px; }

  /* the switch folds into one row: the mark beside the clock, then three one-line readouts */
  .crop { width: 14px; height: 14px; }
  .crop.tl, .crop.tr { top: -7px; }
  .crop.bl, .crop.br { bottom: -7px; }
  .crop.tl, .crop.bl { left: -7px; }
  .crop.tr, .crop.br { right: -7px; }
  .card-t { font-size: 14px; }
  .status { height: 24px; font-size: 11px; padding: 0 10px 0 8px; gap: 7px; }
  .cd { margin-top: 10px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .tile {
    display: grid;
    place-items: center;
    width: 62px;
    height: 76px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background-color: var(--paper);
    background-image: radial-gradient(rgba(13, 14, 15, .09) 1px, transparent 1.3px);
    background-size: 10px 10px;
    background-position: center;
  }
  .tile .mk { width: 25px; height: 36px; }
  .clock-k { font-size: 12px; gap: 8px; }
  .clock { margin-top: 4px; font-size: clamp(36px, 10.6vw, 46px); }
  .win { margin-top: 9px; }
  .win-track { height: 4px; }
  .win-now { top: -4px; bottom: -4px; }
  .win-start { width: 9px; height: 9px; margin: -4.5px 0 0 -2px; box-shadow: 0 0 0 2px var(--card); }
  .ticks { margin-top: 4px; font-size: 9.5px; line-height: 1.3; }
  .reads { margin-top: 10px; }
  .rd { grid-template-areas: "k v"; padding: 8px 0 7px; }
  .rd:last-child { border-bottom: 0; } /* the last row on show: the streak strip below draws the line */
  .rd dt { font-size: 12.5px; gap: 7px; }
  .rd .v { font-size: 18px; gap: 4px; }
  .rd .v.soon { font-size: 15px; }
  .rd .v small { font-size: 11px; }
  .rd .n { display: none; }
  .gdot { width: 6px; height: 6px; box-shadow: 0 0 0 2px var(--go-wash); }
  .pull { margin-top: 10px; }
  .pull-btn { height: 42px; }
  .days { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
  .days .k { font-size: 12px; }
  .dk-l { display: none; }
  .dk-s { display: inline; }
  .day-row { gap: 3px; }
  .day-row li { height: 22px; }
  .day-row svg { width: 10px; height: 10px; }

  .sec { padding-top: 72px; }
  .sec-head { grid-template-columns: 1fr; gap: 10px; padding-top: 16px; }
  .sec-no { padding-top: 0; }
  .sec-t { font-size: clamp(30px, 8.6vw, 40px); }
  .sec-lede { font-size: 16.5px; }

  /* § 01 on a phone: only the three step chains. the open spec below carries the detail */
  .flows { margin-top: 12px; }
  .flow { padding: 16px 0 18px; }
  .flow h3 { margin-top: 8px; font-size: 18px; line-height: 1.2; }
  .flow p { display: none; }
  .chain { margin-top: 10px; }
  .chain .node { padding: 7px 12px 8px; }
  /* the from / through / to label sits on the same line as the step, so each step is two lines, not three */
  .chain .nk { display: inline-block; min-width: 5.6em; margin: 0 4px 0 0; font-size: 9.5px; vertical-align: 1px; }
  .chain .node b { display: inline-flex; vertical-align: baseline; font-size: 15px; }
  .chain .node span { margin-top: 1px; font-size: 12.5px; line-height: 1.35; }
  .chain .fork .nk { display: block; margin-bottom: 2px; }
  .chain .arw { padding: 5px 0 7px 32px; font-size: 11.5px; }
  .chain .arw::before { left: 16px; bottom: 5px; }
  .chain .arw::after { left: 12px; }

  .po { margin-top: 28px; padding: 20px 18px 22px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-top: 22px; }
  .steps li { flex-direction: row; gap: 14px; padding: 0 0 18px; }
  .steps li::before, .steps li:nth-child(3)::before { display: block; left: 13.5px; right: auto; top: 28px; bottom: 0; width: 1px; height: auto; }
  .steps li:last-child::before { display: none; }
  .steps .sn { flex: none; }
  .steps b { padding-top: 4px; }

  .proofs { margin-top: 32px; }
  .proof { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
  .pk { gap: 14px; }
  .pk h3 { font-size: 18px; }
  .pk p { font-size: 14.5px; }
  .kvs { font-size: 12.5px; }
  .kvs > div { padding-left: 13px; }
  .spec { margin-top: 32px; }
  .spec-h { padding: 16px 18px; }
  .spec dl { padding: 0 18px 4px; }
  .spec dl > div { grid-template-columns: 1fr; gap: 3px; padding: 13px 0; }
  .spec dd { font-size: 14.5px; }

  .lims { margin-top: 28px; }
  .lims li { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 4px; padding: 22px 0 24px; }
  .lims li p { grid-column: 2; }
  .lims h3 { font-size: 18.5px; }
  .lims p { font-size: 15px; }

  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-bot { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .ca-sm .ca-k { display: none; }
  .ca-row .xlink span { display: none; }
  .facts > div { padding: 0 9px; }
  .facts dd { font-size: 20px; }
  .rd dt i.s { padding: 2px 4px 1px; font-size: 8.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pdot::after, .status .dot::after { animation: none; }
  .fig-svg .dot { animation: none; display: none !important; }
}
