:root {
  --bg: #f4f6df;
  --bg-soft: #f9f7ea;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.62);
  --text: #304336;
  --text-soft: #5b6d5d;
  --line: rgba(98, 125, 97, 0.16);
  --mint: #5ccfbf;
  --mint-deep: #27b4a3;
  --gold: #f7b435;
  --gold-deep: #f28b1d;
  --lavender: #c869f4;
  --sky: #87cff6;
  --shadow-soft: 0 18px 44px rgba(109, 132, 85, 0.18);
  --shadow-card: 0 16px 40px rgba(97, 123, 82, 0.15);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --nav-height: 96px;
  --container: min(1180px, calc(100vw - 32px));
  --screen-sm: 148px;
  --screen-md: 188px;
  --screen-lg: 232px;
  --logo-sm: 112px;
  --logo-md: min(100%, 320px);
  --icon-display: 112px;
  --hero-screen-main: 236px;
  --hero-screen-secondary: 192px;
  --hero-logo: 144px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(126, 232, 203, 0.28), transparent 30%),
    radial-gradient(circle at top right, rgba(250, 204, 95, 0.25), transparent 32%),
    linear-gradient(180deg, #d8f6ef 0%, #eef4d0 24%, #f4f6df 58%, #f7f0d8 100%);
  min-width: 320px;
  overflow-x: hidden;
}

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

figure {
  margin: 0;
}

/* Portrait screenshots — keep native 9:16 ratio, never stretch */
.cs-media--portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Landscape logo — keep native ratio */
.cs-media--landscape img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Square icon */
.cs-media--square img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  border: 0;
  background: none;
}

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

.cs-skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.cs-skip-link:focus {
  top: 16px;
}

.cs-page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cs-orb,
.cs-leaf {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.55;
}

.cs-orb--mint {
  width: 280px;
  height: 280px;
  left: -40px;
  top: 140px;
  background: rgba(97, 220, 198, 0.3);
}

.cs-orb--gold {
  width: 220px;
  height: 220px;
  right: -40px;
  top: 420px;
  background: rgba(245, 192, 86, 0.26);
}

.cs-leaf {
  width: 120px;
  height: 120px;
  background: rgba(110, 184, 111, 0.15);
}

.cs-leaf--a {
  bottom: 160px;
  left: 4%;
}

.cs-leaf--b {
  bottom: 300px;
  right: 10%;
}

.cs-header,
main,
.cs-footer {
  position: relative;
  z-index: 1;
}

.cs-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 16px 0 0;
}

.cs-header.is-scrolled {
  backdrop-filter: blur(18px);
}

.cs-nav,
.cs-mobile-menu,
.cs-hero,
.cs-features,
.cs-download,
.cs-faq,
.cs-footer {
  width: var(--container);
  margin: 0 auto;
}

.cs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-soft), var(--shadow-inset);
}

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

.cs-brand img {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(94, 120, 71, 0.18);
}

.cs-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs-brand__text strong,
h1,
h2,
h3,
summary {
  font-family: "Fredoka", sans-serif;
}

.cs-brand__text strong {
  font-size: 1.1rem;
}

.cs-brand__text small {
  color: var(--text-soft);
  font-size: 0.83rem;
}

.cs-nav__panel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-nav__panel a,
.cs-mobile-menu a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--text-soft);
  transition: background-color 0.22s ease, color 0.22s ease;
}

.cs-nav__panel a:hover,
.cs-nav__panel a:focus-visible,
.cs-mobile-menu a:hover,
.cs-mobile-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

.cs-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.cs-mobile-menu {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    background-color 0.2s ease;
}

.cs-btn:hover,
.cs-btn:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.04);
}

.cs-btn--pill,
.cs-btn--store {
  color: #fffef9;
  background: linear-gradient(180deg, #ffc750 0%, #f5a21c 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.56),
    0 14px 24px rgba(219, 146, 28, 0.26);
}

.cs-btn--secondary {
  background: linear-gradient(180deg, #67d9d3 0%, #32bdb5 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.56),
    0 14px 24px rgba(57, 169, 157, 0.24);
}

.cs-btn--full {
  width: 100%;
}

.cs-hero {
  padding: 42px 0 30px;
}

.cs-hero__story {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: center;
}

.cs-hero__visual {
  max-width: calc(var(--hero-screen-main) + var(--hero-screen-secondary) + 56px);
  justify-self: end;
  width: 100%;
}

.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #5b855f;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.cs-hero h1,
.cs-section-head h2,
.cs-download__content h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.cs-hero h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  max-width: 11ch;
}

.cs-hero h1 span {
  color: #2ebdb0;
  text-shadow: 0 10px 20px rgba(75, 191, 170, 0.18);
}

.cs-lead,
.cs-section-head p,
.cs-download__content p,
.cs-feature-card p,
.cs-step p,
.cs-faq__list p,
.cs-footer__brand p {
  color: var(--text-soft);
  line-height: 1.72;
}

.cs-lead {
  max-width: 58ch;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

.cs-hero__actions,
.cs-download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.cs-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.cs-metric {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-card), var(--shadow-inset);
}

.cs-metric strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.2rem;
}

