/* =============================================================
   MERIDIAN LEVELS — style.css
   Organised: Variables → Reset → Typography → Layout →
              Nav → Hero → Sections → Footer → Utilities → Mobile
   ============================================================= */

/* ---- VARIABLES ---- */
:root {
  --ink:       #15130f;
  --ink-2:     #211e18;
  --ink-soft:  #3a352d;
  --paper:     #f4efe6;
  --paper-2:   #ece4d6;
  --line:      #d8cdb9;
  --gold:      #c2742a;
  --gold-deep: #9c5417;
  --clay:      #7a3b1d;
  --sky:       #2f5d54;
  --sky-light: #3d756a;
  --cream:     #fbf8f1;
  --shadow:    rgba(21, 19, 15, 0.10);
  --nav-h:     70px;
}

/* ---- DARK MODE LOCK — force light on all platforms ---- */
html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* Override any OS-level force-dark on iOS/Android */
@media (prefers-color-scheme: dark) {
  html { color-scheme: light; }
  body { background-color: var(--paper) !important; color: var(--ink) !important; }
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Archivo', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.em { font-style: italic; color: var(--clay); }

/* ---- GRAIN TEXTURE ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- LAYOUT ---- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
section { position: relative; z-index: 2; padding: 110px 0; }
.sec-tag {
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 18px; display: block;
}
.sec-head { max-width: 680px; margin-bottom: 64px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 20px; }
.sec-head p  { font-size: 18px; color: var(--ink-soft); }


/* =============================================================
   NAV
   ============================================================= */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  padding: 0 32px;
  /* Solid fallback first (iOS Safari), then blur on top */
  background: #f4efe6;
  background: rgba(244, 239, 230, 0.96);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
nav.scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 230, 0.98);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo svg { width: 40px; height: 31px; display: block; }
.logo .wm {
  font-family: 'Fraunces', serif;
  display: flex; align-items: baseline; gap: .22em;
  line-height: 1; letter-spacing: -0.02em; white-space: nowrap;
}
.logo .wm .k {
  font-size: 21px; font-weight: 600; color: var(--ink);
}
/* "Levels" is not a separate span — name is "Meridian Levels" as one string.
   If you want to colour "Levels" differently, split into two spans here. */

/* Desktop nav links */
.nav-links { display: flex; gap: 34px; align-items: center; font-size: 14.5px; font-weight: 500; }
.nav-links a { position: relative; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1.5px; background: var(--gold); transition: width .25s;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }

/* Desktop CTA */
.nav-cta {
  background: var(--ink); color: var(--cream);
  padding: 11px 22px; border-radius: 2px;
  font-weight: 600; font-size: 14px;
  transition: background .2s, transform .2s;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--clay); transform: translateY(-1px); }

