@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/space-grotesk-400-700-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/ibm-plex-mono-400-latin.woff2') format('woff2');
  font-display: swap;
}
:root {
  color-scheme: dark;
  --base: #08100e;
  --panel: #101c17;
  --text: #f1f5ec;
  --muted: #b8c6bc;
  --mint: #bbffd4;
  --line: #344740;
  --mono: 'IBM Plex Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--base); color: var(--text); font: 1rem/1.55 'Space Grotesk', system-ui, sans-serif; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 3; top: 1rem; left: 1rem; padding: .65rem; background: var(--base); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.shell { width: min(76rem, calc(100% - 5rem)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header-inner { min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.25rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--mint); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.75rem, 3vw, 2.2rem); }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--mint); }
.nav-wallet { border: 1px solid var(--line); padding: .38rem 1rem; border-radius: 2rem; color: var(--text); }

.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #08100e 5%, #08100efa 23%, #08100e85 50%, transparent 74%), linear-gradient(0deg, #08100e80, transparent 30%); }
.hero-inner { display: grid; align-items: center; min-height: clamp(33rem, 54vw, 46rem); padding-block: 5rem; }
.hero-content { max-width: 45rem; }
.label { margin: 0 0 1rem; color: var(--mint); font: .875rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1; letter-spacing: -.055em; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3.6rem, 8.2vw, 8rem); font-weight: 700; }
h1 em { color: var(--mint); font-style: normal; }
.lede { color: var(--muted); font-size: clamp(1.12rem, 1.7vw, 1.38rem); max-width: 30rem; margin-bottom: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .62rem 1.25rem; border: 1px solid var(--mint); border-radius: .35rem; font-weight: 700; text-decoration: none; }
.primary { color: #0b2015; background: var(--mint); }
.primary:hover { background: #e4ffed; }
.secondary { background: #08100ec7; border-color: var(--line); }
.secondary:hover { border-color: var(--mint); }

.example-section { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(2rem, 8vw, 8.5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 7.5rem); }
h2 { margin-bottom: 1.15rem; font-size: clamp(2.45rem, 5.2vw, 5rem); }
.section-intro > p:last-child { color: var(--muted); font-size: 1.1rem; max-width: 28rem; margin-bottom: 0; }
.example-card { background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; overflow: hidden; }
.example-top { display: flex; align-items: center; gap: .65rem; padding: .85rem 1.25rem; color: var(--mint); border-bottom: 1px solid var(--line); font: .875rem/1.4 var(--mono); }
.example-body { padding: 1.2rem; min-height: 13rem; }
.question { width: fit-content; margin: 0 0 1.1rem auto; padding: .65rem .9rem; border-radius: .6rem .6rem .15rem .6rem; background: #294638; color: var(--text); }
.answer { margin: 0; color: var(--muted); }
.example-controls { display: flex; flex-wrap: wrap; gap: .52rem; padding: 0 1.2rem 1.2rem; }
.example-controls button { color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 2rem; padding: .4rem .8rem; cursor: pointer; }
.example-controls button:hover { border-color: var(--mint); }
.example-controls [aria-pressed='true'] { border-color: var(--mint); color: var(--mint); background: #1d3528; }

.how { border-block: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem); background: #0e1814; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); margin: 2rem 0; }
.steps article { border-top: 1px solid #668c75; padding-top: 1.15rem; }
.steps h3 { font-size: clamp(1.35rem, 2.1vw, 1.95rem); margin-bottom: .65rem; }
.steps p, .privacy { color: var(--muted); margin-bottom: 0; }
.privacy a { color: var(--mint); text-underline-offset: .2em; }
.site-footer { padding-block: 2rem; }

@media (max-width: 50rem) {
  .shell { width: calc(100% - 2.5rem); }
  .hero-inner { padding-block: 4.5rem 17rem; }
  .hero-art { height: 32rem; inset: auto 0 0; object-position: 72% center; }
  .hero::after { background: linear-gradient(180deg, #08100e 15%, #08100eed 37%, #08100e20 75%, #08100e50); }
  .example-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .example-body { min-height: 10rem; }
}
@media (max-width: 36rem) {
  .header-inner { min-height: 4rem; }
  .header-inner nav a:first-child { display: none; }
  .brand { gap: .35rem; font-size: 1.05rem; }
  .brand img { max-height: 1.65rem; }
  nav { font-size: .875rem; }
  .nav-wallet { padding-inline: .65rem; }
  h1 { font-size: clamp(2.85rem, 10vw, 4rem); }
  .actions { align-items: start; flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
  .site-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
