@import url("https://fonts.googleapis.com/css2?family=Gochi+Hand&display=swap");

:root {
  --bg: #bcdcff;
  --bg-soft: #f3f8ff;
  --surface: rgba(255, 253, 250, 0.84);
  --surface-strong: #fffdf9;
  --card: rgba(255, 251, 246, 0.9);
  --line: rgba(73, 85, 163, 0.12);
  --text: #222257;
  --muted: #5f648d;
  --accent: #3345c9;
  --accent-strong: #2535a5;
  --accent-soft: #e5e9ff;
  --gold: #f0b956;
  --shadow: 0 24px 80px rgba(64, 82, 153, 0.15);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 240, 200, 0.45), transparent 20%),
    linear-gradient(180deg, #8bc7ff 0%, #dff0ff 34%, #f3e4ef 100%);
  font-family: "Avenir Next", "Nunito", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 0;
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.nav-minimal {
  width: fit-content;
  margin: 0 auto;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(244, 249, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(58, 75, 145, 0.14);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #6079ff, #3144c7);
  box-shadow: 0 12px 32px rgba(49, 68, 199, 0.28);
}

.brand-copy small,
.eyebrow,
.meta-line,
.kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.brand-copy strong {
  display: block;
  font-size: 18px;
  line-height: 1.05;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: rgba(38, 49, 120, 0.9);
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.28);
}

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

.button {
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 40px rgba(49, 68, 199, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(73, 85, 163, 0.12);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 0;
}

.hero-panel,
.glass-card,
.feature-card,
.story-card,
.faq-item,
.blog-card,
.article-shell,
.cta-band {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-stage {
  position: relative;
  overflow: hidden;
  width: 100vw;
  min-height: 100vh;
  background: #b8d9ff;
}

.hero-stage-full {
  width: 100vw;
  min-height: 100vh;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 22%),
    radial-gradient(circle at 20% 18%, rgba(255, 239, 190, 0.18), transparent 14%);
  pointer-events: none;
}

.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 84px 40px 140px;
}

.hero-image {
  z-index: 1;
}

.hero h1,
.page-title,
.article-title {
  margin: 14px 0 16px;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero h1 {
  font-size: clamp(60px, 10vw, 118px);
  color: #293ab1;
  text-shadow: 0 8px 28px rgba(255, 255, 255, 0.45);
  font-family: "Gochi Hand", "Comic Sans MS", cursive;
  font-weight: 400;
  line-height: 0.9;
}

.hero-quote {
  margin: 0;
  max-width: 520px;
  font-size: clamp(18px, 1.9vw, 26px);
  line-height: 1.2;
  color: #27243f;
  font-weight: 700;
  font-family: "Gochi Hand", "Comic Sans MS", cursive, sans-serif;
}

.anchor-only {
  position: relative;
  top: -110px;
  height: 0;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions,
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.store-buttons {
  justify-content: center;
  flex-wrap: nowrap;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 204px;
  padding: 12px 16px;
  border-radius: 18px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(57, 76, 170, 0.14);
  box-shadow: 0 18px 36px rgba(63, 88, 173, 0.16);
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(63, 88, 173, 0.2);
}

.store-button small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
}

.store-button strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.store-badge {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.store-badge img {
  width: 22px;
  height: 22px;
  display: block;
}

.app-store .store-badge {
  color: #fff;
  background: linear-gradient(145deg, #2c3155, #090b15);
}

.play-store .store-badge {
  color: #0d4d2d;
  background: linear-gradient(145deg, #bffbd3, #6dd794);
}

.stat-row,
.feature-grid,
.story-grid,
.blog-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.stat-row {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.mini-stat,
.feature-card,
.story-card,
.blog-card,
.faq-item {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 248, 0.72);
}

.mini-stat strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.05em;
}

.mini-stat span {
  color: var(--muted);
  font-size: 14px;
}

.glass-card {
  padding: 24px;
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(circle at top right, rgba(201, 141, 45, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(245, 249, 255, 0.94), rgba(253, 248, 240, 0.84));
}

.device-card {
  border-radius: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(92, 72, 43, 0.08);
}

.device-screen {
  min-height: 500px;
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(230, 244, 236, 0.92), rgba(255, 249, 241, 0.96));
}

.habit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-strong);
}

.habit-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.habit-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(92, 72, 43, 0.08);
}

.habit-item strong {
  display: block;
  font-size: 16px;
}

.habit-item span {
  color: var(--muted);
  font-size: 14px;
}

.progress-pill {
  align-self: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 44px 0;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2,
.article-shell h2,
.article-shell h3 {
  margin: 10px 0 12px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-heading h2 {
  font-size: clamp(34px, 5vw, 54px);
}

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

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

.feature-card h3,
.story-card h3,
.blog-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.feature-card p,
.story-card p,
.blog-card p,
.faq-item p,
.article-shell p,
.article-shell li {
  color: var(--muted);
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.inline-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(92, 72, 43, 0.08);
  font-weight: 700;
  color: var(--muted);
}

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

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.cta-band {
  margin: 32px 0 64px;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 32%),
    linear-gradient(135deg, #3f5df2, #5a7bff 58%, #f0b956 160%);
  color: #fff;
}

.cta-band p,
.cta-band .meta-line {
  color: rgba(255, 255, 255, 0.82);
}

.cta-band .button-secondary {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.page-hero {
  padding: 58px 0 26px;
}

.page-title {
  font-size: clamp(38px, 7vw, 72px);
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card a {
  text-decoration: none;
}

.card-link {
  margin-top: auto;
  font-weight: 800;
  color: var(--accent-strong);
}

.article-wrap {
  padding: 52px 0 72px;
}

.article-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px;
  border-radius: 32px;
  background: rgba(255, 252, 248, 0.9);
}

.article-title {
  font-size: clamp(38px, 7vw, 64px);
}

.article-shell h2 {
  font-size: 34px;
  margin-top: 34px;
}

.article-shell h3 {
  font-size: 24px;
  margin-top: 24px;
}

.article-shell ul,
.article-shell ol {
  padding-left: 20px;
}

.article-shell blockquote {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0 18px 18px 0;
  color: var(--text);
}

.article-shell .summary-box,
.article-shell .faq-box {
  margin-top: 22px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(92, 72, 43, 0.08);
}

.article-shell .faq-box h3,
.article-shell .summary-box h3 {
  margin-top: 0;
}

.breadcrumbs {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  text-decoration: none;
}

.site-footer {
  padding: 34px 0 52px;
  border-top: 1px solid rgba(92, 72, 43, 0.08);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

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

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

@media (max-width: 980px) {
  .feature-grid,
  .story-grid,
  .faq-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-minimal {
    width: calc(100% - 24px);
    max-width: 420px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .glass-card,
  .article-shell,
  .cta-band {
    padding: 24px;
    border-radius: 24px;
  }

  .hero-stage,
  .hero-copy {
    min-height: 620px;
  }

  .hero-copy {
    padding: 76px 18px 110px;
  }

  .hero-quote {
    font-size: 18px;
  }

  .store-button {
    min-width: 0;
    width: calc(50% - 7px);
    gap: 10px;
    padding: 10px 12px;
  }

  .store-button strong {
    font-size: 15px;
  }

  .store-button small {
    font-size: 11px;
  }

  .store-badge {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .store-badge img {
    width: 18px;
    height: 18px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 34px 0;
  }

  .hero {
    padding-top: 34px;
  }
}
