:root {
  color-scheme: light;
  --coral: #ff6b6b;
  --coral-dark: #d84650;
  --sun: #ffd93d;
  --leaf: #3fae69;
  --sky: #4a90c2;
  --ink: #242225;
  --muted: #746d68;
  --paper: #fffaf3;
  --white: #ffffff;
  --line: rgba(36, 34, 37, 0.12);
  --shadow: 0 24px 70px rgba(93, 54, 35, 0.18);
  font-family: Nunito, ui-rounded, "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.96), rgba(241, 249, 232, 0.86) 46%, rgba(255, 239, 209, 0.92)),
    var(--paper);
  color: var(--ink);
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-elevated {
  width: 100%;
  padding: 10px max(16px, calc((100% - 1180px) / 2));
  background: rgba(255, 250, 243, 0.9);
  box-shadow: 0 12px 36px rgba(72, 43, 28, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.hero-actions,
.trust-row,
.store-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand img {
  border-radius: 11px;
  box-shadow: 0 10px 20px rgba(216, 70, 80, 0.2);
}

nav {
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

nav a:hover,
.site-footer a:hover {
  color: var(--coral-dark);
}

.header-cta,
.primary-button,
.secondary-button,
.store-button {
  border-radius: 999px;
  font-weight: 900;
}

.header-cta {
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 70px);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 74px;
}

.hero-backdrop {
  position: absolute;
  inset: 18px -34px 40px;
  z-index: -1;
  border-radius: 44px;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 217, 61, 0.45), transparent 21rem),
    radial-gradient(circle at 100% 82%, rgba(63, 174, 105, 0.25), transparent 20rem),
    radial-gradient(circle at 14% 78%, rgba(255, 107, 107, 0.18), transparent 18rem),
    rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(3.15rem, 6.2vw, 5.9rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.8vw, 4.1rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.hero-lede {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  min-height: 54px;
  padding: 0 24px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 18px 36px rgba(255, 107, 107, 0.3);
}

.primary-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.trust-row {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  perspective: 1100px;
}

.phone-shell {
  position: relative;
  width: min(390px, 78vw);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 48px;
  background: linear-gradient(145deg, #151517, #372b2a);
  box-shadow: 0 34px 90px rgba(57, 32, 25, 0.25);
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 92px;
  height: 24px;
  border-radius: 0 0 15px 15px;
  background: #1c191c;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-shell img {
  width: 100%;
  aspect-ratio: 510 / 994;
  object-fit: cover;
  border-radius: 32px;
}

.phone-main {
  transform: rotate(2deg) rotateY(-8deg);
}

.mock-screen {
  overflow: hidden;
  min-height: 660px;
  padding: 28px 20px 22px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 237, 0.98)),
    var(--white);
}

.mock-topbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 24px;
}

.mock-topbar img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(17, 26, 36, 0.18);
}

.mock-topbar span,
.mock-progress span,
.gratitude-card span,
.hero-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.mock-topbar strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 1.42rem;
  line-height: 1;
}

.mock-progress {
  padding: 16px;
  border-radius: 18px;
  background: #fff7e5;
}

.mock-progress i {
  display: block;
  height: 10px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--sun), var(--leaf));
}

.gratitude-card {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(36, 34, 37, 0.07);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(66, 43, 27, 0.08);
}

.gratitude-card p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.36;
}

.gratitude-card.warm {
  background: linear-gradient(135deg, #fff4d8, #ffe2d2);
}

.gratitude-card.green {
  background: linear-gradient(135deg, #e9fbef, #d8f4df);
}

.gratitude-card.blue {
  background: linear-gradient(135deg, #e9f4ff, #f2ecff);
}

.mock-screen button {
  width: 100%;
  min-height: 58px;
  margin-top: 18px;
  border: 0;
  border-radius: 18px;
  background: var(--coral);
  color: var(--white);
  font: inherit;
  font-weight: 1000;
  box-shadow: 0 18px 38px rgba(255, 107, 107, 0.32);
}

.hero-stat {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 50px rgba(52, 37, 24, 0.16);
  backdrop-filter: blur(18px);
  z-index: 5;
}

.stat-top {
  right: 0;
  top: 9%;
  padding: 18px 22px 20px;
}

.hero-stat strong {
  display: block;
  margin-top: 4px;
  color: var(--coral-dark);
  font-size: 1.8rem;
  line-height: 1;
}

.stat-bottom {
  left: 1%;
  bottom: 13%;
  padding: 16px 20px 18px;
}

.gratitude-orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.9;
}

.orbit-one {
  width: 140px;
  height: 140px;
  right: 9%;
  bottom: 19%;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.75), rgba(255, 217, 61, 0));
}

