@font-face {
    font-family: 'DM Sans';
    src: url('dm-sans.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('space-grotesk.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}

:root {
    color-scheme: light;
    --paper: #f8f7fc;
    --ink: #1d1730;
    --muted: #5e566c;
    --purple: #5733c3;
    --line: #e5e0ee;
    --heading: 'Space Grotesk', sans-serif;
    --body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--purple); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 5px; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; }
h2 { font-size: clamp(2.5rem, 5vw, 4.05rem); }
h3 { font-size: 1.45rem; }
section[id] { scroll-margin-top: 20px; }

.wrap { width: min(100% - 96px, 1152px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; left: 1rem; top: 1rem; padding: .5rem 1rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 10px; }
.brand > span { font: 700 2.05rem/.9 var(--heading); letter-spacing: -.09em; }
.brand-dot { color: var(--purple); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.site-nav a { color: var(--muted); font-weight: 600; font-size: .91rem; text-decoration: none; }
.site-nav a:hover { color: var(--purple); }
.header-download, .action-link { display: inline-flex; align-items: center; gap: 12px; padding: .64rem .96rem; border-radius: 100px; font-size: .9rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
.header-download { background: #ebe4fd; color: #422597; }
.header-download:hover { background: #e1d5fb; }

.hero { display: grid; grid-template-columns: .97fr 1.03fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: 62px 74px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; color: var(--purple); font-size: .73rem; line-height: 1.4; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; background: #8255ef; border-radius: 50%; box-shadow: 0 0 0 4px #ece4ff; margin: 0 4px; }
.hero h1 { max-width: 640px; font-size: clamp(3.15rem, 6.3vw, 6.1rem); line-height: .99; letter-spacing: -.085em; }
.hero h1 em { color: var(--purple); font-style: normal; }
.hero-lead { max-width: 425px; margin-top: 24px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.store-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero .store-links { margin-top: 30px; }
.store-links a { display: inline-block; border-radius: 8px; transition: transform .2s ease; }
.store-links a:hover { transform: translateY(-2px); }
.store-links img { width: auto; height: 46px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .88rem; font-weight: 700; }
.text-link:hover { text-decoration: underline; }
.hero-link { margin-top: 19px; }
.hero-art {
    position: relative;
    isolation: isolate;
    aspect-ratio: 1.034;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid #d7c8f4;
    background: radial-gradient(ellipse at 70% 24%, #f6efff 4%, transparent 44%), linear-gradient(142deg, #dfd0fc 7%, #ede4ff 42%, #cbb4f8 100%);
}
.dial {
    position: absolute;
    width: 85%;
    aspect-ratio: 1;
    top: 5%;
    left: 7.5%;
    border: 1px solid #8a66c54a;
    border-radius: 50%;
}
.dial::before, .dial::after { content: ''; position: absolute; inset: 7%; border-radius: inherit; }
.dial::before { border: 1px solid #8a66c54a; }
.dial::after { inset: 3%; background: repeating-conic-gradient(from 0deg, #8057be90 0deg .35deg, transparent .35deg 6deg); mask-image: radial-gradient(closest-side, transparent 98%, black 98%); }
.hero-phone { position: absolute; width: 39%; filter: drop-shadow(0 12px 20px #33235952); }
.hero-phone-back { left: 12%; top: 13.7%; transform: rotate(-11deg); }
.hero-phone-front { left: 47.5%; top: 7.5%; transform: rotate(10deg); }

.section { padding-block: 88px; }
.steps-section { background: #fff; border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-heading > p { max-width: 295px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 23px; }
.step-image { display: flex; align-items: center; justify-content: center; padding: 22px; }
.step-image-alarms { background: #eee5fb; }
.step-image-missions { background: #ece9fc; }
.step-image-pushups { background: #f2e7f6; }
.step-image img { width: clamp(138px, 17vw, 202px); border-radius: 12px; box-shadow: 0 10px 24px #24123d2e; }
.step-copy { display: flex; align-items: start; gap: 12px; padding: 21px; }
.step-copy p, .feature p { margin-top: 7px; color: var(--muted); }
.step-number { display: inline-grid; flex: 0 0 28px; height: 28px; place-items: center; border-radius: 50%; background: #ece5fd; color: var(--purple); font: 700 .86rem var(--heading); }

.feature-grid { display: grid; grid-template-columns: 1.58fr 1fr; gap: 16px; }
.feature { overflow: hidden; border: 1px solid var(--line); border-radius: 23px; padding: 27px 29px; }
.feature-icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 13px; border-radius: 10px; background: #e6dbfd; color: #4b28a6; font: 700 1.35rem/1 sans-serif; }
.feature-progress { display: grid; grid-template-columns: 1fr .69fr; grid-row: span 2; align-items: center; gap: 20px; background: #eae1fc; border-color: #e2d5f9; }
.feature-progress h3 { font-size: clamp(1.65rem, 3.1vw, 2.55rem); }
.feature-progress img { width: 100%; max-width: 189px; aspect-ratio: 1.16; object-fit: cover; object-position: center 33%; justify-self: end; border-radius: 12px; box-shadow: 0 10px 20px #36205926; }
.feature-timer { background: #fff; }
.feature-sound { background: #f1edfa; }

.faq-section { background: #fff; border-block: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; }
.faq-contact { margin-top: 15px; color: var(--muted); }
.faq-contact a { font-weight: 700; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0; list-style: none; cursor: pointer; font-size: 1.06rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: 0 0 30px; height: 30px; border-radius: 50%; background: linear-gradient(var(--purple), var(--purple)) center / 11px 1px no-repeat, linear-gradient(var(--purple), var(--purple)) center / 1px 11px no-repeat #f1ebfd; }
.faq-list details[open] summary::after { background-size: 11px 1px, 0 0; }
.faq-list p { max-width: 595px; padding: 0 34px 18px 0; color: var(--muted); }

.download-section { padding-block: 62px; }
.download-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(27px, 5vw, 60px); background: radial-gradient(ellipse at 90% 0%, #4e2b8e, transparent 65%), #21153c; color: #fff; border-radius: 25px; }
.download-panel h2 { font-size: clamp(2rem, 4vw, 3.75rem); }
.download-panel p { color: #ded3f4; margin-top: 8px; }
.download-panel :focus-visible { outline-color: #f0dcff; }

.site-footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr 1fr; gap: 24px; padding-block: 37px; }
.footer-tagline { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-direction: column; align-items: start; gap: 5px; overflow-wrap: anywhere; }
.footer-links h2 { margin-bottom: 4px; font-size: 1.05rem; letter-spacing: -.015em; }
.footer-links a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current] { color: var(--purple); text-decoration: underline; }
.footer-bottom { padding-block: 15px 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: .8rem; }

.legal { max-width: 760px; padding-block: 55px 80px; font-size: 1.04rem; overflow-wrap: anywhere; }
.legal h1 { margin-top: 23px; font-size: clamp(2.8rem, 8vw, 5rem); }
.legal h2 { margin-top: 34px; font-size: clamp(1.55rem, 5vw, 2.05rem); }
.legal p, .legal ul, .legal ol { margin-top: 13px; color: var(--muted); }
.legal li + li { margin-top: 9px; }
.legal .legal-date { margin-bottom: 25px; font-size: .9rem; }
.back-link { text-decoration: none; color: var(--purple); font-size: .91rem; font-weight: 700; }
.back-link:hover { text-decoration: underline; }
.action-link { margin: 3px 0 8px; background: var(--purple); color: #fff; }
.action-link:hover { background: #45259f; }

@media (max-width: 920px) {
    .wrap { width: calc(100% - 64px); }
    .hero { gap: 22px; }
    .hero h1 { font-size: clamp(2.95rem, 7.15vw, 5.2rem); }
    .desktop-break { display: none; }
    .hero .store-links img, .download-panel .store-links img { height: 39px; }
    .feature { padding: 23px; }
}

@media (max-width: 700px) {
    .wrap { width: calc(100% - 40px); }
    .header-inner { min-height: 65px; gap: 10px; }
    .brand img { width: 32px; height: 32px; }
    .brand > span { font-size: 1.8rem; }
    .site-nav { gap: 12px; }
    .site-nav a { font-size: .82rem; }
    .header-download { gap: 6px; padding: .48rem .72rem; font-size: .81rem; }
    .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 43px 47px; }
    .hero-copy { max-width: 550px; }
    .hero h1 { max-width: 100%; font-size: clamp(2.25rem, 11.65vw, 5.3rem); }
    .desktop-break { display: initial; }
    .hero-lead { margin-top: 17px; }
    .hero .store-links { margin-top: 21px; }
    .hero-link { margin-top: 14px; }
    .hero-art { width: 100%; max-width: 510px; justify-self: center; border-radius: 21px; }
    .section { padding-block: 58px; }
    .section-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 23px; }
    .section-heading > p { max-width: 375px; }
    .steps { grid-template-columns: 1fr; gap: 13px; }
    .step { display: grid; grid-template-columns: .86fr 1fr; border-radius: 16px; }
    .step-image { padding: 13px; }
    .step-image img { width: 100%; max-width: 165px; border-radius: 7px; }
    .step-copy { align-self: center; flex-direction: column; gap: 9px; padding: 15px; }
    .step-number { flex-basis: auto; width: 24px; height: 24px; }
    .step h3 { font-size: 1.22rem; }
    .step-copy p { font-size: .9rem; }
    .feature-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
    .feature { border-radius: 16px; padding: 17px; }
    .feature-progress { grid-column: 1 / -1; grid-row: auto; }
    .feature h3 { font-size: 1.3rem; }
    .feature-progress h3 { font-size: clamp(1.6rem, 5vw, 2.3rem); }
    .feature p { font-size: .92rem; }
    .faq-layout { grid-template-columns: 1fr; gap: 23px; }
    .download-section { padding-block: 37px; }
    .download-panel { flex-direction: column; align-items: start; gap: 16px; }
    .footer-grid { grid-template-columns: .75fr 1.25fr; gap: 19px; padding-block: 27px; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .legal { padding-block: 38px 54px; }
}

@media (max-width: 425px) {
    .site-nav { display: none; }
    .download-panel .store-links { gap: 8px; }
    .download-panel .store-links img { height: 35px; }
}

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