/* Hindsight Markets — the public site, third cut (2026-09-06). Plain CSS, no build step, no
   framework.

   TOKENS are hand-copied from src/index.css — the dark spine on :root — and fenced against it by
   src/site/siteFences.test.ts (AC7.4): change a hex there first, then here, or `bun test src`
   goes red. The page commits to the dark face (founder, 2026-09-05: "dark like the app"); there
   is no light spine (founder, 2026-09-06: nothing declared just to satisfy a test). Monochrome by the founder's verdicts (public/assets/images/brand/README.md): no amber, no
   accent; ink, hairlines, tone. The colour on the page is the product's own, in the captures.

   Third cut (founder, 2026-09-06): the page uses the screen. The container grew to 1440 and the
   hero is two columns — the product beside the promise, above the fold on a laptop — the
   feature list became a card grid, the sections alternate sides, the mono placards and the
   uppercase eyebrows are gone, and the legal pages align with their masthead. */
@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./fonts/geist-mono-latin-wght-normal.woff2")
    format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
:root {
  color-scheme: dark;
  --canvas: #08090b;
  --panel: #0b0c0f;
  --panel-2: #0e1013;
  --hairline: #14171b;
  --border-strong: #262a30;
  --ink: #e7e9ee;
  --ink-2: #aeb2ba;
  --faint: #7b818b;
  --focus: #7b818b;
  --font-sans:
    "Geist Variable", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:
    "Geist Mono Variable", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --measure: 64ch;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --page: 1440px;
  --top: 3.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--faint);
}
a:hover {
  text-decoration-color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
  letter-spacing: -0.022em;
  font-weight: 560;
  line-height: 1.08;
}
h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
}
h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
}
h3 {
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
p {
  max-width: var(--measure);
}
.eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--faint);
}

/* ---- header ---------------------------------------------------------------------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--hairline);
  background: var(--canvas);
}
.top-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--top);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.mark {
  width: 1.15rem;
  height: 1.15rem;
}
.wordmark > span {
  font-weight: 640;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9375rem;
  margin-left: 1rem;
}
.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--ink);
}
.top-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9375rem;
}
.top-nav a {
  white-space: nowrap;
}
.top-nav a:not(.btn) {
  color: var(--ink-2);
  text-decoration: none;
}
.top-nav a:not(.btn):hover {
  color: var(--ink);
}

/* ---- buttons --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  height: 2.25rem;
  padding: 0 1rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 0.9375rem;
  font-weight: 560;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
}
.btn-lg {
  height: 2.75rem;
  padding: 0 1.5rem;
  font-size: 1rem;
}
.link-lg {
  font-size: 1rem;
  color: var(--ink-2);
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ---- hero ------------------------------------------------------------------------------ */
main {
  display: block;
}
.hero {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) var(--gutter) clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.hero-text {
  display: grid;
  gap: 1.25rem;
  align-content: center;
}
.hero h1 {
  max-width: 14ch;
}
.hero .lede {
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
}
.hero .cta-row {
  margin-top: 0.25rem;
}
.disclaimer-line {
  font-size: 0.8125rem;
  color: var(--faint);
}
.frame-hero {
  min-width: 0;
}

/* ---- product frames -------------------------------------------------------------------- */
.frame {
  min-width: 0;
}
.frame img,
.recording video {
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--panel);
  width: 100%;
}

/* ---- blocks ---------------------------------------------------------------------------- */
.block {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--gutter);
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.75rem);
}
.block-head {
  display: grid;
  gap: 0.9rem;
  max-width: 44rem;
}
.block-head p,
.split-text p,
.qa dd,
.plan-note {
  color: var(--ink-2);
}
.block-head p {
  font-size: 1.0625rem;
}

/* the feature cards, beside the cockpit's core cluster */
.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.cards {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
}
.cards li {
  background: var(--panel);
  padding: 1.5rem 1.5rem 1.6rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}
.cards p {
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* text beside a picture, alternating sides */
.split {
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
}
.split-text {
  display: grid;
  gap: 1rem;
  align-content: start;
}
#session {
  align-items: center;
}
.split-text p {
  font-size: 1.0625rem;
}
.split-flip .split-text {
  order: 2;
}
.split .pair {
  grid-column: 1 / -1;
}
.pair {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

/* the fill: the model's limits, the two captions, the recording */
.fill {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}
.captions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.captions p {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  max-width: none;
}
.captions .label {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--faint);
}

/* the price */
.pricing {
  justify-items: center;
}
.price-card {
  width: min(100%, 36rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--panel);
  display: grid;
  gap: 1rem;
  text-align: center;
  justify-items: center;
}
.price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  max-width: none;
}
.plan-note {
  font-size: 0.9375rem;
}

/* the questions */
.questions h2 {
  max-width: 44rem;
}
.qa {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 4rem);
}
.qa > div {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}
.qa dt {
  font-weight: 560;
  letter-spacing: -0.01em;
}
.qa dd {
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ---- legal pages: the masthead, one column of prose ------------------------------------ */
.masthead {
  border-bottom: 1px solid var(--hairline);
}
.masthead .wrap {
  display: flex;
  align-items: center;
  height: var(--top);
}
.masthead .wordmark svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-right: 0.6rem;
  vertical-align: -0.2em;
}
.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.legal {
  padding: 3rem var(--gutter) 4rem;
}
.legal h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  max-width: 24ch;
  margin-bottom: 0.5rem;
}
.legal .updated {
  margin: 0 0 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--faint);
}
.legal h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.legal p,
.legal li {
  color: var(--ink-2);
  max-width: 68ch;
}
.legal p + p {
  margin-top: 0.75rem;
}
.legal ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

/* ---- footer ---------------------------------------------------------------------------- */
.foot {
  max-width: var(--page);
  margin: 0 auto;
  padding: 2rem var(--gutter) 3rem;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 0.9rem;
  font-size: 0.8125rem;
  color: var(--faint);
}
.disclaimer {
  color: var(--ink-2);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.foot-links a {
  color: var(--ink-2);
}
.sources,
.copyright {
  max-width: none;
}

/* ---- narrow ---------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .hero,
  .split,
  .fill {
    grid-template-columns: minmax(0, 1fr);
  }
  .split-flip .split-text {
    order: 0;
  }
  .hero-text {
    align-content: start;
  }
  .hero .lede {
    max-width: var(--measure);
  }
  .platform-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 860px) {
  .site-nav {
    display: none;
  }
  .pair,
  .qa {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 1.75rem;
  }
  .hero-text {
    gap: 1rem;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero .lede {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .top-inner {
    gap: 1rem;
  }
  .top-nav {
    gap: 0.9rem;
  }
  .cta-row {
    gap: 1rem;
  }
}
