:root {
  --ink: #0f1115;
  --muted: #606874;
  --line: #d8dde4;
  --soft: #f4f6f8;
  --paper: #ffffff;
  --navy: #080a0f;
  --navy-2: #11141a;
  --accent: #2f5f8f;
  --accent-dark: #24486c;
  --risk: #a33d3d;
  --gold: #c1a36d;
  --shadow: 0 18px 55px rgba(14, 18, 24, 0.12);
  --display: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Avenir", "Helvetica Neue", Arial, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f8f9;
  font-family: var(--sans);
  line-height: 1.48;
  text-rendering: optimizeLegibility;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.48), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.52) 44%, rgba(255, 255, 255, 0.72));
}

.dither-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  image-rendering: pixelated;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 40px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 22px clamp(20px, 4vw, 64px);
  color: #f9fafb;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
  padding-top: 14px;
  padding-bottom: 14px;
}

.announcement-bar {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 40px;
  padding: 0 18px;
  color: #111;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
}

.announcement-bar a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.brand,
.header-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 32px;
  place-items: center;
  overflow: hidden;
  background: #030406;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-mark img {
  width: 82%;
  height: 82%;
  max-width: 100%;
  object-fit: contain;
}

.nav-links {
  justify-self: center;
  gap: 30px;
  font-size: 0.93rem;
}

.nav-links a,
.login-link {
  opacity: 0.86;
}

.nav-links a:hover,
.login-link:hover {
  opacity: 1;
}

.header-actions {
  gap: 18px;
}

.login-link {
  font-size: 0.93rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: #fff;
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.16);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--accent-dark);
  box-shadow: 0 22px 44px rgba(11, 18, 32, 0.26);
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding: 0 18px;
}

.button-secondary {
  color: #f9fafb;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(100dvh, 1080px);
  display: grid;
  overflow: hidden;
  color: #f9fafb;
  background: var(--navy);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: contrast(1.26) saturate(1.12) brightness(0.82);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 10, 15, 0.94) 0%, rgba(8, 10, 15, 0.64) 40%, rgba(8, 10, 15, 0.12) 100%),
    linear-gradient(180deg, rgba(8, 10, 15, 0.16), rgba(8, 10, 15, 0.06) 42%, rgba(8, 10, 15, 0.74));
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  justify-items: start;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(128px, 11vw, 150px) 0 clamp(36px, 5vw, 60px);
  min-height: min(100dvh, 1080px);
}

.hero-copy {
  max-width: 760px;
}

