/* ============================================================
   Speak Local — production site, "Aurora"
   Deep navy + one slow-drifting brand-color aurora, glass panels.
   Brand accents: green #aede57 · blue #61b5fe · yellow #fdbd37 · red #fa514e
   Type: Inter only, tight display tracking.
   ============================================================ */

:root {
  --bg: #121220;
  --bg-2: #15152400;
  --panel: rgba(28, 29, 51, 0.5);
  --panel-solid: #1b1c30;
  --edge: rgba(255, 255, 255, 0.09);
  --edge-2: #2a2b45;
  --ink: #ffffff;
  --soft: #b8b8c8;
  --mute: #767690;
  --green: #aede57;
  --blue: #61b5fe;
  --yellow: #fdbd37;
  --red: #fa514e;
  --maxw: 1120px;
  --r: 18px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--soft);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }

[hidden] { display: none !important; }

::selection { background: var(--yellow); color: #121220; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

section { padding: 104px 0; position: relative; }

.grad-text {
  background: linear-gradient(100deg, var(--yellow), #ffd97a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.k {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--edge);
  border-radius: 999px; padding: 8px 18px; margin-bottom: 26px;
}
.k i { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); font-style: normal; flex: 0 0 auto; }
.k.k-green i { background: var(--green); animation: breathe 2.8s ease-in-out infinite; }
.k.k-blue i { background: var(--blue); }
.k.k-red i { background: var(--red); }
@keyframes breathe { 50% { opacity: 0.35; } }

.section-title { font-size: clamp(30px, 4.2vw, 48px); margin-bottom: 18px; }
.section-lede { font-size: 18.5px; max-width: 640px; color: var(--soft); }
.center { text-align: center; }
.center .section-lede { margin-left: auto; margin-right: auto; }
.dim { color: var(--mute); }

/* ---------------- aurora ---------------- */
.aurora {
  position: absolute; inset: -22% -12% auto; height: 130%;
  pointer-events: none; overflow: hidden;
  filter: blur(72px) saturate(1.1);
  opacity: 0.5;
}
.aurora i { position: absolute; border-radius: 50%; display: block; }
.aurora .a1 { width: 55vw; height: 34vw; left: -8%; top: 6%; background: radial-gradient(closest-side, rgba(97, 181, 254, 0.55), transparent); animation: drift1 26s ease-in-out infinite alternate; }
.aurora .a2 { width: 48vw; height: 30vw; right: -6%; top: 2%; background: radial-gradient(closest-side, rgba(253, 189, 55, 0.42), transparent); animation: drift2 30s ease-in-out infinite alternate; }
.aurora .a3 { width: 40vw; height: 26vw; left: 28%; top: 26%; background: radial-gradient(closest-side, rgba(250, 81, 78, 0.30), transparent); animation: drift3 34s ease-in-out infinite alternate; }
.aurora .a4 { width: 36vw; height: 24vw; right: 16%; top: 34%; background: radial-gradient(closest-side, rgba(174, 222, 87, 0.30), transparent); animation: drift1 38s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(6vw, 4vw) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-5vw, 5vw) scale(0.94); } }
@keyframes drift3 { to { transform: translate(4vw, -3vw) scale(1.08); } }

.aurora-soft { opacity: 0.24; }

