:root {
  color-scheme: dark;
  --bg: #090b10;
  --panel: #11151f;
  --panel-2: #171d29;
  --text: #edf2ff;
  --muted: #a9b4c7;
  --line: #263145;
  --accent: #84ccff;
  --accent-2: #b69cff;
  --shadow: rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(132, 204, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 90% 10%, rgba(182, 156, 255, 0.14), transparent 28rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

pre {
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #07090d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero {
  min-height: 78vh;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.nav {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(17, 21, 31, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px var(--shadow);
}

.brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.95rem;
}

.links a { color: var(--muted); }

.hero-content {
  width: min(980px, 100%);
  margin: auto;
  padding: 5rem 0 4rem;
  text-align: center;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.lede {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--line);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061018;
  border: none;
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -3rem;
}

.cards article, .section {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(23, 29, 41, 0.92), rgba(17, 21, 31, 0.92));
  border-radius: 24px;
  box-shadow: 0 18px 50px var(--shadow);
}

.cards article { padding: 1.35rem; }

.cards h2, .section h2, .section h3 { line-height: 1.15; }
.cards h2 { margin: 0 0 0.45rem; font-size: 1.15rem; }
.cards p { margin: 0; color: var(--muted); }

.section {
  margin: 1rem 0;
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.section h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.045em;
}

.section h3 { margin-top: 1.4rem; }
.section p, .section li { color: var(--muted); }
.section strong { color: var(--text); }

footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 2rem auto 3rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 760px) {
  .nav { align-items: flex-start; border-radius: 24px; flex-direction: column; }
  .links { justify-content: flex-start; }
  .hero-content { text-align: left; }
  .actions { justify-content: flex-start; }
  .cards { grid-template-columns: 1fr; margin-top: 0; }
}

.small-hero { min-height: 46vh; }
.small-hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }

.app-icon-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.app-icon {
  width: clamp(96px, 16vw, 150px);
  height: clamp(96px, 16vw, 150px);
  border-radius: 28%;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

@media (max-width: 760px) {
  .app-icon-wrap { justify-content: flex-start; }
}
