/* LifeScore marketing + auth — aligned with TickTick-style app brand */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --mk-ink: #1f2329;
    --mk-muted: #646a73;
    --mk-accent: #4772fa;
    --mk-accent-2: #6b8dff;
    --mk-bg: #f4f5f7;
    --mk-white: #ffffff;
    --mk-radius: 1.25rem;
    --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.marketing-body,
.auth-body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--mk-ink);
    background:
        radial-gradient(1000px 520px at 12% -8%, rgba(71, 114, 250, 0.16), transparent 55%),
        radial-gradient(800px 480px at 92% 0%, rgba(107, 141, 255, 0.12), transparent 50%),
        linear-gradient(180deg, #f7f8fb 0%, var(--mk-bg) 45%, #eef1f7 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.mk-nav-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(247, 248, 251, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(231, 233, 238, 0.9);
}

.marketing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 5vw;
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
}

.marketing-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.mk-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    background: #fff;
    color: var(--mk-ink);
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    padding: 0;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.15rem;
}

.hero-trust span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #5b6270;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
}

.marketing-nav .nav-links a {
    color: var(--mk-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}

.marketing-nav .nav-links a:hover { color: var(--mk-ink); }
.marketing-nav .nav-links a.is-on { color: var(--mk-accent); }

.marketing-nav .brand,
.auth-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--mk-ink);
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(145deg, #4772fa, #6b8dff);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(71, 114, 250, 0.28);
}

.marketing-nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.marketing-nav .nav-actions a:not(.btn) {
    color: var(--mk-muted);
    text-decoration: none;
    font-weight: 600;
}

.marketing-nav .nav-actions a:not(.btn):hover { color: var(--mk-ink); }

.marketing-nav .btn-primary,
.auth-card .btn-primary,
.hero-cta .btn-primary,
.cta-band .btn-light {
    border-radius: 999px;
    font-weight: 700;
}

.marketing-nav .btn-primary,
.auth-card .btn-primary,
.hero-cta .btn-primary {
    background: var(--mk-accent);
    border-color: var(--mk-accent);
    box-shadow: 0 6px 16px rgba(71, 114, 250, 0.25);
}

.marketing-nav .btn-primary:hover,
.auth-card .btn-primary:hover,
.hero-cta .btn-primary:hover {
    background: #3b63e0;
    border-color: #3b63e0;
}

.hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3.25rem 5vw 4rem;
    display: grid;
    gap: 2.75rem;
    align-items: center;
}

@media (min-width: 960px) {
    .hero {
        grid-template-columns: 1.02fr 1.08fr;
        padding-top: 2.5rem;
        padding-bottom: 4.5rem;
    }
}

.hero-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mk-accent);
    margin-bottom: 0.9rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.05rem, 7.2vw, 4.15rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin: 0 0 1.1rem;
}

.hero-lead {
    font-size: 1.12rem;
    color: var(--mk-muted);
    max-width: 36rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.hero-cta .btn-lg {
    padding: 0.72rem 1.35rem;
    border-radius: 999px;
}

.hero-cta .btn-outline-dark {
    border-radius: 999px;
    font-weight: 700;
    border-color: #d0d3d9;
    color: var(--mk-ink);
    background: rgba(255, 255, 255, 0.7);
}

.hero-cta .btn-outline-dark:hover {
    background: #fff;
    border-color: #b8bcc4;
}

.hero-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--mk-muted);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    border-radius: 1.4rem;
    background:
        linear-gradient(155deg, #3f6af5 0%, #2c48b8 55%, #1f2329 120%);
    color: #eef3ff;
    padding: 2rem;
    min-height: 340px;
    box-shadow: 0 28px 60px rgba(47, 74, 180, 0.28);
    overflow: hidden;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: auto -20% -40% 35%;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 65%);
    pointer-events: none;
}

.score-ring {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    border: 10px solid rgba(255, 255, 255, 0.14);
    border-top-color: #a8c0fd;
    border-right-color: #ffffff;
    display: grid;
    place-items: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-visual h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.hero-visual p {
    opacity: 0.85;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill-row span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Product window */
.mk-window {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e7e9ee;
    box-shadow: 0 28px 70px rgba(31, 35, 41, 0.12);
    overflow: hidden;
    min-height: 0;
    width: 100%;
}

.mk-window-bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 0.9rem;
    background: #f3f4f7;
    border-bottom: 1px solid #ececec;
}

.mk-window-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d8dbe2;
}

