@font-face {
  font-family: "Novecento Sans Narrow Medium";
  src: url("./fonts/Novecento-NarrowMedium.woff2") format("woff2"),
       url("./fonts/Novecento-NarrowMedium.woff") format("woff"),
       url("./fonts/Novecento-NarrowMedium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Novecento Sans Wide DemiBold";
  src: url("./fonts/Novecento-WideDemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Novecento Sans Wide Normal";
  src: url("./fonts/Novecento-WideNormal.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-deep: #ffffff;
  --bg: #fbfcff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #07112f;
  --muted: #52607a;
  --subtle: #64708a;
  --accent: #9147ff;
  --accent-bright: #a263ff;
  --mint: #047857;
  --blue: #9147ff;
  --border: rgba(8, 24, 58, 0.11);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --grid-scroll-fade: 1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  zoom: 0.98;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(7, 87, 255, 0.055) 0%, rgba(251, 252, 255, 0) 42%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 52%, #ffffff 100%);
  color: var(--text);
  font-family: Sora, ui-sans-serif, system-ui, sans-serif;
}

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

button,
input {
  font: inherit;
}

.ambient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(135px);
  opacity: 0.18;
  animation: float 10s ease-in-out infinite;
}

.blob-a {
  width: 980px;
  height: 520px;
  left: 18%;
  top: -220px;
  background: rgba(145, 71, 255, 0.18);
}

.blob-b {
  width: 680px;
  height: 680px;
  left: -280px;
  top: 24%;
  background: rgba(145, 71, 255, 0.12);
  animation-delay: -3s;
}

.blob-c {
  width: 560px;
  height: 560px;
  right: -170px;
  top: 42%;
  background: rgba(162, 99, 255, 0.1);
  animation-delay: -6s;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 24, 58, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 24, 58, 0.12) 1px, transparent 1px);
  background-size: 59px 59px;
  background-position: calc(50% + 29.5px) top;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.75) 18%,
    rgba(0, 0, 0, 0.38) 48%,
    rgba(0, 0, 0, 0.12) 70%,
    transparent 88%
  );
  opacity: calc(0.65 * var(--grid-scroll-fade));
}

.noise {
  position: absolute;
  inset: 0;
  opacity: calc(0.16 * var(--grid-scroll-fade));
  background-image: radial-gradient(circle at 1px 1px, rgba(7, 17, 47, 0.14) 1px, transparent 0);
  background-size: 13px 13px;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 22%,
    rgba(0, 0, 0, 0.22) 55%,
    transparent 86%
  );
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 10px 10px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 255, 0.86)),
    rgba(255, 255, 255, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 54px rgba(17, 36, 82, 0.1);
  backdrop-filter: blur(22px);
}

.brand,
.nav,
.hero-actions,
.trust-strip,
.hero-notes,
.status-row,
.artifact-card,
.chip-row,
.access-form {
  display: flex;
  align-items: center;
}

.brand {
  gap: 8px;
  padding-left: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}

.brand svg {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  fill: var(--accent);
}

.brand span {
  display: inline-block;
}

.nav {
  gap: 2px;
  padding: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 11px;
  color: var(--subtle);
  font-family: "Novecento Sans Narrow Medium", "Novecento Sans Narrow", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 14px;
  font-weight: 500;
  transition: background 450ms var(--ease), color 450ms var(--ease);
}

.icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav a:hover,
.nav a.hover-active {
  background: rgba(145, 71, 255, 0.06);
  color: var(--accent);
  transition: background 150ms var(--ease), color 150ms var(--ease);
}

.nav .nav-cta {
  color: white;
  margin-left: 6px;
  background:
    linear-gradient(180deg, rgba(61, 124, 255, 1), rgba(7, 87, 255, 1)),
    var(--accent);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.3),
    0 10px 22px rgba(7, 87, 255, 0.22);
}

.menu-toggle {
  display: none;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 118px 0;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: auto;
  padding-top: 120px;
  padding-bottom: 72px;
  text-align: center;
}

