:root {
  color-scheme: dark;
  --background: #070a12;
  --background-elevated: #0d121f;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f6f7fb;
  --muted: #a8afc0;
  --muted-strong: #c8ccda;
  --blue: #4f9cff;
  --blue-bright: #74b6ff;
  --purple: #9a6cff;
  --mint: #36e6c4;
  --orange: #ffb454;
  --danger: #ff6d8d;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --max-width: 1180px;
  --radius-small: 14px;
  --radius-medium: 24px;
  --radius-large: 36px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 82% 7%, rgba(29, 124, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 8% 42%, rgba(124, 92, 255, 0.12), transparent 30rem),
    var(--background);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: '';
  pointer-events: none;
  opacity: 0.16;
  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: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

img {
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 4px;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(7, 10, 18, 0.76);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.08rem;
  font-weight: 780;
  letter-spacing: -0.03em;
}

.brand img {
  display: block;
  border-radius: 11px;
  box-shadow: 0 10px 30px rgba(79, 156, 255, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a,
.footer-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: white;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0 22px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #6d72ff);
  box-shadow: 0 12px 36px rgba(65, 135, 255, 0.24);
  font-size: 0.92rem;
  font-weight: 740;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(65, 135, 255, 0.32);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.82rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 132px) 0 88px;
}

.hero-grid {
  display: grid;
  min-height: 660px;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(36px, 7vw, 90px);
}

.hero-copy {
  position: relative;
  z-index: 10;
  max-width: 620px;
}

.eyebrow {
  margin-bottom: 19px;
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-right: 10px;
  border: 1px solid rgba(116, 182, 255, 0.25);
  border-radius: 999px;
  padding: 5px 10px;
  color: #ddebff;
  background: rgba(79, 156, 255, 0.1);
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(4rem, 7.3vw, 7rem);
  font-weight: 820;
  letter-spacing: -0.078em;
  line-height: 0.88;
}

.hero h1 em {
  display: block;
  color: transparent;
  background: linear-gradient(120deg, var(--blue-bright), #9f87ff 62%, #e58bff);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.hero-lead {
  max-width: 585px;
  margin-top: 32px;
  color: var(--muted-strong);
  font-size: clamp(1.17rem, 2vw, 1.45rem);
  line-height: 1.48;
}

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

.app-store-badge {
  display: inline-flex;
  border-radius: 11px;
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.app-store-badge img {
  display: block;
  width: auto;
  height: 54px;
  border-radius: 9px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dce7ff;
  font-size: 0.95rem;
  font-weight: 700;
}

.text-link span {
  color: var(--blue-bright);
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.78rem;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-list li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: '';
  background: var(--mint);
  box-shadow: 0 0 12px rgba(54, 230, 196, 0.6);
}

.hero-art {
  position: relative;
  min-height: 660px;
}

.hero-glow {
  position: absolute;
  top: 11%;
  left: 8%;
  width: 84%;
  height: 74%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(79, 156, 255, 0.28),
    rgba(124, 92, 255, 0.12) 42%,
    transparent 70%
  );
  filter: blur(22px);
}

.hero-shot {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 310px;
  height: 540px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: #0a0e18;
  filter: drop-shadow(0 36px 54px rgba(0, 0, 0, 0.42));
}

.hero-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-shot-center {
  z-index: 3;
  width: 328px;
  height: 600px;
  transform: translateX(-50%);
}

.hero-shot-left {
  z-index: 1;
  top: 76px;
  width: 255px;
  height: 468px;
  transform: translateX(-113%) rotate(-8deg);
  opacity: 0.72;
}

.hero-shot-right {
  z-index: 2;
  top: 96px;
  width: 250px;
  height: 458px;
  transform: translateX(24%) rotate(8deg);
  opacity: 0.8;
}

.platform-strip {
  border-block: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.025);
}

.platform-list {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #c3c9d8;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: clamp(88px, 10vw, 140px) 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 54px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.feature-copy h2,
.release-intro h2,
.privacy-layout h2,
.final-cta h2,
.content-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 790;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.section-heading > p:last-child,
.feature-lead,
.release-intro > p:not(.eyebrow),
.privacy-copy p,
.content-hero > p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.7;
}

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

.step-card {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  padding: 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.step-card.featured {
  border-color: rgba(79, 156, 255, 0.38);
  background:
    radial-gradient(circle at 88% 12%, rgba(79, 156, 255, 0.28), transparent 45%),
    linear-gradient(145deg, rgba(79, 156, 255, 0.13), rgba(124, 92, 255, 0.055));
}

.step-number {
  color: var(--blue-bright);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.step-card h3,
.feature-card h3 {
  margin-top: 66px;
  font-size: 1.45rem;
  font-weight: 740;
  letter-spacing: -0.035em;
}

.step-card p,
.feature-card p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.feature-band {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 18% 40%, rgba(79, 156, 255, 0.13), transparent 28rem),
    rgba(255, 255, 255, 0.018);
}

.split-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(48px, 9vw, 120px);
}

.feature-visual {
  position: relative;
  width: min(100%, 470px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  margin-inline: auto;
  background: #090d17;
  box-shadow: 0 48px 88px rgba(0, 0, 0, 0.42);
}

.feature-visual::before {
  position: absolute;
  z-index: -1;
  inset: 10% -20% 12%;
  border-radius: 50%;
  content: '';
  background: radial-gradient(circle, rgba(79, 156, 255, 0.27), transparent 68%);
  filter: blur(26px);
}

.feature-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.feature-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.feature-copy {
  max-width: 580px;
}

.feature-points {
  display: grid;
  gap: 1px;
  margin-top: 40px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--border);
}

.feature-points div {
  display: grid;
  padding: 20px 22px;
  background: rgba(11, 16, 28, 0.98);
  grid-template-columns: minmax(150px, 0.65fr) 1fr;
  gap: 20px;
}

.feature-points strong {
  font-size: 0.91rem;
}

.feature-points span {
  color: var(--muted);
  font-size: 0.87rem;
}

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

.feature-card {
  min-height: 250px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  padding: 28px;
  background: var(--surface);
}

.feature-card-wide {
  grid-column: span 2;
  background:
    radial-gradient(circle at 84% 16%, rgba(79, 156, 255, 0.22), transparent 38%), var(--surface);
}

.feature-card-accent {
  border-color: rgba(54, 230, 196, 0.28);
  background:
    radial-gradient(circle at 80% 18%, rgba(54, 230, 196, 0.18), transparent 40%), var(--surface);
}

.feature-label,
.version-pill {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-section {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.075);
  background: #090d17;
}

.gallery-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.gallery-heading > p {
  max-width: 280px;
  margin: 0 0 7px;
  text-align: right;
}

.gallery {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 6px max(24px, calc((100vw - var(--max-width)) / 2)) 32px;
  scroll-padding-inline: max(24px, calc((100vw - var(--max-width)) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  -webkit-overflow-scrolling: touch;
}

.gallery-card {
  flex: 0 0 clamp(260px, 27vw, 340px);
  scroll-snap-align: start;
}

.gallery-card a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: #05070c;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.32);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.gallery-card a:hover {
  border-color: rgba(116, 182, 255, 0.48);
  transform: translateY(-5px);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-card figcaption {
  padding: 16px 4px 0;
  color: var(--muted-strong);
  font-size: 0.85rem;
  font-weight: 660;
}

.release-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(154, 108, 255, 0.28);
  border-radius: var(--radius-large);
  padding: clamp(34px, 6vw, 72px);
  background:
    radial-gradient(circle at 88% 10%, rgba(154, 108, 255, 0.22), transparent 34rem),
    linear-gradient(145deg, rgba(79, 156, 255, 0.085), rgba(154, 108, 255, 0.045));
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(40px, 7vw, 90px);
}

.release-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.release-intro .version-pill {
  margin-bottom: 24px;
  color: #eadfff;
  border-color: rgba(154, 108, 255, 0.35);
  background: rgba(154, 108, 255, 0.12);
}

.release-intro .text-link {
  margin-top: 30px;
}

.release-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  list-style: none;
}

.release-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted-strong);
  font-size: 0.94rem;
}

