/* ============================================================
   iLand — Design System
   Palette: deep forest / brand green / medium green / warm gold
   Type: Fraunces (display) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --forest:   #0F2318;
  --green:    #1A4D2E;
  --mid:      #2E7D52;
  --gold:     #C9A84C;
  --gold-lt:  #E8D49A;
  --base:     #F7F6F2;
  --white:    #FFFFFF;
  --text:     #1C2B22;
  --muted:    #5A7265;
  --border:   #DDE8E1;

  --r-sm:     8px;
  --r-md:     14px;
  --r-lg:     24px;

  --shadow-sm: 0 1px 4px rgba(15,35,24,.06);
  --shadow-md: 0 4px 20px rgba(15,35,24,.10);
  --shadow-lg: 0 12px 48px rgba(15,35,24,.14);

  --max: 1160px;
  --nav-h: 68px;

  --ease: cubic-bezier(.22,.68,0,1.2);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--base);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ── Typography ─────────────────────────────────────────── */
.display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mid);
}
.lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.7;
}

/* ── Layout helpers ─────────────────────────────────────── */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 100px; }
.section--sm { padding-block: 64px; }
.section--lg { padding-block: 140px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex  { display: flex; }
.center { text-align: center; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(247,246,242,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex; align-items: center; gap:  6px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--forest);
  letter-spacing: -.03em;
}
.nav__logo-image {
    height: 70px;
    width: auto;
    display: block;
}
.nav__link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--forest); background: rgba(15,35,24,.05); }
.nav__link.active { color: var(--green); font-weight: 600; }
.nav__cta {
  padding: 10px 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  transition: background .2s, transform .15s var(--ease);
}
.nav__cta:hover { background: var(--forest); transform: translateY(-1px); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--forest); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav__mobile {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-md);
  z-index: 99;
}
.nav__mobile .nav__link { padding: 12px 16px; font-size: 1rem; }
.nav__mobile .nav__cta { margin-top: 8px; text-align: center; padding: 14px; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: .95rem; font-weight: 600;
  transition: all .2s var(--ease);
}
.btn--primary {
  background: var(--green); color: var(--white);
  box-shadow: 0 4px 16px rgba(26,77,46,.3);
}
.btn--primary:hover { background: var(--forest); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,77,46,.35); }
.btn--secondary {
  background: transparent; color: var(--green);
  border: 2px solid var(--green);
}
.btn--secondary:hover { background: var(--green); color: var(--white); }
.btn--gold {
  background: var(--gold); color: var(--forest);
  box-shadow: 0 4px 16px rgba(201,168,76,.35);
}
.btn--gold:hover { background: #b8943e; transform: translateY(-2px); }
.btn--lg { padding: 18px 40px; font-size: 1.05rem; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  background: var(--forest);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
}

/* Aerial land-grid background — pure CSS, no images */
.hero__grid {
  position: absolute; inset: 0;
  opacity: .08;
  pointer-events: none;
  background-image:
    linear-gradient(var(--mid) 1px, transparent 1px),
    linear-gradient(90deg, var(--mid) 1px, transparent 1px),
    linear-gradient(var(--gold) .5px, transparent .5px),
    linear-gradient(90deg, var(--gold) .5px, transparent .5px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  animation: grid-drift 40s linear infinite;
}
@keyframes grid-drift {
  0%   { background-position: 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 80px 80px, 80px 80px, 20px 20px, 20px 20px; }
}

/* Gold plot markers scattered across hero */
.hero__plots {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero__plot {
  position: absolute;
  border: 1.5px solid rgba(201,168,76,.25);
  border-radius: 2px;
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero__content { color: var(--white); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 28px;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform: scale(1); }
  50% { opacity:.5; transform: scale(.7); }
}
.hero__title { margin-bottom: 24px; }
.hero__title em { font-style: italic; color: var(--gold-lt); }
.hero__desc {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 460px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: 32px; margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--white); line-height: 1;
}
.hero__stat-label { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 4px; }

/* Phone mockup */
.hero__app-screen{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    border-radius:24px;
    opacity:1;
    transition:opacity .6s ease;
}
.hero__phone {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.hero__phone-shell {
  width: 260px;
  background: #0a1a0f;
  border-radius: 36px;
  border: 2.5px solid rgba(255,255,255,.1);
  padding: 14px 14px 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04);
  position: relative;
  animation: phone-float 5s ease-in-out infinite;
}
@keyframes phone-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero__phone-notch {
  width: 70px; height: 10px;
  background: #0a1a0f;
  border-radius: 50px;
  margin: 0 auto 14px;
  border: 1.5px solid rgba(255,255,255,.08);
}
.hero__phone-screen{
    position:relative;
    width:100%;
    aspect-ratio:9/18;
    overflow:hidden;
    border-radius:24px;
    background:#111;
}
.phone__bar {
  height: 44px; background: rgba(26,77,46,.8);
  display: flex; align-items: center; padding: 0 16px;
  gap: 10px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.phone__bar-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.phone__bar-text { font-size: .65rem; color: rgba(255,255,255,.7); font-weight: 600; }
.phone__card {
  margin: 12px;
  background: rgba(46,125,82,.15);
  border: 1px solid rgba(46,125,82,.3);
  border-radius: 12px;
  padding: 12px;
}
.phone__card-img {
  height: 60px; background: rgba(46,125,82,.3);
  border-radius: 8px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center;
}
.phone__card-title { font-size: .6rem; color: rgba(255,255,255,.85); font-weight: 600; margin-bottom: 4px; }
.phone__card-meta { font-size: .55rem; color: rgba(255,255,255,.45); }
.phone__card-price {
  font-family: 'Fraunces', serif;
  font-size: .85rem; color: var(--gold-lt); font-weight: 700;
  margin-top: 6px;
}
.phone__badge {
  display: inline-block; background: rgba(201,168,76,.2);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold-lt); font-size: .5rem; font-weight: 700;
  padding: 2px 7px; border-radius: 4px; text-transform: uppercase; letter-spacing: .08em;
}

/* ── Section headers ─────────────────────────────────────── */
.section__head { margin-bottom: 64px; }
.section__head.center { text-align: center; }
.section__head .eyebrow { margin-bottom: 16px; }
.section__head h2 { margin-bottom: 20px; }
.section__head .lead { max-width: 540px; }
.section__head.center .lead { margin-inline: auto; }

/* ── Feature cards ───────────────────────────────────────── */
.feature-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: box-shadow .25s, transform .25s var(--ease);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  border-radius: 0 0 3px 3px;
  transition: height .3s var(--ease-out);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-card:hover::before { height: 100%; }
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(26,77,46,.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--green); }
.feature-card h3 { margin-bottom: 12px; color: var(--forest); }
.feature-card p { color: var(--muted); font-size: .95rem; line-height: 1.65; }

/* ── Steps ───────────────────────────────────────────────── */
.step {
  display: flex; gap: 24px; align-items: flex-start;
}
.step__num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem; font-weight: 700;
}
.step__body h4 { margin-bottom: 8px; color: var(--forest); }
.step__body p { color: var(--muted); font-size: .95rem; }

