/* =====================================================================
   ParcelMate Couriers: site styles
   Colours: navy #04123d (main) · light grey #f3f3f3 (secondary) · green #35a327 (accent)
   Font: Montserrat (loaded from Google Fonts in index.html)
   ===================================================================== */

:root {
  --navy: #04123d;
  --gray: #f3f3f3;
  --green: #35a327;
  --green-bright: #41b832;
  --green-tint: #e6f3e4;
  --white: #ffffff;

  --ink: var(--navy);
  --ink-soft: #434d6d;                 /* body text on light backgrounds */
  --on-dark: rgba(255, 255, 255, 0.82); /* body text on navy */
  --on-dark-soft: rgba(255, 255, 255, 0.68);
  --line: rgba(4, 18, 61, 0.1);
  --warn: #e3a008;      /* amber, only for warning notes in the Terms */
  --warn-tint: #fff6e0;
  --warn-ink: #8a5a00;

  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(4, 18, 61, 0.05), 0 6px 18px rgba(4, 18, 61, 0.06);
  --shadow: 0 20px 40px -20px rgba(4, 18, 61, 0.3);
  --shadow-lg: 0 34px 70px -26px rgba(2, 10, 38, 0.6);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 0.75rem 1rem; border-radius: 10px;
  background: var(--navy); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* keeps the phone's status-bar area painted when the page scrolls (only matters on notched phones) */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 55;
  height: env(safe-area-inset-top, 0px); background: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.8rem 1.5rem;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: -0.005em;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn i { flex: none; font-size: 1.15em; transition: transform 0.2s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 0.9rem 1.75rem; font-size: 1.0625rem; }

.btn--primary {
  background: var(--green); color: var(--navy);
  box-shadow: 0 10px 24px -12px rgba(53, 163, 39, 0.9);
}
.btn--primary:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(53, 163, 39, 0.95);
}

.btn--outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; }
.btn-row--center { justify-content: center; }

/* ---------- Brand speed lines (borrowed from the logo) ---------- */
.speed { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.speed span { display: block; height: 4px; border-radius: 4px; background: var(--green); }
.speed span:nth-child(1) { width: 18px; }
.speed span:nth-child(2) { width: 30px; }
.speed span:nth-child(3) { width: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy);
}
.eyebrow--light { color: #fff; }

/* ---------- Opening banner ---------- */
.announce { background: var(--green); color: var(--navy); font-size: 0.875rem; line-height: 1.45; }
.announce-inner {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 42px; padding-block: 0.55rem; text-align: center;
}
.announce i { flex: none; font-size: 1.2rem; }
.announce strong { font-weight: 800; }
.announce span { font-weight: 600; }
@media (max-width: 599.98px) {
  .announce { font-size: 0.8125rem; }
  .announce i { display: none; }
  .announce strong { display: block; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -20px rgba(4, 18, 61, 0.45);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.brand { flex: none; display: block; border-radius: 8px; }
.brand img { width: auto; height: 40px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2rem; }
.nav-link {
  position: relative; display: inline-block; padding: 0.5rem 0;
  font-size: 0.9375rem; font-weight: 600; color: var(--navy); text-decoration: none;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px;
  border-radius: 3px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: 1rem; }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  border: 2px solid var(--line); background: #fff; color: var(--navy);
  font-size: 1.45rem; cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }

.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 0.5rem max(var(--gutter), env(safe-area-inset-right, 0px)) 1.5rem max(var(--gutter), env(safe-area-inset-left, 0px));
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 30px 40px -24px rgba(4, 18, 61, 0.45);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.mobile-menu.is-open {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity 0.2s ease, transform 0.25s var(--ease);
}
.mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0.25rem; border-bottom: 1px solid var(--line);
  font-size: 1.125rem; font-weight: 700; text-decoration: none;
}
.mobile-link i { color: var(--green); }
.mobile-actions { display: grid; gap: 0.75rem; margin-top: 1.25rem; }

@media (min-width: 1080px) {
  .mobile-menu { display: none; }
}
@media (max-width: 1079.98px) {
  .main-nav, .header-login { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 519.98px) {
  :root { --header-h: 68px; }
  .header-signup { display: none; }
  .brand img { height: 34px; }
}

/* ---------- Sections (shared) ---------- */
.section { padding-block: var(--section-y); scroll-margin-top: var(--header-h); }
.section-head {
  max-width: 760px; margin: 0 auto clamp(3rem, 6vw, 4.5rem); text-align: center;
}
.section-head .eyebrow { justify-content: center; }
h2 { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.1rem); margin-bottom: 1.1rem; }
.section-head p, .why-intro p { font-size: 1.125rem; color: var(--ink-soft); }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4.5rem, 9vw, 7.5rem);
  background: var(--navy); color: #fff;
}
.hero::before { /* dotted texture */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 78% 45%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 75% at 78% 45%, #000 15%, transparent 72%);
}
.hero::after { /* green glow */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(900px, 130vw); aspect-ratio: 1; right: -22%; top: -38%;
  background: radial-gradient(circle, rgba(53, 163, 39, 0.3) 0%, rgba(53, 163, 39, 0.08) 42%, transparent 68%);
}

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(3rem, 6vw, 5.5rem); align-items: center;
}
.hero h1 {
  font-size: clamp(2.45rem, 1.35rem + 3.9vw, 3.6rem);
  line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 1.5rem;
}
.hero .hl { color: var(--green); }
.hero-sub {
  max-width: 36em; margin-bottom: 2.25rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem); color: var(--on-dark);
}
.trust {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 2rem;
  font-size: 0.9375rem; font-weight: 600; color: var(--on-dark);
}
.trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust i { color: var(--green); font-size: 1.25rem; }

