/* gloof alpha landing. Tokens from docs/design-system.md (dark palette, primary scale). */
@font-face {
  font-family: Hanken;
  src: url('assets/hanken.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #08090a;
  --surface: #0e0f13;
  --raised: #14161c;
  --border-subtle: #23252e;
  --border: #2e313c;
  --text-muted: #8a8f9e;
  --text: #c9cdd8;
  --text-strong: #eceef2;
  --primary-200: #dab9df;
  --primary-300: #c887d3;
  --primary-400: #be61ce;
  --primary-500: #b853ca;
  --primary-600: #9934aa;
  --primary-700: #752883;
  --font: Hanken, 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 50% at 85% -10%, #b853ca2e, transparent 70%),
    radial-gradient(ellipse 60% 40% at -10% 30%, #45395a40, transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}

h1, h2, h3, p { margin-top: 0; }
a { color: inherit; }
img, svg { display: block; }

a:focus-visible {
  outline: 2px solid var(--primary-300);
  outline-offset: 4px;
  border-radius: 4px;
}

.wrap {
  width: min(1120px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--text-strong);
  color: var(--bg);
  border-radius: 6px;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 24px;
}
.brand img { width: 98px; height: auto; }
.badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-200);
  border: 1px solid #b853ca80;
  background: #b853ca1a;
  border-radius: 5px;
  padding: 3px 8px;
}

/* Hero */
.hero { padding-block: clamp(28px, 7vw, 76px) clamp(32px, 5vw, 56px); }
.eyebrow {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.045em;
  color: var(--text-strong);
  margin-bottom: 24px;
  text-wrap: balance;
}
h1 span { color: var(--primary-300); }
.lede {
  font-size: clamp(18px, 2vw, 21px);
  max-width: 34em;
  margin-bottom: 34px;
}

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  background: var(--primary-600);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px #9934aa40, inset 0 1px #ffffff2e;
  transition: background-color .15s, transform .15s;
}
.button:hover { background: var(--primary-700); }
.button:active { transform: translateY(1px); }
.button svg { transition: transform .15s; }
.button:hover svg { transform: translateX(3px); }
.button:focus-visible { outline-offset: 4px; border-radius: 12px; }
.cta-note { margin: 0; font-size: 15px; color: var(--text-muted); max-width: 26em; }

/* Screenshot */
.shot {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 70% 120%, #85459299, transparent 62%),
    radial-gradient(ellipse at 0 0, #453a57, transparent 65%),
    var(--surface);
  box-shadow: 0 30px 80px #000000a0;
}
.shot-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  color: var(--text);
  font-size: 15px;
  letter-spacing: .04em;
}
.shot-fallback img { width: clamp(72px, 12vw, 124px); height: auto; }
.shot-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent; /* hides the broken-image alt text until main.js removes it */
}

/* Alpha steps */
.alpha { padding-block: clamp(56px, 9vw, 104px); }
h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--text-strong);
  margin-bottom: 32px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: #14161ccc;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--primary-300);
  margin-bottom: 14px;
}
.steps h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--text-strong);
  margin-bottom: 8px;
}
.steps p { margin: 0; font-size: 16px; }

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding-block: 26px 36px;
  border-top: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--text-muted);
}
.site-footer a { color: var(--text); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--text-strong); }
.footer-legal { flex-basis: 100%; font-size: 13px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 br { display: none; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { padding: 20px; }
  .shot { border-radius: 12px; }
  .button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