.orbit-two {
  width: 190px;
  height: 190px;
  left: 5%;
  top: 16%;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.34), rgba(255, 107, 107, 0));
}

.metric-panel span,
figcaption {
  color: var(--muted);
  font-weight: 800;
}

.feature-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 1000;
}

.intro-band,
.features,
.showcase,
.wellbeing-band,
.download,
.faq {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

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

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

.routine-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.routine-grid span {
  color: var(--coral-dark);
  font-weight: 1000;
}

.routine-grid p,
.feature-card p,
.wellbeing-copy p,
.download p,
.faq p {
  color: var(--muted);
  line-height: 1.6;
}

.features,
.showcase,
.faq {
  padding: 74px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(70, 43, 30, 0.08);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
}

.accent-coral .feature-icon {
  background: var(--coral);
}

.accent-green .feature-icon {
  background: var(--leaf);
}

.accent-yellow .feature-icon {
  background: #d6a800;
}

.accent-blue .feature-icon {
  background: var(--sky);
}

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

figure {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(56, 39, 28, 0.1);
}

figure img {
  width: 100%;
  aspect-ratio: 510 / 994;
  object-fit: cover;
  border-radius: 6px;
}

figcaption {
  padding: 14px 2px 4px;
  text-align: center;
}

.wellbeing-band {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  align-items: center;
  padding: 54px;
  border-radius: 8px;
  background: linear-gradient(135deg, #22332b, #364d54);
  color: var(--white);
}

.wellbeing-band .eyebrow {
  color: var(--sun);
}

.wellbeing-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.metric-panel {
  min-height: 330px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.metric-panel strong {
  display: block;
  margin: 18px 0 0;
  color: var(--sun);
  font-size: 5rem;
  line-height: 0.9;
}

.metric-panel span {
  color: rgba(255, 255, 255, 0.76);
}

.bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 120px;
  margin-top: 36px;
}

.bars i {
  flex: 1;
  min-width: 16px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(var(--sun), var(--coral));
}

.download {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 74px 0;
}

.download img {
  width: 104px;
  height: auto;
}

.store-actions {
  flex-wrap: wrap;
  gap: 12px;
  justify-content: end;
}

.store-button {
  display: grid;
  min-width: 170px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
}

.store-button.muted {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.store-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  opacity: 0.72;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 1000;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.site-footer {
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 900;
}

.legal-page {
  width: min(850px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.legal-page h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.legal-page p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.legal-page a:not(.primary-button) {
  color: var(--coral-dark);
  font-weight: 900;
}

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

  .hero,
  .intro-band,
  .wellbeing-band,
  .download {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-visual {
    min-height: 580px;
  }

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

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

  .screens figure {
    max-width: 420px;
    margin: 0 auto;
  }

  .download,
  .store-actions {
    justify-items: start;
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .brand span {
    display: none;
  }

  .hero,
  .intro-band,
  .features,
  .showcase,
  .wellbeing-band,
  .download,
  .faq {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 3.45rem;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone-shell {
    width: min(300px, 78vw);
    border-radius: 38px;
  }

  .phone-shell img {
    border-radius: 27px;
  }

  .card-streak {
    right: -3px;
    top: 7%;
  }

  .card-note {
    left: -3px;
    bottom: 7%;
    max-width: 235px;
  }

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

  .wellbeing-band {
    padding: 32px 22px;
  }

  .metric-panel strong {
    font-size: 4rem;
  }
}
