:root {
  color-scheme: dark;
  --bg: #0a0e1a;
  --surface: #0f172a;
  --surface-strong: #111827;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --dim: #64748b;
  --line: #1e293b;
  --line-strong: #334155;
  --accent: #06b6d4;
  --accent-violet: #8b5cf6;
  --accent-green: #22c55e;
  --accent-amber: #fbbf24;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --content: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #080c16 0%, var(--bg) 42%, #080c16 100%);
  background-size:
    72px 72px,
    72px 72px,
    auto;
  color: var(--text);
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent-green), var(--accent-violet));
}

.release-banner {
  position: relative;
  z-index: 11;
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
  background:
    linear-gradient(90deg, rgba(6, 182, 212, 0.16), transparent 38%),
    rgba(8, 12, 22, 0.96);
}

.release-banner__inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 44px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.release-banner__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 9px;
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-sm);
  color: #a5f3fc;
  background: rgba(6, 182, 212, 0.1);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.release-banner__text {
  min-width: 0;
  margin: 0;
  flex: 1 1 auto;
}

.release-banner__text strong {
  color: var(--text);
}

.release-banner__link {
  flex: 0 0 auto;
  color: var(--accent-green);
  font-weight: 800;
  text-decoration: none;
}

.release-banner__link:hover,
.release-banner__link:focus-visible {
  color: var(--accent);
}

.release-banner__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - var(--content)) / 2));
  background: rgba(10, 14, 26, 0.86);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: Bahnschrift, Aptos, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a,
.footer a,
.text-link {
  text-decoration: none;
}

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

.section,
.footer {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100svh - 118px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(380px, 0.86fr) minmax(460px, 1fr);
  align-items: center;
  gap: 46px;
  padding: 58px max(20px, calc((100vw - var(--content)) / 2)) 26px;
  isolation: isolate;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
}

.hero::before {
  background:
    radial-gradient(circle at 82% 72%, rgba(6, 182, 212, 0.2), transparent 30rem),
    radial-gradient(circle at 16% 24%, rgba(139, 92, 246, 0.16), transparent 26rem),
    linear-gradient(115deg, rgba(8, 12, 22, 0.98) 0%, rgba(8, 12, 22, 0.9) 56%, rgba(6, 182, 212, 0.12) 100%),
    repeating-linear-gradient(100deg, transparent 0 42px, rgba(148, 163, 184, 0.07) 43px 44px);
}

.hero::after {
  inset: auto max(20px, calc((100vw - var(--content)) / 2)) -170px auto;
  width: min(760px, 62vw);
  height: min(760px, 62vw);
  border: 1px solid rgba(148, 163, 184, 0.16);
  transform: rotate(18deg) translateY(calc(var(--scroll-ratio, 0) * -90px));
  background:
    linear-gradient(90deg, transparent 49%, rgba(6, 182, 212, 0.24) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(139, 92, 246, 0.2) 50%, transparent 51%);
  opacity: 0.72;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding-bottom: 0;
}

.hero-product {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  transform:
    perspective(1200px)
    rotateX(5deg)
    rotateY(-6deg)
    translateY(calc(var(--scroll-ratio, 0) * -70px));
  transform-origin: center bottom;
}

.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(8, 12, 22, 0.92);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.48),
    0 0 70px rgba(6, 182, 212, 0.16);
}

.product-window::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.1), transparent 24%, transparent 64%, rgba(6, 182, 212, 0.1)),
    linear-gradient(180deg, transparent 68%, rgba(8, 12, 22, 0.48));
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.86);
  color: var(--muted);
  font-family: Bahnschrift, Aptos, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.52);
}

.window-bar span:nth-child(2) {
  background: rgba(6, 182, 212, 0.72);
}

.window-bar span:nth-child(3) {
  background: rgba(34, 197, 94, 0.72);
}

.window-bar strong {
  margin-left: auto;
}

.product-window img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-family: Bahnschrift, Aptos, "Segoe UI", sans-serif;
  font-size: clamp(76px, 8vw, 118px);
  line-height: 0.9;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.25;
}

.lead {
  margin: 18px 0 0;
  color: #f8fafc;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 780;
  line-height: 1.08;
}

.support,
.section-heading p,
.copy-block p,
.download-copy p,
.download-note p,
.feature p,
.roadmap-grid p,
.legal p,
.faq-list p {
  color: var(--muted);
}

.support {
  margin: 22px 0 0;
  max-width: 580px;
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.2);
}

.button-secondary {
  background: rgba(15, 23, 42, 0.82);
  border-color: var(--line-strong);
  color: var(--text);
}

.technical-note {
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 14px;
  font-weight: 650;
}

.showcase-panel img {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform 400ms ease,
    border-color 400ms ease,
    filter 400ms ease;
}

.showcase-panel:hover img {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(6, 182, 212, 0.5);
  filter: saturate(1.08);
}

.hero-facts {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 8px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts span {
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(8, 12, 22, 0.68);
}

.section {
  padding: 86px 0;
}

.section-muted {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--content)) / 2));
  padding-left: max(20px, calc((100vw - var(--content)) / 2));
  background: rgba(15, 23, 42, 0.5);
  border-block: 1px solid rgba(148, 163, 184, 0.12);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 16px 0 0;
  font-size: 18px;
}

.product-tour {
  width: min(1280px, calc(100% - 40px));
}

.product-showcase {
  display: grid;
  gap: 22px;
}