/* ── Download CTA ─────────────────────────────────────────── */
.download-section {
  background: var(--green);
  border-radius: var(--r-lg);
  padding: 64px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.download-section::after {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.download-section h2 { color: var(--white); }
.download-section .lead { color: rgba(255,255,255,.7); }
.play-btn {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  border-radius: 16px;
  padding: 16px 28px;
  transition: transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}
.play-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.play-btn svg { width: 32px; height: 32px; flex-shrink: 0; }
.play-btn__text { display: flex; flex-direction: column; }
.play-btn__small { font-size: .7rem; color: var(--muted); }
.play-btn__large { font-size: 1.1rem; font-weight: 700; color: var(--forest); line-height: 1.2; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px;
  border: 1px solid var(--border);
}
.testimonial__quote {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem; font-style: italic;
  color: var(--forest);
  line-height: 1.6;
  margin-bottom: 28px;
}
.testimonial__author { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mid), var(--forest));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: .95rem;
}
.testimonial__name { font-weight: 600; font-size: .95rem; }
.testimonial__role { font-size: .8rem; color: var(--muted); }
.stars { color: var(--gold); font-size: .9rem; margin-bottom: 16px; }

/* ── Page header (inner pages) ───────────────────────────── */
.page-header {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 64px;
  background: var(--forest);
  color: var(--white);
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,125,82,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,125,82,.08) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-header__inner { position: relative; z-index: 1; }
.page-header .eyebrow { color: var(--gold-lt); opacity: .8; }
.page-header h1 { margin-top: 16px; margin-bottom: 20px; }
.page-header .lead { color: rgba(255,255,255,.65); max-width: 560px; }

/* ── Accordion / FAQ ─────────────────────────────────────── */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .2s;
}
.accordion__item.open { box-shadow: var(--shadow-sm); }
.accordion__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  font-weight: 600; font-size: 1rem;
  color: var(--forest);
  text-align: left;
  gap: 16px;
}
.accordion__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(26,77,46,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .3s var(--ease);
}
.accordion__icon svg { width: 14px; height: 14px; color: var(--green); }
.accordion__item.open .accordion__icon {
  background: var(--green); transform: rotate(45deg);
}
.accordion__item.open .accordion__icon svg { color: var(--white); }
.accordion__body {
  display: none;
  padding: 0 28px 24px;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.accordion__item.open .accordion__body { display: block; }

/* ── Contact form ─────────────────────────────────────────── */
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--forest); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: .97rem;
  background: var(--white);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--mid);
  box-shadow: 0 0 0 3px rgba(46,125,82,.12);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-hint { font-size: .83rem; color: var(--muted); margin-top: 6px; }

