/* ============================================================
   SafeFart — personal flatulence risk assessment
   Dark, clinical, deadpan. Hand-crafted, zero framework.
   ============================================================ */

:root {
  --bg: #08080f;
  --bg-2: #0d0d1a;
  --ink: #f4f5fb;
  --muted: #9aa0b8;
  --muted-2: #6b7192;
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.028);
  --card-brd: rgba(255, 255, 255, 0.09);
  --mint: #8affc1;
  --sky: #3a9dff;
  --violet: #9b7bff;
  --amber: #ffd27a;
  --red: #ff6b6b;
  --grad: linear-gradient(115deg, #8affc1 0%, #3a9dff 55%, #9b7bff 100%);
  --glow-mint: rgba(138, 255, 193, 0.5);
  --glow-sky: rgba(58, 157, 255, 0.45);
  --radius: 20px;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--mint); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.dagger { color: var(--muted); }

/* ---------- Ambient background ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(58, 157, 255, 0.12), transparent 60%),
    radial-gradient(900px 600px at 10% 20%, rgba(138, 255, 193, 0.08), transparent 55%),
    var(--bg);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}
.orb-1 { width: 520px; height: 520px; top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(58,157,255,0.55), transparent 70%);
  animation: drift1 22s var(--ease) infinite alternate; }
.orb-2 { width: 460px; height: 460px; top: 40%; left: -120px;
  background: radial-gradient(circle, rgba(138,255,193,0.4), transparent 70%);
  animation: drift2 26s var(--ease) infinite alternate; }
.orb-3 { width: 400px; height: 400px; bottom: -120px; right: 20%;
  background: radial-gradient(circle, rgba(155,123,255,0.4), transparent 70%);
  animation: drift3 30s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(-90px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(120px, -80px) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-70px, -100px) scale(1.2); } }

.grain {
  position: absolute; inset: 0; opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 130px) 24px;
}
.section-head { max-width: 660px; margin: 0 auto clamp(40px, 6vw, 66px); text-align: center; }
.kicker {
  display: inline-block; font-family: var(--display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint);
  margin-bottom: 18px;
}
.section-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(29px, 5.2vw, 52px); line-height: 1.08; letter-spacing: -0.02em;
}
.section-head p { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); margin-top: 16px; }

.grid { display: grid; gap: 20px; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap; position: relative;
}
.btn-lg { --pad-y: 16px; --pad-x: 30px; font-size: 16px; }
.btn-sm { --pad-y: 9px; --pad-x: 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--grad); color: #04120c;
  box-shadow: 0 8px 30px -8px var(--glow-sky), inset 0 0 0 1px rgba(255,255,255,0.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px -10px var(--glow-mint); }
.btn-primary:disabled {
  background: rgba(255,255,255,0.08); color: var(--muted-2); box-shadow: none;
  cursor: not-allowed; transform: none;
}
.btn-ghost {
  background: rgba(255,255,255,0.03); color: var(--ink);
  border-color: var(--card-brd); backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.06); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 16px 24px;
  transition: padding 0.3s var(--ease);
}
.nav.scrolled { padding: 10px 24px; }
.nav.scrolled::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(8, 8, 15, 0.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: rgba(138,255,193,0.08); border: 1px solid var(--card-brd);
}
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--muted); transition: color 0.2s; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: 4px; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(36px, 8vw, 84px) 24px clamp(40px, 6vw, 66px);
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  overflow-x: clip; /* contain the decorative device glow — no sideways bleed on mobile */
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--card-brd);
  margin-bottom: 26px; max-width: 100%;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none;
  box-shadow: 0 0 0 0 var(--glow-mint); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(138,255,193,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(138,255,193,0); }
  100% { box-shadow: 0 0 0 0 rgba(138,255,193,0); }
}
.hero-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 7.2vw, 78px); line-height: 1.0; letter-spacing: -0.035em;
}
.hero-title .grad-text { display: block; }
.hero-sub {
  color: var(--muted); font-size: clamp(17px, 2.4vw, 20px);
  max-width: 40ch; margin: 26px 0 34px; line-height: 1.55;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }
