:root {
  --navy-950: #09182a;
  --navy-900: #0e1f33;
  --navy-800: #17334e;
  --navy-700: #244a6c;
  --blue-500: #7fa6c8;
  --blue-100: #dbe8f2;
  --gold-600: #b77a2f;
  --gold-500: #c99a55;
  --gold-200: #ead4b4;
  --sand: #e7dcc5;
  --ivory: #f6f2ec;
  --paper: #fffdfa;
  --white: #ffffff;
  --ink: #102238;
  --muted: #617081;
  --line: #dfd8cd;
  --green: #3a8c63;
  --red: #b9544c;
  --shadow-sm: 0 10px 30px rgba(20, 34, 52, 0.08);
  --shadow-md: 0 22px 70px rgba(15, 31, 50, 0.13);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1220px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  background: var(--navy-900);
  color: white;
  border-radius: 8px;
  transform: translateY(-140%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 120px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 253, 250, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(23, 51, 78, .1);
  box-shadow: 0 10px 30px rgba(13, 28, 46, .05);
}
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-900); }
.brand img { width: 38px; height: 46px; object-fit: contain; }
.brand span { font-family: var(--serif); font-size: 25px; letter-spacing: .12em; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.button) { font-size: 14px; font-weight: 650; color: #3a4b5e; transition: color .2s ease; }
.site-nav > a:not(.button):hover { color: var(--navy-900); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-button span { display: block; width: 24px; height: 2px; background: var(--navy-900); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--navy-900);
  border-radius: 11px;
  background: var(--navy-900);
  color: white;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .01em;
  box-shadow: 0 10px 25px rgba(14, 31, 51, .16);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--navy-800); box-shadow: 0 16px 34px rgba(14, 31, 51, .22); }
.button:focus-visible, .text-link:focus-visible, .site-nav a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid rgba(127, 166, 200, .55); outline-offset: 3px; }
.button svg { width: 18px; }
.button-small { min-height: 42px; padding-inline: 17px; border-radius: 9px; }
.button-wide { width: 100%; }
.button-light { background: var(--white); border-color: var(--white); color: var(--navy-900); box-shadow: none; }
.button-light:hover { background: var(--ivory); box-shadow: none; }
.text-link { font-size: 14px; font-weight: 750; border-bottom: 1px solid var(--gold-500); padding-bottom: 3px; }

.hero {
  position: relative;
  min-height: 920px;
  padding: 145px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 25%, rgba(127, 166, 200, .17), transparent 30%),
    radial-gradient(circle at 12% 2%, rgba(201, 154, 85, .10), transparent 23%),
    var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 270px;
  background: linear-gradient(180deg, transparent, rgba(246, 242, 236, .64));
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 70px; }
.hero-copy { padding-bottom: 70px; }
h1, h2, h3, h4 { margin: 0; color: var(--navy-900); }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 { max-width: 760px; font-size: clamp(54px, 5.3vw, 82px); line-height: .99; letter-spacing: -.045em; }
h1 em { color: var(--gold-600); font-style: italic; font-weight: 400; }
.hero-lead { max-width: 675px; margin: 30px 0 0; font-size: 19px; line-height: 1.75; color: #4f5f70; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 35px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; color: #546476; font-size: 13px; font-weight: 650; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span:not(:first-child)::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--gold-500); margin-right: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(58, 140, 99, .12); }
.platform-line { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 24px; color: #7a8692; font-size: 12px; }
.platform-line strong { color: var(--navy-800); font-size: 12px; }
.platform-line i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-500); }

