:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-soft: #f5f1e9;
  --ink: #1d1d1a;
  --ink-soft: #666256;
  --line: #e1dbcf;
  --line-strong: #cfc5b4;
  --accent: #1f1f1a;
  --accent-soft: #f2ede3;
  --signal: #a35f35;
  --ok: #2a7754;
  --shadow-sm: 0 2px 8px rgba(29, 29, 26, 0.06);
  --shadow-md: 0 10px 28px rgba(29, 29, 26, 0.08);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.56;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0;
}

em,
.normative-inline-text {
  font-family: Garamond, "Times New Roman", serif;
}

p {
  margin: 0 0 0.84rem;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(46, 93, 136, 0.3);
  outline-offset: 2px;
}

.container {
  width: min(1160px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  background: #ffffff;
  color: #1f2d3d;
  border: 1px solid #c6cfd9;
  border-radius: 8px;
  padding: 0.38rem 0.56rem;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

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

.wre-banner {
  margin: 12px auto 0;
  width: min(1160px, calc(100% - 2.4rem));
  padding: 8px;
  background: #f7fdf6;
  border: 1px solid #d6f0d8;
  border-radius: 6px;
  text-align: center;
}

.wre-banner a {
  font-weight: 600;
  color: #0a5f38;
  text-decoration: none;
}

.wre-banner a:hover,
.wre-banner a:focus-visible {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(207, 197, 180, 0.7);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #ffffff;
  color: #556273;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.4rem 0.58rem;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: #f4f7fa;
  color: #1f2d3d;
}

.brand {
  text-decoration: none;
  font-family: "Helvetica Neue UltraLight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.46rem, 2.1vw, 1.95rem);
  font-weight: 200;
  color: rgb(54, 54, 54);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.34rem 0.62rem;
  border: 1px solid transparent;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #2c2a22;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.8);
}

.main-nav a.is-active {
  color: #1f2d3d;
  border-color: #c7d0db;
  background: #f4f7fa;
}

main {
  padding: 2.35rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 0.9rem;
}

.hero-main,
.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.hero-main {
  position: relative;
  padding: clamp(1.15rem, 2.4vw, 1.95rem);
}

.hero-card {
  padding: 1.04rem 1.1rem;
  background: linear-gradient(180deg, #fffdfa 0%, #f8f2e7 100%);
}

.hero-card ol {
  margin: 0;
  padding-left: 1.12rem;
}

.hero-card li {
  margin-bottom: 0.52rem;
}

.eyebrow {
  margin-bottom: 0.42rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--signal);
}

h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.28rem);
  margin-bottom: 0.72rem;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  max-width: 64ch;
}

.hero-floats {
  display: none;
}

.button-row {
  margin-top: 1.04rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.56rem;
}

.stat-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  padding: 0.5rem 0.58rem;
}

.stat-value {
  margin: 0 0 0.06rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
}

.stat-label {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0.56rem 0.98rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(29, 29, 26, 0.2);
  outline-offset: 2px;
}

.btn-primary {
  color: #f8f8f5;
  background: linear-gradient(135deg, #22211d 0%, #11110f 100%);
  box-shadow: 0 8px 18px rgba(17, 17, 15, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #11110f 0%, #080807 100%);
}

.btn-secondary {
  color: #2e2c24;
  background: #ede5d8;
  border-color: var(--line-strong);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #e4dac8;
}

.btn-ghost {
  color: var(--ink-soft);
  background: #fffdfa;
  border-color: var(--line-strong);
}

.section {
  margin-top: 2.75rem;
}

.explainer-main {
  padding: 2.25rem 0 3.75rem;
}

.explainer-head {
  margin-bottom: 0.92rem;
}

.explainer-head h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 0.6rem;
}

.explainer-lead {
  color: var(--ink-soft);
  max-width: 78ch;
  font-size: 1.02rem;
}

.explainer-grid {
  display: grid;
  gap: 0.86rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.explainer-panel h2 {
  font-size: clamp(1.4rem, 2.3vw, 1.84rem);
  margin-bottom: 0.44rem;
}

.explainer-panel p:last-child {
  margin-bottom: 0;
}

.explainer-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.42rem;
}

.explainer-list li {
  margin: 0;
}

.source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.source-list a {
  color: #2c4d75;
}

.source-list a:hover,
.source-list a:focus-visible {
  color: #1f3c60;
}

.section-head {
  margin-bottom: 0.84rem;
}

.section h2 {
  font-size: clamp(1.86rem, 2.9vw, 2.58rem);
}

.deliberation-title {
  line-height: 1.14;
}

.normative-inline-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-inline: 0.08em;
  vertical-align: baseline;
}

.normative-inline-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 8.8ch;
  text-decoration: none;
}

.normative-inline-link:hover,
.normative-inline-link:focus-visible {
  color: inherit;
}

.normative-inline-link:focus-visible {
  outline: 2px solid rgba(111, 122, 138, 0.34);
  outline-offset: 2px;
}

.normative-inline-text {
  color: inherit;
}

.normative-inline-dotted {
  display: block;
  width: 100%;
  height: 0;
  margin-top: -0.12em;
  border-bottom: 2px dotted #9aa3b0;
}

.normative-inline-link:hover .normative-inline-dotted,
.normative-inline-link:focus-visible .normative-inline-dotted {
  border-bottom-color: #6f7a8a;
}

.deliberation-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.86rem;
}

.re-lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: 0.86rem;
  align-items: stretch;
}

.re-lab-copy {
  display: grid;
  align-content: start;
  gap: 0.68rem;
}

.re-lab-copy .btn {
  justify-self: start;
}

.re-lab-frame-card {
  padding: 0;
  overflow: hidden;
  min-height: 760px;
}

.re-lab-frame {
  display: block;
  width: 100%;
  height: min(78vh, 900px);
  min-height: 760px;
  border: 0;
  background: #ffffff;
}

.deliberation-copy {
  background:
    linear-gradient(180deg, #fffdfa 0%, #f6efe2 100%),
    var(--surface);
}

.deliberation-copy p:last-child {
  margin-bottom: 0;
}

.deliberation-lede {
  font-size: 1.125rem;
}

.deliberation-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0.9rem 0 0.95rem;
}

.deliberation-ethics {
  display: grid;
  gap: 0.95rem;
}

.progress-timing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 0.9rem;
  margin-top: 1rem;
}

.progress-timing-grid-secondary {
  margin-top: 0.9rem;
}

.timing-card,
.timing-graphic-card {
  padding: 1rem 1.05rem;
}

