/* =========================================================
   LUMORA WELLNESS
   THE GENTLE RESET — 2.0
   Premium Interactive Workbook
   ========================================================= */


/* =========================================================
   01. ROOT VARIABLES
   ========================================================= */

:root {
    --sage: #8fa89a;
    --deep-sage: #526b5d;
    --soft-sage: #dce6df;

    --cream: #f8f5ee;
    --warm-white: #fffdf8;

    --text: #35443c;
    --muted: #718078;

    --border: #d9dfda;
    --light-border: #e8ebe7;

    --shadow-soft:
        0 18px 50px rgba(53, 68, 60, 0.06);

    --shadow-card:
        0 12px 35px rgba(53, 68, 60, 0.07);

    --radius: 4px;

    --serif: 'Cormorant Garamond', serif;
    --sans: 'Montserrat', sans-serif;
}


/* =========================================================
   02. RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

button,
textarea,
input {
    font: inherit;
}


/* =========================================================
   03. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
    margin-top: 0;
    font-family: var(--serif);
    font-weight: 500;
    color: var(--deep-sage);
}

p {
    margin-top: 0;
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--deep-sage);
    font-family: var(--sans);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    line-height: 1.4;
    text-transform: uppercase;
}


/* =========================================================
   04. TOP HEADER
   ========================================================= */

