/* The Heaven Prompt
   One dark visual world on purpose: a message plate travelling through deep space,
   after the Voyager Golden Record and the Apollo 11 plaque. Brass is the engraving,
   pale blue is Earth, and nothing else gets colour. */

:root {
  color-scheme: dark;

  --void: #0A0B0D;          /* space: the page ground */
  --void-glass: rgba(10, 11, 13, 0.86);
  --hull: #121418;          /* raised panels */
  --plate-top: #16140F;     /* the plaque's anodised metal */
  --plate-bottom: #0F0E0C;
  --rule: #26292F;          /* neutral hairlines */
  --rule-strong: #3A3E46;
  --field-line: #806A45;    /* form field outlines, 3.6:1 on --hull */
  --etch: #5B4C31;          /* brass hairlines */
  --etch-soft: rgba(201, 168, 106, 0.22);
  --brass: #C9A86A;         /* engraving, labels */
  --brass-hi: #E3C891;
  --brass-wash: rgba(201, 168, 106, 0.06);
  --brass-glow: rgba(201, 168, 106, 0.14);
  --star: #EEE8DC;          /* headings */
  --ink: #D8D2C6;           /* reading text */
  --dust: #A29D93;          /* secondary text */
  --faint: #8A857B;         /* captions, still 5:1 on --void */
  --earth: #8EC5F0;         /* the pale blue dot, focus */
  --earth-core: #D6EAF9;    /* the dot's bright centre, drawn on canvas */
  --earth-wash: rgba(142, 197, 240, 0.07);
  --alert: #F0A58F;
  --ok: #A9D8B1;

  --serif: "Spectral", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --text: 1.1875rem;
  --text-s: 1.0625rem;
  --lead: 1.3125rem;
  --h3: 1.5rem;
  --h2: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --label: 0.8125rem;
  --micro: 0.75rem;

  --gutter: clamp(16px, 4vw, 56px);
  --wrap: 76rem;
  --measure: 40rem;
  --section-space: clamp(4.5rem, 3rem + 6vw, 9rem);
  --header-h: 64px;
  --radius: 2px;
}

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--text);
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--brass); color: var(--void); }

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

a { color: var(--brass-hi); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--star); }

:focus-visible { outline: 2px solid var(--earth); outline-offset: 3px; }

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

sup { font-size: 0.7em; line-height: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 50;
  padding: 0.75rem 1rem;
  background: var(--brass);
  color: var(--void);
  font-family: var(--sans);
  font-weight: 500;
}
.skip-link:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); color: var(--void); }

.eyebrow {
  margin: 0 0 1.25rem;
  font-family: var(--sans);
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--brass);
}

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--void);
  background: var(--brass);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--brass-hi); border-color: var(--brass-hi); color: var(--void); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn--ghost { background: transparent; color: var(--brass-hi); border-color: var(--etch); }
.btn--ghost:hover { background: var(--brass-wash); border-color: var(--brass); color: var(--star); }
.btn--small { min-height: 40px; padding: 0 1rem; font-size: 0.8125rem; }

.text-button {
  min-height: 44px;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--dust);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  background: none;
  border: 0;
  cursor: pointer;
}
.text-button:hover { color: var(--star); }

.link-arrow { font-family: var(--sans); font-size: 1rem; letter-spacing: 0.02em; }
.link-arrow::after { content: " \2192"; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.site-header.is-solid {
  background: var(--void-glass);
  border-bottom-color: var(--rule);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header.at-hero .site-header__cta { visibility: hidden; }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--star);
  text-decoration: none;
}
.wordmark__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--earth);
  box-shadow: 0 0 10px 2px rgba(142, 197, 240, 0.5);
}
.site-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.site-nav a {
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--dust);
  text-decoration: none;
}
.site-nav a:hover { color: var(--star); }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-header__cta { margin-left: auto; }
}
@media (max-width: 380px) {
  .wordmark { letter-spacing: 0.14em; font-size: 0.8125rem; }
}