.timing-card {
  background: linear-gradient(180deg, #fffdfa 0%, #f7f2e8 100%), var(--surface);
}

.timing-card h3 {
  font-size: clamp(1.22rem, 1.95vw, 1.58rem);
  line-height: 1.16;
  margin-bottom: 0.48rem;
}

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

.timing-source-note {
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.timing-graphic-card {
  display: grid;
  gap: 0.72rem;
  background: #fbfbf8;
}

.timing-graphic {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f3f3ef;
}

.timing-caption {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.timing-grid-lines path {
  fill: none;
  stroke: rgba(85, 93, 103, 0.22);
  stroke-width: 1;
}

.timing-path {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timing-path.baseline {
  stroke: #23c56b;
}

.timing-path.accelerated {
  stroke: #00da80;
  stroke-dasharray: 16 12;
}

.timing-loss-area {
  fill: rgba(216, 16, 49, 0.92);
}

.timing-drop-line {
  stroke: #00da80;
  stroke-width: 4;
  stroke-dasharray: 14 10;
}

.timing-axis-label,
.timing-y-label,
.timing-curve-label,
.timing-area-label,
.timing-lane-label {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  fill: #3e3b37;
}

.timing-axis-label,
.timing-y-label {
  font-size: 14px;
  font-weight: 600;
}

.timing-curve-label,
.timing-area-label,
.timing-lane-label {
  font-size: 18px;
  font-weight: 600;
}

.timing-curve-label.accent {
  fill: #ff5f35;
}

.timing-area-label.small {
  font-size: 14px;
  font-weight: 500;
}

.timing-lane-line {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timing-lane-line.ethics {
  stroke: #ff5f35;
}

.timing-lane-line.institutions {
  stroke: #2f3d53;
}

.timing-lane-line.tech {
  stroke: #9b978e;
  stroke-dasharray: 14 10;
}

.timing-node {
  stroke: #fbfbf8;
  stroke-width: 3;
}

.timing-node.ethics {
  fill: #ff5f35;
}

.timing-node.institutions {
  fill: #2f3d53;
}

.timing-node.tech {
  fill: #9b978e;
}

@media (max-width: 980px) {
  .progress-timing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .timing-card,
  .timing-graphic-card {
    padding: 0.82rem 0.86rem;
  }

  .timing-curve-label,
  .timing-area-label,
  .timing-lane-label {
    font-size: 15px;
  }

  .timing-axis-label,
  .timing-y-label,
  .timing-area-label.small {
    font-size: 12px;
  }
}

.deliberation-ethics-block h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.12rem, 1.7vw, 1.36rem);
}

.deliberation-ethics-block p {
  margin-bottom: 0.45rem;
}

.deliberation-ethics-list {
  margin: 0 0 0.6rem;
  padding-left: 1.15rem;
}

.deliberation-ethics-list li {
  margin-bottom: 0.45rem;
}

.deliberation-steps {
  margin-bottom: 0.82rem;
  border-top: 1px solid var(--line);
  padding-top: 0.58rem;
}

.deliberation-steps p {
  margin-bottom: 0.48rem;
}

.belief-chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.belief-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdfa;
  padding: 0.48rem 0.58rem;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.belief-chip.dragging {
  border-color: #b8aa93;
  box-shadow: 0 0 0 2px rgba(160, 132, 92, 0.14);
}

.belief-chip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.54rem;
  margin-bottom: 0.34rem;
}

.belief-chip-name {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #3c372f;
}

.belief-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.belief-chip-value {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.re-chip-note {
  margin: 0;
  font-size: 0.77rem;
  color: #5f5a4e;
  line-height: 1.38;
}

.re-source-note {
  margin-top: 0.58rem;
  font-size: 0.78rem;
}

.belief-track {
  position: relative;
  width: 100%;
  height: 0.38rem;
  border-radius: 999px;
  background: #efe7d9;
  overflow: visible;
  cursor: ew-resize;
  touch-action: none;
}

.belief-fill {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width 0.5s ease;
}

.belief-handle {
  position: absolute;
  top: 50%;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  border: 2px solid #8f7c61;
  background: #fffdfa;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(42, 36, 28, 0.12);
  pointer-events: none;
}

.deliberation-stage {
  background:
    radial-gradient(100% 78% at 100% 0%, rgba(163, 95, 53, 0.08), transparent 68%),
    #fffefb;
}

.featured-market-section-head {
  margin-bottom: 0.74rem;
}

.featured-market-section-head h2 {
  margin-bottom: 0.26rem;
}

.featured-market-prompt {
  margin: 0;
  color: #546273;
  font-size: 0.94rem;
  max-width: 86ch;
}

.featured-market-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(290px, 0.62fr);
  gap: 0.9rem;
  background:
    radial-gradient(96% 78% at 100% 0%, rgba(60, 115, 210, 0.08), transparent 72%),
    #fffefb;
}

.featured-market-main {
  display: grid;
  gap: 0.56rem;
}

.featured-market-main-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.54rem;
}

.featured-market-chip {
  margin: 0;
  border: 1px solid #c7d3e2;
  background: #f4f8fc;
  border-radius: 999px;
  color: #355273;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.16rem 0.5rem;
}

.featured-range-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.featured-range-controls button {
  border: 1px solid #cfdae7;
  background: #ffffff;
  color: #52657b;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.16rem 0.5rem;
  cursor: pointer;
}

.featured-range-controls button:hover,
.featured-range-controls button:focus-visible {
  background: #f4f7fb;
  border-color: #bccadb;
}

.featured-range-controls button.is-active {
  color: #ffffff;
  border-color: #223246;
  background: #223246;
}

.featured-market-chart {
  width: 100%;
  display: block;
  border: 1px solid #d8dfe7;
  border-radius: 12px;
  background: #ffffff;
  cursor: crosshair;
}

.featured-market-snapshot {
  margin: 0;
  color: #546273;
  font-size: 0.86rem;
}

.sep-link {
  color: #4a6282;
  text-decoration: none;
  border-bottom: 1px dotted rgba(74, 98, 130, 0.5);
}

.sep-link:hover,
.sep-link:focus-visible {
  color: #2a4466;
  border-bottom-color: rgba(42, 68, 102, 0.8);
}

.featured-market-main-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.featured-market-main-meta p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.46rem 0.54rem;
  background: #fffdfa;
  display: grid;
  gap: 0.1rem;
}

.featured-market-main-meta strong {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.06rem;
}

.featured-market-sidebar {
  display: grid;
  align-content: start;
  gap: 0.54rem;
}

.featured-market-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
}

.featured-price {
  margin: 0;
  border-radius: 10px;
  border: 1px solid #d6dfe9;
  background: #ffffff;
  padding: 0.36rem 0.58rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.featured-price strong {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
}

.featured-price.yes {
  border-color: rgba(36, 105, 74, 0.34);
  background: rgba(36, 105, 74, 0.08);
  color: #1f5a3f;
}

.featured-price.no {
  border-color: rgba(143, 34, 54, 0.32);
  background: rgba(143, 34, 54, 0.08);
  color: #702032;
}

.featured-open-btn {
  width: 100%;
}

.featured-top-wrap {
  margin-top: 0.12rem;
}

.featured-top-label {
  margin: 0 0 0.34rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 700;
  color: #647388;
}

.featured-top-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.34rem;
}

.featured-top-list li {
  margin: 0;
}

.featured-top-button {
  width: 100%;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.4rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  text-align: left;
  cursor: pointer;
}

.featured-top-button:hover,
.featured-top-button:focus-visible {
  background: #f6f9fc;
  border-color: #c7d2df;
}

.featured-top-button.is-active {
  border-color: #223246;
  background: #f3f7fb;
}

.featured-top-market-title {
  color: #2a384b;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.featured-top-market-stats {
  color: #4d5d72;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.featured-top-market-link {
  display: inline-block;
  margin: 0.25rem 0 0.55rem;
  font-size: 0.74rem;
  color: #4a6282;
  text-decoration: none;
  border-bottom: 1px dotted rgba(74, 98, 130, 0.5);
}

.featured-top-market-link:hover,
.featured-top-market-link:focus-visible {
  color: #2a4466;
  border-bottom-color: rgba(42, 68, 102, 0.8);
}

.fmc-bg {
  fill: #ffffff;
}

.fmc-grid {
  stroke: rgba(88, 102, 121, 0.22);
  stroke-width: 1;
}

.fmc-axis-label {
  fill: #5d6a79;
  font-size: 10.8px;
  font-weight: 600;
}

.fmc-legend {
  fill: #4d5d72;
  font-size: 11px;
  font-weight: 700;
}

.fmc-yes-line {
  fill: none;
  stroke: #24694a;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fmc-no-line {
  fill: none;
  stroke: #8f2236;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fmc-latest-guide {
  stroke: rgba(31, 45, 61, 0.36);
  stroke-width: 1.1;
  stroke-dasharray: 4 5;
}

.fmc-hover-guide {
  stroke: rgba(31, 45, 61, 0.58);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
}

.fmc-hover-label {
  fill: #24364c;
  font-size: 11px;
  font-weight: 700;
}

.fmc-yes-dot,
.fmc-no-dot {
  stroke: #ffffff;
  stroke-width: 1.8;
}

.fmc-yes-hover-dot,
.fmc-no-hover-dot {
  stroke: #ffffff;
  stroke-width: 2;
}

.fmc-yes-dot {
  fill: #24694a;
}

.fmc-no-dot {
  fill: #8f2236;
}

.fmc-yes-hover-dot {
  fill: #24694a;
}

.fmc-no-hover-dot {
  fill: #8f2236;
}

.deliberation-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.64rem;
  margin-bottom: 0.5rem;
}

