/* Elaya reading room. Part B tokens only. */
:root {
  --bg: #000000;
  --bg-2: #181818;
  --bg-3: #1f1f1f;
  --bg-4: #272727;
  --bg-5: #313131;
  --bg-warm: #131209;
  --ink: #ffffff;
  --mute: #9b9b9b;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --focus: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  hyphens: none;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--bg);
  color: var(--ink);
}

body.skin-elaya {
  font-family: Geist, ui-sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
}

i,
em,
cite,
address {
  font-style: normal;
}

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

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

button,
textarea,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

h1,
h2,
h3,
h4,
.hero-title,
.tagline,
.section-title,
.final-title {
  text-wrap: balance;
}

p,
li,
.hero-sub,
.lede,
.card-body,
.faq-a,
.proof-line,
.meta,
.hint {
  text-wrap: pretty;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 120;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transform: translateY(-80px);
  transition: transform 700ms var(--ease);
}

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

body.skin-elaya .skin-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0;
  margin: 24px 0 0;
  background: transparent;
  font-size: 14px;
  line-height: 20px;
  pointer-events: none;
}

.island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.island-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.island-mark {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
}

.island-mark svg {
  width: 12px;
  height: 12px;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--mute);
  transition: color 700ms var(--ease), background-color 700ms var(--ease), transform 700ms var(--ease);
}

.btn-nav:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.btn-nav:active {
  transform: scale(0.98);
}

#historyCountBadge {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-weight: 500;
}

.nav-burger {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: var(--ink);
  color: var(--bg);
  flex: 0 0 40px;
  transition: transform 700ms var(--ease), background-color 700ms var(--ease);
}

.nav-burger:hover {
  transform: scale(1.04);
}

.nav-burger:active {
  transform: scale(0.98);
}

.nav-burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  top: 50%;
  background: currentColor;
  border-radius: 9999px;
  transition: transform 700ms var(--ease);
}

.nav-burger span:first-child {
  transform: translateY(-4px);
}

.nav-burger span:last-child {
  transform: translateY(4px);
}

.nav-burger.is-open span:first-child {
  transform: rotate(45deg);
}