.release-list li:last-child {
  border-bottom: 0;
}

.release-list strong {
  display: inline-block;
  min-width: 82px;
  color: var(--blue-bright);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.privacy-band {
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 15% 50%, rgba(54, 230, 196, 0.1), transparent 25rem),
    rgba(255, 255, 255, 0.018);
}

.privacy-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(40px, 9vw, 120px);
}

.privacy-copy .text-link {
  margin-top: 26px;
}

.final-cta {
  padding-bottom: 70px;
}

.final-cta-card {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  overflow: hidden;
  border: 1px solid rgba(79, 156, 255, 0.32);
  border-radius: var(--radius-large);
  padding: clamp(34px, 6vw, 72px);
  background:
    radial-gradient(circle at 82% 30%, rgba(79, 156, 255, 0.29), transparent 26rem),
    radial-gradient(circle at 10% 120%, rgba(154, 108, 255, 0.2), transparent 30rem), #0b111e;
}

.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background: #05070c;
}

.footer-grid,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-grid > div:first-child p {
  max-width: 420px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 28px;
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 650;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: #757d8f;
  font-size: 0.72rem;
}

/* Content and legal pages */
.content-main {
  min-height: 66vh;
}

.content-hero {
  max-width: 790px;
  padding: 100px 0 55px;
}