.deliberation-chart {
  width: 100%;
  display: block;
  border: 1px solid #d8cdb9;
  border-radius: 12px;
  cursor: zoom-in;
  background:
    linear-gradient(180deg, #fffcf7 0%, #f7f1e3 100%);
}

.deliberation-metrics {
  margin-top: 0.64rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.deliberation-metrics p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.46rem 0.54rem;
  background: #fffdfa;
  display: grid;
  gap: 0.1rem;
}

.metric-label {
  font-size: 0.74rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.deliberation-metrics strong {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.06rem;
}

.del-grid {
  stroke: rgba(114, 94, 65, 0.2);
  stroke-width: 1;
}

.del-axis-label {
  fill: #776f5e;
  font-size: 11px;
  font-weight: 600;
}

.del-truth {
  stroke: rgba(42, 119, 84, 0.75);
  stroke-width: 2;
  stroke-dasharray: 6 5;
}

.del-consensus-path {
  fill: none;
  stroke: #1e1d19;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.del-consensus-dot {
  fill: #1e1d19;
  stroke: #ffffff;
  stroke-width: 2;
}

.del-belief-path {
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.84;
}

.del-belief-dot {
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 1.6;
}

.del-connector {
  stroke: rgba(43, 40, 35, 0.28);
  stroke-width: 1;
  stroke-dasharray: 4 5;
}

.del-inspect-line {
  stroke: rgba(33, 30, 25, 0.56);
  stroke-width: 1.2;
  stroke-dasharray: 4 5;
}

.del-inspect-label {
  fill: #4a4438;
  font-size: 10.8px;
  font-weight: 700;
}

.re-bg {
  fill: #fcfaf5;
}

.re-grid {
  stroke: rgba(124, 108, 79, 0.16);
  stroke-width: 1;
}

.re-link {
  fill: none;
  stroke: #2a2a27;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.re-conflict {
  fill: none;
  stroke: #b44557;
  stroke-width: 1.6;
  stroke-dasharray: 5 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.re-node {
  stroke-width: 1.3;
}

.re-node-label {
  fill: #243244;
  font-size: 11px;
  font-weight: 700;
}

.re-node-value {
  fill: #5b6572;
  font-size: 10.3px;
  font-weight: 600;
}

.re-pulse {
  fill: #1f2d3d;
  stroke: #ffffff;
  stroke-width: 2;
}

.re-timeline {
  stroke: rgba(97, 91, 80, 0.36);
  stroke-width: 1.2;
}

.re-timeline-dot {
  fill: #cabda8;
  stroke: #ffffff;
  stroke-width: 1;
}

.re-timeline-dot.active {
  fill: #8f2236;
}

.re-stage-caption {
  fill: #2b2a26;
  font-size: 12.2px;
  font-weight: 700;
}

.re-axis-label {
  fill: #736b5b;
  font-size: 10.2px;
  font-weight: 600;
}

.progress-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 0.86rem;
}

.progress-copy {
  background:
    linear-gradient(180deg, #fffdfa 0%, #f4ecdd 100%),
    var(--surface);
}

.progress-copy p:last-child {
  margin-bottom: 0;
}

.progress-era-list {
  list-style: none;
  margin: 0.82rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.progress-era-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdfa;
  padding: 0.48rem 0.6rem;
  transition: border-color 0.24s ease, background-color 0.24s ease, transform 0.24s ease;
}

.progress-era-list li strong {
  display: block;
  margin-bottom: 0.14rem;
  color: #2f2b23;
}

.progress-era-list li p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.progress-era-list li.active {
  border-color: #a28f71;
  background: #f8f1e4;
  transform: translateX(2px);
}

.progress-stage {
  background:
    radial-gradient(96% 82% at 100% 0%, rgba(44, 131, 90, 0.08), transparent 72%),
    #fffefb;
}

.progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.64rem;
}

.progress-narrative {
  margin: 0.12rem 0 0.52rem;
  color: #5a5448;
  font-size: 0.9rem;
}

.progress-chart {
  width: 100%;
  display: block;
  border: 1px solid #d7ccb8;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #fefbf5 0%, #f6efdf 100%);
}

.progress-metrics {
  margin-top: 0.62rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.progress-metrics p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.46rem 0.54rem;
  background: #fffdfa;
  display: grid;
  gap: 0.1rem;
}

.progress-metrics strong {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.06rem;
}

.progress-long-caption {
  margin: 0.58rem 0 0;
  border: 1px dashed #ccbfa9;
  border-radius: var(--radius-sm);
  background: #f8f2e5;
  color: #5f5648;
  font-size: 0.82rem;
  padding: 0.5rem 0.58rem;
}

.mp-grid {
  stroke: rgba(117, 100, 69, 0.18);
  stroke-width: 1;
}

.mp-axis-label {
  fill: #7a725f;
  font-size: 11px;
  font-weight: 600;
}

.mp-base-path {
  fill: none;
  stroke: rgba(33, 31, 26, 0.56);
  stroke-width: 2;
  stroke-dasharray: 6 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-deliberation-path {
  fill: none;
  stroke: #25704f;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-difficulty-path {
  fill: none;
  stroke: #9d6b3e;
  stroke-width: 2;
  stroke-dasharray: 4 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-now-line {
  stroke: rgba(31, 29, 24, 0.42);
  stroke-width: 1.2;
}

.mp-split-line {
  stroke: rgba(154, 125, 83, 0.48);
  stroke-width: 1;
  stroke-dasharray: 4 5;
}

.mp-marker {
  fill: #25704f;
  stroke: #ffffff;
  stroke-width: 2;
}

.mp-difficulty-dot {
  fill: #9d6b3e;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.5;
}

.mp-milestone {
  fill: #3f392f;
  font-size: 10.5px;
  font-weight: 700;
}

.mp-milestone-dot {
  fill: #3f392f;
}

.comparison-intro {
  max-width: 84ch;
  color: #5d584d;
  margin-bottom: 0.44rem;
}

.comparison-year {
  margin-bottom: 0.66rem;
  font-weight: 700;
  color: #4b4539;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.86rem;
}

.comparison-card {
  background: #fffefb;
}

.comparison-math {
  background:
    radial-gradient(120% 88% at 100% 0%, rgba(59, 117, 210, 0.08), transparent 72%),
    #fffefb;
}

.comparison-ethics {
  background:
    radial-gradient(120% 88% at 100% 0%, rgba(42, 119, 84, 0.08), transparent 72%),
    #fffefb;
}

.comparison-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.62rem;
  margin-bottom: 0.18rem;
}

.comparison-pill {
  margin: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.14rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.comparison-math .comparison-pill {
  color: #2c4d86;
  border-color: rgba(60, 115, 210, 0.35);
  background: rgba(60, 115, 210, 0.12);
}

.comparison-ethics .comparison-pill {
  color: #23573f;
  border-color: rgba(42, 119, 84, 0.34);
  background: rgba(42, 119, 84, 0.12);
}

.comparison-note {
  margin: 0 0 0.52rem;
  color: #5a5448;
  font-size: 0.88rem;
}

.comparison-chart {
  width: 100%;
  display: block;
  border: 1px solid #d7ccb8;
  border-radius: 12px;
  background: linear-gradient(180deg, #fefbf5 0%, #f6efdf 100%);
}

.comparison-metrics {
  margin-top: 0.64rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.46rem;
  align-items: stretch;
}

.comparison-metrics p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdfa;
  padding: 0.5rem 0.58rem;
}

.comparison-narrative {
  color: #4e483d;
  font-size: 0.88rem;
}

.cmp-grid {
  stroke: rgba(117, 100, 69, 0.18);
  stroke-width: 1;
}

.cmp-axis-label {
  fill: #7a725f;
  font-size: 10.8px;
  font-weight: 600;
}

.cmp-progress {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cmp-difficulty {
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 5 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cmp-now {
  stroke: rgba(31, 29, 24, 0.38);
  stroke-width: 1.2;
}

.cmp-split-line {
  stroke: rgba(154, 125, 83, 0.46);
  stroke-width: 1;
  stroke-dasharray: 4 5;
}

.cmp-progress-dot {
  stroke: #ffffff;
  stroke-width: 2;
}

.cmp-difficulty-dot {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.5;
}

.cmp-milestone {
  fill: #3f392f;
  font-size: 10px;
  font-weight: 700;
}

.cmp-milestone-dot {
  fill: #3f392f;
}

.comparison-math .cmp-progress {
  stroke: #3c73d2;
}

.comparison-math .cmp-progress-dot {
  fill: #3c73d2;
}

.comparison-math .cmp-difficulty {
  stroke: #628ccc;
}

.comparison-math .cmp-difficulty-dot {
  fill: #628ccc;
}

.comparison-ethics .cmp-progress {
  stroke: #2a7754;
}

.comparison-ethics .cmp-progress-dot {
  fill: #2a7754;
}

.comparison-ethics .cmp-difficulty {
  stroke: #5d916f;
}

.comparison-ethics .cmp-difficulty-dot {
  fill: #5d916f;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.86rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 0.95rem 1rem;
}

.formula-panel {
  margin-top: 0.86rem;
  border-style: dashed;
  background: #f9f3e9;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.68rem;
  margin-bottom: 0.72rem;
}

.check-row input {
  margin-top: 0.2rem;
}

.pledge-form {
  max-width: 760px;
}

.pledge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: 0.86rem;
  align-items: start;
}

.pledge-side-panel {
  display: grid;
  gap: 0.72rem;
}

.pledge-checklist-progress {
  margin: -0.22rem 0 0.62rem;
  font-weight: 700;
  color: #4a637f;
}

.pledge-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.pledge-metric-card {
  border: 1px solid #d7e0ea;
  border-radius: var(--radius-sm);
  background: #f8fbff;
  padding: 0.48rem 0.52rem;
}

.pledge-metric-label {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5e738a;
  font-weight: 700;
}

.pledge-metric-value {
  margin: 0.18rem 0 0;
  font-size: 1.36rem;
  line-height: 1.05;
  color: #243f60;
  font-weight: 800;
}

.pledge-metric-sub {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  color: #5d7085;
}

.pledge-registry-wrap h4 {
  margin: 0 0 0.36rem;
  font-size: 1rem;
}

.pledge-registry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.pledge-registry-item {
  border: 1px solid #d7e1eb;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 0.48rem 0.54rem;
}

.pledge-registry-item p {
  margin: 0;
}

.pledge-registry-meta {
  margin-top: 0.12rem;
  color: #5d7288;
  font-size: 0.78rem;
}

.pledge-registry-action {
  margin-top: 0.2rem;
  color: #314b68;
  font-size: 0.82rem;
}

.field-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.field-row input,
.field-row textarea,
.field-row select {
  width: 100%;
  border: 1px solid #ccc2b2;
  border-radius: var(--radius-sm);
  background: #fffdfa;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 0.58rem 0.64rem;
}

.field-row textarea {
  resize: vertical;
}

input[type="range"] {
  accent-color: #2a2822;
  padding: 0;
}

.status-line,
.hint {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.gate-banner {
  margin: 0 0 0.92rem;
  padding: 0.68rem 0.8rem;
  border: 1px solid #d0c6b4;
  border-radius: var(--radius-sm);
  background: #f8f2e6;
  color: #6f573c;
  font-weight: 700;
}

.studio-content.locked {
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.86rem;
}

.compact-form {
  margin-bottom: 1rem;
}

.availability-block {
  margin-bottom: 0.8rem;
}

.field-label {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: var(--ink);
}

.availability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  background: var(--surface);
  max-height: 220px;
  overflow: auto;
}

.availability-item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.availability-item input {
  margin-top: 0.12rem;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-fieldset {
  margin: 0 0 0.8rem;
  padding: 0.68rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdfa;
}

.form-fieldset legend {
  padding: 0 0.22rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-fieldset .check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.36rem 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.commitment-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0.68rem;
  align-items: start;
}

.commitment-proof-fieldset,
.commitment-consent-fieldset,
.post-session-fieldset,
.guided-protocol-fieldset {
  background: #f8f5ee;
}

.guided-protocol-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.22rem 0.72rem;
}

.protocol-notes-row {
  margin: 0.6rem 0 0;
}

.commitment-preview {
  background: #f7fbf8;
  border-color: #cfe2d4;
  color: #31523e;
}

.invite-block {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

body.attendance-modal-open {
  overflow: hidden;
}

.attendance-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
  pointer-events: auto;
}

.attendance-modal[hidden] {
  display: none !important;
}

.attendance-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 28, 41, 0.44);
  z-index: 0;
}

.attendance-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(24, 36, 53, 0.24);
  padding: 1rem;
}

.attendance-close-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  border: 1px solid transparent;
  background: transparent;
  color: #3b4c62;
  font-size: 1.55rem;
  line-height: 1;
  padding: 0.1rem 0.35rem;
}

.attendance-close-btn:hover,
.attendance-close-btn:focus-visible {
  border-color: var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.attendance-policy-copy {
  border: 1px solid #d6dee9;
  border-radius: var(--radius-sm);
  background: #f5f9ff;
  padding: 0.66rem;
  color: #324e70;
}

.pledge-modal-dialog {
  width: min(780px, 100%);
}

.pledge-modal-copy {
  margin-bottom: 0.9rem;
  border: 1px solid #d6dee9;
  border-radius: var(--radius-sm);
  background: #f7f5ef;
  padding: 0.75rem;
  color: #4b5049;
}

.pledge-modal-form {
  gap: 0.85rem;
}

.pledge-modal-form .check-row {
  align-items: flex-start;
  padding: 0.25rem 0;
}

.attendance-policy-status {
  min-height: 1.2rem;
  margin-bottom: 0.3rem;
}

.attendance-policy-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.44rem;
  flex-wrap: wrap;
}

.subhead-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.52rem;
}

