/* =========================================================
   Sales Gawd — landing page styles
   Mythic-tech: deep navy, cyan→teal→blue gradients, glass + glow
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* base */
  --navy-900: #050414;
  --navy-850: #070617;
  --navy-800: #0d0a26;
  --navy-700: #14123a;
  --indigo-700: #1e1b4b;

  /* accents */
  --cyan: #22d3ee;
  --teal: #2dd4bf;
  --sky: #38bdf8;
  --silver: #e8f6ff;

  /* text */
  --text: #e8f0ff;
  --text-dim: #a6b3d6;
  --text-faint: #6f7aa3;

  /* gradients */
  --grad-brand: linear-gradient(120deg, var(--cyan) 0%, var(--teal) 45%, var(--sky) 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(34,211,238,.16), rgba(45,212,191,.12), rgba(56,189,248,.16));

  /* glass */
  --glass-bg: rgba(20, 23, 56, 0.45);
  --glass-brd: rgba(120, 180, 255, 0.14);
  --glass-brd-strong: rgba(120, 200, 255, 0.30);

  /* glow */
  --glow-cyan: 0 0 40px rgba(34, 211, 238, 0.35);

  /* layout */
  --maxw: 1180px;
  --radius: 20px;
  --radius-sm: 14px;
  --nav-h: 72px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--navy-850);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, .brand__name { font-family: "Sora", "Inter", sans-serif; letter-spacing: -0.02em; line-height: 1.08; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

/* ---------- Background field ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(900px 600px at 8% 8%, rgba(45,212,191,.14), transparent 55%),
    radial-gradient(1200px 900px at 50% 120%, rgba(30,27,75,.55), transparent 60%),
    linear-gradient(180deg, var(--navy-850) 0%, var(--navy-900) 100%);
}
/* subtle grid */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(120,170,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}

/* ---------- Ambient blobs ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: .38;
  animation: drift 24s ease-in-out infinite alternate;
}
/* Pushed further off-screen so the blur falloff never creates a hard visible edge */
.blob--cyan { width: 560px; height: 560px; background: radial-gradient(circle, rgba(34,211,238,.40), transparent 70%); top: -260px; right: -120px; }
.blob--teal { width: 600px; height: 600px; background: radial-gradient(circle, rgba(45,212,191,.30), transparent 70%); bottom: -260px; left: -160px; animation-delay: -8s; }
.blob--sky  { width: 440px; height: 440px; background: radial-gradient(circle, rgba(56,189,248,.28), transparent 70%); top: 40%; left: 50%; animation-delay: -14s; }

@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.12); }
}

/* ---------- Gradient text ---------- */
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 12px; --pad-x: 22px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn--sm { --pad-y: 9px; --pad-x: 18px; font-size: .9rem; }
.btn--lg { --pad-y: 15px; --pad-x: 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--primary {
  color: #04121c;
  background: var(--grad-brand);
  box-shadow: 0 10px 30px -8px rgba(34,211,238,.5), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(45,212,191,.6), 0 0 0 1px rgba(255,255,255,.18); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--glass-brd-strong);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--silver); box-shadow: var(--glow-cyan); transform: translateY(-1px); }

/* button loading spinner */
.btn__spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(4,18,28,.35);
  border-top-color: #04121c;
  display: none;
  animation: spin .7s linear infinite;
}
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7,6,23,.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--glass-brd);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { border-radius: 11px; box-shadow: 0 6px 18px -6px rgba(34,211,238,.55); }
.brand__name { font-size: 1.18rem; font-weight: 700; }

.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--text-dim); font-weight: 500; font-size: .95rem; position: relative; transition: color .2s; }
.nav__links a::after { content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--grad-brand); transition: width .25s var(--ease); border-radius: 2px; }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { display:block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  position: absolute;
  top: var(--nav-h); left: 0; right: 0;
  flex-direction: column; gap: 6px;
  padding: 18px clamp(20px,5vw,40px) 24px;
  background: rgba(7,6,23,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-brd);
  /* [hidden] sets display:none but flex overrides it — use :not([hidden]) instead */
  display: none;
}
.nav__mobile:not([hidden]) { display: flex; }
.nav__mobile a { padding: 12px 4px; color: var(--text-dim); font-weight: 500; border-radius: 10px; }
.nav__mobile a:hover { color: var(--text); }
.nav__mobile .btn { margin-top: 8px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 30px);
  padding-bottom: 60px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(70% 60% at 50% 40%, transparent 0%, rgba(5,4,20,.35) 80%),
    linear-gradient(180deg, transparent 60%, var(--navy-850) 100%);
  pointer-events: none;
}