.workbook-header {
    position: sticky;
    top: 0;
    z-index: 1100;

    min-height: 68px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 0 6%;

    background: rgba(248, 245, 238, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid var(--border);
}

.back-link {
    justify-self: start;

    color: var(--deep-sage);
    text-decoration: none;

    font-size: 0.68rem;
    letter-spacing: 0.08em;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.back-link:hover {
    opacity: 0.65;
    transform: translateX(-3px);
}

.mini-logo {
    color: var(--deep-sage);

    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.3em;
}

.chapter-indicator {
    justify-self: end;

    color: var(--muted);

    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}


/* =========================================================
   05. CHAPTER NAVIGATION
   ========================================================= */

.chapter-nav {
    position: sticky;
    top: 68px;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;

    padding: 13px 20px 11px;

    background: rgba(255, 253, 248, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);

    box-shadow: 0 5px 20px rgba(53, 68, 60, 0.025);
}

.chapter-nav-inner {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 14px;
}

.chapter-nav a {
    position: relative;

    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--muted);
    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.chapter-nav a span {
    color: var(--deep-sage);

    font-size: 0.61rem;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.chapter-nav a small {
    font-size: 0.61rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.chapter-nav a:hover {
    color: var(--deep-sage);
    transform: translateY(-1px);
}

.chapter-nav a.active {
    color: var(--deep-sage);
}

.chapter-nav a.active small {
    font-weight: 600;
}

.chapter-nav a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;

    height: 1px;

    background: var(--deep-sage);
}

.chapter-nav-divider {
    color: var(--sage);
    font-size: 0.75rem;
    opacity: 0.55;
}


/* =========================================================
   06. PROGRESS BAR
   ========================================================= */

.progress-area {
    width: min(520px, 100%);
    margin-top: 8px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 6px;

    color: var(--muted);

    font-size: 0.5rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

#progress-text {
    color: var(--deep-sage);
    font-weight: 500;
}

.progress-track {
    width: 100%;
    height: 3px;

    overflow: hidden;

    background: var(--soft-sage);

    border-radius: 10px;
}

.progress-fill {
    width: 20%;
    height: 100%;

    background: var(--deep-sage);

    border-radius: 10px;

    transition: width 0.7s ease;
}


/* =========================================================
   07. HERO / COVER
   ========================================================= */

.gentle-cover {
    position: relative;

    min-height: calc(100vh - 140px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 110px 25px;

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(143, 168, 154, 0.17),
            transparent 30%
        ),
        radial-gradient(
            circle at 88% 75%,
            rgba(143, 168, 154, 0.12),
            transparent 30%
        ),
        var(--cream);
}


/* Decorative botanical ring */

.gentle-cover::before {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    top: 8%;
    right: -120px;

    border: 1px solid rgba(82, 107, 93, 0.12);

    border-radius: 50%;
}

.gentle-cover::after {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    bottom: -100px;
    left: -70px;

    border: 1px solid rgba(82, 107, 93, 0.09);

    border-radius: 50%;
}

.cover-decoration {
    position: absolute;

    top: 18%;
    right: 14%;

    width: 70px;
    height: 110px;

    opacity: 0.3;
    transform: rotate(25deg);
}


/* CSS botanical stem */

.cover-decoration::before {
    content: "";

    position: absolute;

    width: 1px;
    height: 105px;

    left: 34px;
    top: 0;

    background: var(--sage);

    transform: rotate(-18deg);
    transform-origin: bottom;
}


/* CSS botanical leaves */

.cover-decoration::after {
    content: "";

    position: absolute;

    width: 24px;
    height: 12px;

    left: 20px;
    top: 28px;

    border: 1px solid var(--sage);
    border-radius: 100% 0 100% 0;

    box-shadow:
        17px 20px 0 -1px transparent,
        -9px 28px 0 -1px transparent;
}


/* Hide old decorative text symbol */

.leaf-art {
    display: none;
}

.gentle-cover .eyebrow {
    position: relative;
    z-index: 2;
}

.gentle-cover h1 {
    position: relative;
    z-index: 2;

    max-width: 900px;

    margin: 0 0 22px;

    color: var(--deep-sage);

    font-family: var(--serif);
    font-size: clamp(4.2rem, 10vw, 8rem);
    font-weight: 500;

    line-height: 0.86;
    letter-spacing: -0.03em;
}

.cover-subtitle {
    position: relative;
    z-index: 2;

    margin-bottom: 0;

    color: var(--sage);

    font-family: var(--serif);
    font-size: 1.55rem;
    font-style: italic;
}

.cover-divider {
    width: 65px;
    height: 1px;

    margin: 28px auto;

    background: var(--sage);
}

.cover-introduction {
    position: relative;
    z-index: 2;

    max-width: 560px;

    margin-bottom: 34px;

    color: var(--muted);

    font-size: 0.84rem;
    line-height: 1.9;
}


/* =========================================================
   08. BUTTONS
   ========================================================= */

.primary-button {
    position: relative;
    z-index: 2;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 14px 29px;

    border-radius: 50px;

    background: var(--deep-sage);
    color: var(--warm-white);

    text-decoration: none;

    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.11em;
    text-transform: uppercase;

    box-shadow: 0 8px 22px rgba(82, 107, 93, 0.13);

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.primary-button:hover {
    background: var(--sage);

    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(82, 107, 93, 0.18);
}


/* =========================================================
   09. GENERAL SECTIONS
   ========================================================= */

.workbook-section {
    position: relative;

    padding: 125px 25px;
}

.section-inner {
    width: min(850px, 100%);
    margin: 0 auto;
}

.welcome-section {
    background: var(--warm-white);
}

.welcome-section h2,
.chapter-section h2,
.upcoming-chapter h2 {
    max-width: 800px;

    margin: 0 0 32px;

    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.welcome-section p:not(.eyebrow),
.chapter-section p:not(.eyebrow) {
    max-width: 700px;

    color: var(--muted);

    font-size: 0.88rem;
    line-height: 1.9;

    margin-bottom: 21px;
}

.lead {
    color: var(--sage) !important;

    font-family: var(--serif);

    font-size: 1.55rem !important;
    font-style: italic;

    line-height: 1.35 !important;
}


/* =========================================================
   10. WELCOME SECTION
   ========================================================= */

.welcome-section {
    overflow: hidden;
}

.welcome-section::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -130px;
    top: 15%;

    border: 1px solid rgba(143, 168, 154, 0.18);

    border-radius: 50%;
}

.welcome-section::after {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: 7%;
    top: 25%;

    border: 1px solid rgba(143, 168, 154, 0.13);

    border-radius: 50%;
}


/* =========================================================
   11. GENTLE NOTE
   ========================================================= */

.gentle-note {
    position: relative;

    display: flex;
    align-items: center;
    gap: 22px;

    margin: 45px 0;

    padding: 27px 32px;

    background: var(--soft-sage);

    border-left: 2px solid var(--sage);

    overflow: hidden;
}

.gentle-note::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    right: -45px;
    top: -45px;

    border: 1px solid rgba(82, 107, 93, 0.12);

    border-radius: 50%;
}

.gentle-note span {
    display: none;
}

.gentle-note p {
    position: relative;
    z-index: 2;

    margin: 0;

    color: var(--deep-sage) !important;

    font-family: var(--serif);

    font-size: 1.28rem !important;
    font-style: italic;
}


/* =========================================================
   12. CHAPTER SECTIONS
   ========================================================= */

.chapter-section {
    background: var(--cream);
}

.chapter-number {
    display: inline-flex;
    align-items: center;

    margin-bottom: 24px;

    padding: 7px 14px;

    border: 1px solid var(--border);
    border-radius: 50px;

    color: var(--sage);

    font-size: 0.59rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}


/* Alternate chapter backgrounds */

#chapter2 {
    background: var(--warm-white);
}

#chapter3 {
    background: var(--cream);
}

#chapter4 {
    background: var(--warm-white);
}