/* Hamburger */
.menu-btn {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: 1.5px solid var(--line);
  border-radius: 6px; cursor: pointer; padding: 9px 10px;
  width: 42px; height: 40px; flex-shrink: 0;
}
.menu-btn .bar {
  display: block; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.menu-btn[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mob-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--cream); z-index: 99;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mob-menu.open { transform: translateX(0); }
.mob-menu-inner { padding: 32px 28px 60px; }
.mob-link {
  display: block; font-family: 'Fraunces', serif;
  font-size: 28px; font-weight: 400; color: var(--ink);
  padding: 18px 0; border-bottom: 1px solid var(--line);
  transition: color .2s;
}
.mob-link:last-child { border-bottom: none; }
.mob-link:hover, .mob-link.active { color: var(--clay); }
.mob-cta {
  margin-top: 28px; display: block;
  background: var(--ink); color: var(--cream) !important;
  text-align: center; padding: 18px 24px;
  border-radius: 4px; font-family: 'Archivo', sans-serif !important;
  font-size: 16px !important; font-weight: 600;
  border-bottom: none !important;
}
.mob-cta:hover { background: var(--clay) !important; }


/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px; border-radius: 2px;
  font-weight: 600; font-size: 15px;
  transition: all .22s; cursor: pointer; border: none;
  font-family: 'Archivo', sans-serif;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover {
  background: var(--clay); transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--shadow);
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn .arr { transition: transform .22s; }
.btn:hover .arr { transform: translateX(4px); }


/* =============================================================
   HERO
   ============================================================= */
header {
  position: relative;
  padding: calc(var(--nav-h) + 88px) 0 88px;
  overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
}
.hero-bg .b1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #e0a35e, transparent 70%);
  top: -120px; right: -80px;
}
.hero-bg .b2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #3d756a, transparent 70%);
  bottom: -160px; left: -120px; opacity: .35;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 880px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 28px;
  opacity: 0; animation: rise .7s .1s forwards;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(194,116,42,.18); flex-shrink: 0;
}
h1.hero-title {
  font-size: clamp(42px, 6.4vw, 80px);
  font-weight: 400; margin-bottom: 30px;
}
.hero-title .line { display: block; opacity: 0; animation: rise .8s forwards; }
.hero-title .line:nth-child(1) { animation-delay: .18s; }
.hero-title .line:nth-child(2) { animation-delay: .30s; }
.hero-title .line:nth-child(3) { animation-delay: .42s; }
.hero-sub {
  font-size: 20px; color: var(--ink-soft);
  max-width: 600px; margin-bottom: 40px;
  opacity: 0; animation: rise .8s .55s forwards;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: rise .8s .68s forwards;
}
.trust {
  position: relative; z-index: 2;
  margin-top: 72px; padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; gap: 46px; flex-wrap: wrap;
  opacity: 0; animation: rise .8s .85s forwards;
}
.trust .item .num {
  font-family: 'Fraunces', serif; font-size: 34px;
  font-weight: 500; color: var(--ink);
}
.trust .item .lbl {
  font-size: 13.5px; color: var(--ink-soft);
  max-width: 170px; margin-top: 2px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* =============================================================
   MARQUEE BAND
   ============================================================= */
.band {
  background: var(--ink); color: var(--cream);
  padding: 24px 0; overflow: hidden; position: relative; z-index: 2;
}
.marquee-track {
  display: flex; gap: 60px; white-space: nowrap;
  animation: scroll 34s linear infinite;
  font-family: 'Fraunces', serif; font-size: 20px; font-style: italic; opacity: .9;
}
.marquee-track span { display: flex; align-items: center; gap: 60px; }
.marquee-track span::after { content: "▲"; color: var(--gold); font-style: normal; font-size: 11px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* =============================================================
   MODEL / LADDER
   ============================================================= */
#model { background: var(--cream); }
.ladder {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; background: var(--paper);
}
.rung {
  display: grid; grid-template-columns: 160px 1fr auto;
  gap: 30px; align-items: center;
  padding: 34px 36px; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background .25s; position: relative;
  text-decoration: none; color: inherit;
}
.rung:last-child { border-bottom: none; }
.rung::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; background: var(--gold); transition: width .25s;
}
.rung:hover::before { width: 5px; }
.rung:hover { background: var(--cream); }
.rung-stage { display: flex; align-items: center; gap: 14px; }
.rung-stage .lvmark { width: 30px; height: 23px; flex-shrink: 0; }
.rung-stage .n {
  font-size: 12px; letter-spacing: .1em;
  color: var(--gold-deep); font-weight: 700; text-transform: uppercase;
}
.rung-stage .word {
  font-family: 'Fraunces', serif; font-size: 28px; font-weight: 500;
  display: block; margin-top: 2px;
}
.rung-desc h3 { font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.rung-desc p  { font-size: 15px; color: var(--ink-soft); max-width: 560px; }
.rung-depth { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.depth-bar {
  width: 90px; height: 6px; border-radius: 3px;
  background: var(--paper-2); overflow: hidden; border: 1px solid var(--line);
}
.depth-bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--clay));
}
.rung-depth .cap {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
}
.ladder-note {
  margin-top: 26px; font-size: 15px; color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
}
.ladder-note .ln { flex: 1; height: 1px; background: var(--line); }


