:root {
  --bg-cream: #f7f3ec;
  --bg-sky: #ebf4ff;
  --bg-mist: #f8fbff;
  --navy-950: #0f1830;
  --navy-900: #132349;
  --navy-800: #1a3164;
  --ink: #132136;
  --muted: #61708a;
  --line: rgba(19, 33, 54, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --white: #ffffff;
  --pink: #ff78c8;
  --pink-soft: #ffe3f6;
  --sky: #69c8ff;
  --sky-soft: #dff4ff;
  --mint-soft: #e8f8ef;
  --peach-soft: #fff0e4;
  --shadow: 0 30px 90px rgba(16, 24, 48, 0.12);
  --shadow-strong: 0 34px 90px rgba(7, 16, 34, 0.28);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI Variable Text", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 120, 200, 0.12), transparent 22%),
    radial-gradient(circle at 88% 16%, rgba(105, 200, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #f9f3eb 0%, #edf5ff 34%, #fafcff 100%);
}

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

a {
  color: inherit;
}

.site-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 40px;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 8px 0 24px;
}

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

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(83, 119, 214, 0.24);
}

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

.brand-copy strong {
  font-family: "Space Grotesk", "Segoe UI Variable Display", sans-serif;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  transform: translateY(-1px);
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.header-button:hover,
.button:hover,
.header-button:focus-visible,
.button:focus-visible {
  transform: translateY(-1px);
}

.header-button,
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff7ec8, #8b73ff 44%, #57c6ff);
  box-shadow: 0 18px 34px rgba(93, 126, 214, 0.26);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(19, 33, 54, 0.12);
}

.page-content {
  display: grid;
  gap: 28px;
}

.hero-stage,
.section-card,
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 28px;
  padding: 42px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 120, 200, 0.28), transparent 22%),
    radial-gradient(circle at 82% 20%, rgba(105, 200, 255, 0.2), transparent 26%),
    linear-gradient(135deg, #0d1528 0%, #142649 52%, #0d1f3d 100%);
  box-shadow: var(--shadow-strong);
}

.hero-copy,
.hero-visual,
.section-head,
.split-layout,
.setup-grid,
.cta-banner-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.card-label,
.float-label,
.device-kicker,
.reward-kicker,
.habit-badge,
.path-badge {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: #bfd9ff;
}

.eyebrow-dark {
  color: var(--navy-800);
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI Variable Display", sans-serif;
  letter-spacing: -0.045em;
}

h1 {
  margin-top: 16px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.94;
  max-width: 12ch;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  line-height: 0.97;
}

h3 {
  font-size: 1.42rem;
  line-height: 1.08;
}

.lede,
.hero-stage .topic-ribbon,
.section-head p,
.feature-card p,
.benefit-card p,
.habit-card p,
.step-item p,
.path-card p,
.cta-banner p,
.site-footer p,
.reward-stack-card p {
  line-height: 1.72;
}

.lede {
  margin-top: 18px;
  max-width: 60ch;
  color: rgba(245, 248, 255, 0.88);
  font-size: 1.07rem;
}

.hero-note {
  margin-top: 16px;
  max-width: 58ch;
  color: rgba(224, 235, 255, 0.82);
  line-height: 1.68;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.topic-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
  color: rgba(235, 242, 255, 0.88);
}

.topic-ribbon li {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-visual {
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  pointer-events: none;
}

.hero-glow-pink {
  top: 26px;
  left: 30px;
  width: 180px;
  height: 180px;
  background: rgba(255, 120, 200, 0.34);
}

.hero-glow-blue {
  right: 10px;
  bottom: 42px;
  width: 220px;
  height: 220px;
  background: rgba(87, 198, 255, 0.24);
}

.device-scene {
  position: relative;
  width: min(100%, 520px);
  min-height: 430px;
  display: grid;
  place-items: center;
}

.hero-logo {
  width: min(100%, 270px);
  filter: drop-shadow(0 28px 58px rgba(112, 146, 255, 0.26));
}

.float-card,
.device-panel,
.feature-card,
.benefit-card,
.reward-stack-card,
.habit-card,
.steps-panel,
.path-card,
.cta-banner {
  border: 1px solid var(--line);
}

.float-card {
  position: absolute;
  max-width: 220px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(6, 15, 34, 0.18);
}

.float-card strong {
  display: block;
  margin-top: 8px;
  line-height: 1.38;
}

.float-card-left {
  top: 18px;
  left: 0;
}

.float-card-right {
  right: 0;
  bottom: 98px;
}

.float-label {
  color: #bcd7ff;
}

.device-panel {
  position: absolute;
  right: 16px;
  bottom: 0;
  width: min(100%, 330px);
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 24px 48px rgba(6, 15, 34, 0.2);
}

.device-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.device-kicker {
  color: var(--navy-800);
}

.device-chip {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--navy-800);
  font-size: 0.82rem;
  font-weight: 800;
}

