@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05070a;
  --surface: #10161c;
  --surface2: #161e26;
  --accent: #4fc8f8;
  --accent-deep: #1a7fc4;
  --accent-glow: rgba(79, 200, 248, 0.28);
  --accent-soft: rgba(79, 200, 248, 0.12);
  --text: #f5f5f7;
  --muted: #86868b;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --radius: 18px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 'Space Grotesk', -apple-system, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.glow {
  position: fixed;
  z-index: 0;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.glow-a {
  top: -380px;
  left: 50%;
  margin-left: -360px;
  background: radial-gradient(circle, rgba(79, 200, 248, 0.22), transparent 65%);
}

.glow-b {
  bottom: -520px;
  right: -220px;
  background: radial-gradient(circle, rgba(26, 127, 196, 0.18), transparent 65%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav .nav-download {
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
}

.site-nav .nav-download:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  text-align: center;
}

.hero-logo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(79, 200, 248, 0.25));
}

.eyebrow {
  margin: 18px 0 8px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px auto 0;
  padding: 20px 22px;
  max-width: 660px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  box-shadow: var(--shadow);
  text-align: left;
}

.download-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.download-text strong {
  font-size: 17px;
}

.download-text span {
  color: var(--muted);
  font-size: 13.5px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, #63d2ff, var(--accent-deep));
  color: #041018;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 12px 30px -12px var(--accent-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px -14px var(--accent-glow);
}

.button-quiet {
  margin-top: 34px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: none;
}

.button-quiet:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.fine-print {
  margin: 18px auto 0;
  max-width: 520px;
  font-size: 13px;
  color: #6f7278;
}

.fine-print em {
  color: var(--muted);
  font-style: normal;
}

.features,
.install {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 24px 0;
}

h2 {
  margin: 0 0 28px;
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: -0.02em;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

code {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13.5px;
}

.install {
  padding-bottom: 80px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--border);
  color: #6f7278;
  font-size: 13px;
}

@media (max-width: 640px) {
  .site-nav {
    gap: 14px;
  }

  .site-nav a:not(.nav-download) {
    display: none;
  }

  .download-card {
    justify-content: center;
    text-align: center;
  }

  .button {
    width: 100%;
    justify-content: center;
  }
}
