/* =========================================================
   人生已完成清单
   A soft, paper-like visual system.
   ========================================================= */

:root {
    --paper: #f7f1ed;
    --paper-deep: #f0e5df;
    --white: #fffdfb;
    --ink: #2f2725;
    --ink-soft: #554945;
    --muted: #85736c;
    --muted-light: #a4938c;
    --line: #eaded8;
    --line-strong: #dfcec6;
    --rose: #b34872;
    --rose-deep: #8e2e55;
    --rose-soft: #fbe8ef;
    --rose-soft-2: #f7dce7;
    --rose-line: #ecb6ca;
    --gold: #b58a5e;
    --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --shadow-card: 0 34px 90px -48px rgba(83, 57, 49, .38);
    --shadow-soft: 0 12px 32px -18px rgba(83, 57, 49, .28);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        radial-gradient(circle at 8% 3%, rgba(233, 183, 201, .22), transparent 26rem),
        radial-gradient(circle at 94% 18%, rgba(221, 195, 166, .18), transparent 24rem),
        radial-gradient(circle at 50% 100%, rgba(238, 205, 214, .16), transparent 30rem);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.modal-open {
    overflow: hidden;
}

::selection {
    color: var(--rose-deep);
    background: var(--rose-soft-2);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

svg {
    display: block;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 200;
    padding: 9px 14px;
    color: #fff;
    background: var(--rose-deep);
    border-radius: 8px;
    transform: translateY(-150%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* ---------- Header ---------- */

.site-header {
    position: relative;
    z-index: 20;
    padding: 24px 40px;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .08em;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    color: var(--rose-deep);
    background: var(--rose-soft);
    border: 1px solid rgba(179, 72, 114, .14);
    border-radius: 50%;
}

.header-note {
    color: var(--muted-light);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .24em;
}

.header-link {
    color: var(--muted);
    font-size: 13px;
    transition: color .2s ease;
}

.header-link:hover {
    color: var(--rose-deep);
}

/* ---------- Shared type ---------- */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    color: var(--rose);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .21em;
}

.eyebrow--center {
    justify-content: center;
}

.eyebrow__rule {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: .45;
}

.section-kicker {
    margin: 0 0 7px;
    color: var(--rose);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .23em;
}

.section-desc {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 13.5px;
}

.accent {
    color: var(--rose-deep);
    font-weight: 700;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 3px solid rgba(179, 72, 114, .25);
    outline-offset: 2px;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: .42;
    transform: none;
}

.btn--primary {
    color: #fff;
    background: var(--rose);
    border-color: var(--rose);
    box-shadow: 0 12px 28px -15px rgba(143, 47, 84, .65);
}

.btn--primary:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
}

.btn--ghost {
    color: var(--ink-soft);
    background: transparent;
    border-color: var(--line-strong);
}

.btn--ghost:hover {
    color: var(--rose-deep);
    background: rgba(255, 255, 255, .55);
    border-color: var(--rose-line);
}

/* ---------- Home hero ---------- */

.hero {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 70px 28px 52px;
    text-align: center;
}

.hero__glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.hero__glow--one {
    top: 22px;
    left: 50%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(240, 196, 211, .28), transparent 68%);
    transform: translateX(-50%);
}

.hero__glow--two {
    right: 3%;
    bottom: 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(222, 194, 163, .2), transparent 70%);
}

.hero__title {
    margin: 20px 0 0;
    font-family: var(--serif);
    font-size: clamp(46px, 7.5vw, 82px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: .055em;
    text-wrap: balance;
}

.hero__lead {
    max-width: 610px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 2;
    letter-spacing: .02em;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 1px;
    align-items: center;
}

.hero__stat strong {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.hero__stat span {
    color: var(--muted-light);
    font-size: 10.5px;
    letter-spacing: .06em;
}

.hero__stat-divider {
    width: 1px;
    height: 28px;
    background: var(--line-strong);
    opacity: .7;
}

.hero__hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0 0;
    color: var(--muted-light);
    font-size: 11.5px;
    letter-spacing: .04em;
}

.hero__hint-dot {
    width: 5px;
    height: 5px;
    background: var(--rose-line);
    border-radius: 50%;
}

/* ---------- Checklist card ---------- */

.checklist-form {
    width: 100%;
}

.checklist-card {
    width: calc(100% - 48px);
    max-width: 1080px;
    margin: 0 auto;
    padding: 42px 46px 0;
    background: rgba(255, 253, 251, .9);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 30px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
}

.checklist-card__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.checklist-card__head h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .03em;
}

