/* RushGo landing page */

:root {
  --green: #018027;
  --green-dark: #016421;
  --green-deep: #0a3b1d;
  --ink: #10231a;
  --ink-soft: #3b4f44;
  --muted: #5f7067;
  --mint: #eff7f2;
  --mint-strong: #dcefe3;
  --line: #dde8e1;
  --white: #ffffff;
  --sun: #ffd166;
  --radius: 22px;
  --shadow-soft: 0 18px 50px -24px rgba(16, 35, 26, 0.28);
  --shadow-phone: 0 40px 80px -30px rgba(10, 59, 29, 0.55), 0 12px 30px -12px rgba(16, 35, 26, 0.35);
  --max: 1160px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
button { font: inherit; }

.sprite { display: none; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.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; }
.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--white); font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid rgba(1, 128, 39, 0.55); outline-offset: 3px; border-radius: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 650; text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 10px 24px -12px rgba(1, 128, 39, 0.8); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(1, 128, 39, 0.9); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 22px 8px 16px;
  border-radius: 16px; background: var(--ink); color: var(--white); text-decoration: none;
  box-shadow: 0 14px 30px -16px rgba(16, 35, 26, 0.7);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.store-btn:hover { transform: translateY(-3px); background: #19352a; box-shadow: 0 20px 34px -18px rgba(16, 35, 26, 0.75); }
.store-btn .icon { width: 28px; height: 28px; stroke-width: 1.8; }
.store-btn span { display: grid; line-height: 1.15; }
.store-btn small { font-size: 12px; opacity: 0.8; }
.store-btn strong { font-size: 19px; letter-spacing: -0.01em; }
.store-btn-light { background: var(--white); color: var(--ink); }
.store-btn-light:hover { background: var(--mint); }

.launch-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.launch-note.light { color: rgba(255, 255, 255, 0.78); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.site-header.scrolled { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand img { border-radius: 10px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 550; font-size: 15px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--mint); cursor: pointer; position: relative; }
.menu-bar { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-bar:nth-child(1) { top: 18px; }
.menu-bar:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.mobile-menu { background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.mobile-menu nav { display: grid; gap: 4px; padding: 8px 0 20px; }
.mobile-menu a:not(.btn) { padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }

/* Reveal on scroll */
/* Hidden only when JavaScript runs, so content never stays invisible without it. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.visible { opacity: 1; transform: none; }

/* Hero */
.hero { position: relative; padding: 132px 0 0; background: linear-gradient(180deg, #f3faf5 0%, #e8f5ec 58%, #ffffff 100%); overflow: hidden; }
.hero-backdrop { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.65; animation: drift 18s ease-in-out infinite alternate; }
.blob-1 { width: 460px; height: 460px; left: -120px; top: 40px; background: radial-gradient(circle, #bfe6cb, transparent 70%); }
.blob-2 { width: 520px; height: 520px; right: -140px; top: -60px; background: radial-gradient(circle, #c9f0d4, transparent 70%); animation-delay: -6s; }
.blob-3 { width: 380px; height: 380px; right: 22%; bottom: -120px; background: radial-gradient(circle, #fff3c9, transparent 70%); animation-delay: -12s; opacity: 0.5; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.12); } }

.speed-line { position: absolute; right: -40%; top: var(--top); width: var(--length); height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(1, 128, 39, 0.35), transparent); animation: rush 3.2s linear infinite; animation-delay: var(--delay); }
@keyframes rush { from { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } to { transform: translateX(-260%); opacity: 0; } }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); color: var(--green-dark); font-weight: 650; font-size: 14px; box-shadow: 0 8px 20px -16px rgba(16, 35, 26, 0.5); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(1, 128, 39, 0.55); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(1, 128, 39, 0); } 100% { box-shadow: 0 0 0 0 rgba(1, 128, 39, 0); } }
.hero-title { margin: 22px 0 20px; font-size: clamp(44px, 6.2vw, 78px); font-weight: 850; letter-spacing: -0.045em; }
.gradient-text { background: linear-gradient(90deg, var(--green) 0%, #2fa64d 45%, var(--green-dark) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.lead { max-width: 560px; margin-bottom: 30px; font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-soft); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 34px 0 0; padding: 0; list-style: none; }
.hero-stats li { display: grid; gap: 2px; max-width: 170px; }
.hero-stats strong { font-size: 34px; font-weight: 850; letter-spacing: -0.04em; color: var(--green); line-height: 1.1; }
.hero-stats li > span { font-size: 14px; color: var(--muted); line-height: 1.35; }

/* The visual hugs the phone, so the floating cards are placed relative to the phone. --stick is how far they reach past it. */
.hero-visual { position: relative; display: grid; place-items: center; justify-self: center; width: fit-content; padding: 20px 0 70px; --stick: clamp(60px, calc(60px + (100vw - 1040px) * 0.28), 150px); }

/* Phone mockup: the recordings are 390 × 844 app screens */
.phone { position: relative; width: 300px; padding: 11px; border-radius: 50px; background: linear-gradient(145deg, #1d2b24, #0b1511); box-shadow: var(--shadow-phone); }
.phone::before { content: ""; position: absolute; inset: 3px; border-radius: 47px; border: 1px solid rgba(255, 255, 255, 0.08); pointer-events: none; }
/* The recordings have no status bar, so each screen adds one (390x54 in app points) above the 390x844 video. */
.phone-screen { position: relative; display: flex; flex-direction: column; aspect-ratio: 390 / 898; border-radius: 40px; overflow: hidden; background: var(--white); isolation: isolate; container-type: inline-size; }
.status-bar { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; aspect-ratio: 390 / 54; padding: 0 20px 0 26px; padding: 0 6.4cqw 0 8.4cqw; background: var(--white); color: var(--ink); font-size: 12px; font-size: 3.9cqw; font-weight: 650; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.status-bar::after { content: ""; position: absolute; top: 9px; top: 2.8cqw; left: 50%; width: 92px; width: 30cqw; height: 26px; height: 8.4cqw; transform: translateX(-50%); border-radius: 999px; background: #0b1511; }
.status-icons { width: 54px; width: 17.5cqw; height: auto; aspect-ratio: 65 / 12; }
.phone-video { display: block; flex: 1 1 0%; min-height: 0; width: 100%; object-fit: cover; background: var(--white); }
.phone-hero { width: min(330px, 78vw); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(0.5deg); } }

.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: var(--shadow-soft); animation: bob 6s ease-in-out infinite; z-index: 3; white-space: nowrap; }
.float-card span:last-child { display: grid; line-height: 1.25; }
.float-card strong { font-size: 14px; }
.float-card small { font-size: 12.5px; color: var(--muted); }
.float-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--mint); color: var(--green); }
.float-icon .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.float-card-1 { top: 13%; left: calc(-1 * var(--stick)); }
.float-card-2 { top: 44%; right: calc(-1 * var(--stick)); animation-delay: -2s; }
.float-card-3 { bottom: 17%; left: calc(12px - var(--stick)); animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Road with vehicles */
.road { position: relative; height: 74px; margin-top: -30px; background: linear-gradient(180deg, #2b3a33, #1f2b25); overflow: hidden; }
.road::before, .road::after { content: ""; position: absolute; left: 0; right: 0; height: 4px; background: #e9f1ec; opacity: 0.25; }
.road::before { top: 6px; }
.road::after { bottom: 6px; }
.road-lines { position: absolute; left: 0; top: 50%; width: 100%; height: 20px; transform: translateY(-50%); }
.road-lines line { stroke: #f6fbf7; stroke-width: 3; stroke-dasharray: 34 26; opacity: 0.7; animation: lane 1.2s linear infinite; }
@keyframes lane { to { stroke-dashoffset: -60; } }
.vehicle { position: absolute; bottom: 14px; left: 0; will-change: transform; }
.vehicle-car { width: 108px; animation: drive 11s linear infinite; }
.vehicle-bike { width: 70px; bottom: 16px; animation: drive 15s linear infinite; animation-delay: -6s; }
@keyframes drive { from { transform: translateX(-160px); } to { transform: translateX(calc(100vw + 40px)); } }

/* Routes marquee */
.routes { padding: 22px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--mint); color: var(--ink-soft); font-weight: 600; font-size: 15px; white-space: nowrap; }
.marquee-track .icon { width: 20px; height: 20px; color: var(--green); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(80px, 10vw, 128px) 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0; text-align: left; }
.kicker { display: inline-block; margin-bottom: 14px; color: var(--green); font-weight: 750; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.kicker-light { color: #9fe0b1; }
h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 830; }
h3 { font-size: 21px; font-weight: 750; letter-spacing: -0.02em; }
.section-lead { margin-top: 18px; font-size: 19px; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.check-list { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; color: var(--ink-soft); }
.check-list strong { color: var(--ink); }
.check-list .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--mint); color: var(--green); stroke-width: 2.6; margin-top: 1px; }
.check-list.compact li { font-size: 17px; }

/* Receipt */
.receipt { padding: 28px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.receipt-head { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.receipt-head span:last-child { display: grid; line-height: 1.35; }
.receipt-head small { color: var(--muted); font-size: 14px; }
.receipt-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--mint); color: var(--green); }
.receipt-rows { margin: 8px 0 0; }
.receipt-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .receipt:not(.visible) .receipt-rows div { opacity: 0; transform: translateX(-12px); }
.receipt.visible .receipt-rows div { opacity: 1; transform: none; }
.receipt.visible .receipt-rows div:nth-child(2) { transition-delay: 0.15s; }
.receipt.visible .receipt-rows div:nth-child(3) { transition-delay: 0.3s; }
.receipt.visible .receipt-rows div:nth-child(4) { transition-delay: 0.45s; }
.receipt-rows dt { color: var(--ink-soft); }
.receipt-rows dd { margin: 0; font-weight: 700; }
.receipt-rows .minus { color: var(--green); }
.receipt-rows .total dt { color: var(--ink); font-weight: 700; }
.receipt-rows .total dd { font-size: 22px; }
.receipt-stamp { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 12px 16px; border-radius: 14px; background: var(--mint); color: var(--green-dark); font-weight: 700; }

/* Steps */
.how { background: linear-gradient(180deg, #ffffff, var(--mint)); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 64px; left: 12%; right: 12%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--green), #7fd29a); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) 0.3s; }
.steps.visible::before { transform: scaleX(1); }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 30px -24px rgba(16, 35, 26, 0.45); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.step-number { position: absolute; top: 20px; right: 22px; font-size: 44px; font-weight: 850; color: var(--mint-strong); line-height: 1; }
.step-icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 20px; background: var(--green); color: var(--white); box-shadow: 0 12px 24px -12px rgba(1, 128, 39, 0.85); }
.step-icon .icon { width: 30px; height: 30px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* Demo */
.demo { position: relative; background: radial-gradient(1200px 600px at 80% 20%, #13663a 0%, transparent 60%), linear-gradient(160deg, #0a3b1d 0%, #07250f 100%); color: var(--white); overflow: hidden; }
.demo .section-lead { color: rgba(255, 255, 255, 0.78); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 64px; align-items: center; }
.chapters { display: grid; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; max-width: 460px; }
.chapters button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: rgba(255, 255, 255, 0.05); color: var(--white); text-align: left; cursor: pointer; transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.chapters button:hover, .chapters button.active { background: rgba(255, 255, 255, 0.12); border-color: rgba(159, 224, 177, 0.6); transform: translateX(4px); }
.chapters span { min-width: 44px; padding: 2px 8px; border-radius: 8px; background: rgba(159, 224, 177, 0.16); color: #bdf0cb; font-size: 13px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.demo-visual { position: relative; display: grid; place-items: center; }
.demo-glow { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 166, 77, 0.55), transparent 65%); filter: blur(30px); animation: glow 5s ease-in-out infinite alternate; }
@keyframes glow { from { transform: scale(0.9); opacity: 0.7; } to { transform: scale(1.1); opacity: 1; } }
.phone-demo { width: min(340px, 80vw); }
.play-button { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 84px; height: 84px; transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: var(--green); color: var(--white); cursor: pointer; box-shadow: 0 0 0 0 rgba(1, 128, 39, 0.6), 0 16px 34px -12px rgba(0, 0, 0, 0.6); animation: ring 2.2s infinite; transition: transform 0.3s var(--ease), opacity 0.3s; z-index: 3; }
.play-button .icon { width: 34px; height: 34px; margin-left: 5px; fill: currentColor; stroke-width: 1.4; }
.play-button:hover { transform: translate(-50%, -50%) scale(1.08); }
.play-button.hidden { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.7); }
@keyframes ring { 70% { box-shadow: 0 0 0 22px rgba(1, 128, 39, 0), 0 16px 34px -12px rgba(0, 0, 0, 0.6); } 100% { box-shadow: 0 0 0 0 rgba(1, 128, 39, 0), 0 16px 34px -12px rgba(0, 0, 0, 0.6); } }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature-card { position: relative; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; }
.feature-card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(1, 128, 39, 0.12), transparent 70%); transform: scale(0.6); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: #c5e3cf; }
.feature-card:hover::after { transform: scale(1); opacity: 1; }
.feature-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 18px; background: var(--mint); color: var(--green); transition: transform 0.4s var(--ease), background 0.4s, color 0.4s; }
.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.06); background: var(--green); color: var(--white); }
.feature-icon .icon { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 16px; }

/* Showcase */
.showcase { padding-top: 0; }
.showcase-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 40px 0; }
.showcase-row.reverse .showcase-media { order: 2; }
.showcase-media { position: relative; display: grid; place-items: center; }
.showcase-media::before { content: ""; position: absolute; width: min(360px, 100%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--mint-strong), transparent 70%); }
.phone-clip { width: min(280px, 72vw); transition: transform 0.6s var(--ease); }
.showcase-row:hover .phone-clip { transform: translateY(-8px) rotate(-1deg); }
.showcase-copy h2 { font-size: clamp(30px, 3.6vw, 44px); }
.giver-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.giver-stats div { padding: 18px; border-radius: 18px; background: var(--mint); }
.giver-stats strong { display: block; font-size: 30px; font-weight: 850; color: var(--green); letter-spacing: -0.03em; line-height: 1.1; }
.giver-stats span { font-size: 14px; color: var(--muted); }

/* Safety */
.safety { background: var(--mint); }
.safety-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.safety-item { padding: 28px; border-radius: var(--radius); background: var(--white); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.safety-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.safety-item .icon { width: 34px; height: 34px; margin-bottom: 18px; color: var(--green); }
.safety-item h3 { margin-bottom: 8px; }
.safety-item p { color: var(--muted); font-size: 16px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 18px; background: var(--white); border: 1px solid var(--line); transition: border-color 0.3s, box-shadow 0.3s; }
.faq-list details[open] { border-color: #bfdcc9; box-shadow: var(--shadow-soft); }
.faq-list summary { position: relative; padding: 20px 60px 20px 22px; font-weight: 700; font-size: 17.5px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(45deg); transition: transform 0.3s var(--ease), margin-top 0.3s; }
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq-list details p { padding: 0 22px 22px; color: var(--ink-soft); animation: open 0.4s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Download */
.download { padding-top: 40px; }
.download-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: clamp(36px, 6vw, 72px); border-radius: 36px; background: radial-gradient(800px 400px at 100% 0%, #2fa64d 0%, transparent 60%), linear-gradient(135deg, var(--green) 0%, #015f1e 100%); color: var(--white); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(1, 100, 33, 0.8); }
.download-copy h2 { margin: 18px 0 12px; }
.download-copy p { max-width: 520px; margin-bottom: 28px; color: rgba(255, 255, 255, 0.85); font-size: 19px; }
.download-logo { border-radius: 18px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
.download-art { position: relative; display: grid; place-items: center; width: 260px; height: 260px; }
.download-art img { position: relative; border-radius: 30px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6); animation: float 6s ease-in-out infinite; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.28); animation: ripple 4.5s ease-out infinite; }
.ring-2 { animation-delay: 1.5s; }
.ring-3 { animation-delay: 3s; }
@keyframes ripple { from { transform: scale(0.45); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.contact-card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: #c5e3cf; }
.contact-card .icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--mint); color: var(--green); }
.contact-card span { display: grid; gap: 2px; min-width: 0; }
.contact-card small { color: var(--muted); font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-card strong { font-size: 16px; line-height: 1.4; overflow-wrap: break-word; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.social a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); font-weight: 600; text-decoration: none; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.social a:hover { background: var(--green); border-color: var(--green); color: var(--white); }

/* Footer */
.site-footer { padding: 64px 0 28px; background: #0b1a12; color: rgba(255, 255, 255, 0.75); }
.site-footer .brand { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; }
.footer-brand p { margin-top: 12px; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-links div { display: grid; gap: 10px; align-content: start; }
.footer-links strong { color: var(--white); font-size: 15px; }
.footer-links a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 16px; background: var(--ink); color: var(--white); font-weight: 600; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55); transform: translate(-50%, 140%); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.45s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Policy pages (terms, privacy, refunds, pricing, shipping, account deletion) */
.legal-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.legal-nav a:not(.btn) { color: var(--ink-soft); font-weight: 600; font-size: 15px; text-decoration: none; }
.legal-nav a:not(.btn):hover { color: var(--green); }
.legal-nav .btn { white-space: nowrap; }
.legal { padding: 128px 0 96px; background: linear-gradient(180deg, var(--mint) 0, var(--white) 420px); }
.legal-article { max-width: 780px; margin-inline: auto; }
.legal-article h1 { font-size: clamp(38px, 5.4vw, 56px); font-weight: 830; letter-spacing: -0.035em; }
.legal-updated { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.legal-lead { margin: 22px 0 0; font-size: 19px; color: var(--ink-soft); }
.legal-summary { margin: 32px 0 8px; padding: 24px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.legal-article .legal-summary h2 { margin: 0 0 12px; font-size: 19px; letter-spacing: -0.01em; }
.legal-summary ul { margin: 0; }
.legal-toc { margin: 28px 0 0; padding: 20px 24px; border-radius: 18px; background: var(--mint); }
.legal-toc strong { display: block; margin-bottom: 8px; font-size: 15px; }
.legal-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; margin: 0; padding-left: 1.2em; font-size: 15.5px; }
.legal-toc a { color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.legal-toc a:hover { color: var(--green); text-decoration: underline; }
.legal-article section { scroll-margin-top: 96px; }
.legal-article h2 { margin: 52px 0 14px; font-size: clamp(23px, 2.6vw, 29px); font-weight: 780; letter-spacing: -0.02em; }
.legal-article h3 { margin: 28px 0 8px; font-size: 18.5px; }
.legal-article p { margin: 0 0 14px; color: var(--ink-soft); }
.legal-article ul, .legal-article ol { display: grid; gap: 9px; margin: 0 0 16px; padding-left: 1.3em; color: var(--ink-soft); }
.legal-article li::marker { color: var(--green); }
.legal-article strong { color: var(--ink); }
.legal-article a { color: var(--green); font-weight: 600; text-underline-offset: 3px; }
.legal-table { width: 100%; margin: 6px 0 18px; border-collapse: collapse; font-size: 16px; }
.legal-table th, .legal-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: var(--mint); color: var(--ink); font-size: 14.5px; font-weight: 700; }
.legal-table td { color: var(--ink-soft); }
.legal-table-wrap { overflow-x: auto; margin: 0 -2px; }
.legal-note { margin: 18px 0; padding: 16px 20px; border-left: 4px solid var(--green); border-radius: 12px; background: var(--mint); color: var(--ink); }
.legal-note p:last-child { margin-bottom: 0; }
.legal-steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.legal-steps li { position: relative; padding-left: 46px; min-height: 32px; counter-increment: step; }
.legal-steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 750; font-size: 15px; }
.legal-contact { display: grid; gap: 4px; margin: 0 0 16px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); font-style: normal; color: var(--ink-soft); }
.legal-contact strong { color: var(--ink); }
.legal-more { display: flex; flex-wrap: wrap; gap: 10px; margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-more a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; font-weight: 600; text-decoration: none; }
.legal-more a:hover, .legal-more a[aria-current="page"] { border-color: var(--green); color: var(--green); background: var(--mint); }

/* Responsive */
@media (max-width: 1040px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }
  .hero-grid, .split, .demo-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 116px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy .store-buttons, .hero-stats { justify-content: center; }
  .hero-stats li { text-align: center; justify-items: center; }
  .hero-visual { --stick: 150px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .feature-grid, .safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { flex-direction: row; }
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .showcase-row.reverse .showcase-media { order: 0; }
  .showcase-copy .check-list { width: fit-content; max-width: 100%; margin-inline: auto; }
  .showcase-copy .check-list li { text-align: left; }
  .demo-copy { text-align: center; }
  .chapters { margin-inline: auto; }
  .faq-grid .section-head.left { text-align: center; margin: 0 auto; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--max)); }
  .header-cta { display: none; }
  .legal { padding: 104px 0 72px; }
  .legal-lead { font-size: 17.5px; }
  .legal-summary { padding: 20px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-nav { gap: 14px; }
  .legal-nav .legal-home { display: none; }
}

@media (max-width: 420px) {
  .legal-nav a:not(.btn) { display: none; }
  .menu-toggle { margin-left: auto; }
  .steps, .feature-grid, .safety-grid, .contact-grid, .giver-stats, .footer-grid, .footer-links { grid-template-columns: 1fr; }
  .hero-visual { width: auto; justify-self: stretch; }
  .float-card { padding: 9px 12px 9px 9px; gap: 9px; border-radius: 14px; }
  .float-icon { width: 30px; height: 30px; border-radius: 10px; }
  .float-card strong { font-size: 12.5px; }
  .float-card small { font-size: 11px; }
  .float-card-1 { left: -6px; top: 7%; }
  .float-card-2 { display: none; }
  .float-card-3 { left: auto; right: -6px; bottom: 9%; }
  .download-card { grid-template-columns: 1fr; text-align: center; }
  .download-copy .store-buttons { justify-content: center; }
  .download-copy p { margin-inline: auto; }
  .download-art { display: none; }
  .store-btn { flex: 1 1 200px; justify-content: center; }
  .section-lead { font-size: 17px; }
  .check-list li { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .receipt-rows div { opacity: 1 !important; transform: none !important; }
  .vehicle-car { transform: translateX(18vw); }
  .vehicle-bike { transform: translateX(62vw); }
}
