@import url("../fonts/faces.css");

/* ==========================================================================
   PROTÉGÉ
   Design system ported from firecrawl/open-scouts DESIGN_SYSTEM.md
   heat-100 #fa5d19 is the only accent. Pixel radii. Suisse Intl is licensed,
   so Inter (the system's documented fallback) carries the sans role.
   ========================================================================== */

:root {
  /* heat scale */
  --heat-100: #fa5d19;
  --heat-88: rgba(250, 93, 25, .88);
  --heat-56: rgba(250, 93, 25, .56);
  --heat-24: rgba(250, 93, 25, .24);
  --heat-12: rgba(250, 93, 25, .12);
  --heat-6: rgba(250, 93, 25, .06);
  /* heat-100 is 3.14:1 on white, so it carries fills, strokes, borders and
     display numerals only. Anything at text size uses heat-text (4.59:1). */
  --heat-text: #cc4a0e;
  --heat-text-hover: #b03f0b;

  /* accents */
  --accent-black: #262626;
  --accent-white: #ffffff;
  --accent-forest: #42c366;
  --accent-amethyst: #9061ff;

  /* black alpha ramp */
  --black-a88: rgba(38, 38, 38, .88);
  --black-a72: rgba(38, 38, 38, .72);
  --black-a56: rgba(38, 38, 38, .56);
  --black-a40: rgba(38, 38, 38, .40);
  --black-a24: rgba(38, 38, 38, .24);
  --black-a12: rgba(38, 38, 38, .12);
  --black-a8: rgba(38, 38, 38, .08);
  --black-a4: rgba(38, 38, 38, .04);

  /* text ramp, contrast-checked on #ffffff and #fbfaf9
     --text-2 #636363 = 6.0:1 · --text-3 #6f6f6f = 5.2:1 */
  --text-2: rgba(38, 38, 38, .72);
  --text-3: rgba(38, 38, 38, .66);

  /* white alpha ramp, dark band only */
  --white-a72: rgba(255, 255, 255, .72);
  --white-a56: rgba(255, 255, 255, .56);
  --white-a40: rgba(255, 255, 255, .40);
  --white-a12: rgba(255, 255, 255, .12);
  --white-a8: rgba(255, 255, 255, .08);

  /* ui */
  --border-faint: rgba(38, 38, 38, .07);
  --border-muted: rgba(38, 38, 38, .13);
  --border-loud: rgba(38, 38, 38, .26);
  --border-faint-d: rgba(255, 255, 255, .09);
  --border-muted-d: rgba(255, 255, 255, .16);
  --bg-base: #ffffff;
  --bg-lighter: #fbfaf9;
  --bg-dark: #1e2327;

  /* type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* layout */
  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 48px);
  --nav-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------------------
   RESET
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  /* clip, not hidden: hidden on the root would make it a scroll container */
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--bg-base);
  color: var(--accent-black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 24px;
  font-feature-settings: "cv05" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }
img, svg { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--heat-100);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--heat-24); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent-black);
  color: var(--accent-white);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   TYPE SCALE (Firecrawl semantic scale, verbatim)
   -------------------------------------------------------------------------- */

.t-h1 { font-size: 60px; line-height: 64px; letter-spacing: -.3px; font-weight: 700; }
.t-h2 { font-size: 52px; line-height: 56px; letter-spacing: -.52px; font-weight: 700; }
.t-h3 { font-size: 40px; line-height: 44px; letter-spacing: -.4px; font-weight: 700; }
.t-h4 { font-size: 32px; line-height: 36px; letter-spacing: -.32px; font-weight: 700; }
.t-h5 { font-size: 24px; line-height: 32px; letter-spacing: -.24px; font-weight: 600; }

.b-xl { font-size: 20px; line-height: 28px; letter-spacing: -.1px; }
.b-lg { font-size: 16px; line-height: 24px; }
.b-md { font-size: 14px; line-height: 20px; letter-spacing: .14px; }
.b-sm { font-size: 13px; line-height: 20px; }

.m-md { font-family: var(--mono); font-size: 14px; line-height: 22px; }
.m-sm { font-family: var(--mono); font-size: 13px; line-height: 20px; font-weight: 500; }
.m-xs { font-family: var(--mono); font-size: 12px; line-height: 16px; }

.dim { color: var(--text-2); }
.dimmer { color: var(--text-3); }
.heat { color: var(--heat-100); }
strong, .strong { font-weight: 600; color: var(--accent-black); }

