:root {
  color-scheme: dark;
  --bg: #070806;
  --bg-deep: #030403;
  --surface: #0d0f0c;
  --surface-2: #12140f;
  --surface-3: #171911;
  --text: #f5f1e6;
  --text-strong: #fffaf0;
  --muted: #b7af9e;
  --muted-2: #8f8879;
  --gold: #c9a65c;
  --gold-bright: #f0d58e;
  --gold-dark: #7e6632;
  --line: rgba(201, 166, 92, 0.25);
  --line-soft: rgba(255, 255, 255, 0.08);
  --success: #8bc49c;
  --warning: #e1bd6d;
  --danger: #dd8d7e;
  --max: 1180px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(201, 166, 92, 0.14), transparent 62%),
    radial-gradient(900px 560px at 105% 15%, rgba(201, 166, 92, 0.07), transparent 64%),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 42%, #090a07 72%, var(--bg-deep));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(201, 166, 92, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 92, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: rgba(240, 213, 142, 0.24);
  color: var(--text-strong);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  color: #141006;
  background: var(--gold-bright);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow,
.section-label,
.meta-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(201, 166, 92, 0.06);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 16px rgba(240, 213, 142, 0.8);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text-strong);
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 8vw, 7.2rem);
  font-weight: 760;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

h4 {
  margin-bottom: 8px;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 800px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.gold {
  color: var(--gold-bright);
}

.small {
  font-size: 0.9rem;
}

.muted {
  color: var(--muted-2);
}

.rule {
  height: 1px;
  margin: 28px 0;
  background: var(--line-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(4, 5, 4, 0.88);
  backdrop-filter: blur(18px) saturate(125%);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  color: var(--text-strong);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  width: 20px;
  height: 1px;
  display: block;
  background: var(--text);
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span {
  margin: 5px 0;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-strong);
}

.button,
button.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(240, 213, 142, 0.54);
  border-radius: 12px;
  color: #171207;
  background: linear-gradient(135deg, var(--gold-bright), #c5a14e);
  box-shadow: 0 12px 38px rgba(201, 166, 92, 0.16), inset 0 1px rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover,
button.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 16px 44px rgba(201, 166, 92, 0.24);
}

.button:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(240, 213, 142, 0.72);
  outline-offset: 3px;
}

.button-secondary {
  color: var(--text-strong);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

.button-secondary:hover {
  border-color: rgba(240, 213, 142, 0.44);
  background: rgba(201, 166, 92, 0.07);
}

.button-small {
  min-height: 40px;
  padding-inline: 15px;
  border-radius: 10px;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 112px 0 96px;
  border-bottom: 1px solid var(--line-soft);
}

.hero::after {
  content: "";
  position: absolute;
  top: -280px;
  right: -220px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(201, 166, 92, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 130px rgba(201, 166, 92, 0.07), inset 0 0 100px rgba(201, 166, 92, 0.035);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 64px;
  align-items: center;
}

.hero-copy p {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(1.08rem, 1.9vw, 1.25rem);
}

.hero-actions,
.card-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hero-proof {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 42%, rgba(201, 166, 92, 0.12), transparent 31%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.05);
}

.hero-proof::before,
.hero-proof::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  translate: -50% -50%;
  border-radius: 50%;
}

.hero-proof::before {
  width: 330px;
  height: 330px;
  border: 1px solid rgba(201, 166, 92, 0.17);
  box-shadow: 0 0 90px rgba(201, 166, 92, 0.08), inset 0 0 80px rgba(201, 166, 92, 0.04);
}

.hero-proof::after {
  width: 255px;
  height: 255px;
  border: 1px dashed rgba(240, 213, 142, 0.25);
  animation: slow-spin 40s linear infinite;
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

.gate-core {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 2;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  translate: -50% -50%;
  border: 1px solid rgba(240, 213, 142, 0.52);
  border-radius: 50%;
  color: var(--gold-bright);
  background: #0b0c09;
  box-shadow: 0 0 60px rgba(201, 166, 92, 0.17);
  text-align: center;
}

.gate-core strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
}

.gate-core span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gate-node {
  position: absolute;
  z-index: 3;
  width: 128px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 11, 8, 0.92);
  text-align: center;
}