.selection-counter {
    display: flex;
    align-items: baseline;
    padding-bottom: 2px;
    color: var(--muted-light);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.selection-counter__num {
    color: var(--rose-deep);
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
}

.selection-counter__total {
    margin-left: 5px;
    font-size: 11px;
    letter-spacing: .05em;
}

.checklist-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 26px 0 20px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 220px;
    height: 39px;
    padding: 0 13px;
    color: var(--muted-light);
    background: #f8f2ee;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: border-color .2s ease, background-color .2s ease;
}

.search-box:focus-within {
    background: #fff;
    border-color: var(--rose-line);
}

.search-box input {
    width: 100%;
    min-width: 0;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 12.5px;
}

.search-box input::placeholder {
    color: var(--muted-light);
}

.search-box input::-webkit-search-cancel-button {
    cursor: pointer;
    opacity: .45;
}

.tool-button {
    padding: 5px 0;
    color: var(--muted);
    background: none;
    border: 0;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 4px;
}

.tool-button:hover {
    color: var(--rose-deep);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.chip {
    position: relative;
    display: inline-flex;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.chip input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.chip__text {
    display: inline-block;
    padding: 8px 13px;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid #ebdfd9;
    border-radius: 9px;
    font-size: 14.5px;
    line-height: 1.45;
    white-space: nowrap;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

@media (hover: hover) {
    .chip:hover .chip__text {
        color: var(--rose-deep);
        background: #fffafc;
        border-color: var(--rose-line);
        transform: translateY(-1px);
    }
}

.chip input:focus-visible + .chip__text {
    outline: 2px solid rgba(179, 72, 114, .45);
    outline-offset: 2px;
}

.chip input:checked + .chip__text {
    color: var(--rose-deep);
    background: linear-gradient(135deg, #fcebf2 0%, #fae3ec 100%);
    border-color: var(--rose-line);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 3px 10px -7px rgba(142, 46, 85, .65);
}

.search-empty {
    margin: 26px 0 6px;
    padding: 24px;
    color: var(--muted);
    background: #faf4f0;
    border-radius: 14px;
    text-align: center;
    font-size: 13px;
}

.checklist-card__foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
    padding: 22px 0 24px;
    color: var(--muted-light);
    border-top: 1px solid #f0e7e2;
    font-size: 11px;
    letter-spacing: .02em;
    text-align: center;
}

.checklist-card__foot p {
    margin: 0;
}

.foot-mark {
    color: var(--rose-line);
    font-size: 11px;
}

/* ---------- Sticky action bar ---------- */

.action-bar {
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: 50%;
    z-index: 40;
    width: calc(100% - 48px);
    max-width: 1080px;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(45, 35, 34, .94);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 17px;
    box-shadow: 0 24px 55px -20px rgba(35, 22, 20, .55);
    backdrop-filter: blur(16px);
}

.action-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 13px 12px 24px;
}

.action-bar__status {
    display: flex;
    align-items: baseline;
    gap: 14px;
    min-width: 0;
}

.action-bar__count {
    font-size: 13.5px;
    white-space: nowrap;
}

.action-bar__count strong {
    margin-right: 1px;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 600;
    color: #f3c6d7;
    font-variant-numeric: tabular-nums;
}

.action-bar__hint {
    color: rgba(255, 255, 255, .42);
    font-size: 11.5px;
    white-space: nowrap;
}

.action-bar .btn--primary {
    min-height: 43px;
    padding: 0 19px;
    background: var(--rose);
    border-color: var(--rose);
    box-shadow: none;
}

.action-bar .btn--primary:hover {
    background: #c1537c;
    border-color: #c1537c;
}

/* ---------- Modal ---------- */

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 31, 29, .48);
    backdrop-filter: blur(5px);
    animation: fadeIn .22s ease both;
}

.modal__panel {
    position: relative;
    width: min(525px, 100%);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    padding: 34px 36px 32px;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 26px;
    box-shadow: 0 40px 100px -30px rgba(31, 20, 18, .55);
    animation: modalIn .3s cubic-bezier(.2, .75, .25, 1) both;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--muted);
    background: #f8f1ed;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.modal__close:hover {
    color: var(--rose-deep);
    background: var(--rose-soft);
}

.modal__panel h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .03em;
    outline: 0;
}

.modal__lead {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.8;
}