/* entrance */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise 0.8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-visual { animation: rise 1s var(--ease) 0.2s both; }

/* tracking illustration */
.hero-visual { position: relative; padding: 30px 0 34px; }
.speed--hero { position: absolute; left: -70px; top: 44%; gap: 10px; }
.speed--hero span { height: 9px; border-radius: 9px; }
.speed--hero span:nth-child(1) { width: 56px; }
.speed--hero span:nth-child(2) { width: 88px; }
.speed--hero span:nth-child(3) { width: 34px; }

.track-card {
  position: relative; padding: 1.5rem;
  background: #fff; color: var(--navy);
  border-radius: 26px; box-shadow: var(--shadow-lg);
}
.track-card::before { /* second card peeking out behind */
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border-radius: inherit; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.track-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.875rem;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--line);
}
.track-badge {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--navy); color: var(--green); font-size: 26px;
}
.track-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.track-kicker {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.track-name { font-size: 0.9375rem; font-weight: 700; }
.track-status {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-left: auto;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  background: var(--green-tint); color: var(--navy);
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ping 1.8s ease-out infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(53, 163, 39, 0.55); }
  80%, 100% { box-shadow: 0 0 0 8px rgba(53, 163, 39, 0); }
}

.track-route { padding: 1.25rem 0 1.1rem; }
.route-svg { width: 100%; height: auto; overflow: visible; }
.route-line { stroke: rgba(4, 18, 61, 0.3); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 0.5 7; }
.route-start { fill: var(--navy); }
.route-end { fill: var(--green-tint); stroke: var(--green); stroke-width: 2; }
.route-end-core { fill: var(--green); }
.route-plane { fill: var(--green); stroke: var(--green); stroke-width: 0.8; stroke-linejoin: round; }
.route-labels {
  display: flex; justify-content: space-between; margin-top: 0.15rem;
  font-size: 0.9375rem; font-weight: 700;
}
.route-labels > span { display: flex; flex-direction: column; line-height: 1.3; }
.route-labels > span:last-child { text-align: right; }
.route-labels small {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
}

.track-steps { display: grid; gap: 0.8rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.track-steps li {
  position: relative; display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; font-weight: 600; line-height: 1.4;
}
.track-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 11px; top: 24px; height: 0.8rem;
  border-left: 2px dashed rgba(4, 18, 61, 0.2);
}
.track-steps li.is-done::after { border-left-style: solid; border-left-color: var(--green); }
.track-steps .dot {
  position: relative; z-index: 1; flex: none; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 2px solid rgba(4, 18, 61, 0.2); font-size: 12px;
}
.track-steps .is-done .dot { background: var(--green); border-color: var(--green); color: var(--navy); }
.track-steps .is-current .dot { border-color: var(--green); }
.track-steps .is-current .dot::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); animation: ping 1.8s ease-out infinite;
}
.track-steps li:not(.is-done):not(.is-current) { color: rgba(4, 18, 61, 0.55); }

