/* Chronoresearch company site — prototype.
   Apple's page: system type, black and white sheets, grey tiles, and blue
   kept for the things you can press. */
:root {
  --hull: #ffffff;
  --panel: #f5f5f7;
  --bay: #e8e8ed;
  --ink: #1d1d1f;
  --ink-muted: #6e6e73;
  --seam: #d2d2d7;
  --signal: #0071e3;
  --signal-hover: #0077ed;
  --link: #0066cc;
  --on-signal: #ffffff;
  --ok: #248a3d;
  --held: #b25000;
  --down: #d70015;
  --a1: #0071e3;
  --a2: #8944d9;
  --a3: #0f9d8f;
  --a4: #e8590c;

  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1080px;
  --gutter: 22px;
  --ease: cubic-bezier(.28, .11, .32, 1);
}
/* the black sheet: the whole site in dark mode, and the hero in either */
:root[data-theme="dark"], .night {
  --hull: #000000;
  --panel: #1d1d1f;
  --bay: #141415;
  --ink: #f5f5f7;
  --ink-muted: #86868b;
  --seam: #424245;
  --link: #2997ff;
  --ok: #30d158;
  --held: #ff9f0a;
  --down: #ff6961;
}
:root[data-theme="dark"] { color-scheme: dark; }
.night { background: var(--hull); color: var(--ink); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--hull); color: var(--ink); font: 400 17px/1.47 var(--font-body); letter-spacing: -.022em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--on-signal); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.label { margin: 0; font: 600 14px/1.3 var(--font-body); letter-spacing: -.01em; color: var(--ink-muted); }
.label b { font-weight: 600; color: var(--ink); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--hull) 80%, transparent); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 48px; }
.wordmark { font: 400 20px/1 var(--font-display); letter-spacing: -.022em; color: var(--ink-muted); white-space: nowrap; }
.wordmark b { font-weight: 600; color: var(--ink); }
.menu { display: flex; gap: 4px; margin-left: auto; font-size: 12px; letter-spacing: -.01em; }
.group { position: relative; }
.group button { height: 48px; padding: 0 12px; background: none; border: 0; color: var(--ink); font: inherit; letter-spacing: inherit; opacity: .8; cursor: default; }
.group:hover button, .group:focus-within button { opacity: 1; }
.drop { position: absolute; top: 100%; left: -8px; display: grid; gap: 2px; min-width: 220px; padding: 10px; background: var(--hull); border: 1px solid var(--seam); border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .12); font-size: 14px; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.group:hover .drop, .group:focus-within .drop { visibility: visible; opacity: 1; transform: none; }
.drop a { padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
.drop a:hover { background: var(--panel); }
.login { font-size: 12px; opacity: .8; white-space: nowrap; }
.login:hover { opacity: 1; }
.burger { display: none; }
.switches { display: flex; gap: 4px; }
.switches button { background: none; border: 0; padding: 6px 8px; color: var(--ink-muted); font: 400 12px var(--font-body); cursor: pointer; }
.switches button:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 22px; border-radius: 980px; font-size: 17px; white-space: nowrap; transition: background-color .2s var(--ease); }
.btn.solid { background: var(--signal); color: var(--on-signal); }
.btn.solid:hover { background: var(--signal-hover); }
.btn.ghost { padding-left: 8px; padding-right: 8px; color: var(--link); }
.btn.ghost:hover { text-decoration: underline; }
.top .btn { padding: 4px 11px; font-size: 12px; }

/* hero */
.hero { padding: 56px 0 72px; background:
  radial-gradient(60% 70% at 85% 10%, color-mix(in srgb, var(--a2) 16%, transparent), transparent 70%),
  radial-gradient(50% 60% at 10% 90%, color-mix(in srgb, var(--a3) 14%, transparent), transparent 70%),
  radial-gradient(40% 50% at 60% 100%, color-mix(in srgb, var(--a4) 10%, transparent), transparent 70%),
  var(--panel); }
