:root {
  color-scheme: dark;
  --bg: #070a12;
  --panel: #101522;
  --panel-light: #151b2a;
  --text: #f7f8fb;
  --muted: #aeb7c8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.brand {
  font-size: 18px;
  font-weight: 750;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
}

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

main {
  margin: 0 auto;
  max-width: 1160px;
  padding: 0 24px 56px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: 640px;
  padding: 64px 0 88px;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.96;
  margin-bottom: 22px;
}

h2 {
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 14px;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.subheadline {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 620px;
}

.cta-button {
  align-items: center;
  background: var(--accent-strong);
  border: 0;
  border-radius: 8px;
  color: #04111d;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  padding: 14px 20px;
  transition: transform 160ms ease, background 160ms ease;
}

.cta-button:hover {
  background: #67e8f9;
  transform: translateY(-1px);
}

.hero-preview,
.card,
.feature,
.beta-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.hero-preview {
  overflow: hidden;
}

.preview-toolbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  padding: 14px 16px;
}

.preview-toolbar span {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

.preview-body {
  padding: 28px;
}

.preview-label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
}

.preview-body h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.preview-body p {
  color: #d7deea;
  line-height: 1.7;
}

.section {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 28px;
  max-width: 640px;
}

.section-heading h2,
.beta-section h2 {
  color: var(--text);
}

.section-heading p,
.card p,
.beta-section p {
  color: var(--muted);
  line-height: 1.7;
}

.steps-grid,
.features-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 24px;
}

.step-number {
  align-items: center;
  background: rgba(125, 211, 252, 0.13);
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 8px;
  color: var(--accent);
  display: inline-flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  margin-bottom: 18px;
  width: 34px;
}

.feature {
  color: #dce5f3;
  font-size: 15px;
  font-weight: 650;
  padding: 18px 20px;
}

.beta-section,
.install-section {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin: 72px 0 24px;
  padding: 32px;
}

.install-section {
  align-items: flex-start;
  display: grid;
  margin-top: 24px;
}

.beta-section p,
.install-section p {
  margin-bottom: 0;
  max-width: 680px;
}

.install-section h2 {
  margin-bottom: 10px;
}

.secondary-button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: inline-flex;
  font-size: 15px;
  font-weight: 750;
  justify-content: center;
  padding: 13px 18px;
  width: fit-content;
}

.secondary-button:hover {
  border-color: rgba(125, 211, 252, 0.5);
  color: var(--accent);
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
  padding: 28px 24px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--text);
}

.legal-page {
  max-width: 920px;
  padding-top: 48px;
}

.legal-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  padding: 40px;
}

.legal-card h1 {
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1;
  margin-bottom: 12px;
}

.legal-card h2 {
  font-size: 22px;
  margin: 34px 0 10px;
}

.legal-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.legal-card a {
  color: var(--accent);
  font-weight: 700;
}

.legal-updated {
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  padding-bottom: 24px;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .beta-section,
  .install-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .steps-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }
}

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

  .hero-preview {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .legal-card {
    padding: 28px;
  }
}