.hero-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1rem; border-radius: 14px;
  font-size: 0.8125rem; font-weight: 700; white-space: nowrap;
  box-shadow: var(--shadow-lg);
}
.hero-chip i { font-size: 1.25rem; }
.hero-chip--top { top: 0; right: -14px; background: #fff; color: var(--navy); animation: float 6s ease-in-out infinite; }
.hero-chip--top i { color: var(--green); }
.hero-chip--bottom { bottom: 4px; left: -26px; background: var(--green); color: var(--navy); animation: float 6s ease-in-out -3s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 959.98px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 480px; margin-inline: auto; }
}
@media (max-width: 599.98px) {
  .speed--hero { display: none; }
  .track-card { padding: 1.25rem; }
  .hero-chip--top { right: 10px; }
  .hero-chip--bottom { left: 10px; }
  .trust { flex-direction: column; gap: 0.6rem; }
}

/* ---------- 2. How It Works ---------- */
.steps {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem; margin-bottom: clamp(3rem, 5vw, 4rem);
}
.steps::before { /* dashed route linking the steps */
  content: ""; position: absolute; top: 40px; left: 12.5%; right: 12.5%;
  border-top: 2px dashed rgba(4, 18, 61, 0.16);
}
.step { position: relative; text-align: center; }
.step-icon {
  position: relative; display: grid; place-items: center;
  width: 80px; height: 80px; margin: 0 auto 1.5rem; border-radius: 26px;
  background: var(--navy); color: var(--green); font-size: 38px;
  box-shadow: 0 16px 30px -16px rgba(4, 18, 61, 0.6);
}
.step-num {
  position: absolute; top: -9px; right: -9px; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff;
  background: var(--green); color: var(--navy);
  font-size: 0.8125rem; font-weight: 800; line-height: 1;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.step p { max-width: 30ch; margin-inline: auto; color: var(--ink-soft); }

@media (max-width: 1023.98px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; }
  .steps::before { display: none; }
}
@media (max-width: 639.98px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.25rem;
    padding-bottom: 2.25rem; text-align: left;
  }
  .step:last-child { padding-bottom: 0; }
  .step:not(:last-child)::after { /* vertical route between steps */
    content: ""; position: absolute; left: 31px; top: 76px; bottom: 12px;
    border-left: 2px dashed rgba(4, 18, 61, 0.16);
  }
  .step-icon { width: 64px; height: 64px; margin: 0; border-radius: 20px; font-size: 30px; }
  .step-num { width: 26px; height: 26px; font-size: 0.75rem; top: -7px; right: -7px; }
  .step h3 { margin-top: 0.2rem; }
  .step p { max-width: none; margin-inline: 0; }
}

/* ---------- 3. Why ParcelMate ---------- */
.why { background: var(--gray); }
.why-grid {
  display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start;
}
.why-intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.card {
  padding: 2rem 1.75rem; border-radius: var(--radius);
  background: #fff; border: 1px solid rgba(4, 18, 61, 0.05); box-shadow: var(--shadow-sm);
}
.card-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.4rem;
  border-radius: 16px; background: var(--navy); color: var(--green); font-size: 28px;
}
.card h3 { font-size: 1.175rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); }
.why-cta { margin-top: 2rem; }

.soon {
  display: flex; align-items: center; gap: 0.9rem 1.25rem;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding: 1.1rem 1.5rem;
  border-radius: 18px; background: #fff; border: 1.5px dashed rgba(4, 18, 61, 0.2);
}
.soon-pill {
  flex: none; padding: 0.4rem 0.8rem; border-radius: 999px;
  background: var(--navy); color: #fff;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.soon-icons { display: inline-flex; flex: none; gap: 0.4rem; color: var(--green); font-size: 1.35rem; }
.soon p { font-size: 0.9375rem; font-weight: 500; color: var(--ink-soft); }

@media (max-width: 1023.98px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-intro { position: static; max-width: 720px; margin-inline: auto; text-align: center; }
  .why-intro .eyebrow { justify-content: center; }
  .why-cta { justify-content: center; }
}
@media (max-width: 599.98px) {
  .cards { grid-template-columns: 1fr; }
  .card { padding: 1.6rem 1.4rem; }
}
@media (max-width: 699.98px) {
  .soon { flex-direction: column; align-items: flex-start; }
}

/* ---------- 4. FAQ ---------- */
.faq-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
.faq-mark { width: min(200px, 55%); margin-top: 2.5rem; }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  border-radius: 18px; background: var(--gray); border: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[open] { background: #fff; border-color: rgba(4, 18, 61, 0.1); box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.2rem 1.25rem 1.2rem 1.5rem; border-radius: 18px;
  font-size: 1.0625rem; font-weight: 700; line-height: 1.4;
  list-style: none; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-toggle {
  flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--navy); font-size: 1rem; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), background-color 0.3s ease;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--green); }
