:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-deep: #020409;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f8ff;
  --muted: rgba(202, 214, 232, 0.72);
  --soft: rgba(177, 192, 213, 0.56);
  --cyan: #8de8ff;
  --lime: #b2ffbe;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(141, 232, 255, 0.12), transparent 24%),
    radial-gradient(circle at 85% 0%, rgba(178, 255, 190, 0.08), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, #09111a 46%, var(--bg-deep) 100%);
  overflow-x: hidden;
}

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

.page-noise,
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-noise {
  opacity: 0.018;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

.page-glow-a {
  background: radial-gradient(circle at 15% 22%, rgba(141, 232, 255, 0.1), transparent 18%);
}

.page-glow-b {
  background: radial-gradient(circle at 78% 12%, rgba(178, 255, 190, 0.08), transparent 16%);
}

.hero,
main {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(141, 232, 255, 0.16), rgba(178, 255, 190, 0.08));
  font-weight: 800;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy small,
.topbar-meta,
.eyebrow,
.index {
  color: var(--soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar-meta {
  display: flex;
  gap: 16px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 430px);
  gap: 22px;
  align-items: center;
  padding: 42px 0 22px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Syne, Inter, sans-serif;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

h1 {
  margin-top: 12px;
  max-width: 9.8ch;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.lead,
.feature-block p,
.pillar-card p,
.section-copy,
.download-card p {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 58ch;
  margin-top: 18px;
}

.hero-actions,
.section-head-inline {
  display: flex;
  gap: 12px;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #061118;
  background: linear-gradient(135deg, var(--cyan), #dffcff);
  box-shadow: 0 12px 24px rgba(141, 232, 255, 0.12);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats,
.pillar-grid,
.split,
.screen-grid {
  display: grid;
  gap: 16px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.hero-stats article,
.hero-panel,
.pillar-card,
.feature-block,
.download-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(10, 14, 23, 0.84), rgba(8, 12, 18, 0.96)),
    linear-gradient(135deg, rgba(141, 232, 255, 0.025), rgba(178, 255, 190, 0.02));
  box-shadow: var(--shadow);
}

.hero-stats article {
  padding: 14px 14px 12px;
}

.hero-stats strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.hero-panel {
  overflow: hidden;
}

.panel-visual {
  aspect-ratio: 1.12 / 1;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.panel-visual img,
.screen-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.panel-copy {
  padding: 16px;
}

.panel-kicker {
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-copy ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.section {
  padding: 34px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.section-head-inline {
  justify-content: space-between;
  align-items: end;
}

.section-head-inline .section-copy {
  max-width: 34ch;
  margin: 0;
}

.pillar-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-card,
.feature-block,
.download-card {
  padding: 18px;
}

.pillar-card h3,
.download-card h3 {
  margin-top: 12px;
  font-size: 1.22rem;
}

.pillar-card p,
.download-card p {
  margin-top: 10px;
}

.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-block h2 {
  margin-top: 10px;
  max-width: 12ch;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.feature-block p,
.download-card .button {
  margin-top: 14px;
}

.feature-block-accent {
  background:
    linear-gradient(180deg, rgba(11, 16, 26, 0.84), rgba(8, 12, 18, 0.96)),
    linear-gradient(135deg, rgba(141, 232, 255, 0.06), rgba(178, 255, 190, 0.04));
}

.screen-grid {
  grid-template-columns: 1.18fr 1fr 1fr;
  align-items: stretch;
}

.screen-card,
.download-card {
  overflow: hidden;
  min-height: 280px;
}

.screen-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
}

.screen-card-large {
  grid-row: span 2;
  min-height: 576px;
}

.download-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .screen-grid,
  .pillar-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section-head-inline {
    flex-direction: column;
    align-items: start;
  }

  .screen-card-large {
    min-height: 360px;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .hero,
  main {
    width: min(100%, calc(100% - 24px));
  }

  .topbar {
    flex-direction: column;
    align-items: start;
  }

  .topbar-meta {
    gap: 10px;
    flex-wrap: wrap;
  }
}