.hero-copy-text {
  max-width: 640px;
  margin-bottom: 30px;
  color: #d8e0ea;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.5;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: #dbe3eb;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  color: #f8fafc;
  background: rgba(8, 10, 15, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 34px 110px rgba(3, 5, 8, 0.42);
}

.eyebrow {
  margin: 0 0 18px;
  color: #cbd7e3;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 6.8vw, 6.6rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 4.5vw, 4.1rem);
}

h3 {
  font-family: var(--display);
  margin-bottom: 12px;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.supporting-line {
  margin-top: 26px;
  color: #b8c5d4;
  font-size: 0.95rem;
}

.capability-strip {
  overflow: hidden;
  color: #dbe5f0;
  background: #090c12;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.ticker {
  display: flex;
  width: 100%;
}

.ticker-track {
  display: flex;
  min-width: max-content;
  animation: ticker 52s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  color: #e7edf5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 24px;
  background: var(--gold);
  border-radius: 50%;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 980px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.section-heading.compact {
  max-width: 780px;
}

.section-heading p,
.demo-copy p,
.partner-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.use-case-section,
.security-section {
  background: var(--paper);
}

.use-case-grid,
.evidence-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.use-case-grid article {
  min-height: 245px;
  padding: 28px;
  background: #fff;
}

.use-case-grid p {
  color: var(--muted);
  font-size: 0.96rem;
}

.product-section {
  color: var(--ink);
  background: var(--paper);
}

.product-section .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1220px, 100%);
  margin: 0 auto;
  background: #e6e6e6;
  border: 1px solid #e6e6e6;
}

.overview-grid article {
  min-height: 224px;
  padding: 26px;
  background: #fff;
}

.overview-grid article span {
  display: block;
  margin-bottom: 46px;
  color: #111;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.overview-grid p {
  color: var(--muted);
}

.use-case-grid {
  grid-template-columns: repeat(3, 1fr);
}

.comparison-section {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  background: #fff;
}

.comparison-copy {
  max-width: 560px;
}

.comparison-table {
  border: 1px solid var(--line);
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.table-row > div {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.table-row > div + div {
  border-left: 1px solid var(--line);
  font-weight: 700;
}

.table-row:last-child > div {
  border-bottom: 0;
}

.table-head > div {
  color: #fff;
  background: var(--navy);
  font-weight: 800;
}

.evidence-grid,
.security-grid {
  grid-template-columns: repeat(3, 1fr);
}

.evidence-grid span,
.security-grid span {
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 20px;
  background: #fff;
  font-weight: 700;
}

.partner-section {
  background: linear-gradient(135deg, #08101d 0%, #13243a 100%);
}

.partner-panel {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(49, 94, 137, 0.28), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.partner-panel p {
  max-width: 760px;
  color: #c8d4e2;
}

.demo-section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.demo-copy {
  position: sticky;
  top: 120px;
}

.demo-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: #2d3643;
  font-size: 0.84rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid #cad3df;
  border-radius: 0;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(49, 94, 137, 0.14);
}

.form-button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-confirmation {
  margin: 0;
  padding: 14px 16px;
  color: #1f5135;
  background: #e8f4ec;
  border: 1px solid #b9dfc7;
  font-weight: 700;
}

.form-confirmation[data-state="error"] {
  color: #8f2e2e;
  background: #f9ebeb;
  border-color: #e3b4b4;
}

.form-button:disabled {
  cursor: progress;
  opacity: 0.7;
  transform: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 56px clamp(20px, 5vw, 72px) 38px;
  color: #d8e0ea;
  background: #070b12;
}

.panel-topbar,
.panel-grid {
  padding-left: 20px;
  padding-right: 20px;
}

.panel-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-topbar strong {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.traffic-lights {
  display: flex;
  gap: 6px;
}

.traffic-lights span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.agent-state {
  margin-left: auto;
  color: #adc0d4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.05fr 0.95fr;
  gap: 0;
}

.panel-feed,
.panel-output {
  padding: 20px;
}

.panel-feed {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-output {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-core {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 30px 20px;
  background:
    radial-gradient(circle at center, rgba(47, 95, 143, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.agent-node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 220px;
  text-align: center;
}

.agent-core-mark {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.88) 0 16%, rgba(255, 255, 255, 0.18) 17% 28%, transparent 29%),
    radial-gradient(circle at 50% 50%, rgba(47, 95, 143, 0.6), rgba(47, 95, 143, 0.04) 68%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.agent-core-mark span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.08);
}

.agent-node strong {
  font-size: 0.98rem;
}

.agent-node small {
  color: #b6c1cd;
  font-size: 0.8rem;
}

.agent-step-row {
  position: absolute;
  inset: auto 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.agent-step-row span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #dbe5ef;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.source-row,
.output-card {
  display: grid;
  gap: 4px;
  padding: 14px 14px 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.source-row + .source-row,
.output-card + .output-card {
  margin-top: 10px;
}

.source-row span,
.output-card span {
  color: #9fb0c1;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-row strong,
.output-card strong {
  color: #f8fafc;
  font-size: 0.96rem;
  line-height: 1.35;
}

.source-row.source-two,
.output-card.risk {
  background: rgba(255, 255, 255, 0.06);
}

.source-row.source-one,
.source-row.source-three,
.source-row.source-four {
  animation: pulse-row 5.5s ease-in-out infinite;
}

@keyframes pulse-row {
  0%, 100% {
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.08);
  }
  50% {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
  }
}

.scan-line {
  position: absolute;
  inset: 18px 22px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 160, 204, 0.8), transparent);
  animation: scan 4.8s linear infinite;
  opacity: 0.72;
}

@keyframes scan {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(100% - 36px));
  }
}

@media (max-width: 1200px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .panel-feed,
  .panel-output {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .panel-core {
    min-height: 300px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .signal-board {
    grid-template-columns: 1fr;
  }

  .section-heading.left {
    text-align: left;
  }
}

.footer-brand p {
  max-width: 260px;
  margin-top: 18px;
  color: #9ca9ba;
}

.site-footer .brand-mark img {
  filter: invert(1);
  opacity: 0.92;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: #9ca9ba;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  color: #7f8b9a;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav-links {
    display: grid;
    justify-items: start;
    color: var(--ink);
  }

  .login-link {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .problem-grid,
  .use-case-grid,
  .process-list,
  .evidence-grid,
  .security-grid,
  .claim-row,
  .investigation-grid,
  .comparison-section,
  .control-section,
  .demo-section,
  .product-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-toolbar {
    flex-direction: column;
  }

  .demo-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
    gap: 14px;
  }

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

  .button-small {
    display: none;
  }

  .hero {
    min-height: 690px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(11, 18, 32, 0.94), rgba(11, 18, 32, 0.74)),
      linear-gradient(180deg, rgba(11, 18, 32, 0.2), rgba(11, 18, 32, 0.9));
  }

  .hero-actions,
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .product-shell {
    margin-left: -6px;
    margin-right: -6px;
  }

  .mock-main {
    padding: 20px;
  }

  .claim-row div,
  .finding-card,
  .evidence-card {
    padding: 18px;
  }
}

@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;
  }

  .ticker-track {
    animation: none;
  }

}

/* Final override for the revised Rogo-style direction. */
.site-header,
.site-header.is-scrolled,
.site-header.menu-open {
  color: #050505;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e8e8e8;
  box-shadow: none;
}

.header-wordmark {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-links a {
  color: #050505;
  font-size: 0.9rem;
  font-weight: 600;
}

.button {
  color: #fff;
  background: #050505;
  border-color: #050505;
  box-shadow: none;
}

.button:hover {
  background: #1f1f1f;
  box-shadow: none;
}

.button-secondary {
  color: #050505;
  background: #fff;
  border-color: #050505;
}

.button-secondary:hover {
  color: #fff;
  background: #050505;
}

.hero {
  min-height: min(100dvh, 1080px);
  color: #fff;
  background: #050505;
}

.hero-image {
  opacity: 1;
  object-position: 58% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.72) 36%, rgba(5, 5, 5, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.32), rgba(5, 5, 5, 0.12) 50%, rgba(5, 5, 5, 0.88));
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(88px, 9vw, 112px) 0 clamp(36px, 5vw, 60px);
  min-height: min(100dvh, 1080px);
}

.hero-copy {
  max-width: 720px;
}

.hero-copy-text {
  max-width: 620px;
  margin-bottom: 30px;
  color: #d8e0ea;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.5;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: #dbe3eb;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel {
  overflow: hidden;
  color: #f8fafc;
  background: rgba(8, 10, 15, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 34px 110px rgba(3, 5, 8, 0.42);
}

.panel-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.traffic-lights {
  display: flex;
  gap: 6px;
}

.traffic-lights span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.panel-topbar strong {
  font-size: 0.86rem;
  font-weight: 700;
}

.agent-state {
  margin-left: auto;
  color: #adc0d4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.05fr 0.95fr;
}

.panel-feed,
.panel-output {
  padding: 20px;
}

.panel-feed {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-output {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-core {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 24px 20px 58px;
  background:
    radial-gradient(circle at center, rgba(47, 95, 143, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.agent-orbit {
  display: none;
}

.agent-node {
  display: grid;
  justify-items: center;
  gap: 10px;
  z-index: 1;
  max-width: 220px;
  text-align: center;
}

.agent-core-mark {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9) 0 14%, rgba(255, 255, 255, 0.14) 15% 26%, transparent 27%),
    radial-gradient(circle at 50% 50%, rgba(47, 95, 143, 0.5), rgba(47, 95, 143, 0.02) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.agent-core-mark span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
}

.agent-node strong {
  font-size: 0.98rem;
}

.agent-node small {
  color: #b6c1cd;
  font-size: 0.8rem;
}

.agent-step-row {
  position: absolute;
  inset: auto 16px 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.agent-step-row span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  color: #dbe5ef;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.source-row,
.output-card {
  display: grid;
  gap: 4px;
  padding: 13px 14px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.source-row + .source-row,
.output-card + .output-card {
  margin-top: 10px;
}

.source-row span,
.output-card span {
  color: #9fb0c1;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-row strong,
.output-card strong {
  color: #f8fafc;
  font-size: 0.96rem;
  line-height: 1.35;
}

.source-row.source-two,
.output-card.risk {
  background: rgba(255, 255, 255, 0.06);
}

.source-row.source-one,
.source-row.source-three,
.source-row.source-four {
  animation: pulse-row 5.5s ease-in-out infinite;
}

@keyframes pulse-row {
  0%,
  100% {
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.08);
  }
  50% {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
  }
}

.scan-line {
  position: absolute;
  inset: 18px 22px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 160, 204, 0.8), transparent);
  animation: scan 4.8s linear infinite;
  opacity: 0.72;
}

@keyframes scan {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(100% - 36px));
  }
}

.product-section {
  color: var(--ink);
  background: var(--paper);
}

.section-heading.left {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.signal-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.signal-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.signal-card-dark {
  color: #eef4f9;
  background: #0a0d12;
  border-color: rgba(255, 255, 255, 0.09);
}

.signal-label {
  display: block;
  margin-bottom: 14px;
  color: #6a7380;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-card-dark .signal-label {
  color: #b5c0cc;
}

.signal-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-chip-list li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink);
  background: #f4f7fa;
  border: 1px solid #d8dfe7;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
}

.signal-card-dark .signal-chip-list li {
  color: #ecf3f9;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.11);
}

@media (max-width: 980px) {
  .hero-shell,
  .demo-section {
    grid-template-columns: 1fr;
  }

  .panel-grid,
  .signal-board,
  .use-case-grid,
  .evidence-grid,
  .security-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .panel-feed,
  .panel-output {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .panel-core {
    min-height: 320px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero-shell {
    width: min(100%, calc(100% - 24px));
    padding-top: 84px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.66rem;
    color: #050505;
    background: rgba(255, 255, 255, 0.96);
    border-color: #d8dfe6;
  }

  .panel-topbar,
  .panel-feed,
  .panel-output,
  .signal-card,
  .demo-form,
  .evidence-grid span,
  .use-case-grid article {
    padding-left: 18px;
    padding-right: 18px;
  }

  .agent-step-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .source-row.source-one,
  .source-row.source-three,
  .source-row.source-four,
  .scan-line {
    animation: none;
  }

  .button,
  .menu-button {
    transition: none;
  }
}

/* Revised direction: black/white SaaS, SF hero, logo-only nav, live agent rendering. */
:root {
  --ink: #050505;
  --muted: #5b5b5b;
  --line: #e6e6e6;
  --soft: #f7f7f7;
  --paper: #ffffff;
  --navy: #050505;
  --navy-2: #151515;
  --accent: #111111;
  --accent-dark: #000000;
  --risk: #8f1d1d;
  --gold: #111111;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  --serif: "Georgia", "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  color: #050505;
  background: #fff;
}

.site-header,
.site-header.is-scrolled,
.site-header.menu-open {
  grid-template-columns: auto 1fr auto auto;
  gap: clamp(18px, 3vw, 40px);
  color: #050505;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e8e8e8;
  box-shadow: none;
  backdrop-filter: blur(18px);
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  width: auto;
  height: 48px;
  justify-content: center;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 0;
  border-color: transparent;
  background: transparent;
  padding: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.header-wordmark {
  justify-self: start;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  justify-self: center;
  gap: 26px;
  color: #111;
}

.header-actions {
  color: #111;
}

.button {
  color: #fff;
  background: #050505;
  border: 1px solid #050505;
  border-radius: 999px;
  box-shadow: none;
}

.button:hover {
  background: #2a2a2a;
  box-shadow: none;
}

.button-secondary {
  color: #050505;
  background: #fff;
  border-color: #050505;
}

.button-secondary:hover {
  color: #fff;
  background: #050505;
}

.hero {
  min-height: 790px;
  align-items: center;
  color: #050505;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.hero-image {
  opacity: 1;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.18) 34%, rgba(255, 255, 255, 0.42) 100%),
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.3) 78%);
}

.hero-shell {
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(88px, 9vw, 112px) 0 clamp(36px, 5vw, 60px);
  text-align: center;
  justify-items: center;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
}

.hero-copy-text {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #2b2b2b;
}

.hero-actions {
  justify-content: center;
}

.hero-meta {
  justify-content: center;
  margin-top: 28px;
}

.hero-meta span {
  color: #050505;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #cfd6de;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow {
  color: #111;
  letter-spacing: 0.16em;
}

.eyebrow.dark {
  color: #050505;
}

h1 {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--sans);
  font-size: clamp(3.6rem, 7.2vw, 7rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

h2 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.capability-strip {
  color: #050505;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.ticker-track span {
  color: #050505;
}

.ticker-track span::after {
  background: #050505;
}

.product-section {
  color: #050505;
  background: #fff;
}

.product-section .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.agent-stage {
  width: min(1220px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
}

.agent-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 0 22px;
  background: #050505;
  color: #fff;
}

.traffic-lights {
  display: flex;
  gap: 7px;
}

.traffic-lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.55;
}

.agent-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #31c46f;
  box-shadow: 0 0 0 7px rgba(49, 196, 111, 0.18);
}

.agent-workspace {
  display: grid;
  grid-template-columns: 0.78fr 1.15fr 0.88fr;
  min-height: 560px;
  background:
    linear-gradient(#f3f3f3 1px, transparent 1px),
    linear-gradient(90deg, #f3f3f3 1px, transparent 1px),
    #fff;
  background-size: 42px 42px;
}

.agent-feed,
.agent-output {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(22px, 3vw, 38px);
}

.agent-label {
  margin: 0 0 8px;
  color: #767676;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.source-row,
.output-card {
  position: relative;
  padding: 18px;
  background: #fff;
  border: 1px solid #d7d7d7;
  box-shadow: none;
}

.source-row {
  animation: sourcePulse 4.5s ease-in-out infinite;
}

.source-two {
  animation-delay: 0.5s;
}

.source-three {
  animation-delay: 1s;
}

.source-four {
  animation-delay: 1.5s;
}

.source-row span,
.output-card span {
  display: block;
  margin-bottom: 5px;
  color: #707070;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.source-row strong,
.output-card strong {
  font-size: 0.98rem;
}

.agent-core {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  overflow: hidden;
  border-left: 1px solid #dcdcdc;
  border-right: 1px solid #dcdcdc;
}

.agent-orbit {
  display: none;
}

.agent-node {
  position: relative;
  z-index: 2;
  display: grid;
  width: auto;
  min-height: 0;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  color: #fff;
  border-radius: 0;
  text-align: center;
  box-shadow: none;
}

.agent-node img {
  width: 88px;
  max-width: none;
}

.agent-node strong {
  font-size: 1.18rem;
}

.agent-node small {
  max-width: 170px;
  color: #d8d8d8;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #050505;
  opacity: 0.22;
  animation: scanLine 3.6s ease-in-out infinite;
}

.output-card.risk {
  color: #fff;
  background: #050505;
}

.output-card.risk span {
  color: #bdbdbd;
}

@keyframes scanLine {
  0% {
    top: 15%;
  }
  50% {
    top: 82%;
  }
  100% {
    top: 15%;
  }
}

@keyframes sourcePulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.problem-grid article,
.use-case-grid article,
.process-list article,
.evidence-grid span,
.security-grid span,
.approval-list li,
.demo-form {
  border-radius: 0;
  box-shadow: none;
}

.partner-section {
  background: #050505;
}

.partner-panel {
  border-color: #fff;
  border-radius: 22px;
  background: #050505;
}

.site-footer {
  background: #050505;
}

@media (max-width: 980px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.menu-open {
    grid-template-columns: auto 1fr auto;
  }

  .header-wordmark {
    justify-self: start;
  }

  .nav-links {
    grid-column: 1 / -1;
  }

  .agent-workspace {
    grid-template-columns: 1fr;
  }

  .agent-core {
    min-height: 420px;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
    border-left: 0;
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .header-wordmark {
    font-size: 1.1rem;
  }

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

  h1 {
    font-size: clamp(3.3rem, 18vw, 5.5rem);
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%),
      radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 45%, rgba(255, 255, 255, 0.08) 78%);
  }

  .agent-stage {
    border-radius: 14px;
  }

  .agent-topbar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
  }
}

.problem-section {
  padding-bottom: clamp(28px, 4vw, 56px);
}

.product-section {
  padding-top: clamp(36px, 5vw, 72px);
}

.product-section .section-heading {
  margin-bottom: 34px;
}

.use-case-section {
  padding-bottom: clamp(28px, 4vw, 52px);
}

.comparison-section {
  padding-top: clamp(34px, 5vw, 64px);
}

.legal-page {
  padding-top: 82px;
  background: #fff;
}

.legal-hero {
  padding: clamp(80px, 10vw, 132px) clamp(20px, 6vw, 92px) clamp(38px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
}

.legal-hero p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.legal-content {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 84px) 0;
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  letter-spacing: -0.035em;
}

.legal-content p {
  color: #363636;
  font-size: 1.05rem;
}

.compact-footer {
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.compact-footer .copyright {
  grid-column: auto;
  margin: 0;
}

.compact-footer {
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.compact-footer .copyright {
  grid-column: auto;
  margin: 0;
}

.legal-page {
  padding-top: 76px;
}

.legal-hero {
  padding: clamp(58px, 7vw, 92px) clamp(20px, 6vw, 92px) 22px;
  border-bottom: 0;
}

.legal-hero h1 {
  margin-bottom: 12px;
}

.legal-hero p:last-child {
  color: #050505;
}

.legal-content {
  width: auto;
  margin: 0;
  padding: 22px clamp(20px, 6vw, 92px) clamp(48px, 7vw, 84px);
}

.legal-content p {
  max-width: 980px;
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.52;
}

.legal-content h2 {
  max-width: 980px;
  margin-top: 30px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    padding: 18px;
    flex-direction: column;
    gap: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .hero-shell,
  .demo-section {
    grid-template-columns: 1fr;
  }

  .signal-board,
  .use-case-grid,
  .evidence-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero-shell {
    width: min(100%, calc(100% - 24px));
    padding-top: 78px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta span {
    min-height: 30px;
    padding: 0 10px;
    color: #050505;
    background: rgba(255, 255, 255, 0.96);
    border-color: #d8dfe6;
    font-size: 0.72rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .panel-topbar,
  .panel-feed,
  .panel-output,
  .signal-card,
  .demo-form,
  .evidence-grid span,
  .use-case-grid article {
    padding-left: 18px;
    padding-right: 18px;
  }

  .agent-step-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track,
  .source-row.source-one,
  .source-row.source-three,
  .source-row.source-four,
  .scan-line {
    animation: none;
  }

  .button,
  .menu-button {
    transition: none;
  }
}

/* Final density and type override. */
.section {
  padding-top: clamp(42px, 4.8vw, 76px);
  padding-bottom: clamp(42px, 4.8vw, 76px);
}

.section-heading {
  margin-bottom: clamp(24px, 2.8vw, 34px);
}

.section-heading p,
.demo-copy p,
.partner-panel p {
  font-size: clamp(1.08rem, 1.3vw, 1.24rem);
  line-height: 1.55;
}

.section-heading.compact {
  max-width: 840px;
}

.use-case-section,
.security-section,
.product-section {
  padding-top: clamp(34px, 4vw, 62px);
  padding-bottom: clamp(34px, 4vw, 62px);
}

.use-case-grid article,
.overview-grid article {
  min-height: 190px;
}

.overview-grid article {
  padding: 24px;
}

.use-case-grid article {
  padding: 24px;
}

.use-case-grid p,
.overview-grid p {
  font-size: 1rem;
  line-height: 1.55;
}

.use-case-section .section-heading p:last-child {
  max-width: 760px;
}

.use-case-section .section-heading h2 {
  font-size: clamp(2.25rem, 4.9vw, 4.45rem);
}

.product-section .section-heading h2,
.security-section .section-heading h2 {
  font-size: clamp(2.25rem, 4.9vw, 4.45rem);
}

.overview-grid article span {
  margin-bottom: 34px;
}

.hero-meta {
  margin-top: 18px;
}

.hero-actions {
  margin-bottom: 4px;
}

@media (max-width: 640px) {
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .use-case-grid article,
  .overview-grid article {
    min-height: 0;
  }

  .use-case-section .section-heading p:last-child {
    max-width: none;
  }
}

/* Centered mid-page agent and tighter section rhythm. */
.section {
  padding-top: clamp(34px, 4vw, 60px);
  padding-bottom: clamp(34px, 4vw, 60px);
}

.section-heading {
  margin-bottom: clamp(20px, 2.2vw, 28px);
}

.section-heading.compact {
  max-width: 880px;
}

.section-heading.left {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p,
.demo-copy p,
.partner-panel p {
  font-size: clamp(1.14rem, 1.45vw, 1.32rem);
  line-height: 1.56;
}

.overview-grid,
.use-case-grid,
.evidence-grid {
  width: min(1220px, 100%);
}

.overview-grid article,
.use-case-grid article,
.evidence-grid span {
  min-height: 176px;
}

.overview-grid article,
.use-case-grid article {
  padding: 22px;
}

.overview-grid article h3,
.use-case-grid article h3 {
  font-size: 1.4rem;
}

.overview-grid p,
.use-case-grid p {
  font-size: 1.18rem;
  line-height: 1.62;
}

.use-case-section .section-heading p:last-child {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.use-case-section .section-heading h2,
.product-section .section-heading h2,
.security-section .section-heading h2,
.agent-section .section-heading h2 {
  font-size: clamp(2.45rem, 5.25vw, 4.8rem);
}

.use-case-grid {
  justify-items: center;
}

.use-case-grid article {
  text-align: center;
}

.use-case-grid article p {
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
}

.overview-grid article span {
  font-size: 0.94rem;
}

.overview-grid p {
  font-size: 1.18rem;
}

.agent-section {
  background: #fff;
}

.agent-stage-live {
  display: grid;
  gap: 0;
  width: min(1220px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.agent-stage-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.agent-stage-top strong {
  font-size: 0.88rem;
}

.agent-live-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.2fr 0.82fr;
  gap: 0;
}

.agent-live-column {
  padding: 22px;
  background: #fff;
}

.agent-live-column:first-child,
.agent-live-column:last-child {
  border-right: 1px solid var(--line);
}

.agent-live-column .agent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agent-live-column .agent-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink);
  background: #f7f8fa;
  border: 1px solid #d8dfe7;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
}

.agent-live-center {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  min-height: 440px;
  padding: 28px 24px;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 44%, rgba(47, 95, 143, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 250, 0.88));
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.agent-live-aura {
  position: absolute;
  inset: 18% 12%;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background:
    radial-gradient(circle at center, rgba(47, 95, 143, 0.08), transparent 42%);
}

.agent-live-core {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: min(340px, 86%);
  padding: 28px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(14, 18, 24, 0.08);
}

.agent-live-core strong {
  font-size: 1.2rem;
  line-height: 1.25;
}

.agent-live-core small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.agent-stream {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.agent-stream span {
  position: absolute;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #59d16f;
  box-shadow: 0 0 0 8px rgba(89, 209, 111, 0.12);
  animation: stream-pulse 5.4s ease-in-out infinite;
}

.agent-stream span:nth-child(1) {
  top: 18%;
  animation-delay: 0s;
}

.agent-stream span:nth-child(2) {
  top: 50%;
  animation-delay: 1.3s;
}

.agent-stream span:nth-child(3) {
  top: 78%;
  animation-delay: 2.4s;
}

@keyframes stream-pulse {
  0%,
  100% {
    transform: translate(-50%, 0) scale(0.95);
    opacity: 0.35;
  }
  50% {
    transform: translate(-50%, 0) scale(1.18);
    opacity: 1;
  }
}

.agent-column-dark .signal-label {
  color: #6a7380;
}

.agent-board {
  display: none;
}

.agent-column-dark {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.agent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agent-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink);
  background: #f7f8fa;
  border: 1px solid #d8dfe7;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
}

.agent-step-row-light {
  position: static;
  justify-content: center;
  flex-wrap: wrap;
}

.agent-step-row-light span {
  color: var(--ink);
  background: #f7f8fa;
  border-color: #d8dfe7;
}

@media (max-width: 980px) {
  .agent-live-grid {
    grid-template-columns: 1fr;
  }

  .agent-live-center {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .overview-grid,
  .use-case-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .agent-live-column,
  .agent-live-center {
    padding: 20px;
  }

  .agent-live-core {
    width: 100%;
    padding: 22px 18px;
  }
}


/* White, readable live agent surface used in the middle section. */
.agent-stage-live {
  background: #fff;
  border: 1px solid #d8d8d8;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.agent-stage-live .agent-stage-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 20px;
  background: #050505;
  color: #fff;
}

.agent-stage-live .agent-stage-top .agent-state {
  color: #d6d6d6;
}

.agent-live-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.1fr 0.82fr;
  gap: 0;
  min-height: 540px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    #fff;
  background-size: 40px 40px;
}

.agent-live-column {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(20px, 3vw, 34px);
}

.agent-live-column:first-child,
.agent-live-column:last-child {
  background: rgba(250, 250, 250, 0.88);
}

.agent-live-column .agent-list {
  display: grid;
  gap: 10px;
}

.agent-live-column .agent-list span {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: #111;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
}

.agent-live-center {
  position: relative;
  display: grid;
  place-items: center;
  padding: 30px 20px 66px;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.035), transparent 36%),
    #fff;
  border-left: 1px solid #e4e4e4;
  border-right: 1px solid #e4e4e4;
}

.agent-live-aura {
  position: absolute;
  inset: auto auto 26px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(89, 209, 111, 0.12), transparent 24%),
    radial-gradient(circle, rgba(0, 0, 0, 0.08), transparent 68%);
  opacity: 0.8;
  animation: aura-pulse 4.8s ease-in-out infinite;
}

.agent-live-core {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  max-width: 280px;
  padding: 30px 28px;
  text-align: center;
  color: #050505;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d5d5d5;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  animation: core-float 4.8s ease-in-out infinite;
}

.agent-live-core .signal-label {
  margin-bottom: 0;
  color: #777;
}

.agent-live-core strong {
  font-size: 1.18rem;
  line-height: 1.3;
}

.agent-live-core small {
  color: #606060;
  font-size: 0.92rem;
  line-height: 1.5;
}

.agent-stream {
  position: absolute;
  left: 50%;
  bottom: 16px;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.agent-stream span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111;
  opacity: 0.22;
  animation: agentPulse 1.8s ease-in-out infinite;
}

.agent-stream span:nth-child(2) { animation-delay: 0.2s; }
.agent-stream span:nth-child(3) { animation-delay: 0.4s; }

@keyframes agentPulse {
  0%, 100% { transform: translateY(0); opacity: 0.22; }
  50% { transform: translateY(-4px); opacity: 0.6; }
}

@keyframes aura-pulse {
  0%, 100% { transform: scale(0.98); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
}

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

@media (max-width: 980px) {
  .agent-live-grid {
    grid-template-columns: 1fr;
  }

.agent-live-center {
    min-height: 320px;
  }
}

.faq-section {
  background: #fff;
}

.faq-list {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #050505;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list details div {
  padding: 18px 24px 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.58;
}

/* Final use-case and FAQ polish. */
.use-case-section {
  background: #fff;
}

.use-case-section .section-heading {
  max-width: 960px;
}

.use-case-section .section-heading p:last-child {
  max-width: 820px;
}

.use-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1220px, 100%);
  margin: 0 auto;
  background: transparent;
  border: 0;
  justify-items: stretch;
}

.use-case-grid article {
  min-height: 0;
  padding: 26px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}

.use-case-grid article h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.use-case-grid article p {
  max-width: none;
  margin: 0;
}

.use-case-grid p {
  font-size: 1rem;
  line-height: 1.58;
}

.faq-list {
  width: min(980px, 100%);
}

.faq-list summary {
  font-size: 1.1rem;
}

.faq-list details div {
  font-size: 1.04rem;
}

.header-wordmark {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.agent-film {
  display: grid;
  width: min(1220px, 100%);
  margin: 0 auto;
  overflow: hidden;
  color: #0a0d12;
  background: #fff;
  border: 1px solid #d9dfe6;
  box-shadow: 0 24px 70px rgba(10, 14, 20, 0.1);
}

.agent-film-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 20px;
  color: #fff;
  background: #060607;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agent-film-top strong {
  font-size: 0.9rem;
}

.agent-film-screen {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 1.08fr 0.88fr;
  min-height: 540px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 42px 42px;
}

.agent-film-rail {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(20px, 3vw, 34px);
}

.agent-film-rail-left {
  background: rgba(250, 250, 250, 0.88);
}

.agent-film-rail-right {
  background: rgba(250, 250, 250, 0.88);
}

.agent-film-canvas {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  overflow: hidden;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
}

.agent-film-canvas::after {
  content: "";
  position: absolute;
  inset: -20% 0 auto;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(47, 95, 143, 0.08), transparent);
  transform: translateY(-120%);
  animation: film-scan 5.8s ease-in-out infinite;
}

.agent-film-grid {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background:
    linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), #000 16%, #000 84%, rgba(0, 0, 0, 0.18));
}

.agent-film-orbit {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(47, 95, 143, 0.15), rgba(47, 95, 143, 0.04) 34%, transparent 60%);
  filter: blur(2px);
  animation: filmOrbit 6s ease-in-out infinite;
}

.agent-film-core {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: min(370px, 86%);
  padding: 30px 28px;
  text-align: center;
  color: #0a0d12;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d9dfe6;
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(14, 18, 24, 0.09);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.agent-film[data-stage="search"] .agent-film-core {
  transform: translateY(-3px);
}

.agent-film[data-stage="analysis"] .agent-film-core {
  transform: translateY(-8px);
}

.agent-film[data-stage="memo"] .agent-film-core {
  transform: translateY(-4px);
}

.agent-film[data-stage="risks"] .agent-film-core {
  transform: translateY(-10px);
  border-color: rgba(163, 61, 61, 0.24);
}

.agent-film-core .signal-label {
  margin-bottom: 0;
  color: #6d7582;
}

.agent-film-core strong {
  font-size: 1.18rem;
  line-height: 1.28;
}

.agent-film-core small {
  color: #606875;
  font-size: 0.94rem;
  line-height: 1.52;
}

.agent-film-steps {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 520px;
  padding: 0 20px 8px;
}

.agent-film-steps span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: #111;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d9dfe6;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.3;
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.agent-film[data-stage="input"] [data-film-step="input"],
.agent-film[data-stage="search"] [data-film-step="search"],
.agent-film[data-stage="analysis"] [data-film-step="analysis"],
.agent-film[data-stage="memo"] [data-film-step="memo"],
.agent-film[data-stage="risks"] [data-film-step="risks"] {
  opacity: 1;
  transform: translateY(-1px);
  background: #fff;
  border-color: #bfc8d4;
}

.agent-film-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 0 20px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.agent-film-footer span {
  color: #606875;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-film-progress {
  height: 6px;
  overflow: hidden;
  background: #edf0f4;
  border-radius: 999px;
}

.agent-film-progress i {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, #111, #2f5f8f);
  border-radius: inherit;
  transition: width 520ms ease;
}

.agent-film[data-stage="search"] .agent-film-progress i {
  width: 38%;
}

.agent-film[data-stage="analysis"] .agent-film-progress i {
  width: 58%;
}

.agent-film[data-stage="memo"] .agent-film-progress i {
  width: 78%;
}

.agent-film[data-stage="risks"] .agent-film-progress i {
  width: 100%;
}

@keyframes filmOrbit {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes film-scan {
  0%,
  100% {
    transform: translateY(-120%);
    opacity: 0;
  }
  18% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(240%);
    opacity: 0.5;
  }
  82% {
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .agent-film-screen {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .agent-film-canvas {
    min-height: 360px;
  }

  .agent-film-rail-left,
  .agent-film-rail-right {
    border-top: 1px solid #e5e7eb;
  }

  .agent-film-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .agent-film-progress {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-shell {
    padding-top: clamp(110px, 18vw, 150px);
  }
}

/* Dither background support for all white content bands after the hero. */
:root {
  --keystone-grid:
    linear-gradient(rgba(15, 17, 21, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 17, 21, 0.035) 1px, transparent 1px);
  --keystone-grid-size: 36px 36px;
}

html,
body {
  background-color: #fff;
}

main > .capability-strip,
main > .section {
  background-color: rgba(255, 255, 255, 0.72);
  background-image: none;
}

.site-footer {
  background-image: none;
}

.announcement-bar,
.site-header,
.site-header.is-scrolled,
.site-header.menu-open {
  background-color: #fff;
  background-image: none;
}

.section-heading,
.overview-grid,
.agent-film,
.use-case-grid,
.faq-list,
.demo-copy,
.demo-form,
.footer-grid {
  position: relative;
  z-index: 1;
}

.hero-copy-text {
  color: #f7f9fc;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.62);
  font-weight: 650;
}

.announcement-bar,
.site-header {
  transition:
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 320ms ease,
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    padding 220ms ease;
}

body:not(.has-scrolled) .announcement-bar,
body:not(.has-scrolled) .site-header:not(.menu-open) {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
}

body.has-scrolled .announcement-bar,
body.has-scrolled .site-header,
.site-header.menu-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Final spacing pass: keep the grid visible without leaving empty bands. */
main > .section {
  padding-top: clamp(28px, 3.2vw, 48px);
  padding-bottom: clamp(28px, 3.2vw, 48px);
}

.product-section {
  padding-bottom: clamp(18px, 2.2vw, 34px);
}

.agent-section,
.use-case-section,
.faq-section,
.demo-section {
  padding-top: clamp(18px, 2.4vw, 36px);
  padding-bottom: clamp(28px, 3vw, 46px);
}

.section-heading {
  margin-bottom: clamp(14px, 1.6vw, 24px);
}

.agent-film {
  margin-top: clamp(6px, 1vw, 14px);
  margin-bottom: 0;
}

.agent-film-screen {
  min-height: clamp(390px, 42vw, 500px);
}

.use-case-grid,
.faq-list,
.overview-grid {
  margin-top: 0;
}

@media (max-width: 640px) {
  main > .section,
  .agent-section,
  .use-case-section,
  .faq-section,
  .demo-section {
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .agent-film-screen {
    min-height: 0;
  }
}

/* Aggressive gap cleanup after visual review. */
main > .section {
  padding-top: clamp(16px, 2vw, 28px);
  padding-bottom: clamp(16px, 2vw, 28px);
}

.product-section {
  margin-top: clamp(-44px, -3vw, -24px);
  padding-top: clamp(58px, 5vw, 86px);
  padding-bottom: clamp(14px, 1.5vw, 22px);
}

.agent-section,
.use-case-section,
.faq-section,
.demo-section {
  padding-top: clamp(10px, 1.4vw, 20px);
  padding-bottom: clamp(16px, 2vw, 28px);
}

.section-heading {
  margin-bottom: clamp(10px, 1vw, 16px);
}

.section-heading h2 {
  margin-bottom: 10px;
}

.section-heading p {
  margin-bottom: 0;
}

.overview-grid article {
  min-height: 150px;
}

.use-case-grid article {
  min-height: 0;
}

.agent-film-screen {
  min-height: clamp(320px, 34vw, 420px);
}

.agent-film-rail,
.agent-film-canvas {
  padding-top: clamp(18px, 2vw, 26px);
  padding-bottom: clamp(18px, 2vw, 26px);
}

.agent-film-core {
  padding-top: 22px;
  padding-bottom: 22px;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.55);
}

.product-section {
  margin-top: 0;
  padding-top: clamp(28px, 3vw, 48px);
  padding-bottom: clamp(14px, 1.5vw, 22px);
}

/* Final aesthetic pass: denser finance SaaS surface, cleaner product motion. */
.data-room-section {
  padding-top: clamp(10px, 1.5vw, 22px);
}

.data-room-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid rgba(15, 17, 21, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.94)),
    var(--keystone-grid);
  background-size: auto, var(--keystone-grid-size);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.72) inset,
    0 18px 50px rgba(15, 17, 21, 0.055);
}

.data-room-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 180px;
  padding: clamp(20px, 2vw, 28px);
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid rgba(15, 17, 21, 0.1);
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.data-room-card:last-child {
  border-right: 0;
}

.data-room-card span,
.core-status p,
.evidence-card span,
.dossier-card span,
.output-finding span {
  color: #68717d;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.data-room-card strong {
  color: #0b0d10;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.32;
}

.data-room-card.primary,
.data-room-card.output {
  background: rgba(255, 255, 255, 0.94);
}

.data-room-card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(15, 17, 21, 0.08),
    0 18px 40px rgba(15, 17, 21, 0.08);
}

.agent-film {
  width: min(1240px, calc(100% - 40px));
  border: 1px solid rgba(15, 17, 21, 0.1);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.82) inset,
    0 28px 90px rgba(15, 17, 21, 0.12);
}

.agent-film-top {
  color: #101318;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 251, 0.96));
  border-bottom: 1px solid rgba(15, 17, 21, 0.09);
}

.agent-film-top strong {
  font-size: 0.94rem;
}

.traffic-lights span {
  background: #c9d0d9;
}

.agent-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f5135;
}

