/* STOL Labs — site styles. Tokens mirror the STOL Labs brand system. */
:root {
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --ink: #0B0B0C;
  --body: #3D3D3B;
  --muted: #6B6B6B;
  --surface: #F0F0EC;
  --chip: #EEEEEA;
  --line: #E2E2DF;
  --climb: #FF5A1F;
  --climb-ink: #0B0B0C;
  --error: #B42318;
  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--climb); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; color: var(--white); }
.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; }

.page { padding: clamp(32px, 7vw, 56px) 20px 64px; }
.wrap { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
section, figure.hero { width: 100%; }
.mt-section { margin-top: clamp(56px, 10vw, 72px); }

/* Logo */
.logo { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: -0.045em; text-decoration: none; color: var(--ink); padding: 7px 0; }
.logo svg { width: 0.694em; height: 0.7em; margin-left: 0.005em; }
.logo:hover { color: var(--ink); }

/* Type */
h1, h2 { margin: 0; }
.h1 { margin-top: 32px; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 10vw, 64px); line-height: 1.02; letter-spacing: -0.035em; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 7vw, 44px); line-height: 1.05; letter-spacing: -0.03em; text-align: center; }
.h3 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 6vw, 32px); line-height: 1.1; letter-spacing: -0.03em; }
em.s { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; letter-spacing: 0; }
.eyebrow { margin: 0; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.center { text-align: center; }
.lede { margin: 28px 0 0; max-width: 520px; text-align: center; font-size: clamp(17px, 4.4vw, 18px); line-height: 1.7; color: var(--body); }
.lede strong { color: var(--ink); font-weight: 600; }
.body { font-size: 16px; line-height: 1.65; color: var(--body); }

/* Social chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: var(--chip); font-size: 14px; text-decoration: none; color: var(--ink); }
.chip:hover { background: #E4E4DF; color: var(--ink); }
.chip svg { width: 14px; height: 14px; flex: none; }

/* Hero photo */
.hero { margin: 44px 0 0; }
.hero-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 32 / 15; background: #1A2034; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-cap { position: absolute; left: 16px; right: 16px; bottom: 12px; font-size: 13px; line-height: 1.4; color: var(--white); text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 0 12px rgba(0,0,0,.45); }
@media (max-width: 520px) { .hero-frame { aspect-ratio: 4 / 3; } }

/* How it works */
.steps { margin-top: 20px; background: var(--surface); border-radius: var(--radius-md); padding: 18px 20px; font-family: var(--mono); font-size: 13px; }
.steps ol { list-style: none; margin: 8px 0 0; padding: 0; }
.steps li { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.steps b { font-weight: 500; min-width: 84px; }
.steps span { color: var(--muted); }

/* Founding deal */
.deal { margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 5vw, 28px); display: flex; flex-direction: column; gap: 20px; }
.deal-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.deal-name { font-family: var(--display); font-weight: 700; font-size: 22px; }
.deal-sub { margin-top: 4px; font-size: 15px; color: var(--muted); }
.price { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 10vw, 44px); line-height: 1; letter-spacing: -0.03em; }
.price-note { margin-top: 6px; font-size: 13px; color: var(--muted); }
.deal-price { text-align: right; }
@media (max-width: 420px) { .deal-price { text-align: left; } }
.spots { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--body); }
.spot { width: 12px; height: 12px; border-radius: 3px; background: var(--climb); }
.spot.taken { background: var(--line); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; line-height: 1.5; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: "→"; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--radius-sm); font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn-climb { background: var(--climb); color: var(--climb-ink); }
.btn-climb:hover { background: #F04E14; color: var(--climb-ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #26262A; color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-block { display: flex; width: 100%; }

/* Photos */
.photos { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .photos { grid-template-columns: 1fr; } }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); background: var(--chip); }
.photos figcaption, .cap { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* Price rows */
.rows { margin-top: 12px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.row b { font-weight: 600; }
.row .desc { color: var(--muted); }
.row .amt { white-space: nowrap; font-weight: 500; }
.split { border-top: 1px solid var(--line); padding-top: 32px; }

/* Forms */
.form { display: flex; flex-wrap: wrap; gap: 8px; }
.input, .textarea, .select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #D6D6D2; border-radius: var(--radius-sm); font: inherit; font-size: 16px; background: var(--white); color: var(--ink); }
.input::placeholder, .textarea::placeholder { color: #8A8A87; }
.input:focus, .textarea:focus, .select:focus { outline: 2px solid var(--climb); outline-offset: 1px; border-color: transparent; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.signup { margin: 20px auto 0; max-width: 440px; }
.signup .input { flex: 1 1 220px; width: auto; }
.signup .btn { flex: 1 0 auto; min-height: 48px; font-size: 15px; }
@media (min-width: 481px) { .signup .btn { flex: 0 0 auto; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { width: 100%; margin: 4px 0 0; min-height: 22px; font-size: 14px; color: var(--body); }
.status.ok { color: #1F6F43; }
.status.err { color: var(--error); }
.field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.field label { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }
.stack { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.fine { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Footer */
.footer { width: 100%; margin-top: 72px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; }
.footer a { color: var(--muted); }

/* Simple pages */
.prose { width: 100%; text-align: left; }
.prose h2 { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--body); line-height: 1.7; }
