:root {
  color-scheme: dark;
  --bg: #07140c;
  --surface: #102116;
  --surface-alt: #173222;
  --border: #2e5a3d;
  --text: #e8fff0;
  --muted: #9cb8a3;
  --accent: #7cff9b;
  --accent-soft: #d7ffe0;
  --ink: #06140b;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
}

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

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  background: rgba(7, 20, 12, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(46, 90, 61, 0.55);
}

.nav nav {
  display: flex;
  gap: 22px;
}

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

.nav nav a:hover {
  color: var(--accent-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(124, 255, 155, 0.7);
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  overflow: hidden;
}

.hero-photo,
.download-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo {
  object-position: 72% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 10, 0.72) 0%, rgba(6, 16, 10, 0.28) 48%, rgba(6, 16, 10, 0.08) 100%),
    linear-gradient(180deg, rgba(6, 16, 10, 0.18), rgba(6, 16, 10, 0.55));
}

.download-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 10, 0.35), rgba(6, 16, 10, 0.62));
}

.hero-grid {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 600;
}

h1,
h2,
.hero-copy h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin: 0 0 14px;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.lede,
.hero-copy p,
.feature-card p,
.split-copy p,
.download-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.08rem;
}

.lede {
  max-width: 34rem;
  font-size: 1.18rem;
}

.hero-actions,
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--border);
  transition: transform 160ms ease, background 160ms ease;
}

.btn.compact {
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.btn.primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.btn.ghost {
  background: rgba(16, 33, 22, 0.55);
  color: var(--accent-soft);
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 0;
  max-width: 420px;
}

.stats dt {
  font-size: 1.15rem;
  font-weight: 700;
}

.stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-phones {
  position: relative;
  min-height: 560px;
}

.phone {
  position: relative;
  width: 270px;
  border-radius: 36px;
  padding: 12px 10px 10px;
  background: linear-gradient(180deg, #1a221c, #070b08);
  border: 1px solid rgba(232, 255, 240, 0.16);
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: #0a0f0c;
  transform: translateX(-50%);
}

.phone-front {
  position: absolute;
  right: 8%;
  top: 28px;
  z-index: 2;
}

.phone-back {
  position: absolute;
  right: 38%;
  top: 84px;
  transform: rotate(-8deg);
  opacity: 0.92;
}

.phone.large {
  width: 300px;
  margin: 0 auto;
}

.phone-screen {
  border-radius: 28px;
  min-height: 520px;
  padding: 22px 18px 18px;
  background:
    radial-gradient(circle at top, rgba(124, 255, 155, 0.12), transparent 40%),
    #0b1f12;
  overflow: hidden;
}

.app-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-screen h3 {
  margin: 6px 0 16px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.7rem;
}

.swing-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  padding: 8px;
  background: #173222;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.swing-card img {
  width: 64px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.swing-card span,
.swing-card strong {
  display: block;
}

.swing-card span {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

.skeleton-stage {
  height: 230px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 50% 40%, rgba(124, 255, 155, 0.16), transparent 46%),
    #102116;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.skeleton-stage svg {
  width: 150px;
  height: 168px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.metric-grid div,
.trend {
  background: #173222;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
}

.metric-grid span,
.trend span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-grid strong,
.trend strong {
  font-size: 1.15rem;
}

.trend {
  margin-bottom: 10px;
}

.trend svg {
  width: 100%;
  height: 34px;
  margin-top: 6px;
}

.trend polyline {
  fill: none;
  stroke: #7cff9b;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.strip {
  padding: 22px 28px;
  text-align: center;
  background: #102116;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.strip p {
  margin: 0;
  color: var(--accent-soft);
}

.features,
.split,
.gallery {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

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

.feature-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #3f7a52;
}

.feature-card img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.feature-card div,
.split-copy {
  padding: 22px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.split-copy {
  padding: 0;
}

.split-copy ul {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 1.1rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 16px;
  padding-bottom: 20px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  position: relative;
}

.gallery figure:first-child {
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(transparent, rgba(6, 16, 10, 0.86));
  color: var(--accent-soft);
}

.download {
  position: relative;
  margin-top: 88px;
  min-height: 720px;
  display: grid;
  place-items: center;
  padding: 72px 20px;
}

.download-card {
  position: relative;
  width: min(680px, 100%);
  padding: 36px;
  background: rgba(16, 33, 22, 0.86);
  border: 1px solid var(--border);
  border-radius: 28px;
  backdrop-filter: blur(16px);
}

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

.steps {
  margin: 22px 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.steps li + li {
  margin-top: 10px;
}

.footer {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer p {
  margin: 0 0 6px;
}

strong {
  color: var(--accent-soft);
}

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

  .hero-grid,
  .split,
  .feature-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 16, 10, 0.42) 0%, rgba(6, 16, 10, 0.78) 100%);
  }

  .hero-phones {
    min-height: 560px;
    display: flex;
    justify-content: center;
  }

  .phone-back {
    display: none;
  }

  .phone-front {
    position: relative;
    right: auto;
    top: auto;
  }

  .gallery figure:first-child {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 14px 16px;
  }

  .hero-grid {
    padding-top: 48px;
  }

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

  .phone,
  .phone.large {
    width: 230px;
  }

  .phone-screen {
    min-height: 450px;
  }

  .stats {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: none;
  }

  .download-card {
    padding: 24px;
  }
}