/* Hero */
.hero {
  --dot-x: 80%;
  --dot-y: 27%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(1.5rem, 7vh, 7rem));
  padding-bottom: clamp(4rem, 2rem + 6vw, 7rem);
  background: var(--void);
}
.hero__sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
}
.hero__dot-label {
  position: absolute;
  left: var(--dot-x);
  top: var(--dot-y);
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  transform: translate(-50%, 28px);
  font-family: var(--mono);
  font-size: var(--micro);
  letter-spacing: 0.04em;
  color: var(--dust);
  white-space: nowrap;
  pointer-events: none;
}
.hero__dot-label::before {
  content: "";
  width: 1px;
  height: 40px;
  margin-bottom: 0.6rem;
  background: var(--etch);
}
.hero__inner { position: relative; }
.hero__title { margin: 0 0 1.5rem; font-weight: 300; }
.hero__lede {
  display: block;
  max-width: 24ch;
  font-size: clamp(1.75rem, min(1.1rem + 2.6vw, 6.4vh), 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.hero__question {
  display: block;
  margin-top: 0.35em;
  font-size: clamp(3rem, min(1.6rem + 6.4vw, 15vh), 7.5rem);
  font-style: italic;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero__text {
  max-width: 34rem;
  margin: 0 0 1.75rem;
  font-size: var(--lead);
  line-height: 1.55;
  color: var(--dust);
}
.hero__caption {
  margin: 3rem 0 0;
  font-family: var(--mono);
  font-size: var(--micro);
  color: var(--faint);
}
.invite {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--star);
  border: 1px solid var(--etch);
  background: var(--brass-wash);
}

@media (min-width: 721px) and (max-width: 1179px) {
  .hero { --dot-x: 88%; --dot-y: 24%; }
  .hero__dot-label { display: none; }
}
@media (max-width: 720px) {
  .hero {
    --dot-x: 88%;
    --dot-y: 100px;
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 4.75rem);
  }
  .hero__lede { max-width: none; }
  .hero__text { font-size: 1.125rem; }
  .hero:has(.invite:not([hidden])) {
    --dot-y: 92px;
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 3.5rem);
  }
  .hero__dot-label {
    flex-direction: row;
    transform: translate(calc(-100% - 36px), -50%);
  }
  .hero__dot-label::before { display: none; }
  .hero__caption { margin-top: 2.5rem; }
}

/* Sections */
.section {
  padding-block: var(--section-space);
  border-top: 1px solid var(--rule);
}
.section__title {
  max-width: 22ch;
  margin: 0 0 1.5rem;
  font-size: var(--h2);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.lead {
  max-width: var(--measure);
  margin: 0 0 2rem;
  font-size: var(--lead);
  line-height: 1.55;
  color: var(--dust);
}
.status { min-height: 1.5em; margin: 0.75rem 0 0; font-family: var(--sans); font-size: 0.9375rem; color: var(--ok); }
.status:empty { min-height: 0; margin: 0; }
.status[data-tone="error"] { color: var(--alert); }
.status[data-tone="note"] { color: var(--ink); }
.plaque__text p,
.help,
.lead,
.status { text-wrap: pretty; }

/* Notes in the margin */
.note {
  margin: 0;
  padding-left: 0.9rem;
  border-left: 1px solid var(--etch);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--dust);
}
.note__label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--sans);
  font-size: var(--micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

/* The request */
.request__grid {
  display: grid;
  grid-template-columns: minmax(0, 48rem) minmax(0, 16rem);
  gap: 3.5rem;
  align-items: start;
  margin-top: 2.5rem;
}
.request__aside { display: grid; gap: 1.75rem; padding-top: 0.5rem; }
.request__actions { margin-top: 2rem; }

.plaque {
  position: relative;
  margin: 0;
  padding: clamp(1.75rem, 1rem + 4vw, 4rem);
  border: 1px solid var(--etch);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, var(--plate-top), var(--plate-bottom));
}
.plaque::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--etch-soft);
  pointer-events: none;
}
.plaque__tick { position: absolute; width: 14px; height: 14px; border: 0 solid var(--brass); }
.plaque__tick--tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.plaque__tick--tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.plaque__tick--bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.plaque__tick--br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.plaque__text {
  margin: 0;
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  line-height: 1.62;
  color: var(--star);
}
.plaque__text p { max-width: 36em; margin: 0 0 1.1em; }
.plaque__text p:last-child { margin-bottom: 0; }
.plaque__salutation { font-style: italic; color: var(--brass-hi); }
.plaque__close { font-style: italic; }
.plaque__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--etch-soft);
  font-family: var(--mono);
  font-size: var(--micro);
  letter-spacing: 0.02em;
  color: var(--faint);
}

