/* =========================================================================
   KARIMI — Landing Page  ·  Editorial / Reverent
   Brand: Karimi (powered by Shura Investments)
   Source of truth: karimi-brand-guide-v2.md  (the guide wins on any conflict)
   ========================================================================= */

/* ---- Design tokens ---------------------------------------------------- */
:root {
  /* Identity palette */
  --green:        #0F3D2E;  /* Madinah Green  — primary, headers, dark surfaces */
  --gold:         #C8A85C;  /* Manuscript Gold — accent, dividers, special moments */
  --ivory:        #F5F0E6;  /* Soft Ivory — primary canvas */
  --charcoal:     #1F2A2E;  /* Deep Charcoal — body text */
  --sage:         #8FA68B;  /* quiet secondary */
  --sand:         #D9C9A3;  /* quiet secondary / layered accents */

  /* Functional */
  --action:        #1B7A55; /* Karimi Green — primary buttons, links */
  --action-press:  #14563C; /* hover / pressed */
  --gold-deep:     #9A7E3C; /* darkened gold for AA-safe small accents */

  /* Warm neutrals */
  --warm-white:   #FBF8F1;
  --n100:         #EBE4D6;
  --n300:         #D8CFBD;
  --n500:         #A89E8A;
  --n700:         #6E6655;

  /* Type */
  --display: "Cormorant Garamond", Georgia, serif;
  --accent:  "Cinzel", Georgia, serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --arabic:  "Amiri", "Cormorant Garamond", serif;

  /* Spacing scale (8px base) */
  --s-1: 0.5rem;  --s-2: 1rem;   --s-3: 1.5rem;  --s-4: 2rem;
  --s-5: 3rem;    --s-6: 4rem;   --s-7: 6rem;    --s-8: 8rem;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --radius: 12px;
  --radius-lg: 18px;

  /* Warm, low, tinted shadows (never harsh) */
  --shadow-1: 0 1px 2px rgba(31,42,46,.05), 0 6px 18px rgba(15,61,46,.06);
  --shadow-2: 0 2px 6px rgba(31,42,46,.06), 0 18px 44px rgba(15,61,46,.10);
  --shadow-gold: 0 10px 40px rgba(200,168,92,.18);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 1.0625rem;        /* 17px base */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--action); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Soft paper grain over the whole canvas for documentary depth */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Typography ------------------------------------------------------- */
h1, h2, h3 { font-family: var(--display); color: var(--green); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.85rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.15; }
p  { color: var(--charcoal); }
.lead { font-size: clamp(1.12rem, 1.8vw, 1.3rem); line-height: 1.6; color: var(--n700); }

.eyebrow {
  font-family: var(--accent);
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: .65rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gold);
}
.arabic { font-family: var(--arabic); }

/* ---- Layout helpers --------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; z-index: 1; }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 1.25rem; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.6rem; border-radius: 10px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn-primary { background: var(--action); color: #fff; box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--action-press); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-primary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--n300); }
.btn-ghost:hover { border-color: var(--green); background: var(--warm-white); transform: translateY(-2px); }
.btn-ghost:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { background: #d8ba6e; transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-gold:focus-visible { outline: 3px solid var(--ivory); outline-offset: 3px; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.06rem; }

/* ---- Geometric motif (Rub el Hizb 8-point star = two squares) --------- */
.star { width: 1em; height: 1em; color: var(--gold); flex: none; }
.star rect { fill: none; stroke: currentColor; stroke-width: 2.2; }

.divider { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin: 0 auto; max-width: 360px; }
.divider .line { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider .line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.divider .star { width: 22px; height: 22px; }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,240,230,.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--n100); box-shadow: 0 4px 24px rgba(15,61,46,.05); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 78px; }
.nav .brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--charcoal); font-weight: 500; font-size: .96rem; position: relative; padding: .25rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0; background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; color: var(--green); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 920px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--ivory);
  padding: var(--gutter); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav .m-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.mobile-nav .m-top img { height: 40px; }