h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

.lede {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-2);
  max-width: 64ch;
}

/* fluid display sizes */
@media (max-width: 900px) {
  .t-h1 { font-size: clamp(36px, 7.4vw, 60px); line-height: 1.06; }
  .t-h2 { font-size: clamp(32px, 6.4vw, 52px); line-height: 1.08; }
  .t-h3 { font-size: clamp(27px, 5.2vw, 40px); line-height: 1.12; }
  .t-h4 { font-size: clamp(23px, 4.4vw, 32px); line-height: 1.16; }
  .lede { font-size: 16px; line-height: 26px; }
}

/* --------------------------------------------------------------------------
   LAYOUT
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

section { padding-block: clamp(64px, 9vw, 112px); }
section.tight { padding-block: clamp(48px, 6vw, 72px); }
.band-lighter {
  /* the seam fades in and out rather than butting against white */
  background:
    linear-gradient(180deg, #fdfcfb 0%, var(--bg-lighter) 14%,
                    var(--bg-lighter) 86%, #fdfcfb 100%);
  border-block: 1px solid var(--border-faint);
}

.section-head { max-width: 52ch; }
.section-head h2 + p { margin-top: 16px; }

/* --------------------------------------------------------------------------
   NAV
   -------------------------------------------------------------------------- */

#navSentinel {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 96px;
  pointer-events: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--border-faint);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 1px 0 rgba(38, 38, 38, .04), 0 12px 28px -20px rgba(38, 38, 38, .5);
}
.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  font-size: 14px;
  font-weight: 450;
  color: var(--text-2);
}
.nav-links a {
  text-decoration: none;
  transition: color .18s var(--ease);
}
.nav-links a:hover { color: var(--heat-text); }
.nav-right { display: flex; align-items: center; gap: 20px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand .mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--heat-text);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.04em;
}
.brand .word {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding-inline: 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  /* lit from above; the top stop is --heat-text, so the lightest pixel under
     white type still measures 4.59:1 */
  background: linear-gradient(180deg, var(--heat-text) 0%, #bc440c 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 1px 2px rgba(38, 38, 38, .16),
    0 10px 24px -10px rgba(204, 74, 14, .55);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #c1450c 0%, #a93c09 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 1px 2px rgba(38, 38, 38, .18),
    0 12px 28px -10px rgba(204, 74, 14, .62);
}

.btn-ghost {
  background: linear-gradient(180deg, #fff, #fbfaf9);
  border-color: var(--border-muted);
  color: var(--accent-black);
  box-shadow: 0 1px 2px rgba(38, 38, 38, .04);
}
.btn-ghost:hover { border-color: var(--border-loud); background: var(--black-a4); }

.btn-sm { height: 36px; padding-inline: 14px; font-size: 14px; }

/* text link with a rule that grows on hover */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--heat-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--heat-24);
  padding-bottom: 2px;
  transition: border-color .18s var(--ease);
}
.tlink:hover { border-bottom-color: var(--heat-100); }
.tlink .arw { transition: transform .18s var(--ease); }
.tlink:hover .arw { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   PILLS
   -------------------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding-inline: 9px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill-live { background: var(--heat-12); color: #c9430c; border: 1px solid var(--heat-24); }
.pill-beta { background: rgba(144, 97, 255, .10); color: #6d3fd6; border: 1px solid rgba(144, 97, 255, .28); }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */

.hero {
  padding-block: clamp(56px, 8vw, 88px) clamp(56px, 8vw, 96px);
  position: relative;
  isolation: isolate;
}
/* a single light source for the page, warm, off the top-right shoulder */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 0 auto 24%;      /* no negative right inset: it pushed the document 37px wide at 375 */
  height: 150%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(52% 46% at 74% 26%, rgba(250, 93, 25, .13), transparent 68%),
    radial-gradient(46% 40% at 96% 6%, rgba(144, 97, 255, .07), transparent 70%);
}
.hero h1 { max-width: 22ch; }
.hero-split {
  margin-top: clamp(28px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.hero .lede { max-width: 46ch; }
.hero-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* price gap figure */
.gapfig {
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, var(--bg-lighter) 70%);
  padding: 24px 24px 20px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgba(38, 38, 38, .04),
    0 22px 48px -28px rgba(38, 38, 38, .28);
  container-type: inline-size;
}
.gapfig { container-type: inline-size; }
.gapfig figcaption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1.5;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-faint);
}
.gapfig { container-type: inline-size; }
.gaprow {
  display: flex;
  flex-wrap: wrap;               /* label and price drop to separate lines rather than collide */
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 16px;
}
.gaprow .amt { margin-left: auto; }
@container (max-width: 340px) {
  .gaprow .amt { margin-left: 0; }
}
.gaprow + .gaprow { margin-top: 18px; }
.gaprow .who { font-size: 14px; font-weight: 500; color: var(--text-2); }
.gaprow .amt { font-family: var(--mono); font-size: clamp(20px, 4.6cqi, 26px); font-weight: 600; letter-spacing: -.02em; }
.gaprow .amt span { font-size: 12px; font-weight: 500; color: var(--text-3); margin-left: 4px; }
.gapbar { height: 10px; border-radius: 4px; margin-top: 10px; background: var(--black-a8); overflow: hidden; }
.gapbar i { display: block; height: 100%; border-radius: 4px; background: rgba(38,38,38,.34); min-width: 3px; }
.gapbar.is-heat i { background: var(--heat-100); }
.gapmult {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.gapmult b { font-size: 44px; line-height: 1; letter-spacing: -.04em; color: var(--heat-100); }
.gapmult span { font-size: 14px; line-height: 20px; color: var(--text-2); max-width: 26ch; }

@media (max-width: 940px) {
  .hero-split { grid-template-columns: 1fr; align-items: stretch; }
  .hero h1 { max-width: 100%; }
}

@media (max-width: 620px) {
  .hero-cta .btn { width: 100%; }
  .gaprow { flex-direction: column; align-items: flex-start; gap: 2px; }
  .gaprow .amt { font-size: 24px; }
  .gapmult { flex-direction: column; gap: 6px; }
  .gapmult span { max-width: 100%; }
}

/* --------------------------------------------------------------------------
   USED BY
   Every mark is the brand's own published logo, rendered as a single-ink
   silhouette so six unrelated palettes do not fight the page's one accent.
   -------------------------------------------------------------------------- */

.usedby { padding-block: 0 clamp(48px, 6vw, 72px); }
.usedby-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--border-faint);
}
/* The one moving strip on the page. */
.logo-marquee {
  margin-top: 26px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.logo-marquee-inner {
  display: flex;
  width: max-content;
  animation: logo-drift 34s linear infinite;
}
.logo-marquee:hover .logo-marquee-inner { animation-play-state: paused; }
.logo-track {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 68px);
  padding-right: clamp(40px, 5vw, 68px);
  flex: 0 0 auto;
}
.logo-track li { display: flex; align-items: center; }
.logo-track img {
  height: var(--h, 24px);
  width: auto;
  max-width: none;
  filter: brightness(0) saturate(0);
  opacity: .68;
}
.logo-track .lockup {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: rgba(38, 38, 38, .68);
}
@keyframes logo-drift { to { transform: translateX(-50%); } }