#chapter5 {
    background: var(--cream);
}


/* =========================================================
   13. CHAPTER INTRO
   ========================================================= */

.chapter-section > .section-inner > .eyebrow {
    position: relative;
}

.chapter-section > .section-inner > .eyebrow::after {
    content: "";

    display: block;

    width: 35px;
    height: 1px;

    margin-top: 13px;

    background: var(--sage);
}


/* =========================================================
   14. REFLECTION CARDS
   ========================================================= */

.reflection-card {
    position: relative;

    margin: 58px 0;

    padding: 43px 45px 48px;

    background: var(--warm-white);

    border: 1px solid var(--light-border);

    box-shadow: var(--shadow-card);

    overflow: hidden;
}

.reflection-card::before {
    content: "";

    position: absolute;

    width: 5px;
    height: 55px;

    left: 0;
    top: 42px;

    background: var(--sage);
}

.reflection-card::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    right: -40px;
    bottom: -40px;

    border: 1px solid rgba(143, 168, 154, 0.12);

    border-radius: 50%;
}

.reflection-label {
    margin-bottom: 0 !important;

    color: var(--sage) !important;

    font-size: 0.59rem !important;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.reflection-card h3 {
    position: relative;
    z-index: 2;

    max-width: 650px;

    margin: 13px 0 28px;

    color: var(--deep-sage);

    font-size: 2.25rem;
    line-height: 1;

    letter-spacing: -0.01em;
}


/* =========================================================
   15. JOURNAL TEXTAREAS
   ========================================================= */

textarea {
    width: 100%;
    min-height: 180px;

    padding: 20px 20px 18px;

    resize: vertical;

    border: 1px solid var(--border);

    border-radius: 2px;

    background:
        linear-gradient(
            to bottom,
            transparent 31px,
            rgba(143, 168, 154, 0.13) 32px
        );

    background-size: 100% 32px;

    color: var(--text);

    font-family: var(--serif);
    font-size: 1.05rem;

    line-height: 2;

    outline: none;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

textarea:focus {
    border-color: var(--sage);

    background-color: #fffefa;

    box-shadow:
        0 0 0 3px rgba(143, 168, 154, 0.08);
}

textarea::placeholder {
    color: #a0aaa4;

    font-family: var(--serif);
    font-style: italic;
}


/* =========================================================
   16. EMOTION / CHECK-IN AREA
   ========================================================= */

.check-in {
    position: relative;

    margin: 60px 0;

    padding: 43px 45px;

    background: var(--soft-sage);

    border: 1px solid rgba(82, 107, 93, 0.08);

    overflow: hidden;
}

.check-in::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    right: -80px;
    top: -80px;

    border: 1px solid rgba(82, 107, 93, 0.1);

    border-radius: 50%;
}

.check-in h3 {
    position: relative;
    z-index: 2;

    margin: 13px 0 30px;

    color: var(--deep-sage);

    font-size: 2.25rem;
    line-height: 1;
}

.emotion-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;
}

.emotion-grid label {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 13px 15px;

    background: rgba(255, 255, 255, 0.52);

    border: 1px solid rgba(82, 107, 93, 0.09);

    color: var(--deep-sage);

    font-size: 0.75rem;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.emotion-grid label:hover {
    background: rgba(255, 255, 255, 0.8);

    border-color: rgba(82, 107, 93, 0.18);

    transform: translateY(-1px);
}

.emotion-grid input {
    accent-color: var(--deep-sage);
}


/* =========================================================
   17. BOTANICAL DIVIDERS
   ========================================================= */

.botanical-divider {
    position: relative;

    width: 100%;
    height: 45px;

    margin: 45px 0;
}

.botanical-divider::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 100px;
    height: 1px;

    background: var(--border);

    transform: translateX(-50%);
}

.botanical-divider::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 8px;
    height: 8px;

    background: var(--cream);

    border: 1px solid var(--sage);

    transform:
        translate(-50%, -50%)
        rotate(45deg);
}


/* =========================================================
   18. CHAPTER CLOSING
   ========================================================= */

.chapter-closing {
    position: relative;

    max-width: 650px;

    margin: 75px auto 30px;

    padding-top: 55px;

    text-align: center;
}

.chapter-closing::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 0;

    width: 45px;
    height: 1px;

    background: var(--sage);

    transform: translateX(-50%);
}

.closing-leaf {
    display: none;
}

.chapter-closing p {
    margin: 0 auto;

    color: var(--deep-sage) !important;

    font-family: var(--serif);

    font-size: 1.55rem !important;
    font-style: italic;

    line-height: 1.45 !important;
}


