:root {
  --void: #050404;
  --sheet: #0b0907;
  --panel: #14110d;
  --cream: #eedfbf;
  --cream-hi: #fbf1dc;
  --cream-80: color-mix(in srgb, var(--cream) 80%, transparent);
  --cream-60: color-mix(in srgb, var(--cream) 60%, transparent);
  --cream-40: color-mix(in srgb, var(--cream) 40%, transparent);
  --line: color-mix(in srgb, var(--cream) 14%, transparent);
  --line-strong: color-mix(in srgb, var(--cream) 30%, transparent);

  --f-display: 'Antonio', 'Arial Narrow', sans-serif;
  --f-label: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --sheet-w: 1180px;
  --pad: clamp(20px, 7vw, 108px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body {
  margin: 0;
  color: var(--cream);
  font: 300 16px/1.65 var(--f-body);
  background:
    radial-gradient(900px 600px at 50% -200px, color-mix(in srgb, var(--cream) 7%, transparent), transparent 70%),
    var(--void);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--cream); color: var(--void); }
:focus-visible { outline: 1px dashed var(--cream); outline-offset: 4px; }

.sheet {
  position: relative;
  max-width: var(--sheet-w);
  margin: 0 auto;
  background: var(--sheet);
  border-inline: 1px solid var(--line);
  box-shadow: 0 0 120px rgba(0, 0, 0, 0.8);
}
.wrap { padding-inline: var(--pad); }

/* Type */
.display {
  font-family: var(--f-display);
  font-weight: 200;
  letter-spacing: -0.01em;
  line-height: 0.98;
  margin: 0;
  color: var(--cream-hi);
}
.h2 { font-size: clamp(48px, 6.4vw, 84px); }
.center { text-align: center; margin-inline: auto; }
.label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font: 500 13px/1 var(--f-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-80);
}
.label-sm { font-size: 11.5px; letter-spacing: 0.16em; color: var(--cream-60); }
.label .rule { width: 40px; height: 1px; background: var(--cream-60); }
.sub { font-size: 17px; color: var(--cream-80); max-width: 56ch; margin: 22px 0 0; }
.sub.center { text-align: center; margin-inline: auto; }
.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cream-hi);
  box-shadow: 0 0 12px var(--cream);
  animation: pulse 2.4s ease-in-out infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 18px;
  font: 500 14px/1 var(--f-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--cream);
  border-radius: 2px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn-sm { height: 34px; padding: 0 13px; font-size: 12.5px; }
.btn-solid { background: var(--cream); color: var(--void); }
.btn-solid:hover { background: var(--cream-hi); box-shadow: 0 0 28px color-mix(in srgb, var(--cream) 30%, transparent); }
.btn-ghost { background: color-mix(in srgb, var(--cream) 8%, transparent); border-color: var(--line-strong); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: color-mix(in srgb, var(--cream) 14%, transparent); }
.btn .i { width: 13px; height: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-inline: var(--pad);
  transition: background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 150px repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  height: 118px;
  transition: height 0.35s var(--ease);
}
.nav-link {
  font: 500 13px/1 var(--f-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream-80);
  transition: color 0.2s;
}
.nav-link:first-child { justify-self: start; }
.nav-link:hover { color: var(--cream-hi); }
.nav-cta { justify-self: end; }
.brand { position: relative; display: grid; justify-items: center; gap: 8px; }
.brand-word {
  font: 300 25px/0.92 var(--f-display);
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.02em;
  color: var(--cream-hi);
}
.brand-icons { display: flex; gap: 12px; }
.brand-icons a { display: grid; color: var(--cream-80); transition: color 0.2s; }
.brand-icons a:hover { color: var(--cream-hi); }
.brand-icons svg { width: 14px; height: 14px; }
.brand-mark {
  position: absolute;
  top: 50%; left: 50%;
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.3s, transform 0.35s var(--ease);
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--sheet) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav.is-scrolled .nav-inner { height: 64px; }
.nav.is-scrolled .brand-word,
.nav.is-scrolled .brand-icons { opacity: 0; pointer-events: none; }
.nav.is-scrolled .brand-mark { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.brand-word, .brand-icons { transition: opacity 0.25s; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-top: 24px;
  padding-bottom: 88px;
}
.hero > * { min-width: 0; }
.hero h1 { font-size: clamp(64px, 8.6vw, 116px); margin: 26px 0 0 -0.04em; }
.hero .lede { font-size: 17px; color: var(--cream-80); max-width: 46ch; margin: 28px 0 30px; }
.hero .label-sm { margin: 40px 0 12px; }

.term { border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--void) 70%, transparent); max-width: 460px; }
.term-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; }
.term-line code { font: 400 12.5px/1.4 var(--f-mono); color: var(--cream); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.term-line code::before { content: '$ '; color: var(--cream-40); }
.term-copy {
  font: 500 11px/1 var(--f-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-80);
  background: none;
  border: 1px solid var(--line-strong);
  padding: 6px 9px;
  cursor: pointer;
}
.term-copy:hover { color: var(--cream-hi); border-color: var(--cream); }

@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