@media (max-width: 620px) {
  .logo-track { gap: 34px; padding-right: 34px; }
  .logo-track img { height: calc(var(--h, 24px) * .88); }
  .logo-track .lockup { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-marquee-inner { animation: none; width: 100%; }
  .logo-track { flex-wrap: wrap; }
  .logo-track[aria-hidden="true"] { display: none; }
}

/* --------------------------------------------------------------------------
   VILLAIN
   A cost meter, not a marquee. The page has one moving strip (the logo wall)
   and this is not it: repetition is argued with arithmetic instead of loops.
   -------------------------------------------------------------------------- */

.villain h2 { max-width: 20ch; }
.villain-lede {
  margin-top: 20px;
  max-width: 62ch;
  font-size: 17px;
  line-height: 27px;
  color: var(--text-2);
}

.meter {
  margin-top: clamp(32px, 4vw, 48px);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  /* the warmth gathers at the bottom right, where the number gets big */
  background:
    radial-gradient(120% 90% at 100% 100%, rgba(250, 93, 25, .07), transparent 62%),
    linear-gradient(180deg, #ffffff, #fdfcfb);
  padding: clamp(20px, 3vw, 30px);
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgba(38, 38, 38, .04),
    0 26px 56px -32px rgba(38, 38, 38, .3);
}
.meter-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-faint);
}
.meter-head code {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-black);
  background: var(--black-a4);
  border: 1px solid var(--border-faint);
  border-radius: 4px;
  padding: 3px 8px;
}
.meter-head span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.meter-scale {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}
.meter-scale li {
  padding: 26px 20px 22px 0;
  border-top: 1px solid transparent;
}
.meter-scale li + li { padding-left: 20px; border-left: 1px solid var(--border-faint); }
.meter-scale .n {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.meter-scale .v {
  display: block;
  margin-top: 12px;
  font-size: var(--s, 24px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.meter-scale li:last-child { background: linear-gradient(180deg, rgba(250, 93, 25, .07), transparent 78%); }
.meter-scale li:last-child .v { color: var(--heat-text); }

.meter-punch {
  margin-top: 6px;
  padding: 18px 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2e2e2e 0%, #1c1c1c 100%);
  box-shadow: 0 1px 2px rgba(38, 38, 38, .2), 0 16px 34px -18px rgba(38, 38, 38, .5);
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}
.meter-punch b {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.04em;
  color: #ff8a52;      /* 5.9:1 on #262626 */
}
.meter-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-3);
  max-width: 84ch;
}

.villain-note {
  margin-top: clamp(32px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px clamp(32px, 5vw, 64px);
}
.villain-note p {
  font-size: 15px;
  line-height: 24px;
  color: var(--text-2);
  max-width: 52ch;
}
.villain-note b { color: var(--accent-black); font-weight: 600; }

@media (max-width: 780px) {
  .meter-scale { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meter-scale li { padding: 20px 16px 18px 0; }
  .meter-scale li + li { padding-left: 16px; }
  .meter-scale li:nth-child(3) { border-top-color: var(--border-faint); }
  .meter-scale li:nth-child(4) { border-top-color: var(--border-faint); }
  .meter-scale li:nth-child(3) { border-left: none; padding-left: 0; }
  .meter-scale .v { font-size: calc(var(--s, 24px) * .8); }
  .meter-punch b { font-size: 28px; }
  .villain-note { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .meter-scale { grid-template-columns: 1fr; }
  .meter-scale li + li { border-left: none; padding-left: 0; border-top-color: var(--border-faint); }
  .meter-scale li { padding-block: 16px 14px; }
}

/* --------------------------------------------------------------------------
   PROOF (the one dark band)
   -------------------------------------------------------------------------- */

.proof {
  position: relative;
  background: var(--bg-dark);
  color: var(--accent-white);
  overflow: hidden;
}
.proof {
  background: linear-gradient(180deg, #22272b 0%, var(--bg-dark) 34%, #1a1e21 100%);
}
.proof::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(820px 460px at 86% -16%, rgba(250, 93, 25, .20), transparent 62%),
    radial-gradient(640px 440px at -6% 112%, rgba(144, 97, 255, .11), transparent 60%);
}
/* the lit top edge: warm where the source is, cool as it falls away */
.proof::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent 0%, rgba(255, 255, 255, .14) 22%,
    rgba(250, 93, 25, .55) 74%, transparent 100%);
}
.proof .wrap { position: relative; z-index: 1; }
.proof .lede { color: var(--white-a56); }
.result {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: clamp(28px, 3.4vw, 40px);
  border-top: 1px solid var(--border-muted-d);
}
.result-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white-a56);
}
.result-num {
  margin-top: 10px;
  font-size: clamp(34px, 4.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 700;
  color: var(--heat-100);
}
.result-num span {
  color: var(--accent-white);
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -.02em;
  font-weight: 600;
}

.chart { margin-top: 26px; max-width: 900px; }
.ch-row {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 76px;
  align-items: center;
  gap: 18px;
  padding-block: 11px;
}
.ch-name { font-size: 14.5px; color: var(--white-a72); }
.ch-track {
  height: 12px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
}
.ch-track i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .40), rgba(255, 255, 255, .26));
  min-width: 4px;
}
.ch-val {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  color: var(--white-a72);
  font-variant-numeric: tabular-nums;
}
.ch-row.is-us .ch-name { color: var(--accent-white); font-weight: 550; }
.ch-row.is-us .ch-track i {
  background: linear-gradient(180deg, #ff7a3d, var(--heat-100));
  box-shadow: 0 0 18px -2px rgba(250, 93, 25, .5);
}
.ch-row.is-us .ch-val { color: var(--heat-100); }
.ch-foot {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 21px;
  color: var(--white-a56);
  max-width: 76ch;
}
.result .tlink {
  margin-top: 20px;
  color: #ffa477;
  border-bottom-color: rgba(255, 164, 119, .3);
}
.result .tlink:hover { border-bottom-color: #ffa477; }

.proof-foot {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 26px;
  border-top: 1px solid var(--border-faint-d);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: baseline;
  justify-content: space-between;
}
.proof-foot p { font-size: 15px; line-height: 24px; color: var(--white-a72); max-width: 62ch; }

@media (max-width: 720px) {
  .ch-row {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 6px 14px;
    padding-block: 9px;
  }
  .ch-name { grid-column: 1; }
  .ch-val { grid-column: 2; grid-row: 1; }
  .ch-track { grid-column: 1 / -1; grid-row: 2; }
}

/* --------------------------------------------------------------------------
   LADDER
   -------------------------------------------------------------------------- */

.ladder-layout {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.rungs { border-top: 1px solid var(--border-muted); }
.rung {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding-block: 14px;
}
.rung + .rung { border-top: 1px solid var(--border-faint); }
.rung .n {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
}
.rung .name { display: block; font-size: 15px; font-weight: 550; letter-spacing: -.01em; }
.rung .meta { display: block; margin-top: 4px; font-size: 13px; line-height: 19px; color: var(--text-2); }
.rung-stop {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--heat-24);
  background: var(--heat-6);
  border-radius: 6px;
  font-size: 14px;
  line-height: 21px;
}
.rungs-group-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-block: 14px 6px;
}

.ladder-figure {
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, var(--bg-lighter) 72%);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(38, 38, 38, .04), 0 22px 48px -28px rgba(38, 38, 38, .26);
}
.ladder-figure figcaption {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-faint);
  font-size: 13px;
  line-height: 20px;
  color: var(--text-2);
}

