:root {
    --green: #1f4d3a;
    --green-dark: #153528;
    --green-mid: #2f6f55;
    --terra: #c4663f;
    --terra-dark: #a9532f;
    --cream: #fcf6f0;
    --peach: #f7e4d8;
    --sage: #e4ecdd;
    --ink: #1c2a24;
    --muted: #5b6b63;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
}
h1, h2, h3, h4, .display-title, .section-title, .brand { font-family: 'Playfair Display', serif; color: var(--green-dark); }
a { color: inherit; }

/* Buttons */
.btn { border-radius: 999px; font-weight: 700; padding: .6rem 1.4rem; }
.btn-lg { padding: .85rem 1.9rem; }
.btn-terra { background: linear-gradient(180deg, #d1724a, var(--terra-dark)); color: #fff; border: 0; box-shadow: 0 6px 16px rgba(196, 102, 63, .3); }
.btn-terra:hover { background: var(--terra-dark); color: #fff; transform: translateY(-1px); }
.btn-outline-green { border: 2px solid var(--green); color: var(--green); }
.btn-outline-green:hover { background: var(--green); color: #fff; }

/* Navigation */
.site-nav { background: rgba(252, 246, 240, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(31, 77, 58, .08); }
.brand { font-size: 1.45rem; font-weight: 700; text-decoration: none; }
.brand i { color: var(--green-mid); }
.site-nav .nav-link { font-weight: 600; color: var(--ink); }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--terra); }

/* Typography helpers */
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .85rem; color: var(--terra); display: flex; align-items: center; gap: .8rem; }
.eyebrow::after { content: ''; width: 80px; height: 1px; background: var(--terra); }
.eyebrow-green { color: var(--green-mid); }
.eyebrow-green::after { display: none; }
.display-title { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.08; font-weight: 700; }
.display-title em { color: var(--terra); font-style: italic; display: block; }
.lead-text { font-size: 1.12rem; max-width: 560px; color: #2f3f37; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
.section { padding: 4.5rem 0; }
.section-sage { background: var(--sage); }
.section-peach { background: var(--peach); }
.line-title { display: flex; align-items: center; gap: 1.5rem; }
.line-title::before, .line-title::after { content: ''; flex: 1; height: 1px; background: var(--terra); opacity: .6; }
.underline { color: var(--green-mid); text-decoration: underline; text-decoration-color: #b6cf83; text-decoration-thickness: 4px; text-underline-offset: 4px; }
.narrow { max-width: 780px; }

/* Hero */
.hero { padding: 4rem 0 5rem; background: radial-gradient(circle at 85% 20%, #f4dccd, transparent 55%), var(--cream); }
.video-link { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 700; }
.video-link small { display: block; font-weight: 400; color: var(--muted); }
.play { width: 46px; height: 46px; border: 2px solid var(--green-mid); border-radius: 50%; display: grid; place-items: center; color: var(--green-mid); }
.book-wrap { display: flex; justify-content: center; perspective: 1000px; }
.book {
    width: 300px; min-height: 410px; padding: 1.6rem; border-radius: 6px 14px 14px 6px;
    background: linear-gradient(to bottom, #f7f4ee 0, #f7f4ee 74%, var(--green) 74%);
    box-shadow: -8px 10px 0 #e5ded2, 22px 28px 40px rgba(31, 77, 58, .3);
    transform: rotateY(-14deg) rotate(2deg); position: relative;
}
.book-brand { font-family: 'Playfair Display', serif; font-size: .9rem; color: var(--green-dark); font-weight: 700; }
.book h2 { font-size: 2.6rem; font-style: italic; line-height: 1.05; margin: 2.2rem 0 .8rem; }
.book p { font-size: .85rem; max-width: 150px; color: #3b4a42; }
.book-icons { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; display: flex; justify-content: space-between; font-size: .62rem; text-align: center; }
.book-icons span { display: flex; flex-direction: column; gap: .2rem; }
.book-icons { color: #fff; }
.book-icons i { font-size: 1.1rem; }
.book p { max-width: 220px; }

/* Trust bar */
.trust-bar { background: var(--sage); padding: 1.1rem 0; }
.trust-item { display: flex; align-items: center; gap: .8rem; font-weight: 700; font-size: .92rem; line-height: 1.25; }
.trust-item i { font-size: 1.6rem; color: var(--green); }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.check-list li { margin-bottom: .55rem; }
.check-list i { color: var(--green-mid); margin-right: .4rem; }

/* Book spread */
.spread { display: grid; grid-template-columns: 1fr 1.1fr; background: #fbf8f2; border-radius: 12px; box-shadow: 0 25px 50px rgba(31, 77, 58, .18); overflow: hidden; }
.spread-page { padding: 1.6rem; }
.spread-page:first-child { border-right: 2px solid #ece5d8; }
.spread-page h4 { font-style: italic; font-size: 1.25rem; }
.spread-page ul { font-size: .78rem; padding-left: 1rem; color: var(--muted); }
.plate { font-size: 5rem; color: #d68a4a; text-align: center; }
.mini-table { width: 100%; font-size: .68rem; border-collapse: collapse; }
.mini-table th { background: var(--sage); color: var(--green-dark); padding: .4rem; }
.mini-table td { padding: .5rem .4rem; border-bottom: 1px solid #ece5d8; }

/* Who cards */
.who-card { background: #fff; border-radius: 14px; padding: 1.4rem 1rem; text-align: center; height: 100%; box-shadow: 0 6px 20px rgba(31, 77, 58, .08); }
.who-card i { font-size: 1.8rem; color: var(--terra); margin-bottom: .6rem; }
.who-card p { margin: 0; font-weight: 600; font-size: .95rem; }

/* Reviews */
.review { background: #fff; border-radius: 16px; padding: 1.6rem; height: 100%; box-shadow: 0 6px 20px rgba(31, 77, 58, .08); display: flex; flex-direction: column; }
.review > i { color: var(--terra); font-size: 1.4rem; margin-bottom: .6rem; }
.review p { flex: 1; font-size: .95rem; }
.review-author { display: flex; align-items: center; gap: .7rem; font-size: .9rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--green-mid); color: #fff; display: grid; place-items: center; font-weight: 700; }
.stars { color: #e8a02f; font-size: .75rem; }

/* Buy box */
.buy-box { background: linear-gradient(120deg, #eaf1e2, #f5ebe1); border-radius: 24px; padding: 2.5rem; box-shadow: 0 10px 30px rgba(31, 77, 58, .1); }
.buy-box .col-4 i { font-size: 1.5rem; color: var(--green-mid); display: block; }
.buy-box small { font-weight: 600; }
.price-card { background: #e3ecda; border-radius: 18px; padding: 1.5rem; text-align: center; }
.old-price { text-decoration: line-through; color: var(--muted); }
.discount { background: var(--green); color: #fff; border-radius: 8px; padding: .1rem .55rem; font-weight: 700; font-size: .85rem; }
.price { font-family: 'Playfair Display', serif; font-size: 3.2rem; font-weight: 700; color: var(--green-dark); line-height: 1.2; margin-bottom: .8rem; }
.price span { font-size: 2rem; }

/* FAQ */
.faq .accordion-item { border: 0; border-radius: 10px !important; margin-bottom: .7rem; overflow: hidden; box-shadow: 0 4px 14px rgba(31, 77, 58, .07); }
.faq .accordion-button { font-family: 'Nunito', sans-serif; font-weight: 700; color: var(--ink); background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--terra); background: #fff; }

/* Calculators teaser */
.calc-teaser { background: #fff; border-radius: 22px; padding: 2.2rem; box-shadow: 0 8px 26px rgba(31, 77, 58, .1); }
.calc-chips { display: flex; flex-wrap: wrap; gap: .7rem; }
.calc-chips span { background: var(--sage); border-radius: 999px; padding: .6rem 1.1rem; font-weight: 700; color: var(--green-dark); }
.calc-chips i { color: var(--terra); margin-right: .3rem; }

/* Footer */
.site-footer { background: var(--green-dark); color: #d6e3da; padding: 3rem 0 1.2rem; }
.site-footer h6 { color: #fff; font-family: 'Nunito', sans-serif; font-weight: 700; }
.footer-links li { margin-bottom: .3rem; font-size: .9rem; }
.site-footer a { text-decoration: none; color: #d6e3da; }
.site-footer a:hover { color: #fff; }
.copyright { margin: 2rem 0 0; text-align: center; font-size: .8rem; opacity: .75; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1rem; }

/* Inner page hero */
.page-hero { padding: 3.5rem 0 1.5rem; background: radial-gradient(circle at 90% 0, #f4dccd, transparent 55%), var(--cream); }
.page-hero .display-title { font-size: clamp(2rem, 4vw, 3rem); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { text-decoration: none; color: var(--green-mid); font-weight: 600; }
.crumbs i { font-size: .65rem; margin: 0 .3rem; }

/* Articles */
.category-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.category-pills a { text-decoration: none; background: #fff; border: 1px solid rgba(31, 77, 58, .15); border-radius: 999px; padding: .5rem 1.1rem; font-weight: 700; font-size: .92rem; }
.category-pills a span { background: var(--sage); border-radius: 999px; padding: 0 .5rem; font-size: .78rem; margin-left: .2rem; }
.category-pills a:hover { border-color: var(--green-mid); }
.category-pills a.active { background: var(--green); color: #fff; border-color: var(--green); }
.category-pills a.active span { background: rgba(255, 255, 255, .2); }

.article-card { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; box-shadow: 0 6px 20px rgba(31, 77, 58, .08); transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(31, 77, 58, .15); }
.article-thumb { height: 130px; display: grid; place-items: center; font-size: 3rem; color: #fff; background: linear-gradient(135deg, var(--cat), color-mix(in srgb, var(--cat) 55%, #000)); }
.article-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.article-body h3 { font-size: 1.2rem; margin: 0; }
.article-body p { margin: 0; font-size: .92rem; color: var(--muted); flex: 1; }
.cat-badge { align-self: flex-start; background: color-mix(in srgb, var(--cat) 15%, #fff); color: color-mix(in srgb, var(--cat) 75%, #000); font-weight: 700; font-size: .75rem; padding: .2rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: .8rem; color: var(--muted); }
.article-title { font-size: clamp(1.9rem, 4vw, 2.7rem) !important; margin-bottom: 1rem; }
.article-content { font-size: 1.07rem; }
.article-content h2 { font-size: 1.6rem; margin: 2rem 0 .8rem; }
.article-content ul, .article-content ol { padding-left: 1.3rem; }
.article-content li { margin-bottom: .4rem; }
.article-content blockquote { border-left: 4px solid var(--terra); background: var(--peach); padding: 1rem 1.3rem; border-radius: 0 12px 12px 0; }

/* Calculators */
.calc-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; position: sticky; top: 70px; z-index: 10; background: var(--cream); padding: .6rem 0; }
.calc-nav a { text-decoration: none; background: #fff; border: 1px solid rgba(31, 77, 58, .15); border-radius: 999px; padding: .45rem 1rem; font-weight: 700; font-size: .9rem; }
.calc-nav a:hover { background: var(--green); color: #fff; }
.calc-nav i { color: var(--terra); margin-right: .25rem; }
.calc-nav a:hover i { color: #fff; }
.calc-card { background: #fff; border-radius: 22px; padding: 2rem; margin-bottom: 1.6rem; box-shadow: 0 8px 26px rgba(31, 77, 58, .09); scroll-margin-top: 130px; }
.calc-card h2 { font-size: 1.6rem; }
.calc-card h2 i { color: var(--terra); margin-right: .3rem; font-size: 1.3rem; }
.calc-rank { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: .6rem; }
.calc-note { background: var(--sage); border-radius: 12px; padding: .8rem 1rem; font-size: .9rem; }
.calc-note i { color: var(--green-mid); }
.calc-form label { display: block; font-weight: 700; font-size: .85rem; }
.calc-form .form-control, .calc-form .form-select { margin-top: .25rem; border-radius: 10px; padding: .6rem .8rem; font-weight: 400; }
.calc-form .form-control:focus, .calc-form .form-select:focus { border-color: var(--green-mid); box-shadow: 0 0 0 .2rem rgba(47, 111, 85, .15); }
.calc-result { display: none; margin-top: 1.2rem; background: #f5f9f1; border: 1px solid #d5e3c8; border-radius: 16px; padding: 1.2rem; }
.calc-result.show { display: block; }
.res-big small { color: var(--muted); font-weight: 700; }
.res-big div { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--green-dark); line-height: 1.1; margin-bottom: .6rem; }
.res-big span { font-size: 1rem; font-family: 'Nunito', sans-serif; color: var(--muted); }
.res-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px dashed #cfdcc3; font-size: .92rem; }
.res-tag { display: inline-block; border-radius: 10px; padding: .35rem .8rem; font-weight: 700; font-size: .88rem; margin-bottom: .6rem; }
.res-tag.ok { background: #d8ecd0; color: #1d5a2c; }
.res-tag.info { background: #d9e8f5; color: #1f4f7a; }
.res-tag.warn { background: #fbe9c8; color: #7a5410; }
.res-tag.high { background: #f7d5cc; color: #8a2f1b; }
.res-hint { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }
.macro-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin-top: .8rem; }
.macro-bar .m-p { background: var(--green); }
.macro-bar .m-f { background: #e8a02f; }
.macro-bar .m-c { background: var(--terra); }
.disclaimer { font-size: .85rem; color: var(--muted); text-align: center; }

@media (max-width: 991px) {
    .book { transform: none; margin: 0 auto; }
    .spread { grid-template-columns: 1fr; }
    .spread-page:first-child { border-right: 0; border-bottom: 2px solid #ece5d8; }
    .calc-nav { position: static; }
}

/* Article extras: table of contents, CTA box, recipe cards, tables */
.toc { background: #fff; border: 1px solid rgba(31, 77, 58, .12); border-radius: 16px; padding: 1.2rem 1.5rem; margin-bottom: 2rem; }
.toc ol { margin: .6rem 0 0; padding-left: 1.2rem; }
.toc li { margin-bottom: .25rem; }
.toc a { text-decoration: none; color: var(--green-mid); font-weight: 600; }
.toc a:hover { color: var(--terra); }
.article-content h2 { scroll-margin-top: 90px; }
.article-content h3 { font-size: 1.25rem; margin: 1.4rem 0 .5rem; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .92rem; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(31, 77, 58, .07); }
.article-content th { background: var(--green); color: #fff; padding: .6rem .7rem; text-align: left; }
.article-content td { padding: .55rem .7rem; border-bottom: 1px solid #eee5da; vertical-align: top; }
.table-scroll { overflow-x: auto; }
.cta-box { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; background: linear-gradient(120deg, #eaf1e2, #f5ebe1); border-radius: 20px; padding: 1.4rem 1.6rem; margin: 2rem 0; box-shadow: 0 8px 22px rgba(31, 77, 58, .1); }
.cta-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.cta-text { flex: 1; min-width: 220px; }
.cta-text strong { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--green-dark); }
.cta-text p { margin: .2rem 0 0; font-size: .95rem; }
.recipe-card { background: #fff; border-left: 5px solid var(--terra); border-radius: 0 14px 14px 0; padding: 1rem 1.3rem; margin: 1rem 0; box-shadow: 0 4px 14px rgba(31, 77, 58, .07); }
.recipe-card h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.recipe-card p { margin: 0 0 .4rem; font-size: .98rem; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .8rem !important; font-weight: 700; color: var(--green-mid); }
.recipe-meta i { color: var(--terra); margin-right: .2rem; }
.faq-section { margin-top: 2.5rem; }
.faq-section h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.tip-box { background: var(--peach); border-radius: 14px; padding: 1rem 1.3rem; margin: 1.4rem 0; }

/* Article images */
.article-thumb { overflow: hidden; flex-shrink: 0; }
.article-thumb.has-image { display: block; height: auto; aspect-ratio: 16 / 9; padding: 0; background: none; }
.article-thumb.has-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-cover { width: 100%; height: auto; border-radius: 20px; margin-bottom: 2rem; box-shadow: 0 12px 30px rgba(31, 77, 58, .15); }

/* Brand logo icon */
.brand-icon { width: auto; height: 44px; vertical-align: middle; margin-right: .15rem; }
.site-footer .brand-icon { background: var(--cream); border-radius: 12px; padding: 4px; height: 52px; }

/* Warm-up sections: pain, reframe, comparison, cost */
.section-lead { max-width: 640px; color: var(--muted); font-size: 1.05rem; }
.reframe-head { max-width: 780px; }
.pain-card { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border-radius: 14px; padding: 1.1rem 1.2rem; height: 100%; box-shadow: 0 6px 20px rgba(31, 77, 58, .08); border-left: 4px solid #d9695a; }
.pain-card i { color: #d9695a; margin-top: .25rem; }
.pain-card p { margin: 0; font-weight: 600; }
.reframe-band { background: linear-gradient(135deg, var(--green-dark), var(--green)); padding: 4.5rem 0; color: #e7efe9; }
.eyebrow-light { color: #cfe3a6; }
.eyebrow-light::after { display: none; }
.reframe-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 1.6rem; height: 100%; }
.reframe-card i { font-size: 1.6rem; color: #cfe3a6; margin-bottom: .8rem; }
.reframe-card h3 { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.25rem; }
.reframe-card p { margin: 0; color: #d6e3da; font-size: .95rem; }
.compare { border-radius: 20px; padding: 1.8rem; height: 100%; }
.compare h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare li { padding: .6rem 0; border-top: 1px dashed rgba(0, 0, 0, .12); }
.compare-now { background: #f6e6e1; }
.compare-now h3 i { color: #d9695a; }
.compare-plan { background: var(--sage); box-shadow: 0 10px 28px rgba(31, 77, 58, .12); }
.compare-plan h3 i { color: var(--green-mid); }
.cost-box { background: #fff; border-radius: 20px; padding: 1.8rem 2rem; box-shadow: 0 8px 26px rgba(31, 77, 58, .1); border: 2px solid #f1d7c7; }
.cost-box h3 { font-size: 1.4rem; }

/* FAQ (home) */
.faq-wrap { max-width: 820px; margin-top: 2rem; }
.faq-home .accordion-button { padding: 1.15rem 1.3rem; font-size: 1.02rem; }
.faq-home .accordion-body { color: #3b4a42; padding: 0 1.3rem 1.3rem; }
.faq-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; background: var(--peach); border-radius: 18px; padding: 1.4rem 1.6rem; margin-top: 1.6rem; }
.faq-cta strong { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--green-dark); }
.faq-cta p { font-size: .95rem; max-width: 460px; }

/* E-book cover image in the hero */
.ebook-img { width: 100%; max-width: 400px; height: auto; border-radius: 26px; box-shadow: 0 25px 55px rgba(31, 77, 58, .22); }

/* Slimmer header and one-line hero headline */
.site-nav { padding-top: .3rem; padding-bottom: .3rem; }
.site-nav .brand { font-size: 1.3rem; white-space: nowrap; }
.site-nav .brand-icon { height: 36px; }
.site-nav .nav-link { white-space: nowrap; font-size: .93rem; padding-left: .55rem; padding-right: .55rem; }
.site-nav .btn { white-space: nowrap; padding: .42rem 1.05rem; font-size: .92rem; }
@media (min-width: 992px) {
    .hero .display-title { white-space: nowrap; font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
}

/* Hero: full-width photo background, text stays on the cream side */
.hero {
    background:
        linear-gradient(90deg, rgba(252, 246, 240, .95) 0%, rgba(252, 246, 240, .8) 30%, rgba(252, 246, 240, 0) 48%),
        url('/assets/img/brand/hero-tea.jpg') center calc(88% + 20px) / cover no-repeat;
    padding: 30px 0;
}
@media (max-width: 991px) {
    .hero { background:
        linear-gradient(180deg, rgba(252, 246, 240, .96) 0%, rgba(252, 246, 240, .88) 100%),
        url('/assets/img/brand/hero-tea.jpg') center calc(88% + 20px) / cover no-repeat; }
}


/* Floating e-book in the hero */
.ebook-stage { max-width: 270px; margin: 0 auto; position: relative; }
.ebook-wrap { position: relative; container-type: inline-size; }
.ebook-wrap img { width: 100%; height: auto; display: block; }
.ebook-float { animation: ebookFloat 3.6s ease-in-out infinite alternate; }
.ebook-shadow { position: absolute; left: 15%; right: 15%; top: calc(100% + 14px); height: 22px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(20, 30, 25, .5) 0%, rgba(20, 30, 25, 0) 70%); filter: blur(5px); animation: ebookShadow 3.6s ease-in-out infinite alternate; }
@keyframes ebookFloat { from { transform: translateY(0); } to { transform: translateY(-16px); } }
@keyframes ebookShadow { from { transform: scale(1); opacity: .9; } to { transform: scale(.78); opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .ebook-float, .ebook-shadow { animation: none; } }
@media (max-width: 991px) { .ebook-stage { max-width: 220px; margin-top: 1rem; } }

/* Hero keeps its height and centres the content (book gets equal space above and below) */
.hero { min-height: 448px; display: flex; align-items: center; }
.hero .container { width: 100%; }
@media (max-width: 991px) {
    .hero { min-height: 0; }
    .ebook-stage { margin-bottom: 44px; }
}

/* Before / after table */
.transform { background: #fff; border-radius: 26px; box-shadow: 0 14px 40px rgba(31, 77, 58, .12); overflow: hidden; }
.transform-head, .transform-row { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; }
.th { padding: 1.1rem 1.6rem; font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; gap: .6rem; }
.th-now { background: #f3dcd5; color: #8a3b2e; }
.th-now i { color: #d9695a; }
.th-plan { background: linear-gradient(120deg, var(--green), var(--green-mid)); color: #fff; }
.th-plan i { color: #cfe3a6; }
.th-mid { background: linear-gradient(90deg, #f3dcd5, var(--green)); }
.transform-row + .transform-row, .transform-head + .transform-row { border-top: 1px solid #efe7de; }
.tr-now, .tr-plan { padding: 1.15rem 1.6rem; display: flex; align-items: center; gap: .9rem; font-weight: 600; line-height: 1.4; }
.tr-now { background: #fdf5f2; color: #6b4a44; }
.tr-now i { color: #d9695a; font-size: .95rem; width: 26px; height: 26px; border-radius: 50%; background: #f7dfd8; display: grid; place-items: center; flex-shrink: 0; }
.tr-plan { background: #f2f7ec; color: var(--green-dark); }
.tr-plan i { color: #fff; font-size: .85rem; width: 26px; height: 26px; border-radius: 50%; background: var(--green-mid); display: grid; place-items: center; flex-shrink: 0; }
.tr-arrow { display: grid; place-items: center; background: #fff; }
.tr-arrow i { width: 34px; height: 34px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; font-size: .85rem; box-shadow: 0 4px 12px rgba(196, 102, 63, .35); }
@media (max-width: 767px) {
    .transform-head { grid-template-columns: 1fr 1fr; }
    .th-mid { display: none; }
    .th { padding: .9rem 1rem; font-size: 1.05rem; }
    .transform-row { grid-template-columns: 1fr; }
    .tr-arrow { padding: .2rem 0; }
    .tr-arrow i { transform: rotate(90deg); width: 28px; height: 28px; }
    .tr-now, .tr-plan { padding: .9rem 1.1rem; }
}

/* Cost box: stronger call to action */
.cost-box { background: linear-gradient(135deg, var(--green-dark), var(--green)); border: 0; color: #e7efe9; box-shadow: 0 14px 36px rgba(31, 77, 58, .25); }
.cost-box h3 { color: #fff; }
.cost-box strong { color: #cfe3a6; }

/* Open e-book image in the "What is inside" section */
.spread-img { width: 100%; height: auto; display: block; filter: drop-shadow(0 22px 26px rgba(31, 77, 58, .28)); }

/* Waitlist ("buy") page */
.buy-page { padding: 3rem 0 4.5rem; background: radial-gradient(circle at 15% 30%, #f4dccd, transparent 55%), var(--cream); }
.buy-book { width: 100%; max-width: 340px; height: auto; filter: drop-shadow(0 22px 26px rgba(31, 77, 58, .25)); }
.buy-card { background: #fff; border-radius: 22px; padding: 2.2rem; box-shadow: 0 14px 40px rgba(31, 77, 58, .12); }
.buy-card h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; }
.buy-lead { font-size: 1.1rem; margin-bottom: 1.5rem; }
.buy-card .form-label { font-weight: 700; }
.buy-card .form-control { border-radius: 10px; padding: .7rem .9rem; }
.buy-card .form-check-label { font-size: .92rem; }
.buy-card .form-check-label a { color: var(--green-mid); font-weight: 700; }
.buy-note { margin: .8rem 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
.buy-done { text-align: center; padding: 1.5rem 0; }
.buy-done > i { font-size: 3.5rem; color: var(--green-mid); margin-bottom: 1rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 991px) { .buy-book { max-width: 200px; } .buy-card { padding: 1.4rem; } }

/* "Read also" box inside articles (internal links) */
.read-also { background: var(--sage); border-left: 5px solid var(--green-mid); border-radius: 0 14px 14px 0; padding: 1rem 1.3rem; margin: 2rem 0; }
.read-also strong { color: var(--green-dark); }
.read-also ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.read-also a { color: var(--green-mid); font-weight: 700; }

/* Cookie notice */
.cookie-notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1050; display: flex; align-items: center; gap: 1rem; max-width: 800px; margin: 0 auto; padding: 1rem 1.2rem; background: #fff; border: 1px solid rgba(31, 77, 58, .15); border-radius: 18px; box-shadow: 0 14px 40px rgba(31, 77, 58, .22); }
.cookie-notice[hidden] { display: none; }
.cookie-notice > i { font-size: 1.7rem; color: var(--terra); flex-shrink: 0; }
.cookie-notice p { margin: 0; flex: 1; font-size: .92rem; }
.cookie-notice a { color: var(--green-mid); font-weight: 700; }
.cookie-notice .btn { white-space: nowrap; }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.btn-cookie-necessary { border: 2px solid var(--green); color: var(--green); font-weight: 700; }
.btn-cookie-necessary:hover { background: var(--green); border-color: var(--green); color: #fff; }
.footer-link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; }
.footer-link-button:hover { color: #fff; }
.article-content td code { white-space: nowrap; }
@media (max-width: 575px) {
    .cookie-notice { flex-wrap: wrap; left: 10px; right: 10px; bottom: 10px; }
    .cookie-notice > i { display: none; }
    .cookie-notice p { flex-basis: 100%; }
    .cookie-actions { width: 100%; }
    .cookie-actions .btn { flex: 1; }
}

/* Article rating */
.rating-box { background: #fff; border-radius: 20px; padding: 1.8rem; margin: 2.5rem 0 1.5rem; box-shadow: 0 10px 30px rgba(31, 77, 58, .1); scroll-margin-top: 90px; }
.rating-box[hidden] { display: none; }
.rating-box h2 { font-size: 1.5rem; text-align: center; margin-bottom: 1.2rem; }
.rating-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.rating-buttons[hidden] { display: none; }
.rating-button { display: inline-flex; align-items: center; gap: .6rem; min-width: 150px; justify-content: center; padding: .85rem 1.3rem; background: #fff; border: 1px solid rgba(31, 77, 58, .2); border-radius: 12px; font-weight: 700; color: var(--ink); transition: background .15s, color .15s; }
.rating-button i { color: var(--green-mid); font-size: 1.15rem; }
.rating-button:hover { border-color: var(--green-mid); }
.rating-button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.rating-button[aria-pressed="true"] i { color: #fff; }
.rating-thanks { text-align: center; margin: 0; font-weight: 700; font-size: 1.1rem; color: var(--green); }
.rating-thanks i { color: var(--terra); margin-right: .4rem; }
.rating-error { text-align: center; margin: 1rem 0 0; color: #a63a2b; font-weight: 700; }
.rating-form { border-top: 1px solid rgba(31, 77, 58, .15); margin-top: 1.5rem; padding-top: 1.5rem; }
.rating-form legend { font-size: 1.05rem; font-weight: 700; margin-bottom: .8rem; }
.rating-form .form-check { margin-bottom: .45rem; }
.rating-form .form-check-input:checked { background-color: var(--green-mid); border-color: var(--green-mid); }
.rating-form textarea { border-radius: 12px; }
.rating-form textarea:focus { border-color: var(--green-mid); box-shadow: 0 0 0 .2rem rgba(47, 111, 85, .15); }
.rating-note { font-size: .82rem; color: var(--muted); margin: .4rem 0 .9rem; }

/* Sharing */
.share-box { background: var(--sage); border-radius: 20px; padding: 1.5rem 1.6rem; margin-bottom: 1.5rem; }
.share-box h2 { font-family: 'Nunito', sans-serif; font-size: 1.1rem; color: var(--green); margin-bottom: 1rem; }
.share-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.share-button { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; background: #fff; border: 1px solid rgba(31, 77, 58, .18); border-radius: 12px; font-weight: 700; font-size: .93rem; color: var(--ink); text-decoration: none; }
.share-button[hidden] { display: none; }
.share-button:hover { border-color: var(--green); color: var(--green); }
.share-box .share-native { background: var(--green); border-color: var(--green); color: #fff; }
.share-box .share-buttons { flex-wrap: nowrap; gap: .45rem; }
.share-box .share-button { flex: 1 1 auto; justify-content: center; gap: .4rem; padding: .6rem .5rem; font-size: .86rem; white-space: nowrap; }
@media (max-width: 767.98px) {
    .share-box { padding: 1.2rem 1rem; }
    .share-box .share-button { flex: 1 1 0; min-width: 0; height: 44px; padding: 0; font-size: 1.15rem; }
    .share-box .share-button span { display: none; }
}
.share-message { margin: .8rem 0 0; font-size: .88rem; font-weight: 700; color: var(--green); }
.share-message[hidden] { display: none; }

/* Floating share buttons on wide screens */
.share-rail { display: none; }
@media (min-width: 1200px) {
    .share-rail { display: block; position: fixed; z-index: 1020; top: 50%; transform: translateY(-50%); right: max(16px, calc(50% - 480px)); }
    .share-rail .share-buttons { flex-direction: column; }
    .share-rail .share-button { width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 50%; color: var(--green); box-shadow: 0 6px 16px rgba(31, 77, 58, .1); }
    .share-rail .share-button span { display: none; }
    .share-rail .share-native { background: var(--green); color: #fff; }
    .share-rail .share-message { position: absolute; right: 56px; top: 0; width: max-content; max-width: 220px; background: #fff; border-radius: 10px; padding: .5rem .8rem; box-shadow: 0 8px 20px rgba(31, 77, 58, .18); margin: 0; }
}
.article-author { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; line-height: 1.25; }
.author-bubble { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; flex-shrink: 0; background: #fff; border: 2px solid var(--sage); border-radius: 50%; box-shadow: 0 6px 16px rgba(31, 77, 58, .14); }
.author-bubble img { width: 36px; height: 36px; object-fit: contain; }
.article-author small { display: block; font-size: .75rem; color: var(--muted); }
.article-author strong { color: var(--green); font-size: .95rem; }