.modal__summary {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 22px 0 24px;
    padding: 15px 18px;
    color: var(--muted);
    background: #fbf3f0;
    border: 1px solid #f4e6e0;
    border-radius: 13px;
    font-size: 12.5px;
}

.modal__summary strong {
    color: var(--rose-deep);
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
}

.form-field {
    margin-bottom: 19px;
}

.form-field label {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-bottom: 7px;
    color: var(--ink-soft);
    font-size: 12.5px;
    font-weight: 600;
}

.form-field label span {
    color: var(--muted-light);
    font-size: 10.5px;
    font-weight: 400;
}

.form-field input {
    width: 100%;
    height: 47px;
    padding: 0 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    outline: 0;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-field input:focus {
    border-color: var(--rose-line);
    box-shadow: 0 0 0 3px rgba(179, 72, 114, .09);
}

.form-field input:disabled {
    color: var(--muted-light);
    background: #f7f1ed;
    border-color: #eee3dd;
}

.form-field__hint {
    margin: 7px 1px 0;
    color: var(--muted-light);
    font-size: 11px;
    line-height: 1.6;
}

.form-field.is-muted {
    opacity: .58;
}

.option-list {
    display: grid;
    gap: 9px;
}

.option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
}

.option-card:hover {
    border-color: var(--rose-line);
    background: #fffbfc;
}

.option-card__copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.option-card__title {
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
}

.option-card__desc {
    color: var(--muted-light);
    font-size: 11px;
    line-height: 1.55;
}

.switch {
    position: relative;
    flex: 0 0 auto;
    width: 44px;
    height: 26px;
}

.switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.switch__track {
    display: block;
    width: 44px;
    height: 26px;
    padding: 2px;
    background: #d9ccc6;
    border-radius: 999px;
    transition: background-color .2s ease;
}

.switch__thumb {
    display: block;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(61, 42, 36, .18);
    transition: transform .22s cubic-bezier(.2, .8, .3, 1);
}

.switch input:checked + .switch__track {
    background: var(--rose);
}

.switch input:checked + .switch__track .switch__thumb {
    transform: translateX(18px);
}

.switch input:focus-visible + .switch__track {
    outline: 3px solid rgba(179, 72, 114, .22);
    outline-offset: 2px;
}

.modal__privacy {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 17px 1px 0;
    color: var(--muted-light);
    font-size: 10.5px;
    line-height: 1.65;
}

.modal__privacy svg {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--gold);
}

.modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.modal__actions .btn {
    min-height: 45px;
}

body.modal-open .action-bar {
    z-index: 10;
}

/* ---------- Report hero ---------- */

.report-hero {
    position: relative;
    max-width: 940px;
    margin: 0 auto;
    padding: 62px 28px 40px;
    text-align: center;
}

.report-hero__glow {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    width: 430px;
    max-width: 100vw;
    height: 300px;
    background: radial-gradient(ellipse, rgba(238, 191, 208, .23), transparent 68%);
    transform: translateX(-50%);
    pointer-events: none;
}

.report-hero__title {
    margin: 20px 0 0;
    font-family: var(--serif);
    font-size: clamp(38px, 5.8vw, 62px);
    font-weight: 600;
    line-height: 1.34;
    letter-spacing: .035em;
}

.report-hero__name {
    color: var(--rose-deep);
}

.report-hero__of {
    color: var(--muted-light);
    font-size: .55em;
    font-weight: 400;
    margin: 0 .08em;
}

.report-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    color: var(--rose-deep);
    background: var(--rose-soft);
    border: 1px solid rgba(179, 72, 114, .1);
    border-radius: 999px;
    font-size: 10.5px;
    line-height: 1;
    letter-spacing: .04em;
}

.meta-pill--soft {
    color: #6d7553;
    background: #f1f2e8;
    border-color: #e5e7d8;
}

.meta-pill--muted {
    color: var(--muted);
    background: #f3ede9;
    border-color: #e9dfd9;
}

.report-meta__date {
    margin-left: 5px;
    color: var(--muted-light);
    font-size: 10.5px;
}

.report-hero__headline {
    margin: 30px auto 0;
    padding: 26px 30px 24px;
    background: rgba(255, 253, 251, .62);
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 20px;
    box-shadow: 0 18px 50px -44px rgba(83, 57, 49, .5);
    backdrop-filter: blur(8px);
}

.report-hero__headline p {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.9;
    letter-spacing: .02em;
}

