:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07111f;
  color: #f7fbff;
  font-synthesis: none;
  --surface: rgba(13, 27, 45, 0.84);
  --surface-strong: #10243d;
  --line: rgba(154, 194, 230, 0.18);
  --muted: #9fb4c8;
  --accent: #63d6ff;
  --accent-strong: #1aa9df;
  --success: #5fe0ad;
  --warning: #ffbd67;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(40, 143, 190, 0.23), transparent 31rem),
    radial-gradient(circle at 88% 38%, rgba(47, 74, 177, 0.2), transparent 34rem),
    linear-gradient(180deg, #07111f 0%, #081321 52%, #06101c 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.page-watermark {
  position: absolute;
  top: 7rem;
  right: -8rem;
  z-index: -1;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.055;
  filter: grayscale(1) contrast(1.12);
  background: center / cover no-repeat url("https://avatars.githubusercontent.com/u/309944560?v=4");
  mask-image: radial-gradient(circle, black 30%, transparent 72%);
}

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

.site-header,
.hero,
.section,
footer {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.brand-mark {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid rgba(99, 214, 255, 0.5);
  border-radius: 0.72rem;
  color: var(--accent);
  background: rgba(99, 214, 255, 0.08);
  box-shadow: inset 0 0 24px rgba(99, 214, 255, 0.1);
}

nav {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

nav a:hover,
footer a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: 4.5rem;
  align-items: center;
  min-height: 720px;
  padding-block: 6rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 6.6vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 {
  max-width: 760px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

h3 {
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.hero-text,
.download > div > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.76rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-weight: 760;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

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

.button.primary {
  color: #04111b;
  background: linear-gradient(135deg, #7ce1ff, #43bdea);
  box-shadow: 0 16px 38px rgba(39, 174, 224, 0.22);
}

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

.release-status {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.status-dot {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 16px rgba(95, 224, 173, 0.7);
}

.product-preview {
  overflow: hidden;
  border: 1px solid rgba(131, 184, 226, 0.2);
  border-radius: 1.25rem;
  background: rgba(7, 17, 31, 0.86);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}

.preview-toolbar {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  height: 3rem;
  padding-inline: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.preview-toolbar span {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: #37516a;
}

.preview-toolbar p {
  margin: 0 0 0 0.65rem;
  color: #7f98ad;
  font-size: 0.72rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 1rem;
}

.metric-card,
.chart-card,
.feature-grid article,
.download-card {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: linear-gradient(155deg, rgba(20, 42, 68, 0.82), rgba(8, 20, 35, 0.82));
}

.metric-card {
  min-height: 125px;
  padding: 1rem;
}

.metric-card p,
.chart-heading p {
  margin-bottom: 0.8rem;
  color: #8da4ba;
  font-size: 0.72rem;
}

.metric-card strong {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 1.8rem;
}

.metric-card span {
  color: var(--success);
  font-size: 0.68rem;
}

.metric-card.warning span {
  color: var(--warning);
}

.chart-card {
  grid-column: 1 / -1;
  min-height: 300px;
  padding: 1rem 1.2rem;
}

.chart-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.chart-heading strong {
  font-size: 0.9rem;
}

.chart-heading > span {
  color: #7891a7;
  font-size: 0.67rem;
}

.chart-card svg {
  width: 100%;
  margin-top: 1rem;
  color: var(--accent);
}

.grid-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
}

.chart-area {
  fill: url("#area");
}

.chart-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
}

.section {
  padding-block: 7rem;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-grid article {
  min-height: 260px;
  padding: 1.5rem;
}

.feature-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-number {
  display: block;
  margin-bottom: 3.7rem;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
}

.architecture-flow {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}

.architecture-flow div {
  min-width: max-content;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(99, 214, 255, 0.24);
  border-radius: 0.72rem;
  background: rgba(99, 214, 255, 0.055);
  font-weight: 700;
}

.architecture-flow span {
  color: var(--accent);
}

.download {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 0.58fr);
  gap: 4rem;
  align-items: center;
}

.download-card {
  padding: 2rem;
}

.download-card .platform {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-card h3 {
  margin-bottom: 0.7rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.download-card p,
.download-card small {
  color: var(--muted);
}

.download-card .button {
  width: 100%;
  margin-block: 1.4rem 1rem;
}

.download-card small {
  display: block;
  line-height: 1.5;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 130px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

footer p {
  margin: 0;
}

footer div {
  display: flex;
  gap: 1.2rem;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 3rem;
  }

  .product-preview {
    transform: none;
  }

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

  .download {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section,
  footer {
    width: min(100% - 1.25rem, 1180px);
  }

  .brand {
    font-size: 0.88rem;
  }

  .hero {
    padding-block: 4rem;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .preview-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .chart-card {
    grid-column: auto;
    min-height: 220px;
  }

  .section {
    padding-block: 5rem;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
  }
}
