:root {
  --bg: #fdfcf9;
  --bg-soft: #f5f1e8;
  --bg-strong: #1a2f24;
  --card: #ffffff;
  --border: #e4dfd2;
  --border-soft: #efeadd;
  --ink: #14241c;
  --ink-soft: #2d4438;
  --muted: #5a6b62;
  --muted-light: #8a958e;
  --primary: #1f6b4a;
  --primary-dark: #154d36;
  --primary-soft: #2e8a63;
  --accent: #c5a572;
  --accent-soft: #d9bf94;
  --shadow-sm: 0 1px 2px rgba(20, 36, 28, 0.04), 0 2px 4px rgba(20, 36, 28, 0.04);
  --shadow-md: 0 4px 8px rgba(20, 36, 28, 0.06), 0 12px 32px rgba(20, 36, 28, 0.08);
  --shadow-lg: 0 8px 16px rgba(20, 36, 28, 0.08), 0 24px 60px rgba(20, 36, 28, 0.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; font-family: "Inter", sans-serif; letter-spacing: -0.01em; font-weight: 600; }
h4 { font-size: 0.95rem; font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }

p { margin: 0 0 1em; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* eyebrow + section titles */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 0.85rem;
}
.eyebrow.center { text-align: center; display: block; }
.section-title {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 0.75rem;
}
.section-sub {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--muted);
  font-size: 1.1rem;
}

/* buttons */
.btn-primary, .btn-secondary, .btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--ink);
  color: var(--ink);
}
.btn-text {
  background: transparent;
  color: var(--ink);
  padding: 0.5rem 0.75rem;
}
.btn-text:hover { color: var(--primary); background: var(--bg-soft); }
.btn-text-light {
  color: var(--card);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
}
.btn-text-light:hover { color: var(--accent-soft); }