/* =============================================================
   TIER CARDS
   ============================================================= */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 6px; padding: 36px 32px; position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden;
}
.tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px var(--shadow); border-color: var(--gold);
}
.tier-icon {
  width: 50px; height: 50px; border-radius: 4px;
  display: grid; place-items: center;
  margin-bottom: 24px; background: var(--paper-2);
}
.tier-icon svg { width: 26px; height: 26px; stroke: var(--clay); fill: none; stroke-width: 1.6; }
.tier h3 { font-size: 24px; font-weight: 500; margin-bottom: 6px; }
.tier .sub {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px;
}
.tier p { font-size: 15px; color: var(--ink-soft); margin-bottom: 20px; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tier li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.tier li::before {
  content: ""; flex-shrink: 0; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold); margin-top: 6px;
}
.tier .variants {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex; gap: 8px; flex-wrap: wrap;
}
.pill {
  font-size: 12px; font-weight: 600; padding: 5px 11px;
  border-radius: 20px; border: 1px solid var(--line); background: var(--paper);
}
.pill.out { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tier-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 22px; font-size: 14px; font-weight: 600;
  color: var(--gold-deep); transition: gap .2s;
}
.tier-cta:hover { gap: 10px; }


/* =============================================================
   WHY SOUTH AFRICA
   ============================================================= */