@media (max-width: 940px) {
  .ladder-layout { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   COMPOUNDS
   -------------------------------------------------------------------------- */

.compound-layout {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.assets { border-top: 1px solid var(--border-muted); }
.asset { padding-block: 22px; }
.asset + .asset { border-top: 1px solid var(--border-faint); }
.asset h3 { font-size: 18px; line-height: 24px; letter-spacing: -.02em; font-weight: 650; }
.asset p { margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--text-2); max-width: 52ch; }

@media (max-width: 940px) {
  .compound-layout { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   TABLE
   -------------------------------------------------------------------------- */

.table-scroll {
  margin-top: 40px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  /* the fade is the scroll affordance: it disappears once the table fits */
  background:
    linear-gradient(to right, var(--bg-base) 30%, rgba(255,255,255,0)) left / 40px 100% no-repeat,
    linear-gradient(to left, var(--bg-base) 30%, rgba(255,255,255,0)) right / 40px 100% no-repeat;
  background-attachment: local, local;
}
table.grid {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  table-layout: fixed;
}
.grid th:first-child, .grid td:first-child { width: 34%; }
.grid th, .grid td {
  text-align: left;
  padding: 13px 16px;
  font-size: 14px;
  line-height: 20px;
  vertical-align: middle;
}
.grid thead th {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 1px solid var(--border-muted);
  background: var(--bg-lighter);
}
.grid thead th.us { color: var(--heat-text); font-weight: 700; }
.grid tbody tr + tr td { border-top: 1px solid var(--border-faint); }
.grid tbody td:first-child { color: var(--text-2); }
.grid td.us { background: var(--heat-6); font-weight: 600; }
.grid th.us { background: var(--heat-12); }
.grid .y { font-weight: 600; }
.grid td.us.y { color: var(--heat-text); font-weight: 700; }
.grid .n { color: var(--text-2); }
.table-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-3);
  max-width: 88ch;
}

/* --------------------------------------------------------------------------
   THE LOOP
   A 2x2 cycle read clockwise, with the ring in the gutter between the cards.
   The ring is decoration over a real reading order, so it is aria-hidden and
   the list stays a plain ordered list underneath.
   -------------------------------------------------------------------------- */

.loop { position: relative; margin-top: clamp(36px, 4.5vw, 56px); }
.loop-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 36px) clamp(150px, 20vw, 260px);
}
.loop-steps li {
  border-top: 2px solid var(--heat-100);
  padding-top: 18px;
}
.loop-steps li:nth-child(3) { grid-column: 2; grid-row: 2; }
.loop-steps li:nth-child(4) { grid-column: 1; grid-row: 2; }
.ls-n {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--heat-text);
}
.loop-steps h3 {
  margin-top: 8px;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -.02em;
  font-weight: 650;
}
.loop-steps p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 23px;
  color: var(--text-2);
  max-width: 44ch;
}