/* =========================================================
   19. NEXT CHAPTER AREA
   ========================================================= */

.upcoming-chapter {
    position: relative;

    min-height: 55vh;

    display: flex;
    align-items: center;

    background: var(--warm-white);

    overflow: hidden;
}

.upcoming-chapter:nth-child(even) {
    background: var(--soft-sage);
}

.upcoming-chapter::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    right: -160px;
    top: 50%;

    border: 1px solid rgba(82, 107, 93, 0.1);

    border-radius: 50%;

    transform: translateY(-50%);
}

.text-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--deep-sage);

    text-decoration: none;

    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    transition:
        gap 0.3s ease,
        opacity 0.3s ease;
}

.text-link:hover {
    gap: 15px;
    opacity: 0.7;
}


/* =========================================================
   20. COMPLETION
   ========================================================= */

.completion-section {
    position: relative;

    padding: 170px 25px;

    overflow: hidden;

    text-align: center;

    background: var(--deep-sage);

    color: var(--cream);
}

.completion-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -210px;
    top: 50%;

    border: 1px solid rgba(248, 245, 238, 0.08);

    border-radius: 50%;

    transform: translateY(-50%);
}

.completion-section::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -110px;
    bottom: -100px;

    border: 1px solid rgba(248, 245, 238, 0.07);

    border-radius: 50%;
}

.completion-section .eyebrow {
    position: relative;
    z-index: 2;

    color: rgba(248, 245, 238, 0.7);
}

.completion-section h2 {
    position: relative;
    z-index: 2;

    max-width: 850px;

    margin: 0 auto 30px;

    color: var(--cream);

    font-size: clamp(3.2rem, 7vw, 6.3rem);

    line-height: 0.88;

    letter-spacing: -0.03em;
}

.completion-section p {
    position: relative;
    z-index: 2;

    max-width: 560px;

    margin: 0 auto 30px;

    color: rgba(248, 245, 238, 0.78);

    font-size: 0.88rem;
}

.completion-section .print-button {
    position: relative;
    z-index: 2;

    color: var(--cream);

    border-color: rgba(248, 245, 238, 0.55);
}

.completion-section .print-button:hover {
    background: var(--cream);
    color: var(--deep-sage);
}


/* =========================================================
   21. COMPLETION MARK
   ========================================================= */

.completion-mark {
    position: relative;
    z-index: 2;

    width: 54px;
    height: 54px;

    margin: 0 auto 30px;

    border: 1px solid rgba(248, 245, 238, 0.45);

    border-radius: 50%;
}

.completion-mark::before,
.completion-mark::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 17px;
    height: 1px;

    background: var(--cream);
}

.completion-mark::before {
    transform:
        translate(-50%, -50%)
        rotate(45deg);
}

.completion-mark::after {
    transform:
        translate(-50%, -50%)
        rotate(-45deg);
}


/* Hide old star symbol if present */

.completion-section .completion-mark {
    font-size: 0;
}


/* =========================================================
   22. PRINT BUTTON
   ========================================================= */

.print-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    margin-top: 25px;

    padding: 13px 28px;

    border: 1px solid var(--deep-sage);
    border-radius: 30px;

    background: transparent;
    color: var(--deep-sage);

    font-family: var(--sans);

    font-size: 0.67rem;
    font-weight: 500;
    letter-spacing: 0.12em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.print-button:hover {
    background: var(--deep-sage);
    color: var(--cream);

    transform: translateY(-2px);
}


/* =========================================================
   23. AUTO-SAVE STATUS
   ========================================================= */

