:root {
  color-scheme: dark;
  --bg: #070b12;
  --bg-2: #0b1220;
  --surface: rgba(13, 20, 32, 0.88);
  --surface-strong: #0d1420;
  --line: rgba(244, 247, 250, 0.14);
  --text: #f2f6fb;
  --muted: #aeb9c8;
  --dim: #7b8798;
  --cyan: #4ea3ff;
  --red: #c87533;
  --amber: #d6a04f;
  --green: #69b7ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(78, 163, 255, 0.09), transparent 28%),
    linear-gradient(240deg, rgba(200, 117, 51, 0.09), transparent 30%),
    radial-gradient(circle at 50% -10%, rgba(214, 160, 79, 0.1), transparent 26%),
    var(--bg);
  color: var(--text);
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--amber);
  color: #111;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(9, 10, 13, 0.82);
  border-color: var(--line);
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.nav-links,
.cred-strip,
.dash-top,
.output-top {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(214, 160, 79, 0.1);
  color: var(--text);
  border: 1px solid rgba(214, 160, 79, 0.78);
  box-shadow: inset 0 0 0 1px rgba(78, 163, 255, 0.2);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a,
.site-footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--cyan);
}

/* ── Mobile hamburger ───────────────────────────────── */

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: border-color 180ms ease;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 260ms ease, opacity 260ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  background: rgba(9, 12, 18, 0.97);
  backdrop-filter: blur(24px);
  z-index: 9;
  padding: 32px 24px;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  animation: menuSlide 220ms ease forwards;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  background: transparent;
}

.mobile-backdrop.is-open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-size: 1.32rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease;
}

.mobile-menu a:last-child {
  border-bottom: none;
  margin-top: 24px;
  color: var(--cyan);
  font-weight: 900;
}

.mobile-menu a:hover {
  color: var(--text);
}

@keyframes menuSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-cta {
  border: 1px solid rgba(0, 229, 255, 0.42);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  color: var(--cyan);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: rgba(0, 229, 255, 0.08);
}

.hero,
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px;
}

.hero {
  min-height: calc(100vh - 132px);
  display: grid;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 900;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 6.5vw, 5.45rem);
  line-height: 0.91;
  max-width: 10.8ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.96;
}

h3 {
  font-size: 1.16rem;
  line-height: 1.12;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lede {
  font-size: 1.08rem;
  max-width: 670px;
  margin: 22px 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.button {
  border: 1px solid var(--line);
  min-height: 46px;
  padding: 0.82rem 1rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
  background: transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--cyan);
  color: #061014;
  border-color: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.18);
}

.button.primary:hover {
  box-shadow: 0 0 42px rgba(0, 229, 255, 0.32);
}

.button.ghost:hover {
  border-color: var(--red);
  background: rgba(255, 53, 94, 0.08);
}

.button.full {
  width: 100%;
}

