:root {
  --ink: #14243c;
  --ink-soft: #56647a;
  --navy: #15253f;
  --navy-deep: #0b1628;
  --blue: #315fc9;
  --blue-light: #e8efff;
  --paper: #f5f2eb;
  --white: #fff;
  --line: #d8dde5;
  --gold: #c79a4a;
  --radius: 22px;
  --shadow: 0 24px 70px rgb(13 27 48 / 14%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgb(49 95 201 / 10%), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgb(20 36 60 / 9%);
  background: rgb(245 242 235 / 90%);
  backdrop-filter: blur(16px);
}
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font: 700 19px/1 Georgia, serif; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: white; background: var(--navy); }
nav { display: flex; gap: 28px; align-items: center; }
nav a { color: #46556b; font-size: 14px; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--blue); }
.nav-cta { padding: 10px 16px; border: 1px solid #bcc7d8; border-radius: 999px; color: var(--ink) !important; background: rgb(255 255 255 / 50%); }

.hero { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(40px, 7vw, 88px); align-items: center; min-height: 680px; padding-block: 84px 96px; }
.eyebrow { display: flex; gap: 10px; align-items: center; margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 2px; background: currentColor; }
h1, h2, h3 { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 24px; font: 600 clamp(46px, 5.2vw, 75px)/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.hero-lead { max-width: 650px; margin: 0 0 32px; color: var(--ink-soft); font-size: clamp(17px, 1.6vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 750; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 12px 28px rgb(49 95 201 / 23%); }
.button-secondary { border: 1px solid #c8ced8; background: rgb(255 255 255 / 55%); }
.trust-list { display: flex; flex-wrap: wrap; gap: 22px; margin: 30px 0 0; padding: 0; color: #657186; font-size: 13px; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--blue); font-weight: 900; }

.hero-visual { position: relative; padding: 20px; overflow: hidden; border: 1px solid rgb(255 255 255 / 18%); border-radius: 30px; color: white; background: linear-gradient(145deg, #172a48, #0b1628 76%); box-shadow: var(--shadow); }
.hero-visual::after { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgb(49 95 201 / 34%); filter: blur(50px); content: ""; right: -80px; top: -70px; }
.visual-topline { position: relative; z-index: 1; display: flex; gap: 9px; align-items: center; padding: 4px 2px 18px; color: #dbe5f7; font-size: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #69d3a0; box-shadow: 0 0 0 5px rgb(105 211 160 / 12%); }
.visual-status { margin-left: auto; color: #8edbb2; }
.visual-document { position: relative; z-index: 1; display: flex; gap: 14px; align-items: center; padding: 15px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 17px; background: rgb(255 255 255 / 7%); }
.document-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #a9c0ff; background: rgb(49 95 201 / 22%); font: 700 23px Georgia, serif; }
.visual-document strong, .visual-document span { display: block; }
.visual-document span { margin-top: 2px; color: #92a4bf; font-size: 12px; }
.matrix-card { position: relative; z-index: 1; margin-top: 14px; padding: 18px; border-radius: 18px; color: var(--ink); background: #f8f6f0; }
.matrix-heading { display: flex; justify-content: space-between; margin-bottom: 13px; font-size: 13px; font-weight: 800; }
.version { color: var(--blue); }
.matrix-row { display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: start; padding: 11px 0; border-top: 1px solid #e0e4ea; }
.matrix-row p { margin: 0; font-size: 12px; }
.fact-tag { padding: 3px 5px; border-radius: 5px; font-size: 9px; font-weight: 850; text-align: center; text-transform: uppercase; }
.explicit { color: #14754d; background: #dbf4e7; }
.inferred { color: #315fc9; background: #e3eaff; }
.uncertain { color: #8a5a14; background: #f9e8c7; }
.search-chip { position: relative; z-index: 1; display: flex; gap: 8px; align-items: center; margin-top: 14px; padding: 12px 14px; border: 1px solid rgb(255 255 255 / 11%); border-radius: 14px; color: #dce7fa; background: rgb(255 255 255 / 6%); font-size: 12px; }
.search-chip b { margin-left: auto; color: #93acf1; }

.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid #d7d8d5; background: rgb(255 255 255 / 28%); }
.proof-strip div { display: flex; flex-direction: column; min-height: 116px; align-items: center; justify-content: center; border-right: 1px solid #d7d8d5; text-align: center; }
.proof-strip div:last-child { border: 0; }
.proof-strip strong { font: 600 24px Georgia, serif; }
.proof-strip span { margin-top: 4px; color: #697588; font-size: 12px; }

.section { padding-block: 112px; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading h2, .final-cta h2 { margin-bottom: 16px; font: 600 clamp(35px, 4vw, 52px)/1.08 Georgia, serif; letter-spacing: -.025em; }
.section-heading > p:last-child, .final-cta p { color: var(--ink-soft); font-size: 17px; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.workflow-grid li { min-height: 210px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgb(255 255 255 / 48%); transition: border-color .18s ease, transform .18s ease; }
.workflow-grid li:hover { transform: translateY(-3px); border-color: #aab9d1; }
.workflow-grid li > span { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.workflow-grid h3 { margin: 37px 0 8px; font: 600 23px Georgia, serif; }
.workflow-grid p { margin: 0; color: #647085; font-size: 14px; }

.principles { color: white; background: var(--navy-deep); }
.principles-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.section-heading.light { margin: 0; }
.section-heading.light h2 { color: white; }
.section-heading.light > p:last-child { color: #a9b7ca; }
.principle-cards { display: grid; gap: 12px; }
.principle-cards article { display: grid; grid-template-columns: 42px 1fr; gap: 0 14px; padding: 23px; border: 1px solid rgb(255 255 255 / 11%); border-radius: 18px; background: rgb(255 255 255 / 5%); }
.principle-cards article > span { grid-row: 1 / 3; color: #7899f1; font-size: 11px; font-weight: 800; }
.principle-cards h3 { margin-bottom: 6px; font: 600 20px Georgia, serif; }
.principle-cards p { margin: 0; color: #9fadc0; font-size: 14px; }

.final-cta { display: flex; gap: 36px; align-items: center; justify-content: space-between; padding-block: 100px; }
.final-cta > div { max-width: 780px; }
.final-cta h2 { margin-bottom: 8px; }
.final-cta p { margin: 0; }
code { padding: 2px 6px; border: 1px solid #d0d5dc; border-radius: 6px; color: var(--ink); background: rgb(255 255 255 / 45%); }
footer { display: flex; justify-content: space-between; padding: 28px max(20px, calc((100vw - 1180px) / 2)); border-top: 1px solid #d7d8d5; color: #6f7887; font-size: 12px; }

@media (max-width: 880px) {
  nav > a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 64px 72px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 620px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid #d7d8d5; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-layout { grid-template-columns: 1fr; gap: 48px; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 64px; padding-inline: 14px; }
  .nav-cta { padding: 8px 12px; font-size: 12px; }
  h1 { font-size: clamp(40px, 13vw, 56px); }
  .hero { gap: 46px; padding-block: 52px 62px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { padding: 13px; border-radius: 22px; }
  .matrix-card { padding: 14px; }
  .search-chip { align-items: flex-start; flex-wrap: wrap; }
  .search-chip b { width: 100%; margin-left: 23px; }
  .section { padding-block: 80px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid li { min-height: 180px; }
  footer { gap: 10px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
