:root {
  --bg: #05070b;
  --surface: #0a0d14;
  --text: #f7f9ff;
  --muted: #9299a8;
  --line: rgba(255, 255, 255, 0.10);
  --cyan: #27dcff;
  --blue: #0878ff;
  --electric: #2144ff;
  --violet: #7628ff;
  --max: 1420px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 28%, rgba(20, 83, 255, .14), transparent 30rem),
    radial-gradient(circle at 26% 60%, rgba(25, 213, 255, .05), transparent 34rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.search-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(calc(100% - 28px), 1120px);
  min-height: 66px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 8px 9px 8px 11px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(6, 8, 13, .72);
  backdrop-filter: blur(26px) saturate(155%);
  -webkit-backdrop-filter: blur(26px) saturate(155%);
  box-shadow: 0 14px 50px rgba(0,0,0,.30);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand img {
  width: 82px;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-brand img {
  width: 86px;
  height: auto;
  display: block;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
}

.nav-link {
  position: relative;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition: color .2s ease;
}

.nav-link:hover,
.nav-link.is-active { color: var(--text); }

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  border-radius: 99px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  box-shadow: 0 0 16px rgba(39, 220, 255, .35);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.icon-button:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(39,220,255,.16);
}
.icon-button:active { transform: scale(.96); }
.icon-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #05070b;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -.2px;
  box-shadow: 0 10px 34px rgba(255,255,255,.07);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.download-button:hover {
  background: #f2f5ff;
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(17, 106, 255, .14);
}
.download-button.compact { min-height: 42px; padding-inline: 17px; font-size: 13px; }
.download-button.large { min-height: 60px; padding-inline: 28px; font-size: 16px; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: 118px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.display-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(72px, 8.4vw, 132px);
  line-height: .87;
  letter-spacing: -.075em;
  font-weight: 850;
}

.hero-subtitle {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.46;
  letter-spacing: -.02em;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
}

.hero-art {
  position: relative;
  justify-self: end;
  width: min(100%, 760px);
  aspect-ratio: 1;
  border-radius: 0;
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
  isolation: isolate;
}

.hero-art picture {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
  user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 36px 120px rgba(0,0,0,.44);
}

.hero-art-glow {
  position: absolute;
  z-index: 0;
  inset: 11% 4% -3%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 40%, rgba(39,220,255,.32), rgba(18,85,255,.28) 46%, rgba(118,40,255,.10) 68%, transparent 76%);
  filter: blur(74px);
  opacity: .9;
}

.final-cta {
  position: relative;
  min-height: 70svh;
  display: grid;
  place-items: center;
  padding: 118px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.final-glow {
  position: absolute;
  width: min(640px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 91, 255, .13), rgba(39,220,255,.04) 45%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  width: 100%;
  text-align: center;
}

.cta-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 30px;
  display: block;
  border-radius: 22px;
  box-shadow: 0 16px 50px rgba(13, 102, 255, .18);
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(68px, 10vw, 148px);
  line-height: .86;
  letter-spacing: -.07em;
}

.final-cta p {
  max-width: 620px;
  margin: 30px auto 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

.site-footer {
  min-height: 110px;
  padding: 28px 0 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: #7f8796;
  font-size: 12px;
}

.site-footer p { justify-self: end; margin: 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.footer-links a:hover { color: #fff; }

.search-panel[hidden] { display: none; }
.search-panel { position: fixed; inset: 0; z-index: 100; }
.search-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(0,0,0,.66);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.search-sheet {
  position: absolute;
  top: 92px;
  left: 50%;
  width: min(calc(100% - 28px), 680px);
  transform: translateX(-50%);
  padding: 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: rgba(9,12,19,.94);
  box-shadow: 0 30px 120px rgba(0,0,0,.58), 0 0 60px rgba(9,79,255,.08);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}
.search-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.search-sheet-header h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.03em;
}
.close-button { font-size: 25px; line-height: 1; }
.search-field {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}
.search-field:focus-within {
  border-color: rgba(39,220,255,.30);
  box-shadow: 0 0 0 3px rgba(14,114,255,.08);
}
.search-field svg {
  flex: 0 0 auto;
  width: 19px;
  fill: none;
  stroke: #a9afbc;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 16px;
}
.search-field input::placeholder { color: #747c8b; }
.search-note {
  margin: 13px 4px 2px;
  color: #747c8b;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .72s cubic-bezier(.2,.8,.2,1), transform .72s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 72px;
    gap: 50px;
  }

  .hero-copy { max-width: 840px; }
  .hero-art {
    justify-self: center;
    width: min(100%, 760px);
  }
}

@media (max-width: 680px) {
  .section-shell { width: min(calc(100% - 32px), var(--max)); }

  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    min-height: 62px;
    grid-template-columns: 1fr auto;
    padding: 7px 8px 7px 9px;
  }

  .brand img {
    width: 66px;
    height: auto;
  }

  .desktop-nav,
  .header-download { display: none; }

  .icon-button { width: 46px; height: 46px; }

  .hero {
    padding-top: 112px;
    padding-bottom: 54px;
    gap: 38px;
  }

  .display-title {
    font-size: clamp(58px, 19vw, 86px);
    line-height: .88;
    letter-spacing: -.07em;
  }

  .hero-subtitle {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.45;
  }

  .hero-actions { margin-top: 27px; }
  .hero-download {
    width: 100%;
    min-height: 58px;
    font-size: 16px;
  }

  .hero-art {
    width: calc(100% + 4px);
    border-radius: 0;
  }

  .final-cta {
    min-height: 66svh;
    padding: 92px 0;
  }

  .cta-icon {
    width: 66px;
    height: 66px;
    border-radius: 19px;
    margin-bottom: 26px;
  }

  .final-cta h2 {
    font-size: clamp(58px, 17.5vw, 92px);
    line-height: .88;
  }

  .final-cta p {
    margin: 24px auto 28px;
    font-size: 17px;
  }

  .download-button.large {
    width: 100%;
    min-height: 58px;
  }

  .site-footer {
    padding: 28px 0 38px;
    grid-template-columns: 1fr auto;
    row-gap: 25px;
  }
  .footer-links {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: flex-start;
    gap: 16px 20px;
  }
  .footer-brand { grid-column: 1; grid-row: 2; }
  .site-footer p { grid-column: 2; grid-row: 2; }

  .search-sheet {
    top: 82px;
    padding: 17px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art { transition: none; }
  .download-button, .icon-button { transition: none; }
}
