:root {
  --blue: #3b82ff;
  --blue-deep: #2563eb;
  --lime: #c6ff4e;
  --green: #22c55e;
  --bg: #07090f;
  --bg-elevated: #0e121b;
  --surface: #141925;
  --surface-2: #1a2130;
  --text: #f4f7fb;
  --muted: #8b95a8;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 76px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 15% -10%, rgba(59, 130, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 35% at 90% 5%, rgba(198, 255, 78, 0.1), transparent 55%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ——— Header / Menu ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 0.85rem clamp(1rem, 3vw, 1.5rem) 0;
}

.header-shell {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.65rem 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(14, 18, 27, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled .header-shell {
  background: rgba(10, 13, 20, 0.9);
  border-color: var(--line-strong);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-text small {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-nav {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: var(--lime);
  color: #0a0f08;
  font-size: 0.88rem;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-nav:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 8px 24px rgba(198, 255, 78, 0.25);
}

.menu-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  transition: background 0.2s ease;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.09);
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  max-width: var(--max);
  margin: 0.65rem auto 0;
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  border-radius: 22px;
  background: rgba(14, 18, 27, 0.95);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav a {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s ease;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-cta {
  margin-top: 0.35rem;
  text-align: center;
  background: var(--lime) !important;
  color: #0a0f08 !important;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100svh - 100px);
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) 4rem;
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  overflow: hidden;
}

.hero-glow,
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  background:
    radial-gradient(circle at 30% 20%, rgba(59, 130, 255, 0.18), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(198, 255, 78, 0.1), transparent 35%);
}

.hero-grid {
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 40% 30%, black 10%, transparent 70%);
}

.hero-inner {
  position: relative;
  max-width: 640px;
}

.hero-logo-wrap {
  width: clamp(110px, 20vw, 168px);
  aspect-ratio: 1;
  margin-bottom: 1.35rem;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px rgba(59, 130, 255, 0.25);
  animation: float-logo 6s ease-in-out infinite;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes float-logo {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.72));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  max-width: 20ch;
  margin-bottom: 1rem;
  color: #dce4f2;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn:focus-visible,
.nav a:focus-visible,
.contact-link:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-visual {
  position: relative;
}

.device-shell {
  background: linear-gradient(180deg, rgba(26, 33, 48, 0.95), rgba(14, 18, 27, 0.98));
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
  max-width: 420px;
  margin-inline: auto;
}

.device-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.15rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(198, 255, 78, 0.5);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 255, 78, 0.45);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(198, 255, 78, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198, 255, 78, 0);
  }
}

.meter {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 1rem;
  align-items: center;
}

.meter-ring {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle at center, #101522 58%, transparent 59%),
    conic-gradient(from 210deg, var(--blue), var(--lime), var(--green), var(--blue));
}

.meter-ring strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.meter-ring span {
  font-size: 0.72rem;
  color: var(--muted);
}

.meter ul {
  display: grid;
  gap: 0.5rem;
}

.meter li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.meter li span {
  color: var(--muted);
}

/* ——— Sections ——— */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 2rem);
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
}

.section-head {
  max-width: 620px;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 0.85rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.bento {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

.bento-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.bento-item:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 255, 0.35);
  background: var(--surface-2);
}

.bento-lg {
  background:
    linear-gradient(145deg, rgba(59, 130, 255, 0.14), transparent 55%),
    var(--surface);
}

.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--lime);
  background: rgba(198, 255, 78, 0.1);
  border: 1px solid rgba(198, 255, 78, 0.15);
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
}

.bento-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.bento-item p {
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 0.9rem;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.step-num {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.03em;
}

.steps h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.steps p {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(59, 130, 255, 0.14), transparent 42%),
    linear-gradient(320deg, rgba(198, 255, 78, 0.08), transparent 40%),
    var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}


.plan-grid {
  display: grid;
  gap: 0.9rem;
}

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}

.plan-featured {
  background: linear-gradient(165deg, #10182a, #172444);
  border-color: rgba(198, 255, 78, 0.28);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.plan-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--lime);
  color: #0a0f08;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.price {
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.price span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.plan > p {
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.plan ul {
  display: grid;
  gap: 0.5rem;
}

.plan li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 255, 78, 0.18);
}

.contact-actions {
  display: grid;
  gap: 0.7rem;
}

.contact-link {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.contact-link:hover {
  border-color: rgba(198, 255, 78, 0.35);
  background: rgba(198, 255, 78, 0.05);
  transform: translateY(-2px);
}

.contact-link span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}

.contact-link strong {
  font-size: 1.05rem;
}