.report-hero__headline strong {
    color: var(--rose-deep);
    font-size: 1.15em;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.report-hero__subline {
    margin-top: 5px !important;
    color: var(--muted);
    font-family: var(--sans) !important;
    font-size: 11.5px !important;
    line-height: 1.8 !important;
}

/* ---------- Report body ---------- */

.report-body {
    width: calc(100% - 48px);
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 0 80px;
}

.notice-strip {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 16px;
    padding: 13px 17px;
    color: #766449;
    background: #fbf5e8;
    border: 1px solid #efe2c8;
    border-radius: 13px;
    font-size: 11.5px;
    line-height: 1.7;
}

.notice-strip__icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: #8c7148;
    border: 1px solid #cbb78c;
    border-radius: 50%;
    font-family: var(--serif);
    font-size: 11px;
    font-style: italic;
}

.notice-strip p {
    margin: 0;
}

.report-overview {
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    gap: 16px;
}

.completion-card {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 26px 28px;
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

.completion-ring {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 118px;
    height: 118px;
    padding: 6px;
    background: conic-gradient(var(--rose) 0 var(--progress), #f0e4de var(--progress) 100%);
    border-radius: 50%;
}

.completion-ring__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 50%;
    font-variant-numeric: tabular-nums;
}

.completion-ring__inner strong {
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 600;
    line-height: 1.15;
}

.completion-ring__inner span {
    color: var(--muted-light);
    font-size: 10px;
}

.completion-card__copy {
    min-width: 0;
}

.completion-card__copy h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.45;
}

.completion-card__copy p:last-child {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.75;
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.metric-card {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: baseline;
    padding: 16px 18px;
    background: rgba(255, 253, 251, .8);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 18px;
    box-shadow: 0 10px 30px -26px rgba(83, 57, 49, .4);
}

.metric-card__label {
    width: 100%;
    margin-bottom: 4px;
    color: var(--muted-light);
    font-size: 10.5px;
    letter-spacing: .03em;
}

.metric-card strong {
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 600;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.metric-card__unit {
    margin-left: 4px;
    color: var(--muted-light);
    font-size: 9.5px;
}

.metric-card--accent {
    background: linear-gradient(145deg, #fbe8ef, #f8e0e9);
    border-color: rgba(255, 255, 255, .7);
}

.metric-card--accent strong {
    color: var(--rose-deep);
}

.metric-card--accent .metric-card__label,
.metric-card--accent .metric-card__unit {
    color: #a96880;
}

/* ---------- Report section ---------- */

.report-section {
    margin-top: 16px;
    padding: 32px 36px 30px;
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
}

.report-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1e7e2;
}

.report-section__head h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
}

.report-section__aside {
    max-width: 260px;
    margin: 0 0 2px;
    color: var(--muted-light);
    font-size: 10.5px;
    line-height: 1.6;
    text-align: right;
}

.report-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    row-gap: 22px;
    margin-top: 26px;
}

.stat-row {
    min-width: 0;
}

.stat-row__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.stat-row__name {
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stat-row__value {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 10.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.stat-row__value strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 600;
}

.stat-row__value em {
    margin-left: 4px;
    color: var(--rose);
    font-style: normal;
}

.stat-row__value--empty {
    color: var(--muted-light);
    font-size: 9.5px;
}

.stat-bar {
    height: 4px;
    overflow: hidden;
    background: #f2e8e3;
    border-radius: 999px;
}

.stat-bar span {
    display: block;
    height: 100%;
    min-width: 0;
    background: linear-gradient(90deg, #dba5b9, var(--rose));
    border-radius: inherit;
    transition: width .6s cubic-bezier(.2, .8, .3, 1);
}

.report-insights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #f1e7e2;
}

.insight {
    padding-left: 18px;
    border-left: 1px solid #eddfd8;
}

.insight:first-child {
    padding-left: 0;
    border-left: 0;
}

.insight__num {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--rose-deep);
    font-variant-numeric: tabular-nums;
}

.insight p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.6;
}

.empty-state {
    padding: 55px 20px 48px;
    text-align: center;
}

.empty-state__mark {
    display: inline-block;
    color: var(--rose-line);
    font-size: 22px;
}

.empty-state h3 {
    margin: 10px 0 0;
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 600;
}

