/* Landing-specific palette — token duplicates (primary/neutral/accent, fonts) come from tokens.css */
:root {
    --forest-950: #0E2115;
    --forest-900: #12291B;
    --cream: #F5EDE6;
    --cream-dim: rgba(245, 237, 230, 0.66);
    --cream-faint: rgba(245, 237, 230, 0.4);
    --card-line: rgba(245, 237, 230, 0.12);
    --mist: #FDFDFB;
}

html { scroll-behavior: smooth; }
body { background: var(--mist); color: var(--neutral-950); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 3px; border-radius: 4px; }

/* Nav — glass */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-sticky); background: rgba(14, 33, 21, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--card-line); }
.nav__inner { max-width: 1140px; margin: 0 auto; padding: 0.8rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__logo { width: 34px; height: 34px; object-fit: contain; }
.nav__name { font-family: var(--font-brand); font-weight: 600; font-size: 1.35rem; color: var(--cream); letter-spacing: 0.03em; padding-top: 0.15em; }
.nav__cta { font-size: 0.85rem; font-weight: 600; color: var(--forest-950); background: var(--cream); text-decoration: none; padding: 0.55rem 1.1rem; border-radius: 999px; transition: transform 150ms ease, background 150ms ease; }
.nav__cta:hover { background: #fff; transform: translateY(-1px); }

/* Hero */
.hero { position: relative; background: linear-gradient(168deg, var(--forest-950) 0%, var(--forest-900) 45%, var(--primary-800) 100%); padding: 8.5rem 1.5rem 5.5rem; overflow: hidden; }
.hero__topo { position: absolute; inset: 0; opacity: 0.18; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700' viewBox='0 0 700 700'%3E%3Cg fill='none' stroke='%235CA878' stroke-width='1.1'%3E%3Cpath d='M100 350c0-140 110-250 250-250s250 110 250 250-110 250-250 250S100 490 100 350z' opacity='.5'/%3E%3Cpath d='M150 350c0-112 88-200 200-200s200 88 200 200-88 200-200 200-200-88-200-200z' opacity='.45'/%3E%3Cpath d='M200 345c0-84 66-155 150-155s150 71 150 155-66 155-150 155-150-71-150-155z' opacity='.4'/%3E%3Cpath d='M250 340c0-56 44-105 100-105s100 49 100 105-44 105-100 105-100-49-100-105z' opacity='.35'/%3E%3Cpath d='M60 80c60-30 140-20 190 20M420 620c70 10 150-10 190-60M40 560c30 60 90 90 160 90' opacity='.3'/%3E%3C/g%3E%3C/svg%3E"); background-size: 700px 700px; background-position: 65% 20%; }
.hero__inner { position: relative; max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 4rem; }
.hero__content { flex: 1; min-width: 0; }
.hero__eyebrow { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-500); margin-bottom: 1.1rem; }
.hero__plane { width: 18px; height: 18px; transform: rotate(45deg); }
.hero__headline { font-family: var(--font-heading); font-size: clamp(2.4rem, 4.8vw, 3.7rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1.4rem; color: var(--cream); }
.hero__headline em { font-style: normal; color: var(--accent-500); }
.hero__subtitle { font-size: 1.12rem; line-height: 1.7; color: var(--cream-dim); max-width: 470px; margin-bottom: 2.2rem; }
.hero__badges { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* Store badges */
.badge { display: flex; align-items: center; gap: 0.6rem; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(245, 237, 230, 0.16); border-radius: 12px; padding: 0.5rem 1.2rem; color: var(--cream); text-decoration: none; min-height: 50px; transition: background 150ms ease, border-color 150ms ease, transform 150ms ease; }
.badge:hover { background: rgba(0, 0, 0, 0.55); border-color: rgba(245, 237, 230, 0.35); transform: translateY(-2px); }
.badge__icon { display: flex; width: 22px; height: 22px; flex-shrink: 0; }
.badge__icon svg { width: 100%; height: 100%; }
.badge__label { font-size: 0.62rem; opacity: 0.7; display: block; line-height: 1.2; }
.badge__store { font-size: 0.92rem; font-weight: 600; display: block; line-height: 1.3; }
.badge--cream { background: var(--cream); color: var(--forest-950); border-color: var(--cream); }
.badge--cream:hover { background: #fff; border-color: #fff; }

/* Phone + waypoint slider + caption chip */
.hero__phone { display: flex; align-items: center; gap: 1.7rem; flex-shrink: 0; }
.hero__phone-stage { position: relative; }
.phone-frame { width: 285px; background: #0B0B0B; border-radius: 42px; padding: 11px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 237, 230, 0.1), 0 0 120px rgba(92, 168, 120, 0.16); }
.slider { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 1170 / 2532; }
.slider__slide { position: absolute; inset: 0; width: 100%; opacity: 0; transition: opacity 700ms ease; }
.slider__slide.is-active { opacity: 1; }
.slider-chip { position: absolute; left: -66px; bottom: 74px; display: flex; align-items: center; gap: 0.5rem; background: rgba(14, 33, 21, 0.8); backdrop-filter: blur(10px); border: 1px solid var(--card-line); border-radius: 999px; padding: 0.5rem 1rem; font-size: 0.82rem; font-weight: 600; color: var(--cream); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.slider-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-500); }

.waypoints { display: flex; flex-direction: column; position: relative; }
.waypoints::before { content: ''; position: absolute; left: 5px; top: 14px; bottom: 14px; border-left: 2px dashed rgba(141, 196, 160, 0.35); }
.waypoints__stop { display: flex; align-items: center; gap: 0.7rem; background: none; border: none; padding: 0.55rem 0; cursor: pointer; font-family: var(--font-family); font-size: 0.82rem; color: var(--cream-faint); transition: color 200ms ease; }
.waypoints__stop:hover { color: var(--cream); }
.waypoints__dot { position: relative; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--primary-300); background: var(--forest-950); flex-shrink: 0; transition: background 200ms ease, box-shadow 200ms ease; }
.waypoints__stop.is-active { color: var(--cream); font-weight: 600; }
.waypoints__stop.is-active .waypoints__dot { background: var(--accent-500); border-color: var(--accent-500); box-shadow: 0 0 0 5px rgba(212, 162, 78, 0.2); }

/* Journey — light, route continues from the dark hero */
.journey { position: relative; background: var(--mist); border-top: 1px solid var(--neutral-200); padding: 5rem 1.5rem 3rem; overflow: hidden; }
.journey__line { position: absolute; top: 120px; left: 50%; transform: translateX(-50%); width: min(1000px, 100%); height: auto; pointer-events: none; }
.journey__line path { stroke: var(--primary-500); opacity: 0.5; }
.journey__inner { position: relative; max-width: 900px; margin: 0 auto; }
.journey__heading { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; color: var(--forest-900); text-align: center; letter-spacing: -0.015em; margin-bottom: 0.7rem; }
.journey__subtitle { text-align: center; font-size: 1.05rem; color: var(--neutral-600); margin-bottom: 4rem; }

.stop { display: flex; align-items: flex-start; gap: 1.1rem; max-width: 430px; margin-bottom: 3.2rem; }
.stop--left { margin-right: auto; }
.stop--right { margin-left: auto; flex-direction: row-reverse; text-align: right; }
.stop__marker { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--primary-100); border: 2px solid var(--primary-500); color: var(--forest-900); font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; flex-shrink: 0; box-shadow: 0 0 0 6px var(--mist); }
.stop__card { background: #fff; border: 1px solid var(--neutral-200); border-radius: 16px; padding: 1.3rem 1.4rem; box-shadow: 0 8px 26px rgba(28, 24, 22, 0.06); transition: transform 200ms ease, box-shadow 200ms ease; }
.stop__card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(28, 24, 22, 0.1); }
.stop__title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; color: var(--neutral-950); margin-bottom: 0.35rem; }
.stop__desc { font-size: 0.9rem; line-height: 1.6; color: var(--neutral-600); }

/* The rest of the pack */
.pack { text-align: center; max-width: 560px; margin: 0 auto; padding: 1rem 0 2rem; }
.pack__marker { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 0 auto 1.1rem; border-radius: 50%; background: #fff; border: 2px solid var(--accent-500); color: var(--accent-500); box-shadow: 0 0 0 6px var(--mist); }
.pack__marker svg { width: 26px; height: 26px; }
.pack__title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600; color: var(--neutral-950); margin-bottom: 0.4rem; }
.pack__desc { font-size: 0.95rem; color: var(--neutral-600); margin-bottom: 1.4rem; }
.pack__pills { display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap; }
.pill { font-size: 0.85rem; font-weight: 500; color: var(--neutral-950); background: #fff; border: 1px solid var(--neutral-200); border-radius: 999px; padding: 0.5rem 1rem; box-shadow: 0 2px 8px rgba(28, 24, 22, 0.05); }
.pill--ghost { color: var(--accent-700); border-style: dashed; border-color: rgba(196, 144, 54, 0.5); background: transparent; box-shadow: none; }

/* CTA */
.cta { background: var(--mist); padding: 2rem 1.5rem 5rem; }
.cta__inner { position: relative; max-width: 1040px; margin: 0 auto; background: linear-gradient(155deg, var(--forest-900), var(--primary-700)); color: var(--cream); border-radius: 26px; padding: 3.6rem 2rem 3.2rem; text-align: center; }
.cta__pin { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 0 auto 1.2rem; border-radius: 50%; background: rgba(245, 237, 230, 0.12); color: var(--accent-500); }
.cta__pin svg { width: 28px; height: 28px; }
.cta__heading { font-family: var(--font-heading); font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 700; margin-bottom: 0.7rem; }
.cta__subtitle { color: var(--cream-dim); margin-bottom: 2rem; }
.cta__badges { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--mist); color: var(--neutral-600); text-align: center; padding: 1.8rem; font-size: 0.8rem; border-top: 1px solid var(--neutral-200); }
.footer a { color: var(--neutral-600); text-decoration: none; }
.footer a:hover { color: var(--neutral-950); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .slider__slide, .reveal, .badge, .stop__card, .nav__cta { transition: none; }
    .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
    .hero__inner { flex-direction: column; text-align: center; gap: 3.5rem; }
    .hero__eyebrow { justify-content: center; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__badges { justify-content: center; }
    .journey__line { display: none; }
    .stop, .stop--right { max-width: 560px; margin-left: auto; margin-right: auto; flex-direction: row; text-align: left; margin-bottom: 2rem; }
}
@media (max-width: 560px) {
    .hero { padding: 7rem 1.2rem 4.5rem; }
    .hero__phone { flex-direction: column; gap: 1.4rem; }
    .waypoints { flex-direction: row; gap: 0.9rem; }
    .waypoints::before { display: none; }
    .waypoints__name { display: none; }
    .phone-frame { width: 240px; }
    .slider-chip { left: 50%; transform: translateX(-50%); bottom: -16px; }
    .hero__badges { flex-direction: column; align-items: center; }
}