@media (max-width: 1099px) {
  .request__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .request__aside { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); padding-top: 0; }
}

/* Why: an argument in four steps */
.steps {
  display: grid;
  gap: 3rem;
  max-width: var(--measure);
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.step { position: relative; display: grid; gap: 0.5rem; }
.step__num { margin: 0; font-family: var(--mono); font-size: var(--micro); letter-spacing: 0.08em; color: var(--brass); }
.step h3 { margin: 0; font-size: var(--h3); font-weight: 500; line-height: 1.25; }
.step > p { margin: 0; }
.sidenote { margin-top: 0.75rem; }
@media (min-width: 1100px) {
  .sidenote { position: absolute; top: 1.6rem; left: calc(100% + 4rem); width: 16rem; margin-top: 0; }
}
.more { margin: 3rem 0 0; }

/* Conditions */
.terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 4rem;
  max-width: 64rem;
  margin: 3rem 0 0;
}
.term { padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.term dt { margin: 0 0 0.4rem; font-size: 1.3125rem; font-weight: 500; line-height: 1.3; text-wrap: balance; color: var(--star); }
.term dd { margin: 0; font-size: var(--text-s); line-height: 1.55; color: var(--dust); }
@media (max-width: 760px) {
  .terms { grid-template-columns: minmax(0, 1fr); }
}

/* Forms */
.panel {
  max-width: 36rem;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  border: 1px solid var(--rule);
  background: var(--hull);
}
.panel__title { margin: 0 0 1rem; font-size: var(--h3); font-weight: 500; }
.panel__text { margin: 0 0 1.5rem; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
label { font-family: var(--sans); font-size: 0.9375rem; color: var(--star); }
.optional { color: var(--faint); }
input[type="text"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--star);
  background: var(--void);
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
}
input[type="text"]:hover,
select:hover,
textarea:hover,
input[type="text"]:focus,
select:focus,
textarea:focus { border-color: var(--brass); }
[aria-invalid="true"] { border-color: var(--alert) !important; }
input::placeholder, textarea::placeholder { color: var(--faint); opacity: 1; }
select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A86A' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
textarea { min-height: 8.5rem; resize: vertical; line-height: 1.5; }
.help { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--dust); }
.help--spaced { margin-bottom: 1.5rem; }
.counter { font-family: var(--mono); font-size: var(--micro); color: var(--faint); text-align: right; }
.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.check input { width: 22px; height: 22px; margin: 0.2rem 0 0; accent-color: var(--brass); }
.check label { font-family: var(--serif); font-size: var(--text-s); line-height: 1.5; color: var(--ink); }
.check input[aria-invalid="true"] { outline: 2px solid var(--alert); outline-offset: 2px; }
.error { margin: 0 0 1rem; font-family: var(--sans); font-size: 0.9375rem; color: var(--alert); }
.preview-note { margin: 1rem 0 0; font-family: var(--mono); font-size: var(--micro); color: var(--faint); }
.reassure { margin: 0; font-family: var(--sans); font-size: 0.875rem; letter-spacing: 0.02em; color: var(--dust); }
.care {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 2px solid var(--earth);
  background: var(--earth-wash);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin: 0 0 1rem; }

/* Your first yes */
.yes__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.yes__title { max-width: 14ch; font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem); }
.count { margin: 0 0 1.5rem; font-family: var(--sans); font-size: 1rem; letter-spacing: 0.02em; color: var(--brass-hi); }
.count strong { font-family: var(--mono); font-weight: 500; }
.pledge {
  margin: 0 0 1rem;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--brass);
  background: var(--brass-wash);
  font-size: var(--lead);
  font-style: italic;
  line-height: 1.5;
  color: var(--star);
}
.undo { margin: 0.75rem 0 0; }
.yes__card { position: sticky; top: calc(var(--header-h) + 2rem); margin: 0; }
.yes__card canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  background: var(--void);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.yes__card.is-signed canvas { border-color: var(--brass); box-shadow: 0 0 60px var(--brass-glow); }
.yes__card figcaption { margin-top: 0.75rem; font-family: var(--mono); font-size: var(--micro); color: var(--faint); }
@media (max-width: 960px) {
  .yes__grid { grid-template-columns: minmax(0, 1fr); }
  .yes__card { position: static; max-width: 22rem; }
}

