:root {
  color-scheme: dark;
  --bg: #04110c;
  --bg-deep: #020906;
  --surface: #081a12;
  --surface-2: #0b2118;
  --surface-3: #10291e;
  --line: rgba(151, 213, 187, 0.16);
  --line-strong: rgba(82, 238, 173, 0.42);
  --text: #f1f8f5;
  --muted: #a2b8af;
  --dim: #718b80;
  --green: #37efac;
  --green-soft: #84f6c9;
  --red: #ff6f87;
  --amber: #ffc85f;
  --blue: #7dd8ff;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(55, 239, 172, 0.08), transparent 27rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  min-width: 320px;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}

a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--green);
  color: #02130c;
  border-radius: 10px;
  font-weight: 800;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: rgba(3, 13, 9, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .2em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--green);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  letter-spacing: 0;
}
.brand-tag {
  padding: 5px 8px;
  color: var(--green-soft);
  background: rgba(55, 239, 172, .07);
  border: 1px solid rgba(55, 239, 172, .15);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: .12em;
}
.site-header nav { display: flex; gap: 30px; }
.site-header nav a, footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.site-header nav a:hover, .site-header nav a:focus-visible, footer a:hover { color: var(--text); }
.site-header > .button { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), #70f0bd);
  color: #03140d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 35px rgba(55, 239, 172, .16);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 15px 42px rgba(55, 239, 172, .24); }
.button:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid rgba(125, 216, 255, .7); outline-offset: 3px; }
.button-small { min-height: 38px; padding: 0 15px; font-size: 12px; border-radius: 10px; }
.button-wide { width: 100%; }
.button[disabled] { opacity: .56; cursor: wait; transform: none; }
.text-link { color: var(--green-soft); font-size: 14px; font-weight: 800; text-underline-offset: 4px; }