.mk-window-bar span:nth-child(1) { background: #ff5f57; }
.mk-window-bar span:nth-child(2) { background: #febc2e; }
.mk-window-bar span:nth-child(3) { background: #28c840; }

.mk-window-bar em {
    margin-left: 0.65rem;
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 600;
    color: #676b72; /* was #8a8f98 (3.24:1 on white — fails WCAG AA's 4.5:1) */
}

.mk-window-body {
    display: grid;
    grid-template-columns: 148px 1fr;
    min-height: 320px;
}

.mk-side {
    background: #f5f5f5;
    padding: 0.85rem 0.55rem;
    border-right: 1px solid #ececec;
    font-size: 0.78rem;
    color: #555;
}

.mk-side-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.5rem;
    border-radius: 7px;
    margin-bottom: 2px;
}

.mk-side-item i { color: #676b72; /* was #8a8f98 (3.24:1 on white — fails WCAG AA's 4.5:1) */ width: 1rem; text-align: center; }
.mk-side-item b { margin-left: auto; font-weight: 600; color: #666; font-size: 0.7rem; }
.mk-side-item.is-on { background: #fff; color: var(--mk-accent); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.mk-side-item.is-on i { color: #c04e3e; }

.mk-main { padding: 0.9rem 1rem 1.1rem; }

.mk-scoreline {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
}

.mk-ring {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid #e8eeff;
    border-top-color: #4772fa;
    border-right-color: #4772fa;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--mk-accent);
}

.mk-scoreline strong { display: block; font-size: 0.88rem; }
.mk-scoreline small { color: #676b72; /* was #8a8f98 (3.24:1 on white — fails WCAG AA's 4.5:1) */ font-size: 0.72rem; }

.mk-add {
    color: var(--mk-accent);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.4rem 0.15rem 0.55rem;
    border-bottom: 1px solid #f3f3f3;
}

.mk-task, .mk-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.48rem 0.1rem;
    border-bottom: 1px solid #f3f3f3;
    font-size: 0.88rem;
    font-weight: 500;
}

.mk-due, .mk-row em {
    margin-left: auto;
    font-size: 0.72rem;
    color: #c04e3e; /* was #e25c49 (3.58:1 on white — fails WCAG AA's 4.5:1) */
    font-style: normal;
    font-weight: 600;
}

.mk-due.is-habit { color: #1b8055; } /* was #22a06b (3.32:1 on white) */
.mk-due.is-done, .mk-row.is-done em { color: #727272; } /* was #b0b0b0 (2.16:1 on white) */

.mk-box {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #c9cdd4;
    flex-shrink: 0;
}

.mk-box.is-on {
    background: #22a06b;
    border-color: #22a06b;
}

.mk-row.is-done { color: #727272; text-decoration: line-through; } /* was #b0b0b0 (2.16:1 on white) */

.mk-strip {
    max-width: 1180px;
    margin: 0 auto 0.5rem;
    padding: 0 5vw 2.5rem;
    text-align: center;
}

.mk-strip p {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mk-accent);
    margin-bottom: 0.85rem;
}

.mk-strip div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.mk-strip span {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
}

.mk-feature {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3.25rem 5vw;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .mk-feature { grid-template-columns: 1fr 1fr; }
    .mk-feature.is-flip > :first-child { order: 2; }
}

.mk-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mk-accent);
    margin-bottom: 0.55rem;
}

.mk-feature h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

.mk-feature p {
    color: var(--mk-muted);
    font-weight: 500;
    line-height: 1.55;
    margin-bottom: 1rem;
    max-width: 34rem;
}

.mk-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mk-points li {
    padding: 0.28rem 0 0.28rem 1.35rem;
    position: relative;
    font-weight: 500;
    color: #3d424a;
}

.mk-points li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mk-accent);
    position: absolute;
    left: 0;
    top: 0.7rem;
}

.mk-panel {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 1.15rem 1.2rem;
    box-shadow: 0 16px 40px rgba(31, 35, 41, 0.07);
    min-height: 220px;
}

.mk-panel-label {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.65rem;
}

.mk-cal-head {
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.mk-cal-dows,
.mk-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
}

.mk-cal-dows {
    margin-bottom: 0.35rem;
}

.mk-cal-dows span {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #9aa0a8;
}

.mk-cal-events {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.4rem;
}

.mk-cal-events div {
    background: #f7f8fa;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #555;
}

.mk-cal-events b {
    color: var(--mk-accent);
    margin-right: 0.35rem;
}

.mk-cal-grid span {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #666;
    background: #f7f8fa;
}

.mk-cal-grid span.is-busy { background: #e8eeff; color: var(--mk-accent); }
.mk-cal-grid span.is-today { background: var(--mk-accent); color: #fff; }

.mk-focus { text-align: center; padding: 1.75rem 1.2rem; }
.mk-pomo {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--mk-ink);
    line-height: 1;
}
.mk-focus > p { margin: 0.35rem 0 1.1rem; color: #676b72; /* was #8a8f98 (3.24:1 on white — fails WCAG AA's 4.5:1) */ }
.mk-habits { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.mk-habits span {
    border-radius: 999px;
    padding: 0.32rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    background: #f1f2f4;
    color: #666;
}
.mk-habits span.is-on { background: #e6f7ef; color: #187c4e; } /* was #1b8a57 (3.92:1 on this bg) */

.mk-bar { margin-bottom: 0.85rem; }
.mk-bar b { display: block; font-size: 0.8rem; margin-bottom: 0.3rem; }
.mk-bar i {
    display: block;
    height: 8px;
    border-radius: 99px;
    background: linear-gradient(90deg, #4772fa, #6b8dff);
}

.mk-suite-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .mk-suite-grid { grid-template-columns: repeat(3, 1fr); }
}

.mk-suite-grid article {
    background: rgba(255,255,255,0.86);
    border: 1px solid #ececec;
    border-radius: 1rem;
    padding: 1.2rem 1.15rem;
}

.mk-suite-grid i {
    color: var(--mk-accent);
    font-size: 1.25rem;
    margin-bottom: 0.55rem;
    display: inline-flex;
}

.mk-suite-grid h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.mk-suite-grid p {
    margin: 0;
    color: var(--mk-muted);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.5;
}

.mk-quote-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .mk-quote-grid { grid-template-columns: repeat(3, 1fr); }
}

.mk-quotes blockquote {
    margin: 0;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 1rem;
    padding: 1.25rem;
}

.mk-quotes blockquote p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0.85rem;
    color: var(--mk-ink);
}

.mk-quotes cite {
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--mk-muted);
}

.mk-foot {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 5vw 2.75rem;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 800px) {
    .mk-foot {
        grid-template-columns: 1.2fr 2fr;
        align-items: start;
    }
}

.mk-foot-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.15rem;
}

.mk-foot-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mk-foot-cols strong {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.55rem;
    color: #676b72; /* was #8a8f98 (3.24:1 on white — fails WCAG AA's 4.5:1) */
}

.mk-foot-cols a {
    display: block;
    color: var(--mk-ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.18rem 0;
}

.mk-foot-cols a:hover { color: var(--mk-accent); }

.mk-copy {
    grid-column: 1 / -1;
    color: var(--mk-muted);
    font-size: 0.85rem;
    margin: 0.5rem 0 0;
}

@media (max-width: 767.98px) {
    .marketing-nav {
        padding: 0.7rem 4.5vw;
        gap: 0.5rem;
    }

    .marketing-nav .brand { font-size: 1.12rem; }
    .brand-mark { width: 28px; height: 28px; border-radius: 8px; }

    .mk-menu-btn { display: inline-flex; }

    .marketing-nav .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #ececec;
        box-shadow: 0 12px 28px rgba(31, 35, 41, 0.08);
        padding: 0.5rem 4.5vw 0.85rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .marketing-nav .nav-links.is-open { display: flex; }

    .marketing-nav .nav-links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid #f3f3f3;
        font-size: 1rem;
        color: var(--mk-ink);
    }

    .marketing-nav .nav-links a:last-child { border-bottom: 0; }

    .hero {
        padding: 1.75rem 4.5vw 2.25rem;
        gap: 1.5rem;
    }

    .hero-lead {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        line-height: 1.55;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn-lg {
        width: 100%;
        text-align: center;
        padding: 0.78rem 1rem;
        font-size: 1rem;
    }

    .hero-note { font-size: 0.82rem; }

    .mk-window-body { grid-template-columns: 1fr; min-height: 0; }
    .mk-side { display: none; }
    .mk-main { padding: 0.85rem 0.9rem 1rem; }
    .mk-task { font-size: 0.84rem; }

    .mk-strip { padding: 0 4.5vw 1.5rem; }
    .mk-feature,
    .section {
        padding: 2rem 4.5vw;
        gap: 1.25rem;
    }

    .mk-feature h2,
    .section h2 {
        font-size: 1.55rem;
    }

    .mk-panel { padding: 1rem; min-height: 0; }
    .mk-pomo { font-size: 2.4rem; }

    .cta-band {
        margin: 0.5rem 4.5vw 2rem;
        padding: 1.75rem 1.15rem;
        border-radius: 1.1rem;
    }

    .cta-band .btn-lg {
        width: 100%;
        border-radius: 999px;
    }

    .mk-foot {
        padding: 1.75rem 4.5vw 2.25rem;
        gap: 1.25rem;
    }

    .mk-foot-cols {
        grid-template-columns: 1fr 1fr;
        gap: 1.1rem 1.25rem;
    }

    .pricing-card { padding: 1.4rem 1.2rem; }
    .pricing-card .price .amount { font-size: 2.2rem; }
}

@media (max-width: 380px) {
    .marketing-nav .nav-actions .btn { font-size: 0.8rem; padding: 0.35rem 0.7rem; }
    .hero h1 { font-size: 1.85rem; }
}

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3.25rem 5vw;
}

.section h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    letter-spacing: -0.03em;
    margin-bottom: 0.65rem;
}

.section .section-lead {
    color: var(--mk-muted);
    max-width: 36rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.feature-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-item {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(231, 233, 238, 0.95);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(31, 35, 41, 0.04);
}

.feature-item h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.feature-item p {
    color: var(--mk-muted);
    margin: 0;
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.5;
}

.feature-item i {
    color: var(--mk-accent);
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef2ff;
}

.cta-band {
    max-width: 1180px;
    margin: 1rem 5vw 3rem;
    padding: 2.5rem 1.5rem;
    border-radius: var(--mk-radius);
    background: linear-gradient(135deg, #2f4ab4, #4772fa 55%, #6b8dff);
    color: #eef3ff;
    text-align: center;
    box-shadow: 0 20px 48px rgba(47, 74, 180, 0.28);
}

@media (min-width: 1180px) {
    .cta-band { margin-left: auto; margin-right: auto; }
}

.cta-band h2 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.cta-band p {
    opacity: 0.88;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.marketing-footer {
    text-align: center;
    padding: 2rem 5vw 3rem;
    color: var(--mk-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.marketing-footer a {
    color: var(--mk-accent);
    text-decoration: none;
    font-weight: 650;
}

/* Pricing */
.pricing-card {
    background: var(--mk-white);
    border-radius: var(--mk-radius);
    padding: 2rem;
    border: 1px solid rgba(231, 233, 238, 0.95);
    box-shadow: 0 10px 30px rgba(31, 35, 41, 0.06);
    position: relative;
    height: 100%;
}

.pricing-card-pro {
    background: linear-gradient(160deg, #2f4ab4, #1f2329);
    color: #eef3ff;
    border: none;
    box-shadow: 0 18px 40px rgba(47, 74, 180, 0.28);
}

.pricing-card-pro .text-muted,
.pricing-card-pro .muted {
    color: rgba(238, 243, 255, 0.68) !important;
}

.pricing-card .price .amount {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.pricing-card .price .period {
    color: inherit;
    opacity: 0.7;
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.42rem 0;
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-weight: 500;
}

.pricing-features li.muted { opacity: 0.65; } /* was 0.55 — blends to ~3.66:1 on white, fails WCAG AA's 4.5:1 */
.pricing-features .bi-check-lg { color: var(--mk-accent); }
.pricing-card-pro .bi-check-lg { color: #a8c0fd; }

.badge-pro {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #a8c0fd;
    color: #1f2329;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
}

/* Auth */
.auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    gap: 1.15rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-radius: var(--mk-radius);
    padding: 2rem;
    border: 1px solid rgba(231, 233, 238, 0.95);
    box-shadow: 0 20px 50px rgba(31, 35, 41, 0.08);
}

.auth-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.3rem;
}

.auth-sub {
    color: var(--mk-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.auth-footer {
    margin-top: 1.25rem;
    text-align: center;
    color: var(--mk-muted);
    font-weight: 500;
}

.auth-footer a {
    color: var(--mk-accent);
    font-weight: 700;
    text-decoration: none;
}

.auth-card .form-control {
    border-radius: 11px;
    min-height: 44px;
    border-color: #e7e9ee;
}

.auth-card .form-control:focus {
    border-color: #9db6fc;
    box-shadow: 0 0 0 3px rgba(71, 114, 250, 0.14);
}

.auth-card .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.auth-card .password-toggle {
    border-color: #e7e9ee;
    border-top-right-radius: 11px;
    border-bottom-right-radius: 11px;
    min-height: 44px;
    color: #6b7280;
}

.auth-card .password-toggle:hover,
.auth-card .password-toggle[aria-pressed="true"] {
    color: var(--mk-accent);
    border-color: #e7e9ee;
    background: #f7f8ff;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    min-height: 44px;
    border-radius: 11px;
    border: 1px solid #dadce0;
    background: #fff;
    color: #3c4043;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #c6c9ce;
    color: #1f1f1f;
}

.btn-google .google-g {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.15rem 0 1.25rem;
    color: var(--mk-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e7e9ee;
}

/* Download page — TickTick-style platform grid */
.dl-body {
    background:
        radial-gradient(720px 420px at 50% 28%, rgba(120, 140, 255, 0.16), transparent 62%),
        radial-gradient(1000px 520px at 12% -8%, rgba(71, 114, 250, 0.10), transparent 55%),
        radial-gradient(800px 480px at 92% 0%, rgba(107, 141, 255, 0.10), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fb 42%, #ffffff 100%);
}

.dl-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4.5rem 5vw 3rem;
    text-align: center;
}

.dl-hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 5.2vw, 3.15rem);
    letter-spacing: -0.045em;
    line-height: 1.12;
    color: var(--mk-ink);
    margin: 0 0 0.85rem;
}

.dl-hero p {
    font-size: 1.08rem;
    color: var(--mk-muted);
    font-weight: 500;
    line-height: 1.6;
    max-width: 36rem;
    margin: 0 auto 2.75rem;
}

.dl-hero a {
    color: inherit;
    font-weight: 650;
    text-underline-offset: 3px;
}

.dl-platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem 2.15rem;
    margin: 0 auto 3.25rem;
}

.dl-tile {
    width: 120px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    min-height: 188px;
}

.dl-tile.is-soon {
    cursor: default;
}

.dl-tile-card {
    width: 128px;
    height: 128px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 35, 41, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    display: grid;
    place-items: center;
    transition: transform .18s ease, box-shadow .18s ease;
}

.dl-tile-card svg {
    width: 68px;
    height: 68px;
    display: block;
}

.dl-tile:not(.is-soon):hover .dl-tile-card,
a.dl-tile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(31, 35, 41, 0.12);
}

a.dl-tile-card {
    text-decoration: none;
}

.dl-tile-name {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--mk-ink);
    margin: 0;
}

.dl-tile-sub {
    display: block;
    margin-top: -0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #676b72; /* was #8a8f98 (3.24:1 on white — fails WCAG AA's 4.5:1) */
    text-decoration: none;
}

.dl-tile:not(.is-soon):hover .dl-tile-sub {
    color: var(--mk-accent);
}

.dl-note {
    font-size: 0.92rem;
    color: var(--mk-muted);
    font-weight: 500;
    margin: 0 0 2.5rem;
}

.dl-guides {
    display: grid;
    gap: 1rem;
    text-align: left;
    max-width: 820px;
    margin: 0 auto 1.5rem;
}

@media (min-width: 760px) {
    .dl-guides { grid-template-columns: 1fr 1fr; }
}

.dl-guide {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 1.25rem 1.3rem 1.3rem;
    box-shadow: 0 10px 24px rgba(31, 35, 41, 0.05);
    scroll-margin-top: 88px;
}

.dl-guide h2 {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

.dl-guide p {
    color: var(--mk-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
}

.dl-guide ol {
    margin: 0;
    padding-left: 1.15rem;
    color: #3d424a;
    font-size: 0.88rem;
    font-weight: 500;
}

.dl-guide li { padding: 0.18rem 0; }

.dl-guide code {
    font-size: 0.8rem;
    background: #f3f4f7;
    border-radius: 6px;
    padding: 0.08rem 0.35rem;
}

.dl-alert {
    max-width: 820px;
    margin: 0 auto 1.75rem;
    text-align: left;
}

@media (min-width: 960px) {
    .dl-page { padding-top: 5.25rem; }
    .dl-platforms { gap: 1.85rem 2.6rem; }
    .dl-tile { width: 140px; min-height: 214px; }
    .dl-tile-card { width: 140px; height: 140px; border-radius: 32px; }
    .dl-tile img { width: 76px; height: 76px; }
}

@media (max-width: 767.98px) {
    .dl-page { padding: 2.25rem 4.5vw 2rem; }
    .dl-platforms { gap: 1.15rem 1.1rem; }
    .dl-tile,
    .dl-tile-card { width: 104px; }
    .dl-tile { min-height: 168px; }
    .dl-tile-card { height: 104px; border-radius: 22px; }
    .dl-tile img { width: 56px; height: 56px; }
    .dl-tile-name { font-size: 0.82rem; }
}