.empty-state p {
    max-width: 380px;
    margin: 8px auto 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

/* ---------- Report CTA ---------- */

.report-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 16px;
    padding: 33px 36px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(179, 72, 114, .30), transparent 45%),
        #302526;
    border-radius: 24px;
    box-shadow: 0 26px 70px -42px rgba(48, 37, 38, .8);
}

.report-cta .section-kicker {
    color: #d49ab0;
}

.report-cta h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 31px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: .03em;
}

.report-cta p:last-child {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .52);
    font-size: 11.5px;
}

.report-cta__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
}

.report-cta .btn--ghost {
    color: rgba(255, 255, 255, .72);
    border-color: rgba(255, 255, 255, .2);
}

.report-cta .btn--ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .35);
}

.report-footnote {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin: 26px auto 0;
    color: var(--muted-light);
    font-size: 10.5px;
    line-height: 1.7;
    text-align: center;
}

.report-footnote span {
    color: var(--rose-line);
}

/* ---------- Footer ---------- */

.site-footer {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 12px 24px 46px;
    color: var(--muted-light);
    text-align: center;
}

.site-footer__line {
    margin: 0 0 4px;
    font-family: var(--serif);
    font-size: 12.5px;
    letter-spacing: .08em;
}

.site-footer__small {
    margin: 0;
    font-size: 9.5px;
    letter-spacing: .03em;
    opacity: .8;
}

.site-footer__small span {
    margin: 0 5px;
}

body.page-home {
    padding-bottom: 112px;
}

body.page-home .site-footer {
    padding-bottom: 34px;
}

/* ---------- Error page ---------- */

.error-page {
    display: grid;
    place-items: center;
    padding: 30px 20px;
    background:
        radial-gradient(circle at 50% 20%, rgba(238, 196, 210, .28), transparent 28rem),
        var(--paper);
}

.error-shell {
    width: min(560px, 100%);
    padding: 48px 44px;
    text-align: center;
    background: var(--white);
    border-radius: 26px;
    box-shadow: var(--shadow-card);
}

.error-shell .eyebrow {
    justify-content: center;
}

.error-shell h1 {
    margin: 16px 0 10px;
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
}

.error-message {
    margin: 0 auto 26px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.error-detail {
    max-height: 220px;
    margin: 0 0 24px;
    padding: 14px;
    overflow: auto;
    color: #8e2e55;
    background: #fbf0f4;
    border-radius: 10px;
    font-size: 11px;
    text-align: left;
    white-space: pre-wrap;
}

/* ---------- Toast ---------- */

.toast {
    position: fixed;
    bottom: calc(92px + env(safe-area-inset-bottom));
    left: 50%;
    z-index: 120;
    padding: 10px 17px;
    color: #fff;
    background: rgba(45, 35, 34, .94);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    box-shadow: 0 16px 40px -18px rgba(35, 22, 20, .55);
    font-size: 12px;
    line-height: 1.5;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .2s ease, transform .2s ease;
}

.toast.is-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---------- Motion ---------- */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    .site-header {
        padding: 20px 24px;
    }

    .hero {
        padding-top: 54px;
    }

    .checklist-card {
        padding: 32px 28px 0;
    }

    .report-overview {
        grid-template-columns: 1fr;
    }

    .report-body {
        width: calc(100% - 40px);
    }

    .report-list {
        column-gap: 32px;
    }

    .report-section__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .report-section__aside {
        max-width: none;
        text-align: left;
    }

    .report-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }
}

