.mood-page {
    --paper: #fbfcfa;
    --paper-warm: #eef4f2;
    --paper-deep: #e4ece8;
    --lavender: #6f769f;
    --lavender-soft: #e0e3f1;
    --rose: #cb766f;
    --rose-soft: #f3dcd7;
    --sage: #668f84;
    --sage-soft: #d9e8e2;
    --gold: #bd9552;
    --gold-soft: #efe3c8;
    --header-bg: rgba(251, 252, 250, 0.84);
}

.tw-dark .mood-page {
    --paper: #111413;
    --paper-warm: #151a18;
    --paper-deep: #1d2522;
    --lavender: #b0b7dc;
    --lavender-soft: #303449;
    --rose: #e5a19a;
    --rose-soft: #412c2a;
    --sage: #9bc3b7;
    --sage-soft: #283a35;
    --gold: #dbb873;
    --gold-soft: #3d3423;
    --header-bg: rgba(21, 26, 24, 0.86);
}

.mood-page .hero {
    background:
        linear-gradient(180deg, transparent 0%, transparent 72%, var(--paper) 100%),
        radial-gradient(circle at 17% 23%, var(--lavender-soft) 0, transparent 31%),
        radial-gradient(circle at 88% 68%, var(--sage-soft) 0, transparent 29%),
        var(--paper-warm);
}

.mood-page .hero-glow-one {
    background: var(--gold);
    opacity: 0.22;
}

.mood-page .hero-glow-two {
    background: var(--sage);
}

.mood-page .hero-copy h1 {
    max-width: 670px;
}

.mood-hero-visual {
    min-height: 650px;
}

.mood-phone-stage {
    right: 12px;
    bottom: -2px;
    width: 390px;
    height: 590px;
    background: radial-gradient(circle at 52% 50%, var(--card-solid) 0, transparent 68%);
}

.mood-phone {
    right: -2px;
    bottom: -50px;
    width: 390px;
    height: auto;
    filter: drop-shadow(0 30px 35px rgba(31, 45, 39, 0.24));
    transform: rotate(2deg);
}

.mood-week-label {
    top: 65px;
    right: -7px;
    min-width: 115px;
}

.mood-week-label strong {
    color: #239ec1;
}

.state-note {
    position: absolute;
    z-index: 5;
    display: grid;
    width: 185px;
    padding: 15px 17px;
    grid-template-columns: 15px 1fr;
    gap: 2px 9px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card-solid);
    box-shadow: var(--shadow);
}

.state-note .state-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.state-note b {
    font-family: "Newsreader", serif;
    font-size: 21px;
    font-weight: 500;
    line-height: 1;
}

.state-note small {
    grid-column: 2;
    color: var(--muted);
    font-family: "Caveat", cursive;
    font-size: 16px;
    line-height: 1.1;
}

.state-note-calm {
    top: 90px;
    left: -5px;
    transform: rotate(-7deg);
}

.state-note-calm .state-dot {
    background: #63c4a8;
}

.state-note-busy {
    right: -25px;
    bottom: 80px;
    transform: rotate(6deg);
}

.state-note-busy .state-dot {
    background: #ff706f;
}

.mood-caption {
    right: calc(12px + 195px);
    bottom: -50px;
}

.mood-caption i {
    color: var(--sage);
}

.mood-page .promise-row .script-note {
    color: var(--sage);
}

.soft-callout {
    display: flex;
    width: fit-content;
    padding: 12px 15px;
    gap: 9px;
    align-items: flex-start;
    border-radius: 12px;
    background: var(--sage-soft);
    color: var(--sage) !important;
    font-size: 13px !important;
    font-weight: 600;
}

.soft-callout i {
    margin-top: 1px;
}

.states-board {
    position: relative;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, var(--lavender-soft), transparent 31%),
        var(--card-solid);
    box-shadow: var(--shadow);
}

.states-board::after {
    position: absolute;
    right: -45px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    content: "";
    border: 24px solid color-mix(in srgb, var(--sage) 10%, transparent);
    border-radius: 50%;
}

.states-board-top {
    display: flex;
    padding-bottom: 21px;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
}

.states-board-top span {
    font-family: "Newsreader", serif;
    font-size: 27px;
    line-height: 1.1;
}

.states-board-top small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}

.states-board ul {
    position: relative;
    z-index: 1;
    display: flex;
    margin: 19px 0;
    padding: 0;
    flex-direction: column;
    list-style: none;
}