.faq-answer { padding: 0 1.5rem 1.5rem; color: var(--ink-soft); }
.faq-answer a {
  font-weight: 700; color: var(--navy);
  text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.faq-cta { margin-top: 2rem; }

/* smooth open/close where the browser supports it */
@supports (interpolate-size: allow-keywords) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    block-size: 0; overflow: clip;
    transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; }
}

@media (max-width: 1023.98px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; text-align: center; }
  .faq-intro .eyebrow { justify-content: center; }
  .faq-mark { display: none; }
  .faq-cta { justify-content: center; }
}
@media (max-width: 519.98px) {
  .faq-item summary { padding: 1.1rem 1rem 1.1rem 1.15rem; font-size: 1rem; }
  .faq-answer { padding: 0 1.15rem 1.25rem; }
}

/* ---------- 5. Visit Us / Get Started ---------- */
.visit { background: var(--gray); }
.visit-panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem); border-radius: var(--radius-lg);
  background: var(--navy); color: #fff;
}
.visit-panel::before { /* runner watermark */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 520px; aspect-ratio: 1; left: -150px; bottom: -190px;
  background: url("./images/icon-white.png") center / contain no-repeat; opacity: 0.05;
}
.visit-panel::after { /* green glow */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 720px; aspect-ratio: 1; right: -260px; top: -320px;
  background: radial-gradient(circle, rgba(53, 163, 39, 0.26), transparent 65%);
}
.visit-copy > p:not(.eyebrow) { max-width: 34em; margin-bottom: 2rem; font-size: 1.125rem; color: var(--on-dark); }

