/* Camber website. G5 brand: asphalt ground, chalk type, kerb red only for accents. */
:root {
  --asphalt: #14161A;
  --asphalt-2: #191C21;
  --tarmac: #23262D;
  --line: #2E333B;
  --chalk: #F4F2EE;
  --chalk-dim: #A9ADB5;
  --chalk-faint: #6F747D;
  --kerb: #E3242B;
  --kerb-dark: #B3121A;
  --convoy: #3D8BFF;
  --radius: 12px;
  --wrap: 1160px;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--asphalt);
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-stretch: 125%; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 4.4vw, 52px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(21px, 2.2vw, 27px); }
h4 { font-size: 17px; font-stretch: 112%; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.small { font-size: 14px; color: var(--chalk-dim); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--chalk-dim); margin-bottom: 14px;
}
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 4px; margin: 0 10px 3px 0; vertical-align: middle;
  background: repeating-linear-gradient(90deg, var(--kerb) 0 6px, var(--chalk) 6px 12px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 10px; cursor: pointer;
  font: 700 16px/1 var(--sans); font-stretch: 112%; text-decoration: none;
  transform: skewX(-12deg);
  transition: background .15s, transform .15s;
}
.btn > * { transform: skewX(12deg); }
.btn-primary { background: var(--kerb); color: #fff; }
.btn-primary:hover { background: #F0353C; }
.btn-primary:active { transform: skewX(-12deg) translateY(1px); }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(20, 22, 26, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--chalk-dim); font-size: 15px; }
.nav-links a:hover { color: var(--chalk); }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-ridges { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 75%; object-fit: cover; object-position: bottom; opacity: .9; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.apex { display: inline-block; width: .2em; height: .2em; margin-left: .06em; border-radius: 50%; background: var(--kerb); }
.lede { font-size: 19px; color: var(--chalk-dim); max-width: 34em; margin-bottom: 28px; }

/* Waitlist form */
.waitlist { display: flex; flex-wrap: wrap; gap: 12px; max-width: 560px; }
.waitlist input, .waitlist select {
  flex: 1 1 240px; height: 52px; padding: 0 16px; border-radius: 10px;
  border: 1px solid #3F4550; background: var(--tarmac); color: var(--chalk);
  font: 16px var(--sans);
}
.waitlist select { flex: 0 1 230px; color: var(--chalk-dim); }
.waitlist input::placeholder { color: var(--chalk-faint); }
.waitlist input:focus, .waitlist select:focus { outline: 2px solid var(--convoy); outline-offset: 1px; border-color: transparent; }
.waitlist .btn { flex: 0 0 auto; }
.form-fine { flex-basis: 100%; font-size: 13px; color: var(--chalk-faint); }
.form-fine a { color: var(--chalk-dim); }
/* UX principle 1: the legal line next to every commit button; principle 3: helper text under fields. */
.form-legal { font-size: 12px; margin: 0; }
.form-legal a, .consent a { color: var(--chalk-dim); text-decoration: underline; }
.hint { display: block; font-size: 12.5px; font-weight: 400; color: var(--chalk-faint); margin: 2px 0 4px; }
.waitlist.done > .form-legal, .club-form.done .form-legal { display: none; }
.form-msg { flex-basis: 100%; font-size: 15px; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--chalk); }
.form-msg.ok::before { content: "✓ "; color: var(--kerb); font-weight: 700; }
.form-msg.err { color: #FF8A8E; }
.waitlist.done > input, .waitlist.done > select, .waitlist.done > .btn:not(.roadbook-link) { display: none; }

/* Store badges (coming soon) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 12px;
  border: 1px solid #3F4550; border-radius: 10px; text-decoration: none; color: var(--chalk);
  background: rgba(35, 38, 45, .6);
}
.store svg { width: 24px; height: 24px; }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 16px; line-height: 1.1; }
.store small { font-weight: 400; font-size: 11px; color: var(--chalk-dim); }
.stores-soon .store { opacity: .75; }
.store-note { margin-top: 12px; font-size: 14px; color: var(--chalk-faint); }

/* Phones */
.phone {
  margin: 0; border-radius: 36px; padding: 8px; background: #0B0C0E;
  box-shadow: 0 0 0 1px #3A3F48, 0 30px 60px rgba(0, 0, 0, .45);
}
.phone img { border-radius: 29px; width: 100%; height: auto; }
.hero-phones { position: relative; height: 560px; }
.hero-phones .phone { position: absolute; width: 250px; }
.phone-front { right: 40px; top: 0; z-index: 2; }
.phone-back { right: 230px; top: 50px; transform: rotate(-5deg); opacity: .55; }
.callout-chip {
  position: absolute; z-index: 3; right: 170px; bottom: 34px;
  background: var(--chalk); color: var(--asphalt); border-radius: 10px; padding: 10px 14px;
  font-size: 14px; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); border-left: 5px solid var(--kerb);
}
.callout-chip .mono { font-weight: 600; }
.callout-chip .dim { color: #5A5F68; }

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--asphalt-2); }
.strip-row { display: flex; justify-content: space-between; gap: 18px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.strip p { font-size: 15px; color: var(--chalk-dim); }
.strip strong { color: var(--chalk); }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--asphalt-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 + p { margin-top: 16px; color: var(--chalk-dim); font-size: 18px; }

/* Pain */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain { background: var(--tarmac); border-radius: var(--radius); padding: 24px; }
.pain-q { font-weight: 800; font-stretch: 112%; font-size: 19px; margin-bottom: 10px; }
.pain p:last-child { color: var(--chalk-dim); font-size: 15px; }
.pain-answer { margin-top: 32px; font-size: 20px; font-weight: 700; }
.pain-answer::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--kerb); margin-right: 12px; vertical-align: middle; }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-flip .feature-copy { order: 2; }
.feature-copy h3 { margin-bottom: 16px; }
.feature-copy > p { color: var(--chalk-dim); margin-bottom: 20px; }
.kicker { font-size: 13px; color: var(--kerb); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.feature-media { display: flex; justify-content: center; }
.feature-media .phone { width: 270px; }
.feature-pair { gap: 24px; }
.feature-pair .phone { width: 240px; }
.feature-pair .phone:nth-child(2) { margin-top: 56px; }
.convoy { width: 100%; max-width: 440px; height: auto; border-radius: 20px; box-shadow: 0 0 0 1px var(--line); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 6px; border-left: 2px solid var(--kerb); border-bottom: 2px solid var(--kerb); transform: rotate(-45deg); }

/* Grid of small features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--tarmac); border-radius: var(--radius); padding: 24px; }
.card h4 { margin-bottom: 8px; }
.card p { color: var(--chalk-dim); font-size: 15px; }
.car-shot { margin: 48px 0 0; }
.car-shot img { border-radius: 16px; box-shadow: 0 0 0 1px var(--line); width: 100%; max-width: 820px; margin: 0 auto; }
.car-shot figcaption { text-align: center; margin-top: 12px; font-size: 14px; color: var(--chalk-faint); }

/* Ways */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.way-num { font-size: 12px; letter-spacing: .1em; color: var(--kerb); margin-bottom: 10px; }
.way h3 { margin-bottom: 10px; }
.way p:last-child { color: var(--chalk-dim); }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
.principles h4 { font-size: 20px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.principles p { color: var(--chalk-dim); }
.kerb { flex: 0 0 auto; width: 20px; height: 8px; background: repeating-linear-gradient(90deg, var(--kerb) 0 5px, var(--chalk) 5px 10px); }

/* Offer stack */
.offer-section { background: linear-gradient(180deg, var(--asphalt) 0%, #1B1E23 100%); }
.offer-section .section-head { margin-bottom: 36px; }
.stack { max-width: 760px; border: 1px solid #3F4550; border-radius: 16px; overflow: hidden; }
.stack-row, .stack-total { display: flex; justify-content: space-between; gap: 20px; padding: 18px 24px; }
.stack-row + .stack-row { border-top: 1px solid var(--line); }
.stack-item { color: var(--chalk-dim); }
.stack-item strong { color: var(--chalk); }
.stack-val { color: var(--chalk-dim); white-space: nowrap; }
.stack-total { background: var(--tarmac); font-weight: 800; font-size: 20px; border-top: 1px solid #3F4550; }
.stack-total .mono { color: var(--kerb); }
.guarantee { display: flex; gap: 20px; align-items: center; max-width: 760px; margin: 28px 0 32px; padding: 20px 24px; border-radius: 16px; background: var(--tarmac); }
.guarantee img { flex: 0 0 auto; }
.guarantee p { color: var(--chalk-dim); }
.guarantee strong { color: var(--chalk); }
.waitlist-wide { max-width: 760px; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.price-main { border-color: var(--kerb); }
.price h3 { font-size: 20px; margin-bottom: 12px; }
.amount { font-size: 38px; font-weight: 800; font-stretch: 125%; }
.amount span { font-size: 15px; font-weight: 400; color: var(--chalk-dim); font-stretch: 100%; }
.amount-alt { color: var(--chalk-dim); font-size: 15px; }
.price .ticks { margin-top: 20px; }
.tiers { list-style: none; padding: 0; margin: 20px 0 16px; font-size: 13px; }
.tiers li { display: grid; grid-template-columns: 64px 1fr auto; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tiers li span:nth-child(2) { color: var(--chalk-dim); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--kerb); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--chalk-dim); }

/* CTA */
.cta { position: relative; padding: 110px 0 120px; overflow: hidden; text-align: center; }
.cta-ridges { position: absolute; inset: auto 0 0 0; width: 100%; height: 80%; object-fit: cover; object-position: bottom; pointer-events: none; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-mark { margin-bottom: 20px; }
.cta h2 { margin-bottom: 12px; }
.cta-inner > p { color: var(--chalk-dim); margin-bottom: 26px; }
.cta .waitlist { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-row img { height: 22px; width: auto; }
.footer nav { display: flex; gap: 22px; font-size: 15px; }
.footer nav a { color: var(--chalk-dim); text-decoration: none; }
.footer-small { margin-top: 24px; font-size: 12px; color: var(--chalk-faint); display: grid; gap: 6px; }

/* Legal page */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--chalk-dim); }
.legal p + p { margin-top: 12px; }

/* Hero extras */
.hero-alt { margin-top: 18px; font-size: 15px; }
.hero-alt a { color: var(--chalk); text-decoration-color: var(--kerb); text-underline-offset: 4px; }
.btn-ghost { background: transparent; color: var(--chalk); border: 1px solid #3F4550; height: 44px; padding: 0 18px; }
.btn-block { display: flex; width: 100%; }

/* Founding 100 */
.founding { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
.stack-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--chalk-faint); margin: 0 0 14px; }
.founding-main .ticks { margin-bottom: 32px; }
.founding-main .stack { max-width: none; }
.founding-side { position: sticky; top: 88px; display: grid; gap: 16px; }
.box { margin: 0; position: relative; background: #E9E6E0; border-radius: 16px; padding: 18px 18px 14px; }
.box img { width: 100%; height: auto; border-radius: 10px; }
.box .keyring { position: absolute; right: 10px; top: 52%; width: 150px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); transform: rotate(-8deg); }
.box figcaption { margin-top: 10px; color: #4A4F57; font-size: 13px; }
.spots { border: 1px solid #3F4550; border-radius: var(--radius); padding: 16px 18px; }
.spots-num { font: 800 34px/1 var(--sans); font-stretch: 125%; }
.spots-of { font-size: 16px; color: var(--chalk-dim); font-weight: 400; font-stretch: 100%; }
.spots-label { color: var(--chalk-dim); font-size: 14px; margin: 4px 0 12px; }
.spots-bar { height: 8px; border-radius: 4px; background: var(--tarmac); overflow: hidden; }
.spots-bar span { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--kerb) 0 10px, var(--chalk) 10px 20px); }
.spots.is-static .spots-num, .spots.is-static .spots-bar { display: none; }
.offer-section .guarantee { max-width: none; margin-bottom: 0; }

/* Founding Clubs */
.clubs { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start; }
.clubs h2 { margin-bottom: 14px; }
.clubs-lede { color: var(--chalk-dim); font-size: 18px; margin-bottom: 24px; }
.clubs-guarantee { margin-top: 24px; padding-left: 14px; border-left: 4px solid var(--kerb); color: var(--chalk-dim); }
.club-form { background: var(--tarmac); border-radius: 16px; padding: 24px; display: grid; gap: 14px; }
.club-form h3 { font-size: 20px; margin-bottom: 4px; }
.club-form label { display: grid; gap: 6px; font-size: 14px; color: var(--chalk-dim); }
.club-form input { height: 46px; padding: 0 12px; border-radius: 8px; border: 1px solid #3F4550; background: var(--asphalt); color: var(--chalk); font: 16px var(--sans); }
.club-form input:focus { outline: 2px solid var(--convoy); outline-offset: 1px; border-color: transparent; }
.club-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.clubs > *, .founding > * { min-width: 0; }
.club-form input { width: 100%; min-width: 0; }
.club-form.done label, .club-form.done .btn { display: none; }

@media (max-width: 980px) {
  .founding, .clubs { grid-template-columns: 1fr; }
  .founding-side { position: static; max-width: 460px; }
}

/* Responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-row .btn { margin-left: auto; }
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phones { height: 460px; }
  .hero-phones .phone { width: 200px; }
  .phone-front { right: auto; left: 50%; margin-left: -40px; }
  .phone-back { right: auto; left: 50%; margin-left: -190px; }
  .callout-chip { right: auto; left: 50%; transform: translateX(-60%); bottom: 10px; white-space: nowrap; }
  .pains { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature-flip .feature-copy { order: 0; }
  .grid, .ways, .prices { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .pains, .grid, .ways, .prices, .principles { grid-template-columns: 1fr; }
  .waitlist .btn, .waitlist select { flex: 1 1 100%; }
  .feature-pair .phone { width: 46%; }
  .feature-pair .phone:nth-child(2) { margin-top: 32px; }
  .feature-media .phone { max-width: 260px; }
  .stack-row, .stack-total { padding: 14px 16px; }
  .strip-row { justify-content: flex-start; }
  .strip p { flex: 1 1 40%; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .callout-chip { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Mailing-list consent (required on every form) */
.consent { flex-basis: 100%; display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--chalk-dim); cursor: pointer; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--kerb); }
.waitlist.done > .consent, .club-form.done .consent { display: none !important; }

/* Founding form extras */
.club-form select, .club-form textarea { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 8px; border: 1px solid #3F4550; background: var(--asphalt); color: var(--chalk); font: 16px var(--sans); }
.club-form select { height: 46px; }
.club-form textarea { resize: vertical; }
.club-form select:focus, .club-form textarea:focus { outline: 2px solid var(--convoy); outline-offset: 1px; border-color: transparent; }
.box .badge-num { position: absolute; right: 18px; top: 18px; background: var(--asphalt); color: var(--chalk); border-left: 5px solid var(--kerb); border-radius: 8px; padding: 6px 12px; font-size: 18px; font-weight: 600; }

/* Crew | Club toggle */
.toggle { display: inline-flex; padding: 4px; margin-bottom: 28px; border-radius: 12px; background: var(--tarmac); border: 1px solid var(--line); }
.toggle button { border: 0; background: transparent; color: var(--chalk-dim); font: 700 15px var(--sans); font-stretch: 112%; padding: 10px 26px; border-radius: 9px; cursor: pointer; }
.toggle button[aria-selected="true"] { background: var(--chalk); color: var(--asphalt); }
.prices[hidden] { display: none; }
.price-founding { background: linear-gradient(180deg, var(--tarmac), var(--asphalt-2)); }
.price-founding .btn { margin-top: 20px; }
.price .small { margin-top: 16px; }
.fee-note { grid-column: 1 / -1; }

/* Founding checkout form: structured address */
.address { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.address legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--chalk); }
.founding-form .consent { margin-top: -2px; }
.founding-form.done fieldset { display: none; }
.roadbook-link { flex: 0 0 auto; margin-top: 4px; }

/* The founders' wall: 100 numbered slots */
.wall { margin-top: 40px; }
.wall-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.wall-grid li { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 6px; border-radius: 8px; font-size: 12px;
  border: 1px solid var(--line); color: var(--chalk-faint); }
.wall-grid li.taken { background: var(--tarmac); border-color: #3F4550; color: var(--chalk); }
.wall-grid li.taken .mono { color: var(--kerb); }
.wall-grid li span:last-child:not(.mono) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .wall-grid { grid-template-columns: repeat(5, 1fr); } }