.mobile-nav .m-close { background: none; border: 0; color: var(--green); }
.mobile-nav .m-close svg { width: 30px; height: 30px; }
.mobile-nav a { font-family: var(--display); font-size: 1.9rem; color: var(--green); padding: .55rem 0; border-bottom: 1px solid var(--n100); }
.mobile-nav .btn { margin-top: 2rem; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { padding-block: clamp(3rem, 7vw, 6.5rem) clamp(4rem, 8vw, 7rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { margin: .4rem 0 1.4rem; }
.hero h1 .accent { color: var(--gold-deep); font-style: italic; }
.hero .lead { max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.1rem 1.8rem; margin-top: 2rem; }
.hero-trust li { list-style: none; display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: var(--n700); font-weight: 500; }
.hero-trust .star { width: 15px; height: 15px; color: var(--gold-deep); }

/* Mihrab-arch portrait of Amin */
.hero-portrait { position: relative; justify-self: center; width: min(100%, 460px); }
.arch {
  position: relative;
  aspect-ratio: 3 / 4.1;
  border-radius: 50% 50% 14px 14px / 32% 32% 14px 14px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--warm-white), var(--sand));
  border: 1px solid var(--n300);
  box-shadow: var(--shadow-2);
}
.arch::before { /* thin gold inner hairline following the arch */
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(200,168,92,.6);
  border-radius: 50% 50% 8px 8px / 32% 32% 8px 8px; z-index: 2; pointer-events: none;
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.arch::after { /* blend the studio sweep into the frame at the base */
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 28%; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(245,240,230,.55));
}
/* Seal medallion stamped at the arch base */
.hero-seal {
  position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 78px; border-radius: 50%; z-index: 3;
  background: var(--ivory); padding: 12px;
  box-shadow: var(--shadow-1); display: grid; place-items: center;
}
.hero-seal img { width: 100%; }
.hero-portrait .caption {
  text-align: center; margin-top: 2.7rem; font-size: .82rem; color: var(--n500);
  letter-spacing: .03em;
}
.hero-portrait .caption b { color: var(--n700); font-weight: 600; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; width: min(100%, 360px); }
  .hero-copy { max-width: none; }
}

/* =========================================================================
   PROBLEM
   ========================================================================= */
.problem { background: var(--warm-white); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.problem-grid .body p + p { margin-top: 1.2rem; }
.problem-aside {
  font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3;
  color: var(--green); border-left: 2px solid var(--gold); padding-left: 1.6rem;
}
.problem-aside .arabic { display: block; font-size: 1.4rem; color: var(--gold-deep); margin-bottom: .6rem; }
@media (max-width: 760px) { .problem-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  background: var(--warm-white); border: 1px solid var(--n100); border-radius: var(--radius-lg);
  padding: 2rem 1.6rem; position: relative; box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--sand); }
.step .num {
  font-family: var(--accent); font-size: .82rem; letter-spacing: .15em; color: var(--gold-deep);
  display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem;
}
.step .num .dot { width: 34px; height: 34px; border: 1.5px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; color: var(--green); font-family: var(--display); font-size: 1.15rem; }
.step h3 { margin-bottom: .55rem; }
.step p { font-size: .96rem; color: var(--n700); }
.how-note { text-align: center; margin-top: 2.6rem; color: var(--n700); font-style: italic; font-family: var(--display); font-size: 1.35rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* =========================================================================
   TWO WAYS
   ========================================================================= */
.ways { background: var(--green); color: var(--ivory); }
.ways h2, .ways h3 { color: var(--ivory); }
.ways .eyebrow { color: var(--gold); }
.ways .eyebrow::before { background: var(--gold); }
.ways .lead { color: rgba(245,240,230,.78); }
.ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.way {
  background: rgba(255,255,255,.04); border: 1px solid rgba(200,168,92,.28);
  border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.8rem);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.way:hover { transform: translateY(-5px); border-color: var(--gold); background: rgba(255,255,255,.06); }
.way .tag { font-family: var(--accent); font-size: .72rem; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }
.way h3 { margin: .7rem 0 1rem; }
.way p { color: rgba(245,240,230,.82); font-size: 1rem; }
.way ul { list-style: none; margin-top: 1.3rem; display: grid; gap: .7rem; }
.way li { display: flex; gap: .7rem; align-items: flex-start; font-size: .94rem; color: rgba(245,240,230,.9); }
.way li .star { width: 15px; height: 15px; margin-top: .3rem; color: var(--gold); }
.ways-foot { text-align: center; margin-top: 2.6rem; color: rgba(245,240,230,.65); font-size: .95rem; }
@media (max-width: 760px) { .ways-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   WHY KARIMI  (heritage)
   ========================================================================= */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.why-story p + p { margin-top: 1.25rem; }
.why-story .pull {
  font-family: var(--display); font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.25;
  color: var(--green); margin: 1.8rem 0; font-style: italic;
}
.why-portrait { position: relative; }
.why-portrait .frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--n300);
  box-shadow: var(--shadow-2); position: relative;
}
.why-portrait .frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 8px rgba(245,240,230,.5); }
.why-portrait figcaption {
  margin-top: 1.1rem; font-size: .9rem; color: var(--n700);
  display: flex; align-items: center; gap: .6rem;
}
.why-portrait figcaption b { color: var(--green); font-weight: 600; }
.why-portrait figcaption .star { width: 14px; height: 14px; color: var(--gold-deep); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: clamp(3rem, 6vw, 5rem); }
.pillar { padding: 1.8rem 1.5rem; border-top: 2px solid var(--gold); background: var(--warm-white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-1); }
.pillar h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.pillar p { font-size: .95rem; color: var(--n700); }
.risk-line {
  margin-top: 2.8rem; text-align: center; max-width: 760px; margin-inline: auto;
  font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.35; color: var(--charcoal);
}
.risk-line b { color: var(--green); }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } .pillars { grid-template-columns: 1fr; } }

/* =========================================================================
   MISSION
   ========================================================================= */