.device-row {
  margin-top: 16px;
}

.device-row-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.row-bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: #e8edf8;
  overflow: hidden;
}

.row-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill);
  border-radius: inherit;
  background: linear-gradient(135deg, #8fd0ff, #4da3ff);
}

.row-bar-alt::after {
  background: linear-gradient(135deg, #ff8ad2, #8f82ff);
}

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mini-card {
  padding: 14px;
  border-radius: 18px;
  background: #f7f9ff;
}

.mini-card-label {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-card strong {
  display: block;
  margin-top: 8px;
  line-height: 1.38;
}

.section-card {
  padding: 36px;
  background: rgba(255, 255, 255, 0.84);
}

.section-card-tint {
  background:
    radial-gradient(circle at 84% 18%, rgba(105, 200, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #fffdfb 0%, #f4fbff 100%);
}

.section-card-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 120, 200, 0.18), transparent 24%),
    linear-gradient(135deg, #101a31 0%, #132448 52%, #0d1c39 100%);
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 840px;
}

.section-head p {
  color: var(--muted);
}

.section-head-dark p {
  color: rgba(234, 241, 255, 0.82);
}

.feature-grid,
.benefit-grid,
.habit-grid,
.setup-grid,
.split-layout {
  margin-top: 24px;
}

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

.feature-card,
.benefit-card,
.habit-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
}

.feature-card-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(223, 244, 255, 0.78));
}

.card-label {
  color: var(--navy-800);
}

.feature-card h3,
.benefit-card h3,
.habit-card h3,
.step-item h3,
.path-card h3,
.reward-stack-card strong,
.cta-banner h2 {
  margin-top: 10px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 18px;
  align-items: center;
}

.section-copy {
  margin-top: 16px;
  color: var(--muted);
}

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

.benefit-card {
  background: rgba(255, 255, 255, 0.88);
}

.reward-panel {
  display: grid;
  gap: 14px;
}

.reward-stack-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
}

.reward-stack-card-primary {
  background: linear-gradient(135deg, rgba(255, 227, 246, 0.92), rgba(223, 244, 255, 0.92));
}

.reward-kicker {
  color: var(--navy-800);
}

.vault-meter {
  height: 12px;
  margin-top: 12px;
  border-radius: 999px;
  background: #e8edf8;
  overflow: hidden;
}

.vault-fill {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #ff8ad2, #7bc9ff);
}

.habit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.habit-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--peach-soft);
  color: #9f572c;
}

.section-card-dark .habit-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #dbe9ff;
}

.setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.steps-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
}

.step-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.step-count {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  color: #fff;
  font-family: "Space Grotesk", "Segoe UI Variable Display", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.path-panel {
  display: grid;
  gap: 14px;
}

.path-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
}

.path-card-highlight {
  background: linear-gradient(135deg, rgba(255, 126, 200, 0.14), rgba(87, 198, 255, 0.14));
}

.path-badge {
  color: #cfe0ff;
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 30px 34px;
  background: rgba(255, 255, 255, 0.9);
}

.cta-banner p {
  color: var(--muted);
  max-width: 760px;
}

.cta-banner .button-secondary {
  background: #fff;
  border-color: var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 4px 0;
}

.site-footer p {
  color: var(--muted);
  max-width: 720px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .header-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .hero-stage,
  .split-layout,
  .setup-grid,
  .cta-banner {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .device-scene {
    min-height: 400px;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(1240px, calc(100% - 20px));
    padding-top: 12px;
    padding-bottom: 28px;
  }

  .site-header,
  .hero-stage,
  .section-card,
  .cta-banner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
  }

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

  .hero-stage,
  .section-card {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .cta-banner {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  .feature-grid,
  .benefit-grid,
  .habit-grid,
  .mini-card-grid {
    grid-template-columns: 1fr;
  }

  .device-scene {
    min-height: 320px;
  }

  .hero-logo {
    width: min(100%, 220px);
  }

  .float-card {
    position: static;
    max-width: none;
  }

  .device-panel {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .device-top,
  .device-row-head,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .step-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .step-count {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.1rem;
  }

  .button,
  .header-button {
    width: 100%;
  }
}