.showcase-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 360px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(8, 12, 22, 0.68)),
    linear-gradient(90deg, rgba(6, 182, 212, 0.06), transparent);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.showcase-panel:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
}

.showcase-panel:nth-child(even) .showcase-copy {
  order: 2;
}

.showcase-primary {
  min-height: 460px;
}

.showcase-copy {
  position: relative;
  z-index: 1;
}

.showcase-copy span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: Bahnschrift, Aptos, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.showcase-copy h3 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.showcase-copy p {
  margin: 0;
  color: var(--muted);
}

.showcase-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}

.onboarding-section {
  width: min(1280px, calc(100% - 40px));
}

.onboarding-panel {
  display: grid;
  gap: 18px;
}

.onboarding-start,
.onboarding-path {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(8, 12, 22, 0.68)),
    linear-gradient(90deg, rgba(34, 197, 94, 0.06), transparent);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.onboarding-start {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(8, 12, 22, 0.72)),
    linear-gradient(90deg, rgba(34, 197, 94, 0.07), rgba(6, 182, 212, 0.05));
}

.onboarding-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 18px;
  align-items: stretch;
}

.onboarding-path-import {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.84), rgba(8, 12, 22, 0.7)),
    linear-gradient(90deg, rgba(6, 182, 212, 0.08), transparent);
}

.onboarding-start img,
.onboarding-path img {
  width: 100%;
  display: block;
  object-fit: contain;
  object-position: top;
  background: rgba(2, 6, 23, 0.72);
}

.onboarding-start img {
  aspect-ratio: 16 / 8.5;
  border-left: 1px solid rgba(148, 163, 184, 0.14);
}

.onboarding-path-manual > img {
  aspect-ratio: 1.08;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.onboarding-import-entry {
  aspect-ratio: 2.35;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.onboarding-path-copy {
  padding: 20px;
}

.onboarding-import-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.onboarding-import-strip img {
  aspect-ratio: 1.15;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
}

.onboarding-flow span,
.roadmap-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: Bahnschrift, Aptos, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.onboarding-flow p {
  margin: 0;
  color: var(--muted);
}

.feature-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature,
.roadmap-grid article,
.download-note,
.faq-list details {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.72);
}

.feature,
.roadmap-grid article,
.download-note {
  padding: 22px;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease;
}

.feature:hover,
.roadmap-grid article:hover,
.download-note:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.34);
  background: rgba(15, 23, 42, 0.9);
}

.feature:nth-child(1) {
  border-top-color: var(--accent);
}

.feature:nth-child(2) {
  border-top-color: var(--accent-green);
}

.feature:nth-child(3) {
  border-top-color: var(--accent-violet);
}

.feature:nth-child(4) {
  border-top-color: var(--accent-amber);
}

.audience-section {
  width: min(1180px, calc(100% - 40px));
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.audience-grid article {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(8, 12, 22, 0.68)),
    linear-gradient(90deg, rgba(6, 182, 212, 0.06), transparent);
  padding: 24px;
}

.audience-grid article:nth-child(2) {
  border-color: rgba(248, 113, 113, 0.22);
}

.audience-grid p {
  margin: 0;
  color: var(--muted);
}

.split,
.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.copy-block p:first-child,
.download-copy p:first-of-type,
.legal p:first-of-type {
  margin-top: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 800;
}

.inline-link {
  display: inline;
  margin-top: 0;
}

.download-section {
  align-items: center;
}

.download-copy .button {
  margin-top: 14px;
}

.early-warning {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(248, 113, 113, 0.24);
  color: #fecaca !important;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

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

.roadmap-done {
  border-top: 2px solid var(--accent-green);
}

.roadmap-done > span {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(34, 197, 94, 0.42);
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent-green);
}

.roadmap-next {
  border-top: 2px solid var(--accent);
}

.roadmap-next > span {
  color: var(--accent);
}

.legal {
  max-width: 900px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.footer span {
  color: var(--text);
  font-weight: 800;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .site-header {
    position: static;
  }

  .release-banner__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    padding: 10px 0 12px;
  }

  .release-banner__label {
    grid-column: 1;
    grid-row: 1;
  }

  .release-banner__text {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .release-banner__link {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .nav {
    display: none;
  }

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

  .hero {
    min-height: calc(100svh - 118px);
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 44px;
    padding-bottom: 24px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-product {
    width: 100%;
    margin: 0;
    transform: none;
  }

  .feature-grid,
  .audience-grid,
  .onboarding-start,
  .onboarding-flow,
  .roadmap-grid,
  .showcase-panel,
  .showcase-panel:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .showcase-panel:nth-child(even) .showcase-copy {
    order: 0;
  }

  .onboarding-start img {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .section,
  .footer,
  .release-banner__inner {
    width: min(100% - 28px, var(--content));
  }

  .section {
    padding: 62px 0;
  }

  h1 {
    font-size: clamp(48px, 14vw, 70px);
  }

  .lead {
    font-size: clamp(24px, 7vw, 34px);
  }

  .hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .product-tour {
    width: min(100% - 28px, var(--content));
  }

  .onboarding-section {
    width: min(100% - 28px, var(--content));
  }

  .audience-section {
    width: min(100% - 28px, var(--content));
  }

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

  .onboarding-import-strip img {
    aspect-ratio: 16 / 10;
  }

  .showcase-panel {
    min-height: auto;
    padding: 16px;
  }

  .section-muted {
    padding-right: 14px;
    padding-left: 14px;
  }

  .actions,
  .button {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