.store-card {
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 24px;
  background: #fff; color: var(--navy); box-shadow: var(--shadow-lg);
}
.store-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.6rem 1rem; margin-bottom: 1.5rem;
}
.store-title { font-size: 1.25rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  background: var(--green-tint); color: var(--navy);
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.store-badge i { font-size: 1rem; color: var(--green); }
.store-list { display: grid; gap: 1.25rem; }
.store-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; align-items: start; }
.store-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-tint); color: var(--navy); font-size: 22px;
}
.store-label {
  display: block; margin-bottom: 0.1rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
}
.store-value { display: block; font-weight: 600; line-height: 1.5; }
.store-value.is-pending { font-weight: 500; font-style: italic; color: var(--ink-soft); }
.store-link { text-decoration: none; overflow-wrap: anywhere; }
.store-link:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.store-extra {
  display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.35rem;
  font-size: 0.875rem; font-weight: 700; color: var(--navy); text-decoration: none;
}
.store-extra span {
  text-decoration: underline; text-decoration-color: var(--green);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.store-extra:hover span { text-decoration-color: var(--navy); }
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.45rem; }
.social {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.85rem; border-radius: 999px;
  background: var(--gray); color: var(--navy);
  font-size: 0.8125rem; font-weight: 700; text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.social i { font-size: 1.05rem; }
a.social[href]:hover { background: var(--navy); color: #fff; }

@media (max-width: 959.98px) {
  .visit-panel { grid-template-columns: 1fr; }
}
@media (max-width: 519.98px) {
  .visit-panel { padding: 2.25rem 1.25rem 1.25rem; border-radius: 24px; }
  .store-card { padding: 1.5rem 1.15rem; border-radius: 18px; }
  .store-item { grid-template-columns: 40px minmax(0, 1fr); gap: 0.85rem; }
  .store-icon { width: 40px; height: 40px; font-size: 20px; }
  .store-value { font-size: 0.9375rem; }
}

/* ---------- Footer ---------- */
.site-footer { padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; background: var(--navy); color: var(--on-dark-soft); }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 3rem; align-items: start;
}
.footer-brand img { width: 220px; height: auto; }
.footer-tagline { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.footer-tagline span { color: var(--green); }
.footer-heading {
  margin-bottom: 1rem; font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
}
.footer-nav { justify-self: end; }
.footer-nav ul {
  display: grid; grid-template-columns: repeat(2, max-content); grid-template-rows: repeat(4, auto);
  grid-auto-flow: column; gap: 0.75rem 3.5rem;
}
.footer-nav a { font-weight: 500; color: var(--on-dark); text-decoration: none; transition: color 0.2s ease; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.875rem;
}

@media (max-width: 799.98px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { justify-self: start; }
}
@media (max-width: 399.98px) {
  .footer-nav ul { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
}

/* ---------- WhatsApp button & toast ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 30px; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(4, 18, 61, 0.55);
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: max-content; max-width: calc(100% - 32px); padding: 0.85rem 1.25rem; border-radius: 14px;
  text-align: center;
  background: var(--navy); color: #fff; font-size: 0.9375rem; font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 16px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.toast.is-visible {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

/* ---------- Terms & Conditions page ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
  background: var(--navy); color: #fff;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 55% 90% at 85% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 90% at 85% 40%, #000 10%, transparent 70%);
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 640px; aspect-ratio: 1; right: -200px; top: -320px;
  background: radial-gradient(circle, rgba(53, 163, 39, 0.28), transparent 65%);
}
.back-link {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 1.5rem;
  font-size: 0.9375rem; font-weight: 700; color: var(--on-dark); text-decoration: none;
}
.back-link:hover { color: #fff; }
.back-link:hover i { transform: translateX(-3px); }
.back-link i { transition: transform 0.2s var(--ease); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -0.03em; margin-bottom: 0.9rem; }
.page-hero .lead { max-width: 40em; font-size: 1.125rem; color: var(--on-dark); }
.effective {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.4rem;
  padding: 0.45rem 0.95rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.875rem; font-weight: 700; color: #fff;
}
.effective i { color: var(--green); font-size: 1.1rem; }

.terms { padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section-y); }
.terms-grid {
  display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.toc {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto;
  padding-right: 0.5rem;
}
.toc-title {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
}
.toc ol { display: grid; border-left: 2px solid var(--line); }
.toc a {
  display: block; margin-left: -2px; padding: 0.32rem 0 0.32rem 1rem;
  border-left: 2px solid transparent;
  font-size: 0.875rem; font-weight: 500; line-height: 1.4; color: var(--ink-soft); text-decoration: none;
}
.toc a:hover { color: var(--navy); }
.toc a.is-active { border-left-color: var(--green); color: var(--navy); font-weight: 700; }

.toc-mobile { display: none; margin-bottom: 1.75rem; border-radius: 16px; background: var(--gray); }
.toc-mobile summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.15rem; font-weight: 700; cursor: pointer; list-style: none;
}
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::marker { content: ""; }
.toc-mobile summary i { transition: transform 0.25s var(--ease); }
.toc-mobile[open] summary i { transform: rotate(180deg); }
.toc-mobile ol { display: grid; padding: 0 1.15rem 1rem; }
.toc-mobile a {
  display: block; padding: 0.45rem 0; border-top: 1px solid var(--line);
  font-size: 0.9375rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
}

.terms-body { min-width: 0; max-width: 46rem; }
.terms-section {
  padding-block: 1.9rem; border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.terms-section:first-child { padding-top: 0; }
.terms-section:last-child { border-bottom: 0; padding-bottom: 0; }
.terms-section h2 {
  display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.85rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); letter-spacing: -0.015em;
}
.terms-num { flex: none; min-width: 1.6em; color: var(--green); font-variant-numeric: tabular-nums; }
.terms-section p, .terms-section li { color: var(--ink-soft); }
.terms-section > * + * { margin-top: 0.85rem; }
.terms-section ul { display: grid; gap: 0.5rem; }
.terms-section li { position: relative; padding-left: 1.6rem; }
.terms-section li::before {
  content: ""; position: absolute; left: 0.35rem; top: 0.65em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.terms-section a {
  font-weight: 700; color: var(--navy);
  text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.terms-section .note {
  display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 1.1rem;
  padding: 1rem 1.15rem; border-radius: 14px; border-left: 4px solid;
  font-weight: 600; line-height: 1.55; color: var(--navy);
}
.note i { flex: none; margin-top: 0.1rem; font-size: 1.25rem; }
.note--warn { background: var(--warn-tint); border-left-color: var(--warn); }
.note--warn i { color: var(--warn-ink); }
.note--info { background: var(--gray); border-left-color: var(--navy); }

@media (max-width: 1023.98px) {
  .terms-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
  .toc-mobile { display: block; }
}

/* ---------- Mobile buttons: full width for easy tapping ---------- */
@media (max-width: 559.98px) {
  .btn-row .btn { width: 100%; }
}

/* ---------- Scroll reveal (only when script.js is running) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Respect "reduce motion" settings ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