.agent-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2e9d62;
  box-shadow: 0 0 0 4px rgba(46, 157, 98, 0.12);
}

.agent-film-screen {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(360px, 1.4fr) minmax(220px, 0.78fr);
  gap: 0;
  min-height: clamp(470px, 43vw, 560px);
  background:
    radial-gradient(circle at 50% 42%, rgba(25, 73, 126, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 251, 253, 0.94)),
    var(--keystone-grid);
  background-size: auto, auto, var(--keystone-grid-size);
}

.agent-dossier-stack,
.agent-output-stack {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(18px, 2.2vw, 28px);
}

.agent-dossier-stack {
  border-right: 1px solid rgba(15, 17, 21, 0.08);
}

.agent-output-stack {
  border-left: 1px solid rgba(15, 17, 21, 0.08);
}

.dossier-card,
.output-finding {
  display: grid;
  gap: 6px;
  padding: 16px;
  color: #101318;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 0 0 1px rgba(15, 17, 21, 0.075),
    0 8px 24px rgba(15, 17, 21, 0.045);
  opacity: 0.72;
  transform: translateY(0);
  transition:
    opacity 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dossier-card strong,
.output-finding strong {
  color: #0b0d10;
  font-size: 0.98rem;
  line-height: 1.28;
}

.dossier-card small,
.output-finding small {
  color: #606a76;
  font-size: 0.8rem;
  line-height: 1.35;
}

.dossier-card.active,
.output-finding.active,
.output-finding.verified {
  opacity: 1;
  transform: translateY(-4px);
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(15, 17, 21, 0.11),
    0 16px 38px rgba(15, 17, 21, 0.09);
}

.output-finding.risk.active {
  box-shadow:
    0 0 0 1px rgba(130, 42, 42, 0.18),
    0 16px 38px rgba(80, 25, 25, 0.1);
}

.agent-film-canvas {
  display: grid;
  place-items: center;
  gap: 22px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 40px);
  border: 0;
}