/* ---------------- nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 18, 32, 0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--edge);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 29px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--soft); font-size: 14.5px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 16px;
  cursor: pointer; border: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--yellow); color: #121220; }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(253, 189, 55, 0.38); }
.btn-glass { color: var(--ink); border: 1px solid var(--edge-2); background: rgba(255, 255, 255, 0.03); }
.btn-glass:hover { border-color: var(--mute); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn .arr { transition: transform 0.18s; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: 116px 0 96px; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(640px 360px at 50% 0%, rgba(97, 181, 254, 0.06), transparent 65%); }
.hero > .wrap { position: relative; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); max-width: 900px; margin: 0 auto 26px; }
.hero-sub { font-size: 19.5px; max-width: 620px; margin: 0 auto 38px; }
.hero-ctas { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--mute); }

.engine-row {
  display: flex; gap: 10px 26px; flex-wrap: wrap; justify-content: center;
  margin-top: 46px; font-size: 13.5px; color: var(--mute);
}
.engine-row span { display: inline-flex; align-items: center; gap: 8px; }
.engine-row i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }

/* hero score panel */
.score-panel {
  position: relative; max-width: 780px; margin: 78px auto 0;
  background: var(--panel);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--edge); border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  padding: 36px 40px;
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
  text-align: left;
}
.score-ring { position: relative; width: 136px; height: 136px; flex: 0 0 auto; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .track { stroke: rgba(255, 255, 255, 0.09); }
.score-ring .val { stroke: url(#scoregrad); stroke-linecap: round; transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1); }
.score-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score-num b { font-size: 38px; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.score-num span { font-size: 10.5px; color: var(--mute); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; }
.pillar-bars { display: grid; gap: 14px; }
.pbar { font-size: 12.5px; font-weight: 600; }
.pbar .row { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--soft); }
.pbar .track { height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 4px; overflow: hidden; }
.pbar .fill { height: 100%; border-radius: 4px; width: 0; transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.panel-caption { max-width: 780px; margin: 16px auto 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--mute); }
.panel-caption a { color: var(--soft); font-weight: 600; }
.panel-caption a:hover { color: var(--ink); }

/* ---------------- shift ---------------- */
.shift-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.gcard {
  position: relative; overflow: hidden;
  background: var(--panel);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--edge); border-radius: var(--r);
  padding: 30px 26px;
  transition: transform 0.22s ease, border-color 0.22s ease;
  text-align: left;
}
.gcard:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.2); }
.gcard .ghost {
  position: absolute; top: -24px; right: -4px;
  font-size: 112px; font-weight: 800; letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.035); line-height: 1; pointer-events: none;
}
.gcard h3 { font-size: 20px; margin-bottom: 11px; position: relative; letter-spacing: -0.02em; }
.gcard p { font-size: 15px; color: var(--mute); position: relative; }
.gcard .tick { display: inline-block; width: 32px; height: 3px; border-radius: 2px; margin-bottom: 20px; }

/* ---------------- chat moment ---------------- */
.moment-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.chat-card {
  position: relative;
  background: var(--panel);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--edge); border-radius: 22px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  max-width: 500px;
}
.chat-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--edge);
  font-size: 12.5px; color: var(--mute); font-weight: 600;
}
.chat-head .dots { display: flex; gap: 6px; margin-right: 6px; }
.chat-head .dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.chat-body { padding: 22px 20px 20px; display: grid; gap: 14px; min-height: 296px; align-content: start; text-align: left; }
.msg { max-width: 88%; border-radius: 16px; padding: 12px 16px; font-size: 14.5px; line-height: 1.55; }
.msg.user {
  justify-self: end;
  background: rgba(255, 255, 255, 0.09);
  color: var(--ink);
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.msg.user .caret { display: inline-block; width: 2px; height: 1em; background: var(--yellow); vertical-align: text-bottom; animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.msg.ai {
  justify-self: start;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--edge);
  border-bottom-left-radius: 4px;
  color: var(--soft);
}
.msg.ai b { color: var(--ink); }
.ai-tag { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.ai-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.typing-dots { display: inline-flex; gap: 5px; padding: 4px 2px; }
.typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: tdot 1.1s ease-in-out infinite; }
.typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.typing-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.cite-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-size: 12px; font-weight: 600; color: var(--green);
  background: rgba(174, 222, 87, 0.08);
  border: 1px solid rgba(174, 222, 87, 0.28);
  border-radius: 999px; padding: 4px 13px;
}
.chat-note {
  display: flex; align-items: center; gap: 9px;
  border-top: 1px dashed var(--edge-2);
  margin-top: 4px; padding-top: 15px;
  font-size: 13px; font-weight: 600; color: var(--yellow);
}

