/* AurisGuard public website — single stylesheet, no framework. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-wght.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #070a10;
  --ink-2: #0d121b;
  --ink-3: #141b27;
  --line: #1f2836;
  --line-2: #2a3546;
  --text: #e8edf5;
  --text-2: #b0bccd;
  --text-3: #8f9bb0;
  --signal: #3ddc97;
  --signal-s: rgba(61, 220, 151, 0.12);
  --threat: #ff6a5f;
  --threat-s: rgba(255, 90, 78, 0.12);
  --amber: #ffb547;
  --paper: #f6f7f9;
  --paper-ink: #0b1018;
  --paper-2: #4f596a;
  --paper-line: #e2e6ec;
  --paper-accent: #0b7a4d;
  --error: #ff8a80;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
.light :focus-visible { outline-color: var(--paper-accent); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--signal); color: #04120b; font-weight: 700;
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 10, 16, 0.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap { display: flex; align-items: center; height: 64px; gap: 36px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em; text-decoration: none;
}
.logo-mark { width: 22px; height: 22px; flex: none; }
.nav-links { display: flex; gap: 28px; font-size: 14px; list-style: none; }
.nav-links a { color: var(--text-2); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 14px; line-height: 1.2;
  padding: 11px 18px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: background 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--signal); color: #04120b; }
.btn-primary:hover { background: #5be6a8; }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-3); }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 340px at 78% 30%, rgba(61, 220, 151, 0.14), transparent 70%),
    radial-gradient(500px 300px at 92% 80%, rgba(255, 90, 78, 0.1), transparent 70%);
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
}
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px;
  color: var(--text-2); border: 1px solid var(--line-2); background: var(--ink-2);
  padding: 6px 12px 6px 8px; border-radius: 999px;
}
.pill strong {
  background: var(--signal-s); color: var(--signal); font-weight: 600; font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
}
h1 {
  font-size: clamp(38px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.035em;
  font-weight: 800; margin: 22px 0;
}
h1 .accent {
  display: block;
  background: linear-gradient(90deg, var(--signal), #a6f5d0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 19px; color: var(--text-2); max-width: 540px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fine { margin-top: 18px; font-size: 13px; color: var(--text-3); }

/* Hero illustration */
.stage { position: relative; height: 540px; }
.illustrative {
  position: absolute; right: 0; top: -28px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
}
.card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.call { position: absolute; left: 0; top: 0; width: 270px; padding: 18px; }
.who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--line-2);
  display: grid; place-items: center; font-weight: 700; color: var(--text-2);
}
.call-name { font-weight: 600; }
.call-num { font-size: 12px; color: var(--text-3); }
.say {
  margin-top: 14px; font-size: 14px; color: var(--text-2); background: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px;
}
.wave { display: flex; gap: 3px; align-items: center; height: 22px; margin-top: 12px; }
.wave span { width: 3px; border-radius: 2px; background: var(--text-3); }
.wave span:nth-child(1) { height: 8px; }
.wave span:nth-child(2) { height: 16px; }
.wave span:nth-child(3) { height: 11px; }
.wave span:nth-child(4) { height: 20px; }
.wave span:nth-child(5) { height: 9px; }
.wave span:nth-child(6) { height: 14px; }
.wave span:nth-child(7) { height: 6px; }
.wave span:nth-child(8) { height: 18px; }
.wave span:nth-child(9) { height: 12px; }
.wave span:nth-child(10) { height: 7px; }
.wave span:nth-child(11) { height: 15px; }
.wave span:nth-child(12) { height: 10px; }
.verdict { position: absolute; right: 0; top: 150px; width: 300px; padding: 18px; }
.vhead {
  display: flex; justify-content: space-between; align-items: center; font-size: 12px;
  color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em;
}
.crit {
  color: var(--threat); background: var(--threat-s); border: 1px solid rgba(255, 90, 78, 0.3);
  padding: 3px 8px; border-radius: 6px; font-weight: 700; letter-spacing: 0.04em;
}
.score { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 4px; }
.score b { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--threat); }
.score span { color: var(--text-3); }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 92%; background: linear-gradient(90deg, var(--amber), var(--threat)); }
.sig { margin-top: 14px; display: grid; gap: 8px; font-size: 13px; }
.sig div { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); }
.sig b { color: var(--text); font-weight: 500; text-align: right; }
.verify {
  position: absolute; left: 40px; bottom: 0; width: 340px; padding: 16px;
  display: flex; gap: 12px; align-items: flex-start;
}
.verify-icon {
  width: 34px; height: 34px; border-radius: 9px; background: var(--signal-s);
  color: var(--signal); display: grid; place-items: center; font-weight: 800; flex: none;
}
.verify p { font-size: 13px; color: var(--text-2); }
.verify .t { color: var(--text); font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.verify .act { display: flex; gap: 8px; margin-top: 10px; }
.verify .act span { font-size: 12px; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line-2); }
.verify .act .no { border-color: rgba(255, 90, 78, 0.4); color: var(--threat); }

/* ---------- Integrations strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.strip .wrap {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 40px;
  min-height: 84px; padding-top: 18px; padding-bottom: 18px; font-size: 14px;
}
.strip h2 { font-size: 14px; font-weight: 600; color: var(--text-2); letter-spacing: 0; margin: 0; }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 32px; list-style: none; font-weight: 600; color: var(--text-2); }

/* ---------- Sections ---------- */
section.block { padding: 110px 0; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--signal);
}
.block h2 {
  font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -0.03em;
  font-weight: 750; margin: 14px 0 18px; max-width: 760px;
}
.sub { font-size: 18px; color: var(--text-2); max-width: 660px; }

