/* ==========================================================================
   EcolinkPay — main stylesheet
   No framework. Modern CSS: custom properties, grid, clamp(), :focus-visible.
   ========================================================================== */

/* ---------- Font: Plus Jakarta Sans (self-hosted, SIL OFL — see assets/fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand — see brand/README.md */
  --navy-900: #0f1736;
  --navy-800: #16204a;
  --navy-700: #132d5c;   /* Ecolink Navy */
  --navy-500: #3a4a8c;
  --green-500: #4ba445;  /* Ecolink Green */
  --green-600: #3a9a2c;
  --green-700: #2b7a20;   /* text-safe green on white (AA) */
  --green-50:  #eef8ec;

  /* Neutrals */
  --ink:       #0f172a;
  --ink-soft:  #475569;
  --ink-mute:  #64748b;
  --line:      #e2e8f0;
  --surface:   #ffffff;
  --surface-2: #f6f8fb;

  /* Type */
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: 1.125rem;
  --fs-h2: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --fs-h1: clamp(2.4rem, 1.4rem + 4vw, 4rem);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4rem, 8vw, 7rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow: 0 8px 24px -8px rgb(15 23 42 / 0.15);
  --shadow-lg: 0 30px 60px -20px rgb(15 23 42 / 0.45);
  --header-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: var(--navy-700); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  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: 1rem; top: -100px; z-index: 100;
  background: var(--navy-700); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.25rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy-700); color: #fff; }
.btn-primary:hover { background: var(--navy-800); box-shadow: var(--shadow); }
.btn-accent { background: var(--green-500); color: var(--navy-900); }
.btn-accent:hover { background: #5cc04b; box-shadow: 0 10px 24px -10px rgb(76 174 60 / .7); }
.btn-ghost { color: #fff; border-color: rgb(255 255 255 / .3); }
.btn-ghost:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .6); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.footer-brand .brand img { height: 32px; }

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav ul { display: flex; gap: 1.25rem; list-style: none; padding: 0; }
.primary-nav ul a {
  color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: color .2s;
}
.primary-nav ul a:hover, .primary-nav ul a[aria-current="true"] { color: var(--navy-700); }

.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.nav-login {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--navy-700); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.nav-login svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nav-login:hover { color: var(--green-700); }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; margin-right: -.5rem;
  color: var(--navy-700); cursor: pointer;
}

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .primary-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: .75rem; }
  .nav-login { justify-content: center; padding: .7rem 1.25rem; border: 1px solid var(--line); border-radius: 999px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgb(76 174 60 / .22), transparent 60%),
    radial-gradient(40rem 30rem at 0% 100%, rgb(58 74 140 / .55), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.hero::after { /* subtle grid texture */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 { font-size: var(--fs-h1); font-weight: 800; margin-block: .75rem 1.25rem; }
.hero .lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: rgb(255 255 255 / .78); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-size: var(--fs-sm); color: rgb(255 255 255 / .75); }
.hero-points li { display: flex; align-items: center; gap: .4rem; }
.hero-points svg { width: 18px; height: 18px; fill: none; stroke: var(--green-500); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow-light { color: var(--green-500); }

/* Checkout mock */
.hero-visual { position: relative; justify-self: center; width: min(100%, 380px); }
.checkout-card {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 1.5rem;
  box-shadow: var(--shadow-lg); transform: rotate(-1.5deg);
}
.checkout-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; font-size: var(--fs-sm); }
.checkout-merchant { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.merchant-avatar {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--navy-700); color: #fff; font-size: .7rem; font-weight: 700;
}
.checkout-secure { display: flex; align-items: center; gap: .3rem; color: var(--green-700); font-weight: 600; font-size: .75rem; }
.checkout-secure svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.checkout-label { font-size: .75rem; color: var(--ink-mute); font-weight: 500; }
.checkout-amount { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
.method-list { list-style: none; padding: 0; display: grid; gap: .5rem; margin: .5rem 0 1.25rem; }
.method {
  display: flex; align-items: center; gap: .65rem; padding: .7rem .85rem;
  border: 1px solid var(--line); border-radius: 10px; font-size: .9rem; font-weight: 500;
}
.method.is-selected { border-color: var(--green-500); background: var(--green-50); box-shadow: 0 0 0 1px var(--green-500) inset; }
.method-check { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--green-500); position: relative; }
.method-check::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-mtn { background: #ffcb05; }
.dot-telecel { background: #e30613; }
.dot-at { background: #0b6fcf; }
.checkout-pay {
  text-align: center; background: var(--navy-700); color: #fff; font-weight: 600;
  padding: .85rem; border-radius: 10px;
}
.toast-card {
  position: absolute; left: -2.5rem; bottom: -1.5rem;
  display: flex; align-items: center; gap: .75rem;
  background: #fff; color: var(--ink); padding: .8rem 1rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.3;
  animation: float 5s ease-in-out infinite;
}
.toast-card small { display: block; color: var(--ink-mute); font-size: .75rem; }
.toast-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-50); }
.toast-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--green-600); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 1rem; margin-bottom: 1.5rem; }
  .toast-card { left: -.5rem; }
}