/* ---------------- pillars ---------------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.pillar {
  --sc: var(--yellow);
  background: var(--panel);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--edge); border-radius: var(--r);
  padding: 28px 24px; text-align: left;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.pillar:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--sc) 40%, var(--edge-2)); box-shadow: 0 0 50px -20px var(--sc); }
.pillar .swatch {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-content: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--sc) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--sc) 38%, transparent);
}
.pillar .swatch i { width: 10px; height: 10px; border-radius: 50%; background: var(--sc); }
.pillar b.tag { font-size: 12px; letter-spacing: 0.14em; color: var(--sc); display: block; margin-bottom: 9px; }
.pillar h3 { font-size: 18px; margin-bottom: 9px; letter-spacing: -0.02em; }
.pillar p { font-size: 14px; color: var(--mute); }
.p-red { --sc: var(--red); }
.p-green { --sc: var(--green); }
.p-blue { --sc: var(--blue); }
.p-yellow { --sc: var(--yellow); }

/* ---------------- fix stack ---------------- */
.fix-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fix-stack { display: grid; gap: 13px; }
.fix-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--panel);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--edge); border-radius: 15px; padding: 17px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  text-align: left;
}
.fix-card:hover { transform: translateX(4px); border-color: rgba(255, 255, 255, 0.2); }
.fix-card .box { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 8px; border: 2px solid var(--mute); }
.fix-card.done .box { border-color: var(--green); background: var(--green); position: relative; }
.fix-card.done .box::after { content: "✓"; position: absolute; inset: 0; display: grid; place-content: center; font-size: 13px; font-weight: 800; color: #121220; }
.fix-card.done .t { text-decoration: line-through; color: var(--mute); }
.fix-card .t { flex: 1; font-size: 15px; font-weight: 500; color: var(--ink); }
.fix-card .gain { flex: 0 0 auto; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.gain-g { color: var(--green); background: rgba(174, 222, 87, 0.1); border: 1px solid rgba(174, 222, 87, 0.3); }
.gain-b { color: var(--blue); background: rgba(97, 181, 254, 0.1); border: 1px solid rgba(97, 181, 254, 0.3); }
.gain-y { color: var(--yellow); background: rgba(253, 189, 55, 0.1); border: 1px solid rgba(253, 189, 55, 0.3); }
.report-checks { list-style: none; display: grid; gap: 12px; margin-top: 30px; text-align: left; }
.report-checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--soft); }
.report-checks .ic {
  flex: 0 0 auto; width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-content: center; font-size: 11px; font-weight: 800; color: #121220; margin-top: 2px;
}
.ic.ok { background: var(--green); }
.ic.warn { background: var(--yellow); }
.ic.bad { background: var(--red); color: #fff; }

/* ---------------- terminal ---------------- */
.scan-inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: start; }
.term {
  background: rgba(11, 11, 20, 0.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--edge); border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  font-family: "SF Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.85;
  position: sticky; top: 100px;
  text-align: left;
}
.term-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--edge);
  font-size: 12px; color: var(--mute); font-family: "Inter", sans-serif; font-weight: 600;
}
.term-head .dots { display: flex; gap: 6px; margin-right: 6px; }
.term-head .dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.term-body { padding: 20px 22px 24px; min-height: 290px; }
.term-body .ln { opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s; white-space: pre-wrap; word-break: break-word; }
.term-body .ln.show { opacity: 1; transform: none; }
.term-body .p { color: var(--mute); }
.term-body .c-ok { color: var(--green); }
.term-body .c-warn { color: var(--yellow); }
.term-body .c-bad { color: var(--red); }
.term-body .c-info { color: var(--blue); }
.term-body .c-dim { color: var(--mute); }
.term-body .c-w { color: #eef0f6; }

.checks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.check-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 16px;
  background: var(--panel);
  border: 1px solid var(--edge); border-radius: 13px;
  font-size: 13.5px; color: var(--soft); text-align: left;
}
.check-item i { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; margin-top: 8px; font-style: normal; }
.check-item b { color: var(--ink); font-weight: 600; }