.cs-metric span {
  color: var(--text-soft);
  font-size: 0.93rem;
}

.cs-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.cs-hero__tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-inset);
}

.cs-metric,
.cs-step,
.cs-feature-card,
.cs-download__panel,
.cs-faq__list details,
.cs-stage-card {
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: var(--surface);
  box-shadow: var(--shadow-card), var(--shadow-inset);
}

.cs-stats article {
  padding: 18px;
  border-radius: 22px;
  text-align: center;
}

.cs-stats strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.35rem;
}

.cs-stats span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.cs-stage-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 255, 248, 0.78)),
    linear-gradient(135deg, rgba(255, 203, 97, 0.08), rgba(97, 220, 198, 0.1));
}

.cs-stage-card::before {
  content: "";
  position: absolute;
  inset: auto -8% 28% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 203, 97, 0.32), transparent 70%);
}

.cs-stage-card__board {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  padding-bottom: 4px;
}

.cs-stage-card__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card), var(--shadow-inset);
  text-align: left;
}

.cs-stage-card__brand img {
  width: var(--hero-logo);
  flex-shrink: 0;
  border-radius: 14px;
}

.cs-stage-card__brand p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
  font-weight: 700;
  font-size: 0.95rem;
}

.cs-chapter__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #6c8f62;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.cs-features__trail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.cs-features__trail::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(97, 220, 198, 0.65), rgba(248, 182, 70, 0.72));
  transform: translateY(-50%);
  z-index: 0;
}

.cs-step {
  position: relative;
  z-index: 1;
  padding: 18px;
  border-radius: 24px;
}

.cs-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #69dbcf, #2eb8aa);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  box-shadow: 0 10px 18px rgba(54, 174, 164, 0.22);
}

.cs-step h2 {
  margin: 14px 0 8px;
  font-size: 1.24rem;
}

.cs-step p {
  margin: 0;
  font-size: 0.95rem;
}

.cs-phone {
  margin: 0;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

.cs-phone--main {
  width: var(--hero-screen-main);
  z-index: 2;
}

.cs-phone--secondary {
  width: var(--hero-screen-secondary);
  margin-left: -32px;
  margin-bottom: 6px;
  transform: rotate(4deg);
  z-index: 1;
}

.cs-phone img {
  border-radius: 16px;
}

.cs-chapter__screen {
  width: var(--screen-lg);
  max-width: 100%;
  margin-inline: auto;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
}

.cs-chapter__screen img {
  border-radius: 16px;
}

.cs-features,
.cs-download,
.cs-faq {
  padding: 74px 0 0;
}

.cs-section-head {
  max-width: 760px;
  text-align: center;
  margin: 0 auto 32px;
}

.cs-section-head h2,
.cs-download__content h2 {
  font-size: clamp(2.15rem, 4vw, 3.6rem);
}

.cs-section-head p {
  margin: 16px 0 0;
}

.cs-chapters {
  display: grid;
  gap: 22px;
}

.cs-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--screen-lg);
  gap: 24px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card), var(--shadow-inset);
}

.cs-chapter--gold {
  grid-template-columns: var(--screen-lg) minmax(0, 1fr);
}

.cs-chapter--lavender {
  grid-template-columns: minmax(0, 1fr) var(--screen-lg);
}

.cs-chapter__copy {
  padding: 12px 8px 12px 10px;
}

.cs-chapter__copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.04;
}

.cs-chapter__copy p:last-child {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
  font-size: 1rem;
}

.cs-feature-card h3 {
  margin: 18px 0 10px;
  font-size: 1.5rem;
}

.cs-feature-card p {
  margin: 0;
}

.cs-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.cs-chapter--mint .cs-feature-card__icon {
  background: linear-gradient(180deg, #68dbd0, #2ab8aa);
}

.cs-chapter--gold .cs-feature-card__icon {
  background: linear-gradient(180deg, #ffc751, #f3a11f);
}

.cs-chapter--lavender .cs-feature-card__icon {
  background: linear-gradient(180deg, #da8eff, #be54ec);
}

.cs-download__art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--icon-display) + 36px);
  height: calc(var(--icon-display) + 36px);
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(253, 252, 242, 0.88));
}