.states-board li {
    display: grid;
    min-height: 54px;
    padding: 10px 3px;
    grid-template-columns: 15px 1fr auto;
    gap: 9px;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.states-board li:last-child {
    border: 0;
}

.states-board li b {
    font-size: 14px;
}

.states-board li small {
    color: var(--muted);
    font-family: "Caveat", cursive;
    font-size: 15px;
}

.state-swatch {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.state-swatch-calm {
    background: #63c4a8;
}

.state-swatch-busy {
    background: #ff706f;
}

.state-swatch-messy {
    background: #8267dd;
}

.state-swatch-happy {
    background: #f2c759;
}

.states-add {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: 43px;
    gap: 7px;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--line-strong);
    border-radius: 11px;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
}

.mood-capture-visual {
    background:
        linear-gradient(125deg, color-mix(in srgb, var(--sage-soft) 72%, transparent), transparent 58%),
        var(--paper-deep);
}

.mood-page .capture-card-note > i,
.mood-page .capture-card-note span {
    color: var(--sage);
}

.state-picker-visual {
    display: flex;
    min-height: 400px;
    padding: 38px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 82% 13%, var(--gold-soft), transparent 27%),
        var(--card-solid);
    box-shadow: inset 0 0 0 9px var(--paper-deep);
}

.state-picker-visual > p {
    margin: 0 0 22px;
    font-family: "Newsreader", serif;
    font-size: 27px;
    text-align: center;
}

.state-picker-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.state-picker-grid span {
    display: flex;
    min-height: 53px;
    padding: 10px 13px;
    gap: 9px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--card);
    color: var(--muted);
    font-size: 13px;
}

.state-picker-grid span > i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--sage);
}

.state-picker-grid span:nth-child(2) > i {
    background: var(--rose);
}

.state-picker-grid span:nth-child(3) > i {
    background: var(--lavender);
}

.state-picker-grid span:nth-child(4) > i {
    background: var(--gold);
}

.state-picker-grid span:nth-child(5) > i {
    background: #3db7d3;
}

.state-picker-grid span:nth-child(6) > i {
    display: inline-flex;
    width: auto;
    height: auto;
    background: none;
}

.state-picker-grid .is-selected {
    border-color: color-mix(in srgb, var(--sage) 55%, transparent);
    background: var(--sage-soft);
    color: var(--ink);
    box-shadow: 0 7px 18px color-mix(in srgb, var(--sage) 15%, transparent);
}

.state-picker-grid span b {
    margin-left: auto;
    color: var(--sage);
}

.state-picker-visual > small {
    margin-top: 20px;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

.pattern-visual {
    min-height: 440px;
    background: radial-gradient(circle at 50% 48%, var(--lavender-soft), transparent 68%);
}

.pattern-screen {
    position: absolute;
    top: 15px;
    left: 50%;
    width: 300px;
    height: 405px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #f4f4f4;
    box-shadow: var(--shadow);
    transform: translateX(-50%) rotate(-2deg);
}

.pattern-screen img {
    width: 100%;
    height: auto;
}

.pattern-insight {
    position: absolute;
    right: 2px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    width: 215px;
    padding: 14px 16px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card-solid);
    box-shadow: var(--shadow);
    line-height: 1.35;
    transform: rotate(4deg);
}

.pattern-insight span {
    color: var(--sage);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.pattern-insight b {
    margin-top: 5px;
    font-family: "Newsreader", serif;
    font-size: 17px;
    font-weight: 500;
}

.future-panel {
    grid-template-columns: minmax(350px, 0.92fr) minmax(410px, 1.08fr);
    background:
        radial-gradient(circle at 12% 20%, var(--sage-soft), transparent 31%),
        radial-gradient(circle at 91% 84%, var(--lavender-soft), transparent 35%),
        var(--paper-warm);
}

.future-panel .perspective-copy > p:not(.section-kicker) {
    margin-bottom: 15px;
}

.coming-badge {
    display: inline-flex;
    margin-right: 7px;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold);
    letter-spacing: 0.09em;
}

.future-note {
    display: flex;
    margin-top: 25px;
    padding: 13px 15px;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--card-solid);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.future-note i {
    margin-top: 1px;
    color: var(--gold);
}

.future-note strong {
    color: var(--ink);
}

.moods-preview {
    position: relative;
    display: flex;
    min-height: 480px;
    align-items: center;
    justify-content: center;
}

.moods-image-wrap {
    position: relative;
    z-index: 2;
    width: 330px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: var(--shadow);
}

.moods-image-wrap img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    mix-blend-mode: normal;
}

.tw-dark .moods-image-wrap {
    background: rgba(245, 245, 245, 0.92);
}

.moods-orbit {
    position: absolute;
    z-index: 3;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card-solid);
    box-shadow: var(--shadow-soft);
    font-family: "Caveat", cursive;
    font-size: 19px;
}

.orbit-one {
    top: 67px;
    left: 18px;
    color: var(--sage);
    transform: rotate(-8deg);
}

.orbit-two {
    right: 7px;
    bottom: 95px;
    color: var(--lavender);
    transform: rotate(7deg);
}

.moods-preview > p {
    position: absolute;
    bottom: 10px;
    left: 50%;
    z-index: 3;
    width: max-content;
    margin: 0;
    color: var(--muted);
    font-family: "Caveat", cursive;
    font-size: 23px;
    transform: translateX(-50%) rotate(-2deg);
}

.mood-fit-grid .fit-card:nth-child(1) .fit-icon {
    background: var(--sage-soft);
    color: var(--sage);
}

.mood-fit-grid .fit-card:nth-child(2) .fit-icon {
    background: var(--rose-soft);
    color: var(--rose);
}