.hero-visual { position: relative; min-height: 675px; display: flex; justify-content: center; align-items: flex-end; }
.hero-owl { position: relative; z-index: 2; width: min(500px, 96%); max-height: 690px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 24px 28px rgba(31, 43, 56, .16)); }
.floating-card { position: absolute; z-index: 4; border: 1px solid rgba(23, 51, 78, .12); background: rgba(255, 255, 255, .86); backdrop-filter: blur(13px); -webkit-backdrop-filter: blur(13px); box-shadow: var(--shadow-md); }
.local-card { left: -20px; top: 90px; display: flex; align-items: center; gap: 12px; width: 250px; padding: 14px 16px; border-radius: 15px; animation: float 5s ease-in-out infinite; }
.card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-100); color: var(--navy-800); }
.card-icon svg { width: 23px; }
.local-card strong { display: block; font-size: 13px; }
.local-card span { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.evidence-card { right: -25px; top: 290px; width: 255px; padding: 16px; border-radius: 15px; animation: float 5.8s ease-in-out .6s infinite; }
.evidence-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.evidence-top strong { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: white; background: var(--navy-900); font-size: 12px; }
.evidence-line { display: flex; gap: 5px; height: 5px; margin: 14px 0 11px; }
.evidence-line span { flex: 1; border-radius: 10px; background: var(--gold-500); }
.evidence-line span:nth-child(2) { background: var(--blue-500); }
.evidence-line span:nth-child(3) { background: var(--navy-800); flex: .55; }
.evidence-card small { color: var(--muted); font-size: 10.5px; }
.privacy-chip { position: absolute; z-index: 4; right: 5px; bottom: 55px; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 999px; background: var(--navy-900); color: white; box-shadow: var(--shadow-sm); font-size: 11px; font-weight: 700; }
.privacy-chip svg { width: 17px; color: var(--gold-200); }
.hero-orbit { position: absolute; border: 1px solid rgba(36, 74, 108, .08); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { width: 760px; height: 760px; right: -230px; top: 20px; }
.hero-orbit-two { width: 540px; height: 540px; right: -110px; top: 130px; }

.promise-rail { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.promise-rail > div { padding: 30px 28px 36px; border-right: 1px solid var(--line); }
.promise-rail > div:first-child { padding-left: 0; }
.promise-rail > div:last-child { border-right: 0; }
.promise-rail span { display: block; margin-bottom: 9px; color: var(--gold-600); font-family: var(--serif); font-size: 12px; }
.promise-rail strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.promise-rail p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.section-heading { margin-bottom: 60px; }
.section-heading h2 { font-size: clamp(40px, 4vw, 58px); line-height: 1.08; letter-spacing: -.03em; }
.section-heading p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.split-heading { display: grid; grid-template-columns: 1fr .68fr; gap: 90px; align-items: end; }
.split-heading p { margin: 0 0 4px; }
.centered-heading { max-width: 850px; margin-left: auto; margin-right: auto; text-align: center; }
.centered-heading p { max-width: 660px; margin: 24px auto 0; }

.product-section { background: var(--white); }
.demo-tabs { display: flex; gap: 7px; width: fit-content; margin: 0 0 20px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--ivory); }
.demo-tabs button { border: 0; border-radius: 8px; padding: 9px 15px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 750; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.demo-tabs button[aria-selected="true"] { background: var(--white); color: var(--navy-900); box-shadow: 0 5px 15px rgba(14, 31, 51, .08); }
.workspace-shell { position: relative; overflow: hidden; border: 1px solid #cfd5db; border-radius: 18px; background: #f6f7f8; box-shadow: 0 30px 100px rgba(14, 31, 51, .16); }
.workspace-topbar { height: 54px; display: grid; grid-template-columns: 140px 1fr 140px; align-items: center; border-bottom: 1px solid #dce0e4; background: rgba(255,255,255,.92); padding: 0 16px; }
.window-controls { display: flex; gap: 7px; }
.window-controls span { width: 9px; height: 9px; border-radius: 50%; background: #d9b985; }
.window-controls span:nth-child(2) { background: #9eb4c8; }
.window-controls span:nth-child(3) { background: #b5c4b7; }
.workspace-path { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 11px; color: #718090; }
.workspace-path img { width: 18px; height: 22px; object-fit: contain; }
.workspace-path span { color: var(--navy-900); font-weight: 750; }
.workspace-path b { font-weight: 400; color: #adb6bf; }
.workspace-path strong { font-weight: 600; }
.local-status { display: flex; justify-content: flex-end; align-items: center; gap: 7px; color: #4f705e; font-size: 10.5px; font-weight: 750; }
.local-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(58, 140, 99, .1); }
.workspace-body { display: grid; grid-template-columns: 210px minmax(0, 1fr) 250px; min-height: 620px; }
.workspace-sidebar { display: flex; flex-direction: column; border-right: 1px solid #dce0e4; background: #f1f3f5; padding: 22px 14px 16px; }
.sidebar-label { padding: 0 9px 10px; color: #8b97a2; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.folder-row { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; font-size: 11px; font-weight: 750; cursor: pointer; }
.folder-row.is-active { background: #e2e8ee; }
.folder-row svg { width: 16px; color: var(--navy-700); fill: rgba(36,74,108,.08); }
.file-tree { display: grid; gap: 4px; margin-top: 8px; }
.file-tree > span { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 8px 7px 20px; color: #657483; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 17px; height: 20px; border-radius: 3px; color: white; font-style: normal; font-size: 7px; font-weight: 850; }
.file-icon.docx { background: #5077aa; }
.file-icon.pdf { background: #c2635b; }
.file-icon.sheet { background: #5d926e; }
.file-icon.note { background: #7b7f8e; }
.scope-note { display: flex; align-items: flex-start; gap: 9px; margin-top: auto; padding: 12px; border: 1px solid #d5dbe1; border-radius: 9px; background: rgba(255,255,255,.68); color: #7c8995; font-size: 9px; line-height: 1.45; }
.scope-note svg { flex: 0 0 15px; width: 15px; color: var(--navy-700); }
.workspace-editor { min-width: 0; background: #eceff1; }
.editor-toolbar { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 22px; border-bottom: 1px solid #dce0e4; background: rgba(255,255,255,.8); }
.doc-kicker { color: #909aa4; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.editor-toolbar h3 { margin-top: 2px; font-family: var(--serif); font-size: 17px; font-weight: 500; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #d8dde2; border-radius: 8px; background: white; cursor: pointer; }
.icon-button svg { width: 18px; }
.editor-page { width: min(590px, calc(100% - 40px)); min-height: 500px; margin: 24px auto 34px; padding: 38px 44px; background: white; border: 1px solid #e2e4e7; box-shadow: 0 14px 35px rgba(29,42,55,.09); }
.document-meta { display: flex; gap: 8px; margin-bottom: 25px; }
.document-meta span { padding: 5px 8px; border: 1px solid #e4ded3; border-radius: 999px; color: #7d746a; background: #fbf8f3; font-size: 8px; font-weight: 700; }
.editor-page h4 { font-family: var(--serif); font-size: 16px; font-weight: 500; margin-top: 22px; }
.editor-page > p { color: #5e6a76; font-size: 10.5px; line-height: 1.75; }
.suggestion-block { margin: 22px 0 28px; padding: 15px; border: 1px solid #dbc79f; border-radius: 9px; background: #fcf8f0; transition: background .2s ease, border .2s ease; }
.suggestion-block.is-applied { background: #f1f8f4; border-color: #a7c8b1; }
.suggestion-header { display: flex; align-items: center; gap: 7px; }
.suggestion-header strong { font-size: 10px; }
.feather-mini { color: var(--gold-600); font-size: 15px; }
.source-count { margin-left: auto; color: var(--gold-600); font-size: 8px; font-weight: 750; }
.suggestion-block p { margin: 9px 0; color: #59636c; font-size: 9.5px; line-height: 1.65; }
.suggestion-actions { display: flex; gap: 8px; }
.suggestion-actions button { padding: 6px 9px; border: 1px solid #d5c29b; border-radius: 6px; background: white; color: var(--navy-800); font-size: 8px; font-weight: 750; cursor: pointer; }
.suggestion-actions button:first-child { background: var(--navy-900); border-color: var(--navy-900); color: white; }
.lesson-list { display: grid; gap: 10px; margin: 13px 0 0; padding: 0; list-style: none; }
.lesson-list li { display: flex; gap: 10px; }
.lesson-list li > span { display: grid; place-items: center; flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--navy-900); color: white; font-size: 8px; }
.lesson-list p { margin: 0; color: #63707c; font-size: 9.5px; }
.lesson-list strong { color: var(--navy-800); }
.workspace-inspector { border-left: 1px solid #dce0e4; background: #f8f9fa; }
.inspector-header { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid #dce0e4; }
.inspector-header span { font-size: 10px; font-weight: 800; }
.inspector-header strong { color: var(--muted); font-size: 9px; }
.inspector-content { padding: 20px 17px; }
.permission-visual { padding: 18px 13px; border: 1px solid #e0e3e6; border-radius: 10px; background: white; text-align: center; }
.folder-icon-large { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px; background: var(--blue-100); color: var(--navy-700); }
.folder-icon-large svg { width: 28px; fill: rgba(36,74,108,.08); }
.permission-visual strong { display: block; font-family: var(--serif); font-size: 14px; }
.permission-visual p { margin: 7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.boundary-list { display: grid; gap: 10px; margin-top: 18px; }
.boundary-list span { display: flex; gap: 8px; color: #6f7c88; font-size: 9px; }
.boundary-list i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #e7f2eb; color: var(--green); font-style: normal; font-size: 8px; }
.boundary-list span:nth-last-child(-n+2) i { background: #f4e8e6; color: var(--red); }
.workspace-toast { position: absolute; right: 24px; bottom: 24px; z-index: 8; padding: 11px 14px; border-radius: 9px; background: var(--navy-900); color: white; box-shadow: var(--shadow-md); font-size: 10px; font-weight: 700; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.workspace-toast.is-visible { opacity: 1; transform: translateY(0); }

.principles-section { background: var(--ivory); }
.principle-list { border-top: 1px solid #d7cfc3; }
.principle-row { display: grid; grid-template-columns: 80px .95fr 1.1fr; gap: 35px; align-items: center; min-height: 155px; border-bottom: 1px solid #d7cfc3; }
.principle-number { color: var(--gold-600); font-family: var(--serif); font-size: 14px; }
.principle-title { display: flex; align-items: center; gap: 18px; }
.principle-title svg { flex: 0 0 34px; width: 34px; color: var(--navy-700); stroke-width: 1.5; }
.principle-title h3 { font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.15; }
.principle-row > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

.workflow-section { background: white; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.workflow-step { min-width: 0; }
.step-image { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 18px; background: linear-gradient(180deg, #f8f3ec, #efe7dd); }
.step-image::after { content: ""; position: absolute; inset: auto 0 0; height: 25%; background: linear-gradient(transparent, rgba(14,31,51,.06)); }
.step-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s ease; }
.workflow-step:hover img { transform: scale(1.025); }
.workflow-step > span { display: block; margin-top: 18px; color: var(--gold-600); font-family: var(--serif); font-size: 12px; }
.workflow-step h3 { margin-top: 5px; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.workflow-step p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.trace-section { overflow: hidden; background: var(--navy-900); color: white; }
.trace-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; align-items: center; }
.trace-copy h2 { color: white; font-family: var(--serif); font-size: clamp(42px, 4.4vw, 62px); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; }
.trace-copy > p { margin: 25px 0 0; color: #b9c5d0; font-size: 16px; line-height: 1.75; }
.trace-list { display: grid; gap: 15px; margin: 32px 0 0; padding: 0; list-style: none; }
.trace-list li { display: flex; align-items: center; gap: 12px; color: #d3dce4; font-size: 13px; }
.trace-list span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(234,212,180,.35); border-radius: 50%; color: var(--gold-200); font-family: var(--serif); font-size: 11px; }
.trace-visual { position: relative; min-height: 510px; }
.trace-visual::before, .trace-visual::after { content: ""; position: absolute; border: 1px solid rgba(127,166,200,.14); border-radius: 50%; }
.trace-visual::before { width: 570px; height: 570px; left: 40px; top: -30px; }
.trace-visual::after { width: 380px; height: 380px; left: 135px; top: 65px; }
.trace-node { position: absolute; z-index: 2; width: 220px; padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.07); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 50px rgba(0,0,0,.15); }
.trace-node small { color: var(--gold-200); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.trace-node strong { display: block; margin-top: 7px; color: white; font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.trace-node span { display: block; margin-top: 5px; color: #aabac8; font-size: 10px; }
.trace-node p { margin: 7px 0 0; color: #d3dce4; font-family: var(--serif); font-size: 15px; line-height: 1.45; }
.source-node { left: 0; top: 75px; }
.extract-node { left: 290px; top: 185px; }
.proposal-node { right: 0; bottom: 70px; width: 245px; }
.trace-arrow { position: absolute; z-index: 3; left: 211px; top: 145px; color: var(--gold-200); }
.trace-arrow svg { width: 70px; }
.trace-arrow-two { left: auto; right: 232px; top: 290px; transform: rotate(32deg); }
.trace-seal { position: absolute; z-index: 2; left: 180px; bottom: 35px; display: flex; align-items: center; gap: 10px; color: #b9c5d0; font-size: 10px; }
.trace-seal img { width: 27px; height: 33px; object-fit: contain; filter: brightness(0) invert(1); opacity: .82; }

.position-section { background: var(--paper); }
.position-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: stretch; }
.position-intro { position: relative; display: flex; min-height: 470px; align-items: flex-end; overflow: hidden; border-radius: 22px; background: var(--ivory); padding: 40px; }
.position-intro img { position: absolute; left: -20px; bottom: 0; width: 62%; height: 95%; object-fit: contain; object-position: left bottom; }
.position-intro > div { position: relative; z-index: 2; width: 62%; margin-left: auto; padding-left: 25px; }
.position-intro h2 { font-size: 44px; line-height: 1.05; }
.position-intro p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.position-comparison { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; }
.position-comparison > div { padding: 42px 34px; }
.position-comparison > div + div { border-left: 1px solid var(--line); }
.comparison-label { display: inline-block; margin-bottom: 25px; color: var(--gold-600); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.position-comparison ul { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.position-comparison li { position: relative; padding-left: 24px; color: #4f5e6d; font-size: 14px; line-height: 1.55; }
.position-comparison li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 850; }
.comparison-negative li::before { content: "—"; color: var(--red); }
.product-board { margin: 75px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow-sm); }
.product-board img { width: 100%; aspect-ratio: 16 / 9.2; object-fit: cover; }
.product-board figcaption { padding: 15px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; }

.pricing-section { background: var(--ivory); }
.pricing-grid { display: grid; grid-template-columns: 1fr 470px; gap: 110px; align-items: center; }
.pricing-copy h2 { font-family: var(--serif); font-size: clamp(44px, 4.5vw, 64px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.pricing-copy > p { max-width: 590px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.platform-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; }
.platform-cards > div { padding: 18px; border: 1px solid #d6cec1; border-radius: 13px; background: rgba(255,255,255,.55); }
.platform-cards span { display: block; color: var(--navy-700); font-size: 22px; line-height: 1; }
.platform-cards strong { display: block; margin-top: 11px; font-size: 13px; }
.platform-cards small { color: var(--muted); font-size: 9px; }
.price-card { padding: 38px; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: var(--navy-900); color: white; box-shadow: 0 30px 80px rgba(14,31,51,.23); }
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.price-top > span { color: #bac7d1; font-size: 12px; font-weight: 750; }
.price-top strong { padding: 7px 10px; border: 1px solid rgba(234,212,180,.25); border-radius: 999px; color: var(--gold-200); font-size: 10px; }
.price-value { display: flex; align-items: baseline; gap: 4px; margin-top: 28px; }
.price-value > span { color: var(--gold-200); font-family: var(--serif); font-size: 28px; }
.price-value b { font-family: var(--serif); font-size: 66px; font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.price-value small { margin-left: 6px; color: #9eafbd; font-size: 11px; }
.price-note { margin: 13px 0 24px; color: #9eafbd; font-size: 10.5px; line-height: 1.6; }
.price-card ul { display: grid; gap: 12px; margin: 0 0 30px; padding: 23px 0 0; border-top: 1px solid rgba(255,255,255,.11); list-style: none; }
.price-card li { position: relative; padding-left: 24px; color: #d2dbe2; font-size: 12px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-200); font-weight: 850; }
.price-card .button { background: white; border-color: white; color: var(--navy-900); box-shadow: none; }
.price-fine { display: block; margin-top: 13px; color: #93a4b2; font-size: 9px; text-align: center; }

.faq-section { background: white; }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 110px; align-items: start; }
.faq-heading { position: sticky; top: 120px; }
.faq-heading h2 { font-family: var(--serif); font-size: clamp(42px, 4.2vw, 58px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.faq-heading p { margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 86px; padding: 0 56px 0 0; color: var(--navy-900); font-family: var(--serif); font-size: 20px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span, summary span::after { position: absolute; right: 4px; width: 18px; height: 1px; background: var(--navy-700); content: ""; transition: transform .2s ease; }
summary span::after { right: 0; transform: rotate(90deg); }
details[open] summary span::after { transform: rotate(0); }
details p { max-width: 760px; margin: -10px 0 28px; padding-right: 50px; color: var(--muted); font-size: 14px; line-height: 1.75; }

.cta-section { position: relative; overflow: hidden; background: var(--navy-900); color: white; }
.cta-inner { min-height: 440px; display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; position: relative; z-index: 2; }
.cta-copy img { width: 38px; height: 46px; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 20px; }
.cta-copy h2 { color: white; font-family: var(--serif); font-size: clamp(42px, 4.5vw, 64px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.cta-copy p { margin: 20px 0 0; color: #afbeca; font-size: 15px; }
.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; min-width: 270px; }
.copy-email { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: transparent; color: #d5dfe7; font-size: 11px; cursor: pointer; }
.copy-email:hover { background: rgba(255,255,255,.06); }
.copy-email svg { width: 16px; }
.cta-orbit { position: absolute; width: 660px; height: 660px; right: -230px; top: -110px; border: 1px solid rgba(127,166,200,.10); border-radius: 50%; }
.cta-orbit::after { content: ""; position: absolute; inset: 90px; border: 1px solid rgba(127,166,200,.08); border-radius: 50%; }

.site-footer { padding: 70px 0 25px; background: #091728; color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 100px; padding-bottom: 50px; }
.brand-footer { color: white; }
.brand-footer img { filter: brightness(0) invert(1); }
.footer-brand p { margin: 18px 0 0; color: #8fa0ae; font-size: 13px; line-height: 1.65; }
.footer-links { display: grid; grid-template-columns: repeat(2, 150px); gap: 55px; }
.footer-links > div { display: grid; align-content: start; gap: 9px; }
.footer-links strong { margin-bottom: 7px; color: #e2e8ed; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { color: #8fa0ae; font-size: 12px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.08); color: #728593; font-size: 10px; }

.reveal, .js .reveal, .js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.legal-page { min-height: 100vh; padding: 130px 0 90px; background: var(--paper); }
.legal-shell { max-width: 850px; }
.legal-shell h1 { font-size: clamp(48px, 6vw, 72px); }
.legal-shell .legal-meta { margin-top: 20px; color: var(--muted); font-size: 13px; }
.legal-content { margin-top: 50px; }
.legal-content h2 { margin-top: 38px; font-size: 27px; }
.legal-content p, .legal-content li { color: #526273; font-size: 15px; line-height: 1.8; }
.legal-content ul { padding-left: 22px; }
.legal-notice { padding: 16px 18px; border-left: 3px solid var(--gold-500); background: var(--ivory); color: #5b6672; }

@media (max-width: 1100px) {
  .site-nav { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr .85fr; gap: 20px; }
  .hero-visual { min-height: 630px; }
  .local-card { left: -35px; }
  .evidence-card { right: -20px; }
  .workspace-body { grid-template-columns: 180px minmax(0,1fr) 220px; }
  .editor-page { padding: 32px; }
  .position-grid { grid-template-columns: 1fr; }
  .position-intro { min-height: 420px; }
  .pricing-grid { gap: 65px; }
  .trace-grid { gap: 55px; }
  .trace-visual { transform: scale(.9); transform-origin: center; }
}

@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .section { padding: 88px 0; }
  .menu-button { display: block; z-index: 1002; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    background: rgba(255,253,250,.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav > a:not(.button) { font-family: var(--serif); font-size: 28px; font-weight: 500; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: auto; padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; padding-bottom: 0; }
  h1 { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-proof, .platform-line { justify-content: center; }
  .hero-visual { min-height: 630px; margin-top: 25px; }
  .local-card { left: 4%; }
  .evidence-card { right: 3%; }
  .promise-rail { grid-template-columns: repeat(2, 1fr); }
  .promise-rail > div { border-bottom: 1px solid var(--line); }
  .promise-rail > div:nth-child(2) { border-right: 0; }
  .promise-rail > div:first-child { padding-left: 28px; }

  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .demo-tabs { width: 100%; overflow-x: auto; }
  .demo-tabs button { flex: 0 0 auto; }
  .workspace-body { grid-template-columns: 160px minmax(0, 1fr); }
  .workspace-inspector { display: none; }
  .workspace-topbar { grid-template-columns: 90px 1fr 90px; }
  .workspace-path strong { display: none; }

  .principle-row { grid-template-columns: 55px 1fr; gap: 20px; padding: 28px 0; }
  .principle-row > p { grid-column: 2; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); gap: 38px 18px; }
  .trace-grid { grid-template-columns: 1fr; }
  .trace-visual { width: 700px; max-width: 100%; margin: 0 auto; transform: scale(.9); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { max-width: 520px; }
  .faq-grid { grid-template-columns: 1fr; gap: 50px; }
  .faq-heading { position: static; }
  .cta-inner { grid-template-columns: 1fr; padding: 85px 0; }
  .cta-actions { align-items: flex-start; width: min(100%, 360px); }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 24px)); }
  .header-inner { height: 68px; }
  .brand span { font-size: 21px; }
  .brand img { width: 32px; height: 40px; }
  .hero { padding-top: 105px; }
  h1 { font-size: 48px; }
  .hero-lead { font-size: 16px; line-height: 1.7; }
  .hero-actions { flex-direction: column; gap: 17px; }
  .hero-proof { display: grid; gap: 8px; }
  .hero-proof span:not(:first-child)::before { display: none; }
  .hero-visual { min-height: 550px; }
  .hero-owl { width: 430px; max-width: 115%; }
  .local-card { left: 0; top: 55px; width: 205px; padding: 11px; }
  .card-icon { width: 36px; height: 36px; }
  .local-card strong { font-size: 11px; }
  .evidence-card { right: 0; top: 285px; width: 205px; padding: 12px; }
  .privacy-chip { right: 0; bottom: 35px; }
  .promise-rail { grid-template-columns: 1fr; }
  .promise-rail > div, .promise-rail > div:first-child { padding: 22px 5px; border-right: 0; }

  .section { padding: 76px 0; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .position-intro h2 { font-size: 38px; }
  .section-heading p { font-size: 15px; }

  .workspace-shell { border-radius: 13px; }
  .workspace-topbar { grid-template-columns: 65px 1fr 78px; padding: 0 10px; }
  .workspace-body { display: block; min-height: 560px; }
  .workspace-sidebar { display: none; }
  .editor-toolbar { padding: 13px 15px; }
  .editor-toolbar h3 { max-width: 270px; font-size: 15px; }
  .editor-page { width: calc(100% - 20px); margin: 10px auto 20px; padding: 26px 22px; }
  .workspace-toast { right: 12px; left: 12px; bottom: 12px; text-align: center; }

  .principle-row { grid-template-columns: 40px 1fr; gap: 14px; }
  .principle-title { gap: 12px; }
  .principle-title svg { width: 29px; flex-basis: 29px; }
  .principle-title h3 { font-size: 22px; }
  .principle-row > p { font-size: 13px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .step-image { aspect-ratio: 1 / .88; }
  .step-image img { object-position: center 18%; }

  .trace-visual { min-height: 650px; transform: none; }
  .trace-visual::before { width: 470px; height: 470px; left: -70px; top: 70px; }
  .trace-visual::after { display: none; }
  .source-node { left: 0; top: 20px; }
  .extract-node { left: auto; right: 0; top: 220px; }
  .proposal-node { left: 15px; right: auto; bottom: 30px; }
  .trace-arrow { left: 115px; top: 177px; transform: rotate(68deg); }
  .trace-arrow-two { left: 115px; right: auto; top: 390px; transform: rotate(105deg); }
  .trace-seal { left: auto; right: 0; bottom: 115px; }

  .position-intro { min-height: 560px; padding: 28px; align-items: flex-start; }
  .position-intro img { width: 100%; height: 68%; left: 0; }
  .position-intro > div { width: 100%; margin: auto 0 0; padding: 0; text-align: center; }
  .position-comparison { grid-template-columns: 1fr; }
  .position-comparison > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .product-board img { aspect-ratio: 4 / 3; }

  .platform-cards { grid-template-columns: 1fr; }
  .price-card { padding: 28px 22px; }
  .price-value b { font-size: 56px; }
  summary { min-height: 74px; font-size: 18px; }
  details p { padding-right: 15px; }
  .cta-inner { min-height: auto; }
  .cta-copy h2 { font-size: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
/* Transparent mascot assets */
.hero-owl { background: transparent; }
.step-image img { object-fit: contain; object-position: center bottom; padding: 10px 5px 0; }
.position-intro img { object-fit: contain; }
