@font-face { font-family: Archivo; src: url(/fonts/archivo-wdth-wght-latin.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/fonts/public-sans-wght-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(/fonts/ibm-plex-mono-400-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(/fonts/ibm-plex-mono-500-latin.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #e3e1da; --navy: #0b2b5c; --ink: #14233c; --mute: #566172; --line: rgba(11, 43, 92, .26); --edge: #97a2b3;
  --verm: #e8431a; --cobalt: #1650d6;
  --pad: clamp(18px, 2.4vw, 36px); --panel: clamp(340px, 28vw, 420px);
  --mono: "Plex Mono", ui-monospace, Menlo, monospace;
  --disp: Archivo, "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --cut: 10px;
  --cut-shape: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 0; }
body { color: var(--ink); font: 400 15px/1.45 var(--body); overflow-x: clip; position: relative; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
ul { padding: 0; list-style: none; }
dd { margin: 0; }
.vh, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 9; top: 8px; left: 8px; background: var(--navy); color: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
h1, h2, .big { font-family: var(--disp); font-weight: 300; font-stretch: 96%; letter-spacing: -.022em; line-height: 1.04; color: var(--navy); }
h2, .io, .layer, .also { text-wrap: balance; }
.say, .hero p, .assume { text-wrap: pretty; }

/* behind the model */
.bigwrap { position: absolute; z-index: 0; inset: 0 0 auto; height: 100vh; overflow: hidden; }
.bigmark { position: absolute; top: clamp(74px, 10.5vh, 104px); left: -2.6vw; width: 105.6vw; height: auto; max-width: none; }

/* the model */
.stage { position: fixed; inset: 0; z-index: 0; height: 100lvh; pointer-events: none; overflow: hidden; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#tint { mix-blend-mode: multiply; }
.gl-on #tint { display: none; }
#gl { opacity: 0; transition: opacity .9s ease; }
.gl-on #gl { opacity: 1; }
.static { position: absolute; left: 0; top: 50%; width: 100%; height: auto; max-width: none; transform: translateY(-34%); transform-origin: 0 0; transition: opacity .9s ease; will-change: transform; }
.js .static { top: 0; width: 3200px; }
.gl-on .static { opacity: 0; }

/* one continuous bar */
.nav {
  position: fixed; z-index: 6; top: 12px; left: calc(var(--pad) - 14px); right: calc(var(--pad) - 14px);
  height: 52px; display: flex; align-items: center; gap: 24px; padding: 0 5px 0 14px; background: var(--edge); clip-path: var(--cut-shape); isolation: isolate;
}
.nav::before { content: ""; position: absolute; z-index: -1; inset: 1px; background: var(--paper); clip-path: var(--cut-shape); }
.nav-mark { display: block; }
.nav-mark img { height: 23px; width: auto; display: block; }
.nav nav { display: flex; gap: 2px; margin-left: auto; font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.nav nav a { text-decoration: none; padding: 8px 10px; color: var(--ink); }
.nav nav a:hover { color: var(--cobalt); }
.nav-cta { background: var(--navy); color: #fff; height: 42px; display: flex; align-items: center; padding: 0 18px; text-decoration: none; font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%); }
.nav-cta:hover { background: var(--cobalt); }

main { position: relative; z-index: 3; pointer-events: none; }
main a, main button { pointer-events: auto; }

/* hero */
.hero { height: 100vh; height: 100svh; min-height: 560px; display: flex; align-items: flex-end; padding: 0 var(--pad) calc(clamp(22px, 4.6vh, 44px) + 54px); } /* clears the data bar */
.hero h1 { font-size: clamp(38px, 3.9vw, 68px); line-height: 1.04; }
.hero p { margin-top: 16px; font-size: clamp(20px, 1.75vw, 28px); line-height: 1.28; max-width: 30em; color: var(--ink); }

/* what Purser does, then the question the model answers */
.brief { position: relative; z-index: 1; min-height: 140vh; padding: clamp(88px, 11vh, 120px) var(--pad) 40px; text-align: center; }
.js .brief { margin-top: -50vh; }
.brief-copy { position: sticky; top: clamp(88px, 11vh, 120px); max-width: 1080px; margin: 0 auto; }
.intro { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.38; max-width: 44em; margin: 0 auto; color: var(--ink); text-wrap: pretty; }
.brief h2 { font-size: clamp(32px, 3.4vw, 54px); margin-top: clamp(24px, 4.4vh, 44px); }
.ask-sub { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.36; margin: 14px auto 0; max-width: 40em; color: var(--ink); text-wrap: balance; }

/* demo */
.hero, .beat, .end { position: relative; z-index: 1; }
.demo { position: relative; z-index: 1; min-height: 100vh; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 84px var(--pad) 18px; pointer-events: none; max-width: calc(100% - var(--panel) - 2 * var(--pad)); }
.js .tags { position: fixed; inset: 0; display: block; padding: 0; max-width: none; }
.act { position: relative; width: 236px; text-align: left; border: 0; background: var(--navy); padding: 1px; cursor: pointer; color: var(--ink); font: inherit; display: block; pointer-events: auto; clip-path: var(--cut-shape); }
.js .act { position: absolute; left: 0; top: 0; will-change: transform; }
.act::before { content: ""; position: absolute; inset: 1px; background: var(--paper); clip-path: var(--cut-shape); transition: background .18s; }
.act b, .act span { position: relative; display: block; padding: 0 14px; }
.act b { font: 500 15px/1.2 var(--body); padding-top: 11px; color: var(--navy); }
.act span { font: 400 10.5px/1.35 var(--mono); color: var(--mute); padding-top: 4px; padding-bottom: 11px; letter-spacing: -.01em; }
.act:hover::before { background: #f1f0eb; }
.act[aria-pressed=true], .act[aria-pressed=true]::before { background: var(--cobalt); }
.act[aria-pressed=true] b, .act[aria-pressed=true] span { color: #fff; }
.act:focus-visible { outline: 0; background: var(--cobalt); }
.act:focus-visible::before { inset: 3px; }
.act[aria-pressed=true]:focus-visible::before { background: var(--navy); }

.panel {
  position: absolute; z-index: 2; top: 88px; right: var(--pad); width: var(--panel); padding: 16px 20px 16px;
  pointer-events: auto; background: var(--edge); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); isolation: isolate;
}
.panel::before { content: ""; position: absolute; z-index: -1; inset: 1px; background: var(--paper); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); }
.panel-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.note { font: 400 10px/1.35 var(--mono); color: var(--mute); opacity: .8; margin-top: 8px; }
.steps { display: flex; align-items: center; gap: 8px; }
.step { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; background: none; border: 1px solid var(--line); color: var(--navy); font: 400 15px/1 var(--body); cursor: pointer; }
.step:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.ticks { display: flex; gap: 3px; }
.ticks i { width: 12px; height: 3px; background: var(--line); }
.ticks i.on { background: var(--navy); }
.scen { font: 600 15px/1.25 var(--body); color: var(--navy); margin-top: 14px; }
.play { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; background: none; border: 1px solid var(--navy); color: var(--navy); font: 500 10.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.play:hover { background: var(--navy); color: #fff; }
.play i { width: 8px; height: 9px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.auto.off .play i { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }

.fig dt { font: 400 11px var(--mono); color: var(--mute); white-space: nowrap; }
.net { margin-top: 6px; }
.netv { font: 200 min(9vw, 15.5vh, 136px)/.96 var(--disp); font-stretch: 74%; letter-spacing: -.025em; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; margin-top: 4px; }
.sum { font: 400 11.5px/1.4 var(--mono); color: var(--ink); margin-top: 6px; }
.open { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.open dd { font: 300 34px/1 var(--disp); font-stretch: 78%; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.open small { font-size: 18px; font-stretch: 96%; }
.up { color: var(--cobalt); }
.down { color: var(--verm); }
.flip { animation: flip .26s ease-out; }
@keyframes flip { from { opacity: 0; transform: translateY(5px); } }

.say { font: 400 clamp(16px, 1.2vw, 18px)/1.38 var(--body); color: var(--ink); margin-top: 12px; min-height: 6.9em; }
.rail { position: relative; min-width: 0; margin-top: 10px; padding-top: 16px; }
.rows li { position: relative; height: 34px; display: flex; justify-content: space-between; align-items: center; font: 400 11px var(--mono); border-bottom: 1px solid var(--line); }
.rn, .rd { position: relative; z-index: 2; flex: none; }
.rn { width: 84px; }
.rd { width: 50px; text-align: right; font-weight: 500; white-space: nowrap; }
.track, .axis { position: absolute; left: 84px; right: 50px; top: 0; bottom: 0; }
.bar, .risk { position: absolute; top: 7px; height: 20px; }
.bar { left: 0; background: #8d99ab; width: 0; }
.li-blocker .bar { background: var(--verm); }
.li-act .bar { background: var(--cobalt); }
.risk { background-image: repeating-linear-gradient(115deg, var(--verm) 0 1px, transparent 1px 4px); opacity: 0; }
.base { position: absolute; top: 3px; bottom: 3px; width: 1px; background: var(--navy); opacity: .55; }
.axis { pointer-events: none; z-index: 3; bottom: 20px; }
.clock, .openline { position: absolute; top: 0; bottom: 0; width: 1px; left: 0; }
.clock { background: var(--navy); transition: opacity .2s; }
.openline { background: var(--verm); }
.openline i { position: absolute; top: 0; left: 0; font: 500 10.5px/1 var(--mono); white-space: nowrap; font-style: normal; padding: 3px 5px; background: var(--verm); color: #fff; }
.odds { font: 400 11px var(--mono); color: var(--mute); margin-top: 6px; white-space: nowrap; }
.assume { font: 400 10.5px/1.4 var(--mono); color: var(--mute); margin-top: 8px; }
.assume span { display: block; }

/* context */
.beat { min-height: 160vh; padding: 46vh var(--pad) 40px; display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(20px, 3.4vh, 34px); }
.beat h2 { font-size: clamp(44px, 4.6vw, 68px); max-width: 9em; }
.also { font-size: 20px; line-height: 1.3; margin-top: -8px; max-width: 26em; }
.beat-copy { position: sticky; bottom: 40px; }
.beat-copy .also { margin-top: 12px; }
.stats { display: flex; flex-direction: column; gap: 18px; }
.js .stats { position: fixed; inset: 0; display: block; pointer-events: none; }
.js .stat { position: absolute; left: 0; top: 0; width: 268px; padding: 12px 16px 13px; background: var(--paper); border-left: 3px solid #e8431a; will-change: transform; }
.js .stat .num { font-size: 50px; }
.js .stat .lab { font-size: 14px; line-height: 1.25; margin-top: 4px; }
.stat { display: grid; width: max-content; max-width: 100%; }
.num { font: 200 clamp(46px, 4.4vw, 64px)/1 var(--disp); font-stretch: 78%; letter-spacing: -.02em; color: var(--navy); }
.lab { font-size: 15px; margin-top: 2px; }
cite { font: 400 11px var(--mono); font-style: normal; color: var(--mute); }

/* close: everything left of the plan */
.end { position: relative; padding: 104px var(--pad) 0; min-height: calc(100vh - 62px); display: flex; flex-direction: column; }
.free, .who { max-width: min(68vw, 980px); }
.big { font-size: clamp(40px, min(4.8vw, 9vh), 76px); line-height: 1; }
.fee { font: 300 clamp(20px, 1.8vw, 27px)/1.2 var(--disp); font-stretch: 96%; color: var(--navy); margin-top: 12px; max-width: 26em; text-wrap: balance; }
.io { font-size: 20px; line-height: 1.32; max-width: 33em; margin-top: 20px; color: var(--ink); }
.go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
.go span { font: 400 12px var(--mono); color: var(--ink); }
.cta { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font: 500 12.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 18px 34px 18px 22px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.cta:hover { background: var(--cobalt); }
.who { display: flex; gap: 20px 40px; margin-top: clamp(26px, 5vh, 52px); align-items: flex-start; }
.layer { font: 300 clamp(20px, 1.9vw, 28px)/1.16 var(--disp); font-stretch: 96%; color: var(--navy); flex: 1 1 46%; }
.team { flex: 1 1 54%; display: grid; gap: 8px; font-size: 14px; }
.team b { font-weight: 600; }
.vault { margin-top: auto; padding: 14px 0 0; border-top: 1px solid var(--navy); }
.vault h2 { font: 500 12px var(--mono); letter-spacing: 0; color: var(--navy); margin-bottom: 12px; }
.vault ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 20px; }
.vault b { display: block; font: 500 11px var(--mono); color: var(--navy); margin-bottom: 5px; }
.vault span { display: block; font-size: 13px; line-height: 1.35; }
.foot { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; padding: 14px var(--pad) 18px; font: 400 11.5px var(--mono); }

/* your data stays yours, on screen everywhere */
.dock {
  position: fixed; z-index: 6; bottom: 12px; left: calc(var(--pad) - 14px); right: calc(var(--pad) - 14px);
  min-height: 42px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; padding: 6px 16px; background: var(--edge); clip-path: var(--cut-shape); isolation: isolate;
  font: 400 11.5px var(--mono); color: var(--ink); transition: opacity .3s ease, transform .3s ease;
}
.dock::before { content: ""; position: absolute; z-index: -1; inset: 1px; background: var(--paper); clip-path: var(--cut-shape); }
.dock b { font: 600 14px var(--body); color: var(--navy); }
.dock span::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--cobalt); margin: 0 9px 1px 0; }
.dock a { margin-left: auto; color: var(--navy); font-weight: 500; text-underline-offset: 3px; }
.dock a:hover { color: var(--cobalt); }
.dock i { font-style: normal; }
.dock.away { opacity: 0; transform: translateY(10px); pointer-events: none; }
.foot img { height: 17px; width: auto; margin-right: auto; }
.foot a { text-decoration: none; padding: 6px 0; }
.foot a:hover { color: var(--cobalt); text-decoration: underline; }

@media (max-width: 1100px) and (min-width: 900px) {
  .vault ul { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 899px) {
  /* The model is a band pinned to the top of the screen over the hero and demo. Content slides under it and never crosses it. */
  .bigwrap { z-index: 4; height: 150px; pointer-events: none; }
  .bigmark { top: 66px; left: var(--pad); width: calc(100vw - 2 * var(--pad)); }
  .stage { position: sticky; inset: 0 0 auto; z-index: 2; height: 42vh; height: 42svh; min-height: 300px; background: var(--paper); border-bottom: 1px solid var(--navy); }
  .nav { top: 8px; height: 48px; gap: 0; left: 6px; right: 6px; padding-left: calc(var(--pad) - 6px); }
  .nav nav { display: none; }
  .nav-mark { margin-right: auto; }
  .nav-mark img { height: 20px; }
  .nav-cta { height: 38px; }
  .hero { height: auto; min-height: 0; display: block; padding: 18px var(--pad) 26px; }
  .hero h1 { font-size: 9.6vw; }
  .hero h1 br { display: none; }
  .hero p { font-size: 20px; margin-top: 12px; }
  .brief { min-height: 0; padding: 20px var(--pad) 34px; text-align: left; border-top: 1px solid var(--line); }
  .js .brief { margin-top: 0; }
  .brief-copy { position: static; }
  .intro { font-size: 18px; }
  .brief h2 { font-size: 8vw; margin-top: 26px; }
  .ask-sub { font-size: 18px; margin-top: 12px; text-wrap: pretty; }

  .demo { min-height: 0; display: flex; flex-direction: column; scroll-margin-top: 42vh; scroll-margin-top: 42svh; }
  .panel { display: contents; }
  .panel::before { content: none; }
  .panel-top { order: 0; background: var(--paper); align-items: center; border-top: 1px solid var(--navy); padding: 8px var(--pad) 4px; }
  .step { width: 38px; height: 34px; }
  .play { height: 34px; }
  .scen { order: 1; background: var(--paper); padding: 2px var(--pad) 0; margin: 0; }
  .fig { order: 1; position: relative; background: var(--paper); padding: 4px var(--pad) 8px; display: flex; justify-content: space-between; gap: 12px; }
  .net { margin-top: 0; }
  .netv { font-size: 62px; margin-top: 0; height: 58px; }
  .sum { font-size: 10.5px; margin-top: 4px; }
  .open { display: block; margin: 0; padding: 0; border: 0; text-align: right; }
  .open dd { height: 58px; display: flex; align-items: flex-end; justify-content: flex-end; gap: 5px; font-size: 38px; }
  .tags, .js .tags { display: block; position: static; order: 2; background: var(--paper); padding: 0 var(--pad); pointer-events: auto; max-width: none; }
  .act, .js .act { position: relative; width: 100%; margin: 0 0 5px; transform: none !important; left: auto; top: auto; }
  .act b { font-size: 14.5px; padding-top: 6px; }
  .act span { padding-top: 1px; padding-bottom: 6px; font-size: 10px; white-space: nowrap; }
  .act br { display: none; }
  .say { order: 3; background: var(--paper); padding: 6px var(--pad) 0; margin: 0; font-size: 16.5px; min-height: 5.6em; }
  .rail { order: 4; background: var(--paper); padding: 15px var(--pad) 0; margin: 0; }
  .rows li { height: 25px; }
  .rn { width: 80px; }
  .track, .axis { left: 80px; }
  .bar, .risk { top: 4px; height: 16px; }
  .base { top: 2px; bottom: 2px; }
  .axis { left: calc(var(--pad) + 80px); right: calc(var(--pad) + 50px); top: 0; bottom: 20px; }
  .odds { font-size: 10.5px; }
  .note { order: 6; background: var(--paper); padding: 2px var(--pad) 4px; margin: 0; }
  .assume { order: 5; background: var(--paper); padding: 4px var(--pad) 2px; margin: 0; font-size: 10px; }

  .beat { min-height: 0; padding: 56px var(--pad) 36px; justify-content: flex-start; gap: 18px; }
  .beat-copy { position: static; }
  .js .stats { position: static; display: flex; pointer-events: auto; }
  .js .stat { position: static; width: auto; padding: 0; background: none; border-left: 0; will-change: auto; }
  .js .stat .num { font-size: 46px; }
  .js .stat .lab { font-size: 15px; }
  .js .act { will-change: auto; }
  .beat h2 { font-size: 40px; }
  .also { font-size: 17px; }
  .stats { gap: 14px; }
  .stat { width: auto; }
  .num { font-size: 46px; }
  .end { display: block; padding: 88px var(--pad) 0; min-height: 0; }
  .free, .who { max-width: none; }
  .big { font-size: 10.4vw; }
  .fee { font-size: 20px; }
  .io { font-size: 18px; }
  .who { display: block; margin-top: 40px; }
  .team { margin-top: 18px; }
  .vault { margin-top: 36px; }
  .vault ul { grid-template-columns: 1fr 1fr; }
  .foot { padding-top: 22px; }
  .foot img { flex-basis: 100%; margin-bottom: 4px; object-fit: contain; object-position: left center; }
  .foot a[href^="mailto"] { flex-basis: 100%; }
  .foot { padding-bottom: 70px; }
  .dock { bottom: 8px; left: 6px; right: 6px; padding: 6px 12px; gap: 4px 14px; }
  .dock span, .dock i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #gl, .static, .act::before, .clock { transition: none; }
  .flip { animation: none; }
}

/* Without JavaScript nothing moves the model out of the text's way, so it stays in the hero. */
@media (min-width: 900px) {
  html:not(.js) .stage { position: absolute; top: 0; left: 0; right: 0; height: 100vh; }
}