/* ---------- Channels strip ---------- */
.channels { padding-block: 2.5rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.channels-title { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-mute); text-align: center; letter-spacing: 0; margin-bottom: 1.5rem; }
.channel-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; }
.channel {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1rem .5rem .5rem; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: .9rem; color: var(--ink); background: #fff;
}
.channel-badge {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font-size: .65rem; font-weight: 800; color: #fff;
}
.channel-badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge-mtn { background: #ffcb05; color: #000; }
.badge-telecel { background: #e30613; }
.badge-at { background: #0b6fcf; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-tint { background: var(--surface-2); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-head { max-width: 44rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section h2 { font-size: var(--fs-h2); font-weight: 800; margin-top: .5rem; }
.section-sub { margin-top: 1rem; font-size: var(--fs-lg); color: var(--ink-soft); }
.section-dark .section-sub { color: rgb(255 255 255 / .72); }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.feature-card {
  padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.feature-card:hover { border-color: rgb(76 174 60 / .5); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-card h3 { font-size: var(--fs-h3); margin-block: 1rem .5rem; }
.feature-card p { color: var(--ink-soft); }
.feature-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-50); color: var(--green-700);
}
.feature-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; counter-reset: none; }
.step { position: relative; padding: 2rem 1.75rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step h3 { font-size: var(--fs-h3); margin-block: 1.1rem .5rem; }
.step p { color: var(--ink-soft); }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-700); color: #fff; font-weight: 700;
}

/* Bulk SMS */
.sms-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sms-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1.75rem; margin-top: 2rem; }
.sms-list h3 { font-size: 1rem; margin-bottom: .3rem; }
.sms-list p { color: var(--ink-soft); font-size: .95rem; }
.sms-visual { justify-self: center; width: min(100%, 340px); }
.sms-phone {
  display: grid; gap: .75rem; padding: 1.5rem 1.25rem 2rem;
  background: #fff; border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow);
}
.sms-sender { text-align: center; font-weight: 700; font-size: .9rem; letter-spacing: .04em; }
.sms-time { text-align: center; font-size: .75rem; color: var(--ink-mute); margin-top: -.5rem; }
.sms-bubble {
  justify-self: start; max-width: 88%; padding: .7rem .9rem; border-radius: 18px 18px 18px 6px;
  background: var(--surface-2); border: 1px solid var(--line); font-size: .875rem; line-height: 1.45;
}
@media (max-width: 920px) { .sms-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sms-list { grid-template-columns: 1fr; } }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.25rem; }
.industry { padding: 1.5rem; border-left: 3px solid var(--green-500); background: var(--surface-2); border-radius: 0 var(--radius) var(--radius) 0; }
.industry h3 { font-size: var(--fs-h3); margin-bottom: .4rem; }
.industry p { color: var(--ink-soft); }

/* Developers */
.dev-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.dev-grid .btn { margin-top: 2rem; }
.check-list { margin-top: 1.5rem; display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .6rem; align-items: baseline; color: rgb(255 255 255 / .85); }
.check-list li::before { content: "✓"; color: var(--green-500); font-weight: 700; }
.code-window { background: #0a1029; border: 1px solid rgb(255 255 255 / .08); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.code-bar { display: flex; align-items: center; gap: 6px; padding: .75rem 1rem; border-bottom: 1px solid rgb(255 255 255 / .06); }
.code-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .18); }
.code-bar em { margin-left: auto; font-style: normal; font-size: .75rem; color: rgb(255 255 255 / .45); }
.code-window pre { margin: 0; padding: 1.25rem 1.5rem; overflow-x: auto; font: .85rem/1.7 var(--font-mono); color: #cbd5e1; }
.c-k { color: var(--green-500); }
.c-s { color: #93c5fd; }
@media (max-width: 920px) { .dev-grid { grid-template-columns: 1fr; } }

/* Security */
.security-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.security-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.75rem; }
.security-list h3 { font-size: var(--fs-h3); margin-bottom: .4rem; padding-top: 1rem; border-top: 2px solid var(--navy-700); }
.security-list p { color: var(--ink-soft); }
@media (max-width: 920px) { .security-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .security-list { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-grid > div > p:last-child { margin-top: 1.25rem; color: var(--ink-soft); font-size: var(--fs-lg); }
.mv-cards { display: grid; gap: 1.25rem; }
.mv-card { padding: 1.75rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.mv-card h3 { font-size: var(--fs-h3); margin-bottom: .5rem; color: var(--navy-700); }
.mv-card p { color: var(--ink-soft); }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { max-width: 50rem; }
.faq-list { display: grid; gap: .75rem; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem; cursor: pointer; font-weight: 600; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: -4px;
  border: solid var(--ink-mute); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq p { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info > p { margin-top: 1rem; color: var(--ink-soft); font-size: var(--fs-lg); }
.contact-details { margin-top: 2rem; display: grid; gap: 1.25rem; }
.contact-details dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); }
.contact-details dd { font-weight: 500; margin-top: .2rem; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

.contact-form {
  background: #fff; padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 1rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px rgb(58 74 140 / .18);
}
.field [aria-invalid="true"] { border-color: #dc2626; }
.field-error { color: #b91c1c; font-size: .8rem; margin-top: .3rem; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form-status { font-weight: 500; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--green-700); }
.form-status.is-error { color: #b91c1c; }
.form-note { font-size: .8rem; color: var(--ink-mute); }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgb(255 255 255 / .7); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { margin-top: 1rem; max-width: 18rem; }
.digicert-seal { margin-top: 1.25rem; min-height: 76px; } /* seal image is 160×76; reserve space to avoid layout shift */
.digicert-seal.is-preview {
  display: grid; place-items: center; width: 160px; height: 76px; padding: .5rem;
  border: 1px dashed rgb(255 255 255 / .35); border-radius: var(--radius-sm);
  font-size: .7rem; line-height: 1.3; text-align: center; color: rgb(255 255 255 / .6);
}
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .6rem; }
.site-footer a { color: rgb(255 255 255 / .7); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  padding-block: 1.5rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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