.trust { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.trust p { font-size: 14px; color: var(--muted); }
.trust strong { color: var(--ink); }
.avatars { display: flex; flex: none; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px;
  border: 2px solid var(--bg); background-size: cover;
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(1) { background: linear-gradient(135deg,#8affc1,#3a9dff); }
.avatars span:nth-child(2) { background: linear-gradient(135deg,#9b7bff,#3a9dff); }
.avatars span:nth-child(3) { background: linear-gradient(135deg,#ffb08a,#ff7bd0); }
.avatars span:nth-child(4) { background: linear-gradient(135deg,#8affc1,#9b7bff); }
.avatars span:nth-child(5) { background: linear-gradient(135deg,#7bd0ff,#8affc1); }

/* ---------- Sample readout card (sizes to its content — no overflow) ---------- */
.device {
  position: relative; justify-self: center;
  width: min(360px, 92vw); height: auto;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px); } }
.device-glow {
  position: absolute; inset: -30px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(58,157,255,0.35), transparent 65%);
  filter: blur(30px);
}
.device-screen {
  height: auto; border-radius: 30px; padding: clamp(18px, 5vw, 24px);
  background: linear-gradient(160deg, rgba(22,24,40,0.95), rgba(12,12,22,0.98));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 14px;
}
.app-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; gap: 10px; }
.app-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-family: var(--display); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--mint); box-shadow: 0 0 8px var(--glow-mint); }
.app-time { color: var(--muted); font-variant-numeric: tabular-nums; }
.app-gauge { position: relative; text-align: center; }
.gauge { width: 100%; overflow: visible; }
.gauge-track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 12; stroke-linecap: round; }
.gauge-fill {
  fill: none; stroke: var(--mint); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 251; stroke-dashoffset: 120;
  filter: drop-shadow(0 0 6px var(--glow-mint)); transition: stroke-dashoffset 0.6s var(--ease), stroke 0.4s;
}
.gauge-needle { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; transform-origin: 100px 110px; transition: transform 0.6s var(--ease); }
.gauge-needle-base { fill: var(--ink); }
.gauge-read { margin-top: -8px; }
.gauge-num { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; }
.gauge-label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.app-verdict {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 12px; border-radius: 14px; font-family: var(--display); font-weight: 600; font-size: 15px;
  background: rgba(138,255,193,0.1); border: 1px solid rgba(138,255,193,0.25); color: var(--mint);
  transition: all 0.4s; text-align: center;
}
.app-verdict.warn { background: rgba(255,196,84,0.1); border-color: rgba(255,196,84,0.25); color: var(--amber); }
.app-verdict.danger { background: rgba(255,110,110,0.1); border-color: rgba(255,110,110,0.25); color: #ff9a9a; }
.app-metrics { display: grid; gap: 9px; }
.app-metrics div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.03); }
.app-metrics span { color: var(--muted); }
.app-metrics b { font-family: var(--display); font-weight: 600; }
.app-foot { font-size: 11.5px; color: var(--muted-2); text-align: center; letter-spacing: 0.04em; }

/* ---------- Chips strip (wraps — page never scrolls sideways) ---------- */
.zonestrip { padding: 34px 24px 26px; border-block: 1px solid var(--line); background: rgba(255,255,255,0.012); }
.strip-cap { text-align: center; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.chips {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 900px; margin: 0 auto;
}
.chips li {
  font-family: var(--display); font-weight: 600; font-size: clamp(13px, 2.4vw, 15px);
  color: rgba(255,255,255,0.62); padding: 8px 15px; border-radius: 999px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--card-brd); white-space: nowrap;
}

/* ---------- Cards / Field guide ---------- */
.features { grid-template-columns: repeat(2, 1fr); }
.card {
  padding: 30px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--card-brd);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
  background: linear-gradient(130deg, rgba(138,255,193,0.4), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s;
}
.card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.045); }
.card:hover::after { opacity: 1; }
.card-ic { font-size: 32px; margin-bottom: 16px; }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 21px; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Risk zones ---------- */
.zones { grid-template-columns: repeat(3, 1fr); }
.zone {
  padding: 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--card-brd);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.zone:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }
.zone h3 { font-family: var(--display); font-weight: 600; font-size: 20px; margin: 14px 0 9px; }
.zone p { color: var(--muted); font-size: 14.5px; }
.zone-lvl {
  display: inline-block; font-family: var(--display); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.lvl-min  { color: var(--mint);  background: rgba(138,255,193,0.1); border: 1px solid rgba(138,255,193,0.3); }
.lvl-elev { color: var(--sky);   background: rgba(58,157,255,0.1);  border: 1px solid rgba(58,157,255,0.3); }
.lvl-high { color: var(--amber); background: rgba(255,196,84,0.1);  border: 1px solid rgba(255,196,84,0.3); }
.lvl-sev  { color: #ff9a9a;      background: rgba(255,110,110,0.1);  border: 1px solid rgba(255,110,110,0.3); }
.lvl-crit { color: #fff; background: rgba(255,80,80,0.22); border: 1px solid rgba(255,110,110,0.55); }

/* ---------- Assessment (centerpiece) ---------- */
.assess {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: start;
}
.assess-form { display: grid; gap: 16px; }
.ns-note { color: var(--amber); font-size: 15px; }
.q {
  border: 1px solid var(--card-brd); border-radius: 18px; padding: 20px;
  background: var(--card); transition: border-color 0.3s;
}
.q.answered { border-color: rgba(138,255,193,0.28); }
.q-title { font-family: var(--display); font-weight: 600; font-size: 16.5px; margin-bottom: 14px; line-height: 1.35; }
.q-title .q-n { color: var(--mint); margin-right: 8px; }
.opts { display: grid; gap: 8px; }
.opt {
  font-family: var(--font); font-size: 14.5px; color: var(--ink); text-align: left;
  padding: 12px 14px 12px 40px; border-radius: 12px; cursor: pointer; position: relative;
  background: rgba(255,255,255,0.025); border: 1px solid var(--card-brd);
  transition: border-color 0.2s, background 0.2s;
}
.opt::before {
  content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--muted-2);
  transition: border-color 0.2s, background 0.2s;
}
.opt:hover { border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.05); }
.opt.active { border-color: rgba(138,255,193,0.55); background: rgba(138,255,193,0.08); }
.opt.active::before { border-color: var(--mint); background: var(--mint); box-shadow: 0 0 0 3px rgba(138,255,193,0.15); }

.assess-side { position: sticky; top: 92px; }
.assess-panel {
  padding: clamp(22px, 4vw, 30px); border-radius: 26px; text-align: center;
  display: grid; gap: 14px; justify-items: center;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--card-brd);
  box-shadow: 0 40px 100px -50px rgba(0,0,0,0.9);
}
.big-gauge { position: relative; width: min(220px, 58vw); }
.ring { width: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 14; }
.ring-fill {
  fill: none; stroke: var(--mint); stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: 603; stroke-dashoffset: 603;
  filter: drop-shadow(0 0 8px var(--glow-mint)); transition: stroke-dashoffset 0.6s var(--ease), stroke 0.4s;
}
.ring-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-num { font-family: var(--display); font-weight: 700; font-size: 54px; line-height: 1; }
.ring-cap { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.risk-tier {
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.02em;
  color: var(--muted); min-height: 1.2em; transition: color 0.3s;
}
.risk-oneliner { font-size: 14.5px; color: var(--muted); min-height: 1.4em; }
.assess-log { font-size: 13px; color: var(--mint); min-height: 1.2em; font-variant-numeric: tabular-nums; }
.risk-report { display: grid; gap: 14px; width: 100%; margin-top: 4px; }
.risk-blurb {
  font-size: 15px; line-height: 1.6; color: var(--ink); text-align: left;
  padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--card-brd);
}
.risk-reco {
  font-family: var(--display); font-weight: 600; font-size: 14.5px; line-height: 1.5;
  color: var(--mint); text-align: left;
}

/* ---------- Steps / protocol ---------- */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: start; }
.step { text-align: center; padding: 8px; }
.step-n { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--mint); letter-spacing: 0.1em; }
.step h3 { font-family: var(--display); font-weight: 600; font-size: 22px; margin: 14px 0 10px; }
.step p { color: var(--muted); font-size: 15px; max-width: 32ch; margin: 0 auto; }
.step-line { align-self: center; height: 1px; width: 100%; min-width: 30px; margin-top: 34px;
  background: linear-gradient(90deg, transparent, rgba(138,255,193,0.5), transparent); }