.cred-strip {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.cred-strip span {
  border: 1px solid rgba(214, 160, 79, 0.32);
  color: var(--muted);
  padding: 0.46rem 0.7rem;
  border-radius: var(--radius);
  background: rgba(214, 160, 79, 0.06);
  font-size: 0.84rem;
  transition: border-color 180ms ease, color 180ms ease;
}

.cred-strip span:hover {
  border-color: rgba(214, 160, 79, 0.64);
  color: var(--text);
}

.dashboard-card,
.interest-panel,
.builder-shell,
.request-form {
  background: linear-gradient(180deg, rgba(18, 21, 28, 0.94), rgba(11, 13, 18, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dashboard-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  transform: perspective(900px) rotateY(-7deg) rotateX(4deg);
  transition: transform 260ms ease;
}

.dashboard-card:hover {
  transform: perspective(900px) rotateY(-3deg) rotateX(2deg) translateY(-4px);
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(78, 163, 255, 0.12), transparent);
  transform: translateX(-110%);
  animation: scan 5s ease-in-out infinite;
}

.dash-top,
.output-top {
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
  flex: 0 0 auto;
}

.dash-grid {
  display: grid;
  gap: 12px;
}

.dash-panel {
  border: 1px solid var(--line);
  border-left: 3px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.dash-panel:hover,
.dash-panel.active {
  transform: translateX(4px);
  border-color: rgba(78, 163, 255, 0.5);
  border-left-color: var(--cyan);
  background: rgba(78, 163, 255, 0.06);
}

.panel-label {
  display: block;
  color: var(--amber);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 8px;
}

.dash-panel p {
  margin: 6px 0 14px;
}

.meter {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.meter span {
  display: block;
  width: var(--fill);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

.race-line {
  display: grid;
  grid-template-columns: 1fr 0.55fr 1.4fr 0.75fr;
  gap: 8px;
  margin-top: 18px;
}

.race-line span {
  height: 3px;
  background: var(--amber);
  opacity: 0.72;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading p {
  font-size: 1rem;
}

.intro-grid,
.outcome-grid,
.safety-grid,
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.intro-grid > div,
.outcome-grid > div,
.safety-grid > div,
.how-grid > div,
.agent-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  padding: 20px;
}

.intro-grid > div {
  border-left: 3px solid rgba(78, 163, 255, 0.42);
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.intro-grid > div:nth-child(2) {
  border-left-color: rgba(214, 160, 79, 0.42);
}

.intro-grid > div:nth-child(3) {
  border-left-color: rgba(105, 183, 255, 0.42);
}

.intro-grid > div:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.18);
}

.intro-grid h3 {
  margin-bottom: 10px;
}

.intro-grid p {
  margin: 0;
}

.outcome-section {
  padding-top: 32px;
}

.outcome-grid > div {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  background: linear-gradient(180deg, rgba(78, 163, 255, 0.055), rgba(214, 160, 79, 0.04));
}

.outcome-grid > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  transform-origin: left;
  animation: progressRail 5.5s ease-in-out infinite;
}

.outcome-grid p {
  margin: 8px 0 18px;
}

.outcome-grid strong {
  display: block;
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.05rem;
}

.outcome-label {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter {
  min-height: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  border-radius: var(--radius);
  padding: 0 0.82rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter:hover,
.filter.active {
  color: #061014;
  background: var(--cyan);
  border-color: var(--cyan);
}

.agent-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.agent-card {
  position: relative;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease;
  border-left: 3px solid var(--accent, var(--cyan));
}

.agent-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 100%, color-mix(in srgb, var(--accent, var(--cyan)) 12%, transparent), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms ease;
}

.agent-card:hover::before {
  opacity: 1;
}

.agent-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent, var(--cyan)) 58%, white);
  background: rgba(255, 255, 255, 0.055);
}

.agent-card .eyebrow {
  color: var(--accent, var(--cyan));
  margin-bottom: 8px;
}

.agent-card p {
  margin: 12px 0 18px;
}

.agent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.agent-meta span,
.module-output span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.34rem 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.agent-card button {
  align-self: flex-start;
}

.agent-card:has([aria-pressed="true"]) {
  border-color: color-mix(in srgb, var(--accent, var(--cyan)) 68%, white);
  background: linear-gradient(180deg, rgba(78, 163, 255, 0.08), rgba(214, 160, 79, 0.05));
}

.agent-card [aria-pressed="true"] {
  border-color: rgba(214, 160, 79, 0.76);
  color: #ffd780;
  background: rgba(214, 160, 79, 0.1);
}

.interest-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
  border-color: rgba(214, 160, 79, 0.78);
  box-shadow:
    0 0 0 1px rgba(214, 160, 79, 0.22),
    0 24px 80px rgba(0, 0, 0, 0.42),
    0 0 54px rgba(214, 160, 79, 0.14);
}

.interest-panel::before {
  content: "Priority step";
  display: inline-flex;
  margin-bottom: 14px;
  border: 1px solid rgba(214, 160, 79, 0.6);
  border-radius: var(--radius);
  padding: 0.34rem 0.48rem;
  color: #ffd780;
  background: rgba(214, 160, 79, 0.1);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-header p {
  margin-bottom: 20px;
}

form {
  display: grid;
  gap: 14px;
}

label,
fieldset {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
  font-size: 0.92rem;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(5, 6, 8, 0.86);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  min-height: 44px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--dim);
}

input[type="range"] {
  accent-color: var(--cyan);
  padding: 0;
}

.checkbox {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.checkbox input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--cyan);
}

.form-note,
.submission-state {
  font-size: 0.84rem;
  margin: 0;
}

.selected-agents {
  min-height: 52px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 1px dashed rgba(214, 160, 79, 0.5);
  border-radius: var(--radius);
  background: rgba(214, 160, 79, 0.06);
  padding: 0.72rem;
}