/* ---------------- timeline ---------------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 66px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 22px; left: 6%; right: 6%; height: 1.5px;
  background: linear-gradient(90deg, var(--red), var(--green), var(--blue), var(--yellow));
  opacity: 0.3;
}
.tstep { position: relative; text-align: left; }
.tstep .node {
  position: relative; z-index: 1;
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-content: center;
  font-weight: 800; font-size: 17px; color: #121220;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.tstep h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: -0.02em; }
.tstep p { font-size: 14.5px; color: var(--mute); }

/* ---------------- agencies ---------------- */
.agency-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.agency-list { list-style: none; display: grid; gap: 19px; margin-top: 30px; text-align: left; }
.agency-list li { display: flex; gap: 15px; align-items: flex-start; }
.agency-list .ic {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-content: center; margin-top: 2px;
  background: color-mix(in srgb, var(--ac) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--ac) 38%, transparent);
}
.agency-list .ic i { width: 9px; height: 9px; border-radius: 50%; background: var(--ac); display: block; }
.agency-list b { color: var(--ink); display: block; margin-bottom: 3px; font-weight: 600; }
.agency-list p { font-size: 14.5px; color: var(--mute); }

.wl-dash {
  --brand: var(--yellow);
  background: var(--panel);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--edge); border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  text-align: left;
}
.wl-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; border-bottom: 1px solid var(--edge);
  font-size: 12.5px; color: var(--mute);
}
.wl-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); font-size: 13.5px; }
.wl-brand .bdot { width: 15px; height: 15px; border-radius: 5px; background: var(--brand); transition: background 0.3s; }
.wl-rows { padding: 16px; display: grid; gap: 10px; }
.wl-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--edge); border-radius: 13px; font-size: 13.5px;
}
.wl-row b { color: var(--ink); font-weight: 600; flex: 1; }
.wl-spark { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.wl-spark i { width: 5px; border-radius: 2px; background: var(--brand); opacity: 0.85; transition: background 0.3s; }
.wl-score { font-weight: 800; font-size: 14.5px; color: var(--brand); min-width: 32px; text-align: right; transition: color 0.3s; }
.wl-foot { padding: 13px 18px; border-top: 1px solid var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wl-foot span { font-size: 12px; color: var(--mute); }
.wl-swatches { display: flex; gap: 8px; }
.wl-swatches button {
  width: 25px; height: 25px; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; transition: transform 0.15s, border-color 0.15s;
}
.wl-swatches button:hover { transform: scale(1.12); }
.wl-swatches button.on { border-color: #fff; }

/* ---------------- signup ---------------- */
.signup-box {
  position: relative; max-width: 820px; margin: 0 auto;
  background: var(--panel);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--edge); border-radius: 26px;
  padding: 62px 48px; text-align: center; overflow: hidden;
}
.signup-box::before {
  content: ""; position: absolute; inset: -40%; pointer-events: none;
  filter: blur(60px); opacity: 0.32;
  background:
    radial-gradient(30% 40% at 22% 28%, rgba(97, 181, 254, 0.5), transparent),
    radial-gradient(30% 40% at 78% 72%, rgba(253, 189, 55, 0.45), transparent);
}
.signup-box > * { position: relative; }
.signup-form { max-width: 560px; margin: 36px auto 0; display: grid; gap: 14px; }
.signup-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.signup-form input[type="email"], .signup-form input[type="url"], .signup-form input[type="text"] {
  width: 100%; padding: 15px 20px; border-radius: 999px;
  background: rgba(18, 18, 32, 0.75);
  border: 1px solid var(--edge-2); color: var(--ink);
  font-family: inherit; font-size: 15.5px;
  transition: border-color 0.15s;
}
.signup-form input:focus { outline: 2px solid var(--yellow); outline-offset: 0; border-color: transparent; }
.signup-form input::placeholder { color: var(--mute); }
.agency-check { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14.5px; color: var(--soft); cursor: pointer; user-select: none; }
.agency-check input { width: 17px; height: 17px; accent-color: var(--yellow); cursor: pointer; }
.form-msg { min-height: 24px; font-size: 15px; font-weight: 600; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--red); }
.perks { display: flex; gap: 12px 26px; flex-wrap: wrap; justify-content: center; margin-top: 26px; font-size: 13.5px; color: var(--mute); }
.perks span { display: inline-flex; gap: 8px; align-items: center; }
.perks i { color: var(--green); font-style: normal; font-weight: 800; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------------- faq ---------------- */
.faq-list { max-width: 780px; margin: 48px auto 0; display: grid; gap: 12px; }
.faq-item {
  background: var(--panel);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--edge); border-radius: 16px;
  transition: border-color 0.2s; text-align: left;
}
.faq-item[open] { border-color: rgba(255, 255, 255, 0.2); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 19px 24px; font-weight: 600; color: var(--ink); font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 23px; color: var(--yellow); font-weight: 300; transition: transform 0.2s; flex: 0 0 auto; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 21px; font-size: 15px; color: var(--soft); }

/* ---------------- footer ---------------- */
footer {
  border-top: 1px solid var(--edge);
  padding: 60px 0 42px;
  position: relative; overflow: hidden;
  background: rgba(14, 14, 25, 0.6);
}
.foot-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 36px; flex-wrap: wrap; position: relative; }
.foot-brand img { height: 28px; width: auto; margin-bottom: 16px; }
.foot-brand p { font-size: 14px; color: var(--mute); max-width: 330px; }
.foot-links { display: flex; gap: 56px; }
.foot-links ul { list-style: none; display: grid; gap: 11px; }
.foot-links h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--mute); margin-bottom: 15px; font-weight: 700; }
.foot-links a { color: var(--soft); font-size: 14px; }
.foot-links a:hover { color: var(--ink); }
.foot-bottom { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--edge); font-size: 13px; color: var(--mute); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; }