/* Heavens */
.heavens__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.wall-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin: 4.5rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.wall-title { margin: 0; font-size: var(--h3); font-weight: 500; }
.wall-note { margin: 0; font-family: var(--mono); font-size: var(--micro); color: var(--faint); }
.wall { margin: 0; padding: 0; list-style: none; columns: 3 18rem; column-gap: 1.25rem; }
.heaven {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  background: var(--hull);
  break-inside: avoid;
}
.heaven--mine { border-color: var(--etch); }
.heaven__world { display: block; width: 44px; height: 44px; }
.heaven__text { margin: 0; font-size: var(--text); font-style: italic; line-height: 1.5; color: var(--star); overflow-wrap: anywhere; }
.heaven__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.heaven__by {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
}
.heaven__action {
  min-height: 44px;
  padding: 0;
  font-family: var(--sans);
  font-size: var(--micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-hi);
  background: none;
  border: 0;
  cursor: pointer;
}
.heaven__action:hover { color: var(--star); }
.tag {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--brass);
  border: 1px solid var(--etch);
}
@media (max-width: 960px) {
  .heavens__head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .heaven--more { display: none; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
}

/* Ask an AI */
.ask__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 32rem);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.ask__box { padding: 1.75rem; border: 1px solid var(--rule); background: var(--hull); }
.mono-label {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: var(--micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
}
.ask__question { margin: 0 0 0.5rem; font-family: var(--mono); font-size: 0.9375rem; line-height: 1.6; color: var(--ink); }
.ask__plus { margin: 0 0 1.5rem; font-family: var(--mono); font-size: 0.8125rem; color: var(--faint); }
.ask__then { margin: 1.5rem 0 0; font-family: var(--sans); font-size: 0.9375rem; color: var(--dust); }
@media (max-width: 960px) {
  .ask__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Chips and share links */
.share-list,
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0 1.5rem; padding: 0; list-style: none; }
.chips { margin: 0.75rem 0 0; }
.share-list a,
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--star);
  text-decoration: none;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}
.share-list a:hover,
.chips a:hover { color: var(--brass-hi); border-color: var(--brass); }

/* For AI readers */
.for-ai { background: var(--hull); }
.terminal { max-width: 46rem; font-family: var(--mono); font-size: 0.9375rem; line-height: 1.75; color: var(--ink); }
.terminal__label { margin: 0 0 1.5rem; font-size: var(--micro); color: var(--faint); }
.terminal h2 { margin: 0 0 1.25rem; font-family: var(--mono); font-size: 1.125rem; font-weight: 500; color: var(--earth); }
.terminal p { max-width: 64ch; margin: 0 0 1rem; }
.terminal__hash { font-size: 0.8125rem; color: var(--dust); overflow-wrap: anywhere; }
.terminal__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.75rem !important; }

