/*
  Public-site visual system: "civic solarpunk"
  Selected interaction patterns adapt licensed React Bits Pro components and
  the free React Bits library.
  See THIRD_PARTY_NOTICES.md for attribution and license terms.
*/

:root {
  --ink: #17332d;
  --ink-soft: #42635a;
  --paper: #f8f6ea;
  --paper-deep: #edf1df;
  --line: rgba(15, 67, 54, 0.15);
  --night: #073b32;
  --night-raised: #0d4a3e;
  --night-line: rgba(225, 247, 225, 0.16);
  --white: #fffef6;
  --muted: #759388;
  --acid: #d9f99d;
  --acid-deep: #75c97a;
  --orange: #f39a62;
  --blue: #7dc8de;
  --sun: #ffd76a;
  --sun-deep: #e9ad3b;
  --leaf: #45b978;
  --moss: #8dae6f;
  --sky: #ccebf0;
  --mist: #eaf5eb;
  --soil: #263a31;
  --radius: 22px;
  --sidebar: 0px;
  --content: 1240px;
  --ease: cubic-bezier(.22, .9, .28, 1);
}

html {
  scroll-padding-top: 108px;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  content: "";
  opacity: .045;
  pointer-events: none;
}

::selection {
  color: var(--night);
  background: var(--sun);
}

button:focus-visible,
a:focus-visible {
  outline-color: var(--sun-deep);
}

main {
  margin-left: 0;
  overflow: clip;
}

.site-shell {
  min-height: 100vh;
}

/* Floating document navigation */
.sidebar,
body.light-theme .sidebar {
  position: fixed;
  inset: 18px auto auto 50%;
  z-index: 100;
  display: flex;
  width: min(1380px, calc(100% - 36px));
  height: 72px;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 254, 246, .82);
  border: 1px solid rgba(15, 67, 54, .14);
  border-radius: 999px;
  box-shadow: 0 18px 60px rgba(20, 66, 53, .12);
  backdrop-filter: blur(18px) saturate(1.15);
  transform: translateX(-50%);
}

.brand-lockup {
  flex: 0 0 auto;
  gap: 10px;
}

