:root {
  --bg: #050607;
  --panel: #0d0d0d;
  --panel2: #141414;
  --line: #292929;
  --text: #f4f4f1;
  --muted: #9e9e99;
  --silver: #deded9;
  --blue: #edede8;
  --amber: #d6d6d0;
  --red: #f4f4f1;
  --green: #f4f4f1;
  --accent: #c7f36b;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}
.shell {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
}
.mark {
  width: 28px;
  height: 32px;
  display: grid;
  place-items: center;
  font-family: "IBM Plex Mono";
  font-size: 13px;
  border: 1px solid #7184ab;
  clip-path: polygon(50% 0, 100% 18%, 88% 78%, 50% 100%, 12% 78%, 0 18%);
  background: linear-gradient(160deg, #eef3ff, #6686c7 55%, #18243d);
  color: #050607;
}
.nav nav {
  display: flex;
  gap: 34px;
}
.nav nav a,
.footer a {
  color: #aeb5c1;
  text-decoration: none;
  font-size: 14px;
}
.button {
  border: 1px solid #aebbd1;
  background: #f4f6fa;
  color: #07090d;
  text-decoration: none;
  border-radius: 9px;
  padding: 13px 20px;
  font: 600 14px "DM Sans";
  cursor: pointer;
  box-shadow: 0 0 26px #b7c9f03b;
  transition: 0.2s;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px #b7c9f05e;
}
.button:active {
  transform: translateY(1px);
}
.button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.button-small {
  padding: 10px 16px;
}
.button-ghost {
  background: #0c1220aa;
  color: #e9edf5;
  box-shadow: none;
  border-color: #526078;
}
.hero {
  height: min(860px, 100vh);
  min-height: 700px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 50% 72%,
    #17233e 0,
    #0c1220 27%,
    #050607 64%
  );
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #050607 0,
    transparent 25%,
    transparent 75%,
    #050607 100%
  );
}
.stars {
  position: absolute;
  inset: 110px 4% 18%;
  opacity: 0.7;
  background-image:
    radial-gradient(circle, #dbe4f5 0 1px, transparent 1.5px),
    radial-gradient(circle, #6e84aa 0 1px, transparent 1.5px);
  background-size:
    197px 163px,
    263px 219px;
  background-position:
    31px 19px,
    110px 80px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: -45px;
}
.status-pill {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  border: 1px solid #3a4353;
  background: #111622c9;
  border-radius: 999px;
  padding: 9px 14px;
  color: #bbc3d0;
  font: 500 11px "IBM Plex Mono";
  letter-spacing: 0.06em;
}
.status-pill i,
.system i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}
h1,
h2,
blockquote {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}
.hero h1 {
  font-size: clamp(58px, 6.4vw, 90px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 900px;
  margin: 34px auto 24px;
}
.hero h1 em {
  font-weight: 400;
}
.hero-copy > p {
  font-size: 19px;
  color: #aab6cc;
  max-width: 490px;
  margin: 0 auto 30px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.horizon {
  position: absolute;
  width: 125%;
  height: 360px;
  left: -12.5%;
  bottom: -245px;
  border-radius: 50% 50% 0 0;
  border-top: 5px solid #dce4ef;
  box-shadow:
    0 -8px 34px #d8e5ff,
    0 -70px 120px #627ca780;
  background: #030405;
}
.signal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #1c2230;
  border-bottom: 1px solid #1c2230;
}
.signal div {
  padding: 34px 24px;
  border-right: 1px solid #1c2230;
}
.signal div:last-child {
  border: 0;
}
.signal strong {
  font: 500 26px "IBM Plex Mono";
  display: block;
}
.signal span {
  color: var(--muted);
  font-size: 13px;
}
.story,
.solution,
.boundary {
  padding: 130px 0;
}
.section-index {
  font: 500 11px "IBM Plex Mono";
  color: #8d9ab0;
  letter-spacing: 0.12em;
  margin-bottom: 25px;
}
.story h2,
.solution h2,
.boundary h2 {
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
  max-width: 850px;
  margin: 0 0 70px;
}
.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 120px;
}
.lead {
  font-size: 20px;
  line-height: 1.7;
  color: #bcc5d3;
  margin: 0;
}
.risk-list article {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 4px 20px;
  padding: 24px 0;
  border-top: 1px solid #252c38;
}
.risk-list span {
  grid-row: 1/3;
  color: #708099;
  font: 13px "IBM Plex Mono";
}
.risk-list h3 {
  margin: 0;
  font-size: 20px;
}
.risk-list p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.reality {
  background: #0a0e16;
  border-block: 1px solid #1d2533;
}
.reality-inner {
  padding: 95px 0;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 100px;
  align-items: end;
}
.reality blockquote {
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.06;
  margin: 0;
}
.reality p {
  color: var(--muted);
  line-height: 1.7;
}
.flow {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: center;
}
.flow article {
  min-height: 210px;
  border-top: 1px solid #526078;
  padding: 24px 12px 0 0;
}
.flow b {
  display: block;
  color: #73819a;
  font: 12px "IBM Plex Mono";
  margin-bottom: 38px;
}
.flow span {
  font-size: 18px;
  font-weight: 600;
}
.flow p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.flow > i {
  height: 1px;
  background: #526078;
}
.dashboard-wrap {
  padding: 44px 24px 110px;
}
.dashboard-shell {
  max-width: 1460px;
  margin: auto;
  min-height: 780px;
  display: grid;
  grid-template-columns: 210px 1fr;
  background: linear-gradient(145deg, #080c14, #0d1422);
  border: 1px solid #2a3448;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 45px 140px #1d2a4933;
}
.dashboard-shell aside {
  padding: 26px 18px;
  border-right: 1px solid #222b3a;
  display: flex;
  flex-direction: column;
}
.aside-links {
  display: grid;
  gap: 8px;
  margin-top: 55px;
}
.aside-links button {
  color: #98a4b7;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 13px 14px;
  font: 14px "DM Sans";
}
.aside-links .active {
  color: #fff;
  background: #141d30;
  border: 1px solid #293550;
}
.system {
  margin-top: auto;
  border-top: 1px solid #242c39;
  padding: 22px 8px 0;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13px;
}
.system i {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  margin-top: 5px;
}
.system small {
  display: block;
  color: #748096;
  margin-top: 4px;
}
.workspace {
  padding: 34px;
}
.mobile-demo-nav {
  display: none;
}
.workspace-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.workspace-head h2 {
  font-size: 48px;
  margin: 18px 0 2px;
}
.workspace-head p {
  margin: 0;
  color: var(--muted);
}
.demo-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 14px;
}
.panel {
  border: 1px solid #2b364b;
  background: #0c121fbb;
  border-radius: var(--radius);
  padding: 24px;
  min-height: 490px;
}
.panel h3 {
  margin: 0 0 28px;
  font-size: 18px;
}
label {
  display: grid;
  grid-template-columns: 115px 1fr;
  align-items: center;
  gap: 12px;
  color: #bac4d3;
  font-size: 13px;
  margin: 14px 0;
}
select,
input,
.field-unit {
  width: 100%;
  border: 1px solid #39465f;
  border-radius: 8px;
  background: #121a2a;
  color: #f1f4f9;
  padding: 13px;
  font: 14px "DM Sans";
}
select {
  appearance: auto;
}
.field-unit {
  padding: 0;
  display: flex;
  align-items: center;
}
.field-unit input {
  border: 0;
  background: transparent;
  outline: 0;
}
.field-unit span {
  padding-right: 13px;
  color: #8f9bb0;
  font-size: 12px;
}
.form-note {
  border-top: 1px solid #252f40;
  margin-top: 30px;
  padding-top: 22px;
  color: #7f8a9d;
  font-size: 12px;
}
.verdict-panel {
  display: grid;
  place-items: center;
}
.verdict-panel > div {
  width: 100%;
}
#verdict-empty {
  text-align: center;
  color: #8794a9;
}
.verdict-icon {
  width: 52px;
  height: 52px;
  border: 1px solid #51617c;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  margin: 0 auto 24px;
  font: 24px "IBM Plex Mono";
}
.verdict-icon + h3,
.verdict-title h3 {
  font-size: 30px;
  margin: 0;
  color: var(--red);
}
.verdict-title {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
.verdict-title .verdict-icon {
  margin: 0;
  border-color: var(--red);
  color: var(--red);
}
.verdict-title small {
  font: 11px "IBM Plex Mono";
  color: #8794a9;
}
.rules {
  border-top: 1px solid #2c3749;
  max-height: 380px;
  overflow: auto;
}
.rule {
  display: grid;
  grid-template-columns: 1fr 70px;
  gap: 5px 12px;
  padding: 12px 2px;
  border-bottom: 1px solid #222b39;
  font-size: 12px;
}
.rule small {
  grid-column: 1/-1;
  color: #818da1;
}
.rule b {
  font: 11px "IBM Plex Mono";
}
.rule .pass {
  color: var(--green);
}
.rule .fail {
  color: var(--red);
}
.rule .unknown {
  color: var(--amber);
}
.evidence-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.evidence-row div {
  border: 1px solid #2b364b;
  border-radius: var(--radius);
  padding: 18px;
  background: #0c121f;
}
.evidence-row span,
.evidence-row small {
  display: block;
  color: #7f8b9f;
  font-size: 11px;
}
.evidence-row strong {
  display: block;
  margin: 10px 0;
  font-size: 14px;
}
.good {
  color: var(--green);
}
.boundary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #2b3340;
  border: 1px solid #2b3340;
}
.boundary-grid div {
  background: #080b11;
  padding: 42px;
}
.boundary-grid h3 {
  font-size: 22px;
}
.boundary-grid p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 450px;
}
footer {
  min-height: 150px;
  border-top: 1px solid #202633;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #818a9a;
}
footer > a:last-child {
  color: #fff;
  text-decoration: none;
}