.gate-node strong {
  display: block;
  color: var(--text-strong);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gate-node span {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.gate-node--request { left: 22px; top: 38%; }
.gate-node--action { right: 22px; top: 38%; }
.gate-node--continuity { left: 50%; bottom: 22px; translate: -50% 0; }

.hero-status {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 108px;
  z-index: 4;
  padding: 14px 16px;
  border: 1px solid rgba(139, 196, 156, 0.32);
  border-radius: 14px;
  color: #d9f2df;
  background: rgba(42, 77, 51, 0.18);
  font-size: 0.82rem;
  font-weight: 750;
}

.status-strip {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
}

.status-strip-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.status-strip strong {
  color: var(--text);
}

section {
  padding: 86px 0;
}

.section-dark {
  border-block: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.22);
}

.section-head {
  max-width: 880px;
  margin-bottom: 36px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.panel,
.proof-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(18, 20, 15, 0.88), rgba(8, 9, 7, 0.9));
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.22);
}

.card,
.panel,
.proof-card {
  padding: 26px;
}

.card p:last-child,
.panel p:last-child,
.proof-card p:last-child {
  margin-bottom: 0;
}

.card-tag,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(201, 166, 92, 0.06);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-badge--success {
  color: #d9f2df;
  border-color: rgba(139, 196, 156, 0.34);
  background: rgba(42, 77, 51, 0.18);
}

.status-badge--bounded {
  color: #f4dfab;
  border-color: rgba(225, 189, 109, 0.36);
  background: rgba(95, 70, 25, 0.2);
}

.status-badge--not-claimed {
  color: #efc0b6;
  border-color: rgba(221, 141, 126, 0.35);
  background: rgba(87, 40, 33, 0.2);
}

.list-clean,
.check-list,
.claim-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.list-clean li,
.check-list li,
.claim-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
}

.list-clean li:first-child,
.check-list li:first-child,
.claim-list li:first-child {
  border-top: 0;
}

.list-clean li::before,
.check-list li::before,
.claim-list li::before {
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--gold-bright);
  content: "•";
}

.check-list li::before {
  content: "✓";
  color: var(--success);
}

.claim-list--no li::before {
  content: "—";
  color: var(--danger);
}

.architecture {
  display: grid;
  grid-template-columns: 1fr 56px 1fr 56px 1fr;
  align-items: stretch;
  gap: 0;
}

.architecture-arrow {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.25rem;
}

.architecture-card {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.022);
}

.architecture-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: 1.35rem;
}

.architecture-card .role {
  margin-bottom: 18px;
  color: var(--text-strong);
  font-weight: 750;
}

.proof-ledger {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.proof-row {
  display: grid;
  grid-template-columns: 190px 1fr 180px;
  gap: 24px;
  padding: 20px 22px;
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
}

.proof-row:first-child {
  border-top: 0;
}

.proof-row__label {
  color: var(--text-strong);
  font-weight: 800;
}

.proof-row__detail {
  color: var(--muted);
}

.proof-row__state {
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  min-height: 145px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
}

.metric strong {
  display: block;
  color: var(--gold-bright);
  font-size: 1.65rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.quote-panel {
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(201, 166, 92, 0.12), rgba(0, 0, 0, 0.74));
  text-align: center;
}

.quote-panel blockquote {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-strong);
  font-size: clamp(1.55rem, 3.4vw, 3rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.quote-panel p {
  margin: 20px 0 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(201, 166, 92, 0.11), rgba(10, 11, 8, 0.94));
}

.cta-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.page-hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line-soft);
}

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
}

.breadcrumbs {
  margin-bottom: 24px;
  color: var(--muted-2);
  font-size: 0.8rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--text);
}

.definition-block {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 26px;
  padding: 26px 0;
  border-top: 1px solid var(--line-soft);
}

.definition-block:first-child {
  border-top: 0;
}