.attacks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; list-style: none; }
.atk {
  padding: 28px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--ink-2); display: flex; flex-direction: column;
}
.atk .n { font-family: var(--mono); color: var(--text-3); font-size: 12px; }
.atk h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; margin: 32px 0 10px; }
.atk p { color: var(--text-2); font-size: 15px; }
.atk blockquote {
  margin-top: 20px; font-size: 14px; color: var(--text);
  background: rgba(255, 181, 71, 0.07); border: 1px solid rgba(255, 181, 71, 0.2);
  border-left: 3px solid var(--amber); padding: 12px 14px; border-radius: 8px;
}
.atk blockquote strong { color: var(--amber); font-weight: 600; }
.atk .ref { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--text-3); }
.atk .ref a { color: var(--text-2); }

.light { background: var(--paper); color: var(--paper-ink); }
.light .sub { color: var(--paper-2); }
.light .eyebrow { color: var(--paper-accent); }
.miss {
  margin-top: 48px; border: 1px solid var(--paper-line); border-radius: 14px;
  overflow: hidden; background: #fff; list-style: none;
}
.miss li {
  display: grid; grid-template-columns: 280px 1fr; gap: 12px; padding: 20px 28px;
  border-top: 1px solid var(--paper-line); font-size: 15px;
}
.miss li:first-child { border-top: 0; }
.miss b { font-weight: 600; }
.miss span { color: var(--paper-2); }
.miss .x { color: #c2352b; font-weight: 700; margin-right: 8px; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; list-style: none;
}
.step { padding: 32px; background: var(--ink-2); border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; }
.step .k {
  display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--signal);
  border: 1px solid rgba(61, 220, 151, 0.3); padding: 3px 8px; border-radius: 6px;
}
.step h3 { font-size: 23px; line-height: 1.25; margin: 20px 0 10px; letter-spacing: -0.02em; }
.step p { color: var(--text-2); font-size: 15px; }
.step ul { margin-top: 18px; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.step li::before { content: "→ "; color: var(--text-3); }
.stance {
  margin-top: 28px; padding: 22px 28px; border-radius: 12px; font-size: 18px;
  background: linear-gradient(90deg, var(--signal-s), transparent);
  border: 1px solid rgba(61, 220, 151, 0.2);
}
.stance strong { color: var(--signal); }

/* ---------- Form section ---------- */
.access { background: var(--ink-2); border-top: 1px solid var(--line); }
.access .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.bul { margin-top: 28px; display: grid; gap: 14px; list-style: none; color: var(--text-2); }
.bul li { display: flex; gap: 12px; }
.bul li::before { content: "✓"; color: var(--signal); font-weight: 700; }

.lead-form { padding: 32px; border-radius: 16px; }
.seg {
  display: grid; grid-template-columns: 1fr 1fr; background: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 4px; margin-bottom: 22px;
}
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label {
  text-align: center; padding: 10px; border-radius: 7px; font-size: 14px;
  font-weight: 600; color: var(--text-2); cursor: pointer; margin: 0;
}
.seg input:checked + label { background: var(--ink-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg input:focus-visible + label { outline: 2px solid var(--signal); outline-offset: 2px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { margin-bottom: 16px; }
.f > label, fieldset legend {
  display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; font-weight: 500;
}
.optional { color: var(--text-3); font-weight: 400; }
.in {
  width: 100%; background: var(--ink); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 11px 12px; color: var(--text); font: inherit; font-size: 15px;
}
.in::placeholder { color: var(--text-3); }
select.in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
textarea.in { min-height: 84px; resize: vertical; }
.in[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: 13px; margin-top: 6px; }
.err:empty { display: none; }

fieldset { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip label {
  display: inline-block; font-size: 13px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--text-2); cursor: pointer;
}
.chip input:checked + label { border-color: var(--signal); color: var(--signal); background: var(--signal-s); }
.chip input:checked + label::before { content: "✓ "; }
.chip input:focus-visible + label { outline: 2px solid var(--signal); outline-offset: 2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); margin: 6px 0 4px; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--signal); flex: none; }
.consent a { color: var(--text); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#lead-submit { width: 100%; margin-top: 18px; }
.status { margin-top: 14px; font-size: 14px; min-height: 1px; }
.status.error { color: var(--error); }
.thanks { text-align: center; padding: 24px 8px; }
.thanks h3 { font-size: 24px; margin-bottom: 8px; }
.thanks p { color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--text-3); font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.site-footer ul { display: flex; gap: 20px; list-style: none; }
.site-footer a { color: var(--text-2); }

/* ---------- Text pages (privacy, accessibility, 404) ---------- */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--text-2); margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--signal); }
.doc .updated { color: var(--text-3); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero .wrap, .access .wrap { grid-template-columns: 1fr; gap: 48px; }
  .stage { height: auto; display: grid; gap: 14px; }
  .call, .verdict, .verify { position: static; width: auto; }
  .illustrative { position: static; }
  .attacks, .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .miss li { grid-template-columns: 1fr; gap: 4px; }
  section.block { padding: 72px 0; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .row { grid-template-columns: 1fr; }
  .lead-form { padding: 20px; }
  .ctas .btn { width: 100%; }
  .site-nav .wrap { gap: 12px; }
  .nav-cta .btn { padding: 9px 12px; font-size: 13px; }
}

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