.loop-ring::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(250, 93, 25, .09), transparent 72%);
}
.loop-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(150px, 19vw, 240px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.loop-ring svg { position: absolute; inset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .loop-ring svg { animation: ring-turn 44s linear infinite; }
}
@keyframes ring-turn { to { transform: rotate(360deg); } }
.loop-center {
  position: relative;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 17px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}

@media (max-width: 900px) {
  .loop-steps { grid-template-columns: 1fr; gap: 22px; }
  .loop-steps li:nth-child(3),
  .loop-steps li:nth-child(4) { grid-column: 1; grid-row: auto; }
  .loop-steps p { max-width: 56ch; }
  .loop-ring { display: none; }
  /* with the ring gone, the cycle is carried by a closing line instead */
  .loop::after {
    content: "Step 04 feeds step 01: the deployed model's own traces are the next capture.";
    display: block;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border-faint);
    font-size: 14px;
    line-height: 22px;
    color: var(--text-2);
  }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { margin-top: 40px; border-top: 1px solid var(--border-muted); }
.faq details { border-bottom: 1px solid var(--border-faint); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding-block: 22px;
  padding-right: 48px;
  position: relative;
  font-size: 18px;
  line-height: 27px;
  font-weight: 550;
  letter-spacing: -.01em;
  transition: color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--heat-text); }