.hero-copy {
  width: min(1024px, 100%);
  margin-inline: auto;
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(94, 106, 210, 0.34);
  border-radius: 999px;
  color: #0647c9;
  background: rgba(7, 87, 255, 0.055);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-badge {
  margin-bottom: 32px;
  border-color: rgba(7, 87, 255, 0.22);
  color: #0647c9;
  background: rgba(7, 87, 255, 0.055);
  box-shadow: 0 8px 24px rgba(17, 36, 82, 0.06);
}

.hero-badge span {
  padding: 4px 8px;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  font-family: Sora, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.hero-badge strong {
  font-weight: 600;
}

.hero-badge .icon {
  width: 14px;
  height: 14px;
}

.eyebrow span,
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-bright);
  box-shadow: 0 0 18px rgba(7, 87, 255, 0.32);
  animation: pulse 2s ease-in-out infinite;
}

h1,
h2 {
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h1 {
  max-width: 1024px;
  margin-inline: auto;
  margin-top: 0;
  font-size: clamp(3.45rem, 8vw, 6.35rem);
}

h1 span,
h2 span {
  display: block;
  background: linear-gradient(100deg, #07112f 30%, #252f48 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-kicker {
  margin: 0 0 14px;
  color: #0647c9;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.hero-copy p,
.section-heading p,
.cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-copy p {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 18px;
}

.hero-actions {
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  font-family: "Novecento Sans Wide DemiBold", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  font-weight: 600;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

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

.button:active {
  transform: scale(0.98);
}

.primary {
  color: white;
  background: transparent;
  isolation: isolate;
  transition: transform 220ms var(--ease), box-shadow 300ms ease;
  box-shadow:
    0 0 0 1px rgba(145, 71, 255, 0.42),
    0 13px 28px rgba(145, 71, 255, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.25);
}

.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #9147ff, #a263ff);
  z-index: -1;
  opacity: 1;
  transition: opacity 300ms ease;
  border-radius: inherit;
}

.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  z-index: -2;
  border-radius: inherit;
}

.primary.button-success::before {
  opacity: 0;
}

.button-success {
  color: white;
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.34),
    0 13px 28px rgba(34, 197, 94, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.2);
}

.btn-text {
  position: relative;
  z-index: 2;
  transition: opacity 300ms ease;
}

.btn-text-normal {
  opacity: 1;
}

.btn-text-success {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.button-success .btn-text-normal {
  opacity: 0;
}

.button-success .btn-text-success {
  opacity: 1;
}

.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(8, 24, 58, 0.13), 0 8px 18px rgba(17, 36, 82, 0.06);
}

.trust-strip {
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-notes {
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: #52607a;
  font-size: 13px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  width: min(980px, 100%);
  margin: 32px auto 0;
  color: #52607a;
  font-size: 14px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hero-trust .icon {
  color: var(--accent);
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-notes .icon {
  color: var(--accent);
}

.trust-strip span,
.chip-row span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--subtle);
  background: rgba(255, 255, 255, 0.72);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.hero-console {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(10, 10, 12, 0.82);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 28px 80px rgba(0, 0, 0, 0.52),
    0 0 70px rgba(94, 106, 210, 0.13);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
}

.console-panel {
  position: relative;
  padding: 28px;
  min-height: 450px;
}

.scan-orbit {
  position: absolute;
  right: -140px;
  top: 70px;
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(120, 168, 255, 0.28);
  border-radius: 50%;
  animation: rotate 36s linear infinite;
}

.status-row {
  gap: 12px;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid rgba(94, 106, 210, 0.22);
  border-radius: 14px;
  background: rgba(94, 106, 210, 0.08);
}

.status-row strong {
  margin-right: auto;
}

.status-row em {
  color: var(--mint);
  font-style: normal;
  font-size: 12px;
}

.artifact-card {
  gap: 14px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.file-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #12162d, rgba(94, 106, 210, 0.75));
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.artifact-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.agent-stack {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.agent-stack div {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.agent-stack b {
  color: #0647c9;
}

.risk-map {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 118px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.risk-map span {
  flex: 1;
  height: var(--h);
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(to top, rgba(94, 106, 210, 0.38), var(--accent-bright));
  box-shadow: 0 0 25px rgba(94, 106, 210, 0.25);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--border);
}

.metrics div {
  min-height: 170px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.88);
}

.metrics strong {
  display: block;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.metrics span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 42px;
}

.section-heading-centered {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

h2 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 5.3vw, 5.1rem);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(210px, auto);
  gap: 20px;
}

.cta {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.86));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 16px 42px rgba(17, 36, 82, 0.08);
}

.card {
  position: relative;
  grid-column: span 4;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.9));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 18px 44px rgba(17, 36, 82, 0.08);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}