.hero__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--grad-brand-soft);
  border: 1px solid var(--glass-brd-strong);
  font-size: .82rem; font-weight: 600;
  color: var(--silver);
  letter-spacing: .02em;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ transform: scale(1); opacity:1; } 50%{ transform: scale(1.4); opacity:.6; } }

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.6rem, 6.4vw, 4.7rem);
  font-weight: 800;
}
.hero__sub {
  margin-top: 22px;
  max-width: 30em;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-dim);
}

.trust-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--glass-brd);
  font-size: .85rem; font-weight: 500; color: var(--text-dim);
}
.chip__icon { font-size: .95rem; }

/* hero scroll indicator */
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; opacity: .65;
}
.hero__scroll-mouse {
  display: block; width: 24px; height: 38px;
  border: 2px solid var(--text-dim); border-radius: 14px; position: relative;
}
.hero__scroll-mouse::before {
  content:""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 7px; border-radius: 4px; background: var(--cyan);
  animation: scrolldot 1.8s ease-in-out infinite;
}
@keyframes scrolldot { 0%{ opacity:0; transform: translate(-50%,0);} 40%{opacity:1;} 80%{opacity:0; transform: translate(-50%,12px);} 100%{opacity:0;} }

/* ---------- Login card ---------- */
.hero__login { position: relative; }
.login-card { padding: clamp(24px, 3vw, 34px); position: relative; z-index: 2; }
.login-card__head { text-align: center; margin-bottom: 22px; }
.login-card__logo { margin: 0 auto 14px; border-radius: 16px; box-shadow: 0 12px 34px -10px rgba(34,211,238,.6); }
.login-card__title { font-size: 1.5rem; font-weight: 700; }
.login-card__hint { color: var(--text-dim); font-size: .92rem; margin-top: 6px; }

.login-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--text-dim); letter-spacing: .02em; }
.field__wrap { position: relative; }

.field input {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: rgba(6,8,26,.6);
  border: 1px solid var(--glass-brd);
  color: var(--text);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field__wrap input { padding-right: 48px; }
.field input::placeholder { color: var(--text-faint); }
.field input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34,211,238,.18);
  background: rgba(6,8,26,.85);
}
.field__toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  padding: 8px; border-radius: 10px; color: var(--text-faint);
  transition: color .2s, background .2s;
}
.field__toggle:hover { color: var(--cyan); background: rgba(34,211,238,.1); }

.login-form__status {
  font-size: .88rem; font-weight: 500;
  min-height: 0; padding: 0 2px;
  transition: all .2s;
}
.login-form__status.is-error { color: #ff8fa3; }
.login-form__status.is-success { color: var(--teal); }
.login-form__status:not(:empty) { padding: 10px 14px; border-radius: 12px; min-height: auto; }
.login-form__status.is-error:not(:empty) { background: rgba(255,80,110,.1); border: 1px solid rgba(255,80,110,.25); }
.login-form__status.is-success:not(:empty) { background: rgba(45,212,191,.1); border: 1px solid rgba(45,212,191,.28); }

.login-card__foot { margin-top: 18px; text-align: center; font-size: .78rem; color: var(--text-faint); }

/* floating accents around login */
.float-accent { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 1; pointer-events: none; }
.float-accent--1 { width: 70px; height: 70px; top: -28px; right: -22px; background: radial-gradient(circle, rgba(34,211,238,.5), transparent 70%); animation: floaty 7s ease-in-out infinite; }
.float-accent--2 { width: 100px; height: 100px; bottom: -36px; left: -34px; background: radial-gradient(circle, rgba(45,212,191,.4), transparent 70%); animation: floaty 9s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-16px);} }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: clamp(70px, 11vw, 130px) 0; position: relative; }
.section__head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.section__title { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; }
.section__lede { margin-top: 18px; color: var(--text-dim); font-size: clamp(1rem, 1.4vw, 1.12rem); }

/* ============================================================
   FEATURES
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature--wide { grid-column: span 3; }
.feature {
  padding: 28px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content:""; position:absolute; inset:0; border-radius: inherit;
  background: var(--grad-brand-soft); opacity: 0; transition: opacity .35s var(--ease); z-index: 0;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: var(--glass-brd-strong);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 40px -10px rgba(34,211,238,.35);
}
.feature:hover::before { opacity: 1; }
.feature > * { position: relative; z-index: 1; }

.feature__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad-brand-soft);
  border: 1px solid var(--glass-brd-strong);
  color: var(--cyan);
  margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 9px; }
.feature p { color: var(--text-dim); font-size: .96rem; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.step { padding: 28px 24px; position: relative; overflow: hidden; }
.step__num {
  font-family: "Sora", sans-serif;
  font-size: 2.6rem; font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .9; line-height: 1; display: block; margin-bottom: 10px;
}
.step__icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(255,255,255,.04);
  border: 1px solid var(--glass-brd); color: var(--teal); margin-bottom: 16px;
}
.step__icon svg { width: 22px; height: 22px; }
.step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: .92rem; }
.step em { color: var(--silver); font-style: normal; font-weight: 600; }

/* ============================================================
   STATS
   ============================================================ */