.agent-film-canvas::after,
.agent-film-orbit {
  display: none;
}

.agent-film-grid {
  opacity: 0.5;
  background:
    linear-gradient(rgba(15, 17, 21, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 17, 21, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, #000 0 54%, transparent 78%);
}

.evidence-flow {
  position: absolute;
  inset: 12% 10%;
  pointer-events: none;
}

.evidence-flow span {
  position: absolute;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25, 73, 126, 0.5), transparent);
  opacity: 0;
  transform: translateY(24px);
  animation: evidence-flow 4.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.evidence-flow span:nth-child(1) { top: 26%; }
.evidence-flow span:nth-child(2) { top: 50%; animation-delay: 1.1s; }
.evidence-flow span:nth-child(3) { top: 74%; animation-delay: 2.2s; }

.agent-film-core {
  z-index: 1;
  width: min(480px, 92%);
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.98));
  border: 1px solid rgba(15, 17, 21, 0.1);
  border-radius: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 26px 60px rgba(15, 17, 21, 0.12);
  transition:
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.agent-film[data-stage="search"] .agent-film-core,
.agent-film[data-stage="analysis"] .agent-film-core,
.agent-film[data-stage="memo"] .agent-film-core,
.agent-film[data-stage="risks"] .agent-film-core {
  transform: translateY(-5px);
}

