/* =========================================================================
   Audeza — "Signal" design system
   Clean light theme (slate neutrals) + cool-blue accent.
   Monospace utility face as the signature (linter / scanner vernacular).
   ========================================================================= */

:root {
  /* --- surfaces: clean light theme, slate neutrals --- */
  --bg:         #FBFCFE;   /* page — near-white, faint cool bias */
  --bg-raised:  #FFFFFF;   /* cards */
  --bg-raised2: #F1F5F9;   /* nested / hover */
  --bg-sunk:    #F4F7FB;   /* code / pre / inputs */

  /* --- text --- */
  --ink:    #0F172A;       /* slate-900 (AAA on --bg) */
  --muted:  #475569;       /* slate-600 (AA on --bg) */
  --faint:  #94A3B8;       /* slate-400, decorative meta only */

  /* --- signal blue accent (cool, credible) --- */
  --accent:        #2563EB; /* links, eyebrows, wordmark, hairline accents */
  --accent-strong: #1D4ED8; /* button fill */
  --accent-deep:   #1E40AF; /* deep edge */
  --accent-ink:    #FFFFFF; /* white text on blue fill */
  --accent-soft:   rgba(37, 99, 235, 0.08);
  --accent-edge:   rgba(37, 99, 235, 0.22);

  /* --- severity (functional, light-appropriate) --- */
  --ok:        #059669;  --ok-soft:   rgba(5, 150, 105, 0.12);
  --warn:      #B45309;  --warn-soft: rgba(180, 83, 9, 0.12);
  --bad:       #E11D48;  --bad-soft:  rgba(225, 29, 72, 0.10);

  /* --- lines --- */
  --line:   #E2E8F0;
  --line-2: #CBD5E1;

  /* --- spacing scale --- */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;

  /* --- radii --- */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-pill: 999px;

  --t: .16s ease;
  --focus: 2px solid var(--accent);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Menlo", "Consolas", monospace;

  --maxw: 1080px;
  --maxw-prose: 720px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-attachment: fixed;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent-deep); }

main { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

::selection { background: var(--accent); color: var(--accent-ink); }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, summary:focus-visible, label:focus-visible {
  outline: var(--focus); outline-offset: 2px; border-radius: var(--r-sm);
}

/* ---------- header / nav ---------- */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 20px 24px;
}
.nav nav { display: flex; gap: var(--s5); align-items: center; }
.nav nav a { color: var(--muted); font-size: 15px; }
.nav nav a:hover { color: var(--ink); }
.nav nav a.btn { color: var(--accent-ink); }

.logo {
  font-size: 21px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px;
}
.logo::before {
  content: ""; width: 11px; height: 11px; border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- eyebrow / kicker (mono signature) ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 1px;
  background: var(--accent);
}

/* ---------- hero ---------- */
.hero { padding: 60px 0 44px; }
.hero h1 {
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.35rem);
  line-height: 1.06; letter-spacing: -0.025em; font-weight: 800;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.sub { color: var(--muted); font-size: 1.16rem; line-height: 1.6; margin: 20px 0 28px; max-width: 620px; }
.tiny { color: var(--muted); font-size: 0.82rem; line-height: 1.5; }

/* centered narrow hero (scan, login, waitlist, kit-locked) */
.hero.narrow { max-width: 520px; margin: 0 auto; text-align: center; }
.hero.narrow .sub { margin-left: auto; margin-right: auto; }

/* landing: two-column hero with live readout signature */
.hero-landing {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s7); align-items: center; padding: 56px 0 40px;
}
.hero-landing .hero-copy { min-width: 0; }
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---- hero readout (signature: a live scan report chip) ---- */
.hero-readout {
  font-family: var(--font-mono); background: var(--bg-raised);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 18px 44px -26px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}