.mood-fit-grid .fit-card:nth-child(3) .fit-icon {
    background: var(--gold-soft);
    color: var(--gold);
}

.mood-fit-grid .fit-card:nth-child(4) .fit-icon {
    background: var(--lavender-soft);
    color: var(--lavender);
}

.care-disclaimer {
    padding: 40px 0 0;
}

.care-card {
    display: grid;
    padding: clamp(32px, 5vw, 55px);
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: start;
    border: 1px solid color-mix(in srgb, var(--sage) 28%, var(--line));
    border-radius: 28px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--sage-soft) 78%, var(--card-solid)), var(--card-solid));
    box-shadow: var(--shadow-soft);
}

.care-icon {
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--card-solid);
    color: var(--sage);
    box-shadow: var(--shadow-soft);
    font-size: 25px;
}

.care-card h2 {
    max-width: 800px;
    font-size: clamp(34px, 4.4vw, 54px);
}

.care-card > div > p:last-child {
    max-width: 890px;
    margin: 20px 0 0;
    color: var(--muted);
}

.care-card strong {
    color: var(--ink);
}

.mood-final-cta .cta-card {
    background:
        radial-gradient(circle at 12% 18%, var(--sage-soft), transparent 29%),
        radial-gradient(circle at 90% 84%, var(--lavender-soft), transparent 31%),
        var(--paper-warm);
}

.mood-final-cta .cta-doodle {
    color: var(--sage);
}

@media (max-width: 1080px) {
    .state-note-calm {
        left: -18px;
    }

    .mood-phone-stage {
        right: -4px;
    }

    .mood-caption {
        right: 191px;
    }
}

@media (max-width: 860px) {
    .mood-hero-visual {
        width: min(100%, 590px);
        min-height: 635px;
    }

    .mood-phone-stage {
        right: 50%;
        transform: translateX(50%);
    }

    .state-note-calm {
        left: 5px;
    }

    .state-note-busy {
        right: 0;
    }

    .mood-caption {
        right: 50%;
    }

    .future-panel {
        grid-template-columns: 1fr;
    }

    .moods-preview {
        max-width: 580px;
    }
}

@media (max-width: 600px) {
    .mood-page .hero-copy h1 {
        font-size: clamp(41px, 10.7vw, 46px);
    }

    .mood-hero-visual {
        min-height: 540px;
        margin-top: 30px;
    }

    .mood-phone-stage {
        width: 300px;
        height: 470px;
    }

    .mood-phone {
        right: 4px;
        bottom: -20px;
        width: 300px;
    }

    .mood-week-label {
        top: 48px;
        right: -5px;
    }

    .state-note {
        width: 145px;
        padding: 11px 12px;
    }

    .state-note b {
        font-size: 18px;
    }

    .state-note small {
        font-size: 13px;
    }

    .state-note-calm {
        top: 32px;
        left: -2px;
    }

    .state-note-busy {
        right: -3px;
        bottom: 67px;
    }

    .mood-caption {
        right: auto;
        bottom: -48px;
        max-width: calc(100vw - 34px);
        padding-inline: 13px;
        gap: 7px;
        font-size: 10px;
        white-space: nowrap;
    }

    .states-board {
        padding: 25px 20px;
    }

    .states-board li {
        grid-template-columns: 15px 1fr;
    }

    .states-board li small {
        grid-column: 2;
        margin-top: -8px;
    }

    .state-picker-visual {
        min-height: 365px;
        padding: 28px 18px;
        box-shadow: inset 0 0 0 7px var(--paper-deep);
    }

    .state-picker-grid {
        gap: 7px;
    }

    .state-picker-grid span {
        min-height: 48px;
        padding: 8px 9px;
        font-size: 11px;
    }

    .pattern-visual {
        min-height: 390px;
    }

    .pattern-screen {
        width: 245px;
        height: 350px;
    }

    .pattern-insight {
        right: -4px;
        bottom: 16px;
        width: 185px;
    }

    .future-panel {
        padding-bottom: 34px;
    }

    .moods-preview {
        min-height: 390px;
    }

    .moods-image-wrap {
        width: 245px;
        padding: 9px;
    }

    .orbit-one {
        top: 45px;
        left: -2px;
    }

    .orbit-two {
        right: -3px;
        bottom: 74px;
    }

    .moods-preview > p {
        bottom: 0;
        max-width: 100%;
        font-size: 19px;
        text-align: center;
        white-space: normal;
    }

    .care-disclaimer {
        padding-bottom: 82px;
    }

    .care-card {
        grid-template-columns: 1fr;
        gap: 20px;
        border-radius: 24px;
    }

    .care-icon {
        width: 50px;
        height: 50px;
        font-size: 21px;
    }

    .care-card > div > p:last-child {
        font-size: 14px;
    }
}

@media (max-width: 370px) {
    .mood-page .hero-copy h1 {
        font-size: 39px;
    }

    .mood-hero-visual {
        margin-bottom: -30px;
    }

    .state-note-calm {
        left: -10px;
    }

    .state-note-busy {
        right: -10px;
    }
}