.selected-agents span {
  border: 1px solid color-mix(in srgb, var(--accent, var(--amber)) 56%, white);
  border-radius: var(--radius);
  padding: 0.4rem 0.54rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.82rem;
  font-weight: 800;
}

.submission-state {
  color: var(--green);
  min-height: 22px;
}

.builder-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  padding: 18px;
}

.builder-controls,
.builder-output {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.module-grid label {
  grid-template-columns: 18px 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.74rem;
  color: var(--muted);
  font-weight: 700;
}

.module-grid input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--red);
}

.builder-output {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.builder-output h3 {
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1;
  max-width: 12ch;
}

.builder-output p {
  font-size: 1.05rem;
}

.module-output {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 18px;
}

.agent-simulation {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.simulation-stage,
.sim-stats > div,
.sim-card,
.sim-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.simulation-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.simulation-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(214, 160, 79, 0.16), transparent);
  transform: translateX(-120%);
  animation: scan 4.2s ease-in-out infinite;
}

.sim-label,
.sim-card span {
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sim-meter {
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.sim-meter span {
  display: block;
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  border-radius: inherit;
  transition: width 260ms ease;
  box-shadow: 0 0 22px rgba(78, 163, 255, 0.36);
}

.sim-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sim-stats > div {
  position: relative;
  overflow: hidden;
  padding: 12px;
  min-height: 112px;
}

.sim-stats > div::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  transform-origin: left;
  animation: progressRail 4.8s ease-in-out infinite;
}

.sim-stats > div:nth-child(2)::after {
  animation-delay: 0.38s;
}

.sim-stats > div:nth-child(3)::after {
  animation-delay: 0.76s;
}

.sim-stats span {
  display: block;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sim-stats strong {
  display: block;
  margin: 8px 0 2px;
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 0.95;
}

.sim-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.sim-card {
  padding: 16px;
  border-color: rgba(78, 163, 255, 0.34);
}

.sim-card.priority {
  background: linear-gradient(135deg, rgba(78, 163, 255, 0.08), rgba(214, 160, 79, 0.08));
}

.sim-card p {
  margin: 8px 0 0;
}

.sim-timeline {
  display: grid;
  gap: 8px;
}

.sim-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0.78rem;
  color: var(--text);
  font-weight: 800;
  animation: liftPulse 3.6s ease-in-out infinite;
}

.sim-step:nth-child(2) {
  animation-delay: 0.24s;
}

.sim-step:nth-child(3) {
  animation-delay: 0.48s;
}

.sim-step span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #061014;
  background: var(--amber);
  font-size: 0.75rem;
  font-weight: 900;
}

.risk-note {
  border: 1px solid rgba(255, 176, 0, 0.32);
  color: #ffd780;
  background: rgba(255, 176, 0, 0.08);
  border-radius: var(--radius);
  padding: 0.86rem;
  line-height: 1.45;
}

.safety-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.how-grid {
  margin-top: 14px;
}

.safety-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(200, 117, 51, 0.42);
  background: rgba(200, 117, 51, 0.08);
  color: var(--red);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 900;
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.request-form {
  padding: 20px;
  max-width: 760px;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 56px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 620px;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scan {
  0%,
  42% {
    transform: translateX(-120%);
  }
  62%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes liftPulse {
  0%,
  100% {
    border-color: var(--line);
    transform: translateY(0);
  }
  42% {
    border-color: rgba(78, 163, 255, 0.48);
    transform: translateY(-2px);
  }
}

@keyframes progressRail {
  0%,
  100% {
    transform: scaleX(0.38);
    opacity: 0.55;
  }
  48% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .agent-layout,
  .builder-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    transform: none;
  }

  .interest-panel {
    position: static;
  }

  .intro-grid,
  .outcome-grid,
  .safety-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-shell {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    font-size: 0.86rem;
  }

  .hero,
  .section {
    padding: 64px 16px;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 24px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 3.75rem);
    line-height: 0.94;
  }

  .hero-lede {
    font-size: 1rem;
    margin: 18px 0;
  }

  .hero-visual {
    display: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .agent-grid,
  .module-grid,
  .sim-stats {
    grid-template-columns: 1fr;
  }

  input,
  select,
  textarea {
    font-size: 0.9rem;
    padding-inline: 0.74rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 16px;
  }
}