#why { background: var(--ink); color: var(--cream); overflow: hidden; }
#why .sec-tag  { color: var(--gold); }
#why .sec-head h2 .em { color: #e0a35e; }
#why .sec-head p { color: #cabfac; }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.why-row {
  padding: 22px 0; border-top: 1px solid rgba(216,205,185,.18);
  display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start;
}
.why-row:last-child { border-bottom: 1px solid rgba(216,205,185,.18); }
.why-row .k {
  font-family: 'Fraunces', serif; font-size: 28px;
  color: var(--gold); font-weight: 500;
}
.why-row h4 {
  font-size: 18px; font-weight: 500; margin-bottom: 5px;
  font-family: 'Fraunces', serif; color: var(--cream);
}
.why-row p { font-size: 14px; color: #cabfac; }
.why-card {
  background: linear-gradient(150deg, #211e18, #1a1813);
  border: 1px solid rgba(216,205,185,.16);
  border-radius: 8px; padding: 36px; position: relative;
}
.why-card::before {
  content: ""; position: absolute; top: 0; left: 36px; right: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.why-card .label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 20px;
}
.cost-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid rgba(216,205,185,.12);
}
.cost-row:last-of-type { border-bottom: none; }
.cost-row .role { font-size: 14px; color: #e8e0d2; }
.cost-row .vals { text-align: right; }
.cost-row .us   { font-size: 12px; color: #8c8474; text-decoration: line-through; }
.cost-row .sa   {
  font-family: 'Fraunces', serif; font-size: 20px;
  color: var(--cream); font-weight: 500;
}
.cost-foot { margin-top: 18px; font-size: 12px; color: #8c8474; font-style: italic; }


/* =============================================================
   FUNCTIONS
   ============================================================= */
#functions { background: var(--cream); }
.fn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fn {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 5px; padding: 24px; transition: all .2s; cursor: default;
}
.fn:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.fn:hover .fn-tag { color: var(--gold); }
.fn .fn-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 10px; transition: color .2s;
}
.fn h4 { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.fn p  { font-size: 13px; opacity: .85; }
.ai-strip {
  margin-top: 38px;
  background: linear-gradient(135deg, var(--sky), var(--sky-light));
  color: var(--cream); border-radius: 8px; padding: 46px 50px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px;
  align-items: center; position: relative; overflow: hidden;
}
.ai-strip::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.ai-strip h3 { font-size: 28px; font-weight: 500; margin-bottom: 10px; position: relative; }
.ai-strip p  { font-size: 16px; color: #dcebe7; max-width: 540px; position: relative; }
.ai-strip .btn-primary { background: var(--cream); color: var(--ink); position: relative; white-space: nowrap; }
.ai-strip .btn-primary:hover { background: var(--gold); }


/* =============================================================
   HOW IT WORKS
   ============================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { padding: 0 26px; position: relative; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 25px; right: -1px;
  width: 1px; height: calc(100% - 25px); background: var(--line);
}
.step .num {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid var(--ink); display: grid; place-items: center;
  font-family: 'Fraunces', serif; font-size: 20px; margin-bottom: 24px;
  background: var(--paper);
}
.step h4 { font-size: 19px; font-weight: 500; margin-bottom: 10px; }
.step p  { font-size: 14px; color: var(--ink-soft); }


/* =============================================================
   CTA SECTION
   ============================================================= */
#cta { background: var(--ink); color: var(--cream); text-align: center; }
.cta-mark { width: 64px; height: 49px; margin: 0 auto 28px; display: block; }
#cta h2 {
  font-size: clamp(34px, 5vw, 60px); font-weight: 400;
  margin-bottom: 20px; max-width: 760px; margin-left: auto; margin-right: auto;
}
#cta h2 .em { color: #e0a35e; }
#cta p { font-size: 18px; color: #cabfac; max-width: 540px; margin: 0 auto 38px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
#cta .btn-primary { background: var(--gold); color: var(--ink); }
#cta .btn-primary:hover { background: var(--cream); }
#cta .btn-ghost { border-color: rgba(216,205,185,.4); color: var(--cream); }
#cta .btn-ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }


/* =============================================================
   FOOTER
   ============================================================= */
footer {
  background: #0f0e0b; color: #8c8474;
  padding: 56px 0 36px;
}
.foot-top {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 40px; padding-bottom: 36px;
  border-bottom: 1px solid rgba(216,205,185,.12);
}
.foot-brand { max-width: 300px; }
.foot-logo .wm .k { color: var(--cream) !important; }
.foot-tagline { margin-top: 14px; font-size: 14px; line-height: 1.6; }
.foot-social { display: flex; gap: 12px; margin-top: 16px; }
.foot-social a { color: #8c8474; transition: color .2s; }
.foot-social a:hover { color: var(--gold); }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h5 {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: #cabfac; margin-bottom: 14px; font-weight: 700;
}
.foot-col a { display: block; font-size: 14px; margin-bottom: 9px; color: #8c8474; transition: color .2s; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom {
  padding-top: 26px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; font-size: 13px;
}
.foot-bottom a { color: #8c8474; transition: color .2s; }
.foot-bottom a:hover { color: var(--gold); }


/* =============================================================
   PROBLEM SECTION
   ============================================================= */
.problem-sec { background: var(--paper); padding: 80px 0; }
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.problem-words h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 20px; }
.problem-words p  { font-size: 16px; color: var(--ink-soft); margin-bottom: 16px; }
.prob-card {
  border: 1px solid var(--line); border-radius: 8px; padding: 26px 28px;
  margin-bottom: 14px; background: var(--cream);
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.prob-card:hover { border-color: var(--gold); transform: translateX(4px); }
.prob-card.active {
  border-color: var(--clay); border-left: 4px solid var(--clay);
  background: var(--cream);
}
.prob-num {
  font-family: 'Fraunces', serif; font-size: 13px; font-weight: 600;
  color: var(--gold-deep); letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 8px;
}
.prob-card h4 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.prob-card p  { font-size: 14px; color: var(--ink-soft); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: translateY(0); }


/* =============================================================
   MOBILE — max-width: 860px
   ============================================================= */
@media (max-width: 860px) {
  /* Nav */
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .menu-btn   { display: flex; }
  .mob-menu   { display: block; }
  nav         { padding: 0 22px; }

  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .prob-card:hover { transform: none; }

  /* Hero */
  header      { padding: calc(var(--nav-h) + 50px) 0 60px; min-height: auto; }
  .hero-sub   { font-size: 17px; }
  .hero-bg .b1 { width: 280px; height: 280px; }
  .trust      { gap: 28px; }
  .trust .item .num { font-size: 26px; }

  /* Sections */
  .tiers, .fn-grid, .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .why-grid   { grid-template-columns: 1fr; gap: 40px; }
  .rung       { grid-template-columns: 1fr; gap: 14px; padding: 26px 22px; }
  .rung-depth { align-items: flex-start; }
  .ai-strip   { grid-template-columns: 1fr; padding: 34px 28px; }
  .ai-strip .btn-primary { align-self: flex-start; }

  /* Footer */
  .foot-top   { flex-direction: column; }
  .foot-cols  { gap: 32px; }
}

@media (max-width: 480px) {
  h1.hero-title { font-size: clamp(36px, 9vw, 52px); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .cta-actions  { flex-direction: column; align-items: center; }
}
