/* ==========================================================================
   Roja Roja — marketing site
   Design tokens mirror the Flutter app (lib/config/theme.dart)
   ========================================================================== */

:root {
  /* Brand */
  --primary: #5B7A4A;
  --primary-dark: #3D5A2E;
  --primary-light: #7A9B66;
  --primary-deep: #0D4715;

  /* Neutrals */
  --bg: #F1F1F1;
  --surface: #F8F9FA;
  --card: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #6B7280;
  --text-hint: #9CA3AF;
  --border: #E5E7EB;
  --divider: #F3F4F6;

  /* Accents */
  --gold: #FBBF24;
  --success: #22C55E;

  /* Shape */
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 14px;
  --r-xl: 20px;
  --r-round: 100px;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(26, 26, 26, .06), 0 1px 2px rgba(26, 26, 26, .04);
  --shadow-md: 0 10px 30px -12px rgba(26, 26, 26, .18);
  --shadow-lg: 0 30px 60px -20px rgba(26, 26, 26, .28);

  --nav-h: 72px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section {
  padding-block: clamp(64px, 9vw, 120px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }
.section-head { max-width: 620px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--text-secondary); font-size: 17px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding-inline: 26px; border-radius: var(--r-m);
  font-size: 15px; font-weight: 600; border: 1.5px solid transparent;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 12px 24px -10px rgba(61, 90, 46, .6); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: #fff; color: var(--primary-dark); border-color: #fff; }
.btn-sm { height: 44px; padding-inline: 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: #fff; transition: color .3s ease; }
.nav.scrolled .brand { color: var(--text); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #fff; flex: none;
  border: 2.5px solid var(--primary-dark);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25);
}
.brand-mark img { width: 32px; height: 32px; border-radius: 50%; }
.brand-mark svg { width: 19px; height: 19px; }
.brand span b { color: var(--primary-light); }
.nav.scrolled .brand span b { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.9); transition: color .2s ease; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--primary-light); transition: width .25s ease; border-radius: 2px; }
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--text-secondary); }
.nav.scrolled .nav-links a:hover { color: var(--text); }
.nav.scrolled .nav-links a::after { background: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 14px; }


/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding-top: var(--nav-h);
}
.hero-bg { position: absolute; inset: -9% 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,29,12,.55) 0%, rgba(13,29,12,.25) 35%, rgba(13,29,12,.75) 100%),
    linear-gradient(90deg, rgba(45,59,37,.65) 0%, rgba(45,59,37,0) 60%);
}
.hero-inner { max-width: 720px; padding-block: 40px; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--gold); }
.hero h1 {
  font-size: clamp(42px, 8vw, 82px); line-height: 1.02; margin-top: 18px;
  letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: var(--primary-light); }

/* Handwritten hero title — "writes" itself in, left to right */
.hero .hero-title {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  font-size: clamp(62px, 12vw, 148px);
  line-height: 1.18;
  letter-spacing: 0;
  margin-block: 20px 24px;
  text-shadow: 0 2px 24px rgba(13, 29, 12, .35);
}
.hero .hero-title .ink-line { display: block; position: relative; width: fit-content; padding-right: .16em; margin-block: 4px; }
.hero .hero-title .accent { color: var(--primary-light); }

@keyframes inkReveal { to { clip-path: inset(-30% 0 -30% 0); } }
@keyframes inkNib { 0% { left: 0; opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .hero .hero-title .ink-line {
    clip-path: inset(-30% 100% -30% 0);
    animation: inkReveal 1.5s cubic-bezier(.78, 0, .28, 1) forwards;
  }
  .hero .hero-title .ink-line::after {
    content: ""; position: absolute; top: 18%; bottom: 18%; left: 0; width: 3px;
    border-radius: 3px; background: var(--primary-light);
    box-shadow: 0 0 10px 1px rgba(122, 155, 102, .8); opacity: 0;
    animation: inkNib 1.5s cubic-bezier(.78, 0, .28, 1) forwards;
  }
  .hero .hero-title .ink-line:nth-child(1),
  .hero .hero-title .ink-line:nth-child(1)::after { animation-delay: .4s; }
  .hero .hero-title .ink-line:nth-child(2),
  .hero .hero-title .ink-line:nth-child(2)::after { animation-delay: 1.75s; }
}
.hero-sub { margin-top: 22px; font-size: clamp(17px, 2.2vw, 21px); max-width: 560px; color: rgba(255,255,255,.9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px); margin-top: 54px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-stats .stat b { display: block; font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.hero-stats .stat span { font-size: 14px; color: rgba(255,255,255,.75); }

.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7);
  margin-left: auto;
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; border-radius: 3px; background: #fff; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 10px); } 100% { opacity: 0; } }

/* ==========================================================================
   Intro / stats band
   ========================================================================== */
.intro { background: var(--card); }
/* minmax(0, …) rather than a bare fr: a grid track's default min-width is
   min-content, so one long unbreakable word (e.g. "Accommodation") would stop
   the column shrinking and push the whole page into horizontal scroll. */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.intro h2 { font-size: clamp(26px, 3.6vw, 40px); }
.intro p { margin-top: 18px; color: var(--text-secondary); font-size: 17px; }
/* auto-fit drops to one column wherever two won't fit — on a phone, and in the
   narrow .9fr column on mid-size desktops — without hard-coding a breakpoint.
   min() keeps the track from exceeding the container below 210px. */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.trust-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-l); padding: clamp(16px, 1.6vw, 22px); }