.card.large {
  grid-column: span 8;
}

.card.wide {
  grid-column: span 8;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), rgba(145, 71, 255, 0.18), transparent 42%);
  opacity: 0;
  transition: opacity 1100ms var(--ease);
}

.spotlight:hover {
  transform: translateY(-5px);
  border-color: rgba(145, 71, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(145, 71, 255, 0.08),
    0 22px 60px rgba(17, 36, 82, 0.12),
    0 0 58px rgba(145, 71, 255, 0.08);
}

.spotlight:hover::before {
  opacity: 1;
}

.card > * {
  position: relative;
}

.agent-label {
  color: #31519a;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

h3 {
  margin: 14px 0 10px;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.card p {
  color: var(--muted);
  line-height: 1.68;
}

.card.large h3 {
  max-width: 560px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.artifact-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--border);
}

.artifact-readout span {
  padding: 13px 12px;
  color: #31519a;
  background: rgba(255, 255, 255, 0.9);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.chip-row {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 30px;
}

#agents,
.workflow {
  border-top: 1px solid var(--border);
}

.subpage-hero {
  min-height: auto;
  padding-top: 120px;
  padding-bottom: 72px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  position: relative;
  padding-top: 24px;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border);
  transition: all 260ms var(--ease);
}

.step:hover::before {
  background: var(--accent);
  box-shadow:
    0 0 0 1px rgba(145, 71, 255, 0.12),
    0 0 14px rgba(145, 71, 255, 0.6),
    0 0 28px rgba(145, 71, 255, 0.3);
}

.step b {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.pricing-section {
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.9));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 18px 44px rgba(17, 36, 82, 0.08);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}

.pricing-card h3 {
  margin: 0;
  font-size: 29px;
}

.pricing-card > * {
  position: relative;
}

.pricing-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 28px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
}