/* ── Cards (help center, etc.) ───────────────────────────── */
.help-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s var(--ease);
  cursor: pointer;
}
.help-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.help-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(26,77,46,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.help-card__icon svg { width: 22px; height: 22px; color: var(--green); }
.help-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.help-card p { font-size: .9rem; color: var(--muted); }
.help-card__arrow { margin-top: 20px; color: var(--mid); font-size: .85rem; font-weight: 600; }

/* ── Badges / tags ───────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .78rem; font-weight: 600;
}
.badge--green { background: rgba(26,77,46,.1); color: var(--green); }
.badge--gold  { background: rgba(201,168,76,.15); color: #8a6e1e; }

/* ── Prose (legal pages) ─────────────────────────────────── */
.prose { max-width: 760px; }
.prose h2 {
  font-size: 1.5rem; color: var(--forest); margin: 48px 0 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.prose h3 { font-size: 1.15rem; color: var(--forest); margin: 28px 0 10px; }
.prose p  { color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.prose ul { margin: 0 0 18px 0; padding-left: 20px; }
.prose ul li {
  color: var(--muted); line-height: 1.75;
  list-style: disc; margin-bottom: 8px;
}
.prose a { color: var(--mid); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--forest); font-weight: 600; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--forest);
  color: rgba(255,255,255,.55);
  padding-block: 80px 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand .nav__logo { color: var(--white); margin-bottom: 20px; }
.footer__tagline { font-size: .9rem; line-height: 1.7; max-width: 260px; margin-bottom: 28px; }
.footer__col h5 {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: .9rem; color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem;
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer__legal a:hover { color: rgba(255,255,255,.8); }

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  height: 1px; background: var(--border);
  margin-block: 48px;
}

/* ── Alert banner (Delete Account warning) ───────────────── */
.alert {
  border-radius: var(--r-md);
  padding: 20px 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.alert--warning {
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.3);
}
.alert--danger {
  background: rgba(180,30,30,.07);
  border: 1px solid rgba(180,30,30,.2);
}
.alert__icon { flex-shrink: 0; font-size: 1.2rem; margin-top: 1px; }
.alert__body h4 { font-size: .95rem; margin-bottom: 6px; }
.alert--warning .alert__body h4 { color: #7a5c10; }
.alert--danger .alert__body h4 { color: #8b1a1a; }
.alert__body p { font-size: .88rem; color: var(--muted); }

/* ── Reveal animation (scroll) ───────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .download-section { grid-template-columns: 1fr; text-align: center; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Global spacing/padding — legal pages ask for ~20px padding and no
     excessive margins; this benefits every page site-wide on mobile. */
  .container { padding-inline: 20px; }
  .section { padding-block: 56px; }
  .section--lg { padding-block: 72px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  /* ── Hero: single column, centered, readable, buttons stacked ── */
  .hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 56px; min-height: 0; }
  .hero__inner { text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__eyebrow { margin-inline: auto; }
  .hero__desc { margin-inline: auto; }
  .hero__actions { flex-direction: column; width: 100%; align-items: stretch; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats { flex-wrap: wrap; gap: 24px; justify-content: center; text-align: left; }

  /* ── Phone mockup: was `display:none` at 960px — now shown, centered,
     sized to the requested 220–260px band, and constrained so it can
     never exceed the viewport regardless of device width. ── */
  .hero__phone {
    display: flex;
    margin-top: 40px;
  }
  .hero__phone-shell {
    width: min(240px, 70vw);
  }

  /* ── How It Works: stack the two-column step/visual layout, full-width
     cards, centered step numbers ── */
  .how-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .step { text-align: left; }
  .step__num { margin-inline: 0; }

  /* ── Nav: fills width, comfortable tap targets ── */
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; padding: 10px; }
  .nav__mobile { width: 100%; }
  .nav__mobile .nav__link { min-height: 44px; display: flex; align-items: center; }
  .nav__mobile .nav__cta {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .download-section { padding: 40px 28px; }

  /* ── Footer: stacked and centered ── */
  .footer { padding-block: 56px 32px; }
  .footer__top { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .footer__brand { display: flex; flex-direction: column; align-items: center; }
  .footer__brand .nav__logo { justify-content: center; }
  .footer__tagline { margin-inline: auto; }
  .footer__col ul { align-items: center; }
  .footer__bottom { flex-direction: column; gap: 20px; text-align: center; }

  /* ── Legal / inner pages: tighter, more readable spacing ── */
  .page-header { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 40px; }
  .prose h2 { margin: 32px 0 12px; }
  .prose h3 { margin: 20px 0 8px; }
  .prose p, .prose ul { line-height: 1.75; }

  /* Fixed two-column checklists risk overflow at narrow widths since grid
     tracks won't shrink below their content's min width — stack instead. */
  .mobile-stack-2col { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .hero__actions { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero__phone-shell { width: min(220px, 68vw); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