.section-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: 72px;
  padding-top: 86px;
  padding-bottom: 88px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--green-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1, h2, h3, h4, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 5.3vw, 76px);
  line-height: .99;
  letter-spacing: -.055em;
}
.hero-lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: #c7d8d1;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}
.hero-actions { display: flex; align-items: center; gap: 24px; margin-bottom: 30px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.trust-list li::before { content: "✓"; margin-right: 8px; color: var(--green); font-weight: 900; }

.hero-case {
  position: relative;
  padding: 20px;
  background: linear-gradient(155deg, rgba(11, 37, 26, .94), rgba(4, 17, 12, .98));
  border: 1px solid rgba(55, 239, 172, .32);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero-case::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  box-shadow: 0 0 80px rgba(55, 239, 172, .09);
}
.case-head { display: flex; align-items: center; gap: 9px; min-height: 32px; color: var(--green-soft); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.case-time { margin-left: auto; color: var(--dim); font-variant-numeric: tabular-nums; }
.live-dot { width: 8px; height: 8px; flex: 0 0 auto; background: var(--green); border-radius: 50%; box-shadow: 0 0 12px rgba(55, 239, 172, .8); }
.case-row, .case-check, .case-verdict { margin-top: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(1, 10, 6, .38); }
.case-label { display: block; margin-bottom: 8px; color: var(--dim); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.case-row strong, .case-check strong { display: block; font-size: 17px; line-height: 1.35; }
.case-check { border-color: rgba(255, 111, 135, .3); background: rgba(255, 111, 135, .045); }
.case-check strong { color: #ffdce2; }
.case-check small { display: block; margin-top: 6px; color: var(--muted); }
.agent-badge { display: inline-block; margin-top: 14px; padding: 5px 8px; color: var(--amber); border: 1px solid rgba(255, 200, 95, .25); border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.case-verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.case-verdict > div { padding: 4px 2px; }
.case-verdict strong { color: var(--red); font-size: 27px; letter-spacing: -.03em; }
.case-verdict .exposure { border-left: 1px solid var(--line); padding-left: 22px; }
.case-verdict .exposure strong { color: var(--text); }

.proof-strip {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(7, 25, 17, .58);
}
.proof-strip div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 20px; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip span { grid-row: 1 / 3; color: var(--green); font: 800 11px ui-monospace, monospace; }
.proof-strip strong { font-size: 14px; }
.proof-strip small { margin-top: 4px; color: var(--dim); font-size: 11px; }

.lab { padding-bottom: 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 28px; }
.section-heading h2, .value-section h2, .runtime-section h2, .architecture-section h2, .upload-section h2 { margin-bottom: 12px; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.04em; }
.section-heading p:not(.eyebrow), .runtime-copy p, .architecture-section > div > p, .upload-copy > p { max-width: 700px; margin-bottom: 0; color: var(--muted); line-height: 1.65; }
.runtime-status { display: flex; align-items: center; gap: 11px; min-width: 180px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(8, 26, 18, .7); }
.runtime-status strong, .runtime-status small { display: block; }
.runtime-status strong { font-size: 12px; }
.runtime-status small { margin-top: 3px; color: var(--dim); font-size: 10px; }
.runtime-status.offline .live-dot { background: var(--red); box-shadow: 0 0 12px rgba(255,111,135,.5); }

.scenario-tabs { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.scenario-tab { display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 14px 16px; text-align: left; border: 1px solid var(--line); border-radius: 14px; background: rgba(7, 24, 16, .72); cursor: pointer; }
.scenario-tab:hover { border-color: rgba(55, 239, 172, .3); }
.scenario-tab.active { border-color: var(--line-strong); background: rgba(55, 239, 172, .08); }
.scenario-tab strong, .scenario-tab small { display: block; }
.scenario-tab strong { font-size: 14px; }
.scenario-tab small { margin-top: 4px; color: var(--dim); font-size: 11px; }
.scenario-icon { display: grid; place-items: center; width: 34px; height: 34px; color: var(--green-soft); background: rgba(55, 239, 172, .08); border: 1px solid rgba(55, 239, 172, .15); border-radius: 10px; font-weight: 900; }

.lab-grid { display: grid; grid-template-columns: minmax(340px, .78fr) minmax(520px, 1.22fr); gap: 14px; }
.lab-panel { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, rgba(9, 29, 20, .92), rgba(3, 14, 9, .96)); }
.panel-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.panel-heading h3 { margin: 0; font-size: 20px; }
.panel-kicker { margin: 0 0 3px; color: var(--green-soft); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; color: var(--green); border: 1px solid rgba(55, 239, 172, .28); border-radius: 10px; font: 900 11px ui-monospace, monospace; }
.panel-description { color: var(--muted); font-size: 13px; line-height: 1.55; }
.policy-chip { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 16px 0 0; padding: 12px; border: 1px solid rgba(55, 239, 172, .22); border-radius: 11px; background: rgba(55, 239, 172, .055); }
.policy-chip span { grid-row: 1 / 3; align-self: center; color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.policy-chip strong { font-size: 11px; }
.policy-chip small { color: var(--dim); font-size: 9px; }
.context-form { display: grid; gap: 10px; margin: 22px 0; }
.field-row { display: grid; grid-template-columns: 1fr minmax(120px, 42%); align-items: center; gap: 16px; min-height: 54px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .12); }
.field-row label, .switch-row > span { font-size: 12px; font-weight: 800; }
.field-row label small, .switch-row small { display: block; margin-top: 4px; color: var(--dim); font-size: 10px; font-weight: 500; }
.field-row input[type="number"] { width: 100%; min-height: 38px; padding: 0 11px; color: var(--text); background: #06130d; border: 1px solid rgba(154, 203, 183, .22); border-radius: 9px; }
.context-import { margin: -6px 0 16px; padding: 12px; border: 1px dashed rgba(114, 246, 181, .28); border-radius: 12px; background: rgba(114, 246, 181, .035); }
.context-import label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text); font-size: 11px; font-weight: 800; }
.context-import input[type="file"] { max-width: 58%; color: var(--dim); font-size: 9px; }
.context-import small { display: block; margin-top: 7px; color: var(--dim); font-size: 9px; line-height: 1.45; }
.context-import a { display: inline-block; margin-top: 8px; color: var(--green); font-size: 9px; font-weight: 800; text-decoration: none; }
.context-import a:hover { text-decoration: underline; }
.switch-row { grid-template-columns: 1fr auto; }
.switch { position: relative; width: 46px; height: 26px; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: absolute; inset: 0; background: #172b22; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.switch span::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #82998f; border-radius: 50%; transition: .18s ease; }
.switch input:checked + span { background: rgba(55, 239, 172, .18); border-color: rgba(55, 239, 172, .45); }
.switch input:checked + span::after { transform: translateX(20px); background: var(--green); }
.test-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
.test-mode legend { margin-bottom: 9px; color: var(--dim); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.test-mode label { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 11px; font-weight: 800; cursor: pointer; }
.test-mode label strong, .test-mode label small { display: block; }
.test-mode label small { margin-top: 3px; color: var(--dim); font-size: 8px; font-weight: 500; line-height: 1.3; }
.test-mode input { accent-color: var(--green); }
.input-note { margin: 12px 0 0; color: var(--dim); font-size: 10px; text-align: center; }

.result-heading .report-duration { margin-left: auto; color: var(--dim); font: 700 11px ui-monospace, monospace; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; }
.metrics > div { padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(0,0,0,.14); }
.metrics span, .metrics strong { display: block; }
.metrics span { min-height: 28px; color: var(--dim); font-size: 9px; font-weight: 800; line-height: 1.3; text-transform: uppercase; letter-spacing: .06em; }
.metrics strong { margin-top: 4px; font-size: 22px; }
.metrics .metric-danger strong { color: var(--red); }
.result-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.result-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.result-table th { padding: 11px 12px; color: var(--dim); text-align: left; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.018); }
.result-table td { padding: 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.result-table tbody tr:not(.empty-row) { cursor: pointer; }
.result-table tbody tr:not(.empty-row):hover, .result-table tbody tr.selected { background: rgba(55, 239, 172, .045); }
.decision-pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .05em; }
.decision-pill.allow { color: var(--green-soft); background: rgba(55,239,172,.1); }
.decision-pill.deny { color: #ffd6dd; background: rgba(255,111,135,.14); }
.decision-pill.review { color: #ffe5ad; background: rgba(255,200,95,.12); }
.decision-pill.proposed { color: #b8c8c1; background: rgba(184,200,193,.09); }
.finding { display: grid; grid-template-columns: auto 1fr; gap: 16px; margin-top: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.14); }
.finding-status { display: grid; place-items: center; min-width: 74px; min-height: 74px; padding: 8px; border-radius: 11px; font-size: 10px; font-weight: 900; }
.finding-status.neutral { color: var(--dim); background: rgba(255,255,255,.04); }
.finding-status.allow { color: var(--green-soft); background: rgba(55,239,172,.1); }
.finding-status.deny { color: #ffd7de; background: rgba(255,111,135,.14); }
.finding-status.review { color: #ffe8b9; background: rgba(255,200,95,.12); }
.finding h4 { margin: 2px 0 5px; font-size: 15px; }
.finding p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.technical-details { margin-top: 10px; border-top: 1px solid var(--line); }
.technical-details summary { padding: 13px 2px 5px; color: var(--green-soft); font-size: 11px; font-weight: 800; cursor: pointer; }
.technical-details pre { max-height: 260px; overflow: auto; margin: 10px 0 0; padding: 14px; color: #b8d6ca; background: #020b07; border: 1px solid var(--line); border-radius: 10px; font: 10px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-word; }

.value-section { padding: 92px 0; border-top: 1px solid var(--line); }
.section-heading.compact { margin-bottom: 34px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: rgba(7, 24, 16, .62); }
.value-number { color: var(--green); font: 900 11px ui-monospace, monospace; }
.value-grid h3 { margin: 28px 0 9px; font-size: 19px; }
.value-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.upload-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; padding: 92px 0; border-top: 1px solid var(--line); }
.upload-promises { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.upload-promises span { padding: 7px 10px; color: #c8d9d2; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); font-size: 10px; font-weight: 800; }
.upload-promises span::before { content: "✓"; margin-right: 6px; color: var(--green); }
.guided-upload-card { padding: 24px; border: 1px solid var(--line-strong); border-radius: 18px; background: linear-gradient(145deg, rgba(9,30,20,.9), rgba(4,16,11,.96)); box-shadow: var(--shadow); }
.guided-upload-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.guided-upload-head strong, .guided-upload-head small { display: block; }
.guided-upload-head strong { font-size: 14px; }
.guided-upload-head small { margin-top: 3px; color: var(--dim); font-size: 10px; }
.guided-dropzone { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; min-height: 112px; padding: 18px; border: 1px dashed rgba(114,246,181,.42); border-radius: 14px; background: rgba(114,246,181,.035); cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.guided-dropzone:hover, .guided-dropzone.dragging { border-color: var(--green); background: rgba(55,239,172,.075); }
.guided-dropzone input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.guided-dropzone strong, .guided-dropzone small { display: block; }
.guided-dropzone strong { font-size: 13px; }
.guided-dropzone small { margin-top: 5px; color: var(--dim); font-size: 10px; font-weight: 500; }
.dropzone-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--green); border: 1px solid rgba(55,239,172,.28); border-radius: 12px; background: rgba(55,239,172,.08); font-size: 20px; font-weight: 900; }
.dropzone-action { padding: 9px 12px; color: #001b10; border-radius: 9px; background: var(--green-soft); font-size: 10px; font-weight: 900; white-space: nowrap; }
.guided-upload-state { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 4px; color: var(--dim); font-size: 10px; }
.dataset-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #687970; }
.guided-upload-state.ready { color: var(--green-soft); }
.guided-upload-state.ready .dataset-dot { background: var(--green); box-shadow: 0 0 9px rgba(55,239,172,.55); }
.guided-preview { margin: 2px 0 16px; padding: 16px; border: 1px solid rgba(55,239,172,.25); border-radius: 13px; background: rgba(0,0,0,.17); }
.guided-preview-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 13px; }
.guided-preview-head > div:first-child { display: flex; align-items: center; gap: 10px; }
.guided-preview-head strong, .guided-preview-head small { display: block; }
.guided-preview-head strong { font-size: 12px; }
.guided-preview-head small { margin-top: 3px; color: var(--dim); font-size: 9px; }
.preview-step { display: grid; place-items: center; width: 27px; height: 27px; color: var(--green); border: 1px solid rgba(55,239,172,.28); border-radius: 8px; font: 900 9px ui-monospace, monospace; }
.preview-tabs { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: rgba(0,0,0,.18); }
.preview-tabs button { min-width: 58px; padding: 6px 9px; color: var(--dim); border: 0; border-radius: 6px; background: transparent; font-size: 9px; font-weight: 900; cursor: pointer; }
.preview-tabs button.active { color: #00190f; background: var(--green-soft); }
.preview-table-wrap { max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 9px; }
.preview-table { width: 100%; border-collapse: collapse; font-size: 9px; white-space: nowrap; }
.preview-table th { position: sticky; top: 0; padding: 8px 9px; color: var(--dim); text-align: left; background: #07160f; font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
.preview-table td { padding: 8px 9px; color: #c8dbd3; border-top: 1px solid var(--line); }
.preview-table td:first-child { color: var(--text); font-weight: 800; }
.preview-table input, .preview-table select { width: 100%; min-width: 76px; padding: 6px 7px; color: #d9eee5; border: 1px solid transparent; border-radius: 6px; background: transparent; font: inherit; }
.preview-table input:hover, .preview-table input:focus, .preview-table select:hover, .preview-table select:focus { outline: 0; border-color: rgba(55,239,172,.3); background: rgba(55,239,172,.055); }
.preview-table input[data-preview-name] { min-width: 120px; color: var(--text); font-weight: 800; }
.preview-json { display: block; width: 100%; min-height: 250px; max-height: 420px; overflow: auto; resize: vertical; margin: 0; padding: 12px; color: #c2ded2; border: 1px solid var(--line); border-radius: 9px; background: #020a06; font: 9px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; }
.preview-json[hidden], .preview-footer-actions button[hidden] { display: none; }
.preview-json:focus { outline: 0; border-color: rgba(55,239,172,.42); }
.preview-footer { display: flex; justify-content: space-between; gap: 14px; margin-top: 10px; color: var(--dim); font-size: 8px; }
.preview-footer-actions { display: flex; align-items: center; gap: 12px; }
.preview-footer-actions button { padding: 0; color: var(--green-soft); border: 0; background: transparent; font-size: 8px; font-weight: 900; cursor: pointer; }
.preview-footer-actions button:hover { text-decoration: underline; }
.preview-footer a { color: var(--green-soft); font-weight: 800; text-decoration: none; }
.preview-footer a:hover { text-decoration: underline; }
.guided-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.guided-actions a { color: var(--green-soft); font-size: 10px; font-weight: 800; text-decoration: none; }
.guided-actions a:hover { text-decoration: underline; }
.guided-actions .button { min-width: 210px; }
.guided-actions .button:disabled { color: #7a9087; background: #193127; cursor: not-allowed; opacity: .65; }
.upload-disclaimer { margin: 14px 0 0; color: var(--amber); font-size: 9px; line-height: 1.5; }

.runtime-section, .architecture-section { display: grid; grid-template-columns: .84fr 1.16fr; gap: 70px; align-items: center; padding: 100px 0; border-top: 1px solid var(--line); }
.runtime-flow { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; align-items: center; gap: 10px; }
.runtime-flow > div { min-height: 110px; display: flex; flex-direction: column; justify-content: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(7,24,16,.7); }
.runtime-flow > div.flow-active { border-color: var(--line-strong); background: rgba(55,239,172,.08); }
.runtime-flow span:not(.flow-arrow) { margin-bottom: 7px; color: var(--green-soft); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.runtime-flow strong { font-size: 13px; line-height: 1.4; }
.flow-arrow { color: var(--green); }
.runtime-boundary { padding: 18px; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(7,24,16,.7); }
.runtime-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.runtime-inputs > div { min-height: 102px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.14); }
.runtime-inputs span, .runtime-inputs strong, .runtime-inputs small, .runtime-decision span, .runtime-decision strong, .runtime-decision small { display: block; }
.runtime-inputs span, .runtime-decision span { color: var(--green-soft); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.runtime-inputs strong { margin-top: 15px; font-size: 12px; }
.runtime-inputs small { margin-top: 5px; color: var(--dim); font-size: 9px; line-height: 1.4; }
.runtime-decision { margin-top: 9px; padding: 16px; color: var(--text); border: 1px solid rgba(55,239,172,.3); border-radius: 12px; background: rgba(55,239,172,.07); }
.runtime-decision strong { margin-top: 7px; font-size: 16px; }
.runtime-decision small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.architecture-card { padding: 22px; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(7,26,17,.8); }
.environment-label { display: block; margin-bottom: 14px; color: var(--green-soft); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.architecture-sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.architecture-sources span { padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); text-align: center; font-size: 10px; }
.architecture-core { display: flex; justify-content: space-between; align-items: center; margin: 12px 0; padding: 22px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(55,239,172,.08); }
.architecture-core strong { font-size: 21px; letter-spacing: .12em; }
.architecture-core small { color: var(--muted); }
.no-egress { display: flex; align-items: center; gap: 9px; padding: 12px; color: var(--green-soft); background: rgba(0,0,0,.16); border-radius: 10px; font-size: 10px; font-weight: 800; }

footer { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 0 max(24px, calc((100vw - 1240px) / 2)); border-top: 1px solid var(--line); color: var(--dim); }
footer > div { display: flex; align-items: center; gap: 15px; font-size: 11px; }
footer strong { color: var(--text); letter-spacing: .16em; }
footer nav { display: flex; gap: 22px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero, .upload-section, .runtime-section, .architecture-section { grid-template-columns: 1fr; gap: 42px; }
  .hero { padding-top: 70px; }
  .hero-case { max-width: 680px; }
  .lab-grid { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .runtime-flow { grid-template-columns: 1fr; }
  .runtime-inputs { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 680px) {
  .section-shell, .proof-strip { width: min(100% - 28px, 1240px); }
  .site-header { height: 62px; padding: 0 14px; }
  .site-header > .button { display: none; }
  .brand-tag { display: none; }
  .hero { min-height: auto; padding: 58px 0 70px; }
  h1 { font-size: 45px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .trust-list { flex-direction: column; gap: 10px; }
  .case-verdict { grid-template-columns: 1fr; }
  .case-verdict .exposure { border-left: 0; border-top: 1px solid var(--line); padding: 15px 2px 2px; }
  .proof-strip, .scenario-tabs, .value-grid, .metrics { grid-template-columns: 1fr; }
  .proof-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip div:last-child { border-bottom: 0; }
  .scenario-tab { min-height: 66px; }
  .lab-panel { padding: 18px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .runtime-status { width: 100%; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .switch-row { grid-template-columns: 1fr auto; }
  .result-table { min-width: 620px; }
  .value-section, .upload-section, .runtime-section, .architecture-section { padding: 72px 0; }
  .guided-dropzone { grid-template-columns: auto 1fr; }
  .dropzone-action { grid-column: 1 / -1; text-align: center; }
  .guided-actions { align-items: stretch; flex-direction: column; }
  .guided-actions .button { width: 100%; }
  .guided-preview-head, .preview-footer { align-items: flex-start; flex-direction: column; }
  .architecture-sources { grid-template-columns: 1fr; }
  footer { padding: 28px 18px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