.stack-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.66rem;
}

.conviction-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  padding: 0.66rem;
  cursor: pointer;
  transition: border-color 0.16s ease;
}

.reservation-list .conviction-item,
.invite-list .conviction-item {
  cursor: default;
}

.conviction-item:hover {
  border-color: var(--line-strong);
}

.conviction-item.active {
  border-color: #968970;
  box-shadow: 0 0 0 1px rgba(150, 137, 112, 0.24) inset;
}

.conviction-item p:last-child {
  margin-bottom: 0;
}

.mini-summary {
  margin: 0 0 0.72rem;
  padding: 0.58rem 0.66rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f4eee2;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.high-stake-preview,
.high-stake-promise-preview {
  background: linear-gradient(180deg, rgba(255, 95, 53, 0.08), rgba(255, 95, 53, 0.03));
  border-color: rgba(255, 95, 53, 0.22);
  color: #56453a;
}

.high-stake-preview strong,
.high-stake-promise-preview strong {
  color: #2f2d2b;
}

.inline-field {
  max-width: 320px;
}

.counterpart-list {
  display: grid;
  gap: 0.64rem;
  margin-bottom: 0.92rem;
}

.counterpart-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdfa;
  padding: 0.68rem;
  opacity: 0;
  transform: translateY(8px);
  animation: cardIn 0.42s ease forwards;
  animation-delay: var(--card-delay, 0s);
}

.counterpart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.66rem;
  margin-bottom: 0.42rem;
}

.score-pill {
  border-radius: 999px;
  padding: 0.16rem 0.5rem;
  border: 1px solid #cdbfa8;
  background: #f1e8d9;
  color: #695742;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.counterpart-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-bottom: 0.42rem;
}

.chip {
  border-radius: 999px;
  border: 1px solid #d1c4ae;
  background: #f8f2e7;
  color: #6b5a45;
  padding: 0.14rem 0.5rem;
  font-size: 0.76rem;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.32rem;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
}

.score-grid span {
  color: var(--ink-soft);
}

.session-head {
  margin-top: 0.3rem;
}

.threshold-note {
  margin-top: -0.24rem;
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
}

.threshold-note.triggered {
  color: var(--ok);
  font-weight: 700;
}

.threshold-note.neutral {
  color: #745b3e;
}

.action-block.hidden {
  display: none;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
}

.ledger-list {
  display: grid;
  gap: 0.64rem;
}

.ledger-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdfa;
  padding: 0.72rem;
}

.ledger-item.done {
  border-color: #bbd0c0;
  background: #f2f8f3;
}

.ledger-item.under-review {
  border-color: #d8c07e;
  background: #fff9e9;
}

.ledger-meta {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.ledger-audit-line {
  margin: 0 0 0.5rem;
  color: #516274;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.ledger-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.8rem 0 0.7rem;
}

.proof-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f8f5ee;
  padding: 0.55rem;
}

.proof-card.uploaded {
  border-color: rgba(53, 155, 95, 0.28);
  background: rgba(53, 155, 95, 0.08);
}

.proof-card-title {
  margin: 0 0 0.18rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.proof-card-meta,
.proof-card-status {
  margin: 0;
  font-size: 0.76rem;
  color: var(--ink-soft);
}

.proof-upload-block {
  margin: 0.4rem 0 0.8rem;
  padding: 0.8rem;
  border: 1px dashed rgba(95, 97, 91, 0.32);
  border-radius: var(--radius-sm);
  background: rgba(248, 242, 231, 0.55);
}

.audit-export-status {
  min-height: 1.15rem;
  margin: 0.2rem 0 0;
}

.admin-health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.56rem;
  margin-bottom: 0.9rem;
}

.admin-health-item,
.admin-review-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdfa;
  padding: 0.68rem;
}

.admin-health-item p,
.admin-review-item p {
  margin: 0;
}

.admin-health-label,
.admin-review-meta {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.admin-health-value {
  margin-top: 0.18rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}

.admin-review-queue {
  display: grid;
  gap: 0.7rem;
}

.admin-review-section {
  display: grid;
  gap: 0.56rem;
}

.admin-review-section h3 {
  margin-bottom: 0;
}

.admin-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.55rem;
}

.site-footer {
  border-top: 1px solid rgba(198, 189, 172, 0.72);
  color: var(--ink-soft);
  padding: 1.45rem 0 2rem;
}