/* a plus that turns into a minus, drawn with two rules rather than a glyph */
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 13px;
  height: 1.5px;
  background: var(--text-3);
  transition: transform .25s var(--ease), background .18s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover::before,
.faq summary:hover::after { background: var(--heat-text); }
.faq details > p {
  padding-bottom: 24px;
  max-width: 72ch;
  font-size: 15px;
  line-height: 25px;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   CLOSE + FORM
   -------------------------------------------------------------------------- */

.close .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.close h2 { max-width: 15ch; }
.close .lede { margin-top: 16px; max-width: 44ch; }

.book-card {
  border: 1px solid var(--heat-24);
  border-radius: 8px;
  background:
    radial-gradient(110% 90% at 50% 0%, rgba(250, 93, 25, .07), transparent 64%),
    linear-gradient(180deg, #ffffff, #fdfcfb);
  padding: 28px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgba(38, 38, 38, .05),
    0 28px 60px -34px rgba(38, 38, 38, .34);
}
.book-card .btn { width: 100%; height: 48px; font-size: 16px; }
.book-card .fine {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 21px;
  color: var(--text-2);
}
.book-card .fine + .fine { margin-top: 10px; color: var(--text-3); }
.book-card .tlink { font-size: 13.5px; }

@media (max-width: 900px) {
  .close .wrap { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */

.foot {
  border-top: 1px solid var(--border-faint);
  background: var(--bg-lighter);
  padding-block: 44px 36px;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  justify-content: space-between;
}
.foot .about { max-width: 34ch; }
.foot .about p { margin-top: 12px; font-size: 14px; line-height: 21px; color: var(--text-2); }
.foot nav { display: flex; gap: 56px; }
.foot h3 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}
.foot ul { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.foot ul a {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: color .18s var(--ease);
}
.foot ul a:hover { color: var(--heat-text); }
.foot-base {
  width: 100%;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: flex-end;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-3);
}
.foot-place { line-height: 1.7; }
.foot-status { display: inline-flex; align-items: center; gap: 9px; }

/* --------------------------------------------------------------------------
   SVG FIGURE DEFAULTS
   -------------------------------------------------------------------------- */

.fig-axis { font-family: var(--mono); font-size: 12px; fill: var(--text-3); letter-spacing: .06em; }
.fig-label { font-family: var(--mono); font-size: 12.5px; fill: var(--text-2); }
.fig-value { font-family: var(--mono); font-size: 14px; font-weight: 600; fill: var(--accent-black); }
.fig-grid { stroke: var(--border-faint); stroke-width: 1; }

/* --------------------------------------------------------------------------
   BENCHMARKS PAGE
   -------------------------------------------------------------------------- */

.page-head { padding-block: clamp(48px, 7vw, 80px) clamp(28px, 4vw, 40px); }
.page-head h1 { max-width: 18ch; }
.page-head .lede { margin-top: 18px; }

.bmk { padding-block: clamp(48px, 6vw, 72px); border-top: 1px solid var(--border-faint); }
.bmk > .wrap > h2 { max-width: 22ch; }
.bmk-sub { margin-top: 14px; font-size: 16px; line-height: 26px; color: var(--text-2); max-width: 62ch; }

.bars { margin-top: 36px; display: grid; gap: 34px; max-width: 880px; }
.barset h3 .scale { color: var(--text-3); letter-spacing: .08em; }
.barset h3 .scale::before { content: "\00a0\00a0\00b7\00a0\00a0"; }
.barset h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}
.bar { margin-top: 16px; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; align-items: center; }
.bar .who { font-size: 14px; font-weight: 500; }
.bar .track { position: relative; height: 30px; background: var(--black-a4); border-radius: 4px; }
.bar .fill { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--black-a24); }
.bar.is-us .fill { background: var(--heat-100); }
.bar .val {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: calc(100% + 12px);
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
}
.bar .val b { color: var(--accent-black); font-weight: 600; }
@media (max-width: 620px) {
  .bar { grid-template-columns: 1fr; gap: 6px; }
  .bar .track { height: 26px; }
  .bar .val { position: static; transform: none; display: block; margin-top: 6px; }
}

.callout {
  margin-top: 32px;
  border: 1px solid var(--heat-24);
  background: var(--heat-6);
  border-radius: 8px;
  padding: 20px 22px;
  font-size: 15px;
  line-height: 25px;
  max-width: 76ch;
}
.footnote {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 19px;
  letter-spacing: .03em;
  color: var(--text-3);
  max-width: 96ch;
}

.kv { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border-muted); }
.kv > div { padding: 22px 24px 20px 0; }
.kv > div + div { padding-left: 24px; border-left: 1px solid var(--border-faint); }
.kv .k { font-size: 14px; font-weight: 600; }
.kv .v { margin-top: 8px; font-size: 14px; line-height: 21px; color: var(--text-2); }
@media (max-width: 780px) {
  .kv { grid-template-columns: 1fr; }
  .kv > div { padding-right: 0; }
  .kv > div + div { padding-left: 0; border-left: none; border-top: 1px solid var(--border-faint); }
}

