:root {
  --ink: #f7f3e8;
  --muted: #aaa6bd;
  --night: #030713;
  --night-soft: #080d20;
  --panel: rgba(12, 19, 42, 0.8);
  --panel-strong: #10182f;
  --line: rgba(158, 184, 255, 0.22);
  --gold: #d7a84d;
  --gold-soft: #ffe8a6;
  --violet: #ab94ff;
  --cyan: #9eb8ff;
  --teal: #0d6b65;
  --plum: #4c3358;
  --max-width: 1180px;
  --font-geist-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 12% 15%, rgba(215, 168, 77, 0.075), transparent 32rem),
    radial-gradient(ellipse at 88% 24%, rgba(80, 125, 255, 0.14), transparent 34rem),
    radial-gradient(ellipse at 62% 75%, rgba(137, 94, 245, 0.10), transparent 32rem),
    var(--night);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.38;
  background-image:
    radial-gradient(circle at 11% 22%, rgba(255,255,255,.7) 0 1px, transparent 1.4px),
    radial-gradient(circle at 72% 9%, rgba(240,200,106,.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 31% 78%, rgba(255,255,255,.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 91% 70%, rgba(98,220,229,.55) 0 1px, transparent 1.5px);
  background-size: 211px 211px, 307px 307px, 257px 257px, 353px 353px;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-180%);
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--night-soft);
  color: var(--ink);
  font-weight: 700;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.section-shell,
.site-nav {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 200, 106, 0.45);
  border-radius: 50%;
  color: var(--gold);
  box-shadow: inset 0 0 16px rgba(240, 200, 106, 0.12), 0 0 22px rgba(240, 200, 106, 0.08);
}

.brand-icon {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.brand-wordmark {
  display: block;
  width: 178px;
  height: auto;
  mix-blend-mode: lighten;
}

.approved-logo {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-inline: auto;
  mix-blend-mode: lighten;
}

.branded-nexus {
  margin: 0;
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}

.nexus-label {
  position: absolute;
  z-index: 1;
  padding: 4px 0;
  width: 22%;
  border-bottom: 1px solid rgba(240, 200, 106, 0.6);
  text-shadow: 0 1px 5px var(--night), 0 0 8px var(--night);
}

.nexus-label::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  right: 0;
  bottom: -2px;
}

.nexus-human { left: 0; top: 30%; }
.nexus-project { left: 0; top: 55%; }
.nexus-ai, .nexus-evidence {
  right: 0;
  text-align: right;
  border-color: #9aaeff;
  text-shadow: 0 1px 5px var(--night), 0 0 8px var(--night);
}
.nexus-ai { top: 30%; }
.nexus-evidence { top: 55%; }
.nexus-ai::after, .nexus-evidence::after {
  right: auto;
  left: 0;
  background: #9aaeff;
}

.nexus-label small,
.nexus-label strong {
  display: block;
  font-family: var(--font-geist-mono), monospace;
  letter-spacing: 0.1em;
}

.nexus-label small { color: #aaa6b9; font-size: 0.9rem; }
.nexus-label strong { color: #dbd6e7; font-size: 0.9rem; }

.nexus-ledger-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-align: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #c3bfd0;
  font-size: 0.9rem;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--gold-soft);
}

.nav-contact {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 60px;
  padding-block: 72px 92px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 19px;
  color: var(--gold);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  margin-right: 8px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 7vw, 6.6rem);
}

h1 em {
  display: block;
  color: var(--gold-soft);
  font-weight: 400;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 4.8vw, 4.5rem);
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 34px;
  color: #bbb7ca;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  min-height: 51px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #f7d880, #d7a941);
  color: #171119;
  box-shadow: 0 10px 34px rgba(215, 169, 65, 0.18);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255,255,255,0.025);
  color: #d7d2e4;
}

.button-secondary:hover {
  border-color: rgba(240, 200, 106, 0.4);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  color: #8f8ba2;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.hero-proof span {
  color: var(--cyan);
}

.nexus-card {
  position: relative;
  aspect-ratio: 1;
  max-width: 530px;
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.17);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(92, 66, 162, 0.18) 0 9%, transparent 10% 28%, rgba(85, 71, 136, 0.08) 29%, transparent 30%),
    rgba(13, 16, 35, 0.52);
  box-shadow: inset 0 0 80px rgba(6, 8, 20, 0.9), 0 0 90px rgba(86, 59, 154, 0.13);
}

