:root {
  --bg: #06131b;
  --bg-soft: #0b1e2b;
  --surface: rgba(12, 21, 31, 0.82);
  --surface-strong: rgba(18, 29, 41, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f8fb;
  --muted: #afbcc8;
  --blue: #2b7bff;
  --blue-soft: #79cbff;
  --teal: #63e0db;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(43, 123, 255, 0.26), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(121, 203, 255, 0.16), transparent 20%),
    linear-gradient(180deg, #040a10 0%, #07131c 36%, #051019 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: 82px 82px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), transparent 88%);
}

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

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header,
.hero,
.content-block,
.cta-band,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 10px 0 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

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

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.83rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.site-nav a,
.nav-store {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-store:hover,
.nav-store:focus-visible {
  color: var(--text);
}

.nav-store,
.button,
.hero-point {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.nav-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.nav-store:hover,
.nav-store:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
  padding: 14px 0 48px;
}

.hero-copy {
  max-width: 560px;
}

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

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

h1,
.section-heading h2,
.cta-band h2 {
  line-height: 0.96;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.8rem, 7vw, 6.8rem);
}

h1 span,
.section-heading h2,
.cta-band h2 {
  font-family: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  font-weight: 400;
}

h1 span {
  display: block;
  color: var(--blue-soft);
}

.hero-text,
.feature-card p,
.shot-caption p,
.cta-copy,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 52ch;
  margin-top: 22px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

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

.app-store-badge-link {
  display: inline-block;
  line-height: 0;
}

.app-store-badge {
  width: auto;
  max-width: 100%;
  height: 58px;
  vertical-align: middle;
  object-fit: contain;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 34px 28px 18px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 20%, rgba(43, 123, 255, 0.22), transparent 20%),
    radial-gradient(circle at 82% 16%, rgba(121, 203, 255, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(10, 24, 38, 0.78), rgba(8, 18, 27, 0.92));
  box-shadow: var(--shadow);
}

.hero-badge,
.feature-card,
.shot-card,
.cta-band {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-badge {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-stack {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.phone-frame {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(7, 13, 19, 0.88);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.hero-shot {
  position: relative;
  width: 100%;
}

.hero-shot-main {
  width: min(300px, 54%);
  z-index: 2;
}

.hero-shot-secondary {
  width: min(205px, 36%);
  transform: translateY(56px);
}

.hero-stat-label,
.shot-kicker {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-grid,
.screenshot-grid {
  display: grid;
  gap: 18px;
}

.feature-card,
.shot-card {
  border-radius: 30px;
}

.content-block {
  padding-top: 72px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2,
.cta-band h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

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

.feature-card {
  padding: 28px;
  background: var(--surface-strong);
}

.feature-card h3,
.shot-caption h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.12;
}

.screenshots-block {
  padding-bottom: 4px;
}

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

.shot-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  overflow: hidden;
  padding: 24px;
  background: var(--surface-strong);
}

.shot-frame {
  width: min(280px, 100%);
  justify-self: center;
  background:
    radial-gradient(circle at left top, rgba(43, 123, 255, 0.16), transparent 24%),
    rgba(7, 13, 19, 0.92);
}

.shot-caption {
  display: grid;
  gap: 10px;
  padding: 0;
}

.cta-band,
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.cta-band {
  align-items: center;
  margin-top: 68px;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at left top, rgba(43, 123, 255, 0.28), transparent 24%),
    linear-gradient(135deg, rgba(10, 18, 28, 0.96), rgba(13, 24, 38, 0.96));
}

.cta-copy-block {
  max-width: 680px;
}

.cta-copy {
  max-width: 54ch;
  margin-top: 16px;
}

.site-footer {
  align-items: center;
  flex-wrap: wrap;
  padding: 28px 0 12px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.legal-main {
  padding: 8px 0 0;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 34px;
  background:
    radial-gradient(circle at 12% 12%, rgba(43, 123, 255, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(10, 24, 38, 0.84), rgba(8, 18, 27, 0.94));
  box-shadow: var(--shadow);
}

.legal-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.legal-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-intro {
  max-width: 58ch;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-section + .legal-section {
  margin-top: 28px;
}

.legal-section h2 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.legal-section p,
.legal-section li {
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.8;
}

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

.legal-section a {
  color: var(--blue-soft);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    padding: 28px 22px 18px;
  }

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

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

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

  .shot-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 18px;
  }

  .hero {
    padding-top: 8px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero-visual {
    padding: 24px 18px 18px;
  }

  .hero-stack {
    gap: 12px;
    align-items: flex-start;
  }

  .hero-shot-main {
    width: min(220px, 58%);
  }

  .hero-shot-secondary {
    width: min(150px, 36%);
    transform: translateY(28px);
  }

  .hero-badge {
    justify-self: start;
  }

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

  .feature-card,
  .shot-card,
  .cta-band {
    border-radius: 24px;
  }

  .shot-card,
  .feature-card,
  .cta-band {
    padding: 24px;
  }

  .shot-frame {
    width: min(260px, 100%);
  }

  .cta-band,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-card {
    padding: 24px;
    border-radius: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
