@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-000: #0c0e11;
  --bg-100: #15181c;
  --bg-200: #1e2227;
  --bg-300: #2a2f36;
  --line: #3a4048;
  --ink: #f3f4f6;
  --ink-muted: #b3bac2;
  --ink-faint: #8c949d;
  --focus: #ffcd2d;
  --on-focus: #111111;
  --warn: #ff9f43;
  --brand-red: #e8262e;
  --brand-green: #1fa855;
  --brand-yellow: #ffcc00;
  --brand-blue: #2f6fed;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg-000);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.glow {
  position: fixed;
  inset: -20vh -20vw auto;
  height: 90vh;
  pointer-events: none;
  background:
    radial-gradient(40% 50% at 22% 40%, rgba(232, 38, 46, .13), transparent 70%),
    radial-gradient(40% 50% at 42% 30%, rgba(31, 168, 85, .11), transparent 70%),
    radial-gradient(40% 50% at 60% 34%, rgba(255, 204, 0, .09), transparent 70%),
    radial-gradient(40% 50% at 80% 42%, rgba(47, 111, 237, .15), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

.wrap, .foot { position: relative; z-index: 1; }

.wrap {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(56px, 12vh, 128px) clamp(16px, 5vw, 64px) 64px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: rise .5s ease-out both;
}

.logo { margin: 0 0 28px; line-height: 0; }
.logo img { width: clamp(200px, 34vw, 340px); height: auto; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-100);
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.claim {
  margin: 20px 0 0;
  max-width: 18ch;
  font-size: clamp(32px, 5.4vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.lead {
  margin: 20px 0 0;
  max-width: 38em;
  color: var(--ink-muted);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.5;
  text-wrap: pretty;
}

.cta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-md);
  background: var(--focus);
  color: var(--on-focus);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: transform .12s ease-out;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.note {
  margin: 0;
  color: var(--ink-faint);
  font-size: 16px;
}
.note a { color: var(--ink); }

a:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.btn:focus-visible { outline-color: var(--ink); }

.features {
  margin-top: clamp(64px, 12vh, 112px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tile {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--bg-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  width: 48px;
  height: 6px;
  border-radius: 0 0 var(--radius-pill) var(--radius-pill);
  background: var(--key);
}
.tile h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
}
.tile p {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.5;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px clamp(16px, 5vw, 64px) 32px;
  border-top: 1px solid var(--bg-300);
  color: var(--ink-faint);
  font-size: 15px;
}

.keys { display: inline-flex; gap: 6px; }
.keys i {
  width: 22px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--key);
}

.ph {
  outline: 1px dashed var(--warn);
  outline-offset: 2px;
  color: var(--warn);
}
.note a.ph { color: var(--warn); }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .tile { padding: 24px 20px 20px; }
  .tile::before { left: 20px; }
  .foot { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; }
  .btn { transition: none; }
}
