@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07070a;
  --text: #f4f4f7;
  --muted: rgba(244, 244, 247, 0.62);
  --pink: #ff2d95;
  --blue: #2AABEE;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-hover: rgba(255, 255, 255, 0.10);
  --stroke: rgba(255, 255, 255, 0.13);
  --max: 1080px;
}

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

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

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: color-mix(in srgb, var(--pink) 45%, transparent); color: var(--text); }

img, svg { display: block; }
a { color: inherit; }

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(80% 50% at 8% -10%, rgba(255, 45, 149, 0.28), transparent 58%),
    radial-gradient(70% 45% at 100% 8%, rgba(42, 171, 238, 0.22), transparent 55%),
    radial-gradient(50% 40% at 70% 100%, rgba(255, 45, 149, 0.08), transparent 60%),
    var(--bg);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.brand svg { width: 28px; height: 28px; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow:
    inset 0 0 8px color-mix(in srgb, #fff 12%, transparent),
    0 0 18px color-mix(in srgb, var(--pink) 42%, transparent);
}

.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { transform: scale(0.98); }

.btn-header { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }

/* Hero */
.hero {
  padding: 56px 0 36px;
  text-align: center;
}

.hero-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--pink) 35%, transparent));
}

.eyebrow {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2rem, 8.4vw, 4.15rem);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 14ch;
  margin: 0 auto 18px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #ff7ab8 0%, var(--pink) 42%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  max-width: 32em;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.4vw, 1.18rem);
  line-height: 1.6;
}

/* Features */
.section { padding: 28px 0 12px; }

.section h2, .apply h2, .legal h1 {
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.section-lead {
  color: var(--muted);
  max-width: 36em;
  margin-bottom: 22px;
}

.features {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 22px 20px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.icon svg { width: 22px; height: 22px; }
.icon.pink { background: color-mix(in srgb, var(--pink) 18%, transparent); color: var(--pink); }
.icon.blue { background: color-mix(in srgb, var(--blue) 18%, transparent); color: var(--blue); }

.card h3 {
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.card p, .step p { color: var(--muted); font-size: 0.96rem; }

/* How it works */
.steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.step {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 22px 20px 20px;
  position: relative;
}

.step .num {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 8px;
}

.step:nth-child(2) .num { color: color-mix(in srgb, var(--pink) 50%, var(--blue)); }
.step:nth-child(3) .num { color: var(--blue); }

.step h3 {
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

/* Apply */
.apply {
  padding: 36px 0 48px;
}

.apply-card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 28px 22px;
  text-align: center;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--pink) 8%, transparent),
    0 0 48px color-mix(in srgb, var(--pink) 10%, transparent),
    0 20px 50px rgba(0, 0, 0, 0.28);
}

.apply-card p {
  color: var(--muted);
  max-width: 36em;
  margin: 10px auto 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0 32px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

.foot-links { display: flex; gap: 16px; }
.foot-links a, .legal a { color: var(--muted); text-decoration: none; }
.foot-links a:hover, .legal a:hover, .brand:hover { color: var(--text); }

/* Legal pages */
.legal {
  padding: 40px 0 72px;
  max-width: 42em;
}

.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 28px; }
.legal h2 {
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 28px 0 8px;
}
.legal p { color: var(--muted); margin-bottom: 14px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 720px) {
  .hero { padding: 88px 0 56px; }
  .hero-mark { width: 72px; height: 72px; }
  .features, .steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .card, .step { padding: 26px 24px 24px; }
  .apply-card { padding: 40px 48px; }
  .section { padding: 20px 0 24px; }
}

@media (min-width: 980px) {
  .features { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