/* Monochrome product system */
.mark {
  border-color: #90ac67;
  background: var(--accent);
  color: #080808;
}
.button {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 26px #c7f36b20;
}
.button:hover {
  box-shadow: 0 0 34px #ffffff35;
}
.button-ghost {
  background: #111111cc;
  border-color: #4c4c49;
  color: #edede8;
}
.hero {
  width: 100%;
  max-width: none;
  background: radial-gradient(
    ellipse at 50% 72%,
    #252b20 0,
    #11140f 30%,
    #050505 66%
  );
}
.hero:before {
  background: linear-gradient(
    90deg,
    #050505 0,
    transparent 25%,
    transparent 75%,
    #050505 100%
  );
}
.stars {
  background-image:
    radial-gradient(circle, #deded9 0 1px, transparent 1.5px),
    radial-gradient(circle, #676763 0 1px, transparent 1.5px);
}
.status-pill {
  border-color: #393937;
  background: #121212d9;
  color: #bcbcb7;
}
.hero-copy > p,
.lead {
  color: #b6b6b1;
}
.horizon {
  border-color: #dfffa0;
  background: #030303;
  box-shadow:
    0 -8px 34px #dfff9a8c,
    0 -70px 120px #7f9b4f3d;
}
.signal,
.signal div,
.risk-list article,
footer {
  border-color: #242422;
}
.section-label {
  margin: 0 0 25px;
  color: var(--accent);
  font: 500 11px "IBM Plex Mono";
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.risk-list span,
.flow b {
  color: #858580;
}
.reality {
  background: #0c0c0c;
  border-color: #252523;
}
.flow article {
  border-color: #51514e;
}
.flow > i {
  background: #51514e;
}
.boundary-grid {
  background: #30302d;
  border-color: #30302d;
}
.boundary-grid div {
  background: #0a0a0a;
}
.final-cta {
  display: inline-block;
  margin-top: 36px;
}
.signal strong,
.flow article:first-child b,
footer > a:last-child {
  color: var(--accent);
}

.demo-page {
  min-height: 100dvh;
  padding: 18px;
  background: #070707;
}
.demo-page .dashboard-shell {
  max-width: 1600px;
  min-height: calc(100dvh - 36px);
  background: #0b0b0b;
  border-color: #2b2b29;
  box-shadow: 0 45px 140px #000;
}
.dashboard-shell aside {
  border-color: #262624;
}
.aside-links a {
  color: #999994;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 14px;
}
.aside-links .active {
  color: #fff;
  background: #181818;
  border-color: #31312f;
}
.system,
.form-note {
  border-color: #292927;
}
.system small {
  color: #858580;
}
.workspace-head h1 {
  margin: 18px 0 2px;
  font: 400 48px "DM Sans";
  letter-spacing: -0.04em;
}
.panel {
  border-color: #30302e;
  background: #101010;
}
.panel h2 {
  margin: 0 0 28px;
  font-size: 18px;
}
label {
  color: #bdbdb8;
}
select,
input,
.field-unit {
  border-color: #41413e;
  background: #171717;
  color: #f1f1ed;
}
.field-unit input {
  background: transparent;
}
.verdict-icon {
  border-color: #60605b;
}
.verdict-icon + h2,
.verdict-title h2 {
  margin: 0;
  color: var(--text);
  font-size: 30px;
}
.rules,
.rule,
.evidence-row div {
  border-color: #30302e;
}
.rule small,
.evidence-row span,
.evidence-row small,
#verdict-empty {
  color: #8b8b86;
}
.evidence-row div {
  background: #101010;
}
.demo-back {
  margin: 24px 2px 0;
}
.demo-back a {
  color: #aaa;
  font-size: 13px;
  text-decoration: none;
}

/* Policy desk refinement */
.demo-page {
  --accent: #c7f36b;
  --danger: #ff7c72;
  --caution: #efc468;
  background:
    radial-gradient(circle at 82% 8%, #29351d 0, transparent 24%), #090b09;
}
.demo-page .dashboard-shell {
  background: linear-gradient(135deg, #0e110e, #0a0c0a 60%);
  border-color: #343a30;
}
.demo-page .mark {
  border-color: #7d9561;
  background: var(--accent);
}
.demo-page .aside-links .active {
  color: #10130d;
  background: var(--accent);
  border-color: var(--accent);
}
.demo-page .aside-links a:not(.active):hover {
  color: #f4f4ef;
  background: #171b16;
}
.demo-page .system i {
  background: var(--accent);
  box-shadow: 0 0 14px #c7f36b80;
}
.workspace-kicker {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: #9fa997;
  font: 500 11px "IBM Plex Mono";
  letter-spacing: 0.1em;
}
.workspace-kicker b {
  padding: 4px 7px;
  color: #11150d;
  background: var(--accent);
  border-radius: 4px;
}
.workspace-mode {
  min-width: 154px;
  border-left: 1px solid #3b4237;
  padding-left: 18px;
}
.workspace-mode span,
.workspace-mode strong {
  display: block;
}
.workspace-mode span {
  color: #788174;
  font: 10px "IBM Plex Mono";
  letter-spacing: 0.08em;
}
.workspace-mode strong {
  margin-top: 7px;
  color: var(--accent);
  font-size: 14px;
}
.demo-page .panel,
.demo-page .evidence-row div {
  border-color: #343a31;
  background: #111410d9;
}
.demo-page .panel:first-child {
  background: linear-gradient(160deg, #161a14, #10130f);
}
.demo-page label {
  color: #c7cbbf;
}
.demo-page select,
.demo-page input,
.demo-page .field-unit {
  border-color: #424a3d;
  background: #0d100d;
}
.demo-page select:focus,
.demo-page input:focus {
  outline: 2px solid #c7f36b80;
  outline-offset: 1px;
}
.demo-page select:focus-visible,
.demo-page input:focus-visible {
  outline-color: var(--accent);
}
.review-button {
  width: 100%;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #11150d;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 30px #9fc74320;
}
.review-button b {
  font-size: 18px;
  transition: transform 0.2s ease;
}
.review-button:hover b {
  transform: translateX(4px);
}
.review-button[aria-busy="true"] b {
  animation: review-pulse 0.8s ease-in-out infinite alternate;
}
.verdict-seal {
  width: 54px;
  height: 54px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border: 1px solid #6d7d5d;
  border-radius: 50%;
  color: var(--accent);
  background: #171d13;
  font: 12px "IBM Plex Mono";
  box-shadow: 0 0 40px #c7f36b12;
}
.verdict-steps {
  margin: 34px auto 0;
  max-width: 390px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  color: #70796b;
  font: 10px "IBM Plex Mono";
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.verdict-steps i {
  height: 1px;
  background: #394134;
}
.demo-page .verdict-title .verdict-icon,
.demo-page .rule .fail {
  color: var(--danger);
  border-color: var(--danger);
}
.demo-page .rule .pass,
.demo-page .good {
  color: var(--accent);
}
.demo-page .rule .unknown {
  color: var(--caution);
}
.demo-page .evidence-row div:first-child {
  border-top-color: var(--accent);
}
.demo-page .evidence-row strong {
  font-family: "IBM Plex Mono";
}
.demo-page .demo-back a:hover {
  color: var(--accent);
}
@keyframes review-pulse {
  from {
    opacity: 0.35;
    transform: translateX(0);
  }
  to {
    opacity: 1;
    transform: translateX(5px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 600px) {
  .demo-page {
    padding: 0;
  }
  .demo-page .dashboard-shell {
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .workspace-mode {
    border-left: 0;
    padding-left: 0;
  }
  .workspace-head h1 {
    font-size: 38px;
  }
  .review-button {
    min-height: 50px;
  }
}
@media (max-width: 900px) {
  .nav nav {
    display: none;
  }
  .hero {
    min-height: 680px;
  }
  .signal {
    grid-template-columns: 1fr 1fr;
  }
  .signal div:nth-child(2) {
    border-right: 0;
  }
  .story-grid,
  .reality-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .flow {
    grid-template-columns: 1fr;
  }
  .flow > i {
    display: none;
  }
  .flow article {
    min-height: auto;
    padding-bottom: 25px;
  }
  .dashboard-shell {
    grid-template-columns: 1fr;
  }
  .dashboard-shell aside {
    display: none;
  }
  .mobile-demo-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 42px;
    padding-bottom: 18px;
    border-bottom: 1px solid #343a31;
  }
  .mobile-demo-nav > a:last-child {
    color: var(--accent);
    text-decoration: none;
    font: 500 12px "IBM Plex Mono";
  }
  .demo-grid,
  .evidence-row {
    grid-template-columns: 1fr;
  }
  .workspace-head {
    align-items: flex-start;
    gap: 24px;
  }
  .workspace-head .button {
    margin-top: 4px;
  }
  .panel {
    min-height: auto;
  }
}
@media (max-width: 600px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }
  .hero {
    height: 760px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .signal {
    grid-template-columns: 1fr;
  }
  .signal div {
    border-right: 0;
    border-bottom: 1px solid #1c2230;
  }
  .story,
  .solution,
  .boundary {
    padding: 85px 0;
  }
  .story h2,
  .solution h2,
  .boundary h2 {
    font-size: 44px;
    margin-bottom: 45px;
  }
  .dashboard-wrap {
    padding: 20px 10px 70px;
  }
  .workspace {
    padding: 20px 14px;
  }
  .workspace-head {
    display: grid;
  }
  .workspace-head h2 {
    font-size: 38px;
  }
  .demo-grid {
    display: block;
  }
  .panel {
    margin-bottom: 12px;
    padding: 18px;
  }
  label {
    grid-template-columns: 1fr;
  }
  .evidence-row {
    display: grid;
  }
  .reality-inner {
    padding: 70px 0;
  }
  .boundary-grid {
    grid-template-columns: 1fr;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }
}
