/* Vanatomy landing page. Brand: blue-black and orange, Archivo condensed caps for display type. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('./fonts/archivo-latin-wdth.woff2') format('woff2-variations'), url('./fonts/archivo-latin-wdth.woff2') format('woff2');
}

:root {
  --ink: #141c2a;
  --ink-2: #1c2638;
  --line-dark: #2a3650;
  --field-line: #33415a;
  --corner: #47556e;
  --paper: #f4f3ef;
  --white: #ffffff;
  --on-dark: #f4f3ef;
  --muted-dark: #c9d2de;
  --faint-dark: #9da9b9;
  --muted-light: #3b4558;
  --rule-light: #d5d2ca;
  --orange: #ff8a4c;
  --orange-hover: #ffb083;
  --orange-deep: #c2410c;
  --orange-deep-hover: #9a330a;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
}

img, svg { display: block; }
a { color: var(--orange); }
a:hover { color: var(--orange-hover); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--orange); color: var(--ink); font-weight: 700; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

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

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Display type: the wordmark's condensed caps */
.display {
  margin: 0;
  font-weight: 850;
  font-stretch: 72%;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}
.wordmark { font-weight: 850; font-stretch: 72%; letter-spacing: 0.06em; line-height: 1; }
.eyebrow { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); }
.label-caps { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }

/* Header */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--on-dark); text-decoration: none; }
.brand:hover { color: var(--on-dark); }
.brand .wordmark { font-size: 1.7rem; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 0.95rem; }
.nav a { color: var(--muted-dark); text-decoration: none; }
.nav a:not(.button) { display: inline-block; padding: 12px 2px; }
.nav a:hover { color: var(--on-dark); }
.nav a.button { color: var(--ink); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px; border: 0; border-radius: 8px;
  background: var(--orange); color: var(--ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--orange-hover); color: var(--ink); }
.button:disabled { opacity: 0.7; cursor: progress; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 48px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 0.92; }
.lede { margin: 0; font-size: 1.2rem; color: var(--muted-dark); max-width: 33rem; }
.fine { margin: 0; font-size: 0.9rem; color: var(--faint-dark); }

.plate { position: relative; flex: 1 1 540px; min-width: 0; margin: 0; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.plate-corners { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.plate .label-caps { color: var(--faint-dark); }
.xray { width: 100%; height: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.8rem; color: var(--muted-dark); }
.legend span { display: flex; align-items: center; gap: 8px; }

/* Waitlist form */
.waitlist { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.waitlist label { display: flex; flex-direction: column; gap: 6px; flex: 1 1 240px; font-size: 0.85rem; color: var(--muted-dark); }
.waitlist input[type='email'] {
  font: inherit; font-size: 1rem; color: var(--on-dark); background: var(--ink-2);
  border: 1px solid var(--field-line); border-radius: 8px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.waitlist input[type='email']::placeholder { color: #7f8ba0; }
.waitlist .button { min-height: 48px; padding: 12px 22px; }
.waitlist .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { flex-basis: 100%; margin: 2px 0 0; min-height: 1.55em; font-size: 0.95rem; }
.form-status[data-state='ok'] { color: var(--orange); font-weight: 700; }
.form-status[data-state='error'] { color: #ffb4a1; font-weight: 600; }

/* Bands */
.band { padding-top: 88px; padding-bottom: 88px; }
.band-light { background: var(--paper); color: var(--ink); color-scheme: light; }
.band-light a { color: var(--orange-deep); }
.band-light a:hover { color: var(--orange-deep-hover); }
.band h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.narrow { max-width: 46rem; }
.muted-light { margin: 0; color: var(--muted-light); }
.muted-dark { margin: 0; color: var(--muted-dark); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.head-row .label-caps { color: var(--orange-deep); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.step-no { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.12em; color: var(--orange-deep); }
.steps h3 { margin: 0; font-size: 1.4rem; }
.steps p { margin: 0; color: var(--muted-light); }

/* Systems */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > * { min-width: 0; }
.split-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; }
.ticks li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 2px; background: var(--orange); }
.card { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px; padding: 22px; }
.fuse-card { flex: 1 1 460px; display: flex; flex-direction: column; gap: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-head h3 { margin: 0; font-size: 1.15rem; }
.card-head .label-caps { color: var(--faint-dark); }
.scroll-x { overflow-x: auto; }
.fuses { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.fuses th { text-align: left; color: var(--faint-dark); font-size: 0.72rem; letter-spacing: 0.14em; font-weight: 700; padding: 8px 10px; }
.fuses td { padding: 10px; border-top: 1px solid var(--line-dark); }
.fuses .none { color: var(--orange); font-weight: 700; }

/* Templates table */
.table-box { overflow-x: auto; border: 2px solid var(--ink); border-radius: 6px; background: var(--white); }
.templates { width: 100%; min-width: 560px; border-collapse: collapse; }
.templates thead tr { background: var(--ink); color: var(--paper); }
.templates thead th { text-align: left; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; padding: 12px 16px; }
.templates tbody th { text-align: left; }
.templates tbody th, .templates td { padding: 12px 16px; border-top: 1px solid var(--rule-light); }
@media (max-width: 600px) {
  .templates { min-width: 0; font-size: 0.9rem; }
  .templates thead th { font-size: 0.66rem; letter-spacing: 0.08em; }
  .templates thead th, .templates tbody th, .templates td { padding: 10px 8px; }
}

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.features .card { padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.features h3 { margin: 0; font-size: 1.35rem; }
.features p { margin: 0; color: var(--muted-dark); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 2px solid var(--ink); padding: 16px 0; }
.faq details:last-of-type { border-bottom: 2px solid var(--ink); }
.faq summary { font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted-light); }

/* Closing signup */
.closing { max-width: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 96px; padding-bottom: 96px; }
.closing h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 0.92; }
.closing .waitlist { width: 100%; max-width: 520px; text-align: left; justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-dark); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 28px; padding-bottom: 28px; color: var(--faint-dark); font-size: 0.9rem; }
.site-footer .wordmark { color: var(--on-dark); font-size: 1.1rem; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted-dark); display: inline-block; padding: 12px 0; }

/* Plain text pages (privacy, 404) */
.page { max-width: 760px; padding-top: 40px; padding-bottom: 96px; }
.page h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 24px; }
.page h2 { font-size: 1.3rem; margin: 32px 0 8px; }
.page p, .page li { color: var(--muted-dark); }
.page ul { padding-left: 1.2rem; }