.nav-burger.is-open span:last-child {
  transform: rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px 48px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms var(--ease);
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.nav-overlay-links a {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  color: var(--mute);
  padding: 8px 12px;
  border-radius: 8px;
  transform: translateY(48px);
  opacity: 0;
  transition:
    transform 700ms var(--ease),
    opacity 700ms var(--ease),
    color 700ms var(--ease),
    background-color 700ms var(--ease);
}

.nav-overlay.is-open .nav-overlay-links a {
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay.is-open .nav-overlay-links a:nth-child(1) { transition-delay: 100ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(2) { transition-delay: 150ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(3) { transition-delay: 200ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(4) { transition-delay: 250ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(5) { transition-delay: 300ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(6) { transition-delay: 350ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(7) { transition-delay: 400ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(8) { transition-delay: 450ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(9) { transition-delay: 500ms; }

.nav-overlay-links a:hover,
.nav-overlay-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-overlay-links a[aria-current="page"] {
  background: var(--bg-3);
}

.btn-primary,
.hero-cta,
.final-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  transition: transform 700ms var(--ease), background-color 700ms var(--ease), color 700ms var(--ease);
}

.btn-primary:hover,
.hero-cta:hover,
.final-cta:hover {
  background: #e5e5e5;
  transform: translateY(-2px);
}

.btn-primary:active,
.hero-cta:active,
.final-cta:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.btn-ghost,
.btn-ctrl,
.filter-btn,
.btn-audio,
.drawer-head button,
.drawer-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--bg-5);
  background: var(--bg-3);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition: transform 700ms var(--ease), background-color 700ms var(--ease), border-color 700ms var(--ease);
}

.btn-ghost:hover,
.btn-ctrl:hover,
.filter-btn:hover,
.btn-audio:hover,
.drawer-head button:hover,
.drawer-footer button:hover {
  background: var(--bg-4);
  border-color: var(--mute);
}

.btn-ghost:active,
.btn-ctrl:active,
.filter-btn:active,
.btn-audio:active {
  transform: scale(0.98);
}

.filter-btn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.icon-lg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.mono {
  font-family: "Geist Mono", ui-monospace, monospace;
}

.reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(64px);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease),
    filter 800ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.wrap {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
}

.wrap-wide {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--mute);
  margin-bottom: 12px;
}

.section-title {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  max-width: 680px;
}

.lede {
  margin-top: 16px;
  font-size: 18px;
  line-height: 28px;
  color: var(--mute);
  max-width: 680px;
}

.band {
  padding: 80px 0;
}

.band-alt {
  background: var(--bg-2);
}

.band-warm {
  background: var(--bg-warm);
}

.hero {
  padding: 96px 0 80px;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

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

.hero-title {
  max-width: 680px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  background: linear-gradient(to right, #ffffff, #9b9b9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 680px;
  margin-top: 16px;
  font-size: 18px;
  line-height: 28px;
  color: var(--mute);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 20px;
  color: var(--mute);
}

.proof-stat {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
}

.faces {
  display: flex;
}

.faces svg {
  width: 24px;
  height: 24px;
  margin-left: -8px;
  border-radius: 4px;
}

.faces svg:first-child {
  margin-left: 0;
}

.hero-visual {
  border-radius: 24px;
  background: var(--bg-2);
  padding: 8px;
  border: 1px solid var(--bg-5);
}

.crop-frame {
  position: relative;
  border-radius: 16px;
  background: var(--bg-3);
  padding: 24px;
  overflow: hidden;
}

.crop {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--mute);
  border-style: solid;
}

.crop-tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.crop-tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.crop-bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.crop-br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.desk {
  display: grid;
  gap: 16px;
}

.desk-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

.desk-spread {
  display: grid;
  gap: 8px;
  background: var(--bg-warm);
  border-radius: 8px;
  padding: 8px;
}

.desk-gutter {
  display: none;
  width: 8px;
  background: var(--bg-4);
  border-radius: 4px;
}

.sheet {
  background: var(--bg-2);
  border: 1px solid var(--bg-5);
  border-radius: 8px;
  padding: 16px;
}

.sheet-kicker {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
  margin-bottom: 8px;
}

.sheet h3,
.card h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.sheet p {
  font-size: 14px;
  line-height: 20px;
  color: var(--mute);
}

.sort-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--bg-4);
  border: 1px solid var(--bg-5);
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

.sort b {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .hero-title {
    font-size: 48px;
    line-height: 1;
  }

  .desk-spread {
    grid-template-columns: 1fr 8px 1fr;
    align-items: stretch;
  }

  .desk-gutter {
    display: block;
  }
}

@media (min-width: 1100px) {
  .hero-title {
    font-size: 60px;
    line-height: 1;
  }
}

.problem-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

#compose,
#product,
#thoughtInput {
  scroll-margin-top: 96px;
}

.problem-card {
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
  border-radius: 16px;
  padding: 24px;
}

.problem-card h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 16px;
  line-height: 24px;
  color: var(--mute);
}

@media (min-width: 800px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.benefit-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.benefit {
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
  border-radius: 16px;
  padding: 8px;
}

.benefit-inner {
  border-radius: 8px;
  padding: 16px;
  background: var(--bg-2);
  min-height: 100%;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-4);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--ink);
}

.benefit h3 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.benefit p {
  font-size: 14px;
  line-height: 20px;
  color: var(--mute);
}

@media (min-width: 800px) {
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .benefit-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.tagline-band {
  padding: 96px 0;
}

.tagline {
  max-width: 680px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
}

.tagline-word {
  display: inline;
  color: rgba(255, 255, 255, 0.3);
  transition: color 700ms var(--ease);
}

.tagline-word.is-on {
  color: #ffffff;
}

@media (min-width: 800px) {
  .tagline {
    font-size: 48px;
    line-height: 1;
  }
}

.step-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.step {
  background: var(--bg);
  border: 1px solid var(--bg-5);
  border-radius: 16px;
  padding: 24px;
}

.step-num {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 16px;
  line-height: 24px;
  color: var(--mute);
}

@media (min-width: 800px) {
  .step-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.case-folio {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.case-lead {
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-kicker {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

.case-lead blockquote p {
  font-size: 20px;
  line-height: 28px;
  max-width: 680px;
}

.case-side {
  display: grid;
  gap: 16px;
}

.quote {
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote p {
  font-size: 16px;
  line-height: 24px;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.quote-person strong {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.quote-person span {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  flex: 0 0 40px;
}

@media (min-width: 900px) {
  .case-folio {
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
  }
}

.product {
  padding: 80px 0 96px;
}

.product-intro {
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #ffffff;
}

.product-stage {
  background: var(--bg-2);
  border: 1px solid var(--bg-5);
  border-radius: 24px;
  padding: 8px;
}

.product-stage > * + * {
  margin-top: 8px;
}

.input-card,
.canvas-card,
.card {
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
  border-radius: 16px;
  padding: 8px;
}

.section-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.section-label span,
.meta {
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

.opening-label,
.field-label {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--mute);
  margin-bottom: 8px;
}

.opening-lines {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.opening {
  text-align: left;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--bg-5);
  background: var(--bg-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition: transform 700ms var(--ease), background-color 700ms var(--ease), border-color 700ms var(--ease);
}

.opening:hover {
  background: var(--bg-4);
  border-color: var(--mute);
}

.opening:active {
  transform: scale(0.98);
}

.opening-kicker {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--mute);
}

@media (min-width: 800px) {
  .opening-lines {
    grid-template-columns: 1fr 1fr;
  }
}

.compose-row,
.canvas-header,
.card-actions,
.canvas-filters,
.canvas-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

#thoughtInput {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  background: var(--bg-2);
  border: 1px solid var(--bg-5);
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  transition: border-color 700ms var(--ease), background-color 700ms var(--ease);
}

#thoughtInput::placeholder {
  color: var(--mute);
}

#thoughtInput:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--ink);
}

.compose-row {
  margin-top: 12px;
}

.hint {
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

#pipelineProgress {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--bg-5);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

#pipelineProgress::before {
  content: "";
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-5);
  box-shadow: inset 16px 0 0 var(--ink);
  animation: desk-load 1400ms var(--ease) infinite;
}

@keyframes desk-load {
  from { box-shadow: inset 0 0 0 var(--ink); }
  to { box-shadow: inset 40px 0 0 var(--ink); }
}

.safety-banner {
  display: none;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
  font-size: 14px;
  line-height: 20px;
}

.safety-banner.caution {
  background: #131209;
}

.safe-badge {
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

.canvas-header {
  justify-content: space-between;
  margin-bottom: 12px;
}

.canvas-header h2 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}

body.skin-elaya .canvas-wrapper {
  min-height: 420px;
  height: 48vh;
  border-radius: 8px;
  background: var(--bg-warm);
  border: 1px solid var(--bg-5);
}

.graph-hud {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--bg-5);
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

.graph-hud span span {
  font-family: "Geist Mono", ui-monospace, monospace;
  color: var(--ink);
}

.canvas-tooltip {
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  line-height: 20px;
}

#tooltipTitle {
  font-weight: 600;
  margin-bottom: 4px;
}

#tooltipMeta {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
  margin-bottom: 8px;
}

.facing {
  display: grid;
  gap: 8px;
}

.facing-gutter {
  display: none;
  background: var(--bg-4);
  border-radius: 4px;
}

.card h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.card-body {
  min-height: 96px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  margin-bottom: 16px;
}

.placeholder-text {
  color: var(--mute);
}

.btn-audio.playing {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

@media (min-width: 900px) {
  .facing {
    grid-template-columns: 1fr 8px 1fr;
    align-items: stretch;
  }

  .facing-gutter {
    display: block;
  }
}

.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
  border-radius: 16px;
  padding: 8px;
}

.faq-item button {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  background: var(--bg-2);
  transition: background-color 700ms var(--ease);
}

.faq-item button:hover {
  background: var(--bg-4);
}

.faq-a {
  display: none;
  padding: 8px 16px 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--mute);
}

.faq-item.is-open .faq-a {
  display: block;
}

.faq-item .faq-icon {
  transition: transform 700ms var(--ease);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.final {
  text-align: left;
}

.final-title {
  max-width: 680px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  background: linear-gradient(to right, #ffffff, #9b9b9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.final .lede {
  margin-bottom: 24px;
}

.risk {
  margin-top: 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--mute);
}

@media (min-width: 800px) {
  .final-title {
    font-size: 48px;
    line-height: 1;
  }
}

.legal {
  padding: 64px 0 0;
}

.legal h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}

.legal p {
  font-size: 14px;
  line-height: 20px;
  color: var(--mute);
  max-width: 680px;
}

.legal + .legal {
  margin-top: 32px;
}

.site-footer {
  padding: 64px 0 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--mute);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a:hover {
  color: var(--ink);
}

body.skin-elaya .history-backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
}

body.skin-elaya .history-drawer {
  background: var(--bg-2);
  border-left: 0;
  box-shadow: none;
  transition: transform 700ms var(--ease);
}

.drawer-head,
.drawer-footer {
  border: 0;
}

.drawer-head strong {
  font-size: 16px;
  font-weight: 600;
}

.drawer-list {
  padding: 8px 0 16px;
}

body.skin-elaya .history-item {
  border: 1px solid var(--bg-5);
  border-radius: 8px;
  margin: 8px 12px;
  padding: 12px;
  background: var(--bg-3);
  transition: background-color 700ms var(--ease), border-color 700ms var(--ease);
}

body.skin-elaya .history-item:hover {
  background: var(--bg-4);
  border-color: var(--mute);
}

.history-item-time {
  font-family: "Geist Mono", ui-monospace, monospace;
}

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

  .reveal,
  .nav-overlay-links a,
  .tagline-word {
    opacity: 1;
    filter: none;
    transform: none;
    color: #ffffff;
  }

  html {
    scroll-behavior: auto;
  }
}
