:root {
  color-scheme: light;

  --stable-ink: #2A3136;
  --stable-ink-rgb: 42 49 54;

  --oatstone: #F6EFE7;
  --oatstone-rgb: 246 239 231;

  --forge-bronze: #B07C78;
  --forge-bronze-rgb: 176 124 120;

  --pounamu-slate: #9DAFA7;
  --pounamu-slate-rgb: 157 175 167;

  --harbour-steel: #8AA1AF;
  --harbour-steel-rgb: 138 161 175;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--oatstone);
  color: var(--stable-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.shell {
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
}

.shell--wide {
  width: min(100% - 2rem, 1240px);
}

.shell--narrow {
  width: min(100% - 2rem, 760px);
}

.eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--pounamu-slate);
  margin-bottom: 1rem;
}

.eyebrow--steel {
  color: var(--harbour-steel);
}

.eyebrow--light {
  color: rgb(var(--stable-ink-rgb) / 0.72);
}

.lead {
  color: rgb(var(--stable-ink-rgb) / 0.68);
  font-size: clamp(1.05rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.8;
  max-width: 48rem;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--stable-ink);
}

h1 {
  font-size: clamp(3rem, 5.6vw, 5.5rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2.2rem, 3.8vw, 4rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.15;
}

p {
  margin: 0;
}

.criteria {
  padding-bottom: 4em;
}

.criteria p {
  padding: 0.5em 0 0 0;
}

.criteria h1,
.criteria h2,
.criteria h3,
.criteria h4,
.criteria h5 {
  padding: 0.5em 0 0 0;
  margin: 0.5em 0 0 0;
  border-top: 1px solid rgb(var(--stable-ink-rgb) / 0.12);
}

.criteria h1:first-of-type {
  border: none;
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 160ms ease, opacity 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button--solid {
  background: var(--stable-ink);
  color: var(--oatstone);
  border: 1px solid var(--stable-ink);
}

.button--solid:hover {
  background: var(--forge-bronze);
  border-color: var(--forge-bronze);
  color: var(--oatstone);
}

.button--ghost {
  border: 1px solid rgb(var(--stable-ink-rgb) / 0.14);
  color: var(--stable-ink);
  background: transparent;
}

.button--ghost:hover {
  background: rgb(var(--forge-bronze-rgb) / 0.08);
  border-color: rgb(var(--forge-bronze-rgb) / 0.22);
}

.button--light {
  background: var(--oatstone);
  color: var(--stable-ink);
}

.button--signal {
  border: 1px solid rgb(255 255 255 / 0.24);
  color: rgb(255 255 255 / 0.96);
}

html.stable-pre-entry,
body.stable-pre-entry {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body.stable-pre-entry {
  position: fixed;
  inset: 0;
  width: 100%;
}

.hero-stage-shell {
  height: 100vh;
  height: 100svh;
  max-height: 100svh;
  overflow: clip;
  transition: height 0.7s ease;
}

.hero-stage {
  position: relative;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgb(var(--forge-bronze-rgb) / 0.18) 0%, transparent 32%),
    radial-gradient(circle at 50% 54%, rgb(var(--harbour-steel-rgb) / 0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--oatstone) 0%, rgb(var(--oatstone-rgb) / 0.96) 100%);
  transition: transform 0.7s ease, opacity 0.45s ease;
}

.hero-stage[aria-expanded="false"] {
  cursor: default;
}

.hero-stage[aria-expanded="true"] {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.hero-stage:focus-visible {
  outline: 2px solid rgb(var(--stable-ink-rgb) / 0.18);
  outline-offset: -0.5rem;
}

.hero-stage__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
  pointer-events: none;
}

.hero-stage__glow--bronze {
  width: 42rem;
  height: 42rem;
  background: rgb(var(--forge-bronze-rgb) / 0.18);
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-stage__glow--steel {
  width: 34rem;
  height: 34rem;
  background: rgb(var(--harbour-steel-rgb) / 0.12);
  top: 36%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-stage__rings span {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  border: 1px solid rgb(var(--stable-ink-rgb) / 0.06);
  transform: translate(-50%, -50%);
}

.hero-stage__rings span:first-child {
  width: min(76vmin, 48rem);
  height: min(76vmin, 48rem);
}

.hero-stage__rings span:last-child {
  width: min(58vmin, 36rem);
  height: min(58vmin, 36rem);
  border-color: rgb(var(--pounamu-slate-rgb) / 0.22);
}

.hero-stage__labels {
  position: absolute;
  inset: 2rem 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  color: rgb(var(--stable-ink-rgb) / 0.5);
}

.hero-stage__core {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-stage__mark {
  font-size: clamp(8rem, 31vw, 22rem);
  line-height: 0.88;
  letter-spacing: -0.1em;
  font-weight: 600;
  color: rgb(var(--pounamu-slate-rgb) / 0.95);
  text-shadow: 0 0 42px rgb(var(--forge-bronze-rgb) / 0.14);
}

.hero-stage__image {
  width: min(42vw, 24rem);
  max-width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 0 42px rgb(var(--forge-bronze-rgb) / 0.16));
}

.hero-stage__tagline {
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: rgb(var(--stable-ink-rgb) / 0.62);
}

.hero-stage__prompt {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--stable-ink-rgb) / 0.14);
  background: rgb(var(--oatstone-rgb) / 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stable-ink);
}

.stable-revealed-content[hidden],
.hero-intro[hidden] {
  display: none !important;
}

.stable-revealed-content {
  background: var(--oatstone);
  overflow: visible;
}

.hero-intro {
  padding: 3.5rem 0 4.5rem;
  background: rgb(var(--oatstone-rgb) / 0.94);
}

.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgb(var(--oatstone-rgb) / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgb(var(--stable-ink-rgb) / 0.08);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav__coin {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgb(var(--forge-bronze-rgb) / 0.12);
  border: 1px solid rgb(var(--stable-ink-rgb) / 0.08);
  flex: 0 0 auto;
}

.site-nav__coin-image {
  width: 72%;
  height: 72%;
  display: block;
  object-fit: contain;
}

.site-nav__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--stable-ink);
}

.site-nav__links {
  display: flex;
  gap: 2rem;
  color: rgb(var(--stable-ink-rgb) / 0.64);
  font-size: 0.95rem;
}

.site-nav__links a:hover {
  color: var(--forge-bronze);
}

#stable-hero-intro,
#premise,
#mission,
#model,
#members,
#invitation {
  scroll-margin-top: 5.5rem;
}