/* ---------------- reveal ---------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------------- legal pages ---------------- */
.legal { max-width: 760px; margin: 0 auto; padding: 76px 24px; }
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal .updated { color: var(--mute); font-size: 14px; margin-bottom: 38px; }
.legal h2 { font-size: 21px; margin: 36px 0 12px; letter-spacing: -0.02em; }
.legal p, .legal li { font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

/* ---------------- responsive ---------------- */
@media (max-width: 1000px) {
  .moment-inner, .fix-inner, .scan-inner, .agency-inner { grid-template-columns: 1fr; gap: 50px; }
  .chat-card { margin: 0 auto; }
  .term { position: static; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .timeline::before { display: none; }
  .shift-cards { grid-template-columns: 1fr; }
  .score-panel { grid-template-columns: 1fr; text-align: center; }
  .score-ring { margin: 0 auto; }
}
@media (max-width: 720px) {
  section { padding: 72px 0; }
  .hero { padding: 76px 0 64px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #15152a; border-bottom: 1px solid var(--edge-2);
    flex-direction: column; align-items: flex-start; padding: 22px 24px; gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .signup-box { padding: 44px 22px; }
  .signup-form .row2 { grid-template-columns: 1fr; }
  .checks-grid { grid-template-columns: 1fr; }
  .foot-links { gap: 36px; }
  .aurora { filter: blur(52px); }
}
@media (max-width: 560px) {
  .pillars, .timeline { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .pbar .fill, .score-ring .val { opacity: 1; transform: none; transition: none; }
  .aurora i, .typing-dots i, .msg.user .caret, .k.k-green i { animation: none; }
  .btn, .pillar, .gcard, .fix-card { transition: none; }
}