/* --------------------------------------------------------------------------
   TEAM PAGE
   -------------------------------------------------------------------------- */

.person {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.person-role {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1.8;
}
.person-links {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 12px;
  justify-items: start;
}
.person-bio p {
  font-size: 16px;
  line-height: 27px;
  color: var(--text-2);
  max-width: 66ch;
}
.person-bio p + p { margin-top: 16px; }

.roster {
  list-style: none;
  margin-top: 32px;
  border-top: 1px solid var(--border-muted);
}
.roster li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  padding-block: 16px;
  border-bottom: 1px solid var(--border-faint);
}
.r-name { font-size: 16px; font-weight: 550; letter-spacing: -.01em; }
.r-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.roster .is-open .r-name { color: var(--text-2); }
.roster .is-open .r-role { color: var(--heat-text); }

@media (max-width: 780px) {
  .person { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   END CTA
   Centred, because it is the last thing on the page with nothing to align to.
   -------------------------------------------------------------------------- */

.endcta {
  margin-top: clamp(40px, 5vw, 60px);
  padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 40px);
  border: 1px solid var(--heat-24);
  border-radius: 8px;
  background:
    radial-gradient(110% 100% at 50% 0%, rgba(250, 93, 25, .08), transparent 66%),
    linear-gradient(180deg, #ffffff, #fdfcfb);
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgba(38, 38, 38, .05),
    0 30px 64px -36px rgba(38, 38, 38, .34);
  text-align: center;
}
.endcta-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--heat-text);
}
.endcta h3 {
  margin-top: 14px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.16;
  letter-spacing: -.025em;
  font-weight: 700;
}
.endcta-body {
  margin: 14px auto 0;
  max-width: 54ch;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-2);
}
.endcta .btn { margin-top: 26px; }

/* --------------------------------------------------------------------------
   REVEAL
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }
  .js .reveal.in { opacity: 1; transform: none; }
}