.stats__band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: clamp(34px, 5vw, 50px) clamp(24px, 4vw, 44px);
  text-align: center;
}
.stat { position: relative; }
.stat + .stat::before {
  content:""; position:absolute; left: -12px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 56px; background: linear-gradient(transparent, var(--glass-brd-strong), transparent);
}
.stat__num {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat__num--text { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.stat__label { margin-top: 12px; color: var(--text-dim); font-size: .9rem; font-weight: 500; }

/* ============================================================
   SECURITY
   ============================================================ */
.security__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 70px);
  align-items: center;
}
.security__copy .section__kicker,
.security__copy .section__title { text-align: left; }
.security__copy .section__lede { margin-bottom: 30px; }

.security__list { display: flex; flex-direction: column; gap: 20px; }
.security__list li { display: flex; gap: 16px; align-items: flex-start; }
.security__check {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; font-size: 1.2rem;
  background: var(--grad-brand-soft); border: 1px solid var(--glass-brd-strong);
}
.security__list strong { display: block; font-size: 1.05rem; font-weight: 600; margin-bottom: 3px; }
.security__list p { color: var(--text-dim); font-size: .93rem; }

/* shield viz */
.security__viz { display: grid; place-items: center; }
.shield {
  position: relative;
  width: min(340px, 80vw); aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(34,211,238,.16), rgba(20,23,56,.4) 70%);
}
.shield__core {
  width: 130px; height: 130px; border-radius: 28px;
  display: grid; place-items: center;
  background: rgba(7,6,23,.7); border: 1px solid var(--glass-brd-strong);
  box-shadow: 0 0 50px -8px rgba(34,211,238,.5);
}
.shield__ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--glass-brd-strong);
}
.shield__ring--1 { inset: 14%; animation: ringspin 18s linear infinite; border-style: dashed; }
.shield__ring--2 { inset: 0; animation: ringspin 30s linear infinite reverse; }
.shield__ring--3 { inset: 28%; border-color: rgba(45,212,191,.4); animation: ringpulse 4s ease-in-out infinite; }
@keyframes ringspin { to { transform: rotate(360deg); } }
@keyframes ringpulse { 0%,100%{ transform: scale(1); opacity:.7;} 50%{ transform: scale(1.06); opacity:1;} }

/* ============================================================
   CTA
   ============================================================ */
.cta__card {
  text-align: center;
  padding: clamp(44px, 7vw, 80px) clamp(24px, 5vw, 60px);
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(34,211,238,.18), transparent 60%),
    var(--glass-bg);
}
.cta__title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
.cta__sub { margin: 16px 0 30px; color: var(--text-dim); font-size: 1.1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--glass-brd); padding: 44px 0 36px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { border-radius: 10px; }
.footer__tag { color: var(--text-faint); font-size: .85rem; margin-top: 2px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--text-dim); font-size: .92rem; transition: color .2s; }
.footer__links a:hover { color: var(--cyan); }
.footer__meta { text-align: right; color: var(--text-faint); font-size: .85rem; }
.footer__meta a { color: var(--text-dim); }
.footer__meta a:hover { color: var(--cyan); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
/* stagger children inside grids */
.feature-grid .reveal:nth-child(2) { transition-delay: .06s; }
.feature-grid .reveal:nth-child(3) { transition-delay: .12s; }
.feature-grid .reveal:nth-child(4) { transition-delay: .04s; }
.feature-grid .reveal:nth-child(5) { transition-delay: .10s; }
.feature-grid .reveal:nth-child(6) { transition-delay: .16s; }
.steps .reveal:nth-child(2) { transition-delay: .08s; }
.steps .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(4) { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature--wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .security__grid { grid-template-columns: 1fr; }
  .security__viz { order: -1; }
}

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__toggle { display: flex; }

  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { text-align: center; }
  .hero__sub { margin-inline: auto; }
  .trust-chips { justify-content: center; }
  .hero__login { max-width: 440px; margin-inline: auto; width: 100%; }
  .hero__scroll { display: none; }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature--wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .stats__band { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; }
  .stat:nth-child(odd) + .stat::before { display: none; }
  .footer__inner { flex-direction: column; text-align: center; align-items: center; }
  .footer__meta { text-align: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