.orb {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(54px);
  z-index: -1;
  display: none;
}

.orb-a {
  width: min(48vw, 540px);
  aspect-ratio: 1;
  left: -16%;
  top: 9%;
  background: rgba(163, 95, 53, 0.12);
}

.orb-b {
  width: min(34vw, 370px);
  aspect-ratio: 1;
  right: -8%;
  top: 31%;
  background: rgba(31, 31, 26, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.reveal-on {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.46s ease, transform 0.46s ease;
  transition-delay: var(--reveal-delay, 0s);
}

/* Forethought-inspired minimalist editorial theme. */
html[data-theme="light"],
html:not([data-theme]) {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --ink: #1b2432;
  --ink-soft: #556173;
  --line: #dfe6ee;
  --line-strong: #ccd5e1;
  --accent: #1f4dd8;
  --accent-soft: #edf3ff;
  --signal: #1f4dd8;
  --ok: #1f7a54;
  --shadow-sm: 0 3px 12px rgba(27, 36, 50, 0.05);
  --shadow-md: 0 10px 24px rgba(27, 36, 50, 0.07);
}

html[data-theme="light"] body,
html:not([data-theme]) body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: var(--ink);
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html:not([data-theme]) h1,
html:not([data-theme]) h2,
html:not([data-theme]) h3,
html:not([data-theme]) h4 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: #162132;
}

html[data-theme="light"] .site-header,
html:not([data-theme]) .site-header {
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5ebf2;
}

html[data-theme="light"] .main-nav a,
html:not([data-theme]) .main-nav a {
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  border-radius: 8px;
  color: #4f5b6b;
  font-weight: 500;
}

html[data-theme="light"] .main-nav a:hover,
html[data-theme="light"] .main-nav a:focus-visible,
html:not([data-theme]) .main-nav a:hover,
html:not([data-theme]) .main-nav a:focus-visible {
  color: #1b2432;
  border-color: #d8e1ec;
  background: #f6f9ff;
}

html[data-theme="light"] .eyebrow,
html:not([data-theme]) .eyebrow {
  color: #1f4dd8;
  letter-spacing: 0.1em;
}

html[data-theme="light"] .hero-main,
html[data-theme="light"] .hero-card,
html[data-theme="light"] .panel,
html[data-theme="light"] .stat-chip,
html[data-theme="light"] .belief-chip,
html[data-theme="light"] .deliberation-metrics p,
html[data-theme="light"] .progress-metrics p,
html[data-theme="light"] .comparison-metrics p,
html[data-theme="light"] .progress-era-list li,
html[data-theme="light"] .counterpart-card,
html[data-theme="light"] .conviction-item,
html[data-theme="light"] .ledger-item,
html[data-theme="light"] .admin-health-item,
html[data-theme="light"] .admin-review-item,
html:not([data-theme]) .hero-main,
html:not([data-theme]) .hero-card,
html:not([data-theme]) .panel,
html:not([data-theme]) .stat-chip,
html:not([data-theme]) .belief-chip,
html:not([data-theme]) .deliberation-metrics p,
html:not([data-theme]) .progress-metrics p,
html:not([data-theme]) .comparison-metrics p,
html:not([data-theme]) .progress-era-list li,
html:not([data-theme]) .counterpart-card,
html:not([data-theme]) .conviction-item,
html:not([data-theme]) .ledger-item,
html:not([data-theme]) .admin-health-item,
html:not([data-theme]) .admin-review-item {
  background: #ffffff !important;
  border-color: #dfe6ee !important;
  box-shadow: var(--shadow-sm);
}

html[data-theme="light"] .deliberation-copy,
html[data-theme="light"] .deliberation-stage,
html[data-theme="light"] .progress-copy,
html[data-theme="light"] .progress-stage,
html[data-theme="light"] .comparison-card,
html[data-theme="light"] .comparison-math,
html[data-theme="light"] .comparison-ethics,
html:not([data-theme]) .deliberation-copy,
html:not([data-theme]) .deliberation-stage,
html:not([data-theme]) .progress-copy,
html:not([data-theme]) .progress-stage,
html:not([data-theme]) .comparison-card,
html:not([data-theme]) .comparison-math,
html:not([data-theme]) .comparison-ethics {
  background: #ffffff !important;
}

html[data-theme="light"] .featured-market-showcase,
html:not([data-theme]) .featured-market-showcase {
  background: #ffffff !important;
}

html[data-theme="light"] .formula-panel,
html[data-theme="light"] .gate-banner,
html[data-theme="light"] .mini-summary,
html[data-theme="light"] .score-pill,
html[data-theme="light"] .chip,
html[data-theme="light"] .progress-long-caption,
html:not([data-theme]) .formula-panel,
html:not([data-theme]) .gate-banner,
html:not([data-theme]) .mini-summary,
html:not([data-theme]) .score-pill,
html:not([data-theme]) .chip,
html:not([data-theme]) .progress-long-caption {
  background: #f7f9fc;
  border-color: #dfe6ee;
  color: #4f5c6b;
}

html[data-theme="light"] .btn,
html:not([data-theme]) .btn {
  border-radius: 10px;
  box-shadow: none;
  font-weight: 600;
}

html[data-theme="light"] .btn-primary,
html:not([data-theme]) .btn-primary {
  color: #ffffff;
  border-color: #1d3557;
  background: #1d3557;
}

html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn-primary:focus-visible,
html:not([data-theme]) .btn-primary:hover,
html:not([data-theme]) .btn-primary:focus-visible {
  background: #172b46;
}

html[data-theme="light"] .btn-secondary,
html:not([data-theme]) .btn-secondary {
  color: #1d3557;
  border-color: #c7d3e2;
  background: #ffffff;
}

html[data-theme="light"] .btn-secondary:hover,
html[data-theme="light"] .btn-secondary:focus-visible,
html:not([data-theme]) .btn-secondary:hover,
html:not([data-theme]) .btn-secondary:focus-visible {
  background: #f5f8fe;
}

html[data-theme="light"] .btn-ghost,
html:not([data-theme]) .btn-ghost {
  color: #32445f;
  border-color: #d3dde8;
  background: #ffffff;
}

html[data-theme="light"] .lead,
html[data-theme="light"] .hint,
html[data-theme="light"] .status-line,
html[data-theme="light"] .metric-label,
html[data-theme="light"] .stat-label,
html[data-theme="light"] .comparison-intro,
html[data-theme="light"] .comparison-note,
html[data-theme="light"] .comparison-narrative,
html[data-theme="light"] .progress-narrative,
html[data-theme="light"] .score-grid span,
html[data-theme="light"] .ledger-meta,
html:not([data-theme]) .lead,
html:not([data-theme]) .hint,
html:not([data-theme]) .status-line,
html:not([data-theme]) .metric-label,
html:not([data-theme]) .stat-label,
html:not([data-theme]) .comparison-intro,
html:not([data-theme]) .comparison-note,
html:not([data-theme]) .comparison-narrative,
html:not([data-theme]) .progress-narrative,
html:not([data-theme]) .score-grid span,
html:not([data-theme]) .ledger-meta {
  color: var(--ink-soft) !important;
}

html[data-theme="light"] .field-row input,
html[data-theme="light"] .field-row textarea,
html[data-theme="light"] .field-row select,
html:not([data-theme]) .field-row input,
html:not([data-theme]) .field-row textarea,
html:not([data-theme]) .field-row select {
  border-color: #d3dbe7;
  background: #ffffff;
}

html[data-theme="light"] input[type="range"],
html:not([data-theme]) input[type="range"] {
  accent-color: #1f4dd8;
}

html[data-theme="light"] .deliberation-chart,
html[data-theme="light"] .progress-chart,
html[data-theme="light"] .comparison-chart,
html:not([data-theme]) .deliberation-chart,
html:not([data-theme]) .progress-chart,
html:not([data-theme]) .comparison-chart {
  border-color: #dfe6ee;
  background: #ffffff;
}

html[data-theme="light"] .del-grid,
html[data-theme="light"] .mp-grid,
html[data-theme="light"] .cmp-grid,
html:not([data-theme]) .del-grid,
html:not([data-theme]) .mp-grid,
html:not([data-theme]) .cmp-grid {
  stroke: rgba(88, 102, 121, 0.22);
}

html[data-theme="light"] .del-axis-label,
html[data-theme="light"] .mp-axis-label,
html[data-theme="light"] .cmp-axis-label,
html[data-theme="light"] .mp-milestone,
html[data-theme="light"] .cmp-milestone,
html[data-theme="light"] .del-inspect-label,
html:not([data-theme]) .del-axis-label,
html:not([data-theme]) .mp-axis-label,
html:not([data-theme]) .cmp-axis-label,
html:not([data-theme]) .mp-milestone,
html:not([data-theme]) .cmp-milestone,
html:not([data-theme]) .del-inspect-label {
  fill: #5d6a79;
}

html[data-theme="light"] .del-consensus-path,
html:not([data-theme]) .del-consensus-path {
  stroke: #1d3557;
}

html[data-theme="light"] .del-truth,
html:not([data-theme]) .del-truth {
  stroke: rgba(31, 77, 216, 0.65);
}

html[data-theme="light"] .site-footer,
html:not([data-theme]) .site-footer {
  border-top: 1px solid #e4eaf1;
}

html[data-theme="light"] .featured-market-chart,
html:not([data-theme]) .featured-market-chart {
  border-color: #dfe6ee;
  background: #ffffff;
}

html[data-theme="light"] .featured-market-chip,
html:not([data-theme]) .featured-market-chip {
  border-color: #d6deea;
  background: #f7f9fc;
  color: #42516a;
}

html[data-theme="light"] .featured-range-controls button.is-active,
html:not([data-theme]) .featured-range-controls button.is-active {
  background: #1d3557;
  border-color: #1d3557;
}

html[data-theme="light"] .normative-inline-dotted,
html:not([data-theme]) .normative-inline-dotted {
  border-bottom-color: #a2adbb;
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

  .re-lab-grid {
    grid-template-columns: 1fr;
  }

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

  .featured-market-showcase {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .re-lab-frame-card {
    min-height: 640px;
  }

  .re-lab-frame {
    min-height: 640px;
    height: 70vh;
  }
}

@media (max-width: 900px) {
  body.nav-menu-open {
    overflow: hidden;
  }

  .header-inner {
    align-items: center;
    min-height: auto;
    padding: 0.54rem 0;
    flex-wrap: wrap;
  }

  .header-tools {
    width: 100%;
    justify-content: space-between;
    gap: 0.4rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    width: 100%;
    margin-top: 0.16rem;
    padding: 0.34rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    gap: 0.34rem;
  }

.main-nav.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

  .main-nav a {
    text-align: center;
    width: 100%;
    border-radius: 6px;
    padding: 0.4rem 0.5rem;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1160px, calc(100% - 1.2rem));
  }

  .header-inner {
    align-items: center;
    padding: 0.54rem 0;
  }

  .header-tools {
    justify-content: space-between;
  }

  .main-nav a {
    font-size: 0.86rem;
    padding: 0.3rem 0.54rem;
  }

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

  .rule-grid,
  .score-grid,
  .date-grid,
  .commitment-two-col,
  .guided-protocol-grid,
  .proof-grid,
  .hero-stats,
  .deliberation-metrics,
  .featured-market-main-meta,
  .featured-market-prices,
  .progress-metrics,
  .comparison-metrics,
  .pledge-metrics,
  .admin-health-grid {
    grid-template-columns: 1fr;
  }

  .featured-top-button {
    align-items: flex-start;
    flex-direction: column;
  }

  .ledger-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .main-nav.is-open {
    grid-template-columns: 1fr;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Forethought-style homepage structure */
.forethought-page .brand {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #2f2d2b;
}

.forethought-page .site-header {
  border-bottom: 1px solid #e7e8e3 !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

.forethought-page .wre-banner {
  display: none;
}

.forethought-page .main-nav {
  gap: 0.22rem;
}

.forethought-page .main-nav a {
  border: 1px solid transparent;
  border-radius: 8px;
  color: #444846 !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  padding: 0.36rem 0.56rem;
}

.forethought-page .main-nav a:hover,
.forethought-page .main-nav a:focus-visible {
  background: #f6f6f3 !important;
  border-color: #e1e4de !important;
  color: #2f2d2b !important;
}

.forethought-page .main-nav a.nav-pill {
  border-color: #d6dbd6 !important;
  background: #fbfbfa;
}

.forethought-intro-section {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0.75rem;
  background: #efefea;
  border-top: 1px solid #e1e2dc;
  border-bottom: 1px solid #e1e2dc;
  overflow: hidden;
}

.forethought-intro-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(145, 150, 152, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 150, 152, 0.22) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.forethought-intro-inner {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  padding: 1rem 0 2.2rem;
}

.forethought-intro-card {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - 2rem));
  background: #f7f7f5;
  border: 1px solid #e3e4df;
  padding: 2.55rem 3rem 2.2rem;
  margin-left: clamp(0rem, 4vw, 2rem);
}

.forethought-intro-card h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 4.8vw, 4.05rem);
  line-height: 1.06;
  letter-spacing: 0.005em;
  margin-bottom: 1.1rem;
  color: #2f2d2b;
}

