:root {
  --night: #0b0a09;
  --cold: #ffffff;
  --accent: #ff6a2b;
  --ink: #f6f3f0;
  --ink-soft: #a9a29c;
  --ink-dim: #cfc8c2;
  --edge: rgba(255, 255, 255, 0.1);
  --cta: #f6f3f0;
  --cta-ink: #120d0a;
  --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 when the canvas is missing: a still grid of small squares in CSS */
  background:
    conic-gradient(from 90deg at 3px 3px, transparent 25%, var(--night) 0) 0 0 / 14px 14px,
    rgba(255, 255, 255, 0.08);
  touch-action: pan-y;
}

.heat {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  display: block;
}

/* a soft dark pool behind the words, so the squares never fight the headline */
.hush {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(min(44vw, 66vh) min(25vh, 30vw) at 50% 52%, rgba(11, 10, 9, 0.8), rgba(11, 10, 9, 0) 100%);
}

.hero {
  width: min(640px, 100% - 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(10px, 2.4vh, 20px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(11, 10, 9, 0.72);
  border: 1px solid var(--edge);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: clamp(11px, 1.6vh, 13px);
  font-weight: 500;
  color: var(--ink-soft);
}

.pill__tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #160b05;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.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(9.4vw, 10.5vh), 80px);
  line-height: 1;
  font-weight: 560;
  font-stretch: 106%;
  letter-spacing: -0.04em;
  color: var(--ink-dim);
}

/* every letter is its own span: the script lends it the warmth of the squares under it */
.title .ch {
  display: inline-block;
}

.lede {
  max-width: 30em;
  font-size: clamp(13px, min(3.6vw, 2.3vh), 17px);
  line-height: 1.5;
  color: var(--ink-soft);
}

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

.cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(10px, 1.6vh, 13px) clamp(16px, 2.4vh, 20px);
  border: 0;
  border-radius: 999px;
  background: var(--cta);
  color: var(--cta-ink);
  font: 600 clamp(13px, 1.9vh, 15px) / 1 var(--font);
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 32px -10px rgba(255, 106, 43, 0.45);
  -webkit-tap-highlight-color: transparent;
}

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

.cta__label { position: relative; }

.cta__arrow {
  position: relative;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* the warmth that rises inside the button while the pointer rests on it; GSAP fades it */
.cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 140% at 50% 120%, rgba(255, 106, 43, 0.38), rgba(255, 106, 43, 0) 70%);
  opacity: 0;
  pointer-events: none;
}

.note {
  font-size: clamp(12px, 1.7vh, 13px);
  color: var(--ink-soft);
}

/* the pointer drawn for the preview, while nobody moves the real one */
.ghost {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  fill: #ffffff;
  stroke: #0b0a09;
  stroke-width: 1.1;
  stroke-linejoin: round;
  pointer-events: none;
  opacity: 0;
  z-index: 3;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
}

@media (max-width: 420px) {
  .note { width: 100%; }
}
