:root {
  --bg: #78716B;
  --surface: #7E7772;
  --ink: #FAFAFA;
  --accent: #84D8FF;
  --muted: #FAFAF9;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Optima, Palatino, 'Iowan Old Style', Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

a { color: var(--accent); }

a:focus-visible,
.mail:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(40rem, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 2.75rem 0 4.5rem;
}

.word {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.7rem, 9vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.lede {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.glass {
  margin-top: 2rem;
  padding: 1rem 1rem 1.25rem;
  background: var(--surface);
  border-radius: 1.5rem;
}

.fog {
  position: relative;
  height: 11rem;
  overflow: hidden;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, #918a84 0%, #78716B 46%, #625c57 100%);
}

.horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 62%;
  height: 1px;
  background: var(--muted);
  opacity: 0.35;
}

.beam {
  position: absolute;
  top: 2.6rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.9;
}

.beam.near { left: 14%; width: 6.2rem; }

.beam.far {
  right: 16%;
  width: 3.4rem;
  top: 3.3rem;
  opacity: 0.55;
}

.drop {
  position: absolute;
  border: 1px solid var(--muted);
  border-radius: 50%;
  opacity: 0.5;
}

.d1 { top: 18%; left: 24%; width: 0.32rem; height: 0.52rem; }
.d2 { top: 44%; left: 36%; width: 0.48rem; height: 0.72rem; }
.d3 { top: 28%; left: 58%; width: 0.26rem; height: 0.44rem; }
.d4 { top: 52%; left: 70%; width: 0.4rem; height: 0.6rem; }
.d5 { top: 16%; left: 82%; width: 0.3rem; height: 0.46rem; }

.caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.85rem;
  color: var(--muted);
}

.phase { color: var(--accent); font-size: 1.35rem; }

.verb {
  margin: 0.15rem 0 0;
  color: var(--accent);
  font-size: 1.85rem;
}

.kicker {
  margin: 2.75rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tape,
.steps,
.screens {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.steps {
  list-style: decimal;
  padding-left: 1.25rem;
}

.tape li,
.steps li,
.screens li {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(250, 250, 250, 0.16);
}

.tape strong,
.screens strong,
.steps strong { font-weight: 500; }

.live { color: var(--accent); }

p { margin: 0.7rem 0; }

h2 {
  margin: 2rem 0 0;
  font-size: 1.35rem;
  font-weight: 500;
}

footer {
  margin-top: 3rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(250, 250, 250, 0.16);
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-top: 0.7rem;
}

.mail {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.9rem 1.15rem;
  background: var(--surface);
  color: var(--accent);
  border-radius: 999px;
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .beam.near { animation: drift 8s ease-in-out infinite alternate; }
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(1.1rem); }
}