.forethought-intro-card p {
  color: #3f4343;
  font-size: clamp(1.02rem, 1.35vw, 1.3rem);
  max-width: 39ch;
}

.research-stack {
  margin-top: 1.1rem;
  border: 1px solid #d9ddd9;
  background: #f1f3ef;
  padding: 0.8rem 0.92rem 0.7rem;
}

.research-stack-label {
  margin: 0 0 0.5rem;
  font-size: 0.84rem !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #4a5258 !important;
}

.research-stack-list {
  margin: 0;
  padding-left: 1.08rem;
  display: grid;
  gap: 0.3rem;
  color: #353d42;
  font-size: 0.96rem;
  line-height: 1.42;
  max-width: 66ch;
}

.research-flow-graphic {
  margin-top: 0.82rem;
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #d9ddd9;
  background: #f0f1ed;
}

.research-flow-layer rect {
  fill: #f8f9f6;
  stroke: #cfd5d0;
  stroke-width: 1.1;
}

.research-flow-text text {
  fill: #394047;
  font-size: 13px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
}

.research-flow-arrows path {
  fill: none;
  stroke: #ff5f35;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 9 7;
}

.research-flow-loop {
  fill: #545d64;
  font-size: 12px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.research-note {
  margin-top: 0.72rem;
  color: #4a5258 !important;
  font-size: 0.97rem !important;
  max-width: 70ch !important;
}

.research-portal-card {
  margin-top: 1.05rem;
  display: grid;
  gap: 0.36rem;
  width: min(520px, 100%);
  text-decoration: none;
  border: 1px solid #d9ddd9;
  background: #f1f3ef;
  padding: 0.92rem 1rem;
  color: #2f2d2b;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.research-portal-card:hover,
.research-portal-card:focus-visible {
  transform: translateY(-1px);
  border-color: #c8cfca;
  background: #f5f6f3;
  color: #2f2d2b;
}

.research-portal-card strong {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #2f2d2b;
}

.research-portal-card span:last-child {
  color: #50575d;
  font-size: 0.94rem;
  line-height: 1.45;
}

.research-portal-tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #ff5f35;
}

.intro-cta-row {
  margin-top: 1.25rem;
  gap: 0.55rem;
}

.research-catalogue-section,
.agenda-section,
.tools-section,
.safeguards-section,
.governance-section {
  scroll-margin-top: 118px;
}

.research-card-grid,
.tool-card-grid,
.governance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.research-card,
.tool-card,
.governance-card {
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 0.42rem;
}

.research-card p,
.tool-card p,
.governance-card p {
  margin: 0;
}

.research-card-meta {
  width: fit-content;
  border: 1px solid #d5dcd6;
  background: #eef1ec;
  color: #4d5650 !important;
  padding: 0.12rem 0.44rem;
  border-radius: 6px;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.research-card a,
.tool-action-row a,
.governance-card a {
  color: #2f3d53;
  font-weight: 700;
  text-decoration: none;
}

.research-card a:hover,
.research-card a:focus-visible,
.tool-action-row a:hover,
.tool-action-row a:focus-visible,
.governance-card a:hover,
.governance-card a:focus-visible {
  color: #ff5f35;
  text-decoration: underline;
}

.agenda-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #dfe3e1;
  border-bottom: 1px solid #dfe3e1;
}

.agenda-item {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.05rem 0;
  border-bottom: 1px solid #dfe3e1;
}

.agenda-item:last-child {
  border-bottom: 0;
}

.agenda-item span {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #d8ddd8;
  border-radius: 50%;
  color: #ff5f35;
  font-weight: 700;
  background: #f7f7f4;
}

.agenda-item p {
  margin: 0;
  color: #303637;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, serif;
  font-size: clamp(1.25rem, 2.25vw, 2rem);
  line-height: 1.18;
}

.tool-action-row {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem 0.75rem;
  font-size: 0.9rem;
}

.safeguards-section {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 2.4rem max(1.2rem, calc((100vw - 1160px) / 2)) !important;
  background: #f7f7f4;
  border-top: 1px solid #dfe3e1;
  border-bottom: 1px solid #dfe3e1;
}

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

.safeguard-item {
  border-left: 2px solid #ff5f35;
  padding-left: 0.86rem;
}

.safeguard-item h3 {
  margin-bottom: 0.36rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.safeguard-item p {
  margin: 0;
  color: #59605d;
}

.governance-card a {
  margin-top: 0.2rem;
  width: fit-content;
}

.forethought-intro-lines {
  position: absolute;
  right: clamp(-180px, -6vw, -20px);
  bottom: 0;
  width: clamp(560px, 60vw, 960px);
  height: auto;
  z-index: 1;
  opacity: 0.95;
}

.forethought-page #deliberation.section {
  background: #f3f3f0;
  border: 1px solid #e3e4df;
  padding: 1.25rem;
}

.forethought-page #deliberation .section-head h2,
.forethought-page #featured-market-day .section-head h2,
.forethought-page .section h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #2f2d2b;
}

