:root {
  color-scheme: light;
  --ink: #251841;
  --muted: #615875;
  --purple: #6534c4;
  --purple-dark: #4b249c;
  --pink: #ed4aa4;
  --yellow: #ffd65a;
  --paper: #fffaf5;
  --lavender: #eee7ff;
  --card: #ffffff;
  --line: #ded5ec;
  --shadow: 0 22px 55px rgba(64, 31, 119, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { text-wrap: pretty; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 10px 14px; color: #fff; background: var(--purple-dark); border-radius: 9px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 15px 0; background: rgba(255, 250, 245, 0.92); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; text-decoration: none; }
.brand img { width: 44px; border-radius: 11px; }
.site-header nav, footer nav { display: flex; align-items: center; gap: 22px; }
.site-header nav a, footer nav a { font-size: 0.92rem; font-weight: 740; text-decoration: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr); align-items: center; gap: clamp(44px, 8vw, 110px); width: min(1160px, calc(100% - 40px)); min-height: 670px; margin: 0 auto; padding: 72px 0 90px; }
.eyebrow { margin: 0 0 13px; color: var(--purple-dark); font-size: 0.78rem; font-weight: 880; letter-spacing: 0.11em; text-transform: uppercase; }
h1 { max-width: 740px; margin: 0; font-size: clamp(3.7rem, 7.5vw, 7.4rem); line-height: 0.92; letter-spacing: -0.065em; }
.hero-lede { max-width: 650px; margin: 27px 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 21px; border: 2px solid transparent; border-radius: 14px; font-weight: 820; text-align: center; text-decoration: none; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--purple); }
.button-primary:hover { background: var(--purple-dark); }
.button-secondary { border-color: #bfb4cc; }
.button-secondary:hover { border-color: var(--purple); }
.hero-art { position: relative; display: grid; min-height: 570px; place-items: center; padding: 44px; overflow: hidden; background: linear-gradient(145deg, #ddd0ff, #ffcce9); border-radius: 42px; box-shadow: var(--shadow); }
.phone { position: relative; width: min(100%, 300px); padding: 9px; overflow: hidden; background: #17131f; border: 2px solid #342847; border-radius: 42px; box-shadow: 0 19px 45px rgba(37, 24, 65, 0.25); }
.phone img { width: 100%; border-radius: 32px; }
.phone-hero { z-index: 2; width: min(100%, 286px); transform: rotate(2deg); }
.proof-bar { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 22px 20px; color: #fff; background: var(--purple-dark); }
.proof-bar strong { font-size: 1.16rem; }
.proof-bar span { color: var(--yellow); letter-spacing: 0.12em; }
.proof-bar p { margin: 0; color: #e4d9f8; }

.section { padding: 110px max(20px, calc((100vw - 1080px) / 2)); }
.section-heading { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.section-heading h2, .parent-copy h2, .download-section h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 0.98; letter-spacing: -0.05em; }
.section-heading > p:last-child { margin: 17px auto 0; color: var(--muted); font-size: 1.06rem; }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin: 0; padding: 0; list-style: none; }
.step-grid li { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 12px 32px rgba(64, 31, 119, 0.07); }
.step-number { display: grid; width: 43px; height: 43px; place-items: center; color: #fff; background: var(--purple); border-radius: 50%; font-weight: 900; }
.step-grid h3 { margin: 19px 0 0; font-size: 1.42rem; }
.step-grid p { margin: 8px 0 0; color: var(--muted); }

.screens { color: #fff; background: #2b174e; }
.section-heading-light .eyebrow { color: #d5bdff; }
.section-heading-light > p:last-child { color: #d3c8e5; }
.screen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: clamp(18px, 4vw, 42px); }
.screen-grid figure { margin: 0; text-align: center; }
.screen-grid .phone { margin: 0 auto; }
.screen-grid figure:nth-child(2) { transform: translateY(-24px); }
.screen-grid figcaption { margin-top: 17px; color: #eee7f8; font-weight: 790; }

.free-section { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr); align-items: center; gap: clamp(42px, 8vw, 105px); color: #fff; background: #2b174e; }
.free-copy { max-width: 590px; }
.free-copy .eyebrow { color: #d5bdff; }
.free-copy h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 0.98; letter-spacing: -0.05em; }
.free-copy > p:not(.eyebrow) { margin: 24px 0 0; color: #d9cee9; font-size: 1.08rem; }
.free-copy .button { margin-top: 28px; background: var(--pink); }
.free-copy .button:hover { background: #d83b91; }
.reward-art { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(14px, 2.5vw, 28px); }
.reward-art .phone { width: 100%; max-width: 276px; margin: 0 auto; }
.phone-collection { transform: translateY(36px); }

.parent-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr); align-items: center; gap: clamp(40px, 8vw, 100px); }
.parent-copy > p:not(.eyebrow) { max-width: 660px; margin: 22px 0 0; color: var(--muted); font-size: 1.1rem; }
.free-card { padding: clamp(30px, 5vw, 48px); color: #fff; background: linear-gradient(145deg, var(--purple-dark), #7c3bd1); border-radius: 30px; box-shadow: var(--shadow); }
.free-card .eyebrow { color: var(--yellow); }
.free-card h3 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.05; letter-spacing: -0.035em; }
.free-card p:not(.eyebrow) { color: #e9dff8; }

.download-section { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; width: min(1080px, calc(100% - 40px)); margin: 100px auto; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 29px; box-shadow: var(--shadow); }
.download-section img { width: 110px; border-radius: 25px; }
.download-section h2 { max-width: 670px; font-size: clamp(2rem, 4vw, 3.4rem); }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 50px; border-top: 1px solid var(--line); }
footer p { margin: 5px 0 0; color: var(--muted); font-size: 0.9rem; }
a:focus-visible { outline: 3px solid #e99316; outline-offset: 4px; }

@media (max-width: 860px) {
  .hero, .parent-section, .free-section { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-art { min-height: 580px; }
  .step-grid, .screen-grid { grid-template-columns: 1fr; }
  .screen-grid { gap: 50px; }
  .screen-grid figure:nth-child(2) { transform: none; }
  .download-section { grid-template-columns: auto 1fr; }
  .download-section .button { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .site-header { width: calc(100% - 28px); }
  .site-header nav a:not(:last-child) { display: none; }
  .hero { width: calc(100% - 28px); padding: 55px 0 76px; }
  h1 { font-size: clamp(3.25rem, 16vw, 4.8rem); }
  .hero-actions .button { width: 100%; }
  .hero-art { min-height: 535px; padding: 36px 24px; border-radius: 30px; }
  .proof-bar { flex-wrap: wrap; gap: 5px 12px; text-align: center; }
  .proof-bar p { flex-basis: 100%; }
  .section { padding: 82px 14px; }
  .step-grid li { padding: 25px; }
  .parent-section { padding-right: 14px; padding-left: 14px; }
  .free-card { padding: 29px 24px; }
  .free-section { padding-right: 20px; padding-left: 20px; }
  .free-copy h2 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .reward-art { gap: 12px; }
  .phone-collection { transform: translateY(22px); }
  .download-section { grid-template-columns: 1fr; width: calc(100% - 28px); margin: 74px auto; text-align: center; }
  .download-section img { margin: 0 auto; }
  footer { flex-direction: column; align-items: flex-start; width: calc(100% - 28px); }
}

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