:root {
    color-scheme: light;
    --ink: #151612;
    --paper: #ffffff;
    --muted: #66685e;
    --line: #dedfd8;
    --lime: #d5f75b;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #698a15; outline-offset: 6px; }
.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 50; top: -100px; left: 16px; padding: 16px; color: white; background: var(--ink); }
.skip-link:focus { top: 12px; }
.header-inner { display: flex; min-height: 88px; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.375rem; font-weight: 750; letter-spacing: -.055em; white-space: nowrap; }
.brand img { mix-blend-mode: multiply; }
.desktop-nav { display: flex; margin-left: auto; gap: 30px; font-size: .875rem; }
.desktop-nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 58px; padding: 16px 24px; border: 1px solid transparent; border-radius: 3px; font-weight: 600; font-size: 1rem; line-height: 1.4; transition: background 160ms, color 160ms, transform 160ms; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #35382b; transform: translateY(-2px); }
.header-download { min-height: 44px; font-size: .875rem; padding: 10px 17px; margin-left: 12px; }
.hero { text-align: center; padding-block: 63px 35px; }
.eyebrow { font-size: .75rem; line-height: 1.5; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hero .eyebrow { margin-bottom: 23px; }
h1 { font-size: clamp(4rem, 8vw, 7.5rem); line-height: .98; letter-spacing: -.065em; font-weight: 650; }
.living-word { display: inline-block; position: relative; z-index: 0; }
.living-word::after { content: ""; position: absolute; height: .16em; left: .035em; right: -.02em; bottom: .015em; background: var(--lime); z-index: -1; }
.hero-description { margin-top: 26px; font-size: 1.125rem; line-height: 1.6; color: var(--muted); }
.hero-download { margin-top: 26px; }
.apple-icon { flex: 0 0 auto; }
.button-arrow { font-size: 1.25rem; }
.download-note { font-size: .8125rem; line-height: 1.6; color: var(--muted); margin-top: 13px; }
.scroll-invitation { display: flex; width: fit-content; gap: 12px; align-items: center; margin: 40px auto 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.scroll-invitation span { font-size: 1.125rem; }
/* The unenhanced page is a readable, ordinary three-step walkthrough. */
.scroll-story { --story-paper: #11120f; --story-ink: #fff; background: var(--story-paper); color: var(--story-ink); }
.story-stage { background: var(--story-paper); color: var(--story-ink); overflow: clip; }
.story-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; font-size: .75rem; letter-spacing: .075em; }
.skip-story { opacity: .75; padding: 7px 0; white-space: nowrap; letter-spacing: 0; }
.skip-story:hover { opacity: 1; }
.story-chapter { padding: 40px 24px; text-align: center; }
.chapter-number { font-size: .75rem; letter-spacing: .13em; margin-bottom: 12px; }
.chapter-copy h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 550; }
.chapter-copy > p:last-child { font-size: 1rem; line-height: 1.5; margin-top: 13px; opacity: .7; }
.chapter-visual { display: flex; justify-content: center; align-items: center; margin-top: 28px; }
.story-phone { height: 440px; aspect-ratio: 414 / 900; border: 5px solid #41433c; border-radius: 28px; overflow: hidden; background: #000; }
.story-phone img { width: 100%; height: 100%; object-fit: cover; }
.story-controls, .distractions, .scene-word { display: none; }
.story-chapter:last-child { background: var(--lime); color: var(--ink); }
/* Scroll enhances the section itself; the browser retains native scrolling. */
.has-scroll-story .scroll-story { height: 350svh; }
.has-scroll-story .story-stage { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; transition: background-color 200ms, color 200ms; }
.has-scroll-story .scroll-story[data-active-step="2"] { --story-paper: var(--lime); --story-ink: var(--ink); }
.has-scroll-story .story-topline { flex: 0 0 64px; padding-block: 12px; }
.has-scroll-story .chapter-deck { position: relative; flex: 1; min-height: 0; }
.has-scroll-story .story-chapter { position: absolute; inset: 0; display: flex; align-items: center; flex-direction: column; padding: 9px 24px 4px; background: transparent; color: inherit; opacity: 0; visibility: hidden; pointer-events: none; z-index: 2; }
.has-scroll-story .story-chapter:first-of-type { opacity: 1; visibility: visible; }
.has-scroll-story .chapter-copy { position: relative; flex: 0 0 auto; z-index: 5; }
.has-scroll-story .chapter-visual { flex: 1; min-height: 0; width: 100%; margin-top: 24px; padding: 12px 0; }
.has-scroll-story .story-phone { height: 100%; max-height: 480px; max-width: 70vw; flex: 0 0 auto; transform: translateY(var(--phone-y, 0px)) rotate(var(--phone-tilt, -5deg)) scale(var(--phone-scale, .94)); }
.has-scroll-story .scene-word { display: block; position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: clip; }
.scene-word > span { position: absolute; left: 50%; top: 57%; font-size: clamp(5rem, 24vw, 26rem); line-height: 1; font-weight: 750; letter-spacing: -.065em; white-space: nowrap; opacity: .085; transform: translate(-50%, -50%); }
.scene-word .word-focus { opacity: 0; }
.has-scroll-story .distractions { display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.app-note { position: absolute; top: 61%; left: 50%; display: flex; align-items: center; gap: 11px; padding: 14px 17px; border: 1px solid #54574c; background: #fff; color: var(--ink); border-radius: 3px; font-size: .9375rem; font-weight: 650; white-space: nowrap; }
.app-note small { display: block; margin-top: 5px; color: #73756d; font-size: .75rem; font-weight: 400; }
.app-logo { width: 30px; height: 30px; object-fit: contain; flex: 0 0 auto; }
.has-scroll-story .story-controls { display: flex; justify-content: center; gap: 22px; flex: 0 0 83px; padding: 16px 24px 22px; z-index: 4; }
.story-controls button { width: 130px; padding: 0 0 8px; background: transparent; border: none; color: inherit; cursor: pointer; font-size: .8125rem; text-align: left; opacity: .6; }
.story-controls button[aria-pressed="true"] { opacity: 1; }
.story-controls button > span:last-child { display: flex; gap: 12px; }
.story-controls b { font-weight: 500; }
.step-track { display: block; height: 2px; background: #77796f; margin-bottom: 14px; overflow: hidden; }
.step-track > span { display: block; height: 100%; background: currentColor; transform-origin: left; transform: scaleX(var(--step-progress, 0)); }
.closing-section { text-align: center; background: var(--lime); }
.closing-inner { padding-block: 87px 83px; }
.closing-inner .eyebrow { margin-bottom: 29px; }
.closing-inner h2 { font-size: clamp(4.3rem, 11vw, 10rem); font-weight: 650; letter-spacing: -.065em; line-height: .94; }
.closing-inner .button { margin-top: 37px; }
.closing-inner .download-note { color: #485021; }
.faq-section { max-width: 740px; padding-block: 80px 70px; }
.section-heading { text-align: center; margin-bottom: 33px; }
.section-heading .eyebrow { color: var(--muted); margin-bottom: 15px; }
.section-heading h2 { font-size: 2.75rem; font-weight: 550; letter-spacing: -.055em; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 23px 0; min-height: 70px; font-weight: 500; font-size: 1rem; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary span { font-size: 1.5rem; font-weight: 300; transition: transform 160ms; }
details[open] summary span { transform: rotate(45deg); }
details > p { padding: 0 30px 24px 0; font-size: 1rem; line-height: 1.7; color: var(--muted); }
details a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer { padding-block: 28px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-footer .brand { font-size: 1.125rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: .875rem; color: var(--muted); }
.copyright { margin-top: 20px; color: var(--muted); font-size: .75rem; }
@media (max-width: 760px) {
    .container { width: calc(100% - 40px); }
    .header-inner { min-height: 74px; gap: 12px; justify-content: space-between; }
    .brand { font-size: 1.125rem; gap: 5px; }
    .brand img { width: 28px; height: 28px; }
    .desktop-nav { display: none; }
    .header-download { margin-left: 0; padding-inline: 12px; gap: 10px; white-space: nowrap; }
    .hero { padding-block: 50px 29px; }
    .hero .eyebrow { font-size: .75rem; letter-spacing: .055em; }
    h1 { font-size: clamp(3rem, 12.2vw, 5rem); }
    .hero-description { font-size: 1.0625rem; margin-top: 25px; }
    .hero-download { padding-inline: 20px; gap: 14px; max-width: 100%; }
    .scroll-invitation { margin-top: 31px; }
    .story-topline { font-size: .75rem; letter-spacing: .025em; }
    .has-scroll-story .story-topline { flex-basis: 58px; }
    .has-scroll-story .story-chapter { padding: 15px 20px 4px; }
    .chapter-copy h2 { font-size: clamp(1.75rem, 6.5vw, 2.5rem); max-width: 15ch; margin-inline: auto; }
    .chapter-copy > p:last-child { font-size: 1rem; max-width: 28ch; margin: 13px auto 0; }
    .chapter-number { margin-bottom: 12px; }
    .has-scroll-story .chapter-visual { margin-top: 12px; padding-block: 16px 12px; }
    .has-scroll-story .story-phone { max-height: 400px; border-width: 4px; border-radius: 25px; }
    .app-note { padding: 11px 13px; font-size: .8125rem; gap: 8px; }
    .app-logo { width: 25px; height: 25px; }
    .app-note small { font-size: .75rem; }
    .has-scroll-story .story-controls { flex-basis: 78px; gap: 16px; padding: 14px 26px 18px; }
    .story-controls button { width: 95px; font-size: .8125rem; }
    .story-controls button > span:last-child { gap: 8px; }
    .closing-inner { padding-block: 65px 63px; }
    .closing-inner h2 { font-size: clamp(4rem, 16vw, 6rem); }
    .closing-inner .download-note { font-size: .8125rem; }
    .faq-section { padding-block: 60px 55px; }
    .section-heading h2 { font-size: 2.4rem; }
    .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
    .site-footer nav { width: 100%; justify-content: space-between; gap: 16px; }
}
@media (max-height: 660px) and (min-width: 761px) {
    .has-scroll-story .story-topline { flex-basis: 46px; }
    .chapter-copy h2 { font-size: 2.2rem; }
    .chapter-copy > p:last-child { margin-top: 7px; }
    .chapter-number { margin-bottom: 7px; }
    .has-scroll-story .chapter-visual { margin-top: 7px; padding-block: 3px; }
    .has-scroll-story .story-controls { flex-basis: 64px; padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

.rhythm-section { padding-block: 90px; }
.rhythm-section .section-heading > p:last-child { color: var(--muted); line-height: 1.6; margin-top: 18px; }
.rhythm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 56px; }
.rhythm-grid article { border-top: 1px solid var(--ink); padding-top: 17px; display: flex; flex-direction: column; align-items: flex-start; }
.rhythm-number { font-size: .75rem; color: var(--muted); }
.rhythm-grid h3 { font-size: 1.2rem; font-weight: 550; letter-spacing: -.025em; margin-block: 25px 12px; }
.rhythm-grid p { font-size: .9375rem; line-height: 1.65; color: var(--muted); margin-bottom: 24px; }
.rhythm-label { font-size: .6875rem; text-transform: uppercase; letter-spacing: .07em; border-bottom: 3px solid var(--lime); padding-bottom: 5px; margin-top: auto; }
.setup-note { margin-top: 45px; font-size: .875rem; color: var(--muted); line-height: 1.7; text-align: center; }
.setup-note span { margin-right: 8px; }
@media (max-width: 900px) { .rhythm-grid { grid-template-columns: repeat(2, 1fr); row-gap: 38px; } }
@media (max-width: 520px) {
    .rhythm-section { padding-block: 60px; }
    .rhythm-grid { grid-template-columns: 1fr; margin-top: 36px; gap: 30px; }
    .rhythm-grid h3 { margin-top: 14px; }
    .rhythm-grid p { margin-bottom: 14px; }
    .setup-note { text-align: left; margin-top: 32px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
input:focus-visible { outline: 3px solid var(--ink); outline-offset: 8px; }
.time-back .closing-inner { max-width: 760px; }
.time-back .closing-inner .eyebrow { margin-bottom: 20px; }
.time-back .closing-inner h2 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 550; line-height: 1.06; }
.time-research { max-width: 390px; margin: 32px auto 0; color: #485021; font-size: .6875rem; line-height: 1.6; }
.time-research a { display: block; margin-top: 4px; font-size: .6875rem; text-decoration: underline; text-underline-offset: 3px; }
.time-result { margin: 35px 0 32px; }
.time-result output { display: block; }
.time-result [data-time-days] { display: block; font-size: clamp(6rem, 16vw, 10rem); line-height: .98; font-weight: 550; letter-spacing: -.085em; font-variant-numeric: tabular-nums; }
.time-result-unit { display: block; font-size: 1.5rem; letter-spacing: -.035em; margin-top: 8px; }
.time-controls { max-width: 440px; margin: 36px auto 0; }
.time-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .875rem; }
.time-label > span { font-weight: 600; font-variant-numeric: tabular-nums; }
.time-controls input { appearance: none; display: block; width: 100%; height: 44px; margin: 14px 0 10px; background: transparent; cursor: pointer; }
.time-controls input::-webkit-slider-runnable-track { background: #a2bb45; height: 3px; }
.time-controls input::-webkit-slider-thumb { appearance: none; width: 14px; height: 27px; margin-top: -12px; border-radius: 2px; background: var(--ink); border: 0; }
.time-controls input::-moz-range-track { background: #a2bb45; height: 3px; }
.time-controls input::-moz-range-thumb { width: 14px; height: 27px; border-radius: 2px; background: var(--ink); border: 0; }
.time-controls input:disabled { opacity: .5; cursor: default; }
.time-presets { display: flex; gap: 18px; justify-content: center; }
.time-presets button { min-height: 44px; padding: 8px 2px; border: 0; border-bottom: 1px solid transparent; background: transparent; color: #485021; font-size: .8125rem; cursor: pointer; }
.time-presets button[aria-pressed=true] { color: var(--ink); border-bottom-color: var(--ink); }
.time-month { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; max-width: 340px; margin: 0 auto; }
.time-month > span { height: 22px; background: #bdd657; position: relative; }
.time-month > span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--day-fill, 0%); background: var(--ink); transition: width .2s ease; }
.time-explanation { margin-top: 24px; color: var(--ink); font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.3; }
.time-estimate { margin-top: 10px; color: #485021; font-size: .6875rem; line-height: 1.6; }
.time-back .button { margin-top: 30px; }
@media (prefers-reduced-motion: reduce) {
    .time-month > span::after { transition: none; }
}
@media (max-width: 520px) {
    .time-result { margin-block: 30px; }
    .time-result-unit { font-size: 1.3rem; }
    .time-label { font-size: .8125rem; }
    .time-back .button { width: 100%; padding-inline: 14px; gap: 14px; }
}

/* The final chapter is a live, scroll-driven preview rather than a screenshot. */
.story-phone-live { background: #f8f9f4; }
.story-phone-live > svg { width: 100%; height: 100%; display: block; }
.demo-digits { font-variant-numeric: tabular-nums; }
#chapter-focus .chapter-visual { flex-direction: column; gap: 12px; }
.focus-demo-hint { font-size: .6875rem; line-height: 1.4; opacity: .65; flex: 0 0 auto; margin: 0; }
.has-scroll-story #chapter-focus .story-phone-live { min-height: 0; flex-shrink: 1; }
.journey-progress { display: none; }
.has-scroll-story .journey-progress { display: block; position: absolute; z-index: 6; inset: 0 0 auto; height: 3px; background: #77796f33; }
.journey-progress span { display: block; width: 100%; height: 100%; background: var(--story-ink); transform: scaleX(var(--journey-progress, 0)); transform-origin: left; }
.has-scroll-story .step-track { height: 3px; }
@media (min-width: 761px) and (min-height: 800px) {
    .has-scroll-story .story-phone { max-height: 540px; }
}
@media (max-height: 660px) {
    .focus-demo-hint { font-size: .625rem; }
    #chapter-focus .chapter-visual { gap: 6px; }
}

@media (max-width: 760px) and (min-height: 780px) {
    .has-scroll-story .story-phone { max-height: 480px; }
}

.focus-motion-copy { display: none; }
.has-scroll-story .focus-motion-copy { display: inline; }
.has-scroll-story .focus-static-copy { display: none; }
