:root {
  --navy-900: #0b1437;
  --navy-800: #111d4a;
  --navy-700: #1a2a63;
  --ink: #101b83;
  --blue: #3b81f4;
  --blue-strong: #0066ff;
  --blue-soft: #b8cef1;
  --text: #1c2540;
  --muted: #56607c;
  --line: #e2e8f4;
  --tint: #f4f7fd;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 20, 55, 0.12);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-strong); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; color: var(--navy-900); }
h3 { font-size: 1.12rem; font-weight: 650; color: var(--navy-900); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.header-row { display: flex; align-items: center; gap: 32px; height: 84px; }
.brand img { display: block; height: 32px; width: auto; }
.site-header nav { display: flex; gap: 28px; margin-left: auto; }
.site-header nav a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.site-header nav a:hover { color: var(--white); }

/* buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 10px;
  background: var(--blue-strong); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #0052cc; transform: translateY(-1px); }
.btn-small { padding: 10px 16px; font-size: 0.92rem; }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* hero */
.hero {
  color: var(--white);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(59, 129, 244, 0.35), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(0, 102, 255, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  padding: 150px 0 110px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero-challenge { font-size: 1.18rem; font-weight: 650; line-height: 1.45; margin-bottom: 12px; }
.hero-governance { display: inline-block; margin-top: 20px; color: var(--blue-soft); font-size: 0.86rem; text-underline-offset: 4px; }
.lede { font-size: 1.18rem; color: rgba(255, 255, 255, 0.82); max-width: 36em; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600;
  color: var(--blue-soft); margin-bottom: 14px;
}
.eyebrow-dark { color: var(--blue-strong); }

/* product mock-ups */
.mock {
  margin: 0; padding: 22px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.msg { border-radius: 12px; padding: 14px 16px; font-size: 0.95rem; }
.msg-user { background: var(--blue-strong); color: var(--white); margin-left: 12%; margin-bottom: 12px; }
.msg-ai { background: var(--white); color: var(--text); margin-right: 4%; }
.msg-title { font-weight: 650; color: var(--navy-900); margin-bottom: 8px; }
.build-steps { margin: 0; padding-left: 22px; color: var(--muted); font-size: 0.9rem; }
.build-steps li { padding: 6px 0 6px 4px; }
.build-steps strong { color: var(--navy-900); }
.mock figcaption { margin-top: 16px; color: var(--blue-soft); font-size: 0.8rem; }
.mock-light figcaption { color: var(--muted); }
.memory-step { padding: 0 16px 12px; }
.step-label { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }
.facts { margin: 0 0 12px; padding-left: 18px; color: var(--muted); font-size: 0.9rem; }
.facts strong { color: var(--navy-900); }
.chips { display: flex; gap: 8px; }
.chip { font-size: 0.82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--navy-900); }
.chip-primary { background: var(--blue-strong); border-color: var(--blue-strong); color: var(--white); }

.mock-light { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.mock-light .msg-ai { background: var(--tint); margin-right: 0; }
.rows { list-style: none; margin: 0 0 10px; padding: 0; font-size: 0.9rem; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.rows li span:first-child { font-weight: 600; color: var(--navy-900); }
.tag { color: var(--muted); text-align: right; }
.note { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* sections */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.body { color: var(--muted); font-size: 1.05rem; }
.intro { max-width: 40em; margin-bottom: 36px; }

.problem { padding: 72px 0; border-bottom: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.big { font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 600; color: var(--navy-900); line-height: 1.35; letter-spacing: -0.01em; }
.answer { font-size: 1.08rem; color: var(--muted); }

.cards { display: grid; gap: 20px; margin-top: 36px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.card-cta { background: var(--navy-900); border-color: var(--navy-900); }
.card-cta h3 { color: var(--white); }
.card-cta p { color: rgba(255, 255, 255, 0.75); margin-bottom: 14px; }
.card-cta .link { color: var(--blue-soft); font-weight: 600; text-decoration: none; }
.icon { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: #e8f0fe; margin-bottom: 16px;
  fill: none; stroke: var(--blue-strong); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-reverse > :first-child { order: 2; }
.audit-record { padding: 30px; border: 1px solid var(--line); border-top: 4px solid var(--blue-strong); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.audit-record h3 { font-size: 1.35rem; }
.audit-record dl { margin: 24px 0 18px; }
.audit-record dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.audit-record dt { font-weight: 650; color: var(--navy-900); }
.audit-record dd { margin: 0; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding: 8px 0 8px 32px; color: var(--text); font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pillars { display: grid; gap: 14px; }
.pillar {
  border-radius: var(--radius); padding: 30px 28px; color: var(--white); font-weight: 650; font-size: 1.2rem;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  position: relative; overflow: hidden;
}
.pillar:nth-child(2) { background: linear-gradient(120deg, var(--ink), var(--blue-strong)); margin-left: 28px; }
.pillar:nth-child(3) { background: linear-gradient(120deg, var(--blue-strong), var(--blue)); margin-left: 56px; }

.contact {
  padding: 96px 0; color: var(--white);
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(59, 129, 244, 0.35), transparent 70%),
    var(--navy-900);
}
.contact h2 { color: var(--white); }
.contact .lede { margin: 0 auto 28px; }
.contact-email { margin: 18px 0 0; color: var(--blue-soft); font-size: 0.95rem; }
.contact-email a { color: var(--white); text-underline-offset: 3px; }

.site-footer { background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 28px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-row p { margin: 0; color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
.footer-row a { color: rgba(255, 255, 255, 0.85); }

/* responsive */
@media (max-width: 980px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse > :first-child { order: 0; }
  .site-header nav { display: none; }
  .header-row { justify-content: space-between; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 120px 0 72px; }
  .section { padding: 64px 0; }
  .cards-4, .cards-3 { grid-template-columns: 1fr; }
  .brand img { height: 28px; }
  .msg-user { margin-left: 0; }
  .msg-ai { margin-right: 0; }
  .audit-record { padding: 24px; }
  .audit-record dl > div { grid-template-columns: 1fr; gap: 4px; }
  .rows li { flex-direction: column; gap: 2px; }
  .tag { text-align: left; }
  .pillar:nth-child(2) { margin-left: 16px; }
  .pillar:nth-child(3) { margin-left: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* context graph */
.section-dark {
  color: var(--white);
  background:
    radial-gradient(700px 420px at 80% 50%, rgba(59, 129, 244, 0.28), transparent 65%),
    var(--navy-900);
}
.section-dark h2 { color: var(--white); }
.section-dark .body { color: rgba(255, 255, 255, 0.78); }
.checks-dark li { color: rgba(255, 255, 255, 0.85); font-weight: 400; }
.checks-dark strong { color: var(--white); font-weight: 650; }
.graph { width: 100%; max-width: 460px; justify-self: center; }
.graph .edges line { stroke: rgba(184, 206, 241, 0.35); stroke-width: 1.5; }
.graph .node circle { fill: var(--navy-700); stroke: var(--blue); stroke-width: 1.5; }
.graph .node-core circle { fill: var(--blue-strong); stroke: var(--blue-soft); }
.graph text { fill: var(--white); font-size: 12.5px; font-weight: 600; text-anchor: middle; font-family: Inter, sans-serif; }
.graph .node-core text { font-size: 14px; }

/* FAQ */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-weight: 650; color: var(--navy-900); font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--blue-strong); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }
@media (max-width: 980px) { .site-header nav { display: none; } }