.hero-intro__grid,
.section__grid,
.invitation-grid {
  display: grid;
  gap: 2rem;
}

.hero-intro__grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: end;
}

.hero-intro__copy {
  display: grid;
  gap: 1.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgb(var(--stable-ink-rgb) / 0.08);
  background: rgb(var(--harbour-steel-rgb) / 0.1);
  padding: 0.7rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pounamu-slate);
}

.hero-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-intro__panels {
  display: grid;
  gap: 1rem;
}

.panel {
  border: 1px solid rgb(var(--stable-ink-rgb) / 0.08);
  border-radius: 2rem;
  background: rgb(var(--oatstone-rgb) / 0.82);
  backdrop-filter: blur(10px);
}

.panel__eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--harbour-steel);
  margin-bottom: 1rem;
}

.signal-list {
  display: grid;
  gap: 1rem;
}

.signal-list__item {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  border-top: 1px solid rgb(var(--stable-ink-rgb) / 0.08);
  padding-top: 1rem;
}

.signal-list__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.signal-list__item h3 {
  font-size: 0.95rem;
  color: var(--forge-bronze);
}

.signal-list__item p,
.metric-card__label,
.stack-card p,
.member-tile p,
.simple-page__content {
  color: rgb(var(--stable-ink-rgb) / 0.68);
}

.panel,
.invitation-signal,
.invitation-copy {
  padding: 1.6rem;
}

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

.metric-card {
  background: rgb(var(--oatstone-rgb) / 0.82);
  border: 1px solid rgb(var(--stable-ink-rgb) / 0.08);
  border-radius: 1.75rem;
}

.metric-card__stat {
  font-size: clamp(1.75rem, 1vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--stable-ink);
}

.section {
  padding: 5rem 0;
  background: rgb(var(--oatstone-rgb) / 0.9);
}

.section--border {
  border-top: 1px solid rgb(var(--stable-ink-rgb) / 0.08);
  border-bottom: 1px solid rgb(var(--stable-ink-rgb) / 0.08);
}

.section--tinted {
  background: linear-gradient(180deg, rgb(var(--oatstone-rgb) / 0.92) 0%, rgb(var(--forge-bronze-rgb) / 0.08) 100%);
  border-bottom: 1px solid rgb(var(--stable-ink-rgb) / 0.08);
}

.section__grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: start;
}

.section__content,
.section__content--single {
  display: grid;
  gap: 1rem;
}

.section__content--single {
  max-width: 56rem;
}

.stack-grid,
.tile-grid {
  display: grid;
  gap: 1rem;
}

.stack-card,
.member-tile {
  border: 1px solid rgb(var(--stable-ink-rgb) / 0.08);
  border-radius: 2rem;
  background: rgb(var(--oatstone-rgb) / 0.82);
  padding: 1.6rem;
}

.stack-card__number {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--harbour-steel);
  margin-bottom: 1rem;
}

.stack-card h3,
.member-tile__title {
  margin-bottom: 0.7rem;
}

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

.member-tile {
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.invitation-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  border: 0;
  border-radius: 2.5rem;
  overflow: hidden;
}

.invitation-copy {
  background: rgb(var(--oatstone-rgb) / 0.74);
  border-radius: 2rem 0 0 2rem;
  border-right: 0;
  border-color: rgb(var(--stable-ink-rgb) / 0.08);
}

.invitation-signal {
  background: linear-gradient(180deg, rgb(var(--forge-bronze-rgb) / 0.88) 0%, rgb(var(--forge-bronze-rgb) / 0.68) 100%);
  border-radius: 0 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  color: white;
}

.invitation-signal__headline {
  font-size: clamp(1.8rem, 2.2vw, 2.8rem);
  line-height: 1.04;
  font-weight: 600;
}

.simple-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 5rem 0;
  background: var(--oatstone);
}

.simple-page__inner {
  width: 100%;
  display: grid;
  gap: 1rem;
}

@media (max-width: 980px) {
  .site-nav,
  .hero-intro__grid,
  .section__grid,
  .invitation-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-nav {
    padding-bottom: 2.5rem;
  }

  .site-nav__links {
    display: none;
  }

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

  .signal-list__item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell,
  .shell--wide,
  .shell--narrow {
    width: min(100% - 1.25rem, 100%);
  }

  .hero-stage__labels {
    inset: 1.25rem 0 auto;
    font-size: 0.58rem;
    letter-spacing: 0.34em;
  }

  .hero-stage__tagline {
    letter-spacing: 0.34em;
  }

  .hero-intro {
    padding: 2.5rem 0 3.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .panel,
  .invitation-signal,
  .invitation-copy,
  .stack-card,
  .member-tile {
    padding: 1.25rem;
  }
}

@media (max-width: 760px) {
  .hero-stage__image {
    width: min(58vw, 18rem);
  }

  .hero-stage__prompt {
    font-size: 0.66rem;
    letter-spacing: 0.22em;
  }
}