.mission { background: var(--warm-white); text-align: center; }
.mission .wrap { max-width: 820px; }
.mission p { font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.6; color: var(--n700); }
.mission p + p { margin-top: 1.4rem; }
.mission .divider { margin-top: 2.8rem; }

/* =========================================================================
   FOUNDING MEMBERS
   ========================================================================= */
.founding { background: var(--green); color: var(--ivory); text-align: center; overflow: hidden; }
.founding::before { /* faint motif glow */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background: radial-gradient(60% 60% at 50% 0%, rgba(200,168,92,.16), transparent 70%);
}
.founding .wrap { max-width: 760px; }
.founding h2 { color: var(--ivory); }
.founding .eyebrow { color: var(--gold); justify-content: center; }
.founding .eyebrow::before { background: var(--gold); }
.founding p { color: rgba(245,240,230,.82); font-size: 1.1rem; margin-top: 1.3rem; }
.founding .btn { margin-top: 2.2rem; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-grid { max-width: 860px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--n100); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 1.5rem .25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.55rem); color: var(--green); font-weight: 600;
}
.faq-q:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.faq-q .ico { flex: none; width: 26px; height: 26px; position: relative; }
.faq-q .ico::before, .faq-q .ico::after {
  content: ""; position: absolute; background: var(--gold-deep); border-radius: 2px;
  top: 50%; left: 50%; transition: transform .3s var(--ease);
}
.faq-q .ico::before { width: 16px; height: 2px; transform: translate(-50%,-50%); }
.faq-q .ico::after  { width: 2px; height: 16px; transform: translate(-50%,-50%); }
.faq-item.open .faq-q .ico::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 .25rem 1.6rem; color: var(--n700); font-size: 1rem; max-width: 720px; }
.faq-a-inner p + p { margin-top: .9rem; }

/* =========================================================================
   BOOK / FORM
   ========================================================================= */
.book { background: var(--ivory); }
.book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.book-intro .lead { margin-top: 1.2rem; }
.book-intro ul { list-style: none; margin-top: 1.8rem; display: grid; gap: 1rem; }
.book-intro li { display: flex; gap: .8rem; align-items: flex-start; color: var(--charcoal); }
.book-intro li .star { width: 17px; height: 17px; margin-top: .35rem; color: var(--gold-deep); }

.book-form {
  background: var(--warm-white); border: 1px solid var(--n100); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-2);
}
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--charcoal); margin-bottom: .5rem; }
.field label .req { color: var(--action); }
.field input, .field select {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--charcoal);
  background: var(--ivory); border: 1.5px solid var(--n300); border-radius: 10px; padding: .8rem 1rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input::placeholder { color: var(--n500); }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--action); box-shadow: 0 0 0 3px rgba(27,122,85,.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.book-form .btn { width: 100%; margin-top: .5rem; }
.form-fine { font-size: .8rem; color: var(--n500); margin-top: 1rem; line-height: 1.5; text-align: center; }
.form-success {
  display: none; text-align: center; padding: 1.5rem .5rem;
}
.form-success .seal { width: 56px; margin: 0 auto 1.2rem; }
.form-success h3 { margin-bottom: .6rem; }
.form-success p { color: var(--n700); }
.book-form.sent .form-body { display: none; }
.book-form.sent .form-success { display: block; }
@media (max-width: 820px) { .book-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.final {
  background: linear-gradient(160deg, var(--green), #0b2c21);
  color: var(--ivory); text-align: center; overflow: hidden;
}
.final::before {
  content: ""; position: absolute; inset: 0; opacity: .07; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23C8A85C' stroke-width='1.2'%3E%3Crect x='34' y='34' width='52' height='52'/%3E%3Crect x='34' y='34' width='52' height='52' transform='rotate(45 60 60)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px;
}
.final .wrap { max-width: 760px; }
.final h2 { color: var(--ivory); font-size: clamp(2.3rem, 5vw, 3.6rem); }
.final p { color: rgba(245,240,230,.8); margin-top: 1.2rem; font-size: 1.12rem; }
.final .btn { margin-top: 2.3rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: #0b2c21; color: rgba(245,240,230,.72); padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.footer-brand img { height: 86px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .92rem; max-width: 420px; color: rgba(245,240,230,.6); }
.footer-links { display: flex; gap: 3rem; }
.footer-links h4 { font-family: var(--accent); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.footer-links ul { list-style: none; display: grid; gap: .65rem; }
.footer-links a { color: rgba(245,240,230,.72); font-size: .94rem; }
.footer-links a:hover { color: var(--gold); }
.footer-disclaimer {
  margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid rgba(245,240,230,.12);
  font-size: .8rem; line-height: 1.65; color: rgba(245,240,230,.5); max-width: 880px;
}
.footer-base { margin-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: rgba(245,240,230,.45); }
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; } .footer-links { gap: 2rem; } }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .step, .way, .faq-a { transition: none; }
}

/* Skip link for a11y */
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: .8rem 1.2rem; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