/* Fluid, and capped below the old 30px: the longest label ("Accommodation") no
   longer fits a two-column track at that size. hyphens/overflow-wrap are the
   safety net if a future label is longer still — the card wraps rather than the
   page scrolling. */
.trust-card b { display: block; font-size: clamp(22px, 2.2vw, 24px); font-weight: 800; color: var(--primary-dark); letter-spacing: -0.02em; overflow-wrap: break-word; hyphens: auto; }
.trust-card span { font-size: 14px; color: var(--text-secondary); }

/* ==========================================================================
   Pillars — who we connect
   ========================================================================== */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate;
  box-shadow: var(--shadow-md); transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.pillar:hover img { transform: scale(1.06); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,29,12,0) 30%, rgba(13,29,12,.55) 62%, rgba(13,29,12,.9) 100%); }
.pillar-body { padding: 28px; }
.pillar-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); display: grid; place-items: center; margin-bottom: 16px; }
.pillar-icon svg { width: 24px; height: 24px; stroke: #fff; }
.pillar h3 { font-size: 23px; }
.pillar p { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.85); }
.pillar .pillar-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 600; font-size: 14px; color: #fff; }
.pillar .pillar-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.pillar:hover .pillar-link svg { transform: translateX(4px); }

/* ==========================================================================
   How it works
   ========================================================================== */
.how { background: var(--card); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 20px; }
.step-num {
  width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; margin-bottom: 20px;
  box-shadow: 0 10px 22px -10px rgba(61,90,46,.7);
}
.step h3 { font-size: 20px; }
.step p { margin-top: 10px; color: var(--text-secondary); font-size: 15px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 45px; left: 68px; right: -14px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
}

/* ==========================================================================
   Experiences gallery
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 232px; gap: 16px; }
.gallery .feat { grid-column: span 2; grid-row: span 2; }
.gallery figure { margin: 0; position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; color: #fff; font-weight: 600; font-size: 15px;
  background: linear-gradient(180deg, transparent, rgba(13,29,12,.8)); opacity: 0; transform: translateY(8px); transition: .3s ease;
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Partner CTA band
   ========================================================================== */
.partner { position: relative; color: #fff; overflow: hidden; }
.partner-bg { position: absolute; inset: -12% 0; z-index: -2; }
.partner-bg img { width: 100%; height: 100%; object-fit: cover; }
.partner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--primary-deep) 8%, rgba(61,90,46,.85) 45%, rgba(13,29,12,.35) 100%); }
.partner-inner { max-width: 640px; }
.partner h2 { font-size: clamp(28px, 4vw, 44px); }
.partner p { margin-top: 18px; font-size: 18px; color: rgba(255,255,255,.9); }
.partner-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.partner-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.partner-list svg { width: 22px; height: 22px; flex: none; color: var(--gold); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-l); padding: 28px; box-shadow: var(--shadow-sm); }
.testi .stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.testi .stars svg { width: 18px; height: 18px; }
.testi blockquote { margin: 0; font-size: 16px; color: var(--text); }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testi .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-light); color: #fff; display: grid; place-items: center; font-weight: 700; }
.testi .who b { display: block; font-size: 15px; }
.testi .who span { font-size: 13px; color: var(--text-secondary); }

/* ==========================================================================
   Download app
   ========================================================================== */
