/* ==========================================================================
   Grevna — B2B life insurance lead generation
   Design system: Clover-inspired identity —
   warm full-bleed photography, near-black ink, brand green + bright lime,
   condensed uppercase display type (Anton) over a grotesque body face (Inter).
   Mobile-first. Fluid type via clamp(). Motion respects prefers-reduced-motion.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------------ */
:root {
  --ink: #0c0f0d;
  --ink-soft: #1a1f1b;
  --forest: #0b3b21;
  --green: #188c4a;
  --green-dark: #0f6234;
  --lime: #b6fb6f;
  --lime-hover: #a5f254;
  --lime-soft: #eafbd7;
  --paper: #ededeb;
  --white: #ffffff;

  --text: #111512;
  --muted: #575f58;
  --muted-light: #9aa79d;
  --border: #e0e3de;

  --font-head: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-btn: 12px;
  --shadow-sm: 0 4px 14px rgba(12, 15, 13, 0.08);
  --shadow-lg: 0 24px 48px rgba(12, 15, 13, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.5s;
}

/* ---------------------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

/* Display type: condensed, heavy, uppercase — the "Formula" feel */
h1, h2 {
  font-family: var(--font-head);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.015em;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h2 { font-size: clamp(28px, 3.8vw, 46px); }
h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { margin: 0 0 1em; color: var(--muted); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------------------
   3. Layout primitives
   ------------------------------------------------------------------------ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 54px); }
.section-head p { font-size: 17px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--green); border-radius: 2px; }
.bg-mist { background: var(--paper); }
.bg-lime { background: var(--lime); }
.bg-lime h2, .bg-lime h3 { color: var(--ink); }
.bg-lime p { color: rgba(17, 21, 18, 0.72); }
.bg-lime .eyebrow { color: var(--ink); }
.bg-lime .eyebrow::before { background: var(--ink); }
.bg-forest { background: var(--forest); color: var(--white); }
.bg-forest p { color: #cfe0d4; }
.bg-forest h2, .bg-forest h3, .bg-forest h4 { color: var(--white); }
.bg-forest .eyebrow { color: var(--lime); }
.bg-forest .eyebrow::before { background: var(--lime); }

/* ---------------------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-hover); box-shadow: var(--shadow-sm); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-soft); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; justify-content: center; }

/* ---------------------------------------------------------------------------
   5. Nav
   ------------------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 15, 13, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: 21px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--white);
}
.logo .mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: #d9e2db; font-size: 15px; font-weight: 600; transition: color var(--dur-fast) var(--ease); }
.nav-links a:hover { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone { color: #d9e2db; font-size: 14px; font-weight: 600; }
.nav-login {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  color: #d9e2db; border: 1px solid rgba(255, 255, 255, 0.14);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav-login:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.nav-login svg { width: 20px; height: 20px; }
.nav-actions .btn { padding: 11px 22px; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; line-height: 1; }

@media (max-width: 880px) {
  .nav-links {
    position: fixed; top: 74px; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column; align-items: flex-start;
    padding: 24px; gap: 20px;
    transform: translateY(-130%);
    transition: transform var(--dur-med) var(--ease);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-actions .btn-primary { display: none; }
  .nav-toggle { display: block; }
}

/* ---------------------------------------------------------------------------
   6. Hero — full-bleed photography, centered display type
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(88vh, 860px);
  padding: clamp(96px, 12vw, 160px) 0;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* TODO before launch: download this photo (free Pexels license) and self-host it
     in assets/images/ instead of hotlinking. Photo: consultant with clients,
     https://www.pexels.com/photo/8441820/ */
  background: var(--ink) url("https://images.pexels.com/photos/8441820/pexels-photo-8441820.jpeg?auto=compress&cs=tinysrgb&w=1920") center / cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 9, 0.66) 0%, rgba(8, 12, 9, 0.5) 45%, rgba(8, 12, 9, 0.74) 100%);
}
.hero-inner { position: relative; text-align: center; max-width: 1020px; }
.hero .eyebrow { color: var(--lime); }
.hero .eyebrow::before { background: var(--lime); }
.hero h1 {
  font-size: clamp(44px, 7.5vw, 96px);
  color: var(--white);
  margin-bottom: 0.35em;
}
.hero h1 .accent-word { color: var(--lime); }
.hero .lede { font-size: clamp(16px, 1.6vw, 19px); color: #e4ece6; max-width: 62ch; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 56px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-stats .num { font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: 0.02em; color: var(--lime); }
.hero-stats .label { font-size: 12.5px; color: #c4d2c8; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------------------
   7. Logo strip
   ------------------------------------------------------------------------ */
.logo-strip { padding: 40px 0; border-bottom: 1px solid var(--border); }
.logo-strip .container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.logo-strip .strip-label { font-size: 13px; color: var(--muted-light); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.logo-strip .strip-items { display: flex; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; color: var(--muted); font-weight: 700; font-size: 15px; }

/* ---------------------------------------------------------------------------
   8. Sample lead — "know exactly what you're buying"
   ------------------------------------------------------------------------ */
.sample { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.sample-copy .btn { margin-top: 8px; }
.lead-card {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.lead-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lead-card-head h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-dark); margin-bottom: 0; }
.lead-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700;
  color: var(--ink); background: var(--lime);
  padding: 5px 12px; border-radius: 100px; white-space: nowrap;
}
.lead-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-dark); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.lead-fields { margin: 16px 0 0; display: flex; flex-direction: column; }
.lead-fields > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--paper);
  font-size: 14.5px;
}
.lead-fields > div:last-child { border-bottom: none; }
.lead-fields dt { color: var(--muted); font-weight: 500; white-space: nowrap; }
.lead-fields dd { margin: 0; font-weight: 700; color: var(--text); text-align: right; }
.lead-fields dd.ok { color: var(--green-dark); }
.lead-note { font-size: 12.5px; color: var(--muted-light); margin: 14px 0 0; }