.pricing-amount span {
  color: var(--subtle);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.pricing-button {
  width: 100%;
  margin-top: 24px;
}

.pricing-button[disabled] {
  cursor: not-allowed;
  background: rgba(8, 24, 58, 0.04);
  color: var(--subtle);
  box-shadow: none;
  opacity: 0.55;
  transform: none;
}

.pricing-button[disabled]:hover,
.pricing-button[disabled]:active {
  transform: none;
}

.pricing-features {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.check-dot {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(145, 71, 255, 0.14);
  background:
    radial-gradient(circle at center, rgba(145, 71, 255, 0.95) 0 3px, transparent 3.5px),
    rgba(145, 71, 255, 0.06);
}

.cta {
  position: relative;
  padding: 110px 64px;
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: auto 10% -45% 10%;
  height: 280px;
  border-radius: 50%;
  background: rgba(145, 71, 255, 0.1);
  filter: blur(80px);
}

.cta > * {
  position: relative;
}

.cta-inner {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  width: min(760px, 100%);
  margin-inline: auto;
  row-gap: 0;
}

.cta h2 {
  width: 100%;
  max-width: 760px;
  margin-top: 0;
  margin-inline: auto;
  white-space: nowrap;
  text-wrap: nowrap;
}

.cta p {
  width: 100%;
  max-width: 620px;
  margin: 22px auto 0;
}

.access-form {
  display: grid;
  grid-template-columns: minmax(260px, 390px) 156px;
  justify-content: center;
  justify-items: stretch;
  gap: 12px;
  margin-top: 30px;
  margin-inline: auto;
  width: min(558px, 100%);
  justify-self: center;
}

.access-form input {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(8, 24, 58, 0.14);
  border-radius: 10px;
  outline: none;
  padding: 0 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
}

.access-form input:focus {
  border-color: rgba(7, 87, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(7, 87, 255, 0.13);
}

.footer {
  display: block;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 36px;
  color: var(--muted);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.45fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.footer-logo span {
  display: inline-block;
}

.footer-logo-icon {
  display: block;
  width: 34px;
  height: 34px;
  fill: var(--accent);
}

.footer-brand p {
  max-width: 390px;
  margin: 0;
  line-height: 1.7;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #31519a;
  background: rgba(255, 255, 255, 0.72);
  transition: 180ms var(--ease);
}

.social-links a:hover {
  color: var(--accent);
  border-color: rgba(7, 87, 255, 0.24);
  background: rgba(7, 87, 255, 0.055);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 14px;
  letter-spacing: -0.02em;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  transition: color 160ms var(--ease);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--subtle);
  font-size: 14px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

body.enhanced .reveal {
  opacity: 0;
  transform: translateY(22px);
}

body.enhanced .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-24px) rotate(1deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.65;
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

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

@media (max-width: 920px) {
  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.74);
  }

  .menu-toggle span {
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
  }

  .nav.open {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .metrics,
  .timeline,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .card,
  .card.large,
  .card.wide,
  .pricing-card {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 82px 0;
  }

  .site-header {
    width: min(100% - 22px, 1180px);
  }

  .hero {
    padding-top: 48px;
  }

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

  h1 {
    font-size: 3rem;
  }

  .metrics,
  .timeline,
  .bento,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .card.large,
  .card.wide,
  .pricing-card {
    grid-column: span 1;
  }

  .access-form,
  .hero-actions {
    align-items: stretch;
  }

  .access-form {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .cta {
    padding: 28px;
  }

  .cta h2 {
    white-space: normal;
    text-wrap: balance;
  }

  .artifact-readout {
    grid-template-columns: 1fr;
  }

  .hero-trust {
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }

  .hero-trust span {
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 820px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* 404 Page Styles */
.error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 350px);
  padding: 100px 0;
  text-align: center;
}

.error-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  width: 100%;
  padding: 0 16px;
}

.error-display-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.error-digit {
  font-family: "Sora", sans-serif;
  font-size: clamp(6.5rem, 16vw, 12rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.04em;
}

.error-character {
  width: clamp(100px, 20vw, 160px);
  height: clamp(100px, 20vw, 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float-error 4s ease-in-out infinite;
}

.error-character svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 12px 28px rgba(145, 71, 255, 0.16));
}

@keyframes float-error {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.error-content h2 {
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 14px 0;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.error-content p {
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.65;
  max-width: 480px;
  margin: 0;
  text-wrap: pretty;
}

.error-content p a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: border-color 150ms var(--ease), color 150ms var(--ease);
}

.error-content p a:hover {
  color: var(--accent);
  border-color: rgba(145, 71, 255, 0.42);
}

/* Prose Page Styles (Terms of Service, Privacy Policy, etc.) */
.prose-section {
  padding: 120px 0 100px;
  width: 100%;
}

.prose-container {
  max-width: 780px;
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
}

.prose-container h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px 0;
  letter-spacing: -0.04em;
  text-align: left;
}

.last-updated {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--subtle);
  margin: 0 0 54px 0;
}

.prose-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.prose-content p {
  margin: 0 0 28px 0;
}

.prose-content h2 {
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 48px 0 16px 0;
  letter-spacing: -0.02em;
}

.prose-content ul {
  margin: 0 0 28px 0;
  padding-left: 24px;
}

.prose-content li {
  margin-bottom: 12px;
}

.prose-content li strong {
  color: var(--text);
}

.prose-content a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 150ms var(--ease);
}

.prose-content a:hover {
  opacity: 0.85;
}
