:root {
  --bg: #08070d;
  --bg-soft: #0d0b14;
  --panel: rgba(20, 17, 30, 0.78);
  --panel-solid: #14111e;
  --panel-2: #1a1526;
  --ink: #f4f2f8;
  --muted: #a7a0b3;
  --muted-2: #777080;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --violet: #8c6cff;
  --violet-2: #b69dff;
  --violet-3: #e1d9ff;
  --green: #9ef0c1;
  --danger: #ff9fba;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --radius-sm: 15px;
  --shell: min(1180px, calc(100vw - 44px));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% -10%, rgba(140,108,255,.14), transparent 28rem),
    radial-gradient(circle at -10% 34%, rgba(182,157,255,.08), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: #fff; background: rgba(140,108,255,.72); }

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 999;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  color: #111;
  transition: top .2s ease;
}
.skip-link:focus { top: 18px; }

.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding: 132px 0; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 120;
  pointer-events: none;
  background: rgba(255,255,255,.04);
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--violet-3));
  box-shadow: 0 0 18px rgba(182,157,255,.8);
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .12;
  pointer-events: none;
  transform: translate3d(0,0,0);
}
.ambient-a { top: 16%; left: -28rem; background: var(--violet); }
.ambient-b { right: -30rem; top: 58%; background: #6c43ff; }

/* Navigation */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8,7,13,.78);
  backdrop-filter: blur(20px) saturate(140%);
  border-color: rgba(255,255,255,.07);
}
.nav-shell {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 56px; height: 42px; object-fit: contain; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 14px; letter-spacing: .015em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 9px; letter-spacing: .19em; text-transform: uppercase; }
.desktop-nav { justify-self: center; display: flex; gap: 28px; }
.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  height: 1px;
  left: 0;
  right: 100%;
  bottom: -8px;
  background: var(--violet-2);
  transition: right .3s var(--ease);
}
.desktop-nav a:hover { color: var(--ink); }
.desktop-nav a:hover::after { right: 0; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}
.menu-button span { width: 18px; height: 1px; background: currentColor; transition: transform .25s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Buttons */
.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .25s var(--ease), border-color .25s ease, background .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.24) 48%, transparent 76%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.button:hover::before { transform: translateX(120%); }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--violet-2);
  outline-offset: 4px;
}
.button-primary {
  color: #100b1c;
  background: linear-gradient(135deg, #f1edff 0%, #bca7ff 52%, #8b69ff 100%);
  box-shadow: 0 14px 42px rgba(117,84,255,.24), inset 0 1px rgba(255,255,255,.8);
}
.button-primary:hover { box-shadow: 0 18px 54px rgba(117,84,255,.35), inset 0 1px rgba(255,255,255,.85); }
.button-quiet { color: var(--ink); border-color: var(--line-strong); background: rgba(255,255,255,.025); }
.button-quiet:hover { border-color: rgba(182,157,255,.45); background: rgba(140,108,255,.08); }
.button-small { min-height: 42px; padding-inline: 17px; font-size: 12px; }
.button-large { min-height: 58px; padding-inline: 25px; }

/* Reusable */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--violet-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.status-dot, .live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(158,240,193,.08), 0 0 18px rgba(158,240,193,.55);
}
.section-intro { max-width: 780px; margin-bottom: 60px; }
.section-intro.split { max-width: none; display: grid; grid-template-columns: 1.25fr .75fr; gap: 72px; align-items: end; }
.section-intro h2, .assessment-copy h2, .standards-copy h2, .final-inner h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 74px);
  line-height: .99;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.section-intro > p:last-child, .section-intro.split > p, .standards-copy > p:last-child {
  margin: 24px 0 0;
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
}
.section-intro.split > p { margin: 0 0 4px; }