/* ---------- Quotes ---------- */
.quotes { grid-template-columns: repeat(3, 1fr); }
.quote {
  padding: 28px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--card-brd);
  display: flex; flex-direction: column; gap: 14px;
}
.stars { color: #ffd27a; letter-spacing: 3px; font-size: 15px; }
.quote blockquote { font-size: 16px; line-height: 1.55; }
.quote figcaption { font-size: 13.5px; color: var(--muted); margin-top: auto; }
.quote figcaption b { color: var(--ink); font-family: var(--display); }

/* ---------- Stats ---------- */
.stats {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stats > div {
  text-align: center; padding: 30px 16px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--card-brd);
}
.stats b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.02em; }
.stats span { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--card-brd); border-radius: 16px; background: var(--card);
  padding: 4px 22px; transition: border-color 0.3s, background 0.3s;
}
.faq details[open] { border-color: rgba(138,255,193,0.28); background: rgba(255,255,255,0.04); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 18px 0; font-family: var(--display); font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.chev { font-size: 24px; font-weight: 400; color: var(--mint); transition: transform 0.3s var(--ease); line-height: 1; flex: none; }
.faq details[open] .chev { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; font-size: 15.5px; max-width: 62ch; }

/* ---------- CTA ---------- */
.cta { max-width: var(--max); margin: 0 auto; padding: 24px; }
.cta-inner {
  text-align: center; padding: clamp(50px, 8vw, 90px) 30px; border-radius: 32px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(58,157,255,0.18), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--card-brd); position: relative; overflow: hidden;
}
.cta-inner h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 6vw, 60px); letter-spacing: -0.03em; line-height: 1.02; }
.cta-inner > p { color: var(--muted); font-size: clamp(16px, 2.4vw, 20px); max-width: 48ch; margin: 20px auto 32px; }
.cta-fine { font-size: 13.5px; color: var(--muted); margin-top: 22px; }

/* ---------- Footer ---------- */
.footer { max-width: var(--max); margin: 0 auto; padding: 60px 24px 40px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer-brand .brand-name { font-family: var(--display); font-size: 22px; }
.footer-brand p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-family: var(--display); font-size: 14px; margin-bottom: 14px; letter-spacing: 0.04em; }
.footer-cols a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color 0.2s; }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-bottom p { color: var(--muted-2); font-size: 13px; max-width: 90ch; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .trust { justify-content: center; }
  .device { order: -1; }
  .features { grid-template-columns: 1fr; }
  .zones { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step-line { display: none; }
  .assess { grid-template-columns: 1fr; }
  .assess-side { position: static; order: -1; }
  .quotes { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .nav-cta { display: none; }
  .trust { flex-direction: column; gap: 10px; }
}

/* ---------- Motion / a11y ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(138,255,193,0.28); color: #fff; }
