:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-elevated: rgba(255, 255, 255, 0.86);
  --text: #0d1a38;
  --muted: #52616f;
  --line: rgba(13, 26, 56, 0.11);
  --brand: #2a7dfc;
  --brand-deep: #0d5cf5;
  --brand-strong: #0d5cf5;
  --accent: #33d6cf;
  --mist: #eaf1fb;
  --snow: #ffffff;
  --shadow: 0 16px 48px rgba(42, 125, 252, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(42, 125, 252, 0.10), transparent 30rem),
    linear-gradient(180deg, var(--mist) 0%, #ffffff 36%, #ffffff 100%);
  color: var(--text);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(234, 241, 251, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.actions,
.site-footer,
.screenshot-grid {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(8, 116, 201, 0.22);
}

.nav-links {
  gap: clamp(0.8rem, 3vw, 1.5rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a,
.secondary-link,
.site-footer a {
  text-decoration: none;
}

.nav-links a:hover,
.secondary-link:hover,
.site-footer a:hover {
  color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: min(48rem, calc(100vh - 4.5rem));
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 5vw, 5rem);
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  font-family: ui-serif, "New York", "New York Large", Georgia, serif;
  font-size: clamp(3.25rem, 6vw, 6.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-family: ui-serif, "New York", "New York Large", Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.18rem;
}

.hero-subtitle {
  max-width: 42rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.45rem;
}

.hero-points span {
  padding: 0.55rem 0.8rem;
  color: var(--brand-strong);
  background: rgba(8, 116, 201, 0.09);
  border: 1px solid rgba(8, 116, 201, 0.16);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 720;
}

.actions {
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.app-store-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 12.4rem;
  min-height: 3.8rem;
  padding: 0.7rem 1.25rem;
  color: #ffffff;
  background: #05080c;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.app-store-badge span {
  font-size: 0.78rem;
}

.app-store-badge strong {
  font-size: 1.35rem;
  line-height: 1;
}

.app-store-badge.is-disabled {
  cursor: default;
}

.secondary-link {
  color: var(--brand-strong);
  font-weight: 720;
}

.trust-line {
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-visual {
  position: relative;
  min-height: min(38rem, 68vh);
}

.mountain {
  position: absolute;
  inset: 4% 0 auto auto;
  width: min(43rem, 94%);
  height: min(32rem, 54vh);
  object-fit: cover;
  border-radius: 20px;
  opacity: 0.68;
  box-shadow: var(--shadow);
}

.phone {
  position: absolute;
  width: min(18.5rem, 40vw);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(13, 26, 56, 0.24);
}

.phone-main {
  right: 30%;
  bottom: 0;
  transform: rotate(-2deg);
}

.phone-side {
  right: 1%;
  bottom: 12%;
  width: min(14rem, 32vw);
  transform: rotate(3deg);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  max-width: 62rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.pain-grid,
.coach-cards,
.flow-steps {
  display: grid;
  gap: 1rem;
}

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

.coach-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(42, 125, 252, 0.10), transparent 34rem),
    #ffffff;
}

.coach-copy {
  position: sticky;
  top: 6rem;
}

.coach-copy p {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.55;
}

.coach-cards {
  grid-template-columns: 1fr;
}

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

.pain-grid article,
.coach-cards article,
.flow-steps article {
  min-height: 15rem;
  padding: 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-steps span {
  display: inline-block;
  margin-bottom: 2.4rem;
  color: var(--accent);
  font-weight: 820;
}

.pain-grid p,
.coach-cards p,
.flow-steps p,
.privacy-band p,
.site-footer p,
.legal-page p {
  color: var(--muted);
  line-height: 1.55;
}

.metric {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-weight: 800;
}

.screenshots {
  background:
    radial-gradient(circle at top right, rgba(58, 134, 255, 0.16), transparent 30rem),
    #11151c;
  color: #e6ecf7;
}

.screenshots .eyebrow,
.screenshots figcaption {
  color: #8bdcf0;
}

.screenshot-grid {
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2rem);
}

figure {
  margin: 0;
  width: min(21rem, 30vw);
}

figure img {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

figcaption {
  margin-top: 1rem;
  font-weight: 740;
  text-align: center;
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.site-footer {
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-page {
  max-width: 48rem;
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11151c;
    --bg-elevated: rgba(16, 32, 46, 0.78);
    --text: #e6ecf7;
    --muted: #a9b7c4;
    --line: rgba(247, 251, 255, 0.13);
    --brand: #3a86ff;
    --brand-deep: #0a4fd6;
    --brand-strong: #8db7ff;
    --mist: #11151c;
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(58, 134, 255, 0.14), transparent 30rem),
      linear-gradient(180deg, #11151c 0%, #0d1a38 52%, #11151c 100%);
  }

  .site-header {
    background: rgba(17, 21, 28, 0.78);
  }

  .coach-section {
    background:
      linear-gradient(135deg, rgba(58, 134, 255, 0.12), transparent 34rem),
      #11151c;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-visual {
    min-height: 37rem;
  }

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

  .coach-section {
    grid-template-columns: 1fr;
  }

  .coach-copy {
    position: static;
  }

  .privacy-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-visual {
    min-height: 29rem;
  }

  .mountain {
    width: 100%;
    height: 18rem;
    border-radius: 18px;
  }

  .phone {
    width: 56vw;
    border-radius: 24px;
  }

  .phone-main {
    right: 30%;
  }

  .phone-side {
    width: 48vw;
  }

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

  .screenshot-grid {
    display: grid;
  }

  figure {
    width: min(21rem, 82vw);
    margin-inline: auto;
  }
}
