/* Keygraph brand tokens, generated from tokens.json (keygraph.io values). Fonts load from ./fonts/
   Contrast ratios in these comments are the site's original notes; references/brand-book.md has the measured values. */
:root, [data-theme="dark"] {
  --canvas: #0b100f; /* The ground of every frame: page, video, poster, slide. Site CSS: --ramp-1 / --ramp-2. Carries ink (17.2:1), text-sec (6.7:1), text-tri (5.8:1) and orange-text (5.6:1). */
  --panel: #191e1d; /* Raised panels, bands, cards, terminal and the left face of isometric blocks. Site CSS: --panel / --ramp-4. Carries ink (16.3:1), text-sec (6.3:1), text-tri (5.5:1), orange-text (5.3:1). */
  --panel-2: #1c1f1e; /* Alternate card step where two panels sit side by side. Site CSS: --panel-2 / --bg-alt. */
  --control: #202526; /* Secondary pill fill and the top face of isometric blocks. Site CSS: --btn2-bg. Carries ink (14.5:1) and text-sec (5.6:1); never text-tri. */
  --control-hover: #2a2f30; /* Secondary pill on hover in UI only. Site CSS: --btn2-bg-hover. */
  --window: #050b0e; /* Background of product UI windows (the app mock in the hero). Use only inside a product window. */
  --chrome-dot: #3a3f3e; /* The three window-chrome dots on product windows. Site CSS: --ramp-5. Decorative only, never text. */
  --text-tri: #858886; /* Tertiary copy: mono labels, step numbers, captions. 5.8:1 on canvas, 5.5:1 on panel. Never on control. */
  --text-sec: #959490; /* Secondary copy: subheads, body under a headline, the dimmed part of a statement. 6.7:1 on canvas, 6.3:1 on panel, 5.6:1 on control. */
  --ramp-8: #c4c5c6; /* Light grey step between text-sec and title. Rare; use for a mid-emphasis line on canvas. */
  --title: #dedddd; /* Section titles where pure ink is too bright on a busy graphic. Site CSS: --ramp-9. */
  --ink: #f3f3f3; /* Primary type, the wordmark, headlines, callout titles, and the bright half of a statement. Site CSS: --ramp-10. 17.2:1 on canvas. */
  --white: #ffffff; /* Hero and closing headlines, and the label on an orange pill hover (4.3:1 on orange, large or bold type only). Site CSS: --ramp-11. */
  --orange: #d05121; /* The one accent. Fills, plates, dot fields, streams, spines, rules and the hover fill of every pill. 3.0:1 on canvas as a graphic, so never small text. Site CSS keeps the legacy names --yellow and --accent. */
  --orange-text: #dc6a3f; /* The orange as type: links, mono caps links, highlighted words, small icons. 5.6:1 on canvas, 5.3:1 on panel, 4.7:1 on control. Site CSS: --accent-text. */
  --lit: #2a1c16; /* Warm lit fill for the single highlighted block, cell or plate stack in a composition. Pair with an orange rim at 40%. */
  --oat: #ddcbb6; /* The light card surface (proof panels, chips). Carries canvas ink at 13.3:1. Site CSS keeps the legacy names --teal, --mint and --yellow-lt. */
  --button: #f0eae9; /* Primary pill fill with canvas ink (17.2:1). On hover the pill turns orange with a white label. Site CSS: --btn-bg. */
  --sky: #519cbb; /* Text selection in UI only. Never in graphics, video or print. */
  --hairline: rgba(243, 243, 243, 0.13); /* Lattice lines, title bands, registration crosses and rules. Site CSS: --hud-hair / --hud-mark. */
  --line: rgba(243, 243, 243, 0.24); /* A rule or connector that must read at a glance. Site CSS: --hud-line. */
  --callout-rule: rgba(243, 243, 243, 0.34); /* The 1px dashed frame around a callout. */
  --callout-fill: rgba(11, 16, 15, 0.78); /* Callout background, so a callout can sit over a dot field and stay readable. */
  --iso-line: rgba(243, 243, 243, 0.55); /* The 1.2px outline of an isometric block (ghost blocks: 24%, dashed 4 3; the lit block: orange). */
  --iso-icon: rgba(243, 243, 243, 0.78); /* Line icons on a block face, 1.5px, round caps (the lit block: orange-text). */
  --iso-rim: rgba(243, 243, 243, 0.18); /* The 1px inset rim on isometric block tops. */
  --iso-rim-lit: rgba(208, 81, 33, 0.4); /* The rim on the lit isometric block. */
  --layer-edge: rgba(243, 243, 243, 0.09); /* Edges of the dot-map layers. */
  --field-glow: #ee8456; /* Pointer highlight on plate-field squares, at 6% to 36% opacity in six steps. Never a fill or text colour. */
}
:root {
  --gutter: 24px; /* Side padding of every layout at desktop; the inner padding of title bands. */
  --gutter-phone: 16px; /* Side padding under 600px wide. */
  --band-y: 18px; /* Vertical padding of a lattice title band. */
  --callout-pad: 18px; /* Callout padding (18 top, 20 sides, 19 bottom). */
  --cell-x: 30px; /* Lattice cell side and top padding (bottom 34px). */
  --cell-y-foot: 34px; /* Lattice cell bottom padding. */
  --stack: 48px; /* Gap between a lattice and the block that follows it. */
  --section-tight: 76px; /* Vertical padding of a section at tablet width. */
  --plate-y: 92px; /* Top padding of the closing plate (bottom 96px). */
  --section: 104px; /* Vertical padding between sections at desktop. */
  --radius-lattice: 0; /* Lattices, cells, callouts, the terminal: square corners. */
  --radius-control: 8px; /* Small UI blocks such as nav hover blocks and chips. */
  --radius-window: 12px; /* Product UI windows (top corners). */
  --radius-panel: 18px; /* Rounded panels that hold a product screen or a drawing. */
  --radius-plate: 20px; /* Orange plates when they sit inset rather than full bleed. */
  --radius-pill: 999px; /* Every button and pill, including the star-count pill. */
  --dur-hover: 0.15s; /* Pill fill change and card lift on hover. */
  --dur-state: 0.2s; /* Drawing lift (translateY -4 to -8px) on hover. */
  --dur-rise: 0.45s; /* Isometric blocks rising 7px (staggered 60ms per block) and plate stacks; 0.5s for plates. */
  --dur-shake: 0.55s; /* A crossed-out mark shaking, after a 0.1 to 0.15s delay. */
  --dur-pop: 0.6s; /* A tick or proven mark popping, 0.1 to 0.2s delay, 0.08s stagger. */
  --dur-march: 0.85s; /* One cycle of a marching dashed wire (0.8 to 1.2s). */
  --dur-stream: 1.3s; /* One 10-unit step of a dot stream. */
  --dur-stream-thin: 3.4s; /* One 26-unit step of a sparse dot stream. */
  --dur-stream-hot: 0.7s; /* One 7-unit step of the dense orange stream. */
  --dur-nudge: 0.9s; /* Arrow nudge loop. */
  --dur-bob: 1s; /* Waiting-state bob loop. */
  --dur-spin: 1.1s; /* The running indicator, the only thing that spins. */
  --dur-spine: 520ms; /* The pulse bead travelling down the spine to the next layer. */
  --dur-ripple: 1500ms; /* The ripple spreading across one dot-map layer. */
  --dur-rest: 1100ms; /* Rest after the third layer before the pulse repeats (full cycle 7.16s). */
  --ease-rise: cubic-bezier(0.3, 0.7, 0.3, 1); /* Rises, lifts and text entering. */
  --ease-pop: cubic-bezier(0.3, 1.6, 0.4, 1); /* Pops: the one overshoot in the system. */
  --ease-sway: ease-in-out; /* Shake, nudge and bob. */
  --ease-march: linear; /* Marching dashes and the spinner. */
  --ease-pulse: cubic-bezier(0.45, 0, 0.55, 1); /* The spine pulse (easeInOutQuad in the site's canvas code). */
  --iso-slope: 0.25; /* Flat 4:1 isometric: x runs (1, 0.25), y runs (-1, 0.25), z straight up. */
  --dot-pitch: 7.4; /* Dot-map spacing in drawing units. */
  --dot-radius: 1.45; /* Dot-map dot radius; lit dots x1.15, unlit x0.9. */
  --field-square: 4px; /* Plate-field square size. */
  --field-gap: 3px; /* Gap between plate-field squares (pitch 7px). */
  --field-warp: 0.45; /* CRT barrel warp strength on the plate field. */
  --cross-size: 11px; /* Registration crosses at lattice intersections, 2px bars, hairline tone. */
  --wire-dash: 5 5; /* Dashed wires between isometric blocks, 1.3px, ink at 32% (16% for a wire leaving the boundary). */
  --perim-dash: 7 6; /* The dashed boundary drawn around a group of blocks (your cloud account), 1.3px, ink at 30%. */
  --stream-dot: 0 10; /* Dot streams: 3.2px round-cap dots every 10 units, ink at 46%. */
  --stream-dot-thin: 0 26; /* A sparse dot stream (one module on its own), ink at 30%. */
  --stream-dot-hot: 0 7; /* A dense orange dot stream (proven findings leaving the queue). */
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --text-display-xl: 700 62px/66px var(--font-sans); /* Hero headline and big section openers (index H1, the one-platform title). White or ink on canvas. */
  --text-display-l: 700 52px/55px var(--font-sans); /* Closing statements over the orange plate field. */
  --text-display-m: 700 50px/53px var(--font-sans); /* Product names as page or video titles. */
  --text-statement: 500 38px/46px var(--font-sans); /* Two-tone statements: most of the sentence in text-sec, the key line in ink. */
  --text-figure: 700 34px/34px var(--font-sans); /* Prices and big numbers. */
  --text-wordmark: 700 34px/34px var(--font-sans); /* The wordmark set live (footer size). Prefer the outlined SVG files for graphics. */
  --text-title-l: 700 22px/25px var(--font-sans); /* Plan and card names. */
  --text-title: 700 20px/25px var(--font-sans); /* Section titles in a lattice band, panel titles. */
  --text-callout-title: 700 18px/27px var(--font-sans); /* The bold first line of a callout. */
  --text-heading: 700 16px/1.4 var(--font-sans); /* Cell titles inside a lattice. */
  --text-lede: 400 19px/1.55 var(--font-sans); /* The line under a display headline, in text-sec. */
  --text-lede-s: 400 18px/1.6 var(--font-sans); /* Hero subline, in text-sec. */
  --text-body: 400 15.5px/1.65 var(--font-sans); /* Paragraphs under a section title, in text-sec. Keep lines under 65 characters. */
  --text-body-s: 400 14px/1.6 var(--font-sans); /* Cell and card copy. */
  --text-mono: 400 13px/1.6 var(--font-mono); /* Cell subs, phase names, step numbers (01, 02). Sentence case, parts split by a spaced middle dot. */
  --text-code: 400 12.5px/1.85 var(--font-mono); /* Terminal and code. ink at 90% on panel. */
  --text-label: 600 11px/1.5 var(--font-mono); /* Uppercase kind labels over a figure, in text-tri. */
  --text-label-s: 600 10.5px/1.4 var(--font-mono); /* Uppercase column heads and graphic annotations (ONE REPORT, THE FULL RUN), in text-tri or orange-text. */
  --text-link-caps: 700 11px/1.4 var(--font-mono); /* Uppercase links and calls to action inside cells, in orange-text. */
}
.display-xl {
  font-family: var(--font-sans);
  font-size: 62px;
  line-height: 66px;
  font-weight: 700;
  letter-spacing: -1.86px;
}
.display-l {
  font-family: var(--font-sans);
  font-size: 52px;
  line-height: 55px;
  font-weight: 700;
  letter-spacing: -1.56px;
}
.display-m {
  font-family: var(--font-sans);
  font-size: 50px;
  line-height: 53px;
  font-weight: 700;
  letter-spacing: -1.5px;
}
.statement {
  font-family: var(--font-sans);
  font-size: 38px;
  line-height: 46px;
  font-weight: 500;
  letter-spacing: -0.76px;
}
.figure {
  font-family: var(--font-sans);
  font-size: 34px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: -0.68px;
}
.wordmark {
  font-family: var(--font-sans);
  font-size: 34px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: -0.85px;
}
.title-l {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 25px;
  font-weight: 700;
  letter-spacing: -0.44px;
}
.title {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.callout-title {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 27px;
  font-weight: 700;
  letter-spacing: -0.18px;
}
.heading {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.16px;
}
.lede {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0;
}
.lede-s {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0;
}
.body-s {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.52px;
}
.code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: 0;
}
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 1.98px;
}
.label-s {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 2.1px;
}
.link-caps {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 1.32px;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
