:root {
  --paper: #ffffff;
  --paper-soft: #f5f8f3;
  --ink: #172019;
  --muted: #5f6c61;
  --line: #dce6d8;
  --green: #27733a;
  --green-deep: #123d21;
  --lime: #bddc50;
  --amber-soft: #fff3d6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.site-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 20px max(18px, calc((100vw - 1240px) / 2));
  color: #ffffff;
  background: url("assets/truck-hero-1600.webp") center right / cover no-repeat;
}

.site-hero::before {
  position: absolute;
  inset: 0;
  background: rgba(6, 24, 14, 0.76);
  content: "";
}

.site-nav,
.hero-content { position: relative; z-index: 1; }

.site-nav {
  display: flex;
  width: min(1240px, 100%);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  text-decoration: none;
}

.site-brand img {
  width: 48px;
  height: 48px;
  padding: 3px;
  border-radius: 6px;
  background: #ffffff;
}

.site-brand strong { font-size: 1.04rem; }
.site-nav-links { display: flex; align-items: center; gap: 22px; }
.site-nav-links a { color: rgba(255,255,255,.82); font-size: .88rem; font-weight: 800; text-decoration: none; }
.site-nav-links a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 5px; }
.site-nav-links .nav-login { min-height: 40px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.5); border-radius: 6px; color: #ffffff; }