.save-status {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 9999;

    padding: 11px 19px;

    border-radius: 30px;

    background: var(--deep-sage);
    color: var(--cream);

    font-family: var(--sans);

    font-size: 0.66rem;
    letter-spacing: 0.08em;

    opacity: 0;

    transform: translateY(10px);

    pointer-events: none;

    box-shadow:
        0 10px 30px rgba(53, 68, 60, 0.16);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.save-status.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   24. FOOTER
   ========================================================= */

footer {
    padding: 28px;

    background: #405348;

    color: var(--cream);

    text-align: center;

    font-size: 0.62rem;
    letter-spacing: 0.04em;
}


/* =========================================================
   25. SOFT REVEAL ANIMATION
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {

    .gentle-cover > * {
        animation: gentleReveal 0.8s ease both;
    }

    .gentle-cover .eyebrow {
        animation-delay: 0.05s;
    }

    .gentle-cover h1 {
        animation-delay: 0.12s;
    }

    .gentle-cover .cover-subtitle {
        animation-delay: 0.2s;
    }

    .gentle-cover .cover-introduction {
        animation-delay: 0.28s;
    }

    .gentle-cover .primary-button {
        animation-delay: 0.36s;
    }

    @keyframes gentleReveal {
        from {
            opacity: 0;
            transform: translateY(14px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


/* =========================================================
   26. MOBILE
   ========================================================= */

@media (max-width: 700px) {

    html {
        scroll-padding-top: 145px;
    }

    .workbook-header {
        min-height: 62px;

        padding: 0 18px;
    }

    .mini-logo {
        font-size: 0.65rem;
    }

    .chapter-indicator {
        display: none;
    }

    .chapter-nav {
        top: 62px;

        align-items: stretch;

        padding: 11px 15px 9px;
    }

    .chapter-nav-inner {
        justify-content: flex-start;

        overflow-x: auto;

        gap: 11px;

        padding-bottom: 5px;

        scrollbar-width: none;

        white-space: nowrap;
    }

    .chapter-nav-inner::-webkit-scrollbar {
        display: none;
    }

    .chapter-nav a {
        flex-shrink: 0;
    }

    .chapter-nav a span {
        font-size: 0.57rem;
    }

    .chapter-nav a small {
        font-size: 0.55rem;
    }

    .chapter-nav-divider {
        flex-shrink: 0;
    }

    .progress-area {
        width: 100%;
    }

    .progress-label {
        font-size: 0.47rem;
    }

    .gentle-cover {
        min-height: calc(100vh - 130px);

        padding: 85px 20px;
    }

    .gentle-cover h1 {
        font-size: clamp(3.6rem, 17vw, 5rem);
    }

    .cover-subtitle {
        font-size: 1.3rem;
    }

    .cover-introduction {
        max-width: 360px;

        font-size: 0.8rem;
    }

    .cover-decoration {
        right: 3%;
        top: 12%;

        transform: scale(0.75) rotate(25deg);
    }

    .workbook-section {
        padding: 90px 20px;
    }

    .welcome-section h2,
    .chapter-section h2,
    .upcoming-chapter h2 {
        font-size: clamp(2.9rem, 13vw, 4rem);
    }

    .lead {
        font-size: 1.35rem !important;
    }

    .gentle-note {
        align-items: flex-start;

        padding: 23px;
    }

    .gentle-note p {
        font-size: 1.15rem !important;
    }

    .reflection-card,
    .check-in {
        margin: 45px 0;

        padding: 32px 22px;
    }

    .reflection-card h3,
    .check-in h3 {
        font-size: 1.9rem;
    }

    .emotion-grid {
        grid-template-columns: 1fr;
    }

    textarea {
        min-height: 170px;

        font-size: 1rem;
    }

    .upcoming-chapter {
        min-height: 50vh;
    }

    .completion-section {
        padding: 120px 20px;
    }

    .completion-section h2 {
        font-size: clamp(3rem, 15vw, 4.8rem);
    }

    .save-status {
        right: 18px;
        bottom: 18px;
        left: 18px;

        text-align: center;
    }
}


/* =========================================================
   27. EXTRA SMALL SCREENS
   ========================================================= */

@media (max-width: 420px) {

    .back-link {
        font-size: 0.6rem;
    }

    .mini-logo {
        font-size: 0.58rem;
        letter-spacing: 0.22em;
    }

    .gentle-cover h1 {
        font-size: 3.5rem;
    }

    .reflection-card,
    .check-in {
        padding: 28px 18px;
    }

    .primary-button {
        width: 100%;
        max-width: 280px;
    }
}


/* =========================================================
   28. PRINT / SAVE
   ========================================================= */

@media print {

    body {
        background: white;
        color: #222;
        font-size: 11pt;
    }

    .workbook-header,
    .chapter-nav,
    .save-status,
    .primary-button,
    .print-button {
        display: none !important;
    }

    .gentle-cover,
    .workbook-section,
    .upcoming-chapter,
    .completion-section {
        min-height: auto;

        padding: 45px 20px;

        background: white !important;

        color: #222;
    }

    .gentle-cover {
        page-break-after: always;
    }

    .chapter-section {
        page-break-before: always;
    }

    .reflection-card,
    .check-in {
        box-shadow: none;

        border: 1px solid #ccc;

        page-break-inside: avoid;
    }

    textarea {
        min-height: 180px;

        background: white;

        border: 1px solid #aaa;
    }

    .completion-section h2,
    .completion-section p {
        color: #222 !important;
    }

    footer {
        background: white;

        color: #333;

        border-top: 1px solid #ccc;
    }
}