:root {
  --night: #070708;
  --ink: #f4f4f6;
  --ink-soft: #9a9aa3;
  --line: rgba(255, 255, 255, 0.09);
  --cta: #f4f4f6;
  --cta-ink: #0b0b0d;
  --font: "Mona Sans Variable", "Mona Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--night);
  color: var(--ink);
  font-family: var(--font);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  /* what is left without WebGL: a still, dull sheen */
  background:
    radial-gradient(70% 45% at 50% 100%, #3a3d46, transparent 70%),
    radial-gradient(60% 40% at 50% 0%, #26282e, transparent 70%),
    var(--night);
}

.field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  display: block;
  touch-action: none;
}

/* a thin shade behind the words, so the metal never fights with the headline */
.veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(46% 38% at 50% 50%, rgba(7, 7, 8, 0.7), rgba(7, 7, 8, 0.25) 70%, transparent 100%);
}

.hero {
  width: min(660px, 100% - 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(10px, 2.3vh, 20px);
  pointer-events: none;
}
.hero .pill, .hero .actions { pointer-events: auto; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.62);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: clamp(11px, 1.7vh, 13px);
  color: var(--ink-soft);
}
.pill__tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #b9bcc6);
  color: #0b0b0d;
  font-weight: 620;
  font-size: 0.92em;
}
.pill__arrow {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.title {
  font-size: clamp(30px, min(7.4vw, 9.6vh), 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 640;
  font-variation-settings: "wdth" 96;
  /* the headline itself is a little metal: light at the top, cooler at the foot */
  background: linear-gradient(180deg, #ffffff 30%, #c4c7d1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

.lede {
  max-width: 34em;
  font-size: clamp(13px, 2.1vh, 17px);
  line-height: 1.45;
  color: var(--ink-soft);
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(2px, 0.8vh, 8px);
}

.cta, .ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: clamp(38px, 6.2vh, 46px);
  padding: 0 clamp(16px, 2.6vh, 20px);
  border-radius: 999px;
  font: inherit;
  font-size: clamp(13px, 2vh, 15px);
  font-weight: 600;
  cursor: pointer;
  border: 0;
  overflow: hidden;
}

.cta {
  background: linear-gradient(180deg, #ffffff 0%, #d9dbe2 100%);
  color: var(--cta-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 10px 30px -10px rgba(210, 220, 255, 0.45), 0 2px 6px rgba(0, 0, 0, 0.4);
}
.cta__sheen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  transform: translateX(-120%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.cta__label, .cta__arrow { position: relative; }
.cta__arrow {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ghost {
  background: rgba(20, 20, 24, 0.55);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.ghost__play {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
@media (hover: hover) {
  .ghost:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(30, 30, 36, 0.6); }
}

.note {
  font-size: clamp(11px, 1.7vh, 13px);
  color: #6e6e77;
}

.cta:focus-visible, .ghost:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .lede { max-width: 26em; }
}
@media (max-height: 460px) {
  .note { display: none; }
}