@media (max-width: 880px) { .sample { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   9. Steps
   ------------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  position: relative;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--lime); }
.step .step-num { font-family: var(--font-head); font-size: 40px; color: var(--lime); position: absolute; top: 18px; right: 22px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; margin-bottom: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   10. Lead-type cards
   ------------------------------------------------------------------------ */
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.type-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: left;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.type-card:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: var(--shadow-sm); }
.type-card .tag { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink); background: var(--lime-soft); padding: 4px 10px; border-radius: 100px; margin-bottom: 14px; }
.type-card h3 { font-size: 17px; margin-bottom: 8px; }
.type-card p { font-size: 14px; margin-bottom: 0; }
@media (max-width: 940px) { .type-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .type-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   11. Qualification checklist
   ------------------------------------------------------------------------ */
.checklist-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
}
.checklist-panel h2 { color: var(--white); }
.checklist-panel p { color: #cfe0d4; }
.checklist-panel .eyebrow { color: var(--lime); }
.checklist-panel .eyebrow::before { background: var(--lime); }
.checklist { display: flex; flex-direction: column; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; }
.checklist .check {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex: none; font-size: 13px; font-weight: 800; margin-top: 1px;
}
@media (max-width: 860px) { .checklist-panel { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   12. Comparison table (Grevna vs. typical marketplace)
   ------------------------------------------------------------------------ */
.compare-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--paper);
  vertical-align: top;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table thead th {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border-bottom: 2px solid var(--border);
}
.compare-table thead th.col-grevna { color: var(--green-dark); }
.compare-table tbody th[scope="row"] { font-weight: 600; color: var(--muted); width: 24%; }
.compare-table tbody td { color: var(--muted); }
.compare-table td.col-grevna {
  background: rgba(182, 251, 111, 0.22);
  font-weight: 700;
  color: var(--ink);
}

/* ---------------------------------------------------------------------------
   13. Numbers — industry stats on lime
   ------------------------------------------------------------------------ */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); max-width: 1000px; margin: 0 auto; }
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.stat .label { font-size: 14.5px; color: rgba(17, 21, 18, 0.78); margin-top: 10px; line-height: 1.5; }
.stats-note {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 12.5px;
  color: rgba(17, 21, 18, 0.55);
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   14. FAQ
   ------------------------------------------------------------------------ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 16.5px; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; color: var(--green-dark); flex: none;
  transition: transform var(--dur-fast) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; font-size: 15px; }