.cs-download__art img {
  width: var(--icon-display);
  height: var(--icon-display);
  border-radius: 24px;
  object-fit: contain;
  box-shadow: 0 16px 24px rgba(83, 122, 109, 0.18);
}
.cs-download__panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 30px;
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(244, 255, 246, 0.94)),
    linear-gradient(180deg, rgba(115, 220, 198, 0.08), rgba(255, 190, 92, 0.12));
}

.cs-faq__list {
  display: grid;
  gap: 16px;
}

.cs-faq__list details {
  padding: 22px 24px;
  border-radius: 24px;
}

.cs-faq__list summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.18rem;
}

.cs-faq__list summary::-webkit-details-marker {
  display: none;
}

.cs-faq__list p {
  margin: 12px 0 0;
}

.cs-footer {
  display: grid;
  gap: 18px;
  padding: 74px 0 48px;
}

.cs-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cs-footer__brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 16px;
}

.cs-footer__brand p,
.cs-footer__copy {
  margin: 0;
}

.cs-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-soft);
}

.cs-footer__links a:hover,
.cs-footer__links a:focus-visible {
  color: var(--mint-deep);
}

.cs-footer__copy {
  color: var(--text-soft);
}

.cs-modal[hidden],
.cs-mobile-menu[hidden] {
  display: none;
}

.cs-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.cs-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 63, 46, 0.42);
  backdrop-filter: blur(10px);
}

.cs-modal__card {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 32px));
  margin: 12vh auto 0;
  padding: 28px;
  border-radius: 30px;
  background: #fffef8;
  box-shadow: 0 28px 64px rgba(58, 72, 52, 0.26);
  text-align: center;
}

.cs-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(236, 241, 224, 0.92);
  cursor: pointer;
}

.cs-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 24px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #ffc751, #f4a21e);
  color: #fff;
  box-shadow: 0 14px 24px rgba(219, 146, 28, 0.24);
}

.cs-modal__card h2 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.cs-modal__card p {
  margin: 0 0 20px;
  color: var(--text-soft);
  line-height: 1.7;
}

:focus-visible {
  outline: 3px solid rgba(63, 189, 176, 0.45);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .cs-hero__story,
  .cs-download__panel {
    grid-template-columns: 1fr;
  }

  .cs-hero__visual {
    max-width: calc(var(--hero-screen-main) + var(--hero-screen-secondary) + 40px);
    justify-self: center;
  }

  .cs-chapter,
  .cs-chapter--gold,
  .cs-chapter--lavender {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .cs-chapter__copy {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .cs-header {
    padding-top: 12px;
  }

  .cs-nav {
    border-radius: 26px;
  }

  .cs-nav__panel {
    display: none;
  }

  .cs-menu-toggle {
    display: inline-flex;
  }

  .cs-hero {
    padding-top: 24px;
  }

  .cs-features__trail,
  .cs-hero__metrics {
    grid-template-columns: 1fr;
  }

  .cs-phone--main {
    width: min(50vw, var(--hero-screen-main));
  }

  .cs-phone--secondary {
    width: min(42vw, var(--hero-screen-secondary));
    margin-left: -28px;
    transform: rotate(3deg);
  }

  .cs-stage-card__brand {
    flex-direction: column;
    text-align: center;
  }

  .cs-stage-card__brand img {
    width: min(var(--hero-logo), 68vw);
  }

  .cs-features__trail::before {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 20px, 100%);
    --screen-sm: 132px;
    --screen-md: 168px;
    --screen-lg: 200px;
    --logo-sm: 100px;
    --hero-screen-main: 204px;
    --hero-screen-secondary: 168px;
    --hero-logo: 128px;
  }

  .cs-nav {
    padding: 12px 14px;
    min-height: 72px;
  }

  .cs-brand {
    gap: 10px;
  }

  .cs-brand img {
    width: 44px;
    height: 44px;
  }

  .cs-brand__text small {
    display: none;
  }

  .cs-hero h1 {
    max-width: none;
  }

  .cs-btn,
  .cs-btn--full {
    width: 100%;
  }

  .cs-hero__metrics {
    grid-template-columns: 1fr;
  }

  .cs-stage-card,
  .cs-download__panel,
  .cs-feature-card,
  .cs-faq__list details {
    border-radius: 24px;
  }

  .cs-download__art {
    min-width: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