.pitch { text-align: center; }
.hero h1 { margin: 18px 0 0; font: 600 clamp(38px, 5.6vw, 68px)/1.06 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.hero h1 em { display: block; padding-bottom: .16em; margin-bottom: -.16em; font-style: normal; background: linear-gradient(90deg, var(--a1), var(--a2) 55%, var(--a4)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 em .word { padding-bottom: .16em; margin-bottom: -.16em; background: inherit; -webkit-background-clip: text; background-clip: text; }
.hero .lede { margin: 20px auto 0; max-width: 33em; font: 400 clamp(18px, 1.7vw, 21px)/1.45 var(--font-display); color: var(--ink-muted); text-wrap: pretty; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px 6px 12px; background: var(--hull); border: 1px solid var(--seam); border-radius: 980px; font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { transform: scale(3.2); opacity: 0; } }

/* the agents: each has a colour and an initial, and they keep them everywhere on the site */
.av { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; font: 600 14px/1 var(--font-display); letter-spacing: 0; }
.av.sm { width: 22px; height: 22px; margin-right: 8px; font-size: 11px; vertical-align: -5px; }
.a1 { background: var(--a1); } .a2 { background: var(--a2); } .a3 { background: var(--a3); } .a4 { background: var(--a4); }

/* the terminal: instruments and their chart take the left three quarters, the
   book runs along the bottom, and the agents work in the column on the right */
.term { display: grid; grid-template-columns: 172px minmax(0, 1fr) 27%; grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  grid-template-areas: "bar bar bar" "wire wire desk" "watch chart desk" "book book desk" "note note note";
  aspect-ratio: 16 / 9; margin-top: 48px; background: var(--hull); color: var(--ink); border: 1px solid var(--seam); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .14); font-size: 12px; line-height: 1.4; letter-spacing: 0; text-align: left; overflow: hidden; }
.term > * { min-width: 0; min-height: 0; }
.term-bar { grid-area: bar; display: flex; align-items: center; gap: 12px; padding: 9px 14px; background: var(--panel); border-bottom: 1px solid var(--seam); }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--seam); }
.term-bar b { font-weight: 600; white-space: nowrap; }
.cmd { display: flex; align-items: center; gap: 6px; padding: 2px 8px; border: 1px solid var(--seam); border-radius: 6px; font: 400 11px var(--font-mono); color: var(--ink-muted); white-space: nowrap; }
.cmd i { padding: 0 5px; border-radius: 3px; background: var(--held); color: #fff; font-style: normal; }
.term-meta { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--ink-muted); white-space: nowrap; }
.term-meta time { font: 400 11px var(--font-mono); }
.wire { grid-area: wire; display: flex; align-items: center; gap: 10px; padding: 6px 14px; border-bottom: 1px solid var(--seam); white-space: nowrap; overflow: hidden; }
.wire b { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); }
.wire span { display: flex; align-items: center; gap: 8px; overflow: hidden; text-overflow: ellipsis; }
.wire span.new { animation: arrive .6s var(--ease); }
.wire em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--ok); }
@keyframes arrive { from { opacity: 0; transform: translateY(-8px); } }
.k { flex: none; padding: 1px 6px; border-radius: 4px; font-size: 10px; font-style: normal; font-weight: 600; color: #fff; }
.k.research { background: var(--a1); } .k.news { background: var(--a2); } .k.filing { background: var(--a3); } .k.macro { background: var(--a4); }
.up { color: var(--ok); } .down { color: var(--down); }
.watch { grid-area: watch; border-right: 1px solid var(--seam); overflow: hidden; }
.watch div { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 7px 12px; border-bottom: 1px solid var(--seam); }
.watch .sel { background: var(--panel); box-shadow: inset 2px 0 0 var(--signal); }
.watch span { grid-column: 1 / -1; font-size: 11px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.watch b { font: 500 12px var(--font-mono); font-variant-numeric: tabular-nums; }
.watch em { font: 400 11px var(--font-mono); font-style: normal; }
.watch b.flash { animation: flash .6s ease; }
@keyframes flash { from { background: color-mix(in srgb, var(--signal) 28%, transparent); } }
.kpane { grid-area: chart; display: flex; flex-direction: column; }
.khead { display: flex; align-items: baseline; gap: 10px; padding: 9px 14px 4px; white-space: nowrap; overflow: hidden; }
.khead b { font-size: 13px; font-weight: 600; }
.khead > span:first-of-type { font: 500 15px var(--font-mono); font-variant-numeric: tabular-nums; }
.khead em { font: 400 12px var(--font-mono); font-style: normal; }
.ohlc { font: 400 11px var(--font-mono); color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; }
.tf { display: flex; gap: 2px; margin-left: auto; font: 400 11px var(--font-mono); color: var(--ink-muted); }
.tf i { padding: 1px 7px; border-radius: 5px; font-style: normal; } .tf .on { background: var(--panel); color: var(--ink); }
#candles { flex: 1; display: block; width: 100%; min-height: 0; }
#candles text { font: 400 10px var(--font-mono); fill: var(--ink-muted); }
#candles .g { stroke: var(--seam); stroke-width: 1; }
#candles .cu { fill: var(--ok); stroke: var(--ok); } #candles .cd { fill: var(--down); stroke: var(--down); }
#candles .vol { opacity: .32; stroke: none; }
#candles .last { stroke: var(--signal); stroke-width: 1; stroke-dasharray: 3 3; }
#candles .tag { fill: var(--signal); } #candles .tag + text, #candles .flag + text { fill: #fff; }
#candles .flag { fill: var(--a1); } #candles .pin { stroke: var(--a1); stroke-width: 1; stroke-dasharray: 2 3; }
.term h4 { display: flex; justify-content: space-between; gap: 8px; margin: 0; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); }
.term h4 span { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; color: var(--held); }
.book { grid-area: book; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 0; padding: 10px 14px 12px; border-top: 1px solid var(--seam); }
.book h4 { grid-column: 1 / -1; }
.pos { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 8px; padding-right: 16px; }
.pos + .pos { padding-left: 16px; border-left: 1px solid var(--seam); }
.pos span { color: var(--ink-muted); }
.pos b { justify-self: end; font: 500 13px var(--font-mono); font-variant-numeric: tabular-nums; }
.pos i { grid-column: 1 / -1; position: relative; height: 5px; margin: 3px 0; border-radius: 3px; background: var(--bay); }
.pos u { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--ink-muted); transition: width 1.2s var(--ease), background-color .6s; }
.pos s { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--held); transition: opacity .4s; }
.pos em { grid-column: 1 / -1; font: 400 11px var(--font-mono); font-style: normal; color: var(--held); }
.book.done .pos u { background: var(--ok); } .book.done .pos s { opacity: 0; } .book.done .pos em, .book.done h4 span { color: var(--ok); }
.book.idle .pos s { opacity: 0; } .book.idle .pos em, .book.idle h4 span { color: var(--ink-muted); }
.desk { grid-area: desk; display: flex; flex-direction: column; padding: 10px 14px 12px; background: var(--panel); border-left: 1px solid var(--seam); overflow: hidden; }
.desk h4 { margin-bottom: 6px; }
.desk ol { margin: 0; padding: 0; list-style: none; }
#trace li { display: flex; gap: 2px; padding: 6px 0; transition: opacity .4s ease, transform .4s var(--ease); }
#trace li:not(.on) { opacity: 0; transform: translateY(6px); }
#trace p { margin: 0; color: var(--ink-muted); } #trace b { font-weight: 600; color: var(--ink); }
#trace .av.sm, .grant .av.sm { width: 18px; height: 18px; font-size: 10px; vertical-align: 0; }
#trace li.typing p::after { content: "▍"; margin-left: 2px; color: var(--link); animation: blink .8s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.grant { margin-top: auto; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--a4) 60%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--a4) 10%, var(--hull)); transition: opacity .5s ease, transform .5s var(--ease), border-color .4s, background-color .4s; }
.grant:not(.on) { opacity: 0; transform: translateY(8px); }
.grant p { margin: 0; } .grant-head { display: flex; align-items: center; font-weight: 600; }
.grant .grant-what { margin-top: 6px; color: var(--ink-muted); } .grant-what b { font: 500 11px var(--font-mono); color: var(--ink); white-space: nowrap; }
.grant .grant-acts { display: flex; gap: 8px; margin-top: 10px; }
.grant .grant-foot { margin-top: 8px; font-size: 11px; color: var(--ink-muted); }
.grant button { flex: 1; padding: 6px 10px; border: 1px solid var(--seam); border-radius: 980px; background: var(--hull); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.grant button[data-grant="yes"] { border-color: var(--signal); background: var(--signal); color: #fff; }
.grant button:hover { filter: brightness(1.08); }
.grant.yes { border-color: color-mix(in srgb, var(--ok) 60%, transparent); background: color-mix(in srgb, var(--ok) 10%, var(--hull)); }
.grant.no { border-color: var(--seam); background: var(--hull); }
.term-note { grid-area: note; margin: 0; padding: 5px 14px; border-top: 1px solid var(--seam); font-size: 10px; color: var(--ink-muted); text-align: right; }

.team { padding: 44px 0; border-bottom: 1px solid var(--seam); }
.team .label { margin-bottom: 20px; }
.agents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.agent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.agent div { display: grid; gap: 2px; }
.agent div span { color: var(--ink-muted); }
.cta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

/* the brief: the report and its claims on the left, what the agents found on the right */
.console { background: var(--panel); border-radius: 28px; overflow: hidden; text-align: left; }
.console-bar { display: flex; justify-content: space-between; gap: 16px; padding: 16px 28px; }
.console .label { font-size: 12px; }
.brief { display: grid; grid-template-columns: 1fr 1.35fr; gap: 12px; padding: 0 12px 12px; }
.brief > div { padding: 24px; border-radius: 18px; }
.brief h3 { margin: 0 0 12px; }
.doc { margin: 0; font: 600 21px/1.2 var(--font-display); }
.meta { margin: 4px 0 28px; font-size: 14px; color: var(--ink-muted); }
.node { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--seam); font-size: 14px; color: var(--ink-muted); }
.node.on { color: var(--ink); }
.node span { flex: none; font: 400 12px var(--font-mono); letter-spacing: 0; }
.node .ok { color: var(--ok); }
.gate { background: var(--hull); }
.findings { display: grid; grid-template-columns: 88px 1fr; margin: 0; font-size: 15px; }
.findings dt, .findings dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--seam); }
.findings dt { font-size: 13px; color: var(--ink-muted); }
.findings .rec { font-weight: 600; color: var(--ink); }