.core-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.core-status span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2e9d62;
  box-shadow: 0 0 0 5px rgba(46, 157, 98, 0.12);
}

.core-status p {
  margin: 0;
}

.agent-film-core strong {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
}

.agent-film-core small {
  max-width: 34rem;
  color: #4f5965;
  font-size: 1rem;
}

.evidence-card {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 16px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(15, 17, 21, 0.08),
    0 8px 24px rgba(15, 17, 21, 0.055);
}

.evidence-card p {
  margin: 0;
  color: #12161c;
  font-size: 0.94rem;
  line-height: 1.45;
}

.agent-film-steps {
  z-index: 1;
  width: min(620px, 100%);
  gap: 6px;
  padding: 0;
}

.agent-film-steps span {
  min-height: 34px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.08);
}

.agent-film-footer {
  background: #fff;
}

.agent-film-progress i {
  background: linear-gradient(90deg, #0b0d10, #19497e);
  transition: width 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.use-case-grid article,
.overview-grid article,
.faq-list details,
.demo-form {
  box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.035);
}

.use-case-grid article {
  transition:
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.use-case-grid article:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(15, 17, 21, 0.08),
    0 16px 38px rgba(15, 17, 21, 0.07);
}

.sticky-demo-pill {
  position: fixed;
  right: clamp(16px, 2.4vw, 32px);
  bottom: clamp(16px, 2.4vw, 32px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  color: #fff;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.has-scrolled .sticky-demo-pill {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: #d8e0ea;
  background:
    radial-gradient(circle at 12% 10%, rgba(71, 113, 160, 0.22), transparent 34%),
    linear-gradient(135deg, #05070b 0%, #0d121a 100%);
  background-size: auto;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 78%);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-brand h2 {
  max-width: 420px;
  margin: 22px 0 14px;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-transform: none;
}

.footer-brand p {
  max-width: 370px;
}

@keyframes evidence-flow {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  18% {
    opacity: 0.72;
  }
  62% {
    opacity: 0.36;
  }
  100% {
    opacity: 0;
    transform: translateY(-28px);
  }
}

@media (max-width: 1120px) {
  .data-room-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .data-room-card {
    border-bottom: 1px solid rgba(15, 17, 21, 0.1);
  }

  .agent-film-screen {
    grid-template-columns: 1fr;
  }

  .agent-dossier-stack,
  .agent-output-stack {
    grid-template-columns: repeat(2, 1fr);
    align-content: start;
    border: 0;
  }

  .agent-film-canvas {
    min-height: 430px;
    border-top: 1px solid rgba(15, 17, 21, 0.08);
    border-bottom: 1px solid rgba(15, 17, 21, 0.08);
  }
}

@media (max-width: 720px) {
  .data-room-grid,
  .agent-film {
    width: min(100% - 28px, 1220px);
  }

  .data-room-grid,
  .agent-dossier-stack,
  .agent-output-stack {
    grid-template-columns: 1fr;
  }

  .data-room-card {
    min-height: 0;
    border-right: 0;
  }

  .agent-film-steps {
    justify-content: flex-start;
  }

  .sticky-demo-pill {
    left: 16px;
    right: 16px;
  }
}

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

/* Revert the added evidence band and footer CTA treatment. */
.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 56px clamp(20px, 5vw, 72px) 38px;
  color: #d8e0ea;
  background: #070b12;
}

.site-footer::before {
  content: none;
}

.footer-brand p {
  max-width: 260px;
  margin-top: 18px;
  color: #9ca9ba;
}

/* Final background override: restore one continuous spreadsheet grid across white sections. */
:root {
  --section-grid-line: rgba(15, 17, 21, 0.085);
  --section-grid-size: 44px;
}

.dither-background {
  display: none;
}

html,
body {
  background-color: #fff;
  background-image: none;
}

main {
  background-color: #fff;
  background-image:
    linear-gradient(to right, var(--section-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--section-grid-line) 1px, transparent 1px);
  background-size: var(--section-grid-size) var(--section-grid-size);
  background-position: center top;
}

main > .section,
.product-section,
.agent-section,
.use-case-section,
.faq-section,
.demo-section {
  background-color: transparent;
  background-image: none;
}

.site-header,
.announcement-bar {
  background-color: rgba(255, 255, 255, 0.94);
  background-image: none;
}

.overview-grid article,
.use-case-grid article,
.faq-list details,
.demo-form,
.agent-film,
.data-room-grid {
  background-color: rgba(255, 255, 255, 0.94);
}