/* ---------------------------------------------------------------------------
   15. Contact / signup form
   ------------------------------------------------------------------------ */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info h2 { color: var(--white); }
.contact-info .item { display: flex; gap: 14px; margin-top: 20px; font-size: 15px; color: #cfe0d4; align-items: flex-start; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }

/* One shared shape for every control. appearance:none is what makes selects
   obey our font — without it Safari draws native chrome and its own type. */
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  background-color: #f6f7f5;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}

/* Our own chevron, replacing the native double-arrow */
.field select {
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23575f58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px 7px;
}

.field textarea {
  height: auto;
  min-height: 116px;
  padding: 13px 14px;
  line-height: 1.6;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: #9aa79d; font-weight: 400; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(24, 140, 74, 0.13);
}

/* Phone: flag + dial code and the number inside ONE field.
   The wrapper is the "input"; the real controls sit inside it unstyled. */
.phone-field {
  display: flex;
  align-items: center;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background-color: #f6f7f5;
  transition: border-color var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.phone-field:focus-within {
  border-color: var(--green);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(24, 140, 74, 0.13);
}
.phone-country {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 100%;
  padding: 0 12px 0 14px;
  border-right: 1px solid var(--border);
  cursor: pointer;
  flex: none;
}
.phone-flag { font-size: 18px; line-height: 1; }
.phone-dial { font-size: 15px; font-weight: 600; color: var(--text); }
.phone-chev { width: 10px; height: 6px; color: var(--muted); flex: none; }

/* The real <select>, invisible but on top of the flag area: native picker,
   native keyboard support, native mobile wheel — none of the native looks. */
.field .phone-field select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 10px 0 0 10px;
  opacity: 0;
  cursor: pointer;
  background: none;
}
.field .phone-field input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 0 10px 10px 0;
  background-color: transparent;
  box-shadow: none;
  padding: 0 14px;
}
.field .phone-field input:focus {
  border: 0;
  background-color: transparent;
  box-shadow: none;
}

/* iOS zooms the page when a focused control is under 16px */
@media (max-width: 640px) {
  .field input, .field select, .field textarea { font-size: 16px; }
}

/* .form-card prefix needed: .bg-forest p would otherwise win and tint this
   note in the light on-dark color — unreadable inside the white card */
.form-card .form-note { font-size: 13px; color: #3f4742; margin-top: 14px; }
.form-status { display: none; margin: 14px 0 0; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; line-height: 1.5; }
.form-status.success { display: block; background: var(--lime-soft); color: var(--green-dark); }
.form-status.error { display: block; background: #fdecea; color: #b3261e; }
/* Honeypot field — moved far off-screen, never hidden with display:none
   (some bots skip display:none fields) */
.hp { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   16. Footer
   ------------------------------------------------------------------------ */
.footer { background: var(--ink); color: var(--muted-light); padding: 56px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer .logo { margin-bottom: 14px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { transition: color var(--dur-fast) var(--ease); }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.footer-copyright { font-size: 13px; color: var(--muted-light); margin: 0; }
.footer-legal { max-width: 780px; margin: 0 auto; font-size: 11.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.32); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   17. Scroll-reveal animation system
   Content is hidden ONLY when <html> carries the "js" class (set by an inline
   script in <head>). If JavaScript fails to load, nothing is ever hidden.
   ------------------------------------------------------------------------ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------------------
   18. Utilities
   ------------------------------------------------------------------------ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--lime); color: var(--ink);
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; z-index: 200;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 12px; }