.readout-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
  background: var(--bg-sunk); font-size: 12px; letter-spacing: 0.12em;
  color: var(--muted); text-transform: uppercase;
}
.readout-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--bad);
  box-shadow: 0 0 10px var(--bad);
}
.readout-verdict {
  margin-left: auto; color: var(--bad); font-weight: 700;
  background: var(--bad-soft); padding: 3px 10px; border-radius: var(--r-pill);
  letter-spacing: 0.1em;
}
.readout-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.readout-flag { border-left: 2px solid var(--bad); padding-left: 14px; }
.readout-phrase { font-size: 13.5px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.readout-phrase code {
  background: var(--bad-soft); color: #be123c; padding: 3px 8px; border-radius: 6px;
  text-decoration: line-through; text-decoration-color: rgba(225, 29, 72, 0.5);
}
.readout-tag {
  font-size: 10px; letter-spacing: 0.14em; color: var(--bad);
  border: 1px solid var(--bad); border-radius: var(--r-pill); padding: 1px 8px;
}
.readout-safer {
  margin-top: 8px; font-size: 13px; color: var(--ink); line-height: 1.5;
  background: var(--accent-soft); border-radius: 8px; padding: 9px 12px;
}
.readout-safer b { color: var(--accent); }
.readout-foot {
  padding: 11px 18px; border-top: 1px solid var(--line); background: var(--bg-sunk);
  font-size: 11.5px; color: var(--faint); letter-spacing: 0.08em;
  display: flex; justify-content: space-between; gap: 10px;
}
.readout-foot .ok { color: var(--ok); }

/* ---------- buttons ---------- */
.btn, .btn-secondary {
  display: inline-block; font-family: inherit; font-weight: 650;
  line-height: 1.4; border: 0; border-radius: var(--r-sm);
  cursor: pointer; transition: background var(--t), color var(--t), box-shadow var(--t), transform var(--t);
  text-align: center; letter-spacing: -0.01em;
}
.btn {
  background: var(--accent-strong); color: var(--accent-ink);
  padding: 12px 24px; font-size: 15px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 10px 24px -14px rgba(37, 99, 235, 0.45);
}
.btn:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { font-size: 16.5px; padding: 15px 30px; border-radius: var(--r-md); }
.btn-sm { font-size: 13.5px; padding: 8px 15px; }
.btn-secondary {
  background: transparent; padding: 11px 22px; font-size: 15px;
  color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-secondary:hover { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-edge); background: var(--accent-soft); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }

/* ---------- sections ---------- */
section { padding: 46px 0; }
.section-line { border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 1.9rem); margin-bottom: 20px; letter-spacing: -0.02em; font-weight: 750; }
h3 { font-size: 1.06rem; margin-bottom: 6px; font-weight: 700; letter-spacing: -0.01em; }
.muted { color: var(--muted); }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s5); }
.cols p { color: var(--muted); }

/* ---------- card ---------- */
.card {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--s5);
  transition: border-color var(--t), transform var(--t);
}
.cols .card:hover, .kit-cards .card:hover { border-color: var(--line-2); }

/* index-numbered feature cards */
.cols .card { position: relative; }

/* ---------- story ---------- */
.story {
  max-width: var(--maxw-prose); margin: 0 auto; text-align: left;
  position: relative; padding-left: 26px;
}
.story::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.story p { color: var(--muted); margin-bottom: var(--s4); font-size: 1.05rem; }
.story p:last-child { margin-bottom: 0; }
.story p strong { color: var(--ink); font-weight: 650; }

/* ---------- scanner card ---------- */
.scanner-box {
  position: relative; background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s6); max-width: 760px; margin: 0 auto;
  overflow: hidden;
}
.scanner-box::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}
.scanner-box h2 { margin-bottom: 6px; }
.scanner-box .muted { margin-bottom: var(--s5); font-size: 0.98rem; }

textarea {
  font-family: var(--font-sans); font-size: 15px; line-height: 1.55;
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-sunk); color: var(--ink); width: 100%; min-height: 176px;
  resize: vertical; transition: border-color var(--t), box-shadow var(--t);
}
input:not([type]), input[type="text"], input[type="email"], input[type="url"], input[type="password"] {
  font-family: var(--font-sans); font-size: 15px; line-height: 1.4;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-sunk); color: var(--ink); width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus {
  border-color: var(--accent-edge); outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
label { font-size: 14px; color: var(--muted); }
.or-divider {
  display: flex; align-items: center; gap: 14px; color: var(--faint);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; margin: var(--s5) 0;
}
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.stack { display: flex; flex-direction: column; gap: var(--s3); margin: 16px 0; }

/* ---------- scan results ---------- */
.result-report { max-width: 760px; margin: 0 auto; }
.verdict { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s3); flex-wrap: wrap; }
.verdict-pill {
  font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px 6px 12px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 9px;
}
.verdict-pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.verdict-high   { background: var(--bad-soft);  color: var(--bad);  box-shadow: inset 0 0 0 1px rgba(225,29,72,.3); }
.verdict-medium { background: var(--warn-soft); color: var(--warn); box-shadow: inset 0 0 0 1px rgba(180,83,9,.3); }
.verdict-low    { background: var(--ok-soft);   color: var(--ok);   box-shadow: inset 0 0 0 1px rgba(5,150,105,.3); }
.scan-meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; }