.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 2rem) 2.75rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.fine {
  font-size: 0.85rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.07s;
}
.delay-2 {
  transition-delay: 0.14s;
}
.delay-3 {
  transition-delay: 0.21s;
}
.delay-4 {
  transition-delay: 0.28s;
}

@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }

  .nav,
  .btn-nav {
    display: flex;
  }

  .mobile-nav,
  .mobile-nav:not([hidden]) {
    display: none !important;
  }

  .brand-text small {
    display: block;
  }

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

  .bento-lg {
    grid-column: 1 / -1;
  }

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

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

  .contact-panel {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .bento {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento-lg,
  .bento-item:nth-child(2),
  .bento-item:nth-child(3),
  .bento-item:nth-child(4),
  .bento-item:nth-child(5) {
    grid-column: span 3;
  }
}

@media (max-width: 420px) {
  .brand-text small {
    display: none;
  }

  .meter {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .meter ul {
    width: 100%;
  }
}

/* ==========================================================================
   Downloads — home section, /download.html, and the coming-soon dialog
   ========================================================================== */

.btn-lg {
  min-height: 56px;
  padding: 0.9rem 1.8rem;
  font-size: 1.02rem;
  gap: 0.6rem;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.btn-nav-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  border-color: transparent;
}

.btn-nav-primary:hover {
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.4);
}

/* Hero CTA + trust row ---------------------------------------------------- */

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.hero-cta .dl-cta-note {
  text-align: center;
}

.dl-cta-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust li::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.16);
  box-shadow: inset 0 0 0 1.5px var(--green);
}

/* Platform cards ---------------------------------------------------------- */

.dl-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.6rem 1.4rem 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dl-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.dl-card-featured {
  border-color: rgba(59, 130, 255, 0.55);
  background:
    linear-gradient(165deg, rgba(59, 130, 255, 0.14), transparent 55%),
    var(--surface);
}

.dl-flag {
  position: absolute;
  top: -11px;
  left: 1.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dl-card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--blue);
}

.dl-card-icon svg {
  width: 26px;
  height: 26px;
}

.dl-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
}

.dl-req {
  font-size: 0.86rem;
  color: var(--muted);
}

.dl-meta {
  display: grid;
  gap: 0.35rem;
  margin: 0.3rem 0 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

.dl-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.dl-meta dt {
  color: var(--muted);
}

.dl-meta dd {
  font-weight: 600;
  text-align: right;
}

.dl-btn {
  width: 100%;
  margin-top: auto;
  gap: 0.5rem;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.dl-status {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.dl-foot {
  margin-top: 1.8rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.dl-foot a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Download page ----------------------------------------------------------- */

.dl-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) clamp(1.25rem, 4vw, 2rem) 3rem;
  text-align: center;
  overflow: hidden;
}

.dl-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.dl-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.dl-hero h1 span {
  color: var(--blue);
}

.dl-hero-lead {
  max-width: 54ch;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.dl-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
}

.dl-split {
  display: grid;
  gap: 1.2rem;
}

.dl-steps,
.dl-req-panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.dl-steps h3,
.dl-req-panel h3 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.dl-steps ol {
  display: grid;
  gap: 0.85rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.dl-steps li::marker {
  color: var(--blue);
  font-weight: 700;
}

.dl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dl-table th,
.dl-table td {
  padding: 0.7rem 0.4rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.dl-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.dl-table tbody th {
  font-weight: 600;
}

.dl-table td {
  color: var(--muted);
}

.dl-table tbody tr:last-child th,
.dl-table tbody tr:last-child td {
  border-bottom: none;
}

.dl-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Coming-soon dialog ------------------------------------------------------ */

.dl-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

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

.dl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 10, 0.72);
  backdrop-filter: blur(4px);
}

.dl-modal-card {
  position: relative;
  width: min(440px, 100%);
  padding: 2rem 1.6rem 1.6rem;
  border-radius: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  text-align: center;
  animation: dl-pop 0.22s ease-out;
}

@keyframes dl-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dl-modal-card {
    animation: none;
  }
}

.dl-modal-x {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.dl-modal-x:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.dl-modal-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: rgba(59, 130, 255, 0.12);
  border: 1px solid var(--line);
  color: var(--blue);
}

.dl-modal-icon svg {
  width: 28px;
  height: 28px;
}

.dl-modal-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.dl-modal-card p {
  margin: 0.6rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.dl-modal-actions {
  display: grid;
  gap: 0.6rem;
}

@media (min-width: 560px) {
  .dl-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dl-modal-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .dl-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .dl-split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