.download { background: var(--card); }
.download-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-deep));
  color: #fff; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.download-card::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; background: rgba(122,155,102,.25); filter: blur(10px); }
.download-card h2 { font-size: clamp(26px, 3.6vw, 40px); position: relative; }
.download-card p { margin-top: 16px; color: rgba(255,255,255,.85); font-size: 17px; position: relative; }
.store-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; position: relative; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--text); height: 56px; padding-inline: 22px; border-radius: var(--r-m); transition: transform .18s ease, box-shadow .18s ease; }
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-btn svg { width: 26px; height: 26px; }
.store-btn small { display: block; font-size: 11px; color: var(--text-secondary); line-height: 1; }
.store-btn b { display: block; font-size: 16px; line-height: 1.2; }
.phone-mock { position: relative; justify-self: center; }
.phone-mock .frame {
  width: 300px; border-radius: 42px; background: #10210f; border: 4px solid #0a160a;
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative; line-height: 0;
}
.phone-mock .frame img { width: 100%; height: auto; display: block; }
.phone-mock .notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 84px; height: 20px; background: #0a160a; border-radius: 12px; z-index: 2; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #10210f; color: rgba(255,255,255,.72); padding-block: 64px 32px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer p { font-size: 15px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { font-size: 15px; transition: color .2s ease; }
.footer a:hover { color: var(--primary-light); }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; }
.footer-socials a:hover { background: var(--primary); border-color: var(--primary); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 14px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Toast (Coming soon)
   ========================================================================== */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: #fff; font-size: 15px; font-weight: 500;
  padding: 14px 20px; border-radius: var(--r-round); box-shadow: var(--shadow-lg);
  transition: opacity .3s ease, transform .3s cubic-bezier(.16,1,.3,1); max-width: calc(100vw - 40px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--primary-light); flex: none; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* Reveal variants — spring easing gives a subtle overshoot ("bounce") into place */
.reveal-scale { transform: translateY(22px) scale(.94); transition-duration: .85s; transition-timing-function: cubic-bezier(.34, 1.4, .5, 1); }
.reveal-scale.in { transform: none; }
.reveal-left { transform: translateX(-34px); }
.reveal-left.in { transform: none; }
.reveal-right { transform: translateX(34px); }
.reveal-right.in { transform: none; }
.reveal-expand { transform: scale(.9); transition: opacity .9s ease, transform .9s cubic-bezier(.34, 1.45, .5, 1); }
.reveal-expand.in { transform: none; }

/* Ambient continuous motion */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes slowzoom { from { transform: scale(1.05); } to { transform: scale(1.14); } }
.floaty { animation: floaty 6.5s ease-in-out infinite; will-change: transform; }
.hero-bg img, .partner-bg img { animation: slowzoom 22s ease-in-out infinite alternate; will-change: transform; }

/* Parallax layers (transform driven by JS) */
[data-parallax] { will-change: transform; }

/* ==========================================================================
   Legal page (terms.html)
   ========================================================================== */
.legal-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary-deep)); color: #fff; padding-top: calc(var(--nav-h) + 60px); padding-bottom: 60px; }
.legal-hero h1 { font-size: clamp(32px, 5vw, 52px); }
.legal-hero p { margin-top: 14px; color: rgba(255,255,255,.85); }
.legal-body { padding-block: 60px; }
.legal-body .container { max-width: 820px; }
.legal-body h2 { font-size: 24px; margin-top: 44px; scroll-margin-top: 90px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 18px; margin-top: 26px; }
.legal-body p, .legal-body li { color: var(--text-secondary); font-size: 16px; margin-top: 14px; }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin-top: 8px; }
.legal-note { background: #FEF3C7; border: 1px solid var(--gold); color: #92400e; border-radius: var(--r-m); padding: 16px 20px; font-size: 14px; margin-bottom: 36px; }
.legal-toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-l); padding: 24px 28px; margin-bottom: 40px; }
.legal-toc h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-secondary); }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; gap: 20px; }
.legal-toc a { color: var(--primary-dark); font-size: 15px; line-height: 2; }
.legal-toc a:hover { text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .intro-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 340px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step:not(:last-child)::after { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .phone-mock { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .gallery .feat { grid-column: auto; grid-row: auto; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero-stats { gap: 22px; }
  .hero-stats .stat { flex: 1 1 40%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc ol { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
