@font-face {
  font-family: Geist;
  src: url(183d404a.woff2?v=e5b1e10a) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url(1373cc5a.woff2?v=e5b1e10a) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg-0: #05070c;
  --fg-0: #eaf1fb;
  --fg-1: #a2aec2;
  --fg-2: #63708a;
  --fg-3: #3e4759;
  --bg-2: #10151f;
  --border-2: #26303f;
  --accent: #4ba3ff;
  --font-sans: Geist, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg-0);
  color: var(--fg-0);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
.field {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--bg-0);
}
#field {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.veil {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46%;
  background: linear-gradient(to bottom, rgba(5,7,12,0) 0%, rgba(5,7,12,0.72) 45%, rgba(5,7,12,0.94) 100%);
  pointer-events: none;
}
.chrome, .copy {
  position: absolute;
  left: 0; right: 0;
  opacity: 0;
}
.chrome { transition: opacity 1400ms ease; }
.copy { transition: opacity 1600ms ease, transform 1600ms ease; transform: translateY(10px); }
.top {
  top: 0;
  padding: clamp(20px, 3.2vw, 34px) clamp(20px, 4vw, 44px);
  display: flex;
  justify-content: center;
}
.brand { display: block; line-height: 0; }
.brand svg { display: block; height: 18px; width: auto; }
.copy {
  bottom: clamp(56px, 10vh, 110px);
  padding: 0 clamp(24px, 5vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-1);
}
h1 {
  margin: 18px 0 0;
  max-width: 780px;
  font-size: clamp(22px, min(3.4vw, 5.2vh), 40px);
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.bottom {
  bottom: 0;
  padding: 18px clamp(20px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}
.bottom .note { justify-self: end; text-align: right; }
.formula-row {
  position: absolute;
  left: 0; right: 0;
  top: clamp(64px, 13vh, 150px);
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2000ms ease;
}
.formula {
  position: relative;
  pointer-events: auto;
  cursor: help;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fg-2);
  white-space: nowrap;
}
.formula sub { font-size: 9px; }
.tip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-3px);
  margin-top: 4px;
  padding: 6px 10px;
  border: 1px solid var(--border-2);
  border-radius: 5px;
  background: var(--bg-2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--fg-1);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}
.tip-open .tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.shown .chrome { opacity: 1; }
.shown .copy { opacity: 1; transform: translateY(0); }
.shown .formula-row { opacity: 0.7; }
.shown-chrome .chrome { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .chrome, .copy { opacity: 1; transform: none; transition: none; }
  .formula-row { opacity: 0.7; transition: none; }
}