/* one sentence, one screen */
.statement { padding: 128px 0; text-align: center; }
.statement p { margin: 0 auto; max-width: 19em; font: 600 clamp(30px, 4.6vw, 56px)/1.12 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.statement p span.dim { color: var(--ink-muted); }

section.block { padding: 112px 0; }
.head { margin-bottom: 48px; }
.head h2 { margin: 8px 0 0; max-width: 14em; font: 600 clamp(34px, 5vw, 56px)/1.08 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }

.steps, .grid, .backers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps, .backers { grid-template-columns: repeat(4, 1fr); }
.steps article, .grid article { background: var(--panel); border-radius: 28px; padding: 32px; }
.steps article { min-height: 300px; display: flex; flex-direction: column; }
.steps article p:last-child { margin-top: auto; }
.steps h3, .grid h3, .door h3 { margin: 8px 0; font: 600 28px/1.14 var(--font-display); letter-spacing: -.01em; }
.steps h3 { font-size: 32px; }
.steps p:not(.label), .grid p, .door p:not(.label) { margin: 0; font-size: 17px; color: var(--ink-muted); }
.grid h3 { font-size: 24px; margin-bottom: 12px; }
.slot { display: grid; place-items: center; height: 128px; border: 1px dashed var(--seam); border-radius: 20px; font-size: 14px; color: var(--ink-muted); }
.backers img { display: block; max-width: 60%; max-height: 48px; margin: auto; }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door { display: flex; flex-direction: column; min-height: 420px; padding: 44px; background: var(--panel); border-radius: 28px; transition: transform .4s var(--ease); }
.door:hover { transform: scale(1.012); }
.door h3 { font-size: clamp(28px, 3.2vw, 40px); margin: 12px 0; }
.door .go { margin-top: auto; padding-top: 32px; color: var(--link); }
.door:hover .go { text-decoration: underline; }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.figures strong { display: block; font: 600 clamp(44px, 6vw, 72px)/1.05 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.todo { color: var(--seam); }

.close { padding: 136px 0; background: var(--panel); text-align: center; }
.close h2 { margin: 0 auto; max-width: 13em; font: 600 clamp(36px, 5.6vw, 64px)/1.08 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }

/* a feature: the words on one side, a piece of the product on the other */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 72px; }
.feature:nth-of-type(even) .shot { order: -1; }
.feature h3 { margin: 10px 0 14px; font: 600 clamp(26px, 3vw, 36px)/1.12 var(--font-display); letter-spacing: -.012em; text-wrap: balance; }
.feature p:not(.label) { margin: 0; color: var(--ink-muted); }
.feature ul { margin: 20px 0 0; padding: 0; list-style: none; font-size: 15px; }
.feature li { padding: 10px 0 10px 26px; border-top: 1px solid var(--seam); background: linear-gradient(var(--signal), var(--signal)) 2px 50% / 10px 2px no-repeat; }
.shot { padding: 36px; background: var(--panel); border-radius: 28px; }
.win { background: var(--hull); border-radius: 16px; box-shadow: 0 12px 32px rgba(0, 0, 0, .07); overflow: hidden; font-size: 14px; }
.win-bar { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--seam); font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.win-bar span:first-child { color: var(--ink); }
.win-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px 20px; }
.page { margin: 0; padding: 20px 20px 4px; font: 400 15px/1.75 Georgia, "Times New Roman", serif; letter-spacing: 0; color: var(--ink); }
.page mark { padding: 2px 0; background: color-mix(in srgb, var(--signal) 18%, transparent); color: inherit; box-shadow: 0 2px 0 var(--signal); }
.chip { padding: 5px 12px; border: 1px solid var(--seam); border-radius: 980px; font-size: 12px; white-space: nowrap; }
.chip.quiet { border-color: transparent; color: var(--ink-muted); }
.chip.ok { border-color: transparent; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.chip.warn { border-color: transparent; background: color-mix(in srgb, var(--held) 14%, transparent); color: var(--held); white-space: normal; }
.chip.solid { border-color: var(--signal); background: var(--signal); color: var(--on-signal); }
.chart { display: block; width: 100%; height: auto; padding: 12px 20px 0; }
.chart path { fill: none; vector-effect: non-scaling-stroke; }
.chart .rule path { stroke: var(--seam); stroke-width: 1; }
.chart .mark path { stroke: var(--ink-muted); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .line { stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.chart .hit { fill: var(--ok); } .chart .miss { fill: var(--held); }
.chart circle { stroke: var(--hull); stroke-width: 3; vector-effect: non-scaling-stroke; }
.meter, .alloc { display: grid; grid-template-columns: 84px 1fr; gap: 6px 16px; align-items: center; padding: 16px 20px; }
.meter + .meter, .alloc + .alloc { border-top: 1px solid var(--seam); }
.meter b, .alloc b { font-weight: 600; }
.meter i { height: 8px; border-radius: 4px; background: linear-gradient(var(--signal), var(--signal)) 0 / var(--v) 100% no-repeat var(--bay); }
.meter span { grid-column: 2; font-size: 13px; color: var(--ink-muted); }
.alloc { grid-template-columns: 84px 1fr 92px; }
.alloc i { height: 16px; background: linear-gradient(var(--seam), var(--seam)) 0 0 / var(--a) 6px no-repeat, linear-gradient(var(--signal), var(--signal)) 0 100% / var(--b) 6px no-repeat; }
.alloc span { text-align: right; font: 400 12px var(--font-mono); letter-spacing: 0; color: var(--ink-muted); }

footer { background: var(--panel); padding: 56px 0 32px; font-size: 13px; line-height: 1.5; letter-spacing: -.01em; color: var(--ink-muted); }
.foot-cols { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 24px; padding-bottom: 40px; }
.foot-cols p + p { margin-top: 10px; }
.foot-cols .logo { display: block; width: 200px; max-width: 100%; height: auto; color: var(--ink); margin-bottom: 16px; }
.foot-cols nav { display: grid; gap: 10px; align-content: start; }
.foot-cols b { font-weight: 600; color: var(--ink); }
.foot-cols a:hover { color: var(--ink); }
.foot-legal { display: grid; grid-template-columns: 1fr 3fr auto; gap: 32px; padding-top: 20px; border-top: 1px solid var(--seam); font-size: 12px; }
footer p { margin: 0; }
.legal-links { display: flex; gap: 16px; }
.legal-links a:hover, .foot-cols p a:hover { color: var(--ink); }

/* news */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; padding: 16px 16px 24px; background: var(--panel); border-radius: 28px; transition: transform .4s var(--ease); }
.card:hover { transform: scale(1.012); }
.card > :not(.thumb) { margin-left: 12px; margin-right: 12px; }
.thumb { display: block; width: 100%; aspect-ratio: 3 / 1.4; margin-bottom: 20px; background: var(--hull); border-radius: 16px; }
.thumb path { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-top: 8px; margin-bottom: 8px; font: 600 21px/1.2 var(--font-display); letter-spacing: -.01em; }
.card p:not(.label) { margin-top: 0; margin-bottom: 0; font-size: 15px; color: var(--ink-muted); }
.card .go { margin-top: auto; padding-top: 20px; font-size: 15px; color: var(--link); }
.card:hover .go { text-decoration: underline; }
.head.row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }

/* inner pages */
.block.first { padding-top: 96px; min-height: 62vh; }
.block.first h1 { margin: 8px 0 0; max-width: 16em; font: 600 clamp(36px, 5.4vw, 64px)/1.06 var(--font-display); letter-spacing: -.018em; text-wrap: balance; }
.block.first .lede { margin: 20px 0 0; max-width: 32em; font: 400 clamp(19px, 2vw, 24px)/1.4 var(--font-display); color: var(--ink-muted); }
.holding .cta { justify-content: flex-start; }
.soon { margin: 40px 0 0; padding-top: 20px; max-width: 40em; border-top: 1px solid var(--seam); color: var(--ink-muted); }
.prose { max-width: 760px; }
.prose > p:not(.label):not(.lede) { margin: 24px 0 0; font-size: 19px; line-height: 1.6; }
.prose .lede { margin-bottom: 40px; }
.prose .btn { margin-top: 24px; }
.prose .label a:hover { color: var(--ink); }

.rise { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rise.in { opacity: 1; transform: none; }

/* Motion. Everything below is switched on by an attribute or class that site.js puts on the root. */
/* the light and dark switch: the new theme is clipped in over the old one */
html[data-vt="drop"]::view-transition-old(root), html[data-vt="drop"]::view-transition-new(root),
html[data-vt="button"]::view-transition-old(root), html[data-vt="button"]::view-transition-new(root),
html[data-vt="wipe"]::view-transition-old(root), html[data-vt="wipe"]::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html[data-vt="fade"]::view-transition-old(root), html[data-vt="fade"]::view-transition-new(root) { animation-duration: .5s; }

/* sections arriving */
html[data-fx-reveal="none"] .rise { opacity: 1; transform: none; transition: none; }
html[data-fx-reveal="blur"] .rise { transform: translateY(12px); filter: blur(14px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
html[data-fx-reveal="blur"] .rise.in { transform: none; filter: none; }
html[data-fx-reveal="scale"] .rise { transform: scale(.94); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html[data-fx-reveal="scale"] .rise.in { transform: none; }
html[data-fx-reveal="curtain"] .rise { opacity: 1; transform: translateY(32px); clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease), transform 1s var(--ease); }
html[data-fx-reveal="curtain"] .rise.in { transform: none; clip-path: inset(-40px); }
html[data-fx-reveal="stagger"] .rise { opacity: 1; transform: none; }
html[data-fx-reveal="stagger"] .rise > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html[data-fx-reveal="stagger"] .rise.in > * { opacity: 1; transform: none; }
html[data-fx-reveal="stagger"] .rise > :nth-child(2) { transition-delay: .12s; }
html[data-fx-reveal="stagger"] .rise > :nth-child(3) { transition-delay: .24s; }
html[data-fx-reveal="stagger"] .rise > :nth-child(4) { transition-delay: .36s; }

/* a highlighter passes over each heading and leaves the words behind it */
html[data-fx-reveal="mark"] .rise { transform: none; transition: opacity .4s ease; }
html[data-fx-reveal="mark"] .mk { -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(color-mix(in srgb, var(--signal) 30%, transparent), color-mix(in srgb, var(--signal) 30%, transparent)) no-repeat 0 50% / 0% 100%; }
html[data-fx-reveal="mark"] .rise:not(.in) .mk { color: transparent; }
html[data-fx-reveal="mark"] .rise.in .mk { animation: mark 1.2s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + .15s); }
@keyframes mark {
  0% { color: transparent; background-size: 0% 100%; background-position: 0 50%; }
  45% { color: transparent; background-size: 100% 100%; background-position: 0 50%; }
  55% { color: inherit; background-size: 100% 100%; background-position: 100% 50%; }
  100% { color: inherit; background-size: 0% 100%; background-position: 100% 50%; }
}
/* every line starts blacked out, like a report nobody has read yet, and clears in order */
html[data-fx-reveal="redact"] .rise { opacity: 1; transform: none; }
html[data-fx-reveal="redact"] .mk { -webkit-box-decoration-break: clone; box-decoration-break: clone; border-radius: 4px; transition: color .5s ease, background-color .7s ease; transition-delay: calc(var(--d, 0) * 70ms + .15s); }
html[data-fx-reveal="redact"] .rise:not(.in) .mk, html[data-fx-reveal="redact"] .rise:not(.in) .mk * { color: transparent; background-color: color-mix(in srgb, var(--ink) 72%, transparent); transition: none; }
html[data-fx-reveal="redact"] .rise :is(.shot, .thumb, .go, .brief, .btn) { transition: opacity .8s ease .3s; }
html[data-fx-reveal="redact"] .rise:not(.in) :is(.shot, .thumb, .go, .brief, .btn) { opacity: 0; transition: none; }

/* extras */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; }
.top { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.top.stuck { box-shadow: 0 1px 0 var(--seam); }
.top.away { transform: translateY(-100%); }
html.fx-headline .hero h1 .word { display: inline-block; animation: word-in .9s var(--ease) both; }
@keyframes word-in { from { opacity: 0; transform: translateY(.5em); filter: blur(8px); } }
html.fx-words .statement .word { transition: opacity .35s linear; }
html.fx-words .statement .dim { color: inherit; }
html.fx-draw .chart .line { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
html.fx-draw .rise:not(.in) .chart .line { stroke-dashoffset: 1; transition: none; }
html.fx-draw .chart circle { transition: opacity .4s ease 1.6s; }
html.fx-draw .rise:not(.in) .chart circle { opacity: 0; transition: none; }
html.fx-draw .meter i, html.fx-draw .alloc i { transition: background-size 1.2s var(--ease) .3s; }
html.fx-draw .rise:not(.in) .meter i { background-size: 0 100%; transition: none; }
html.fx-draw .rise:not(.in) .alloc i { background-size: 0 6px, 0 6px; transition: none; }
html.fx-parallax .shot .win { will-change: transform; }
html.fx-scrub .chart .line { stroke-dasharray: 1; transition: none; }
html.fx-scrub .chart circle { transition: opacity .2s ease; }
html.fx-scrub .meter i { background-size: calc(var(--v) * var(--p, 1)) 100%; transition: none; }
html.fx-scrub .alloc i { background-size: calc(var(--a) * var(--p, 1)) 6px, calc(var(--b) * var(--p, 1)) 6px; transition: none; }
.feature:nth-of-type(2) { --n: 1; } .feature:nth-of-type(3) { --n: 2; } .feature:nth-of-type(4) { --n: 3; }
@media (min-width: 861px) and (min-height: 700px) {
  html.fx-stack .feature { position: sticky; top: calc(72px + var(--n, 0) * 18px); padding: 40px; background: var(--hull); border: 1px solid var(--seam); border-radius: 32px; box-shadow: 0 -16px 40px rgba(0, 0, 0, .06); transform-origin: 50% 0; }
  html.fx-stack .feature + .feature { margin-top: 48px; }
}
.axis { display: none; }
@media (min-width: 1240px) {
  html.fx-axis .axis { display: block; position: fixed; left: 16px; top: 0; bottom: 0; z-index: 5; width: 44px; pointer-events: none; color: var(--ink-muted); }
  .axis i { position: absolute; inset: 0 auto 0 0; width: 12px; opacity: .55;
    background: linear-gradient(to bottom, currentColor 1px, transparent 1px) 0 0 / 12px 60px repeat-y, linear-gradient(to bottom, currentColor 1px, transparent 1px) 0 0 / 6px 12px repeat-y;
    -webkit-mask: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent); }
  .axis b { position: absolute; left: 0; top: 50%; width: 20px; height: 2px; margin-top: -1px; background: var(--signal); }
  .axis span { position: absolute; left: 26px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); font: 400 10px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
}
html.fx-tilt .card, html.fx-tilt .door { transition: transform .15s linear; }

@media (max-width: 860px) {
  .menu, .login { display: none; }
  .top .wrap { gap: 12px; }
  .switches { margin-left: auto; }
  .burger { display: block; font-size: 12px; }
  .burger summary { padding: 6px 4px; list-style: none; cursor: pointer; }
  .burger summary::-webkit-details-marker { display: none; }
  .sheet { position: absolute; top: 48px; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; max-height: calc(100vh - 48px); overflow: auto; padding: 24px var(--gutter) 32px; background: var(--hull); border-bottom: 1px solid var(--seam); font-size: 15px; }
  .sheet div { display: grid; gap: 10px; align-content: start; }
  .sheet b { font-size: 12px; font-weight: 600; color: var(--ink-muted); }
  .cards { grid-template-columns: 1fr; }
  .head.row { display: block; }
  .head.row .btn { margin-top: 12px; padding-left: 0; }
  .legal-links { flex-wrap: wrap; }
  .wordmark { font-size: 18px; }
  .hero { padding: 48px 0 48px; }
  .agents { grid-template-columns: 1fr 1fr; }
  .term { aspect-ratio: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "bar" "wire" "chart" "watch" "book" "desk" "note"; margin-top: 36px; }
  .cmd, .term-meta time, .ohlc { display: none; }
  #candles { flex: none; height: 230px; }
  .watch { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-top: 1px solid var(--seam); }
  .watch div:nth-child(n+5) { display: none; }
  .watch div:nth-child(odd) { border-right: 1px solid var(--seam); }
  .book { grid-template-columns: 1fr 1fr; gap: 12px 0; }
  .pos:nth-of-type(3) { padding-left: 0; border-left: 0; }
  .desk { border-left: 0; border-top: 1px solid var(--seam); }
  .grant { margin-top: 10px; }
  .console { border-radius: 22px; }
  .brief, .steps, .grid, .doors, .feature, .foot-legal { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > div { grid-column: 1 / -1; }
  .feature { gap: 28px; }
  .feature:nth-of-type(even) .shot { order: 0; }
  .shot { padding: 16px; border-radius: 22px; }
  .backers { grid-template-columns: 1fr 1fr; }
  .steps article { min-height: 0; }
  .steps article p:last-child { margin-top: 0; }
  .door { min-height: 320px; padding: 32px; }
  .figures { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .statement { padding: 104px 0; }
  section.block { padding: 72px 0; }
  .close { padding: 88px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .door, .card, .drop { transition: none; }
  .pulse::after, .wire span.new, #trace li.typing p::after, .watch b.flash { animation: none; }
  html { scroll-behavior: auto; }
}
@media (min-width: 861px) and (max-width: 1040px) {
  .foot-cols { grid-template-columns: repeat(5, 1fr); }
  .foot-cols > div { grid-column: 1 / -1; }
  .group button { padding: 0 8px; }
}