.hero-content {
  display: flex;
  min-height: 670px;
  width: min(1240px, 100%);
  margin-inline: auto;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow,
.kicker {
  margin: 0;
  color: var(--green);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow { color: var(--lime); }
.hero-content h1 { max-width: 810px; margin: 16px 0 20px; font-size: 4rem; line-height: 1.02; letter-spacing: 0; }
.hero-lead { max-width: 690px; margin: 0; color: rgba(255,255,255,.82); font-size: 1.12rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary { background: var(--lime); color: #17301d; }
.button.primary:hover { background: #cbe764; }
.button.secondary { border: 1px solid rgba(255,255,255,.48); color: #ffffff; }
.button.secondary:hover { border-color: #ffffff; }

.hero-points {
  display: grid;
  width: min(760px, 100%);
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin: 38px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,.25);
  list-style: none;
}

.hero-points strong,
.hero-points span { display: block; }
.hero-points strong { margin-bottom: 3px; color: var(--lime); font-size: .85rem; }
.hero-points span { color: rgba(255,255,255,.72); font-size: .79rem; line-height: 1.4; }

.section,
.workflow-band,
.resource-band,
.site-footer { width: min(1240px, 100%); margin-inline: auto; }
.section { padding: 92px 52px; }
.section-heading { max-width: 790px; }
.section-heading h2,
.workflow-copy h2,
.split-feature h2,
.pricing h2 { margin: 10px 0 15px; color: var(--green-deep); font-size: 3rem; line-height: 1.08; letter-spacing: 0; }
.section-heading > p:not(.kicker),
.split-feature > div > p:not(.kicker),
.pricing > div > p { color: var(--muted); line-height: 1.7; }

.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 42px; }
.feature-card {
  display: block;
  min-height: 285px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
  text-decoration: none;
}
.feature-card:hover { border-color: #9fbc98; }
.feature-card > span { color: var(--green); font-size: .74rem; font-weight: 900; }
.feature-card h3 { margin: 50px 0 11px; color: var(--green-deep); font-size: 1.35rem; }
.feature-card p { margin: 0 0 22px; color: var(--muted); line-height: 1.6; }
.feature-card b { color: var(--green); font-size: .84rem; text-decoration: underline; text-underline-offset: 4px; }

.workflow-band {
  display: grid;
  grid-template-columns: minmax(280px,.82fr) minmax(460px,1.18fr);
  align-items: center;
  gap: 72px;
  max-width: none;
  padding: 94px max(18px, calc((100vw - 1136px) / 2));
  background: #edf4e9;
}
.workflow-list { display: grid; gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 34px 1fr; gap: 13px; }
.workflow-list li > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; }
.workflow-list strong { color: var(--green-deep); }
.workflow-list p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }

.dashboard-preview { min-width: 0; padding: 20px; border: 1px solid #cfddca; border-radius: 8px; background: #ffffff; box-shadow: 0 22px 55px rgba(19,63,34,.12); }
.preview-header,
.preview-trip,
.preview-notice { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.preview-header { padding-bottom: 16px; color: var(--green-deep); }
.preview-header span { color: var(--muted); font-size: .8rem; }
.preview-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.preview-stats div { min-width: 0; padding: 14px; border-radius: 6px; background: var(--paper-soft); }
.preview-stats span,
.preview-stats b { display: block; }
.preview-stats span { color: var(--muted); font-size: .72rem; font-weight: 800; }
.preview-stats b { margin-top: 8px; overflow-wrap: anywhere; color: var(--green-deep); }
.preview-stats .profit { background: #e8f4e2; }
.preview-trip { margin-top: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; }
.preview-trip div > * { display: block; }
.preview-trip small,
.preview-trip div span { color: var(--muted); font-size: .72rem; }
.preview-trip div strong { margin: 5px 0; color: var(--green-deep); }
.preview-trip > b { flex: 0 0 auto; padding: 7px 9px; border-radius: 999px; background: var(--amber-soft); color: #704700; font-size: .7rem; }
.preview-notice { margin-top: 12px; padding: 13px 15px; border-left: 3px solid var(--lime); background: #f5f8ee; font-size: .78rem; }
.preview-notice span { color: var(--muted); }

.split-feature { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); align-items: center; gap: 80px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; }
.inline-links a { color: var(--green); font-weight: 850; text-underline-offset: 4px; }
.check-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 16px 18px 16px 46px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper-soft); font-weight: 750; }
.check-list li::before { position: absolute; margin-left: -27px; color: var(--green); content: "✓"; font-weight: 900; }

.resource-band { max-width: none; padding: 88px max(18px, calc((100vw - 1136px) / 2)); background: #f5f8f3; }
.resource-links { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin-top: 36px; }
.resource-links a { min-width: 0; padding: 21px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; }
.resource-links a:hover { border-color: #9fbc98; }
.resource-links strong,
.resource-links span { display: block; }
.resource-links strong { color: var(--green-deep); font-size: .96rem; }
.resource-links span { margin-top: 9px; color: var(--muted); font-size: .82rem; line-height: 1.45; }

.faq-list { display: grid; gap: 10px; max-width: 900px; margin-top: 36px; }
.faq-list details { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.faq-list summary { padding: 19px 21px; color: var(--green-deep); cursor: pointer; font-weight: 850; }
.faq-list p { margin: 0; padding: 0 21px 21px; color: var(--muted); line-height: 1.65; }

.pricing { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,430px); align-items: center; gap: 80px; margin-bottom: 70px; border-radius: 8px; background: var(--green-deep); color: #fff; }
.pricing h2,
.pricing .kicker { color: #fff; }
.pricing > div > p,
.pricing > div > small { color: rgba(255,255,255,.75); }
.price-box { padding: 26px; border-radius: 8px; background: #fff; color: var(--ink); }
.price-box > span { color: var(--muted); font-size: .78rem; font-weight: 850; text-transform: uppercase; }
.price-box > div { display: flex; align-items: baseline; gap: 9px; margin: 14px 0; }
.price-box > div strong { color: var(--green-deep); font-size: 2.35rem; }
.price-box > div small { color: var(--muted); }
.price-box > p { display: flex; justify-content: space-between; gap: 15px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .84rem; }
.price-box .price-total { display: block; }
.price-box > small { display: block; color: var(--muted); line-height: 1.45; }
.price-box .button { width: 100%; margin-top: 18px; }

.site-footer { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr; gap: 36px; padding: 46px 52px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.site-footer > div,
.site-footer nav { display: flex; align-items: flex-start; flex-direction: column; gap: 9px; }
.site-footer strong,
.footer-brand { color: var(--green-deep); font-weight: 900; }
.site-footer a { text-underline-offset: 3px; }
.site-footer p { margin: 0; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-card h3 { margin-top: 26px; }
  .workflow-band,
  .split-feature,
  .pricing { grid-template-columns: 1fr; gap: 46px; }
  .resource-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-footer { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .site-hero { min-height: 730px; padding: 16px 18px; background-image: url("assets/truck-hero-900.webp"); background-position: center; }
  .site-nav-links a:not(.nav-login) { display: none; }
  .hero-content { min-height: 640px; }
  .hero-content h1 { font-size: 2.55rem; line-height: 1.04; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-points { grid-template-columns: 1fr; gap: 12px; }
  .section { padding: 70px 18px; }
  .section-heading h2,
  .workflow-copy h2,
  .split-feature h2,
  .pricing h2 { font-size: 2.15rem; }
  .workflow-band,
  .resource-band { padding: 70px 18px; }
  .preview-stats { grid-template-columns: 1fr; }
  .preview-trip,
  .preview-notice { align-items: flex-start; flex-direction: column; }
  .resource-links { grid-template-columns: 1fr; }
  .pricing { margin-bottom: 0; border-radius: 0; }
  .price-box > p { flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; padding: 40px 18px; }
}