.flag {
  border: 1px solid var(--line); border-left: 3px solid var(--warn);
  border-radius: var(--r-md); padding: var(--s5); margin-bottom: var(--s4);
  background: var(--bg-raised);
}
.flag.sev-high { border-left-color: var(--bad); }
.flag.sev-medium { border-left-color: var(--warn); }
.flag.sev-low { border-left-color: var(--ok); }
.flag-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flag-phrase { font-weight: 700; font-size: 16px; }
.flag-phrase code {
  font-family: var(--font-mono); background: var(--bg-sunk); padding: 3px 9px;
  border-radius: 6px; font-size: 14px; color: var(--warn);
  border: 1px solid var(--line);
}
.flag.sev-high .flag-phrase code { color: var(--bad); }
.flag.sev-low .flag-phrase code { color: var(--ok); }
.flag-sev {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; padding: 2px 9px; border-radius: var(--r-pill);
}
.flag.sev-high .flag-sev   { color: var(--bad);  border: 1px solid var(--bad); }
.flag.sev-medium .flag-sev { color: var(--warn); border: 1px solid var(--warn); }
.flag.sev-low .flag-sev    { color: var(--ok);   border: 1px solid var(--ok); }
.flag-count { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.05em; }
.flag p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.flag .ctx {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--faint);
  font-style: normal; margin-top: 10px; background: var(--bg-sunk);
  border-radius: 6px; padding: 8px 11px; overflow-wrap: anywhere;
}
.flag .rewrite {
  color: var(--ink); background: var(--accent-soft);
  border-left: 2px solid var(--accent); border-radius: 0 8px 8px 0;
  padding: 10px 14px; margin-top: 12px; font-size: 14.5px; line-height: 1.55;
}
.flag .rewrite b { color: var(--accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- email capture / waitlist ---------- */
.capture {
  text-align: center; position: relative; overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--accent-edge); border-radius: var(--r-lg);
  padding: 44px 28px; margin: 28px 0;
}
.capture::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 50% -30%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.capture > * { position: relative; }
.capture h2 { margin-bottom: 10px; }
.capture p { color: var(--muted); max-width: 560px; margin: 0 auto 20px; }
.wl-form { display: flex; gap: var(--s2); max-width: 460px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center; }
.wl-form input { flex: 1; min-width: 220px; }

/* ---------- pricing ---------- */
.pricing { text-align: center; }
.price-card {
  position: relative; max-width: 440px; margin: 0 auto; overflow: hidden;
  background: var(--bg-raised); border: 1px solid var(--accent-edge);
  border-radius: var(--r-lg); padding: var(--s7) var(--s6); text-align: left;
}
.price-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-deep));
}
.price-card .kicker { justify-content: flex-start; }
.price { font-size: 3rem; font-weight: 800; margin: var(--s2) 0 var(--s4); color: var(--ink); letter-spacing: -0.03em; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; color: var(--muted); }
.price-card li { padding: 8px 0 8px 30px; position: relative; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.price-card li:last-child { border-bottom: 0; }
.price-card li::before {
  content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--accent); font-weight: 800;
}
.price-card .btn { width: 100%; }
.price-card .tiny { text-align: center; margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--maxw-prose); margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; font-weight: 650; font-size: 16px; list-style: none;
  padding: 16px 40px 16px 0; position: relative; transition: color var(--t);
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); color: var(--accent); font-weight: 400; font-size: 20px;
  transition: transform var(--t);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 16px; font-size: 15px; max-width: 680px; line-height: 1.65; }

/* ---------- kit portal ---------- */
.kit-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 30px; }
.kit-nav a {
  font-family: var(--font-mono); color: var(--muted); font-size: 13px; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: var(--r-pill); transition: all var(--t);
  letter-spacing: 0.01em;
}
.kit-nav a:hover { color: var(--ink); border-color: var(--line-2); }
.kit-nav a.on { color: var(--accent); border-color: var(--accent-edge); background: var(--accent-soft); }

.kit-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: var(--s4); }
.kit-cards .card { display: flex; flex-direction: column; }
.kit-cards .card h3 { color: var(--ink); }
.kit-cards .card p { color: var(--muted); font-size: 14.5px; margin: 8px 0 16px; flex: 1; }
.kit-cards .card .btn { align-self: flex-start; }
.progress { font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); letter-spacing: 0.03em; }
.progress b { color: var(--accent); }

