:root {
  --cream: #faf8f5;
  --green: #10b981;
  --green-hover: #059669;
  --green-deep: #065f46;
  --ochre: #e6b470;
  --ink: #18181b;
  --muted: #52525b;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 12px 32px rgba(0, 0, 0, 0.08);
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--green-deep);
  text-decoration: none;
}

a:hover {
  color: var(--green-hover);
}

/* ---------- Layout helpers ---------- */
.site-header,
.hero,
.doors,
.ground,
.vendors,
.site-footer {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 10px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark-text {
  font-size: 1.18rem;
}

.sun-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16), 0 0 14px rgba(16, 185, 129, 0.55);
  flex: none;
}

.header-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.header-link:hover {
  color: var(--green-hover);
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding-top: 72px;
  padding-bottom: 64px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-hover);
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 auto 22px;
  max-width: 14ch;
}

.hero .hl {
  position: relative;
  white-space: nowrap;
  color: var(--green-deep);
}

.hero .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.16em;
  background: var(--ochre);
  border-radius: 2px;
  opacity: 0.85;
}

.subhead {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto;
}

/* ---------- The doors ---------- */
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-top: 16px;
  padding-bottom: 24px;
}

.door {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px 36px 40px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(24, 24, 27, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.door:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.door-glow {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 70%);
  pointer-events: none;
}

.door:last-child .door-glow {
  background: radial-gradient(circle, rgba(230, 180, 112, 0.22), transparent 70%);
}

.door-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 14px;
}

.door h2 {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-weight: 800;
}

.door h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: var(--ochre);
}

.door-body {
  color: var(--muted);
  margin: 16px 0 18px;
  font-size: 1.02rem;
}

.door-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.door-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.97rem;
}

.door-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* push CTA to bottom for equal-height cards */
.door .btn {
  margin-top: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.28);
}

.btn-primary:hover {
  background: var(--green-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.38);
}

.btn-accent {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 18px rgba(24, 24, 27, 0.18);
}

.btn-accent:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(24, 24, 27, 0.26);
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ochre);
  color: #4a3209;
}

/* ---------- Ground truth ---------- */
.ground {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 40px;
}

.ground-copy h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 14px 0 18px;
  max-width: 18ch;
}

.ground-copy > p {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 0 0 18px;
}

.ground-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.ground-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.99rem;
}

.ground-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.ground-foot {
  margin: 0;
  color: var(--muted);
  font-size: 0.99rem;
}

.ground-foot strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Fleet-health mock card ---------- */
.mock-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(24, 24, 27, 0.06);
  padding: 22px 22px 18px;
  font-size: 0.92rem;
}

.mock-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(24, 24, 27, 0.07);
}

.mock-title {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.mock-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(24, 24, 27, 0.05);
}

.mock-light {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: none;
}

.mock-light.is-green {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16), 0 0 8px rgba(16, 185, 129, 0.6);
}

.mock-light.is-amber {
  background: var(--ochre);
  box-shadow: 0 0 0 3px rgba(230, 180, 112, 0.2), 0 0 8px rgba(230, 180, 112, 0.7);
}

.mock-light.is-red {
  background: #e0524b;
  box-shadow: 0 0 0 3px rgba(224, 82, 75, 0.16), 0 0 8px rgba(224, 82, 75, 0.55);
}

.mock-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.mock-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
}

.mock-state {
  font-size: 0.78rem;
  font-weight: 600;
}

.state-green { color: var(--green-hover); }
.state-amber { color: #b07a1f; }
.state-red { color: #c5403a; }

.mock-val {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}

.mock-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--muted);
}

.mock-foot-val {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--green-deep);
}

/* ---------- Vendor strip ---------- */
.vendors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  justify-content: center;
  padding-top: 28px;
  padding-bottom: 64px;
}

.vendors-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
}

.vendor-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.vendor-badges li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid rgba(24, 24, 27, 0.08);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.vendor-badges .vendor-more {
  background: transparent;
  border: 1px dashed rgba(24, 24, 27, 0.18);
  box-shadow: none;
  color: var(--muted);
  font-weight: 500;
  font-style: italic;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 56px;
  border-top: 1px solid rgba(24, 24, 27, 0.08);
  margin-top: 8px;
  color: var(--muted);
}

.site-footer p {
  margin: 6px 0;
  font-size: 0.92rem;
}

.footer-brand {
  font-weight: 500;
  color: var(--ink);
}

.footer-links a {
  color: var(--green-deep);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--green-hover);
}

.dot {
  color: var(--ochre);
  margin: 0 6px;
}

/* ---------- Entrance animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* small stagger for the door grid */
.doors .door:nth-child(2) {
  transition-delay: 0.08s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .door:hover,
  .btn:hover {
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .doors {
    grid-template-columns: 1fr;
  }
  .ground {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
  }
  .ground-copy h2 {
    max-width: none;
  }
  .hero {
    padding-top: 52px;
    padding-bottom: 44px;
  }
  .door {
    padding: 30px 26px 32px;
  }
}