.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 249, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
}
.brand:hover { color: var(--primary); }
.brand-logo { height: 36px; width: auto; display: block; }
.footer-brand .brand-logo { height: 32px; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; gap: 0.5rem; align-items: center; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
  gap: 0.85rem;
}
.nav-mobile a {
  color: var(--ink-soft);
  font-weight: 500;
  padding: 0.4rem 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile .btn-primary { margin-top: 0.5rem; align-self: stretch; }

/* ---------- hero ---------- */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(31, 107, 74, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-copy { max-width: 580px; }
.hero h1 { margin-bottom: 1rem; }
.lede {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.hero-fineprint {
  font-size: 0.85rem;
  color: var(--muted-light);
  margin: 0;
}

/* mock dashboard */
.hero-mock { position: relative; }
.mock-window {
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: rotate(0.5deg);
  transition: transform 0.4s ease;
}
.mock-window:hover,
.mock-window:active,
.mock-window.mock-tapped { transform: rotate(0deg) scale(1.01); }

.mock-titlebar {
  background: #f0ece3;
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.mock-dot {
  width: 11px; height: 11px; border-radius: 50%;
  display: inline-block;
}
.mock-dot-r { background: #ff6259; }
.mock-dot-y { background: #ffc02e; }
.mock-dot-g { background: #28cd41; }
.mock-url {
  margin-left: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: "SF Mono", Menlo, monospace;
}

.mock-body { display: grid; grid-template-columns: 140px 1fr; min-height: 380px; }
.mock-side {
  background: var(--bg-soft);
  padding: 1rem 0.6rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.mock-side-item {
  padding: 0.4rem 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
  border-radius: 5px;
}
.mock-side-item.active { background: var(--card); color: var(--primary); font-weight: 600; }

.mock-main { padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.mock-kpi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mock-kpi-label { font-size: 0.7rem; color: var(--muted); }
.mock-kpi-val { font-size: 1.1rem; font-weight: 700; color: var(--ink); font-family: "Fraunces", serif; }
.mock-kpi-delta { font-size: 0.7rem; color: var(--primary); font-weight: 600; }

.mock-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.75rem;
}
.mock-chart-title, .mock-list-title {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}
.mock-bars > div {
  flex: 1;
  background: linear-gradient(180deg, var(--primary-soft), var(--primary));
  border-radius: 3px 3px 0 0;
  min-height: 8px;
}
.mock-list-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.78rem;
}
.mock-list-row + .mock-list-row { border-top: 1px solid var(--border-soft); }
.mock-pill {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 999px;
  text-align: center;
}
.mock-pill-blue { background: #dbeafe; color: #1d4ed8; }
.mock-pill-orange { background: #fed7aa; color: #c2410c; }
.mock-pill-green { background: #d1fae5; color: #047857; }
.mock-time { color: var(--muted); font-family: "SF Mono", Menlo, monospace; font-size: 0.72rem; }

/* ---------- proof strip ---------- */
.proof {
  padding: 3rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--card);
}
.proof-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}
.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.proof-num {
  font-family: "Fraunces", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}
.proof-text {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 280px;
}

/* ---------- numbers strip ---------- */
.numbers {
  padding: 4rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--card);
}
.numbers-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 2.5rem;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.number-card {
  text-align: center;
  padding: 0 0.5rem;
}
.number-val {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.number-val span { font-size: 0.55em; color: var(--muted); font-weight: 500; }
.number-key {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.number-sub {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 240px;
  margin: 0 auto;
}

/* ---------- deep dives ---------- */
.deep-dive {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.deep-dive:nth-of-type(even) { background: var(--bg-soft); }
.deep-dive-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.deep-dive-alt .deep-dive-inner { direction: rtl; }
.deep-dive-alt .deep-dive-inner > * { direction: ltr; }
.deep-dive-text h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin: 0.5rem 0 1rem;
}
.deep-dive-text p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  line-height: 1.65;
}
.dd-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dd-list li {
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}
.dd-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.45rem;
  color: var(--primary);
  font-weight: 700;
}
.deep-dive-mock { display: flex; justify-content: center; }
.mock-tilt-l { transform: rotate(-1deg); }
.mock-tilt-r { transform: rotate(1deg); }
.mock-tilt-l:hover, .mock-tilt-l:active, .mock-tilt-l.mock-tapped,
.mock-tilt-r:hover, .mock-tilt-r:active, .mock-tilt-r.mock-tapped { transform: rotate(0); }
.deep-dive-mock .mock-window {
  width: 100%;
  max-width: 480px;
  transition: transform 0.4s ease;
}

/* schedule mockup */
.sched-grid {
  display: grid;
  grid-template-columns: 90px repeat(5, 1fr);
  gap: 1px;
  padding: 0.75rem;
  background: var(--bg-soft);
}
.sched-corner, .sched-day, .sched-crew, .sched-cell {
  background: var(--card);
  padding: 0.45rem 0.4rem;
  font-size: 0.7rem;
  min-height: 36px;
}
.sched-day { text-align: center; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.65rem; }
.sched-crew { font-weight: 600; color: var(--ink); display: flex; align-items: center; font-size: 0.72rem; }
.sched-chip {
  display: block;
  padding: 0.22rem 0.35rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chip-blue { background: #dbeafe; color: #1d4ed8; border-left: 2px solid #2563eb; }
.chip-orange { background: #fed7aa; color: #c2410c; border-left: 2px solid #ea580c; }
.chip-green { background: #d1fae5; color: #047857; border-left: 2px solid #059669; }

/* fleet mockup */
.fleet-body { padding: 1rem 1.1rem 1.25rem; }
.fleet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.85rem; }
.fleet-title { display: flex; flex-direction: column; gap: 0.1rem; }
.fleet-truck { font-weight: 700; font-size: 1rem; color: var(--ink); }
.fleet-plate { font-family: "SF Mono", Menlo, monospace; font-size: 0.72rem; color: var(--muted); }
.fleet-status {
  background: #d1fae5;
  color: #047857;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}
.fleet-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.fleet-kpi { background: var(--bg-soft); border-radius: 6px; padding: 0.55rem 0.6rem; }
.fleet-kpi span { font-size: 0.65rem; color: var(--muted); display: block; }
.fleet-kpi strong { font-size: 0.95rem; color: var(--ink); font-family: "Fraunces", serif; font-weight: 600; }
.fleet-dvir { background: var(--bg-soft); border-radius: 8px; padding: 0.75rem 0.85rem; }
.fleet-dvir-title { font-size: 0.72rem; color: var(--muted); font-weight: 600; margin-bottom: 0.5rem; }
.fleet-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; padding: 0.2rem 0; color: var(--ink); }
.dvir-ok { color: #047857; font-weight: 700; }
.dvir-bad { color: #c2410c; font-weight: 700; }

/* estimate mockup */
.est-body { padding: 1rem 1.1rem 1rem; }
.est-head {
  background: var(--primary);
  color: white;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.est-co { font-family: "Fraunces", serif; font-weight: 600; font-size: 0.95rem; }
.est-num { font-family: "SF Mono", Menlo, monospace; font-size: 0.7rem; opacity: 0.85; }
.est-customer { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.75rem; }
.est-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; margin-bottom: 0.75rem; }
.est-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 0.4rem 0.3rem; border-bottom: 1px solid var(--border); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; }
.est-table th:nth-child(2), .est-table th:nth-child(3) { text-align: right; }
.est-table td { padding: 0.42rem 0.3rem; color: var(--ink); border-bottom: 1px solid var(--border-soft); }
.est-table td:nth-child(2), .est-table td:nth-child(3) { text-align: right; font-family: "SF Mono", Menlo, monospace; font-size: 0.74rem; }
.est-total { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0.3rem; font-size: 0.95rem; margin-bottom: 0.85rem; }
.est-total strong { font-family: "Fraunces", serif; font-size: 1.2rem; color: var(--primary); font-weight: 600; }
.est-actions { display: flex; gap: 0.5rem; }
.est-btn { font-size: 0.72rem; padding: 0.45rem 0.7rem; border-radius: 5px; font-weight: 600; background: var(--bg-soft); color: var(--ink); }
.est-btn-primary { background: var(--primary); color: white; }

/* phone mockup */
.phone-mock {
  width: 280px;
  height: 540px;
  background: #1a2f24;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #0f1f17;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}
.phone-pill {
  background: #fed7aa;
  color: #c2410c;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
}
.pill-yellow { background: #fef3c7; color: #b45309; }
.phone-content { padding: 0.5rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.phone-title { font-family: "Fraunces", serif; font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; }
.phone-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0.85rem 0.95rem; box-shadow: var(--shadow-sm); }
.phone-active { background: linear-gradient(135deg, #1f6b4a, #154d36); color: white; border: none; }
.phone-active .phone-label, .phone-active .phone-meta { color: rgba(255,255,255,0.85); }
.phone-kpi { font-family: "Fraunces", serif; font-size: 2rem; font-weight: 600; line-height: 1; margin-bottom: 0.35rem; }
.phone-label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.phone-meta { font-size: 0.7rem; color: var(--muted); margin-top: 0.4rem; }
.phone-row { display: flex; justify-content: space-between; align-items: center; padding: 0.32rem 0; font-size: 0.78rem; color: var(--ink); }
.phone-row + .phone-row { border-top: 1px solid var(--border-soft); }
.phone-tag { font-size: 0.65rem; font-weight: 700; padding: 0.18rem 0.45rem; border-radius: 999px; }
.tag-good { background: #d1fae5; color: #047857; }
.tag-pending { background: #fef3c7; color: #b45309; }
.phone-soft { background: var(--bg-soft); border-color: var(--border-soft); }
.phone-soft .phone-label { color: var(--muted); font-size: 0.72rem; font-weight: 500; }

/* ---------- features ---------- */
.features { padding: 6rem 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.feature-icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.feature p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
}

/* ---------- how it works ---------- */
.how {
  padding: 6rem 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.how-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.how-step {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
}
.how-num {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.how-step h3 {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.how-step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- pricing ---------- */
.pricing { padding: 6rem 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1050px;
  margin: 0 auto;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan h3 {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.plan-price {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.plan-price strong {
  font-size: 2.4rem;
  color: var(--ink);
  font-weight: 600;
}
.plan-price span { font-size: 0.95rem; }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex: 1;
}
.plan-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.93rem;
  color: var(--ink-soft);
  position: relative;
  padding-left: 1.5rem;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.plan-cta { align-self: stretch; }
.plan-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq { padding: 6rem 0; background: var(--bg-soft); border-top: 1px solid var(--border-soft); }
.faq-list { max-width: 760px; margin: 2rem auto 0; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s;
  margin-left: 1rem;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ---------- final CTA (bold ArborSmart) ---------- */
.cta-final {
  padding: 6rem 0;
  background: var(--bg-strong);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 138, 99, 0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-final h2 {
  color: white;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.cta-final > * { position: relative; z-index: 1; }
.cta-final p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border-soft);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .brand { margin-bottom: 0.75rem; }
.footer-tag {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 360px;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 { margin-bottom: 1rem; }
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.25rem 0;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 1.5rem;
}
.footer-bottom p {
  color: var(--muted-light);
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-mock { order: 2; max-width: 580px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-dive-inner { grid-template-columns: 1fr; gap: 3rem; }
  .deep-dive-alt .deep-dive-inner { direction: ltr; }
  .how-row { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .plan-featured { transform: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; gap: 2rem; }
  .how-row { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 3rem; }
  .features, .how, .pricing, .faq, .cta-final, .deep-dive, .numbers { padding: 3.5rem 0; }
  .lede { font-size: 1.05rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }

  /* mock dashboard tightening for small screens */
  .mock-body { grid-template-columns: 100px 1fr; min-height: 320px; }
  .mock-side-item { font-size: 0.7rem; padding: 0.32rem 0.45rem; }
  .mock-kpi-label { font-size: 0.62rem; }
  .mock-kpi-val { font-size: 0.95rem; }
  .mock-kpi-delta { font-size: 0.62rem; }
  .mock-list-row { grid-template-columns: 64px 1fr auto; font-size: 0.7rem; gap: 0.4rem; }

  /* schedule mockup — chips were overflowing on phones */
  .sched-grid { grid-template-columns: 56px repeat(5, minmax(0, 1fr)); padding: 0.55rem; gap: 1px; }
  .sched-crew { font-size: 0.6rem; padding: 0.3rem 0.25rem; }
  .sched-day { font-size: 0.55rem; padding: 0.32rem 0.2rem; }
  .sched-cell { padding: 0.28rem 0.18rem; }
  .sched-chip { font-size: 0.55rem; padding: 0.18rem 0.2rem; }

  /* fleet mockup — tighten on phones */
  .fleet-body { padding: 0.7rem 0.8rem 0.9rem; }
  .fleet-truck { font-size: 0.85rem; }
  .fleet-kpi span { font-size: 0.55rem; }
  .fleet-kpi strong { font-size: 0.85rem; }
  .fleet-row { font-size: 0.7rem; }
  .fleet-dvir-title { font-size: 0.65rem; }

  /* estimate mockup — narrower table */
  .est-body { padding: 0.7rem 0.85rem; }
  .est-co { font-size: 0.85rem; }
  .est-customer { font-size: 0.7rem; }
  .est-table { font-size: 0.72rem; }
  .est-table th { font-size: 0.62rem; }
  .est-table td:nth-child(2), .est-table td:nth-child(3) { font-size: 0.66rem; }
  .est-total strong { font-size: 1rem; }
  .est-btn { font-size: 0.66rem; padding: 0.4rem 0.55rem; }

  /* phone mockup — fits well on actual phones */
  .phone-mock { width: 240px; height: 460px; }
  .phone-kpi { font-size: 1.6rem; }
  .phone-title { font-size: 1rem; }

  /* deep-dive layout polish */
  .deep-dive-text h2 { font-size: clamp(1.45rem, 4vw, 1.85rem); }
  .deep-dive-text p { font-size: 0.98rem; }
  .dd-list li { font-size: 0.9rem; }

  /* numbers strip — smaller number sizes on phones */
  .number-val { font-size: clamp(2rem, 7vw, 2.6rem); }
  .number-sub { font-size: 0.82rem; }

  /* tighten the pricing card */
  .plan { padding: 1.5rem 1.3rem; }
  .plan-price strong { font-size: 2rem; }

  /* hero polish */
  h1 { font-size: clamp(1.85rem, 7vw, 2.5rem); }
}
