/* OrbitalCab landing page
   Tokens ported from the handoff's "Organic" design system (design_handoff_orbitalcab_landing/styles.css).
   Layout values follow design_handoff_orbitalcab_landing/README.md section by section. */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-accent-2: #7a8a5e;
  --color-divider: rgba(32, 30, 29, 0.16);

  --color-neutral-100: #f9f4ed;
  --color-neutral-200: #eee7db;
  --color-neutral-300: #dcd3c4;
  --color-neutral-700: #645c50;
  --color-neutral-800: #474238;
  --color-neutral-900: #2e2b25;

  --color-accent-100: #fff2eb;
  --color-accent-200: #ffe1d0;
  --color-accent-300: #ffc6a5;
  --color-accent-600: #b2622d;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;
  --color-accent-900: #402310;

  --color-accent-2-100: #f0fae1;
  --color-accent-2-200: #e1eecc;
  --color-accent-2-300: #ccdbb2;
  --color-accent-2-700: #56633f;
  --color-accent-2-800: #3d472b;
  --color-accent-2-900: #272e1b;

  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-heading-weight: 400;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-md: 0 3px 10px rgba(46, 43, 37, 0.16);
  --shadow-lg: 0 12px 32px rgba(46, 43, 37, 0.22);

  --page-max: 1200px;
  --page-pad: clamp(20px, 5vw, 72px);
  --card-max: 880px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* Anchor targets land below the sticky nav (16px + pill + 16px ≈ 88px) instead of under it. */
#sites, #how { scroll-margin-top: 96px; }

body {
  margin: 0;
  background: #0b0d10;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  text-wrap: pretty;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  margin: 0;
}
p { margin: 0; }

a {
  color: var(--color-accent-700);
  text-decoration: none;
}
a:hover { color: var(--color-accent-800); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ── Background layers (fixed, behind everything) ───────────────────────── */
.bg-photo,
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
}
.bg-photo picture,
.bg-photo img {
  display: block;
  width: 100%;
  height: 100%;
}
.bg-photo img {
  object-fit: cover;
  object-position: 22% 35%;
}
.bg-overlay {
  background: linear-gradient(
    100deg,
    rgba(32, 30, 29, 0.82) 0%,
    rgba(32, 30, 29, 0.55) 45%,
    rgba(32, 30, 29, 0.10) 100%
  );
}

.page {
  position: relative;
  z-index: 1;
}

/* ── Shared ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 14px;
  line-height: 1.2;
  color: var(--color-text);
  background: transparent;
  border: 1px solid transparent;
  padding: 8.8px 15.8px;
  border-radius: 999px;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }

/* Cream-filled secondary; a transparent button is unreadable on the photo. */
.btn-cream { background: var(--color-bg); color: var(--color-text); }
.btn-cream:hover { background: var(--color-accent-100); color: var(--color-text); }
.btn-cream:active { background: var(--color-accent-200); }

.btn-lg {
  font-size: 16px;
  padding: 14px 28px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.kicker {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-700);
}

.card {
  border-radius: calc(2 * var(--radius-lg));
  box-shadow: var(--shadow-lg);
  max-width: var(--card-max);
}
.card-cream {
  background: var(--color-bg);
  padding: clamp(32px, 5vw, 72px);
}
.card-sage {
  background: var(--color-accent-2-100);
  padding: clamp(32px, 5vw, 64px);
}

/* ── Nav (sticky) ───────────────────────────────────────────────────────── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 16px clamp(16px, 4vw, 48px);
}
.nav {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  background: var(--color-bg);
  border-radius: 999px;
  padding: 10px 10px 10px 28px;
  box-shadow: var(--shadow-md);
}
.brand {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-text);
  margin-right: auto;
}
.nav-link {
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .nav-link { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(80px, 14vh, 160px) var(--page-pad) clamp(96px, 16vh, 180px);
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-title {
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.06;
  max-width: 12ch;
  margin-left: -0.028em;
}
.hero-title-line1,
.hero-title-line2 { display: block; }
.hero-title-line1 { color: var(--color-bg); }
.hero-title-line2 { color: var(--color-accent-300); }

.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-neutral-100);
  max-width: 52ch;
  margin-top: 32px;
}
.hero-actions { margin-top: 36px; }

/* ── Highlight circles (#sites) ─────────────────────────────────────────── */
.circles {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad) 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.circle {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.circle-title {
  font-family: var(--font-heading);
  line-height: 1.05;
}
.circle-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 12px;
}

.circle-a {
  width: 220px;
  padding: 28px;
  background: var(--color-bg);
}
.circle-a .circle-title { font-size: 34px; color: var(--color-accent-700); }
.circle-a .circle-label { color: var(--color-neutral-700); }

.circle-b {
  width: 260px;
  padding: 28px;
  background: var(--color-accent-2-200);
  margin-top: 48px;
}
.circle-b .circle-title { font-size: 36px; color: var(--color-accent-2-800); }
.circle-b .circle-label { color: var(--color-accent-2-900); }

.circle-c {
  width: 190px;
  padding: 24px;
  background: var(--color-accent-200);
}
.circle-c .circle-title { font-size: 30px; color: var(--color-accent-800); }
.circle-c .circle-label { color: var(--color-accent-900); }

/* ── How it works (#how) ────────────────────────────────────────────────── */
.how {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad) 96px;
}
.how .kicker { margin-bottom: 28px; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 40px;
}
.step {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.step-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 6px;
}
.step-dot-terracotta { background: var(--color-accent); }
.step-dot-sage { background: var(--color-accent-2); }

.step-title {
  font-size: 28px;
  line-height: 1.15;
}
.step-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-neutral-700);
  max-width: 56ch;
  margin-top: 10px;
}

/* ── Quote / contact card ───────────────────────────────────────────────── */
.quote {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad) 64px;
}
.quote-title {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
}
.quote-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-neutral-700);
  max-width: 52ch;
  margin-top: 12px;
}
.quote-actions { margin-top: 28px; }
.quote-email {
  align-self: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-accent-2-800);
}
.quote-email:hover { color: var(--color-accent-2-900); }

/* ── Footer + disclaimer ────────────────────────────────────────────────── */
.footer {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 24px var(--page-pad) 48px;
  font-size: 14px;
  color: var(--color-neutral-200);
}
.footer a { color: var(--color-neutral-100); }
.footer a:hover { color: #ffffff; }
.footer-disclaimer {
  margin-top: 16px;
  max-width: 72ch;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-neutral-200);
}
.footer-disclaimer a { text-decoration: underline; }