.content-hero .eyebrow {
  margin-bottom: 16px;
}

.content-hero > p {
  max-width: 690px;
}

.content-shell {
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.legal-page,
.prose-card,
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  padding: clamp(26px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.035);
}

.legal-page > p:first-of-type,
.updated-date {
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-page h2,
.prose-card h2 {
  margin: 42px 0 14px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.legal-page h3 {
  margin: 30px 0 10px;
  font-size: 1.06rem;
}

.legal-page p,
.prose-card p,
.prose-card li,
.contact-card p {
  margin-bottom: 16px;
  color: var(--muted-strong);
  font-size: 0.96rem;
  line-height: 1.78;
}

.legal-page a,
.prose-card a,
.contact-card a:not(.button) {
  color: var(--blue-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 18px;
}

.contact-card h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.contact-card .button {
  margin-top: 10px;
}

.release-history {
  display: grid;
  gap: 18px;
}

.release-entry {
  display: grid;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  padding: clamp(26px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.035);
  grid-template-columns: 170px 1fr;
  gap: 38px;
}

.release-entry.latest {
  border-color: rgba(79, 156, 255, 0.34);
  background:
    radial-gradient(circle at 92% 8%, rgba(79, 156, 255, 0.16), transparent 23rem),
    rgba(255, 255, 255, 0.04);
}

.release-meta h2 {
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.release-meta p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.release-notes {
  padding-left: 19px;
}

.release-notes li {
  margin-bottom: 12px;
  color: var(--muted-strong);
  line-height: 1.6;
}

.release-notes li::marker {
  color: var(--blue-bright);
}

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

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

  .hero-copy {
    max-width: 760px;
    text-align: center;
    margin-inline: auto;
  }

  .hero h1 {
    margin-inline: auto;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .trust-list {
    justify-content: center;
  }

  .hero-art {
    min-height: 660px;
    margin-top: 20px;
  }

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

  .steps-grid .step-card:last-child {
    grid-column: span 2;
  }

  .split-layout,
  .privacy-layout,
  .release-card {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    max-width: 740px;
  }

  .release-card {
    gap: 48px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 30px, var(--max-width));
  }

  .nav-shell {
    min-height: 68px;
  }

  .button-small {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 0.75rem;
  }

  .hero {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 20vw, 5.6rem);
  }

  .hero-actions {
    flex-direction: column;
    gap: 16px;
  }

  .trust-list {
    align-items: center;
    flex-direction: column;
    gap: 9px;
  }

  .hero-art {
    min-height: 540px;
  }

  .hero-shot-center {
    width: min(64vw, 300px);
    height: 500px;
  }

  .hero-shot-left,
  .hero-shot-right {
    width: min(47vw, 220px);
    height: 400px;
  }

  .platform-list {
    overflow-x: auto;
    justify-content: flex-start;
    padding-block: 22px;
    white-space: nowrap;
  }

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

  .steps-grid .step-card:last-child,
  .feature-card-wide {
    grid-column: auto;
  }

  .step-card {
    min-height: 245px;
  }

  .step-card h3 {
    margin-top: 46px;
  }

  .feature-points div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .gallery-heading > p {
    max-width: none;
    text-align: left;
  }

  .gallery-card {
    flex-basis: min(78vw, 320px);
  }

  .final-cta-card,
  .footer-grid,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

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

  .release-entry {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