.forethought-page .panel {
  border-color: #dfe2e3 !important;
  box-shadow: none !important;
  background: #fbfbfa !important;
}

.forethought-page .btn {
  border-radius: 8px !important;
  font-weight: 500 !important;
}

.forethought-page .btn-primary {
  background: #2f3d53 !important;
  border-color: #2f3d53 !important;
}

.forethought-page .btn-primary:hover,
.forethought-page .btn-primary:focus-visible {
  background: #263247 !important;
}

.forethought-page .btn-secondary,
.forethought-page .btn-ghost {
  background: #ffffff !important;
  color: #3f474f !important;
  border-color: #d3d9e0 !important;
}

.forethought-footer {
  background: #ecece8;
  border-top: 1px solid #e0e2dc !important;
  margin-top: 2.4rem;
  padding: 2.5rem 0 3rem !important;
}

.forethought-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 1.4rem;
  align-items: start;
}

.forethought-footer-main {
  display: grid;
  gap: 1.05rem;
}

.forethought-footer .footer-brand {
  justify-self: start;
}

.forethought-podcast-link {
  text-decoration: none;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, serif;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  color: #2f2d2b;
}

.forethought-podcast-link:hover,
.forethought-podcast-link:focus-visible {
  text-decoration: underline;
}

.forethought-newsletter {
  max-width: 760px;
}

.forethought-newsletter label {
  display: block;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, serif;
  font-size: clamp(2.05rem, 3.5vw, 3.4rem);
  color: #70716f;
}

.forethought-newsletter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: center;
  border-bottom: 1px solid #8a8c8b;
  padding-bottom: 0.3rem;
}

.forethought-newsletter-row input {
  border: 0;
  background: transparent;
  padding: 0.2rem 0;
  font-size: 1.15rem;
  color: #2f2d2b;
}

.forethought-newsletter-row input:focus-visible {
  outline: none;
}

.forethought-newsletter p {
  margin-top: 0.55rem;
  color: #7a7b7b;
  font-size: 0.8rem;
}

.forethought-footer-note {
  margin: 0;
  color: #555e67;
  font-size: 0.95rem;
}

.forethought-footer-nav {
  display: grid;
  gap: 0.35rem;
}

.forethought-footer-nav a {
  text-decoration: none;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, serif;
  font-size: clamp(1.55rem, 2.7vw, 3rem);
  line-height: 1.08;
  color: #2f2d2b;
}

.forethought-footer-nav a:hover,
.forethought-footer-nav a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .forethought-intro-inner {
    min-height: 490px;
    padding-top: 1.6rem;
  }

  .forethought-intro-card {
    padding: 1.6rem 1.75rem 1.45rem;
  }

  .forethought-intro-lines {
    width: clamp(460px, 76vw, 780px);
    right: -220px;
  }

  .research-stack-list {
    font-size: 0.9rem;
  }

  .research-card-grid,
  .tool-card-grid,
  .governance-grid,
  .safeguards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .forethought-intro-inner {
    min-height: 0;
    padding: 1.4rem 0 1.6rem;
  }

  .forethought-intro-card {
    width: calc(100% - 1rem);
    margin-inline: 0.5rem;
  }

  .forethought-intro-lines {
    display: none;
    visibility: hidden;
    width: 0;
    height: 0;
  }

  .research-flow-text text {
    font-size: 11px;
  }

  .research-flow-loop {
    font-size: 10px;
  }

  .intro-cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .intro-cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .intro-cta-row .btn:first-child {
    grid-column: 1 / -1;
  }

  .forethought-intro-card .research-portal-card {
    display: none;
  }

  .research-card-grid,
  .tool-card-grid,
  .governance-grid,
  .safeguards-grid {
    grid-template-columns: 1fr;
  }

  .agenda-item {
    grid-template-columns: 2.7rem minmax(0, 1fr);
    gap: 0.7rem;
  }

  .agenda-item p {
    font-size: clamp(1.08rem, 6vw, 1.55rem);
  }

  .forethought-footer-grid {
    grid-template-columns: 1fr;
  }

  .forethought-newsletter-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .forethought-footer-nav a {
    font-size: clamp(1.3rem, 7vw, 2.2rem);
  }
}

/* Layout organization improvements */
.forethought-page main#main-content {
  display: grid;
  gap: 1.4rem;
  padding-top: 1.5rem;
}

.forethought-page main#main-content > .section {
  margin-top: 0;
}

.forethought-page main#main-content > .section:not(.forethought-intro-section) {
  border-top: 1px solid #e5e8e8;
  padding-top: 1.15rem;
}

.forethought-page .section-head {
  display: grid;
  gap: 0.24rem;
  margin-bottom: 1rem;
}

.forethought-page .section-head h2 {
  max-width: 28ch;
  line-height: 1.12;
}

.layout-directory {
  padding-bottom: 0.2rem;
}

.layout-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
}

.layout-cluster {
  border: 1px solid #dfe3e6;
  background: #f7f7f4;
  padding: 0.86rem 0.9rem;
  display: grid;
  gap: 0.28rem;
}

.layout-cluster h3 {
  margin: 0 0 0.26rem;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, serif;
  font-weight: 500;
  font-size: 1.22rem;
  color: #2f2d2b;
}

.layout-cluster a {
  color: #44515d;
  text-decoration: none;
  padding: 0.16rem 0;
  border-bottom: 1px solid rgba(150, 157, 162, 0.22);
  font-size: 0.93rem;
}

.layout-cluster a:last-child {
  border-bottom: 0;
}

.layout-cluster a:hover,
.layout-cluster a:focus-visible {
  color: #1d3557;
  text-decoration: underline;
}

.influence-section {
  margin-top: 0.4rem;
}

.influence-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.41fr) minmax(0, 0.59fr);
  gap: 0.9rem;
  align-items: stretch;
}

.influence-copy {
  background: #f4f4f1 !important;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.influence-copy p {
  margin: 0;
  color: #4b535d;
}

.influence-copy .hint {
  color: #5a6168;
}

.influence-graphic-card {
  position: relative;
  border: 1px solid #e0e2dd;
  background: #efefea;
  overflow: hidden;
}

.influence-graphic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(149, 152, 152, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(149, 152, 152, 0.2) 1px, transparent 1px);
  background-size: 52px 52px;
}

#influenceWindowGraphic {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

.influence-grid-lines path {
  fill: none;
  stroke: #9da09d;
  stroke-width: 1.35;
}

.influence-curve {
  fill: none;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 960;
  stroke-dashoffset: 960;
  transition: stroke-dashoffset 2.3s cubic-bezier(0.16, 0.84, 0.34, 1);
}

.influence-curve-perils {
  stroke: #ff5f35;
  stroke-dasharray: 12 8;
}

.influence-curve-lockin {
  stroke: #2f3a48;
  stroke-dasharray: 4 8;
}

.influence-curve-gradual {
  stroke: #7a7f86;
  stroke-dasharray: 2 10;
}