.check-item {
  display: flex; gap: 15px; align-items: flex-start; padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.check-item input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin-top: 2px;
  border: 2px solid var(--line-2); border-radius: 6px; background: var(--bg-sunk);
  cursor: pointer; position: relative; transition: all var(--t);
}
.check-item input[type="checkbox"]:hover { border-color: var(--accent-edge); }
.check-item input[type="checkbox"]:checked { background: var(--accent-strong); border-color: var(--accent-strong); }
.check-item input[type="checkbox"]:checked::after {
  content: "✓"; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--accent-ink); font-size: 14px; font-weight: 800;
}
.check-item.done .check-text { color: var(--faint); text-decoration: line-through; }
.check-text { font-weight: 650; font-size: 15.5px; cursor: pointer; display: block; }
.check-detail { color: var(--muted); font-size: 14px; margin-top: 4px; display: block; }
.check-item.done .check-detail { color: var(--faint); }

.tpl-section { margin-bottom: var(--s6); }
.tpl-why {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 12px 16px; color: var(--muted);
  font-size: 14.5px; margin-bottom: 12px; line-height: 1.6;
}
.tpl-why b { color: var(--accent); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

pre, .tpl-block pre {
  background: var(--bg-sunk); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 16px; overflow-x: auto; font-family: var(--font-mono); font-size: 13px; line-height: 1.65;
  color: #334155; white-space: pre-wrap; overflow-wrap: anywhere;
}

.ph-table { width: 100%; border-collapse: collapse; margin: var(--s4) 0 var(--s6); }
.ph-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 14px;
  color: var(--muted); vertical-align: top; }
.ph-table td:first-child { white-space: nowrap; }
.ph-table code, .ph-table td:first-child code {
  font-family: var(--font-mono); color: var(--accent); background: var(--bg-sunk); padding: 2px 7px;
  border-radius: 5px; font-size: 12.5px; }

/* ---------- prose / legal ---------- */
.prose { max-width: var(--maxw-prose); margin: 0 auto; padding-bottom: 64px; }
.prose h1 { font-size: 2rem; margin: 24px 0 12px; letter-spacing: -0.02em; }
.prose h2 { font-size: 1.4rem; margin: 38px 0 12px; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.08rem; margin: 26px 0 8px; color: var(--ink); }
.prose p, .prose li { color: var(--muted); font-size: 15.5px; margin-bottom: var(--s3); line-height: 1.7; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: var(--s4); }
.prose strong, .prose em { color: var(--ink); font-style: normal; }
.prose em { font-style: italic; }
.prose code { font-family: var(--font-mono); background: var(--bg-sunk); padding: 2px 6px; border-radius: 5px; font-size: 13px; color: var(--accent); }
.prose .timeline li { margin-bottom: var(--s4); }

.legal { max-width: 700px; margin: 0 auto; padding: 34px 0 64px; }
.legal h1 { font-size: 1.9rem; margin-bottom: var(--s3); letter-spacing: -0.02em; }
.legal h2 { font-size: 1.15rem; margin: 30px 0 var(--s2); letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); font-size: 15px; margin-bottom: var(--s2); line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal strong { color: var(--ink); }

/* ---------- error box ---------- */
.error-box {
  background: var(--bad-soft); border: 1px solid rgba(225, 29, 72, 0.30);
  color: #be123c; border-radius: var(--r-sm); padding: 13px 16px; margin: 0 0 var(--s4);
  font-size: 14.5px;
}

/* ---------- footer ---------- */
footer {
  text-align: center; color: var(--faint); font-size: 13px; padding: 56px 24px;
  border-top: 1px solid var(--line); margin-top: 40px;
}
footer p { max-width: 640px; margin: 0 auto; }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }
footer .tiny { margin-top: var(--s3); color: var(--faint); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-landing { grid-template-columns: 1fr; gap: var(--s6); padding: 44px 0 32px; }
  .hero-readout { order: 2; }
}
@media (max-width: 640px) {
  main { padding: 0 18px; }
  .nav { padding: 16px 18px; }
  .nav nav { gap: var(--s4); }
  .hero { padding: 40px 0 28px; }
  .scanner-box, .price-card { padding: var(--s5); }
  section { padding: 38px 0; }
}
@media (max-width: 420px) {
  .nav nav a:not(.btn) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- button loading state (form submit spinner) ---------- */
@keyframes az-spin { to { transform: rotate(360deg); } }
.btn.is-loading, .btn-secondary.is-loading {
  color: transparent !important;
  pointer-events: none;
  position: relative;
}
.btn.is-loading::after, .btn-secondary.is-loading::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: az-spin 0.6s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::after, .btn-secondary.is-loading::after { animation-duration: 1.5s; }
}
