/* Shared homepage and account-page styling, scoped away from the app. */
.landing-page {
    --ink: #243c35;
    --ink-soft: #606b63;
    --bg-main: #f8f9f4;
    --surface: #ffffff;
    --surface-alt: #edf1e7;
    --border: #dfe5da;
    --cfy-green: #35674d;
    --cfy-deep: #213e32;
    --cfy-lime: #dcec99;
    --cfy-sage: #dfe9dc;
    --cfy-chart-green: #4b795d;
    --cfy-chart-gold: #ad8234;
    --cfy-chart-blue: #738cba;
    background: var(--bg-main);
    font-size: 16px;
    line-height: 1.55;
}
:root[data-theme="dark"] .landing-page {
    --ink: #edf1e8;
    --ink-soft: #afbdaf;
    --bg-main: #17241e;
    --surface: #21332a;
    --surface-alt: #2b4034;
    --border: #3c5143;
    --cfy-green: #b8d8ac;
    --cfy-deep: #dcec99;
    --cfy-sage: #304739;
    --cfy-chart-green: #a1c596;
    --cfy-chart-gold: #dabb78;
    --cfy-chart-blue: #a2b6e0;
}
.landing-page .ambient-bg { display: none; }
.landing-page .container { width: min(1200px, 90vw); }
.landing-page main { padding: 0; }
.landing-page .site-header, :root[data-theme="dark"] .landing-page .site-header { background: var(--bg-main); border-bottom: 1px solid var(--border); }
.landing-page .nav { grid-template-columns: auto 1fr auto; padding: 20px 0; }
.cfy-wordmark { font-family: "Playfair Display", Georgia, serif; font-size: 27px; font-weight: 600; letter-spacing: -1px; }
.cfy-nav { display: flex; justify-self: center; align-items: center; gap: 27px; font-size: 14px; }
.cfy-nav a, .cfy-footer nav a { transition: color .15s; }
.cfy-nav a:hover, .cfy-footer nav a:hover { color: var(--cfy-green); text-decoration: underline; text-underline-offset: 5px; }
.landing-page .nav-utility-guest { grid-column: -2 / -1; grid-row: 1; font-size: 14px; gap: 20px; }
.landing-page .nav-utility-guest .btn { background: var(--cfy-deep); color: var(--bg-main); padding: 9px 21px; border: 0; border-radius: 6px; box-shadow: none; font: inherit; }
.landing-page .theme-toggle { background: transparent; color: var(--ink-soft); border-color: var(--border); width: 34px; height: 34px; }
.landing-page a:focus-visible, .landing-page button:focus-visible, .landing-page summary:focus-visible { outline: 3px solid var(--cfy-green); outline-offset: 5px; }
.cfy-skip { position: fixed; top: -100px; left: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 12px 20px; z-index: 50; }
.cfy-skip:focus { top: 12px; }
.cfy-home section[id] { scroll-margin-top: 105px; }
.cfy-home h1, .cfy-home h2, .cfy-home h3 { font-family: "Source Sans 3", sans-serif; letter-spacing: -.035em; font-weight: 600; }
.cfy-home h2 { font-size: clamp(34px, 3.6vw, 49px); line-height: 1.12; }
.cfy-home h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.cfy-home h1 em, .cfy-home h2 em { font-family: "Playfair Display", Georgia, serif; font-weight: 500; color: var(--cfy-green); }
.cfy-eyebrow { display: flex; align-items: center; gap: 9px; color: var(--cfy-green); font-size: 11px; letter-spacing: .11em; font-weight: 600; margin-bottom: 19px; }
.cfy-spark { font-size: 25px; line-height: 1; }
.cfy-hero { display: grid; place-items: center; padding: 84px 0 100px; text-align: center; }
.cfy-hero-copy { width: 100%; max-width: 880px; }
.cfy-hero h1 { font-size: clamp(64px, 7.2vw, 100px); line-height: 1.04; letter-spacing: -.05em; margin: 0 auto 30px; text-wrap: balance; }
.cfy-hero .cfy-eyebrow { justify-content: center; font-size: 11px; letter-spacing: .06em; margin-bottom: 26px; }
.cfy-hero .cfy-intro { font-size: 21px; color: var(--ink); margin-bottom: 12px; font-weight: 500; text-wrap: balance; }
.cfy-hero-description { max-width: 580px; margin: 0 auto; font-size: 18px; line-height: 1.7; text-wrap: balance; }
.cfy-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px; margin: 32px 0 19px; }
.cfy-button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 14px 22px; border: 1px solid transparent; border-radius: 6px; background: var(--cfy-deep); color: var(--bg-main); font-size: 15px; font-weight: 600; transition: transform .15s, box-shadow .15s; }
.cfy-button:hover { transform: translateY(-2px); box-shadow: 0 5px 16px #1d3d3020; }
.cfy-button > span { font-size: 21px; line-height: 1; }
.cfy-text-link { display: inline-flex; align-items: center; gap: 15px; color: var(--ink); font-size: 14px; font-weight: 600; text-underline-offset: 5px; }
.cfy-text-link:hover { text-decoration: underline; }
.cfy-hero-note { font-size: 12px; margin: 0; }
.cfy-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cfy-overline { display: block; font-size: 9px; font-weight: 600; color: var(--ink-soft); letter-spacing: .1em; margin-bottom: 6px; }
.cfy-example { flex-shrink: 0; border: 1px solid var(--border); border-radius: 4px; padding: 3px 7px; color: var(--ink-soft); font-size: 10px; white-space: nowrap; }
.cfy-reading { color: var(--cfy-chart-green); }
.cfy-movement { color: var(--cfy-chart-gold); }
.cfy-focus { color: var(--cfy-chart-blue); }
.cfy-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.cfy-principles { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 23px 0; gap: 20px; font-size: 15px; }
.cfy-principles span { display: flex; align-items: center; gap: 15px; }
.cfy-principles small { font-size: 11px; color: var(--cfy-green); }
.cfy-section { padding: 97px 0; }
.cfy-section-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 100px; margin-bottom: 44px; }
.cfy-section-heading h2 { margin: 0; }
.cfy-section-heading > p { margin: 0; font-size: 16px; max-width: 440px; }
.cfy-analytics-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 65px; }
.cfy-insight-card { background: var(--surface-alt); border: 1px solid var(--border); border-radius: 10px; padding: 26px 30px 20px; }
.cfy-insight-card h3 { font-size: 22px; margin-top: 7px; }
.cfy-week-chart { display: flex; align-items: flex-end; gap: 16px; height: 195px; padding: 30px 4px 0; margin: 10px 0 15px; }
.cfy-week-chart > div { height: 100%; flex: 1; display: grid; grid-template-rows: 16px minmax(0, 1fr) 16px; justify-items: center; gap: 6px; }
.cfy-week-chart i { display: block; align-self: end; width: 100%; max-width: 38px; height: var(--completion); background: var(--cfy-chart-green); border-radius: 4px 4px 0 0; opacity: .82; }
.cfy-week-chart > div:nth-child(5) i { opacity: .4; }
.cfy-week-chart > div:nth-child(6) i { opacity: 1; }
.cfy-week-chart span, .cfy-week-chart small { font-size: 10px; color: var(--ink-soft); }
.cfy-chart-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 21px 0 0; font-size: 11px; }
.cfy-insight-list { display: grid; gap: 28px; }
.cfy-insight-list article { display: flex; gap: 18px; }
.cfy-line-icon { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 6px; color: var(--cfy-green); font-size: 24px; line-height: 1; }
.cfy-insight-list h3 { font-size: 19px; margin: 0 0 6px; }
.cfy-insight-list p { font-size: 14px; margin: 0; }
.cfy-timeframes { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); margin-top: 47px; padding-top: 27px; gap: 26px; }
.cfy-timeframes article { padding-left: 23px; border-left: 1px solid var(--border); }
.cfy-timeframes article:first-child { padding-left: 0; border: 0; }
.cfy-timeframes article > span { float: right; color: var(--ink-soft); font-size: 10px; }
.cfy-timeframes h3 { font-size: 21px; margin: 0 0 7px; }
.cfy-timeframes p { font-size: 13px; max-width: 175px; margin: 0; }
.cfy-data-note { font-size: 11px; margin: 26px 0 0; }
.cfy-compare { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; border-top: 1px solid var(--border); }
.cfy-section-copy h2 { margin-bottom: 23px; }
.cfy-section-copy > p:not(.cfy-eyebrow) { font-size: 15px; max-width: 375px; }
.cfy-section-copy .cfy-text-link { margin-top: 10px; }
.cfy-comparison-card { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); padding: 27px; }
.cfy-comparison-card h3 { font-size: 20px; }
.cfy-compare-table-wrap { overflow-x: auto; margin: 20px 0 0; }
.cfy-compare-table { border-collapse: collapse; width: 100%; font-size: 14px; text-align: left; }
.cfy-compare-table thead { font-size: 11px; color: var(--ink-soft); }
.cfy-compare-table th, .cfy-compare-table td { padding: 20px 9px; border-bottom: 1px solid var(--border); }
.cfy-compare-table th { font-weight: 500; }
.cfy-compare-table th:first-child { padding-left: 0; }
.cfy-compare-table tbody th { white-space: nowrap; font-weight: 600; }
.cfy-compare-table th:last-child, .cfy-compare-table td:last-child { text-align: right; padding-right: 0; }
.cfy-compare-table td:last-child { font-size: 19px; }
.cfy-compare-table small { color: var(--ink-soft); font-size: 11px; }
.cfy-habit-symbol { display: inline-grid; place-items: center; background: var(--surface-alt); border: 1px solid var(--border); width: 29px; height: 31px; border-radius: 5px; margin-right: 9px; font-size: 13px; }
.cfy-completion-track { display: block; min-width: 75px; height: 4px; background: var(--surface-alt); border-radius: 3px; margin-top: 7px; }
.cfy-completion-track i { display: block; height: 100%; background: currentColor; border-radius: inherit; }
.cfy-comparison-note { display: flex; gap: 13px; align-items: center; padding-top: 22px; }
.cfy-comparison-note > span { background: var(--surface-alt); color: var(--cfy-green); width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; }
.cfy-comparison-note p { margin: 0; font-size: 12px; }.cfy-comparison-note strong { color: var(--ink); font-weight: 500; }
.cfy-score-section { padding: 60px; margin: 0 -35px 95px; border-radius: 12px; background: var(--surface-alt); }
.cfy-score-section .cfy-section-heading { gap: 60px; }
.cfy-score-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.cfy-score-signals { display: grid; align-content: space-between; gap: 18px; }
.cfy-score-signals article { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.cfy-score-signals article:last-child { border: 0; padding-bottom: 0; }
.cfy-score-signals article > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.cfy-signal-label { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 600; }
.cfy-score-signals strong { font-size: 29px; line-height: 1.3; font-weight: 500; letter-spacing: -.04em; }
.cfy-score-signals strong span { font-size: 16px; }
.cfy-score-signals p { margin: 5px 0 0 19px; font-size: 13px; max-width: 350px; }
.cfy-signal-dot { display: inline-block; flex-shrink: 0; width: 9px; height: 9px; border-radius: 2px; }
.cfy-quality { background: #37694d; }.cfy-full { background: #84a279; }.cfy-rhythm { background: #b0c884; }.cfy-momentum { background: #d9b96f; }
.cfy-score-example { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 26px; }
.cfy-score-number { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.cfy-score-number strong { font-size: 69px; font-weight: 500; letter-spacing: -.05em; line-height: 1.2; }.cfy-score-number span { color: var(--ink-soft); font-size: 15px; }
.cfy-score-example > p { font-size: 12px; }
.cfy-score-stack { display: flex; height: 12px; border-radius: 4px; overflow: hidden; background: var(--surface-alt); margin: 22px 0; }
.cfy-score-stack i + i { border-left: 2px solid var(--surface); }
.cfy-score-calculation { margin: 0; display: grid; gap: 9px; font-size: 12px; }
.cfy-score-calculation > div { display: flex; justify-content: space-between; gap: 15px; }
.cfy-score-calculation dt { display: flex; align-items: center; gap: 7px; flex: 1; }
.cfy-score-calculation dt span { color: var(--ink-soft); margin-left: auto; }
.cfy-score-calculation dd { margin: 0; min-width: 30px; text-align: right; font-weight: 600; }
.cfy-score-example > .cfy-example-note { font-size: 10px; line-height: 1.6; margin: 19px 0 0; padding-top: 13px; border-top: 1px solid var(--border); }
.cfy-score-details { margin-top: 36px; border-top: 1px solid var(--border); }
.cfy-score-details summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 0 0; font-size: 14px; font-weight: 600; list-style: none; }
.cfy-score-details summary::-webkit-details-marker { display: none; }
.cfy-score-details summary > span { font-size: 24px; line-height: 1; transition: transform .15s; }
.cfy-score-details[open] summary > span { transform: rotate(45deg); }
.cfy-score-details-body { padding: 23px 0 0; max-width: 880px; font-size: 14px; }
.cfy-score-details-body p:last-child { margin-bottom: 0; }
.cfy-formula { padding: 17px; border-left: 3px solid var(--cfy-green); background: var(--surface); color: var(--ink); font-size: 13px; }
.cfy-friends { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; background: #243f33; color: #f6f8ed; padding: 60px; margin: 0 -35px; border-radius: 12px; }
.cfy-friends .cfy-eyebrow { color: #d6e4a6; font-size: 10px; }
.cfy-friends a:focus-visible { outline-color: #dcec99; }
.cfy-friends h2 { margin-bottom: 22px; }.cfy-friends h2 em { color: #dcec99; }
.cfy-friends-copy > p:not(.cfy-eyebrow) { color: #c1d0c3; font-size: 15px; }
.cfy-friend-steps { padding: 0; margin: 28px 0; list-style: none; display: grid; gap: 21px; }
.cfy-friend-steps li { display: flex; gap: 14px; }.cfy-friend-steps li > span { color: #dcec99; font-size: 11px; padding-top: 4px; }
.cfy-friend-steps h3 { font-size: 16px; margin: 0 0 4px; letter-spacing: 0; }
.cfy-friend-steps p { color: #c1d0c3; font-size: 13px; margin: 0; }
.cfy-button-light { color: #243f33; background: #dcec99; }
.cfy-social-preview { min-width: 0; color: var(--ink); }
.cfy-leaderboard { background: var(--surface); border-radius: 9px; padding: 26px 24px 18px; border: 1px solid var(--border); }
.cfy-leaderboard h3 { font-size: 22px; margin: 0; }.cfy-leaderboard .cfy-overline { font-size: 8px; }
.cfy-leaderboard-label { display: flex; justify-content: space-between; gap: 8px; padding: 21px 0 12px; font-size: 10px; color: var(--ink-soft); }
.cfy-ranking { list-style: none; padding: 0; margin: 0; }
.cfy-ranking li { display: flex; align-items: center; gap: 13px; padding: 16px 7px; border-top: 1px solid var(--border); }
.cfy-rank { color: var(--ink-soft); font-size: 10px; }
.cfy-avatar { display: inline-grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; font-size: 13px; font-family: "Playfair Display", serif; border-radius: 50%; }
.cfy-avatar-maya { background: #ebe3d5; color: #735c36; }.cfy-avatar-you { background: #dfe8bf; color: #3f6128; }.cfy-avatar-alex { background: #dee6ef; color: #4f6680; }
.cfy-person { flex: 1; font-size: 14px; font-weight: 600; }
.cfy-person small { display: block; font-size: 10px; font-weight: 400; color: var(--ink-soft); }
.cfy-ranking li > strong { font-size: 24px; font-weight: 500; letter-spacing: -.04em; text-align: right; line-height: 1.15; }.cfy-ranking strong small { display: block; font-size: 9px; letter-spacing: 0; color: var(--ink-soft); }
.cfy-rank-you { background: var(--surface-alt); border-radius: 5px; }
.cfy-ranking-note { font-size: 10px; line-height: 1.6; padding: 15px 0 0; margin: 0; border-top: 1px solid var(--border); }
.cfy-shared-progress { position: relative; width: 86%; margin: 16px 0 0 auto; background: var(--bg-main); border: 1px solid var(--border); border-radius: 9px; padding: 20px; }
.cfy-shared-heading { display: flex; align-items: center; gap: 10px; }.cfy-shared-heading strong { display: block; font-size: 13px; }.cfy-shared-heading small { display: block; font-size: 10px; color: var(--ink-soft); }
.cfy-shared-check { margin-left: auto; color: var(--cfy-green); }.cfy-shared-habit { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; margin-top: 20px; }.cfy-shared-habit strong { font-weight: 500; }
.cfy-shared-track { margin: 9px 0; height: 5px; background: var(--cfy-chart-green); border-radius: 3px; }.cfy-shared-progress > p { margin: 10px 0 0; font-size: 10px; }
.cfy-social-note { text-align: right; color: #c1d0c3; font-size: 10px; margin: 13px 0 0; }
.cfy-closing { text-align: center; padding: 97px 0 100px; }
.cfy-closing-mark { display: block; font-size: 55px; color: var(--cfy-green); line-height: 1; margin-bottom: 26px; }
.cfy-closing .cfy-eyebrow { justify-content: center; }.cfy-closing h2 { font-size: clamp(36px, 4.2vw, 56px); margin-bottom: 22px; }.cfy-closing > p:not(.cfy-eyebrow) { font-size: 16px; margin-bottom: 27px; }
.cfy-closing-login { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 20px; }.cfy-closing-login a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.cfy-footer { border-top: 1px solid var(--border); padding: 22px 0; }
.cfy-footer .cfy-wordmark { font-size: 20px; line-height: 1.3; letter-spacing: -.5px; }
.cfy-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }.cfy-footer nav { display: flex; gap: 25px; font-size: 13px; }.cfy-footer .container > span { font-size: 12px; color: var(--ink-soft); }

.cfy-auth-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    --cfy-error: #a33b32;
    --cfy-error-bg: #fbefec;
}
:root[data-theme="dark"] .cfy-auth-page {
    --cfy-error: #f3afa1;
    --cfy-error-bg: #3a2c27;
}
.cfy-auth-page main { flex: 1; display: grid; align-items: center; }
.cfy-auth-section { width: 100%; max-width: 540px; margin: 0 auto; padding: 64px 0; }
.cfy-auth-heading { text-align: center; margin-bottom: 30px; }
.cfy-auth-heading .cfy-eyebrow { justify-content: center; margin-bottom: 18px; }
.cfy-auth-heading h1 {
    font-family: "Source Sans 3", sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.045em;
    margin: 0 0 18px;
    text-wrap: balance;
}
.cfy-auth-heading h1 em { font-family: "Playfair Display", Georgia, serif; font-weight: 500; color: var(--cfy-green); }
.cfy-auth-heading > p:last-child { font-size: 16px; line-height: 1.6; margin: 0; text-wrap: balance; }
.cfy-auth-card { max-width: 460px; margin: 0 auto; padding: 32px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.cfy-auth-form { display: grid; gap: 22px; }
.cfy-auth-field { display: grid; gap: 8px; min-width: 0; }
.cfy-auth-field label { color: var(--ink); font-size: 14px; font-weight: 600; }
.cfy-auth-field input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-main);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
}
.cfy-auth-field input:focus-visible { outline: 2px solid var(--cfy-green); outline-offset: 2px; border-color: var(--cfy-green); }
.cfy-auth-field input[aria-invalid="true"] { border-color: var(--cfy-error); }
.cfy-field-help { color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.cfy-field-help ul { padding-left: 17px; margin: 0; }
.cfy-field-help li + li { margin-top: 3px; }
.cfy-auth-form .errorlist { color: var(--cfy-error); font-size: 13px; line-height: 1.5; list-style: none; padding: 0; margin: 0; }
.cfy-auth-form .errorlist li + li { margin-top: 5px; }
.cfy-auth-error { background: var(--cfy-error-bg); border: 1px solid var(--cfy-error); border-radius: 6px; padding: 12px 14px; }
.cfy-auth-submit { width: 100%; cursor: pointer; font-family: inherit; margin-top: 2px; }
.cfy-auth-switch { margin: 25px 0 0; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; text-align: center; }
.cfy-auth-switch a { color: var(--cfy-green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cfy-auth-back { display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; margin: 25px auto 0; color: var(--ink-soft); font-size: 13px; }
.cfy-auth-back:hover { color: var(--cfy-green); text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 1600px) { .cfy-hero { padding-top: 100px; padding-bottom: 115px; } }
@media (max-width: 1100px) {
    .cfy-nav { gap: 18px; font-size: 13px; }.landing-page .nav-utility-guest { gap: 12px; }
    .cfy-hero { padding: 72px 0 90px; }.cfy-actions { gap: 24px; }
    .cfy-section-heading { gap: 50px; }.cfy-analytics-grid { gap: 38px; }.cfy-compare { gap: 40px; }
    .cfy-score-section, .cfy-friends { margin-left: -15px; margin-right: -15px; padding: 40px; }.cfy-score-layout, .cfy-friends { gap: 35px; }
    .cfy-comparison-card { padding: 22px; }.cfy-comparison-card .cfy-card-top { flex-wrap: wrap; }
    .cfy-leaderboard { padding: 22px 18px 16px; }.cfy-leaderboard .cfy-card-top { flex-wrap: wrap; }.cfy-ranking li { gap: 9px; }
}
@media (max-width: 820px) {
    .cfy-wordmark { font-size: 25px; }
    .landing-page .nav-mobile-panel { visibility: hidden; }.landing-page.nav-open .nav-mobile-panel { visibility: visible; }
    .landing-page .nav { grid-template-columns: 1fr auto; padding: 16px 0; }.cfy-nav { display: none; }
    .landing-page .nav-utility-guest .btn { display: inline-flex; padding: 7px 15px; }.landing-page .nav-utility-guest { gap: 12px; }
    .cfy-hero { padding: 60px 0 76px; }.cfy-hero h1 { font-size: clamp(58px, 8.5vw, 72px); }
    .cfy-hero-description { max-width: 500px; }
    .cfy-principles { display: none; }
    .cfy-section { padding: 65px 0; }.cfy-section-heading { gap: 30px; margin-bottom: 32px; }.cfy-section-heading > p { font-size: 14px; }
    .cfy-analytics-grid { gap: 28px; }.cfy-insight-card { padding: 20px; }.cfy-insight-card h3 { font-size: 20px; }.cfy-week-chart { gap: 10px; }.cfy-chart-footnote { font-size: 10px; }
    .cfy-insight-list { gap: 20px; }.cfy-insight-list article { gap: 10px; }.cfy-insight-list h3 { font-size: 17px; }.cfy-insight-list p { font-size: 12px; }
    .cfy-timeframes { gap: 16px; }.cfy-timeframes article { padding-left: 15px; }
    .cfy-compare { grid-template-columns: 1fr; gap: 30px; }.cfy-section-copy > p:not(.cfy-eyebrow) { max-width: 560px; }.cfy-section-copy h2 br:last-of-type { display: none; }
    .cfy-score-section { padding: 35px; margin-bottom: 65px; }.cfy-score-section .cfy-section-heading { grid-template-columns: 1fr; gap: 20px; }.cfy-score-section .cfy-section-heading > p { max-width: none; }
    .cfy-score-layout { gap: 25px; }.cfy-signal-label { font-size: 14px; }.cfy-score-example { padding: 20px; }.cfy-score-example .cfy-card-top { flex-wrap: wrap; }.cfy-score-calculation dt { flex-wrap: wrap; }.cfy-score-signals p { font-size: 12px; }
    .cfy-friends { padding: 35px; grid-template-columns: 1fr; gap: 35px; }.cfy-social-preview { max-width: 520px; width: 100%; justify-self: center; }.cfy-friends-copy > p:not(.cfy-eyebrow) { max-width: 570px; }.cfy-friend-steps { max-width: 570px; }
    .cfy-closing { padding: 65px 0; }.cfy-footer .container { flex-wrap: wrap; }.cfy-footer nav { gap: 20px; }
}
@media (max-width: 560px) {
    .cfy-wordmark { font-size: 23px; }
    .landing-page .container { width: calc(100% - 36px); }
    .landing-page .nav-utility-guest { gap: 9px; }.landing-page .nav-utility-guest .btn { font-size: 12px; padding: 7px 11px; }.landing-page .theme-toggle { width: 30px; height: 30px; }
    .cfy-hero { padding: 48px 0 60px; }.cfy-hero h1 { font-size: clamp(44px, 10.5vw, 58px); margin-bottom: 24px; }.cfy-hero .cfy-eyebrow { font-size: 10px; letter-spacing: .02em; margin-bottom: 22px; }.cfy-hero .cfy-intro { font-size: 17px; }.cfy-hero-description { font-size: 15px; }
    .cfy-actions { gap: 20px; margin-top: 27px; }.cfy-button { font-size: 14px; padding: 13px 17px; gap: 20px; }.cfy-text-link { font-size: 12px; gap: 10px; }.cfy-hero-note { font-size: 11px; }.cfy-overline { font-size: 8px; }.cfy-example { font-size: 9px; padding: 3px 5px; }
    .cfy-section { padding: 52px 0; }.cfy-section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 27px; }.cfy-home h2 { font-size: 36px; }.cfy-eyebrow { font-size: 10px; margin-bottom: 15px; }
    .cfy-analytics-grid { grid-template-columns: 1fr; gap: 30px; }.cfy-insight-card { padding: 22px; }.cfy-week-chart { height: 190px; gap: 15px; }.cfy-insight-list { gap: 23px; }.cfy-insight-list article { gap: 14px; }.cfy-insight-list h3 { font-size: 18px; }.cfy-insight-list p { font-size: 14px; }
    .cfy-timeframes { grid-template-columns: repeat(2, 1fr); gap: 25px 20px; margin-top: 30px; }.cfy-timeframes article:nth-child(3) { padding-left: 0; border: 0; }.cfy-timeframes h3 { font-size: 20px; }.cfy-data-note { font-size: 10px; }
    .cfy-comparison-card { padding: 20px 16px; }.cfy-compare-table { font-size: 12px; }.cfy-compare-table thead { font-size: 10px; }.cfy-compare-table th, .cfy-compare-table td { padding: 17px 5px; }.cfy-habit-symbol { width: 24px; height: 28px; font-size: 11px; margin-right: 5px; }.cfy-compare-table td:last-child { font-size: 17px; }
    .cfy-score-section { margin: 0 -7px 52px; padding: 30px 21px; border-radius: 9px; }.cfy-score-layout { grid-template-columns: 1fr; gap: 30px; }.cfy-signal-label { font-size: 16px; }.cfy-score-signals p { font-size: 13px; }.cfy-score-example { padding: 22px; }.cfy-score-example .cfy-card-top { flex-wrap: nowrap; }.cfy-score-signals { gap: 14px; }.cfy-score-details summary { font-size: 13px; }.cfy-score-details-body { font-size: 13px; }
    .cfy-friends { margin: 0 -7px; padding: 30px 21px; border-radius: 9px; }.cfy-friends .cfy-eyebrow { font-size: 9px; letter-spacing: .07em; }.cfy-leaderboard { padding: 20px 15px 16px; }.cfy-leaderboard h3 { font-size: 20px; }.cfy-shared-progress { width: 94%; padding: 17px; }.cfy-person small { font-size: 9px; }.cfy-ranking li { gap: 9px; padding: 15px 4px; }.cfy-ranking li > strong { font-size: 22px; }.cfy-ranking .cfy-avatar { width: 29px; height: 29px; }
    .cfy-closing { padding: 58px 0; }.cfy-closing h2 { font-size: 37px; }.cfy-closing > p:not(.cfy-eyebrow) { font-size: 14px; }.cfy-closing-mark { font-size: 46px; }
    .cfy-footer { padding: 18px 0; }.cfy-footer .container { flex-direction: column; text-align: center; gap: 14px; }.cfy-footer nav { flex-wrap: wrap; justify-content: center; gap: 12px 22px; font-size: 12px; }.cfy-footer .container > span { width: 100%; padding-top: 12px; border-top: 1px solid var(--border); }
    .cfy-auth-section { padding: 42px 0; }
    .cfy-auth-heading { margin-bottom: 25px; }
    .cfy-auth-heading h1 { font-size: clamp(36px, 9.5vw, 44px); }
    .cfy-auth-heading .cfy-eyebrow { font-size: 9px; letter-spacing: .07em; }
    .cfy-auth-heading > p:last-child { font-size: 14px; }
    .cfy-auth-card { padding: 25px 21px; }
    .cfy-auth-form { gap: 20px; }
    .cfy-auth-switch { line-height: 1.8; }
}
@media (prefers-reduced-motion: reduce) { .landing-page *, .landing-page *::before, .landing-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
