:root {
  --green: #1f7a4d;
  --green-dark: #145c38;
  --green-deep: #0f3d27;
  --blue: #1e88d6;
  --accent: #ff8a3d;
  --accent-hover: #ff9d57;
  --text: #1b2620;
  --muted: #61726a;
  --border: #e2ece4;
  --shadow: 0 14px 34px rgba(20,70,44,0.10);
  --cardshadow: 30px 14px 34px rgba(24, 83, 52, 0.8);
  --shadow-lg: 0 30px 66px rgba(14,40,26,0.20);
  --radius: 16px;
  --radius-sm: 11px;
  --bg-mint: #eef6f0;
  --bg-sage: #e4efe6;
  --bg-cream: #f7f4ec;
  /* consistent type scale (Times New Roman) */
  --font-body: "Times New Roman", Times, Georgia, serif;
  --font-logo: "Cloister Black", sans-serif;
  --fs-body: 1.1rem;
  --fs-small: 0.9rem;
  --fs-h1: clamp(2.6rem, 6vw, 4.6rem);
  --fs-h2: clamp(2rem, 3.6vw, 3rem);
  --fs-h3: 1.35rem;
  --fs-eyebrow: 0.9rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fff; font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: var(--font-body); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.container { width: calc(100% - 40px); max-width: 1120px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- SLIM NAV (Apple-like) ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,0.82); border-bottom: 1px solid rgba(226,236,228,0.9); backdrop-filter: blur(16px); }