.nexus-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 26% 22%, var(--gold) 0 1px, transparent 2px),
    radial-gradient(circle at 73% 31%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 22% 70%, var(--cyan) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 76%, var(--violet) 0 1px, transparent 2px);
}

.orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(214, 201, 255, 0.14);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  position: absolute;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.orbit::before { top: 11%; left: 22%; }
.orbit::after { right: 8%; bottom: 32%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.orbit-two { inset: 25%; border-style: dashed; transform: rotate(32deg); }
.orbit-three { inset: 38%; transform: rotate(-25deg); }

.nexus-core {
  position: absolute;
  inset: 39%;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(240, 200, 106, 0.45);
  border-radius: 50%;
  background: radial-gradient(circle, #292248, #121426 67%);
  box-shadow: 0 0 34px rgba(240, 200, 106, 0.15), inset 0 0 22px rgba(240, 200, 106, 0.08);
  text-align: center;
}

.core-rune {
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
}

.nexus-core strong {
  margin-top: 4px;
  font-family: var(--font-geist-mono), monospace;
  font-size: clamp(0.56rem, 1vw, 0.73rem);
  letter-spacing: 0.12em;
}

.nexus-core small {
  color: #8e899e;
  font-family: var(--font-geist-mono), monospace;
  font-size: clamp(0.36rem, 0.65vw, 0.48rem);
  letter-spacing: 0.12em;
}

.nexus-node {
  position: absolute;
  z-index: 3;
  min-width: 104px;
  padding: 9px 12px;
  border: 1px solid rgba(197, 184, 255, 0.2);
  border-radius: 3px;
  background: rgba(10, 12, 28, 0.88);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.nexus-node::after {
  position: absolute;
  width: 56px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(167,139,250,.5), transparent);
}

.nexus-node small,
.nexus-node strong {
  display: block;
  font-family: var(--font-geist-mono), monospace;
}

.nexus-node small { color: #807b92; font-size: 0.9rem; letter-spacing: .14em; }
.nexus-node strong { color: #dbd6e7; font-size: 0.9rem; letter-spacing: .09em; }
.node-human { left: 7%; top: 24%; }
.node-human::after { left: 100%; top: 50%; }
.node-ai { right: 5%; top: 22%; text-align: right; }
.node-ai::after { right: 100%; top: 50%; transform: rotate(180deg); }
.node-project { left: 9%; bottom: 21%; }
.node-project::after { left: 100%; top: 50%; }
.node-proof { right: 4%; bottom: 23%; text-align: right; }
.node-proof::after { right: 100%; top: 50%; transform: rotate(180deg); }

.purpose,
.protocol,
.boundary,
.guardrails,
.emissary,
.derivative {
  padding-block: 110px;
  border-top: 0;
}

.purpose-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.purpose-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  color: #aaa6b9;
}

.purpose-copy p:first-child {
  color: #dad5e5;
  font-size: 1.08rem;
}

.principle-strip {
  margin-top: 76px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(167,139,250,.04), rgba(98,220,229,.035));
  color: #aaa6b7;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.9rem;
  letter-spacing: .1em;
}

.principle-strip b { color: #615d70; }
.principle-strip .accent { color: var(--gold); }

.section-heading {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading.compact { grid-template-columns: 1fr 0.7fr; }
.section-heading > p { margin-bottom: 4px; color: #9e99ad; }

.protocol-steps {
  margin: 0 0 32px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.freedom-band {
  margin-bottom: 46px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: auto 0.72fr 1.28fr;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(98, 220, 229, 0.24);
  background:
    linear-gradient(100deg, rgba(98, 220, 229, 0.08), rgba(167, 139, 250, 0.045)),
    rgba(12, 15, 31, 0.78);
}

.freedom-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(98, 220, 229, 0.35);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 1.4rem;
  box-shadow: 0 0 24px rgba(98, 220, 229, 0.09);
}

.freedom-label {
  margin: 0 0 5px;
  color: var(--cyan);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.freedom-band h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.freedom-band > p {
  margin: 0;
  color: #aaa6b7;
  font-size: 0.9rem;
}

.cadence-card {
  margin-bottom: 46px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}

.cadence-card h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.cadence-card > div > p:last-child {
  margin: 0;
  color: #918d9f;
  font-size: 0.9rem;
}

.cadence-card ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(11, minmax(38px, 1fr));
  list-style: none;
}

.cadence-card li {
  position: relative;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(240, 200, 106, 0.25);
  color: var(--gold-soft);
}

.cadence-card li::before {
  position: absolute;
  top: -3px;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 7px var(--gold);
}

.cadence-card li strong {
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.9rem;
}

.cadence-card li span {
  color: #aaa6bd;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.protocol-steps li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.protocol-steps li > div {
  display: grid;
  grid-template-columns: .42fr 1fr;
  gap: 50px;
  align-items: baseline;
}

.step-number {
  color: var(--gold);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.9rem;
}

.protocol-steps h3,
.guardrail-grid h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.protocol-steps p { margin: 0; color: #aaa6b7; }

.storage-card {
  margin: 0 0 32px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 34px;
  border: 1px solid rgba(240, 200, 106, 0.22);
  background: linear-gradient(110deg, rgba(240, 200, 106, 0.055), rgba(98, 220, 229, 0.035));
}

.storage-card h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.storage-card p:last-child {
  margin: 0;
  color: #918d9f;
  font-size: 0.9rem;
}

.audit-seal {
  min-height: 150px;
  padding: 24px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(98, 220, 229, 0.18);
  border-radius: 4px;
  background:
    radial-gradient(circle, rgba(98, 220, 229, 0.08), transparent 60%),
    #090c19;
  color: var(--cyan);
  font-family: var(--font-geist-mono), monospace;
  text-align: center;
}

.audit-seal span {
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.audit-seal strong {
  margin-top: 9px;
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: .18em;
}

.audit-seal small {
  margin-top: 7px;
  color: #aaa6bd;
  font-size: 0.9rem;
  letter-spacing: .12em;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.boundary-grid article {
  min-height: 270px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(98, 220, 229, .035), transparent 60%),
    rgba(255, 255, 255, .012);
}

.boundary-grid article > span {
  display: block;
  margin-bottom: 48px;
  color: var(--cyan);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.9rem;
  letter-spacing: .12em;
}

.boundary-grid h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 500;
}

.boundary-grid p {
  margin: 0;
  color: #9692a5;
  font-size: .91rem;
}

.guardrail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.guardrail-grid article {
  min-height: 245px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.012);
}

.guardrail-glyph {
  width: 38px;
  height: 38px;
  margin-bottom: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(167,139,250,.24);
  border-radius: 50%;
  color: var(--violet);
}

.guardrail-grid h3 { margin-bottom: 12px; font-size: 1.25rem; }
.guardrail-grid p { margin: 0; color: #9692a5; font-size: .91rem; }

.emissary-card {
  position: relative;
  padding: 58px;
  display: grid;
  grid-template-columns: .8fr 1.1fr;
  gap: 60px 80px;
  overflow: hidden;
  border: 1px solid rgba(240,200,106,.22);
  background:
    radial-gradient(circle at 10% 0%, rgba(240,200,106,.1), transparent 28rem),
    var(--panel);
}

.emissary-card::after {
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  content: "";
  border: 1px solid rgba(167,139,250,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(167,139,250,.025), 0 0 0 80px rgba(167,139,250,.018);
}

.emissary-card h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.emissary-copy { color: #aaa6b6; }
.emissary-copy strong { color: var(--gold-soft); }

.consent-flow {
  grid-column: 1 / -1;
  z-index: 1;
  padding-top: 28px;
  display: flex;
  align-items: stretch;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.consent-node {
  min-height: 116px;
  padding: 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(167, 139, 250, .2);
  background: rgba(9, 12, 25, .62);
}

.consent-node span {
  margin-bottom: 8px;
  color: var(--violet);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.consent-node strong {
  color: #ded8e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 500;
}

.consent-node.active {
  border-color: rgba(240, 200, 106, .32);
  background: linear-gradient(140deg, rgba(240, 200, 106, .09), rgba(98, 220, 229, .035));
}

.consent-node.active span { color: var(--gold); }

.consent-join {
  display: grid;
  place-items: center;
  color: #6c687a;
  font-family: var(--font-geist-mono), monospace;
  font-size: 1rem;
}

.derivative-card {
  position: relative;
  padding: 82px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(240, 200, 106, .24);
  background:
    radial-gradient(circle at 50% 0%, rgba(240, 200, 106, .11), transparent 25rem),
    radial-gradient(circle at 95% 100%, rgba(98, 220, 229, .07), transparent 26rem),
    var(--panel);
  text-align: center;
}

.derivative-card::before,
.derivative-card::after {
  position: absolute;
  width: 240px;
  height: 240px;
  content: "";
  border: 1px solid rgba(167, 139, 250, .11);
  border-radius: 50%;
}

.derivative-card::before { top: -155px; left: -90px; }
.derivative-card::after { right: -110px; bottom: -175px; }

.closing-rune {
  width: 88px;
  height: 88px;
  margin-bottom: 26px;
  display: block;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.derivative-card h2 { margin-bottom: 24px; }

.derivative-card > p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 20px;
  color: #aaa6b7;
}

.derivative-card .derivative-note {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--gold-soft);
  font-size: .9rem;
}

.derivative-card > * { z-index: 1; }

.license-hero {
  padding-block: 108px 76px;
}

.license-hero h1 {
  max-width: 850px;
  margin-block: 12px 22px;
}

.license-hero .hero-lede {
  max-width: 780px;
}

.license-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.license-page {
  display: grid;
  gap: 22px;
  padding-bottom: 110px;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.license-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(171, 148, 255, 0.08), transparent 42%),
    var(--panel);
}

.license-card h2 {
  margin-block: 8px 18px;
  font-size: clamp(1.9rem, 4vw, 2.65rem);
}

.license-card p {
  color: var(--muted);
}

.license-card p:last-child {
  margin-bottom: 0;
}

.license-card a:not(.button) {
  color: var(--gold-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255, 232, 166, 0.45);
  text-underline-offset: 3px;
}

.license-authority,
.license-commercial {
  border-color: rgba(215, 168, 77, 0.32);
}

.notice-block {
  overflow-x: auto;
  margin-block: 24px;
  padding: 22px;
  border: 1px solid rgba(158, 184, 255, 0.2);
  border-radius: 10px;
  background: rgba(7, 20, 38, 0.78);
  color: var(--ink);
  font-family: var(--font-geist-mono);
  font-size: 0.9rem;
  line-height: 1.75;
  white-space: pre-wrap;
}

.site-footer {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: #aaa6bd;
  font-size: 0.9rem;
}

.site-footer .brand { color: var(--ink); }
.site-footer p { margin: 0; text-align: center; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 20px; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .nexus-card { max-width: 560px; }
  .purpose-grid, .section-heading, .section-heading.compact, .emissary-card { grid-template-columns: 1fr; gap: 36px; }
  .purpose-copy { gap: 36px; }
  .section-heading { align-items: start; }
  .section-heading > p { max-width: 650px; }
  .guardrail-grid, .boundary-grid { grid-template-columns: repeat(2, 1fr); }
  .freedom-band { grid-template-columns: auto 1fr; }
  .freedom-band > p { grid-column: 1 / -1; }
  .cadence-card { grid-template-columns: 1fr; }
  .storage-card { grid-template-columns: 1fr; }
  .consent-flow { grid-column: auto; flex-wrap: wrap; }
  .consent-node { min-width: 220px; }
  .license-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; padding-block: 35px; }
  .site-footer > div { justify-content: center; }
}

@media (max-width: 640px) {
  .section-shell, .site-nav { width: min(calc(100% - 28px), var(--max-width)); }
  .site-nav { min-height: 72px; }
  .nav-links > a:not(.nav-contact) { display: none; }
  .nav-contact { padding: 8px 12px; }
  .hero { gap: 54px; padding-block: 64px 74px; }
  h1 { font-size: clamp(3rem, 14vw, 3.6rem); }
  h2 { font-size: clamp(2.35rem, 10vw, 2.6rem); }
  .nexus-node { min-width: 84px; padding: 7px 8px; }
  .nexus-node::after { width: 30px; }
  .nexus-node small { font-size: 0.9rem; }
  .nexus-node strong { font-size: 0.9rem; }
  .node-human { left: 2%; }
  .node-ai { right: 1%; }
  .node-project { left: 3%; }
  .node-proof { right: 1%; }
  .purpose, .protocol, .boundary, .guardrails, .emissary, .derivative { padding-block: 82px; }
  .purpose-copy { grid-template-columns: 1fr; gap: 8px; }
  .principle-strip { padding: 23px; flex-direction: column; gap: 12px; text-align: center; }
  .protocol-steps li { grid-template-columns: 52px 1fr; }
  .freedom-band { padding: 24px; }
  .cadence-card { padding: 24px; overflow: hidden; }
  .cadence-card ol { grid-template-columns: repeat(6, 1fr); row-gap: 18px; }
  .protocol-steps li > div { grid-template-columns: 1fr; gap: 9px; }
  .guardrail-grid, .boundary-grid { grid-template-columns: 1fr; }
  .guardrail-grid article, .boundary-grid article { min-height: auto; }
  .emissary-card { padding: 32px 24px; }
  .consent-flow { display: grid; grid-template-columns: 1fr; }
  .consent-node { min-width: 0; }
  .consent-join { min-height: 24px; }
  .derivative-card { padding: 64px 24px; }
  .license-hero { padding-block: 70px 54px; }
  .license-page { padding-bottom: 76px; }
  .license-card { padding: 28px 22px; }
  .license-actions { align-items: stretch; flex-direction: column; }
  .license-actions .button { justify-content: center; }
}

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

/* Shared page navigation and spacing follow the approved gold/blue/violet mark. */
.site-nav { flex-wrap: wrap; gap: 16px; padding-block: 14px; }
.nav-links { gap: 20px; flex-wrap: wrap; }
.nav-links a[aria-current="page"] {
  color: var(--gold-soft);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 9px;
}
.hero { min-height: auto; padding-block: 40px 24px; }
.purpose, .protocol, .boundary, .guardrails, .emissary, .derivative {
  padding-block: clamp(24px, 3vw, 36px);
}
.inner-page main > section:first-child { border-top: 0; }
.inner-page h1 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); max-width: 20ch; }
.inner-page .derivative-card h1 { max-width: 24ch; margin-bottom: 24px; }
.section-heading { gap: 36px; }
.license-hero { padding-block: 56px 40px; }
.derivative-card, .emissary-card, .freedom-band, .cadence-card {
  background: linear-gradient(125deg, rgba(215,168,77,.065), rgba(100,145,255,.065) 55%, rgba(171,148,255,.07));
}
.site-footer { padding-block: 28px; }
.site-footer > div { flex-wrap: wrap; }
@media (max-width: 900px) {
  .site-nav { justify-content: center; }
  .nav-links { justify-content: center; gap: 14px 20px; }
}
@media (max-width: 640px) {
  .nav-links > a:not(.nav-contact) { display: inline-block; }
  .nav-links { font-size: 0.9rem; }
  .hero { gap: 32px; padding-block: 28px 20px; }
  .brand-wordmark { width: 160px; }
}
.site-nav .brand, .site-footer .brand { gap: 6px; }
.site-nav .brand-icon, .site-footer .brand-icon { width: 32px; height: 32px; }
.site-nav .brand-wordmark, .site-footer .brand-wordmark { width: 110px; }

/* The approved knot frames each original bullet symbol. */
.knot-icon {
  --knot-size: 64px;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--knot-size);
  height: var(--knot-size);
  flex-shrink: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-shadow: none;
  isolation: isolate;
}
.knot-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./assets/spellwire-knot.svg") center / contain no-repeat;
  mix-blend-mode: lighten;
  pointer-events: none;
}
.knot-icon::after { content: none; }
.knot-icon > .knot-symbol {
  position: absolute;
  inset: 32.8125%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #070b18;
  color: #ffe1a0;
  font: 22px/1 Georgia, serif;
  letter-spacing: 0;
  box-shadow: 0 0 5px 3px #070b18;
  text-shadow: 0 0 5px #e9b452;
}
.guardrail-grid article:nth-child(3n + 2) .knot-symbol {
  color: #a9ccff;
  text-shadow: 0 0 5px #528aff;
}
.guardrail-grid article:nth-child(3n) .knot-symbol {
  color: #d4b9ff;
  text-shadow: 0 0 5px #9965ff;
}
.knot-icon-small { --knot-size: 36px; vertical-align: middle; }
.knot-icon-small > .knot-symbol { font-size: 13px; box-shadow: 0 0 3px 1px #070b18; }
.hero-proof li { display: flex; align-items: center; gap: 6px; }
.step-number.knot-icon > .knot-symbol { font-size: 14px; }
.guardrail-glyph.knot-icon { margin-bottom: 24px; }
.eyebrow > span,
.audit-seal > span,
.consent-node > span,
.boundary-grid article > span,
.step-number {
  text-shadow: 0 0 9px currentColor, 0 0 22px rgba(158,184,255,.3);
}

.closing-rune {
  filter: drop-shadow(0 0 7px rgba(158,184,255,.3)) drop-shadow(0 0 17px rgba(171,148,255,.22));
}

/* Readable supporting copy and labels at desktop and phone widths. */
.freedom-band > p,
.cadence-card > div > p:last-child,
.storage-card p:last-child,
.boundary-grid p,
.guardrail-grid p,
.notice-block {
  font-size: 1rem;
  line-height: 1.65;
  color: #bbb8ca;
}
.eyebrow,
.section-kicker,
.freedom-label,
.consent-node > span,
.audit-seal small {
  letter-spacing: .08em;
  line-height: 1.5;
}
.audit-seal small { color: #c4bfd3; }
.audit-seal strong { font-size: 1rem; }
.cadence-card { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.cadence-card ol {
  grid-template-columns: repeat(11, minmax(52px, 1fr));
  gap: 0;
  overflow-x: auto;
  padding-top: 4px;
  padding-bottom: 8px;
}
.cadence-card li strong { font-size: 1rem; }
.site-footer > div { flex-wrap: wrap; }
.consent-node { min-width: 0; }
.boundary-grid article > .knot-icon { display: inline-grid; margin-bottom: 24px; }

/* Adjacent Protocol panels share one compact gap. */
.protocol .storage-card { margin-bottom: 0; }
.protocol:has(+ .emissary) { padding-bottom: 0; }
.protocol + .emissary { padding-top: 24px; }
/* Shared introduction layout for the Protocol and Boundaries pages. */
.page-intro {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px 36px;
  align-items: start;
  margin-bottom: 40px;
}
.page-intro > div { display: contents; }
.page-intro .eyebrow { grid-column: 1 / -1; margin: 0; }
.page-intro h1 { grid-column: 1; margin: 0; max-width: none; }
.page-intro > p { grid-column: 2; margin: 0; font-size: 1rem; line-height: 1.65; }
@media (max-width: 900px) {
  .page-intro { grid-template-columns: minmax(0, 1fr); }
  .page-intro > p { grid-column: 1; }
}
.page-return { display: flex; justify-content: flex-end; padding-block: 12px 24px; }
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--gold-soft);
  font-size: 1rem;
}
.back-to-top:hover { background: rgba(215, 168, 77, .08); }
.back-to-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.closing-rune { filter: none; }
@media (max-width: 640px) {
  .protocol-steps li { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .nexus-label small, .nexus-label strong { letter-spacing: .02em; }
  .nexus-label { width: 30%; max-width: 38%; }
}
/* Approved navigation: refined serif with a restrained gold highlight. */
.nav-links a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 400;
  color: #c9bfad;
  transition: color .2s, text-shadow .2s;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffe5ab;
  text-shadow: 0 0 10px #bc985f;
}
.nav-links a[aria-current="page"] {
  color: #ffe2a0;
  text-shadow: 0 0 12px #9a712e;
  text-decoration-color: #d7a84d;
  text-decoration-thickness: 1px;
}
@media (prefers-reduced-motion: reduce) {
  .nav-links a { transition: none; }
}
.hero-proof { gap: 8px 12px; letter-spacing: .01em; }
.hero-proof li { white-space: nowrap; gap: 4px; }
.hero-proof .knot-icon-small { --knot-size: 30px; }
@media (min-width: 901px) {
  .hero-proof { flex-wrap: nowrap; font-size: .875rem; }
}
.knot-icon > .knot-symbol { margin: 0; }