.brand-mark,
.footer-mark {
  width: 48px;
  height: 48px;
  color: var(--night);
  background: linear-gradient(145deg, #fff0a5, var(--sun) 52%, #a9df83);
  border: 1px solid rgba(7, 59, 50, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 7px 18px rgba(82, 125, 81, .18);
  font-size: 11px;
}

.brand-name {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
}

.brand-lockup span,
body.light-theme .brand-lockup span {
  color: #718a81;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .1em;
}

.document-status,
body.light-theme .document-status {
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  background: rgba(217, 249, 157, .35);
  border: 1px solid rgba(67, 129, 87, .15);
  border-radius: 999px;
}

.document-status strong {
  font-size: 7px;
  color: var(--night);
}

.document-status span:not(.status-dot),
body.light-theme .document-status span:not(.status-dot) {
  color: #698178;
  font-size: 7px;
}

.status-dot,
.live-label i {
  margin-top: 0;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(69, 185, 120, .12);
}

.side-nav {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
}

.side-nav a,
body.light-theme .side-nav a {
  flex: 0 1 auto;
  gap: 0;
  padding: 10px 8px;
  color: #607a71;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 650;
  white-space: nowrap;
}

.side-nav a span {
  display: none;
}

.side-nav a:hover {
  color: var(--night);
  background: rgba(122, 192, 136, .1);
  transform: none;
}

.side-nav a.active,
body.light-theme .side-nav a.active {
  color: var(--white);
  background: var(--night);
}

.side-nav a.active::before {
  display: none;
}

.sidebar-footer,
body.light-theme .sidebar-footer {
  width: auto;
  flex: 0 0 auto;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.icon-button {
  display: none;
}

.text-button,
body.light-theme .sidebar-footer .text-button {
  padding: 11px 14px;
  color: var(--night);
  background: var(--sun);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
}

.mobile-header {
  display: none;
}

/* Expansive solar hero */
.hero {
  isolation: isolate;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  padding: 150px max(5vw, 48px) 105px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 9%, rgba(255, 222, 119, .92) 0 5%, rgba(255, 222, 119, .22) 19%, transparent 38%),
    linear-gradient(180deg, #dff3f1 0%, #f4f3df 54%, #f8f6ea 100%);
}

.hero::before {
  position: absolute;
  right: -7vw;
  bottom: -30vw;
  z-index: -1;
  width: 82vw;
  height: 48vw;
  min-height: 460px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(126, 184, 114, .42), rgba(126, 184, 114, .07) 48%, transparent 70%);
  border: 1px solid rgba(65, 121, 87, .12);
  border-radius: 50% 50% 0 0;
  content: "";
  transform: rotate(-5deg);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 21%;
  background:
    linear-gradient(180deg, transparent, rgba(248, 246, 234, .84)),
    repeating-linear-gradient(115deg, transparent 0 65px, rgba(30, 101, 76, .055) 66px 67px);
  content: "";
  pointer-events: none;
}

.solar-rays,
.hero-field,
.ambient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.solar-rays {
  z-index: -1;
  opacity: .72;
  mix-blend-mode: multiply;
}

.hero-field {
  z-index: -1;
  background-image:
    linear-gradient(rgba(22, 87, 70, .052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 87, 70, .052) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
  opacity: .55;
}

.ambient-one {
  top: auto;
  right: auto;
  bottom: 7%;
  left: 42%;
  width: 18vw;
  height: 18vw;
  background: rgba(120, 200, 139, .23);
  filter: blur(35px);
}

.ambient-two {
  top: 18%;
  right: 9%;
  bottom: auto;
  left: auto;
  width: 24vw;
  height: 24vw;
  background: rgba(255, 216, 106, .28);
  filter: blur(50px);
}

.hero-copy,
.hero-model,
.scroll-cue {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 830px;
}

.eyebrow {
  display: inline-flex;
  width: auto;
  margin-bottom: 28px;
  padding: 10px 14px;
  color: #315f51;
  background: rgba(255, 254, 246, .52);
  border: 1px solid rgba(26, 91, 70, .14);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  background: var(--leaf);
  box-shadow: 0 0 0 5px rgba(69, 185, 120, .12);
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--night);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: clamp(68px, 8.4vw, 132px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .84;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(92deg, #0c7255, #4e9a60 55%, #a56f25);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.hero-lede {
  max-width: 760px;
  margin: 35px 0 0;
  color: #3d6358;
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.52;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .025em;
}

.button-primary {
  color: var(--white);
  background: var(--night);
  border-color: var(--night);
  box-shadow: 0 12px 28px rgba(7, 59, 50, .18);
}

.button-primary:hover {
  color: var(--night);
  background: var(--sun);
  border-color: var(--sun-deep);
}

.button-secondary {
  color: var(--night);
  background: rgba(255, 254, 246, .48);
  border-color: rgba(7, 59, 50, .18);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  background: var(--white);
  border-color: rgba(7, 59, 50, .3);
}

.hero-note {
  display: flex;
  max-width: 750px;
  gap: 12px;
  margin-top: 32px;
  color: #59776e;
  font-size: 10px;
  line-height: 1.5;
}

.hero-note span {
  color: var(--night);
  font-weight: 750;
}

.hero-model {
  align-self: center;
  min-height: 590px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 254, 246, .48);
  border: 1px solid rgba(18, 87, 69, .18);
  border-radius: 34px;
  box-shadow: 0 36px 100px rgba(39, 91, 73, .14), inset 0 1px 0 rgba(255, 255, 255, .8);
  backdrop-filter: blur(18px) saturate(1.1);
}

.model-header,
.model-footer {
  color: #58776d;
  border-color: rgba(18, 87, 69, .13);
}

.model-header {
  padding: 19px 22px;
}

.live-label {
  color: #2a6d54;
}

.model-center {
  min-height: 450px;
  background:
    radial-gradient(circle at center, rgba(255, 215, 106, .23), transparent 28%),
    radial-gradient(circle at center, rgba(94, 184, 122, .12), transparent 62%);
}

.model-center::before,
.model-center::after {
  background: rgba(19, 93, 72, .12);
}

.model-orbit {
  border-color: rgba(18, 87, 69, .2);
}

.orbit-two {
  border-color: rgba(18, 87, 69, .18);
}

.model-core {
  width: 155px;
  height: 155px;
  color: var(--night);
  background: radial-gradient(circle at 38% 30%, #fff4b0, var(--sun) 48%, #9acf76 100%);
  border: 1px solid rgba(7, 59, 50, .12);
  box-shadow: 0 0 0 14px rgba(255, 215, 106, .11), 0 20px 55px rgba(99, 135, 69, .17);
}

.model-core span,
.model-core small {
  color: rgba(7, 59, 50, .7);
}

.model-core strong {
  color: var(--night);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 31px;
}

.orbit-node {
  color: var(--night);
  background: rgba(255, 254, 246, .88);
  border: 1px solid rgba(18, 87, 69, .18);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(39, 91, 73, .08);
  backdrop-filter: blur(10px);
}

.orbit-node span {
  color: #4c7568;
}

.model-footer {
  background: rgba(255, 254, 246, .22);
}

.model-footer strong {
  color: var(--night);
}

.scroll-cue {
  bottom: 27px;
  left: max(5vw, 48px);
  color: #6b877d;
}

.scroll-cue span {
  background: rgba(7, 59, 50, .18);
}

.scroll-cue span::after {
  background: var(--leaf);
}

/* Shared editorial language */
.section {
  position: relative;
  padding: 140px max(5vw, 48px);
  scroll-margin-top: 95px;
}

.section::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(17, 83, 65, .09) .7px, transparent .7px);
  background-size: 22px 22px;
  content: "";
  opacity: .22;
  pointer-events: none;
  mask-image: linear-gradient(90deg, black, transparent 45%);
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  grid-template-columns: 58px minmax(0, 1fr);
  margin-bottom: 72px;
}

.section-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  color: #4d7669;
  background: rgba(255, 255, 255, .36);
  border: 1px solid rgba(18, 87, 69, .17);
  border-radius: 50%;
  font-size: 8px;
}

.kicker,
.section-heading .kicker {
  color: #52786b;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .17em;
}

.section-heading h2 {
  max-width: 1050px;
  color: var(--night);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: clamp(44px, 5.4vw, 78px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}

.section-intro {
  max-width: 840px;
  color: #48695f;
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: clamp(22px, 2.3vw, 32px);
}

.reveal {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(28px) scale(.992);
  transition: opacity .85s var(--ease), filter .85s var(--ease), transform .85s var(--ease);
}

.reveal.visible,
.section:target .reveal {
  opacity: 1;
  filter: none;
  transform: none;
}

/* React Bits SpotlightCard interaction, adapted for document surfaces */
.spotlight-surface {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.spotlight-surface::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(420px circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color, rgba(255, 215, 106, .24)), transparent 65%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.spotlight-surface > * {
  position: relative;
  z-index: 1;
}

.depth-surface {
  transform-style: preserve-3d;
  will-change: transform;
}

.spotlight-surface:hover::after {
  opacity: 1;
}

/* Premise */
.section-premise {
  background: linear-gradient(180deg, var(--paper), #f2f3e5);
}

.premise-grid {
  gap: clamp(45px, 8vw, 120px);
}

.large-statement p {
  color: var(--night);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.3;
}

.large-statement p:first-child {
  color: #5b756d;
}

.large-statement strong {
  text-decoration-color: rgba(100, 192, 119, .4);
  text-decoration-thickness: 9px;
  text-underline-offset: -2px;
  text-decoration-skip-ink: none;
}

.definition-card {
  padding: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 215, 106, .22), transparent 40%),
    linear-gradient(145deg, #0c5b48, var(--night));
  border: 1px solid rgba(255, 255, 255, .12);
  border-top: 0;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(7, 59, 50, .16);
}

.card-label {
  color: var(--sun);
}

.definition-card blockquote {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 26px;
}

.definition-meta span {
  color: #c8e1d5;
  border-color: rgba(255, 255, 255, .16);
  border-radius: 999px;
}

.thesis-strip {
  gap: 12px;
  border: 0;
}

.thesis-strip > div {
  min-height: 155px;
  padding: 28px;
  background: rgba(255, 254, 246, .7);
  border: 1px solid rgba(18, 87, 69, .13);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(47, 86, 69, .06);
}

.thesis-icon {
  color: #338a63;
}

.thesis-strip p {
  color: #587068;
}

.thesis-strip strong {
  color: var(--night);
}

/* World layer */
.section-world {
  color: #eff9ef;
  background:
    radial-gradient(circle at 78% 18%, rgba(133, 205, 126, .19), transparent 25%),
    radial-gradient(circle at 12% 62%, rgba(91, 185, 187, .11), transparent 28%),
    linear-gradient(150deg, #06392f, #0d4c3d 55%, #173f35);
  border: 0;
}

.section-world::before,
.section-artifact::before,
.section-safeguards::before,
.section-document::before {
  background-image:
    linear-gradient(rgba(218, 247, 219, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218, 247, 219, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .8;
  mask-image: linear-gradient(180deg, black, transparent 85%);
}

.section-world .section-number,
.section-artifact .section-number,
.section-safeguards .section-number {
  color: #cce6d2;
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .15);
}

.section-world .section-heading h2,
.section-artifact .section-heading h2,
.section-safeguards .section-heading h2,
.section-world .kicker,
.section-artifact .kicker,
.section-safeguards .kicker,
.light-heading .kicker {
  color: var(--white);
}

.world-lede {
  color: #d8eadc;
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
}

.world-rule {
  padding: 32px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .15);
  border-top: 1px solid rgba(255, 255, 255, .15);
  border-radius: 24px;
  backdrop-filter: blur(12px);
}

.world-rule span,
.world-tenets span,
.connection-protocol span,
.weave-copy .kicker {
  color: var(--sun);
}

.world-rule em {
  color: #b4cfc0;
}

.world-tenets {
  gap: 12px;
  border: 0;
}

.world-tenets article {
  min-height: 315px;
  padding: 28px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  backdrop-filter: blur(8px);
}

.world-tenets h3 {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 23px;
}

.world-tenets p,
.connection-protocol p {
  color: #a9c3b6;
}

.systems-weave {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 50%, rgba(255, 215, 106, .08), transparent 34%),
    rgba(3, 39, 32, .52);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 30px;
  box-shadow: 0 40px 90px rgba(0, 20, 15, .18);
}

.weave-map {
  isolation: isolate;
}

.systems-field {
  position: absolute;
  inset: -8%;
  z-index: 0;
  width: 116%;
  height: 116%;
  opacity: .32;
  mix-blend-mode: screen;
  mask-image: radial-gradient(circle, black 18%, rgba(0, 0, 0, .76) 46%, transparent 75%);
  pointer-events: none;
}

.weave-map > :not(.systems-field) {
  z-index: 2;
}

.weave-copy h3 {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
}

.weave-copy > p:last-child {
  color: #afc9bc;
}

.weave-ring {
  border-color: rgba(221, 245, 220, .22);
}

.weave-core {
  color: var(--night);
  background: radial-gradient(circle at 38% 28%, #fff0a2, var(--sun) 54%, #82c879);
  box-shadow: 0 0 0 16px rgba(255, 215, 106, .08), 0 20px 50px rgba(0, 0, 0, .2);
}

.weave-node {
  color: #e2efe4;
  background: rgba(9, 71, 57, .9);
  border-color: rgba(255, 255, 255, .16);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .13);
}

.connection-protocol {
  gap: 10px;
  border: 0;
}

.connection-protocol > div {
  padding: 26px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
}

/* Principles */
.section-principles {
  background:
    radial-gradient(circle at 10% 16%, rgba(255, 215, 106, .26), transparent 21%),
    linear-gradient(165deg, #e5f2df, #f4f4e4 58%, #e1efe6);
  border: 0;
}

.principles-grid {
  gap: 14px;
  border: 0;
}

.principle-card {
  min-height: 340px;
  padding: 30px;
  background: rgba(255, 254, 246, .72);
  border: 1px solid rgba(18, 87, 69, .13);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(43, 85, 66, .07);
  backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.principle-card:hover {
  z-index: 2;
  transform: translateY(-7px);
  box-shadow: 0 28px 60px rgba(43, 85, 66, .12);
}

.principle-glyph {
  color: var(--night);
  background: linear-gradient(145deg, #fff2a2, var(--sun) 55%, #8fd385);
  box-shadow: 0 10px 24px rgba(111, 145, 72, .14);
}

.principle-card h3 {
  color: var(--night);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 24px;
}

.principle-card p {
  color: #567068;
}

/* Method / ScrollStack-inspired rhythm */
.section-method {
  background:
    linear-gradient(180deg, rgba(204, 235, 240, .55), transparent 32%),
    var(--paper);
}

.method-list {
  border: 0;
}

.method-step {
  position: sticky;
  top: 112px;
  min-height: 280px;
  margin-bottom: 26px;
  padding: 34px;
  background: rgba(255, 254, 246, .94);
  border: 1px solid rgba(18, 87, 69, .14);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(33, 79, 63, .1);
  backdrop-filter: blur(16px);
}

.method-step:nth-child(2) { top: 126px; }
.method-step:nth-child(3) { top: 140px; }
.method-step:nth-child(4) { top: 154px; }

.step-index i {
  background: linear-gradient(var(--leaf), rgba(69, 185, 120, .1));
}

.step-copy h3 {
  color: var(--night);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 34px;
}

.step-copy > p:not(.kicker) {
  color: #557168;
}

.step-prompts span {
  color: #3f6558;
  background: rgba(225, 242, 219, .6);
  border-color: rgba(18, 87, 69, .13);
  border-radius: 999px;
}

.step-visual {
  background:
    linear-gradient(145deg, rgba(207, 237, 226, .58), rgba(250, 246, 220, .8));
  border-color: rgba(18, 87, 69, .13);
  border-radius: 20px;
}

.imagine-visual i,
.test-visual div:nth-child(3) {
  background: var(--sun);
}

.learn-visual circle {
  fill: var(--leaf);
}

.zoom-protocol {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 215, 106, .18), transparent 33%),
    linear-gradient(140deg, #0c5645, var(--night));
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(7, 59, 50, .15);
}

.zoom-mark {
  background: var(--sun);
}

.zoom-protocol h3 {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
}

.zoom-protocol .kicker {
  color: var(--sun);
}

.zoom-questions span {
  color: #bad2c5;
  border-color: rgba(255, 255, 255, .13);
  border-radius: 999px;
}

/* Artifact */
.section-artifact {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(106, 195, 156, .16), transparent 24%),
    linear-gradient(155deg, #06392f, #0f493c);
}

.artifact-layout {
  gap: 52px;
}

.artifact-tab {
  margin-bottom: 8px;
  padding: 18px 16px;
  color: #98b3a7;
  border: 1px solid transparent;
  border-radius: 16px;
}

.artifact-tab:hover,
.artifact-tab.active {
  color: var(--white);
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .13);
}

.artifact-tab.active {
  box-shadow: inset 3px 0 var(--sun);
}

.artifact-tab.active span {
  color: var(--sun);
}

.document-preview {
  background: #faf8ed;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 24px;
  box-shadow: 0 42px 90px rgba(0, 20, 15, .25);
}

.doc-toolbar {
  background: #dce7d8;
}

.doc-blocks div {
  background: rgba(255, 255, 255, .28);
}

.artifact-features {
  gap: 8px;
  border: 0;
}

.artifact-features span {
  color: #aac0b4;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
}

.artifact-features span::before {
  color: var(--sun);
}

/* Participation */
.section-participation {
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 215, 106, .35), transparent 24%),
    linear-gradient(180deg, #f7f4e7, #e9f2e3);
  border: 0;
}

.participation-thesis {
  background: linear-gradient(135deg, #0f5b48, var(--night));
  border: 0;
  border-radius: 22px;
  box-shadow: 0 24px 58px rgba(7, 59, 50, .13);
}

.participation-thesis > span {
  color: var(--sun);
}

.participation-lanes {
  gap: 18px;
}

.participation-lane {
  min-height: 700px;
  padding: 34px;
  background: rgba(255, 254, 246, .78);
  border: 1px solid rgba(18, 87, 69, .13);
  border-top: 1px solid rgba(18, 87, 69, .13);
  border-radius: 26px;
  box-shadow: 0 22px 55px rgba(44, 84, 65, .08);
  backdrop-filter: blur(12px);
}

.lane-expert {
  box-shadow: inset 0 5px #76bfd1, 0 22px 55px rgba(44, 84, 65, .08);
}

.participation-lane.lane-public {
  border-top: 1px solid rgba(18, 87, 69, .13);
  box-shadow: inset 0 5px var(--orange), 0 22px 55px rgba(44, 84, 65, .08);
}

.lane-symbol {
  background: #65aec3;
  box-shadow: 0 9px 22px rgba(76, 140, 159, .18);
}

.lane-public .lane-symbol {
  background: var(--orange);
}

.lane-title h3,
.lane-output strong,
.lane-journey strong {
  color: var(--night);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
}

.knowledge-map {
  background:
    radial-gradient(circle at 10% 100%, rgba(255, 215, 106, .12), transparent 35%),
    linear-gradient(135deg, #0b4d3e, var(--night));
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(7, 59, 50, .17);
}

.knowledge-map-heading .kicker,
.knowledge-rows i {
  color: var(--sun);
}

.knowledge-map-heading h3,
.response-loop-heading h3,
.product-boundary h3 {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
}

.response-loop,
.product-boundary {
  background: rgba(255, 254, 246, .74);
  border: 1px solid rgba(18, 87, 69, .13);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(44, 84, 65, .06);
}

.response-loop li > span {
  background: var(--sun);
}

.product-boundary {
  border-top: 1px solid rgba(18, 87, 69, .13);
  box-shadow: inset 0 4px var(--orange), 0 18px 48px rgba(44, 84, 65, .06);
}

.mvp-strip {
  overflow: hidden;
  background: var(--night);
  border-radius: 22px;
}

/* Governance */
.section-governance {
  background:
    radial-gradient(circle at 6% 30%, rgba(122, 196, 139, .2), transparent 24%),
    #eef4e7;
}

.roles-grid {
  gap: 12px;
  border: 0;
}

.role-card {
  min-height: 470px;
  padding: 28px;
  background: rgba(255, 254, 246, .75);
  border: 1px solid rgba(18, 87, 69, .13);
  border-top: 1px solid rgba(18, 87, 69, .13);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(44, 84, 65, .07);
}

.role-card h3,
.role-power strong {
  color: var(--night);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
}

.role-panel { box-shadow: inset 0 4px var(--night), 0 16px 42px rgba(44, 84, 65, .07); }
.role-experts { box-shadow: inset 0 4px var(--blue), 0 16px 42px rgba(44, 84, 65, .07); }
.role-community { box-shadow: inset 0 4px var(--orange), 0 16px 42px rgba(44, 84, 65, .07); }
.role-public { box-shadow: inset 0 4px var(--leaf), 0 16px 42px rgba(44, 84, 65, .07); }

.verification-panel {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 215, 106, .17), transparent 34%),
    linear-gradient(135deg, #0d5544, var(--night));
  border-radius: 28px;
  box-shadow: 0 32px 74px rgba(7, 59, 50, .15);
}

.verification-copy .kicker,
.trust-check {
  color: var(--night);
  background: var(--sun);
}

.verification-copy h3,
.interface-heading h3 {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
}

.interface-assembly {
  background: rgba(255, 254, 246, .65);
  border: 1px solid rgba(18, 87, 69, .13);
  border-top: 1px solid rgba(18, 87, 69, .13);
  border-radius: 26px;
  box-shadow: inset 0 4px var(--leaf);
}

.interface-triggers div {
  background: rgba(230, 244, 225, .45);
}

/* Decision-making */
.section-consensus {
  background:
    radial-gradient(circle at 90% 18%, rgba(113, 190, 212, .25), transparent 26%),
    linear-gradient(180deg, #edf5ed, #e9f2f1);
  border: 0;
}

.consensus-copy > p,
.vote-rule p {
  color: var(--night);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
}

.score-card {
  background:
    radial-gradient(circle at 90% 0, rgba(112, 194, 145, .15), transparent 35%),
    var(--night);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 26px;
  box-shadow: 0 30px 75px rgba(7, 59, 50, .18);
}

.score-header span:not(.review-badge),
.score-verdict > span {
  color: var(--sun);
}

.score-ring {
  background: conic-gradient(var(--sun) calc(var(--score) * 1%), #254f44 0);
}

.score-bars em {
  background: linear-gradient(90deg, var(--leaf), var(--sun));
}

.vote-rule {
  background: rgba(255, 254, 246, .55);
  border: 1px solid rgba(18, 87, 69, .13);
  border-radius: 20px;
}

.vote-rule strong {
  text-decoration-color: rgba(69, 185, 120, .34);
}

/* Safeguards */
.section-safeguards {
  color: #edf7ee;
  background:
    radial-gradient(circle at 88% 10%, rgba(243, 154, 98, .12), transparent 22%),
    linear-gradient(145deg, #203b31, #0a322a 58%, #162f28);
}

.risk-register {
  display: grid;
  gap: 8px;
  border: 0;
}

.risk-row {
  min-height: 88px;
  padding: 0 20px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 17px;
}

.risk-row:hover {
  background: rgba(255, 255, 255, .07);
}

.risk-row:hover .risk-name strong {
  color: var(--sun);
}

.risk-detail,
.risk-detail.open {
  margin-top: -10px;
  padding: 28px 30px 24px 126px;
  background: rgba(0, 15, 11, .24);
  border: 1px solid rgba(255, 255, 255, .08);
  border-top: 0;
  border-radius: 0 0 17px 17px;
}

.risk-detail span {
  color: var(--sun);
}

/* Roadmap */
.section-roadmap {
  background:
    radial-gradient(circle at 13% 10%, rgba(255, 215, 106, .28), transparent 20%),
    var(--paper);
}

.pilot-question {
  padding: 45px;
  background: rgba(255, 254, 246, .72);
  border: 1px solid rgba(18, 87, 69, .14);
  border-top: 1px solid rgba(18, 87, 69, .14);
  border-radius: 26px;
  box-shadow: inset 0 5px var(--sun), 0 24px 60px rgba(44, 84, 65, .07);
}

.pilot-question blockquote,
.timeline-item h3,
.success-heading h3,
.success-metric b {
  color: var(--night);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
}

.timeline::before {
  background: rgba(18, 87, 69, .16);
}

.timeline-progress i,
.timeline-item.active::before {
  background: var(--leaf);
}

.success-grid {
  overflow: hidden;
  background:
    radial-gradient(circle at 0 100%, rgba(255, 215, 106, .12), transparent 32%),
    var(--night);
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(7, 59, 50, .14);
}

.success-heading .kicker {
  color: var(--sun);
}

.success-heading h3,
.success-metric b {
  color: var(--white);
}

/* Questions */
.section-questions {
  background:
    radial-gradient(circle at 88% 20%, rgba(110, 195, 144, .22), transparent 25%),
    linear-gradient(180deg, #ebf3e7, #f5f3e6);
  border: 0;
}

.filter {
  color: #4f7166;
  background: rgba(255, 254, 246, .54);
  border-color: rgba(18, 87, 69, .15);
  border-radius: 999px;
}

.filter:hover,
.filter.active {
  color: var(--white);
  background: var(--night);
  border-color: var(--night);
}

.question-list {
  gap: 14px;
}

.question-card {
  min-height: 275px;
  padding: 29px;
  background: rgba(255, 254, 246, .78);
  border: 1px solid rgba(18, 87, 69, .13);
  border-radius: 23px;
  box-shadow: 0 16px 42px rgba(44, 84, 65, .065);
  backdrop-filter: blur(9px);
}

.question-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 58px rgba(44, 84, 65, .11);
}

.question-card h3 {
  color: var(--night);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 25px;
}

.reaction {
  border-color: rgba(18, 87, 69, .16);
  border-radius: 999px;
}

.reaction:hover,
.reaction.voted {
  color: var(--night);
  background: var(--sun);
  border-color: var(--sun-deep);
}

/* Closing document */
.section-document {
  color: var(--white);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(116, 202, 137, .16), transparent 30%),
    radial-gradient(ellipse at 20% 90%, rgba(255, 215, 106, .09), transparent 33%),
    linear-gradient(140deg, #06392f, #102f28);
}

.document-intro .kicker {
  color: var(--sun);
}

.document-intro h2,
.change-item strong {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
}

.document-intro > p:not(.kicker) {
  color: #b2cbbc;
}

.change-item > span {
  color: var(--sun);
}

.site-footer {
  padding: 34px max(5vw, 48px);
  background: #03271f;
  border-color: rgba(255, 255, 255, .1);
}

.site-footer strong {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
}

.toast {
  color: var(--night);
  background: var(--sun);
  border: 1px solid rgba(7, 59, 50, .16);
  border-radius: 999px;
}

@media (max-width: 1240px) {
  .document-status {
    display: none;
  }

  .side-nav a {
    padding-inline: 7px;
    font-size: 7px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .78fr);
  }

  .hero h1 {
    font-size: clamp(68px, 8vw, 104px);
  }

  .knowledge-rows > div {
    grid-template-columns: 105px 130px 1fr 72px;
  }
}

@media (max-width: 980px) {
  .sidebar,
  body.light-theme .sidebar {
    inset: 78px 14px 14px auto;
    display: flex;
    width: min(390px, calc(100% - 28px));
    height: auto;
    max-height: calc(100svh - 92px);
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 24px;
    overflow-y: auto;
    border-radius: 26px;
    box-shadow: 0 30px 90px rgba(7, 59, 50, .25);
    transform: translateX(calc(100% + 40px));
  }

  body.menu-open .sidebar {
    transform: translateX(0);
  }

  .brand-lockup,
  .document-status,
  .sidebar-footer {
    display: none;
  }

  .side-nav {
    display: grid;
    flex: 0 0 auto;
    justify-content: stretch;
    overflow: visible;
  }

  .side-nav a,
  body.light-theme .side-nav a {
    justify-content: flex-start;
    gap: 12px;
    padding: 13px 15px;
    font-size: 11px;
  }

  .side-nav a span {
    display: inline-block;
    color: #719087;
  }

  .mobile-header {
    position: fixed;
    inset: 14px 14px auto;
    z-index: 110;
    display: flex;
    height: 54px;
    padding: 6px 8px 6px 12px;
    color: var(--ink);
    background: rgba(255, 254, 246, .85);
    border: 1px solid rgba(18, 87, 69, .14);
    border-radius: 999px;
    box-shadow: 0 14px 45px rgba(7, 59, 50, .12);
    backdrop-filter: blur(16px);
  }

  .mobile-brand {
    font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
    font-weight: 600;
  }

  .mobile-brand span {
    color: var(--night);
    background: var(--sun);
  }

  .menu-button {
    border-color: rgba(18, 87, 69, .16);
    border-radius: 50%;
  }

  .menu-button span:not(.sr-only) {
    background: var(--night);
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 125px 28px 90px;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-model {
    width: min(100%, 680px);
    min-height: 560px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 110px 28px;
  }

  .premise-grid,
  .world-manifesto,
  .systems-weave,
  .artifact-layout,
  .consensus-layout,
  .verification-panel,
  .interface-assembly,
  .document-grid,
  .knowledge-map,
  .product-boundary {
    grid-template-columns: 1fr;
  }

  .world-tenets,
  .connection-protocol,
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-step {
    top: 90px !important;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .step-visual {
    grid-column: 2;
    width: 100%;
  }

  .participation-lanes {
    grid-template-columns: 1fr;
  }

  .response-loop ol {
    grid-template-columns: repeat(3, 1fr);
  }

  .mvp-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-inline: 20px;
  }

  .eyebrow {
    font-size: 7px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 76px);
    line-height: .88;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions,
  .hero-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-model {
    min-height: 460px;
    border-radius: 25px;
  }

  .model-center {
    min-height: 340px;
  }

  .model-core {
    width: 120px;
    height: 120px;
  }

  .model-core strong {
    font-size: 24px;
  }

  .section {
    padding: 90px 20px;
  }

  .section-heading {
    display: block;
  }

  .section-number {
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: 43px;
  }

  .thesis-strip,
  .world-tenets,
  .connection-protocol,
  .principles-grid,
  .roles-grid,
  .question-list,
  .response-loop ol,
  .mvp-strip,
  .success-grid {
    grid-template-columns: 1fr;
  }

  .method-step {
    position: relative;
    top: auto !important;
    grid-template-columns: 1fr;
    padding: 25px 20px;
  }

  .step-visual {
    grid-column: 1;
  }

  .zoom-protocol {
    padding: 26px 20px;
  }

  .participation-thesis,
  .knowledge-map,
  .response-loop,
  .product-boundary,
  .verification-panel,
  .interface-assembly,
  .pilot-question {
    padding: 28px 20px;
  }

  .participation-lane,
  .role-card,
  .question-card {
    padding: 24px 20px;
  }

  .knowledge-rows > div {
    grid-template-columns: 1fr;
  }

  .knowledge-rows i {
    grid-column: 1;
    justify-self: start;
  }

  .risk-row {
    padding: 0 12px;
  }

  .risk-detail,
  .risk-detail.open {
    padding: 24px 20px;
  }

  .site-footer {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solar-rays,
  .systems-field {
    display: none;
  }

  .method-step {
    position: relative;
    top: auto !important;
  }

  .spotlight-surface::after {
    display: none;
  }
}
