/* VISTRIGON — pilot teaser. Static, no JavaScript, no third-party requests. */

/* ---------- Fonts (self-hosted, Latin subset, OFL — see /fonts/LICENSES.txt) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  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+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  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+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  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+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens (VISTRIGON design system) ---------- */
:root {
  --ink: #16203A;
  --ink-2: #334155;
  --muted: #5C6675;      /* 5.9:1 on --bg */
  --line: #E2E8F0;
  --hairline: #EAECF1;
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --brand: #2563EB;      /* 5.0:1 on white */
  --brand-strong: #1D4ED8;
  --brand-tint: #EFF6FF;
  --brand-line: #CFE0FB;
  --track: #DCE3EE;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 16px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, ol, ul { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: underline; text-underline-offset: 0.18em; }
a:hover { color: var(--brand-strong); }
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.site-header,
.main,
.site-footer {
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.site-header { padding-top: clamp(28px, 6vw, 56px); }
.logo { width: min(880px, 100%); }

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 6vw, 56px);
  padding-top: clamp(0px, 0vw, 0px);
  padding-bottom: clamp(48px, 8vw, 80px);
}

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; align-items: flex-start; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 32px;
  padding: 4px 14px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  justify-content: center;
  width: 100%;
}
.badge-dot {
  width: 7px; height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
}

.headline {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 7vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 14ch;
  text-wrap: balance;
}

.sub {
  margin-top: 22px;
  max-width: 38em;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.audience {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.pills {
  margin-top: 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pills li {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ---------- Shared eyebrow ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- Proof strip ---------- */
.proof {
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
}
.proof-figures {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  column-gap: clamp(14px, 3vw, 28px);
  row-gap: 8px;
}
.fig { display: flex; flex-direction: column; }
.fig-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.25rem, 8vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.fig-result .fig-num { color: var(--brand); }
.fig-label {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.fig-arrow {
  align-self: center;
  padding-bottom: 1.2em;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1;
  color: var(--muted);
}

/* Abstract proportion bar: 82,871 / 278,553 = 29.75% */
.proof-bar {
  margin-top: 22px;
  height: 10px;
  border-radius: 5px;
  background: var(--track);
  overflow: hidden;
}
.proof-bar-fill {
  display: block;
  width: 29.75%;
  height: 100%;
  border-radius: 5px;
  background: var(--brand);
}

.small-print {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- How a pilot works ---------- */
.steps-list {
  margin-top: 14px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.steps-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.step-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--brand);
}

/* ---------- Pilot card ---------- */
.pilot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  background: var(--surface);
}
.pilot-text {
  flex: 1 1 320px;
  max-width: 34em;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
}
.pilot-cta {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 180px;
  padding: 10px 24px;
  border-radius: 10px;
  background: var(--brand);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}
.button:hover { background: var(--brand-strong); color: #FFFFFF; }
.button:focus-visible { outline-offset: 4px; border-radius: 10px; }
.pilot-address {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--ink-2);
  user-select: all;
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 20px;
  padding-bottom: 28px;
}
.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 18px;
  background: var(--hairline);
}
.footer-mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--muted);
}
.footer-mail:hover { color: var(--brand-strong); }

/* ---------- Small screens (down to 360px) ---------- */
@media (max-width: 600px) {
  .steps-list { grid-template-columns: 1fr; }
  .pilot-cta, .button { width: 100%; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  body { background: #FFFFFF; }
  .proof, .pilot { break-inside: avoid; }
}