.influence-point {
  stroke: #f6f4ef;
  stroke-width: 1.8;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.influence-point-perils {
  fill: #ff5f35;
}

.influence-point-lockin {
  fill: #2f3a48;
}

.influence-point-gradual {
  fill: #7a7f86;
}

.influence-axis-label {
  fill: #5a6166;
  font-size: 13px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.influence-y-label {
  fill: #636a70;
  font-size: 12px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.influence-legend-label {
  fill: #5f6670;
  font-size: 13px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.influence-legend-sample {
  stroke-width: 3;
  stroke-linecap: round;
}

.influence-legend-sample.perils {
  stroke: #ff5f35;
  stroke-dasharray: 12 8;
}

.influence-legend-sample.lockin {
  stroke: #2f3a48;
  stroke-dasharray: 4 8;
}

.influence-legend-sample.gradual {
  stroke: #7a7f86;
  stroke-dasharray: 2 10;
}

.influence-facts {
  background: #f4f4f1 !important;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.influence-facts h3 {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #2f2d2b;
}

.influence-facts ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #414952;
  display: grid;
  gap: 0.3rem;
}

.influence-sensitivity-card svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.influence-sense-axis {
  stroke: #7d8487;
  stroke-width: 1.6;
}

.influence-mult-bar {
  fill: rgba(255, 95, 53, 0.82);
  stroke: rgba(53, 57, 61, 0.28);
  stroke-width: 1.1;
  transform-origin: center bottom;
  transform: scaleY(0.08);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.2, 1, 0.32, 1), opacity 1s ease;
}

.influence-bar-label {
  fill: #5d6469;
  font-size: 13px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.influence-bar-value {
  fill: #2f2d2b;
  font-size: 18px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.influence-caption {
  margin: 0;
  padding: 0.7rem 0.82rem 0.8rem;
  color: #50575f;
  border-top: 1px solid rgba(141, 146, 144, 0.34);
  font-size: 0.93rem;
}

#influence-window.reveal-on .influence-graphic-card .influence-curve {
  stroke-dashoffset: 0;
}

#influence-window.reveal-on .influence-graphic-card .influence-point {
  opacity: 1;
  transform: translateY(0);
}

#influence-window.reveal-on .influence-graphic-card .influence-mult-bar {
  transform: scaleY(1);
  opacity: 1;
}

@media (max-width: 1060px) {
  .influence-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .influence-axis-label,
  .influence-legend-label,
  .influence-bar-label {
    font-size: 12px;
  }

  .influence-y-label {
    font-size: 11px;
  }

  .influence-bar-value {
    font-size: 15px;
  }
}

.forethought-page .rule-grid,
.forethought-page .progress-grid,
.forethought-page .comparison-grid,
.forethought-page .pledge-grid,
.forethought-page .studio-grid,
.forethought-page .parfit-grid,
.forethought-page .re-lab-grid,
.forethought-page .deliberation-grid,
.forethought-page .featured-market-showcase {
  gap: 1rem;
}

.forethought-page .panel {
  padding: 1.04rem 1.08rem;
}

.forethought-page .panel h3 {
  margin-bottom: 0.42rem;
}

.forethought-page .hero {
  margin-top: 0.2rem;
}

.forethought-page #studio .panel {
  min-height: 100%;
}

.forethought-page .stack-list,
.forethought-page .counterpart-list,
.forethought-page .ledger-list,
.forethought-page .pledge-registry-list {
  max-width: 100%;
}

@media (max-width: 1120px) {
  .layout-directory-grid {
    grid-template-columns: 1fr;
  }
}

/* Parfit mountain + convergence graphics */
.parfit-section {
  margin-top: 2.2rem;
}

.parfit-head {
  margin-bottom: 0.9rem;
}

.parfit-head h2 {
  max-width: 32ch;
}

.parfit-lede {
  margin: 0;
  max-width: 70ch;
  color: #4e565f;
}

.parfit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: 0.9rem;
  align-items: stretch;
}

.parfit-copy {
  background: #f4f4f1 !important;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.parfit-copy h3 {
  margin: 0;
  font-size: 1.3rem;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, serif;
  color: #2f2d2b;
}

.parfit-copy p {
  margin: 0;
  color: #4b535d;
}

.parfit-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #3f464f;
  display: grid;
  gap: 0.34rem;
}

.parfit-graphic-card {
  position: relative;
  border: 1px solid #e0e2dd;
  background: #efefea;
  overflow: hidden;
}

.parfit-graphic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(149, 152, 152, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(149, 152, 152, 0.2) 1px, transparent 1px);
  background-size: 52px 52px;
}

#parfitMountainGraphic,
#parfitLatticeGraphic {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  z-index: 1;
}

.parfit-mountain-outline {
  fill: none;
  stroke: #8e918f;
  stroke-width: 2;
}

.parfit-ridge {
  fill: none;
  stroke: #a0a29f;
  stroke-width: 1.6;
}

.parfit-route-line {
  fill: none;
  stroke: #ff5f35;
  stroke-width: 2.4;
  opacity: 0.95;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 13 12;
  animation: parfitRouteFlow 8s linear infinite;
}

#route-conseq { animation-duration: 7.2s; }
#route-deon { animation-duration: 8.6s; }
#route-virtue { animation-duration: 9.4s; }
#route-contract { animation-duration: 8.1s; }
#route-relational { animation-duration: 9.1s; }
#route-hybrid { animation-duration: 7.8s; }

.parfit-summit-core {
  fill: #ff5f35;
}

.parfit-summit-pulse {
  fill: none;
  stroke: rgba(255, 95, 53, 0.58);
  stroke-width: 1.8;
}

.parfit-climber-dot {
  fill: #ff5f35;
  stroke: #f8f6f3;
  stroke-width: 1.6;
}

.parfit-climber-dot.ghost {
  fill: #2f2d2b;
  opacity: 0.5;
}

.parfit-graphic-label {
  fill: #595f65;
  font-size: 16px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.parfit-summit-label {
  fill: #2f2d2b;
  font-size: 15px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
}

.parfit-secondary-graphic {
  margin-top: 0.9rem;
}

.parfit-lattice-grid path {
  fill: none;
  stroke: #9a9e9c;
  stroke-width: 1.4;
}

.parfit-lattice-line {
  fill: none;
  stroke: #ff5f35;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14 10;
  animation: parfitLatticeFlow 9s linear infinite;
}

#lattice-a { animation-duration: 7.4s; }
#lattice-b { animation-duration: 8.2s; }
#lattice-c { animation-duration: 8.9s; }
#lattice-d { animation-duration: 10.1s; }
#lattice-e { animation-duration: 9.5s; }

.parfit-lattice-node {
  fill: #ff5f35;
  stroke: #f8f6f3;
  stroke-width: 1.4;
}

.parfit-lattice-label {
  fill: #5a6166;
  font-size: 16px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.parfit-graphic-card.is-paused .parfit-route-line,
.parfit-graphic-card.is-paused .parfit-lattice-line {
  animation-play-state: paused;
}

@keyframes parfitRouteFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -180;
  }
}

@keyframes parfitLatticeFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -220;
  }
}

@media (max-width: 1040px) {
  .parfit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .parfit-copy h3 {
    font-size: 1.15rem;
  }

  .parfit-lattice-label,
  .parfit-graphic-label {
    font-size: 12px;
  }

  .parfit-summit-label {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parfit-route-line,
  .parfit-lattice-line {
    animation: none !important;
  }

  .influence-curve {
    transition: none !important;
    stroke-dashoffset: 0 !important;
  }

  .influence-point,
  .influence-mult-bar {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.sep-foundations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.sep-foundation-card {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  background: #f4f4f1 !important;
}

.sep-foundation-card h3 {
  margin: 0;
  font-size: 1.24rem;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, serif;
  color: #2f2d2b;
}

.sep-link-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.28rem;
}

.sep-link-list a {
  color: #2f3d53;
  text-decoration: none;
  border-bottom: 1px dotted rgba(47, 61, 83, 0.45);
}

.sep-link-list a:hover,
.sep-link-list a:focus-visible {
  color: #ff5f35;
  border-bottom-color: rgba(255, 95, 53, 0.65);
}

.sep-protocol-links p {
  margin: 0;
  color: #4f5552;
}

.sep-protocol-links a,
.sep-dialogue-hint a {
  color: #2f3d53;
  text-decoration: none;
  border-bottom: 1px dotted rgba(47, 61, 83, 0.45);
}

.formula-panel .hint a {
  color: #2f3d53;
  text-decoration: none;
  border-bottom: 1px dotted rgba(47, 61, 83, 0.45);
}

.sep-protocol-links a:hover,
.sep-protocol-links a:focus-visible,
.sep-dialogue-hint a:hover,
.sep-dialogue-hint a:focus-visible,
.formula-panel .hint a:hover,
.formula-panel .hint a:focus-visible {
  color: #ff5f35;
  border-bottom-color: rgba(255, 95, 53, 0.65);
}

.sep-dialogue-hint {
  margin: -0.28rem 0 0.45rem;
  color: #5d615f;
}

@media (max-width: 1040px) {
  .sep-foundations-grid {
    grid-template-columns: 1fr;
  }
}