.definition-term {
  color: var(--gold-bright);
  font-weight: 800;
}

.definition-copy {
  color: var(--muted);
}

.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 4px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding: 0 0 30px 26px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -25px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 1px var(--gold);
}

.timeline-item time {
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 6px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 22px;
}

.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}

.contact-email {
  margin: 18px 0;
  display: inline-block;
  color: var(--gold-bright);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 760;
  text-decoration: none;
  word-break: break-word;
}

.legal {
  max-width: 900px;
}

.legal h2 {
  margin-top: 46px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.legal h3 {
  margin-top: 28px;
}

.legal li {
  margin-bottom: 8px;
  color: var(--muted);
}

.legal-card {
  padding: 24px;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 420px;
  margin-top: 14px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links strong {
  margin-bottom: 5px;
  color: var(--text-strong);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.82rem;
}

.notice {
  padding: 17px 18px;
  border-left: 3px solid var(--gold);
  border-radius: 0 14px 14px 0;
  color: var(--muted);
  background: rgba(201, 166, 92, 0.06);
}

.notice strong {
  color: var(--text-strong);
}

.self-test-shell {
  display: grid;
  gap: 18px;
}

.self-test-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.self-test-status {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(201, 166, 92, 0.06);
  font-size: 0.78rem;
  font-weight: 800;
}

.self-test-question {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.018);
}

.self-test-question__header span {
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.self-test-question__header h3 {
  margin: 6px 0 4px;
}

.answer-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.answer-option {
  min-height: 76px;
  padding: 13px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.answer-option:hover {
  border-color: var(--line);
  color: var(--text);
}

.answer-option[aria-pressed="true"] {
  border-color: rgba(240, 213, 142, 0.56);
  color: var(--text-strong);
  background: rgba(201, 166, 92, 0.09);
}

.answer-option__score {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 850;
}

.self-test-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.self-test-actions .button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.self-test-result {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
}

.self-test-result--green { border-color: rgba(139, 196, 156, 0.44); }
.self-test-result--yellow { border-color: rgba(225, 189, 109, 0.5); }
.self-test-result--red { border-color: rgba(221, 141, 126, 0.5); }
.self-test-result--black { border-color: rgba(255, 255, 255, 0.22); background: #050505; }
.self-test-result--incomplete { border-color: rgba(225, 189, 109, 0.5); }

.result-label {
  margin-bottom: 6px;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.self-test-score,
.self-test-override,
.self-test-disclaimer {
  font-size: 0.9rem;
}

.risk-driver-list {
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.risk-driver-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.78rem;
}

.recommended-next-step {
  margin: 18px 0;
  padding: 18px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(201, 166, 92, 0.06);
}

.recommended-next-step p {
  margin-bottom: 0;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.018);
}

.faq summary {
  padding: 18px 20px;
  color: var(--text-strong);
  font-weight: 760;
  cursor: pointer;
}

.faq details p {
  padding: 0 20px 20px;
  margin: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    min-height: 430px;
  }

  .grid-4,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .architecture-arrow {
    min-height: 32px;
    transform: rotate(90deg);
  }

  .proof-row {
    grid-template-columns: 160px 1fr;
  }

  .proof-row__state {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 18px 24px 24px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(4, 5, 4, 0.98);
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-links a {
    padding: 11px 4px;
  }

  .nav-links .button {
    margin-top: 8px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .definition-block {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .answer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero,
  .page-hero {
    padding-top: 76px;
  }

  .hero-proof {
    min-height: 500px;
  }

  .gate-node--request {
    left: 12px;
    top: 26%;
  }

  .gate-node--action {
    right: 12px;
    top: 26%;
  }

  .gate-node--continuity {
    bottom: 22px;
  }

  .hero-status {
    bottom: 108px;
  }

  .grid-4,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .proof-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .proof-row__state {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .self-test-header {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.mt-18 { margin-top: 18px; }
.mt-16 { margin-top: 16px; }
.heading-compact { font-size: clamp(2rem, 3vw, 3rem); }