@media (max-width: 680px) {
    .site-header {
        padding: 18px 18px;
    }

    .header-note {
        display: none;
    }

    .hero {
        padding: 46px 20px 38px;
    }

    .hero__title {
        margin-top: 17px;
        font-size: clamp(39px, 11vw, 52px);
        letter-spacing: .035em;
    }

    .hero__lead {
        margin-top: 17px;
        font-size: 14px;
        line-height: 1.9;
    }

    .desktop-break {
        display: none;
    }

    .hero__stats {
        gap: 16px;
        margin-top: 25px;
    }

    .hero__stat strong {
        font-size: 21px;
    }

    .hero__stat span {
        font-size: 9.5px;
    }

    .hero__stat-divider {
        height: 24px;
    }

    .hero__hint {
        margin-top: 20px;
        font-size: 10.5px;
    }

    .checklist-card {
        width: calc(100% - 28px);
        padding: 26px 18px 0;
        border-radius: 23px;
    }

    .checklist-card__head {
        align-items: flex-start;
    }

    .checklist-card__head h2 {
        font-size: 27px;
    }

    .section-desc {
        font-size: 12px;
    }

    .selection-counter__num {
        font-size: 31px;
    }

    .checklist-tools {
        margin: 21px 0 17px;
    }

    .search-box {
        width: min(210px, 70%);
    }

    .chips {
        gap: 7px;
    }

    .chip__text {
        padding: 7px 11px;
        border-radius: 8px;
        font-size: 13px;
    }

    .checklist-card__foot {
        margin-top: 27px;
        padding: 18px 0 20px;
        font-size: 10px;
    }

    .action-bar {
        bottom: calc(10px + env(safe-area-inset-bottom));
        width: calc(100% - 20px);
        border-radius: 15px;
    }

    .action-bar__inner {
        padding: 10px 10px 10px 17px;
        gap: 12px;
    }

    .action-bar__hint {
        display: none;
    }

    .action-bar__count {
        font-size: 12px;
    }

    .action-bar__count strong {
        font-size: 21px;
    }

    .action-bar .btn--primary {
        min-height: 42px;
        padding: 0 15px;
        font-size: 12.5px;
    }

    .modal {
        align-items: end;
        padding: 12px;
    }

    .modal__panel {
        width: 100%;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        padding: 29px 20px 22px;
        border-radius: 24px;
    }

    .modal__panel h2 {
        font-size: 29px;
    }

    .modal__lead {
        font-size: 12.5px;
    }

    .modal__summary {
        margin: 18px 0 20px;
    }

    .option-card {
        padding: 12px 13px;
    }

    .option-card__desc {
        font-size: 10.5px;
    }

    .modal__actions .btn {
        flex: 1;
        min-height: 44px;
    }

    .report-hero {
        padding: 46px 20px 32px;
    }

    .report-hero__title {
        font-size: 38px;
        line-height: 1.38;
    }

    .report-hero__headline {
        margin-top: 23px;
        padding: 21px 18px;
        border-radius: 17px;
    }

    .report-hero__headline p {
        font-size: 16.5px;
        line-height: 1.9;
    }

    .report-hero__subline {
        font-size: 10.5px !important;
    }

    .report-body {
        width: calc(100% - 28px);
        padding-bottom: 56px;
    }

    .completion-card {
        gap: 19px;
        padding: 22px 20px;
        border-radius: 20px;
    }

    .completion-ring {
        width: 96px;
        height: 96px;
    }

    .completion-ring__inner strong {
        font-size: 24px;
    }

    .completion-card__copy h2 {
        font-size: 20px;
    }

    .metric-card {
        padding: 14px 15px;
    }

    .metric-card strong {
        font-size: 26px;
    }

    .report-section {
        padding: 25px 19px 23px;
        border-radius: 21px;
    }

    .report-section__head h2 {
        font-size: 24px;
    }

    .report-list {
        grid-template-columns: 1fr;
        row-gap: 19px;
        margin-top: 22px;
    }

    .report-insights {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 25px;
        padding-top: 19px;
    }

    .insight {
        display: flex;
        align-items: baseline;
        gap: 9px;
        padding-left: 0;
        border-left: 0;
    }

    .insight__num {
        min-width: 58px;
        font-size: 23px;
    }

    .insight p {
        margin: 0;
    }

    .report-cta {
        padding: 27px 21px;
        border-radius: 21px;
    }

    .report-cta h2 {
        font-size: 26px;
    }

    .report-cta__actions {
        width: 100%;
    }

    .report-cta__actions .btn {
        flex: 1;
        padding: 0 12px;
        font-size: 12px;
    }

    .error-shell {
        padding: 37px 22px;
    }

    .error-shell h1 {
        font-size: 29px;
    }

    body.page-home {
        padding-bottom: 96px;
    }
}

@media (max-width: 380px) {
    .hero__stats {
        gap: 11px;
    }

    .hero__stat strong {
        font-size: 19px;
    }

    .hero__stat span {
        font-size: 8.5px;
    }

    .selection-counter__num {
        font-size: 28px;
    }

    .chip__text {
        font-size: 12.5px;
    }

    .action-bar__count {
        font-size: 11px;
    }

    .action-bar .btn--primary {
        padding: 0 11px;
        font-size: 11.5px;
    }

    .report-section__head h2 {
        font-size: 22px;
    }

    .report-cta h2 {
        font-size: 23px;
    }

    .report-cta__actions {
        flex-direction: column;
    }

    .report-cta__actions .btn {
        flex: none;
        width: 100%;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