.nav { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--green-dark); }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; color: var(--green); flex: 0 0 auto; }
.brand-mark svg { display: block; }
/* Range-Rover style wordmark: letter-spaced, light, distinctive */
.brand-name { font-family: var(--font-logo); font-weight: 700; font-size: 1.04rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green-dark); padding-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 18px; color: #37473f; font-size: 1.05rem; font-weight: 600; }
.nav-links a:hover { color: var(--green); }
.nav-cta { padding: 7px 15px; border-radius: 999px; color: #fff; background: var(--green); font-weight: 700; }
.nav-links .nav-cta:hover { background: var(--green-dark); color: #fff; }
.menu-toggle { display: none; width: 38px; height: 38px; padding: 9px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--green-dark); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 82vh;  overflow: hidden; color: #fff; text-align: center; padding-bottom: 70px; }
.hero-carousel, .hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; opacity: 0; transition: opacity 1.1s ease; filter: saturate(1.08); }
.hero-image.is-active { opacity: 1; }
.hero-image.zoom-in.is-active { animation: kb-in 7s ease forwards; }
.hero-image.zoom-out.is-active { animation: kb-out 7s ease forwards; }
@keyframes kb-in { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes kb-out { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-overlay {
  z-index: 1;
  background:
    /* soft green brand wash over the whole photo */
    linear-gradient(160deg, rgba(20,92,56,0.42) 0%, rgba(15,61,39,0.34) 100%),
    /* top band for eyebrow + brand */
    linear-gradient(180deg, rgba(6,20,13,0.34) 0%, rgba(6,20,13,0.06) 26%, transparent 46%),
    /* bottom band for buttons + dots */
    linear-gradient(0deg, rgba(6,20,13,0.5) 0%, rgba(6,20,13,0.10) 22%, transparent 40%);
}
/* content: brand centered in the middle */
.hero-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: translateY(-40px); }
/* bottom row: actions + dots pinned near the bottom of the image */
.hero-bottom { position: absolute; left: 50%; bottom: 27%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; }

.eyebrow { margin: 0 0 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--fs-eyebrow); color: var(--green); }
.eyebrow-blue { color: var(--blue); }
.hero .eyebrow { color: #8fd8ff; letter-spacing: 0.06em; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }

h1 { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; line-height: 1; }
.hero-brand { font-family: var(--font-logo); font-size: var(--fs-h1); font-weight: 800; letter-spacing: 0.01em; white-space: nowrap; text-shadow: 0 6px 30px rgba(0,0,0,0.45); }
.brand-fresh { color: #4ef290; }
.brand-link { color: #e8ffeb; }
.hero-rotator { position: relative; display: block; width: min(680px, 92vw); height: 2em; margin-top: 2px; }
.hero-line { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 700; color: #ebfdef; line-height: 1.2; opacity: 0; transform: translateY(6px); transition: opacity 0.9s ease, transform 0.9s ease; text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.hero-line.is-active { opacity: 1; transform: translateY(0); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }
.carousel-controls { margin-top: 0; }
.carousel-dots { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; background: rgba(9,34,22,0.4); backdrop-filter: blur(8px); }
.carousel-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; overflow: hidden; cursor: pointer; background: transparent; }
.carousel-dot span { display: block; width: 100%; height: 100%; border-radius: 999px; background: rgba(255,255,255,0.55); }
.carousel-dot.is-active { width: 54px; background: rgba(255,255,255,0.32); }
.carousel-dot.is-active span { width: 0; background: #fff; animation: cprog 5s linear forwards; }
@keyframes cprog { from { width: 0; } to { width: 100%; } }

/* evidence strip below hero — light cards, visible colored bars */
.evidence-strip { background: var(--bg-mint); padding: 0 0 20px; margin-top: -34px; position: relative; z-index: 4; }
.evidence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hstat { position: relative; overflow: hidden; text-align: left; padding: 20px 20px 20px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.hstat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; }
.hstat.stripe-1::before { background: #2b9d63; }
.hstat.stripe-2::before { background: #0f6b3d; }
.hstat.stripe-3::before { background: #4d7bd6; }
.hstat.stripe-4::before { background: #f5a24b; }
.hstat strong { display: block; color: var(--green-dark); font-size: 1.7rem; font-weight: 800; line-height: 1; }
.hstat span { display: block; margin-top: 7px; color: var(--muted); font-size: 0.939rem; }

.hero-curve { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; }
.hero-curve svg { width: 100%; height: 250px; display: block; }
.hero-curve path { fill: var(--bg-mint); }

/* ---------- BUTTONS ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 999px; font-weight: 800; transition: transform 0.15s ease, background 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #3a1e05; background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { color: #fff; border: 1px solid rgba(255,255,255,0.6); background: rgba(255,255,255,0.14); }

/* ---------- SECTIONS (alternating bg) ---------- */
.section { padding: 84px 0; }
.sec-mint { background: var(--bg-mint); }
.sec-sage { background: var(--bg-sage); }
.sec-cream { background: var(--bg-cream); }
.section-heading { max-width: 720px; margin: 0 auto 40px; text-align: center; }

.section-heading p:not(.eyebrow), .pilot-layout p { margin: 14px 0 0; color: var(--muted); font-size: 1.04rem; }
h2 { margin: 0; color: var(--green-dark); font-size: var(--fs-h2); line-height: 1.1; font-weight: 700; }
h3 { margin: 0; color: var(--text); font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; }

/* ---------- PROBLEM: WhatsApp-style chat cards ---------- */
.chat-cards { display: flex; flex-direction: column; gap: 20px; max-width: 780px; margin: 0 auto; }
.chat-card { display: flex; gap: 16px; align-items: flex-start; max-width: 78%; padding: 22px 24px; border-radius: 20px; box-shadow: var(--cardshadow); }
.chat-card.left { align-self: flex-start; border-bottom-left-radius: 6px; }
.chat-card.right { align-self: flex-end; border-bottom-right-radius: 6px; flex-direction: row-reverse; text-align: right; }
.chat-card h3 { margin-bottom: 5px; }
.chat-card p { margin: 0; font-size: 1.15rem; }
.card-green { background: linear-gradient(135deg, #e3f5ea, #d2eede); box-shadow: 8px 8px 5px #1b5b3772; }
.card-green h3 { color: var(--green-dark); } .card-green p { color: #3c5749; }
.card-navy { background: linear-gradient(135deg, #e6eefb, #d7e4f6); box-shadow: 8px 8px 5px #24406b66; }
.card-navy h3 { color: #24406b; } .card-navy p { color: #3f5069; }
.card-warm { background: linear-gradient(135deg, #fdeede, #f9e2c9); box-shadow: 8px 8px 5px #9a5a1a5f; }
.card-warm h3 { color: #9a5a1a; } .card-warm p { color: #6d543c; }

/* ---------- HOW IT WORKS: story timeline (line + circles), green-toned cards ---------- */
.story { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 860px; }
.story::before { content: ""; position: absolute; left: 35px; top: 20px; bottom: 20px; width: 3px; background: linear-gradient(var(--green), var(--blue)); border-radius: 999px; }
.story-step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 0 0 34px; }
.story-step:last-child { padding-bottom: 0; }
.story-marker { position: relative; z-index: 1; }
.story-marker span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 3px solid var(--green); color: var(--green-dark); font-size: 1.4rem; font-weight: 800; box-shadow: var(--shadow); }
.story-step.is-final .story-marker span { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.story-content { padding: 26px 30px; border-radius: 18px; box-shadow: var(--shadow); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.story-content:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.story-content h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.story-content p { margin: 0; font-size: 1.06rem; }
.story-content.tone-1 { background: #f5fff4; border: 1px solid var(--border); }
.story-content.tone-1 h3 { color: var(--green-dark); } .story-content.tone-1 p { color: #46564d; }
.story-content.tone-2 { background: linear-gradient(120deg, #eaf7ef, #dcf0e4); }
.story-content.tone-2 h3 { color: var(--green-dark); } .story-content.tone-2 p { color: #3c5749; }
.story-content.tone-3 { background: linear-gradient(120deg, #bfe6cd, #9fd6b4); }
.story-content.tone-3 h3 { color: #123f28; } .story-content.tone-3 p { color: #234a34; }
.story-content.tone-4 { background: linear-gradient(120deg, var(--green-dark), var(--green-deep)); color: #fff; }
.story-content.tone-4 h3 { color: #fff; } .story-content.tone-4 p { color: rgba(255,255,255,0.88); }
.story-content.tone-4 .pill-tags li { background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.28); }
.pill-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.pill-tags li { padding: 5px 12px; border-radius: 999px; background: #e7f5ec; border: 1px solid #d3ecdb; color: var(--green-dark); font-size: 0.9rem; font-weight: 700; }

/* ---------- FEATURES: big split colored cards ---------- */
.stack { position: relative; display: flex; flex-direction: column; gap: 40px; padding-bottom: 20px; }
.feature-card { position: sticky; top: 96px; display: grid; grid-template-columns: 1fr 1fr; min-height: 470px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-media { position: relative; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-media.media-empty::after { content: "Feature image"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 700; }
.feature-text { display: flex; flex-direction: column; justify-content: center; padding: 46px 50px; }
.feature-tag { display: inline-block; width: fit-content; padding: 6px 13px; margin-bottom: 16px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; background: rgba(255,255,255,0.6); }
.feature-text h3 { font-size: var(--fs-h3); line-height: 1.2; margin-bottom: 12px; }
.feature-text p { margin: 0; font-size: 1.02rem; }
.feature-card:nth-child(even) .feature-media { order: 2; }
.feature-card:nth-child(even) .feature-text { order: 1; }
/* colored feature cards */
.feat-green { background: linear-gradient(135deg, #eafaf0, #d7f0e0); } .feat-green .feature-media { background: linear-gradient(135deg,#2b9d63,#15713f); }
.feat-navy { background: linear-gradient(135deg, #eaf1fc, #d9e6f8); } .feat-navy .feature-media { background: linear-gradient(135deg,#2f5aa8,#1c3c74); }
.feat-teal { background: linear-gradient(135deg, #e6f7f6, #cfeeeb); } .feat-teal .feature-media { background: linear-gradient(135deg,#1f9e97,#0f6b66); }
.feat-warm { background: linear-gradient(135deg, #fdf1e2, #f9e2c8); } .feat-warm .feature-media { background: linear-gradient(135deg,#e08a3c,#b5661f); }
.feat-plum { background: linear-gradient(135deg, #f2ecfb, #e6daf6); } .feat-plum .feature-media { background: linear-gradient(135deg,#7a5ac8,#553a94); }
.feat-forest { background: linear-gradient(135deg, #e8f3ea, #d3e9d7); } .feat-forest .feature-media { background: linear-gradient(135deg,#1f7a4d,#0f3d27); }
.feature-text h3, .feature-text p { color: #1f2e26; }

/* ---------- ROLES ---------- */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.role-card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); box-shadow: var(--shadow); }
.role-ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 14px; font-size: 1.4rem; background: rgba(255,255,255,0.55); }
.role-card h3 { margin-bottom: 8px; }
.role-card ul { padding-left: 18px; margin: 8px 0 0; }
.role-card li { margin: 6px 0; font-size: 1rem; }
.role-card a { margin-top: auto; padding-top: 16px; font-weight: 800; }
.role-green { background: linear-gradient(150deg,#e6f6ec,#d3efdd); } .role-green h3{color:var(--green-dark);} .role-green li{color:#3c5749;} .role-green a{color:var(--green);}
.role-navy { background: linear-gradient(150deg,#e7effb,#d6e4f6); } .role-navy h3{color:#24406b;} .role-navy li{color:#41526b;} .role-navy a{color:#2f5aa8;}
.role-warm { background: linear-gradient(150deg,#fdf0e0,#f8e1c7); } .role-warm h3{color:#9a5a1a;} .role-warm li{color:#6d543c;} .role-warm a{color:#c06a1f;}
.role-plum { background: linear-gradient(150deg,#f1ebfa,#e4d8f5); } .role-plum h3{color:#553a94;} .role-plum li{color:#544468;} .role-plum a{color:#7a5ac8;}

/* ---------- PILOT: equal-size cards ---------- */
.pilot-layout { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(360px,1.1fr); align-items: center; gap: 44px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pilot-stat { display: flex; flex-direction: column; justify-content: center; min-height: 132px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.pilot-stat strong { display: block; color: var(--green-dark); font-size: 1.6rem; line-height: 1.1; font-weight: 800; }
.pilot-stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.85rem; }

/* ---------- FINAL CTA ---------- */
.final-cta { padding: 84px 0; color: #fff; background: linear-gradient(135deg, var(--green-dark), var(--green-deep)); text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta p { max-width: 600px; margin: 14px auto 0; color: rgba(255,255,255,0.85); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; justify-content: center; }
.cta-hub { background: #4d7bd6; color: #fff; } .cta-hub:hover { background: #5f8ae0; }
.cta-truck { background: var(--accent); color: #3a1e05; } .cta-truck:hover { background: var(--accent-hover); }

/* ---------- FOOTER ---------- */
.site-footer { padding: 50px 0; background: #0d2b1f; color: rgba(255,255,255,0.78); }
.footer-layout { display: grid; grid-template-columns: 1.4fr 0.7fr 1fr; gap: 32px; }
.footer-brand { color: #fff; } .footer-brand .brand-mark { color: #6fe0a0; } .footer-brand .brand-name { color: #fff; }
.site-footer h2 { margin: 0 0 12px; color: #fff; font-size: 1rem; }
.site-footer a:not(.brand) { display: block; margin-top: 8px; }
.site-footer a:not(.brand):hover { color: #fff; }
.site-footer p { margin: 12px 0 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 940px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 52px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 11px; border-radius: 9px; }
  .evidence-grid { grid-template-columns: repeat(2,1fr); }
  .role-grid { grid-template-columns: repeat(2,1fr); }
  .pilot-layout { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; min-height: 0; top: 82px; }
  .feature-media { min-height: 220px; }
  .feature-card:nth-child(even) .feature-media { order: 0; } .feature-card:nth-child(even) .feature-text { order: 0; }
  .story-step { grid-template-columns: 56px 1fr; gap: 16px; }
  .story-marker span { width: 56px; height: 56px; font-size: 1.15rem; }
  .story::before { left: 27px; }
  .chat-card { max-width: 92%; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  .evidence-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .footer-layout { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { flex-direction: column; width: 100%; }
  .hero-actions .button, .cta-actions .button { width: 100%; }
  .section { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image, .hero-line, .button { transition: none; }
  .hero-image.zoom-in.is-active, .hero-image.zoom-out.is-active { animation: none; transform: none; }
  .feature-card { position: relative; top: 0; }
  .carousel-dot.is-active span { animation: none; width: 100%; }
}