[data-spotlight] {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
}
[data-spotlight]::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(440px circle at var(--mouse-x) var(--mouse-y), rgba(182,157,255,.15), transparent 48%);
  opacity: 0;
  transition: opacity .28s ease;
}
[data-spotlight]:hover::before { opacity: 1; }
[data-spotlight] > * { position: relative; z-index: 1; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .09s; }
.delay-2 { transition-delay: .18s; }
.delay-3 { transition-delay: .27s; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 132px 0 96px;
  overflow: hidden;
}
#knowledge-field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .72; pointer-events: none; }
.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.hero::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -260px;
  top: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140,108,255,.18), transparent 64%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(470px, .98fr);
  gap: 62px;
  align-items: center;
}
.hero-copy h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(54px, 6.4vw, 92px);
  line-height: .92;
  letter-spacing: -.067em;
  text-wrap: balance;
}
.hero-copy h1::first-line { color: #fff; }
.hero-lede {
  max-width: 670px;
  margin: 28px 0 0;
  color: #bbb4c6;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 12px;
}
.trust-line span { position: relative; }
.trust-line span:not(:last-child)::after { content: ""; position: absolute; right: -15px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--violet); }
.trust-line b { color: var(--ink); }

.hero-system {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(26,21,38,.82), rgba(13,11,20,.94));
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.06);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform .5s var(--ease);
}
.hero-system:hover { transform: perspective(1200px) rotateY(-1deg) rotateX(0); }
.system-window { position: relative; overflow: hidden; border-radius: inherit; }
.window-bar {
  min-height: 52px;
  display: grid;
  grid-template-columns: 82px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.018);
}
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); }
.window-title, .window-state { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .13em; }
.window-title { justify-self: center; display: flex; align-items: center; gap: 9px; color: #c8c0d5; }
.window-state { color: var(--green); }
.system-body { padding: 22px; }
.question-line { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.question-line .avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #efeaff; background: rgba(140,108,255,.17); border: 1px solid rgba(182,157,255,.2); font-size: 10px; font-weight: 800; }
.question-line p { margin: 4px 0 0; color: #d8d3df; font-size: 13px; line-height: 1.5; }
.answer-card { margin: 18px 0 0 46px; padding: 18px; border: 1px solid rgba(182,157,255,.18); border-radius: 16px; background: rgba(140,108,255,.06); }
.answer-label { margin-bottom: 10px; color: var(--violet-2); font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; }
.answer-card ol { margin: 0; padding-left: 20px; color: #d0cad7; font-size: 12px; }
.answer-card li { padding-left: 4px; margin: 7px 0; }
.answer-card strong { color: #fff; }
.source-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.source-chip { padding: 7px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #aaa2b8; background: rgba(255,255,255,.025); font-size: 9px; cursor: pointer; }
.source-chip:hover { color: #fff; border-color: rgba(182,157,255,.45); }
.system-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 16px; }
.system-actions button { padding: 10px 8px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: rgba(255,255,255,.018); font-size: 9px; text-align: left; }
.system-actions button span { margin-right: 4px; color: var(--violet-2); font-family: ui-monospace, monospace; }
.system-actions button:hover { color: #fff; border-color: rgba(182,157,255,.35); background: rgba(140,108,255,.06); }
.weave-stream { position: absolute; inset: auto 20px 15px auto; width: 180px; height: 120px; pointer-events: none; opacity: .28; }
.weave-stream span { position: absolute; right: 0; bottom: 0; color: var(--violet-2); font: 700 7px/1 ui-monospace, monospace; letter-spacing: .1em; animation: weave 4.5s var(--ease) infinite; animation-delay: calc(var(--i) * -.82s); }
@keyframes weave { 0% { opacity: 0; transform: translate(0,0) scale(.8); } 18% { opacity: 1; } 70% { opacity: .75; } 100% { opacity: 0; transform: translate(-170px,-105px) scale(.2); } }
.system-caption { display: flex; gap: 10px; align-items: center; margin: 13px 20px 19px; color: var(--muted-2); font-size: 10px; }
.system-caption span { width: 22px; height: 1px; background: var(--violet); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 12px; color: var(--muted-2); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue i { width: 44px; height: 1px; overflow: hidden; background: rgba(255,255,255,.13); }
.scroll-cue i::after { content: ""; display: block; width: 18px; height: 1px; background: var(--violet-2); animation: cue 2s var(--ease) infinite; }
@keyframes cue { from { transform: translateX(-20px); } to { transform: translateX(50px); } }

/* Problem */
.problem { background: linear-gradient(180deg, transparent, rgba(255,255,255,.012) 30%, transparent); }
.friction-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.friction-card {
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  overflow: hidden;
}
.friction-index { color: var(--violet-2); font: 700 10px/1 ui-monospace, monospace; letter-spacing: .12em; }
.friction-card h3 { margin: 54px 0 12px; font-size: 28px; letter-spacing: -.04em; }
.friction-card > p { margin: 0; color: var(--muted); }
.friction-shift { display: grid; grid-template-columns: auto 1fr auto; gap: 5px 10px; align-items: center; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); }
.friction-shift span { color: var(--muted-2); font: 700 8px/1 ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.friction-shift b { color: #c8c1d1; font-size: 12px; }
.friction-shift i { grid-row: 1 / 3; grid-column: 3; color: var(--violet-2); font-style: normal; }

/* Demo */
.demo::before { content: ""; position: absolute; inset: 10% 0 auto; height: 70%; background: radial-gradient(circle at 50% 50%, rgba(140,108,255,.09), transparent 58%); pointer-events: none; }
.demo-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 620px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  background: rgba(13,11,20,.86);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.04);
  overflow: hidden;
}
.demo-sidebar { padding: 28px 18px; border-right: 1px solid var(--line); background: rgba(255,255,255,.018); }
.demo-label { margin: 0 10px 16px; color: var(--muted-2); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.demo-tabs { display: grid; gap: 6px; }
.demo-tab {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.demo-tab:hover { color: #fff; background: rgba(255,255,255,.025); }
.demo-tab[aria-selected="true"] { color: #fff; border-color: rgba(182,157,255,.22); background: rgba(140,108,255,.09); }
.demo-tab-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.035); color: var(--violet-2); font: 700 10px/1 ui-monospace, monospace; }
.demo-tab b { font-size: 12px; }
.demo-tab small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 9px; }
.demo-metric { margin: 28px 10px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.demo-metric span { display: block; color: var(--muted-2); font: 700 8px/1 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.demo-metric strong { display: block; margin-top: 8px; color: #cfc8d9; font-size: 11px; }
.demo-console { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.demo-header, .demo-footer { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.demo-header div { display: flex; align-items: center; gap: 10px; }
.demo-header b { font-size: 11px; letter-spacing: .04em; }
.demo-header > span { color: var(--green); font: 700 8px/1 ui-monospace, monospace; letter-spacing: .12em; }
.demo-content { padding: 28px; }
.prompt-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.prompt-button { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.02); font-size: 10px; cursor: pointer; }
.prompt-button:hover, .prompt-button.active { color: #fff; border-color: rgba(182,157,255,.4); background: rgba(140,108,255,.09); }
.generated-answer { position: relative; min-height: 390px; margin-top: 25px; padding: 26px; border: 1px solid rgba(182,157,255,.16); border-radius: 19px; background: linear-gradient(145deg, rgba(140,108,255,.07), rgba(255,255,255,.016)); overflow: hidden; }
.generated-answer.loading::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(182,157,255,.08), transparent); animation: scan 1.1s linear infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.answer-eyebrow { color: var(--violet-2); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .15em; text-transform: uppercase; }
.generated-answer h3 { margin: 16px 0 11px; max-width: 660px; font-size: clamp(24px, 3vw, 38px); line-height: 1.08; letter-spacing: -.04em; }
.generated-answer > p { max-width: 720px; margin: 0; color: var(--muted); font-size: 14px; }
.output-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 27px; }
.output-card { min-height: 120px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.018); }
.output-card span { display: block; color: var(--muted-2); font: 700 8px/1 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.output-card b { display: block; margin-top: 9px; color: #e6e1ea; font-size: 12px; line-height: 1.5; }
.output-action { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; padding: 13px 15px; border-left: 2px solid var(--violet); background: rgba(140,108,255,.06); }
.output-action span { color: var(--muted-2); font: 700 8px/1 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.output-action b { color: #ded8e7; font-size: 11px; }
.demo-footer { border-top: 1px solid var(--line); border-bottom: 0; }
.source-pulse { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 9px; }
.source-pulse i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 15px rgba(158,240,193,.65); }
.replay-button { border: 0; color: var(--violet-2); background: transparent; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }

/* Build path */
.build-path { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; align-items: stretch; }
.path-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.018);
  overflow: hidden;
}
.path-card-featured { background: linear-gradient(145deg, rgba(140,108,255,.14), rgba(255,255,255,.02)); border-color: rgba(182,157,255,.25); }
.path-top { display: flex; align-items: center; justify-content: space-between; }
.path-top span { color: var(--violet-2); font: 700 10px/1 ui-monospace, monospace; letter-spacing: .12em; }
.path-top em { color: var(--muted-2); font: 700 8px/1 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; font-style: normal; }
.path-card h3 { margin: 48px 0 15px; font-size: 28px; line-height: 1.05; letter-spacing: -.04em; }
.path-price { margin-bottom: 13px; color: #fff; font-size: 31px; font-weight: 800; letter-spacing: -.04em; }
.path-price small { color: var(--muted); font-size: 12px; font-weight: 600; }
.path-card > p { margin: 0; color: var(--muted); }
.path-card ul { display: grid; gap: 10px; margin: 26px 0 30px; padding: 0; list-style: none; }
.path-card li { position: relative; padding-left: 19px; color: #c7c0cf; font-size: 13px; }
.path-card li::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 1px; background: var(--violet-2); }
.path-card .button { margin-top: auto; align-self: flex-start; }
.path-note { margin-top: auto; padding: 16px; border-radius: 13px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 11px; }
.path-note b { color: var(--ink); }

/* Assessment */
.assessment { overflow: hidden; }
.assessment::before { content: ""; position: absolute; inset: 8% -20% auto 40%; height: 82%; background: radial-gradient(circle, rgba(140,108,255,.11), transparent 56%); pointer-events: none; }
.assessment-shell { display: grid; grid-template-columns: 1fr .88fr; gap: 70px; align-items: center; }
.assessment-copy h2 { max-width: 700px; }
.assessment-lede { margin: 25px 0 0; color: var(--muted); font-size: 19px; }
.assessment-questions { display: grid; gap: 0; margin: 30px 0; padding: 0; list-style: none; counter-reset: none; }
.assessment-questions li { display: grid; grid-template-columns: 44px 1fr; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line); color: #d7d1dd; font-size: 14px; }
.assessment-questions li:first-child { border-top: 1px solid var(--line); }
.assessment-questions span { color: var(--violet-2); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .1em; }
.guarantee-box { display: grid; grid-template-columns: 74px 1fr; gap: 17px; align-items: center; margin: 30px 0; padding: 20px; border: 1px solid rgba(158,240,193,.16); border-radius: 17px; background: rgba(158,240,193,.045); }
.guarantee-mark { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; color: var(--green); border: 1px solid rgba(158,240,193,.25); font-size: 24px; font-weight: 900; }
.guarantee-box p { margin: 0; color: var(--muted); font-size: 12px; }
.guarantee-box strong { color: #eefdf4; }
.assessment-panel { padding: 32px; border: 1px solid rgba(255,255,255,.13); border-radius: 26px; background: linear-gradient(145deg, rgba(26,21,38,.9), rgba(13,11,20,.92)); box-shadow: var(--shadow); overflow: hidden; }
.panel-kicker { color: var(--violet-2); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.assessment-panel h3 { margin: 14px 0 27px; font-size: 29px; line-height: 1.08; letter-spacing: -.04em; }
.calculator { display: grid; gap: 12px; }
.calculator label { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 11px; }
.calculator output { color: #fff; font-family: ui-monospace, monospace; font-weight: 800; }
input[type="range"] { width: 100%; height: 18px; margin: 0 0 12px; appearance: none; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--violet), rgba(255,255,255,.12)); }
input[type="range"]::-webkit-slider-thumb { width: 16px; height: 16px; margin-top: -6px; appearance: none; border: 3px solid #1a1526; border-radius: 50%; background: var(--violet-2); box-shadow: 0 0 18px rgba(182,157,255,.55); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 99px; background: rgba(255,255,255,.12); }
input[type="range"]::-moz-range-progress { height: 3px; border-radius: 99px; background: var(--violet); }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 3px solid #1a1526; border-radius: 50%; background: var(--violet-2); }
.calculator-result { margin-top: 18px; padding: 22px; border-radius: 16px; background: rgba(140,108,255,.09); border: 1px solid rgba(182,157,255,.17); }
.calculator-result > span { color: var(--muted-2); font: 700 8px/1 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.calculator-result strong { display: block; margin-top: 8px; font-size: 15px; }
.calculator-result strong b { color: #fff; font-size: 38px; letter-spacing: -.05em; }
.calculator-result p { margin: 6px 0 0; color: var(--muted); font-size: 10px; }
.assessment-timeline { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 16px; }
.assessment-timeline div { padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.015); }
.assessment-timeline span { display: block; color: var(--violet-2); font: 700 8px/1 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.assessment-timeline b { display: block; margin-top: 7px; color: #c8c1d0; font-size: 9px; }

/* Standards */
.standards { background: rgba(255,255,255,.012); }
.standards-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: 90px; align-items: start; }
.standards-copy { position: sticky; top: 140px; }
.standards-copy h2 { font-size: clamp(42px, 4.7vw, 68px); }
.standards-list { display: grid; gap: 10px; }
.standard { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.018); overflow: hidden; }
.standard > span { color: var(--violet-2); font: 700 10px/1 ui-monospace, monospace; letter-spacing: .1em; }
.standard h3 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.standard p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

/* FAQ */
.faq-shell { max-width: 940px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 24px 56px 24px 0; list-style: none; cursor: pointer; font-size: 17px; font-weight: 750; }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; right: 7px; top: 50%; width: 15px; height: 1px; background: var(--violet-2); transition: transform .25s ease; }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0); }
details p { max-width: 750px; margin: -6px 0 25px; color: var(--muted); }

/* Final */
.final-cta { position: relative; min-height: 760px; display: grid; align-items: center; padding: 110px 0; overflow: hidden; background: radial-gradient(circle at 50% 36%, rgba(140,108,255,.17), transparent 33rem); }
.final-cta::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(0,0,0,.34)); pointer-events: none; }
.final-root { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%,-34%); opacity: .17; background: repeating-radial-gradient(ellipse at 50% 45%, transparent 0 37px, rgba(182,157,255,.17) 38px 39px, transparent 40px 70px); mask-image: radial-gradient(circle, #000, transparent 67%); }
.final-inner { position: relative; z-index: 2; text-align: center; }
.final-inner img { width: 210px; margin: 0 auto -12px; filter: drop-shadow(0 20px 40px rgba(140,108,255,.28)); }
.final-inner .eyebrow { justify-content: center; }
.final-inner h2 { max-width: 850px; margin-inline: auto; }
.final-inner > p:not(.eyebrow) { max-width: 670px; margin: 24px auto 34px; color: var(--muted); font-size: 18px; }
.final-proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 34px; margin-top: 28px; color: var(--muted-2); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.final-proof span { position: relative; }
.final-proof span:not(:last-child)::after { content: ""; position: absolute; right: -18px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--violet); }

/* Footer */
.site-footer { padding: 64px 0 30px; border-top: 1px solid var(--line); background: #06050a; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.35fr auto; gap: 42px; align-items: start; }
.footer-grid > p { max-width: 520px; margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: grid; gap: 8px; min-width: 130px; }
.footer-links a { color: var(--muted); font-size: 11px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 9px; }

/* Responsive */
@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .nav-shell { grid-template-columns: auto 1fr auto auto; }
  .nav-shell > .button { justify-self: end; }
  .menu-button { display: flex; }
  .mobile-menu {
    position: fixed;
    inset: 82px 0 auto;
    display: grid;
    gap: 4px;
    padding: 18px 22px 24px;
    background: rgba(8,7,13,.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s var(--ease), opacity .25s ease;
  }
  .mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu > a:not(.button) { padding: 13px 5px; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,.05); font-weight: 700; }
  .mobile-menu .button { margin-top: 12px; }
  .hero-grid { grid-template-columns: 1fr; gap: 55px; padding-top: 50px; }
  .hero-copy { max-width: 850px; }
  .hero-system { width: min(720px, 100%); margin-left: auto; transform: none; }
  .friction-grid, .build-path { grid-template-columns: 1fr; }
  .friction-card { min-height: auto; }
  .friction-card h3 { margin-top: 30px; }
  .assessment-shell, .standards-grid { grid-template-columns: 1fr; gap: 60px; }
  .standards-copy { position: static; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 30px, 720px); }
  .section { padding: 100px 0; }
  .nav-shell { min-height: 72px; grid-template-columns: auto 1fr auto; gap: 10px; }
  .nav-shell > .button { display: none; }
  .mobile-menu { inset: 72px 0 auto; }
  .hero { padding-top: 110px; }
  .hero-grid { padding-top: 20px; }
  .hero-copy h1 { font-size: clamp(50px, 13vw, 76px); }
  .section-intro.split { grid-template-columns: 1fr; gap: 20px; }
  .section-intro.split > p { margin: 0; }
  .demo-layout { grid-template-columns: 1fr; }
  .demo-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .demo-tabs { grid-template-columns: repeat(2,1fr); }
  .demo-metric { display: none; }
  .output-grid { grid-template-columns: 1fr; }
  .generated-answer { min-height: 470px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > p { grid-column: 1 / -1; order: 3; }
  .footer-links { justify-self: end; }
  .footer-bottom { order: 4; flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 24px); --radius: 20px; }
  .brand img { width: 45px; height: 34px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 7px; }
  .hero { min-height: auto; padding: 115px 0 88px; }
  .hero-copy h1 { font-size: clamp(45px, 14.4vw, 66px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .trust-line { display: grid; gap: 8px; }
  .trust-line span::after { display: none; }
  .hero-system { border-radius: 19px; }
  .window-bar { grid-template-columns: 52px 1fr; }
  .window-state { display: none; }
  .window-title { justify-self: start; font-size: 7px; }
  .system-body { padding: 15px; }
  .answer-card { margin-left: 0; }
  .system-actions { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .section-intro h2, .assessment-copy h2, .standards-copy h2, .final-inner h2 { font-size: clamp(39px, 12vw, 55px); }
  .friction-card, .path-card, .assessment-panel { padding: 22px; }
  .demo-tabs { grid-template-columns: 1fr; }
  .demo-content { padding: 17px; }
  .demo-header, .demo-footer { padding-inline: 16px; }
  .demo-header > span { display: none; }
  .generated-answer { padding: 18px; min-height: 560px; }
  .assessment-timeline { grid-template-columns: 1fr; }
  .guarantee-box { grid-template-columns: 1fr; }
  .guarantee-mark { width: 58px; height: 58px; }
  .standard { grid-template-columns: 35px 1fr; padding: 20px; }
  .final-cta { min-height: 680px; }
  .final-inner img { width: 165px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }
  .footer-grid > p { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  #knowledge-field { display: none; }
}

/* Legal pages */
.legal-main { padding: 150px 0 100px; min-height: 80vh; }
.legal-shell { max-width: 820px; }
.legal-meta { margin-bottom: 18px; color: var(--violet-2); font: 700 10px/1 ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.legal-shell h1 { margin: 0 0 30px; font-size: clamp(46px, 7vw, 76px); line-height: .98; letter-spacing: -.055em; }
.legal-shell h2 { margin: 44px 0 10px; font-size: 22px; letter-spacing: -.03em; }
.legal-shell p, .legal-shell li { color: var(--muted); }
.legal-shell a { color: var(--violet-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-shell ul { display: grid; gap: 8px; padding-left: 22px; }

@media (max-width: 1080px) {
  body.menu-open .mobile-menu,
  .mobile-menu.open {
    z-index: 110;
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}
.experience-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.experience-tags span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #c4bdcc; background: rgba(255,255,255,.018); font: 700 8px/1 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }

/* Brand typography: continuity with the Wisdom Systems AI system */
h1, h2, h3, .brand strong { font-family: "Space Grotesk", Inter, ui-sans-serif, sans-serif; }
body { font-family: "DM Sans", Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif; }