/* Questions */
.faq { max-width: 48rem; margin-top: 2rem; border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--star);
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--mono); font-size: 1.25rem; color: var(--brass); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--brass-hi); }
.faq__a { max-width: var(--measure); padding: 0 0 1.5rem; }
.faq__a p { margin: 0 0 1rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* Pass it on: the finale */
.spread__inner { display: grid; justify-items: center; text-align: center; }
.spread__dot {
  width: 8px;
  height: 8px;
  margin-bottom: 2.5rem;
  border-radius: 50%;
  background: var(--earth-core);
  box-shadow: 0 0 18px 6px rgba(142, 197, 240, 0.35);
}
.spread__title {
  max-width: 16ch;
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.spread .lead { margin-inline: auto; }
.spread .share-list,
.spread__actions { justify-content: center; }

/* Footer */
.site-footer { padding-block: 3.5rem 4rem; border-top: 1px solid var(--rule); background: var(--void); }
.footer__grid { display: grid; gap: 1.5rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-family: var(--sans); font-size: 0.9375rem; }
.footer__links a { color: var(--dust); text-decoration: none; }
.footer__links a:hover { color: var(--star); }
@media (pointer: coarse) {
  .footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
}
.footer__care { max-width: 40rem; margin: 0; padding: 1rem 1.25rem; border: 1px solid var(--rule); font-size: 1rem; color: var(--ink); }
.footer__small { margin: 0; font-family: var(--mono); font-size: var(--micro); color: var(--faint); }

/* Share dialog */
.share-dialog {
  width: min(34rem, calc(100vw - 32px));
  padding: 0;
  color: var(--ink);
  background: var(--hull);
  border: 1px solid var(--etch);
  border-radius: var(--radius);
}
.share-dialog::backdrop { background: rgba(5, 6, 8, 0.72); }
.share-dialog__inner { padding: 1.75rem; }
.share-dialog__title { margin: 0 0 0.75rem; font-size: var(--h3); font-weight: 500; }
.share-dialog__text { margin: 0 0 0.75rem; font-size: var(--text-s); }
.share-dialog__url { margin: 0; font-family: var(--mono); font-size: 0.8125rem; color: var(--dust); overflow-wrap: anywhere; user-select: all; }
.share-dialog .share-list { margin: 1.25rem 0; }
.share-dialog__img {
  display: block;
  width: 100%;
  max-width: 18rem;
  height: auto;
  margin: 0 0 1rem;
  border: 1px solid var(--rule);
}
.share-dialog__more { margin: 0.5rem 0 0; }
.heaven-share-mine { margin-top: 0.75rem; }

/* Long-form pages: essay and privacy */
.page-head { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(3rem, 2rem + 5vw, 6rem)); padding-bottom: 2.5rem; }
.page-title {
  max-width: 18ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.page-sub { max-width: 36rem; margin: 0 0 1.75rem; font-size: var(--lead); line-height: 1.5; color: var(--dust); }
.page-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin: 0; font-family: var(--mono); font-size: var(--micro); color: var(--faint); }
.prose { max-width: var(--measure); padding-bottom: var(--section-space); }
.prose h2 {
  margin: 3.5rem 0 1rem;
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem);
  font-weight: 400;
  line-height: 1.2;
}
.prose h2 .num { display: block; margin-bottom: 0.4rem; font-family: var(--mono); font-size: var(--micro); letter-spacing: 0.08em; color: var(--brass); }
.prose h3 { margin: 2rem 0 0.5rem; font-size: 1.1875rem; font-weight: 500; }
.prose p { margin: 0 0 1.15em; }
.prose ul { margin: 0 0 1.15em; padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose em { color: var(--star); }
.prose .plaque { margin: 2rem 0; }
.toc { margin: 0 0 1rem; padding: 1.25rem 1.5rem; border: 1px solid var(--rule); background: var(--hull); }
.toc ol { margin: 0.5rem 0 0; padding-left: 1.4em; font-family: var(--sans); font-size: 0.9375rem; line-height: 1.9; }
.toc a { color: var(--dust); text-decoration: none; }
.toc a:hover { color: var(--star); }
.sources { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: 0.9375rem; color: var(--dust); }
.sources li { margin-bottom: 0.6em; }
.end-cta { margin-top: 3rem; padding: 2rem; border: 1px solid var(--etch); background: var(--brass-wash); }
.end-cta h2 { margin-top: 0; }

/* Moderation page */
.admin-list { display: grid; gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.admin-item { padding: 1.25rem; border: 1px solid var(--rule); background: var(--hull); }
.admin-item p { margin: 0 0 0.75rem; }
.admin-meta { font-family: var(--mono); font-size: var(--micro); color: var(--faint); }
.admin-guide { max-width: 44rem; margin: 0 0 2rem; }
.admin-guide ul { margin: 0.5rem 0 0; padding-left: 1.2em; }

.mono-inline { font-family: var(--mono); font-size: 0.9em; overflow-wrap: anywhere; }

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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