:root {
  color-scheme: dark;
  --bg: #101516;
  --bg-elevated: #151d1f;
  --panel: #182426;
  --panel-strong: #1d2c2f;
  --text: #f4f8f8;
  --muted: #aab8b9;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #19c5e8;
  --green: #31c77b;
  --gold: #c7a66b;
  --shadow: rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

body.preview-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(140deg, rgba(199, 166, 107, 0.16), transparent 28%),
    linear-gradient(72deg, transparent 46%, rgba(49, 199, 123, 0.13), transparent 76%),
    linear-gradient(180deg, rgba(25, 197, 232, 0.08), transparent 42%);
  z-index: -1;
}

a {
  color: inherit;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
}

.brand img {
  border-radius: 9px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 28px 84px;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 44px 28px 36px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(199, 166, 107, 0.32), rgba(25, 197, 232, 0.16) 42%, rgba(49, 199, 123, 0.32)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 36px 80px var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(16, 21, 22, 0.92), rgba(16, 21, 22, 0.54)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 58px);
}

.hero-visual img {
  position: absolute;
  right: 10%;
  top: 50%;
  width: min(32vw, 190px);
  transform: translateY(-50%);
  border-radius: 22%;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.35);
}

.hero-copy {
  position: relative;
  max-width: 680px;
  min-width: 0;
  width: min(680px, 100%);
  z-index: 1;
  padding: 24px 0 24px 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: 0.95;
}

.hero h1 {
  color: var(--text);
  background: linear-gradient(102deg, #f5fbff 0%, #45d7f2 30%, #19c5e8 50%, #31c77b 75%, #b6f35d 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 18px 42px rgba(25, 197, 232, 0.18);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  margin-bottom: 0;
}

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

.lede {
  max-width: 630px;
  color: #d6e2e3;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  background: var(--cyan);
  color: #061114;
  border-color: transparent;
}

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

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

.beta-note,
.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.status-band {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1068px;
  margin: 24px auto 0;
  overflow: hidden;
  width: calc(100% - 56px);
}

.status-band > div {
  padding: 18px;
}

.status-label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.section,
.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 28px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-summary {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  max-width: 430px;
}

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

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

.feature-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.requirements-section {
  padding-top: 84px;
}

.product-preview-section {
  padding-top: 84px;
}

.preview-heading {
  align-items: flex-end;
}

.screenshot-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.screenshot-frame {
  margin: 0;
}

.screenshot-zoom-trigger {
  background: transparent;
  border: 0;
  border-radius: 18px;
  cursor: zoom-in;
  display: block;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: inherit;
  width: 100%;
}

.screenshot-zoom-trigger:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 6px;
}

.screenshot-zoom-trigger img {
  background: #0d1112;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  display: block;
  height: auto;
  transition: filter 180ms ease, transform 220ms ease;
  width: 100%;
}

.screenshot-zoom-badge {
  align-items: center;
  background: rgba(10, 20, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 760;
  min-height: 34px;
  padding: 0 12px;
  position: absolute;
  right: 16px;
  top: 16px;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.screenshot-zoom-trigger:hover img,
.screenshot-zoom-trigger:focus-visible img {
  filter: brightness(1.06);
  transform: scale(1.045);
}

.screenshot-zoom-trigger:hover .screenshot-zoom-badge,
.screenshot-zoom-trigger:focus-visible .screenshot-zoom-badge {
  opacity: 1;
  transform: translateY(0);
}

.screenshot-frame figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 12px;
}

.image-preview-modal[hidden] {
  display: none;
}

.image-preview-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(16px, 4vw, 42px);
  position: fixed;
  z-index: 100;
}

.image-preview-backdrop {
  background: rgba(5, 10, 11, 0.82);
  border: 0;
  cursor: zoom-out;
  inset: 0;
  position: absolute;
}

.image-preview-dialog {
  background:
    linear-gradient(145deg, rgba(24, 36, 38, 0.98), rgba(12, 23, 25, 0.98)),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.52);
  max-height: calc(100vh - clamp(32px, 8vw, 84px));
  max-width: min(1642px, calc(100vw - clamp(32px, 8vw, 84px)));
  overflow: hidden;
  position: relative;
  width: 100%;
}

.image-preview-dialog:focus {
  outline: none;
}

.image-preview-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 16px;
}

.image-preview-header h2 {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0;
}

.image-preview-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  min-height: 34px;
  padding: 0 12px;
}

.image-preview-close:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.image-preview-scroll {
  max-height: calc(100vh - clamp(108px, 12vw, 156px));
  overflow: auto;
}

.image-preview-scroll img {
  display: block;
  height: auto;
  width: 100%;
}

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

.requirements-note {
  color: var(--muted);
  line-height: 1.65;
  margin: 18px 0 0;
  max-width: 760px;
}

.download-panel,
.feature-grid article,
.timeline-list article,
.beta-points > div,
.text-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.download-panel.subdued {
  background: rgba(255, 255, 255, 0.045);
}

.download-panel p,
.feature-grid p,
.timeline-list p,
.beta-copy p,
.text-panel p,
.text-panel li,
.download-panel li {
  color: var(--muted);
  line-height: 1.65;
}

ul {
  padding-left: 20px;
  margin: 0;
}

.timeline-list {
  display: grid;
  gap: 14px;
}

.timeline-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}

.timeline-list span {
  align-items: center;
  background: rgba(25, 197, 232, 0.14);
  border: 1px solid rgba(25, 197, 232, 0.4);
  border-radius: 999px;
  color: var(--cyan);
  display: inline-flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.beta-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.beta-copy {
  padding: 8px 0;
}

.beta-copy h2 {
  margin-bottom: 16px;
}

.beta-points {
  display: grid;
  gap: 12px;
}

.beta-points > div {
  box-shadow: none;
  padding: 18px;
}

.page {
  max-width: 860px;
  padding-top: 76px;
  min-height: 62vh;
}

.page h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.text-panel h2 {
  font-size: 1.2rem;
  margin-top: 26px;
}

.text-panel h2:first-child {
  margin-top: 0;
}

.site-footer {
  max-width: 1180px;
  margin: 96px auto 0;
  padding: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

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

  nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 620px;
    padding-top: 36px;
  }

  .hero-visual {
    inset: 18px 16px 18px;
  }

  .hero-visual img {
    right: -28px;
    top: 72px;
    width: 170px;
    opacity: 0.58;
  }

  .hero-copy {
    width: 100%;
    padding: 88px 28px 0;
  }

  .hero h1 {
    font-size: 2.95rem;
    line-height: 0.98;
  }

  .status-band,
  .download-grid,
  .feature-grid,
  .feature-grid-four,
  .requirements-grid,
  .screenshot-grid,
  .beta-section {
    grid-template-columns: 1fr;
  }

  .status-band > div,
  .status-band > div:first-child,
  .status-band > div:last-child {
    border-radius: 0;
  }
}
