/* ==========================================================================
   bee-modern.css — modern design layer over the legacy Unify theme.
   Scope: global top bar + footer, and the welcome page (.page-welcome).
   Rollback: git tag `pre-redesign`.
   ========================================================================== */

:root {
    --bee-ink: #0f172a;
    --bee-ink-soft: #475569;
    --bee-primary: #0891b2;          /* cyan-600 */
    --bee-primary-dark: #0e7490;
    --bee-accent: #6366f1;           /* indigo-500 */
    --bee-grad: linear-gradient(135deg, #06b6d4 0%, #3b82f6 55%, #6366f1 100%);
    --bee-surface: #f8fafc;
    --bee-card-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -8px rgba(15, 23, 42, .12);
    --bee-card-shadow-hover: 0 2px 4px rgba(15, 23, 42, .06), 0 20px 40px -12px rgba(15, 23, 42, .22);
    --bee-radius: 18px;
    --bee-fs: 1;    /* readable-text multiplier: content body + headers (reflow freely) */
    --bee-fs-ui: 1; /* gentler multiplier for fixed chrome (nav/menu + footer) — won't overflow the bar */
    --bee-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
                "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, Arial, sans-serif;
    --bee-font-display: "Cantarell", "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, Arial, sans-serif;
    --bee-font-logo: "Cantarell", "Manrope", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

body {
    font-family: var(--bee-font);
    color: var(--bee-ink);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--bee-font-display); letter-spacing: -0.015em; }
/* visually hidden but kept for assistive tech & crawlers (e.g. the homepage SEO h1) */
.bee-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
button, input, select, textarea { font-family: inherit; }
/* logo face for section/exercise headers; display face for plan-card heads */
.bee-ex-page .text-uppercase.g-color--red { font-family: var(--bee-font-logo); }
.bee-plan-card__head span { font-family: var(--bee-font-display); }

/* ==========================================================================
   TOP BAR — custom bee-nav (own markup, no legacy theme classes)
   72px fixed bar, glass on scroll, transparent over the welcome hero,
   CSS-only dropdown + CSS-only mobile menu.
   ========================================================================== */
.bee-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, .07);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bee-nav.bee-scrolled {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 28px -16px rgba(15, 23, 42, .25);
}
.bee-nav__inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    height: 72px; display: flex; align-items: center;
    justify-content: space-between; gap: 24px;
}

/* welcome: transparent over the hero until scroll */
.page-welcome .bee-nav:not(.bee-scrolled) {
    background: linear-gradient(rgba(2, 6, 23, .45), rgba(2, 6, 23, 0));
    -webkit-backdrop-filter: none; backdrop-filter: none;
    border-bottom-color: transparent;
}
.page-welcome .bee-nav:not(.bee-scrolled) .bee-nav__link { color: rgba(255, 255, 255, .92); }
.page-welcome .bee-nav:not(.bee-scrolled) .bee-nav__link:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.page-welcome .bee-nav:not(.bee-scrolled) .bee-logo-word { color: #fff; }
.page-welcome .bee-nav:not(.bee-scrolled) .bee-logo-word small { color: #fdba74; }
.page-welcome .bee-nav:not(.bee-scrolled) .bee-eye-outline { stroke: #fff; }
.page-welcome .bee-nav:not(.bee-scrolled) .bee-nav__burger span { background: #fff; }

/* logo */
.bee-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none !important; flex: 0 0 auto; }
.bee-logo-mark { width: 60px; height: 60px; flex: 0 0 auto; }
.bee-logo-word {
    font-family: var(--bee-font-logo);
    font-size: 26px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15;
    color: var(--bee-ink); white-space: nowrap; transition: color .25s ease;
}
.bee-logo-word small {
    display: block; margin-top: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: #f97316; transition: color .25s ease; /* sunrise-logo orange */
}

/* links — one vertical axis, even rhythm */
.bee-nav__links { display: flex; align-items: center; gap: 4px; }
.bee-nav__link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 15px; border-radius: 10px;
    font-family: var(--bee-font); font-size: calc(14px * var(--bee-fs-ui)); font-weight: 600; letter-spacing: .01em;
    color: var(--bee-ink-soft); text-decoration: none !important;
    transition: color .15s ease, background .15s ease;
}
.bee-nav__link:hover, .bee-nav__link:focus-visible { color: var(--bee-primary); background: rgba(8, 145, 178, .07); }
.bee-nav__caret { transition: transform .18s ease; opacity: .65; }
.bee-nav__dd:hover .bee-nav__caret, .bee-nav__dd:focus-within .bee-nav__caret { transform: rotate(180deg); }

/* CTA pill — same axis as links */
.bee-nav-cta, .bee-nav-cta:visited {
    display: inline-flex; align-items: center;
    margin-left: 10px; padding: 10px 20px; border-radius: 999px;
    background: var(--bee-grad); color: #fff !important;
    font-size: calc(13.5px * var(--bee-fs-ui)); font-weight: 700; letter-spacing: .03em; text-decoration: none !important;
    box-shadow: 0 6px 16px -6px rgba(59, 130, 246, .55);
    transition: transform .15s ease, box-shadow .15s ease;
}
.bee-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -6px rgba(59, 130, 246, .7); color: #fff; }

/* text-size accessibility control (A A A) */
.bee-fontsize { display: inline-flex; align-items: baseline; gap: 2px; margin-left: 8px; }
.bee-fontsize__btn {
    border: none; background: transparent; cursor: pointer; padding: 2px 5px;
    color: var(--bee-ink-soft); font-weight: 800; line-height: 1; border-radius: 7px;
    font-family: var(--bee-font-display); transition: color .15s ease, background .15s ease;
}
.bee-fontsize__btn--s { font-size: 12px; }
.bee-fontsize__btn--m { font-size: 15px; }
.bee-fontsize__btn--l { font-size: 19px; }
.bee-fontsize__btn:hover { color: var(--bee-primary); }
.bee-fontsize__btn.is-active { color: var(--bee-primary); background: rgba(59, 130, 246, .12); }

/* text-size levels: two tiers so text reflows without clipping —
   --bee-fs scales readable content (body + section headers, free to grow);
   --bee-fs-ui scales fixed chrome (nav/menu + footer) gently so the bar never overflows.
   Persisted via localStorage; the html.bee-fs-* class is set pre-paint in the head. */
html.bee-fs-2 { --bee-fs: 1.2;  --bee-fs-ui: 1.08; }
html.bee-fs-3 { --bee-fs: 1.45; --bee-fs-ui: 1.15; }
/* scale the readable body text on content pages */
.bee-ex-page main { font-size: calc(16px * var(--bee-fs)); }
.bee-ex-page main p,
.bee-ex-page main li { font-size: calc(15px * var(--bee-fs)); }

/* dropdown — CSS hover/focus, 2-column panel with featured generator entry */
.bee-nav__dd { position: relative; }
.bee-nav__dd-panel {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
    min-width: 340px; padding: 10px;
    display: grid; grid-template-columns: 1fr; gap: 2px;
    background: #fff; border: 1px solid rgba(15, 23, 42, .07); border-radius: 16px;
    box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .28);
    opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.bee-nav__dd::after { /* hover bridge so the panel does not flicker */
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px;
}
.bee-nav__dd:hover .bee-nav__dd-panel, .bee-nav__dd:focus-within .bee-nav__dd-panel {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.bee-nav__dd-link {
    display: block; padding: 9px 13px; border-radius: 10px;
    font-size: calc(13.5px * var(--bee-fs-ui)); font-weight: 550; color: var(--bee-ink-soft); text-decoration: none !important;
    transition: background .12s ease, color .12s ease;
}
.bee-nav__dd-link:hover, .bee-nav__dd-link:focus-visible { background: var(--bee-surface); color: var(--bee-primary); }
.bee-nav__dd-link--featured {
    grid-column: 1 / -1; margin-bottom: 6px; padding: 13px 14px;
    background: linear-gradient(135deg, rgba(6, 182, 212, .09), rgba(99, 102, 241, .09));
    border: 1px solid rgba(8, 145, 178, .18);
}
.bee-nav__dd-link--featured b { display: block; font-weight: 750; color: var(--bee-ink); }
.bee-nav__dd-link--featured small { display: block; margin-top: 2px; font-size: calc(12px * var(--bee-fs-ui)); color: var(--bee-ink-soft); }
.bee-nav__dd-link--featured:hover { background: linear-gradient(135deg, rgba(6, 182, 212, .16), rgba(99, 102, 241, .16)); }
.bee-nav__dd-link--featured:hover b { color: var(--bee-primary-dark); }
.bee-nav__dd-sep { height: 1px; margin: 7px 12px; background: rgba(15, 23, 42, .09); }

/* language switcher — compact variant of the nav dropdown */
.bee-lang .bee-nav__dd-panel { min-width: 150px; }
.bee-lang .bee-nav__dd-link.is-active { color: var(--bee-primary); font-weight: 750; }

/* mobile — CSS-only hamburger */
.bee-nav__toggle { display: none; }
.bee-nav__burger { display: none; cursor: pointer; padding: 10px; margin: 0; }
.bee-nav__burger span {
    display: block; width: 22px; height: 2px; margin: 5px 0; border-radius: 2px;
    background: var(--bee-ink); transition: transform .2s ease, opacity .2s ease, background .25s ease;
}
@media (max-width: 991px) {
    .bee-nav__burger { display: block; }
    .bee-nav__toggle:checked ~ .bee-nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .bee-nav__toggle:checked ~ .bee-nav__burger span:nth-child(2) { opacity: 0; }
    .bee-nav__toggle:checked ~ .bee-nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .bee-nav__links {
        position: absolute; top: 78px; left: 14px; right: 14px;
        flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px; max-height: calc(100vh - 96px); overflow: auto;
        background: rgba(255, 255, 255, .98);
        -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
        border: 1px solid rgba(15, 23, 42, .07); border-radius: 16px;
        box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .3);
        opacity: 0; visibility: hidden; transform: translateY(-6px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s;
    }
    .bee-nav__toggle:checked ~ .bee-nav__links { opacity: 1; visibility: visible; transform: translateY(0); }
    .bee-nav__link { color: var(--bee-ink) !important; padding: 12px 14px; }
    .bee-nav__dd-trigger { display: none; }                /* group is always expanded on mobile */
    .bee-nav__dd-panel {
        position: static; transform: none; opacity: 1; visibility: visible;
        min-width: 0; grid-template-columns: 1fr; box-shadow: none; border: none;
        padding: 0 0 0 10px; background: transparent;
    }
    .bee-nav-cta { margin: 8px 6px 4px; justify-content: center; }
}

/* ==========================================================================
   HERO (welcome)
   ========================================================================== */
.bee-hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background-size: cover; background-position: center 30%;
}
.bee-hero::before {
    content: ""; position: absolute; inset: 0;
    /* light scrim: just enough on the left for title legibility, photo stays bright */
    background: linear-gradient(95deg, rgba(2, 6, 23, .30) 0%, rgba(2, 6, 23, .14) 36%, rgba(2, 6, 23, .02) 62%, rgba(2, 6, 23, 0) 100%);
}
.bee-hero__inner { position: relative; max-width: 1140px; width: 100%; margin: 0 auto; padding: 120px 24px 90px; }
.bee-hero__title {
    color: #fff; font-size: clamp(calc(30px * var(--bee-fs-ui)), calc(4.75vw * var(--bee-fs-ui)), calc(56px * var(--bee-fs-ui))); line-height: 1.08;
    font-weight: 600; letter-spacing: -0.025em; margin: 0 0 18px;
    /* same shadow treatment as the gradient part so the white text doesn't read heavier */
    filter: drop-shadow(0 2px 4px rgba(2, 6, 23, .55)) drop-shadow(0 6px 18px rgba(2, 6, 23, .35));
}
.bee-hero__title em {
    font-style: normal; font-weight: inherit; background: linear-gradient(90deg, #7df3ff, #9db8ff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bee-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.bee-btn-primary, .bee-btn-primary:visited {
    display: inline-block; padding: 15px 32px; border-radius: 999px;
    background: var(--bee-grad); color: #fff !important; font-size: calc(15px * var(--bee-fs-ui)); font-weight: 700;
    letter-spacing: .02em; text-decoration: none !important;
    box-shadow: 0 14px 30px -10px rgba(59, 130, 246, .65);
    transition: transform .15s ease, box-shadow .15s ease;
}
.bee-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(59, 130, 246, .75); }
.bee-btn-ghost, .bee-btn-ghost:visited {
    display: inline-block; padding: 15px 32px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .5);
    color: #fff !important; font-size: calc(15px * var(--bee-fs-ui)); font-weight: 650; text-decoration: none !important;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    transition: background .15s ease, transform .15s ease;
}
.bee-btn-ghost:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.bee-hero__scroll {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: #fff; font-size: 22px; text-decoration: none !important;
    animation: bee-bounce 2.2s infinite;
}
.bee-hero__scroll-label { font-size: 11px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
/* halve the vertical gap between the exercises-overview and three-steps sections */
.bee-gap-half--b { padding-bottom: 15px; }
.bee-gap-half--t { padding-top: 15px; }
@media (min-width: 34em) { .bee-gap-half--b { padding-bottom: 25px; } .bee-gap-half--t { padding-top: 25px; } }
@media (min-width: 48em) { .bee-gap-half--b { padding-bottom: 50px; } .bee-gap-half--t { padding-top: 50px; } }
@keyframes bee-bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }


/* --- hero slider (3 slides, crossfade) --- */
.bee-hero { overflow: hidden; }
.bee-hero__slide {
    position: absolute; inset: 0; background-size: cover; background-position: center 30%;
    opacity: 0; transition: opacity 1.1s ease; z-index: 0;
    transform: scale(1.04); transition: opacity 1.1s ease, transform 7s linear;
}
.bee-hero__slide.is-active { opacity: 1; transform: scale(1); }
.bee-hero::before { z-index: 1; }
.bee-hero__inner { z-index: 2; }
.bee-hero__titles { display: grid; }
.bee-hero__titles .bee-hero__title { grid-area: 1 / 1; opacity: 0; transition: opacity .9s ease, transform .9s ease; transform: translateY(8px); pointer-events: none; }
.bee-hero__titles .bee-hero__title.is-active { opacity: 1; transform: translateY(0); }
.bee-hero__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: background .15s ease, transform .15s ease;
}
.bee-hero__arrow:hover { background: rgba(255,255,255,.22); }
.bee-hero__arrow--prev { left: 22px; }
.bee-hero__arrow--next { right: 22px; }
.bee-hero__dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 92px; z-index: 3; display: flex; gap: 9px; }
.bee-hero__dot {
    width: 9px; height: 9px; border-radius: 999px; border: none; padding: 0; cursor: pointer;
    background: rgba(255,255,255,.42); transition: width .25s ease, background .25s ease;
}
.bee-hero__dot.is-active { width: 26px; background: #fff; }
@media (max-width: 760px) { .bee-hero__arrow { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .bee-hero__slide, .bee-hero__titles .bee-hero__title { transition: none; transform: none; }
}

/* mobile: skip the three 1920x1080 hero photos entirely (bandwidth/LCP) — branded
   gradient instead; the !important override keeps the inline background-image URLs
   from ever being fetched. Arrows/dots still switch the rotating titles. */
@media (max-width: 768px) {
    /* the gradient IS a background-image: one !important declaration both replaces the
       inline photo URL (so it is never fetched) and paints the fallback */
    .bee-hero__slide { background-image: linear-gradient(165deg, #25496f 0%, #0f172a 82%) !important; }
}


/* ==========================================================================
   WELCOME BODY — modernize the existing theme sections (CSS-only)
   ========================================================================== */
.page-welcome { background: var(--bee-surface); }

/* section eyebrow + headings */
.page-welcome .g-text-center--xs > p.text-uppercase,
.page-welcome p.text-uppercase.g-color--primary {
    color: var(--bee-primary) !important; font-weight: 800; letter-spacing: .18em;
}
.page-welcome h2.g-font-size-32--xs {
    font-weight: 800; color: var(--bee-ink);
    /* legacy g-font-size utilities are !important, so the override must be too */
    font-size: clamp(calc(32px * var(--bee-fs-ui)), calc(3.4vw * var(--bee-fs-ui)), calc(36px * var(--bee-fs-ui))) !important;
}
/* feature-card titles + charts intro: legacy g-font-size utilities, scaled as readable text */
.page-welcome h3.g-font-size-20--xs { font-size: calc(20px * var(--bee-fs)) !important; }
.page-welcome p.g-font-size-18--xs { font-size: calc(18px * var(--bee-fs)) !important; }

/* feature blocks -> modern vertical cards with custom SVG icon chips */
.page-welcome .row .col-sm-4 > .clearfix {
    display: flex; flex-direction: column; align-items: flex-start;
    background: #fff; border: 1px solid rgba(15, 23, 42, .05); border-radius: var(--bee-radius);
    box-shadow: var(--bee-card-shadow); padding: 30px 28px; height: 100%;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.page-welcome .row .col-sm-4 > .clearfix:hover {
    transform: translateY(-5px); box-shadow: var(--bee-card-shadow-hover);
    border-color: rgba(8, 145, 178, .25);
}
.page-welcome .col-sm-4 .g-media { float: none; width: auto; }
.page-welcome .g-media__body { padding-left: 0 !important; padding-right: 0 !important; }
.page-welcome .g-media__body h3 { font-weight: 750; font-size: calc(19px * var(--bee-fs)) !important; color: var(--bee-ink); margin-top: 0; }
.page-welcome .g-media__body p { color: var(--bee-ink-soft); line-height: 1.68; }
.page-welcome .g-media__body a {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--bee-primary); font-weight: 700; font-size: calc(13.5px * var(--bee-fs));
    text-decoration: none !important;
}
.page-welcome .g-media__body a span { transition: transform .15s ease; font-size: 13px !important; color: inherit !important; }
.page-welcome .g-media__body a:hover { color: var(--bee-primary-dark); }
.page-welcome .g-media__body a:hover span { transform: translateX(4px); }

/* generator promo band */
.page-welcome .s-promo-block-v3, .page-welcome [class*="promo-block"] {
    background: var(--bee-grad); border-radius: var(--bee-radius);
}

/* photo cards -> real cards with image zoom (P5) */
.page-welcome article {
    background: #fff; border: 1px solid rgba(15, 23, 42, .05);
    border-radius: var(--bee-radius); overflow: hidden;
    box-shadow: var(--bee-card-shadow); height: 100%;
    display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.page-welcome article:hover { transform: translateY(-5px); box-shadow: var(--bee-card-shadow-hover); }
.page-welcome article > img.img-responsive {
    border-radius: 0; box-shadow: none; width: 100%;
    transition: transform .4s ease;
}
.page-welcome article:hover > img.img-responsive { transform: scale(1.05); }
.page-welcome article > div {
    box-shadow: none !important; padding: 24px 22px 26px !important;
    position: relative; z-index: 1; background: #fff;
}
.page-welcome article h3 { margin-top: 0; }
.page-welcome article h3 a { color: var(--bee-ink); font-weight: 750; text-decoration: none !important; }
.page-welcome article h3 a:hover { color: var(--bee-primary); }
.page-welcome article p { color: var(--bee-ink-soft); line-height: 1.65; }
/* welcome body prose scales with the text-size control too */
.page-welcome article p,
.page-welcome .g-media__body p { font-size: calc(16px * var(--bee-fs)); }
.page-welcome article > div > a:not(h3 a) {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--bee-primary); font-weight: 700; font-size: calc(13.5px * var(--bee-fs)); text-decoration: none !important;
}
.page-welcome article > div > a span { transition: transform .15s ease; font-size: 13px !important; color: inherit !important; }
.page-welcome article > div > a:hover span { transform: translateX(4px); }

/* charts band (P5) */
.page-welcome .g-promo-section:has(img[src*="charts_samples"]) {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-top: 1px solid rgba(15, 23, 42, .05);
    border-bottom: 1px solid rgba(15, 23, 42, .05);
}
.page-welcome .g-promo-section:has(img[src*="charts_samples"]) h2 {
    font-weight: 800; color: var(--bee-ink); letter-spacing: -0.02em;
    font-size: clamp(calc(26px * var(--bee-fs-ui)), calc(3vw * var(--bee-fs-ui)), calc(38px * var(--bee-fs-ui))) !important; margin-bottom: 22px;
}
.page-welcome .g-promo-section:has(img[src*="charts_samples"]) p.text-uppercase { font-size: 13px !important; letter-spacing: .18em !important; }
.page-welcome .g-promo-section:has(img[src*="charts_samples"]) ul {
    list-style: none; margin: 14px 0 0; padding: 0;
    display: grid; grid-template-columns: 1fr; gap: 9px;
}
.page-welcome .g-promo-section:has(img[src*="charts_samples"]) ul li {
    position: relative; padding-left: 20px;
    color: var(--bee-ink-soft); font-size: calc(14.5px * var(--bee-fs)); font-weight: 550; line-height: 1.5;
}
.page-welcome .g-promo-section:has(img[src*="charts_samples"]) ul li::before {
    /* simple dot bullet */
    content: ""; position: absolute; left: 3px; top: 9px; width: 6px; height: 6px;
    border-radius: 50%; background: var(--bee-primary);
}
.page-welcome .g-promo-section:has(img[src*="charts_samples"]) ul li::after {
    content: none;
}
.page-welcome .g-promo-section:has(img[src*="charts_samples"]) img.img-responsive {
    border-radius: var(--bee-radius); box-shadow: var(--bee-card-shadow-hover);
    transform: rotate(-1.4deg); transition: transform .25s ease;
}
.page-welcome .g-promo-section:has(img[src*="charts_samples"]) img.img-responsive:hover { transform: rotate(0deg) scale(1.01); }

/* theme buttons -> modern pills */
.page-welcome .s-btn, .page-welcome a.s-btn {
    border-radius: 999px !important; font-weight: 700; letter-spacing: .04em;
    border-width: 1.5px; transition: all .15s ease;
}
.page-welcome .s-btn--primary-brd { border-color: var(--bee-primary); color: var(--bee-primary); }
.page-welcome .s-btn--primary-brd:hover { background: var(--bee-primary); color: #fff; }

/* lists */
.page-welcome ul li { color: var(--bee-ink-soft); }

/* ==========================================================================
   FOOTER — modern slim
   ========================================================================== */
footer.bee-footer {
    background: #0b1220; color: #94a3b8; margin-top: 70px;
    padding: 44px 0 30px; font-size: calc(13.5px * var(--bee-fs-ui));
}
.page-welcome footer.bee-footer { margin-top: 0; }
.bee-footer .bee-footer-brand { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 14px; }
.bee-footer .bee-footer-brand .bee-logo-word { color: #e2e8f0; font-size: 16px; }
.bee-footer .bee-footer-brand .bee-logo-word small { color: #38bdf8; }
/* copyright + footer links: legacy p/a rules pin these to 16px, so size them explicitly to scale */
.bee-footer p, .bee-footer a { font-size: calc(13.5px * var(--bee-fs-ui)); }
.bee-footer a { color: #cbd5e1; font-weight: 600; }
.bee-footer a:hover { color: #67e8f9; text-decoration: none; }
.bee-footer .health-note { color: #64748b; font-size: calc(12.5px * var(--bee-fs-ui)); max-width: 640px; margin: 0 auto 14px; }

/* anchored sections must clear the fixed bar */
[id] { scroll-margin-top: 92px; }


/* ==========================================================================
   GENERATOR PROMO (P4) — unified typography, numbered steps, live plan demo
   ========================================================================== */
.page-welcome div.container:has(.bee-plan-demo) {
    background: linear-gradient(160deg, #f0f9ff 0%, #eef2ff 100%);
    border: 1px solid rgba(8, 145, 178, .1);
    border-radius: calc(var(--bee-radius) + 6px);
    padding: 48px 40px !important; margin-top: 10px; margin-bottom: 24px;
}
.page-welcome div.container:has(.bee-plan-demo) h2 {
    font-weight: 800; color: var(--bee-ink); letter-spacing: -0.02em;
    font-size: clamp(calc(26px * var(--bee-fs-ui)), calc(3.4vw * var(--bee-fs-ui)), calc(40px * var(--bee-fs-ui))) !important;
}
.page-welcome div.container:has(.bee-plan-demo) p.text-uppercase {
    font-size: 14px !important; letter-spacing: .18em !important;
}
.bee-gen-intro { color: var(--bee-ink-soft); font-size: calc(15.5px * var(--bee-fs)); line-height: 1.7; margin: 6px 0 18px; }
.bee-steps { list-style: none; counter-reset: bee; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; max-width: 720px; }
.bee-steps li {
    counter-increment: bee; position: relative; padding-left: 44px;
    color: var(--bee-ink-soft); font-size: calc(15px * var(--bee-fs)); line-height: 1.65;
}
.bee-steps li::before {
    content: counter(bee); position: absolute; left: 0; top: 0;
    width: 28px; height: 28px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(6, 182, 212, .12), rgba(99, 102, 241, .14));
    border: 1px solid rgba(8, 145, 178, .22);
    color: var(--bee-primary-dark); font-weight: 800; font-size: 13px;
}
.bee-plan-demo {
    display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 8px 0 30px;
}
@media (max-width: 860px) { .bee-plan-demo { grid-template-columns: 1fr; } }
.bee-plan-card {
    background: #fff; border: 1px solid rgba(15, 23, 42, .06);
    border-radius: var(--bee-radius); box-shadow: var(--bee-card-shadow);
    padding: 18px 20px 14px; text-align: left;
}
.bee-plan-card__head {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid rgba(15, 23, 42, .07);
}
.bee-plan-card__head span { font-weight: 750; font-size: calc(14.5px * var(--bee-fs)); color: var(--bee-ink); }
.bee-plan-card__head b {
    font-size: 12px; font-weight: 700; color: var(--bee-primary-dark);
    background: rgba(8, 145, 178, .1); padding: 4px 11px; border-radius: 999px;
}
.bee-plan-card ul { list-style: none; margin: 0; padding: 0; }
.bee-plan-card li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(15, 23, 42, .06); }
.bee-plan-card li:last-of-type { border-bottom: none; }
.bee-code {
    flex: 0 0 auto; min-width: 34px; height: 24px; padding: 0 7px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: var(--bee-primary); font-style: normal;
    font-size: 11.5px; font-weight: 800; letter-spacing: .03em; border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, .14);
    /* bevel: top inner highlight + bottom inner shadow + faint outer drop */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(15, 23, 42, .09), 0 1px 1px rgba(15, 23, 42, .05);
}
.bee-code--locked { color: #94a3b8; border-color: rgba(15, 23, 42, .10); }

/* download link list (charts single-PDF list) */
.bee-dl-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.bee-dl-list li { position: relative; }
.bee-dl-list a {
    display: block; padding: 8px 12px 8px 28px; border-radius: 10px;
    color: var(--bee-ink-soft); font-weight: 550; text-decoration: none !important;
    transition: background .12s ease, color .12s ease;
}
.bee-dl-list a::before {
    content: ""; position: absolute; left: 9px; top: 50%; width: 11px; height: 11px;
    transform: translateY(-50%); background: var(--bee-primary);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 16l-5-5h3V4h4v7h3z"/><path d="M5 18h14v2H5z"/></svg>') center/contain no-repeat;
            mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 16l-5-5h3V4h4v7h3z"/><path d="M5 18h14v2H5z"/></svg>') center/contain no-repeat;
}
.bee-dl-list a:hover { background: var(--bee-surface); color: var(--bee-primary); }
.bee-plan-name { font-size: calc(13.5px * var(--bee-fs)); color: var(--bee-ink); font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bee-plan-dots { flex: 1 1 auto; border-bottom: 2px dotted rgba(15, 23, 42, .14); margin: 0 2px; min-width: 14px; }
.bee-plan-card li em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--bee-ink-soft); white-space: nowrap; }
.bee-plan-blur { color: transparent; text-shadow: 0 0 7px rgba(15, 23, 42, .35); letter-spacing: -1px; }
.bee-prem-chip {
    font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: #b45309; background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fcd34d; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.bee-plan-card li.bee-plan-link { cursor: pointer; }
.bee-plan-card li.bee-plan-link:hover .bee-plan-name { color: var(--bee-primary); }
.bee-plan-more {
    margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(15, 23, 42, .05);
    font-size: 12.5px; font-weight: 600; color: var(--bee-primary);
}
.bee-btn-primary--solidtext { text-transform: none !important; letter-spacing: .02em !important; }
/* primary-source / further-reading notes (Bates 1920 citations) */
.bee-source-note {
    font-size: calc(13.5px * var(--bee-fs)); line-height: 1.65; color: var(--bee-ink-soft);
    border-top: 1px solid rgba(15, 23, 42, .08); padding-top: 14px; margin: 8px 0 28px;
}
.bee-source-note a { text-decoration: underline; text-underline-offset: 2px; }

.bee-footer p { color: #94a3b8; }

/* ==========================================================================
   EXERCISE PAGE — unified presentation (all exercise category pages: body.bee-ex-page)
   ========================================================================== */
/* full-width light header band fading into the surface (single soft tint) */
.bee-ex-page {
    background-color: var(--bee-surface);
    background-image: linear-gradient(180deg, #e8eefb 0%, var(--bee-surface) 300px);
    background-repeat: no-repeat;
}

/* page title */
.bee-ex-page main > .container:first-of-type { position: relative; }
.bee-ex-page main > .container:first-of-type h1,
.bee-ex-page main > .container:first-of-type h2 {
    display: inline-block;
    font-weight: 800 !important; letter-spacing: -0.025em;
    font-size: clamp(calc(32px * var(--bee-fs)), calc(4.4vw * var(--bee-fs)), calc(50px * var(--bee-fs))) !important; line-height: 1.12;
    color: #374151 !important;
}

/* theory + exercise panels: light card for visual grouping; transparent header with a colored bottom line */
.bee-ex-page div.container:has(.g-color--red):not(:has(.exercise-section)) {
    background: #fff; border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 9px; box-shadow: var(--bee-card-shadow);
    padding: 24px 28px !important; margin-top: 34px !important;
}

.bee-ex-page div.container:has(> .exercise-section) { margin-top: 34px !important; }
.bee-ex-page .exercise-section {
    display: block; margin-left: -15px; margin-right: -15px; /* match theory-panel width (container gutters) */
    background: #fff; border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 9px; box-shadow: var(--bee-card-shadow);
    padding: 24px 28px; scroll-margin-top: 150px;
}

/* section/exercise headers: transparent header line + a colored bottom rule spanning the card */
.bee-ex-page .exercise-section > .row:first-child,
.bee-ex-page div.container:has(.g-color--red):not(:has(.exercise-section)) > .row:first-child {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    margin: -24px -28px 20px !important; padding: 16px 28px 14px;
    background: var(--bee-surface); border-radius: 9px 9px 0 0;
    border-bottom: 2px solid #cbd5e1;
}
.bee-ex-page .exercise-section > .row:first-child > div,
.bee-ex-page div.container:has(.g-color--red):not(:has(.exercise-section)) > .row:first-child > div {
    float: none !important; width: auto !important; padding: 0 !important;
}
.bee-ex-page .exercise-section > .row:first-child > .text-right,
.bee-ex-page div.container:has(.g-color--red):not(:has(.exercise-section)) > .row:first-child > .text-right {
    margin-left: auto;
}
/* section headers only (.text-uppercase guard: bare .g-color--red is also
   used for inline validation errors, e.g. the generator form) */
.bee-ex-page .text-uppercase.g-color--red {
    text-transform: none !important; letter-spacing: -0.01em !important;
    font-size: calc(23px * var(--bee-fs)) !important; font-weight: 700 !important;
}
/* red headers are real <h2> since the SEO-outline fix; classes already control
   size/weight - this neutralizes UA/bootstrap h2 margin/typography deltas */
h2.text-uppercase.g-color--red { margin: 0; line-height: inherit; font-family: inherit; }
/* theory headings (no badge): same solid color as exercise titles */
.bee-ex-page .text-uppercase.g-color--red:not(.bee-ex-head) {
    color: #3f4555 !important; /* ink lightened ~20%, matches .bee-ex-title */
}
.bee-ex-head { display: flex; align-items: center; gap: 12px; color: var(--bee-ink) !important; }
.bee-ex-badge {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; height: 23px; padding: 0 8px; border-radius: 8px;
    background: linear-gradient(135deg, #38bdf8, #818cf8); color: #fff; font-size: 11.5px; font-weight: 800;
    letter-spacing: .03em; box-shadow: 0 5px 12px -6px rgba(96, 165, 250, .55);
}
.bee-ex-title {
    font-size: calc(23px * var(--bee-fs)); font-weight: 700; letter-spacing: -0.01em;
    color: #3f4555; /* ink lightened ~20% */
}

/* legacy divider removed — the header strip's bottom edge does the separation */
.bee-ex-page .s-promo-block-v3__divider { display: none !important; }

/* numbered steps */
.bee-ex-page .exercise-section ol,
.bee-ex-page div.container:has(.g-color--red):not(:has(.exercise-section)) ol {
    list-style: none; counter-reset: bee-step; padding: 0; margin: 14px 0 6px;
    display: grid; gap: 10px;
}
.bee-ex-page .exercise-section ol li,
.bee-ex-page div.container:has(.g-color--red):not(:has(.exercise-section)) ol li {
    counter-increment: bee-step; position: relative; padding-left: 42px;
    color: var(--bee-ink-soft); font-size: calc(15px * var(--bee-fs)); line-height: 1.65; min-height: 30px;
}
.bee-ex-page .exercise-section ol li::before,
.bee-ex-page div.container:has(.g-color--red):not(:has(.exercise-section)) ol li::before {
    content: counter(bee-step); position: absolute; left: 0; top: 0;
    width: 28px; height: 28px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(6, 182, 212, .12), rgba(99, 102, 241, .14));
    border: 1px solid rgba(8, 145, 178, .22);
    color: var(--bee-primary-dark); font-weight: 800; font-size: 13px;
}
.bee-ex-page .exercise-section p { color: var(--bee-ink-soft); font-size: calc(15px * var(--bee-fs)); line-height: 1.7; }

/* media */
/* every content image on the page (exercise cards AND theory panels) */
.bee-ex-page main img.img-responsive {
    border-radius: 16px; box-shadow: var(--bee-card-shadow); width: 100%;
}
.bee-ex-page .audio-player audio { width: 280px; max-width: 76vw; height: 36px; }
.bee-ex-page .text-right .audio-player { display: flex; justify-content: flex-end; }

/* duration / reps / alternatives / strain -> chips */
.bee-ex-page .exercise-footer {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(15, 23, 42, .06);
}
.bee-ex-page .exercise-footer > div {
    width: auto !important; float: none !important; margin: 0 !important;
    background: var(--bee-surface); border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 999px; padding: 7px 14px !important;
    font-size: 12.5px; color: var(--bee-ink-soft); font-weight: 600;
}
.bee-ex-page .exercise-footer b { color: var(--bee-primary-dark); font-weight: 750; }

/* premium teaser inside exercises */
.bee-ex-page .premium-teaser {
    margin: 14px 0 4px; padding: 14px 18px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px dashed #fcd34d; border-radius: 14px;
}
.bee-ex-page .premium-teaser i { font-style: normal; }
.bee-ex-page .premium-teaser a { color: #b45309; }

/* sticky exercise TOC */
.bee-ex-toc {
    position: sticky; top: 72px; z-index: 900;
    background: rgba(248, 250, 252, .92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    margin-top: 16px;
}
.bee-ex-toc__inner {
    max-width: 1140px; margin: 0 auto; padding: 10px 24px;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.bee-ex-toc__inner::-webkit-scrollbar { display: none; }
.bee-ex-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 13px 6px 7px; border-radius: 999px;
    background: #fff; border: 1px solid rgba(15, 23, 42, .09);
    text-decoration: none !important; font-size: calc(12.5px * var(--bee-fs-ui)); font-weight: 600;
    color: var(--bee-ink-soft); transition: color .15s ease, border-color .15s ease, background .2s ease;
}
.bee-ex-chip b {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 26px; height: 20px; padding: 0 5px; border-radius: 7px;
    background: transparent; color: var(--bee-primary); font-size: calc(11px * var(--bee-fs-ui)); font-weight: 800;
    border: 1px solid rgba(15, 23, 42, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(15, 23, 42, .09), 0 1px 1px rgba(15, 23, 42, .05);
}
.bee-ex-chip--plain { padding: 6px 13px; } /* no badge: even padding */
.bee-ex-chip:hover { border-color: var(--bee-primary); color: var(--bee-primary); }
.bee-ex-chip.is-active {
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    border-color: rgba(59, 130, 246, .35); color: var(--bee-primary-dark);
}
.bee-ex-chip.is-active b { background: transparent; color: var(--bee-primary-dark); }

/* safety warnings inside exercises — same panel language as the premium teaser */
.bee-ex-page .bee-warning {
    margin: 14px 0 4px; padding: 14px 18px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px dashed #fcd34d; border-radius: 14px;
    color: var(--bee-ink-soft); font-size: calc(15px * var(--bee-fs)); line-height: 1.65;
}
.bee-ex-page .bee-warning b { color: #b45309; font-weight: 800; }

/* locked premium content — same visual language as the homepage plan demo */
.bee-locked {
    margin: 14px 0 6px; padding: 13px 18px 12px;
    background: var(--bee-surface);
    border: 1px dashed rgba(15, 23, 42, .16); border-radius: 14px;
}
.bee-locked__row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.bee-locked__note { margin: 9px 0 0; font-size: calc(13.5px * var(--bee-fs)); color: var(--bee-ink-soft); }
.bee-locked__note a { color: var(--bee-primary-dark); }

/* ==========================================================================
   GENERATOR FORM — modern controls (#generatorForm)
   ========================================================================== */
#generatorForm .control-label {
    font-size: calc(14px * var(--bee-fs)); font-weight: 750; color: var(--bee-ink);
    letter-spacing: .01em; margin-bottom: 8px;
}
#generatorForm select.form-control {
    -webkit-appearance: none; appearance: none;
    height: auto; padding: 12px 42px 12px 16px;
    font-size: calc(15px * var(--bee-fs)); color: var(--bee-ink);
    background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center no-repeat;
    border: 1.5px solid rgba(15, 23, 42, .12); border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: border-color .15s ease, box-shadow .15s ease;
}
#generatorForm select.form-control:focus {
    border-color: var(--bee-primary); outline: 0;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}
/* radios & checkboxes: brand accent, comfortable hit targets */
#generatorForm input[type="radio"],
#generatorForm input[type="checkbox"] {
    accent-color: var(--bee-primary);
    width: 17px; height: 17px; margin-top: 2px;
}
#generatorForm .radio label,
#generatorForm .checkbox label,
#generatorForm .radio-inline {
    font-size: calc(15px * var(--bee-fs)); color: var(--bee-ink-soft); padding-left: 26px;
}
#generatorForm .radio + .radio,
#generatorForm .checkbox + .checkbox { margin-top: 8px; }
/* align the 17px controls with the 26px label indent (Bootstrap absolutes them) */
#generatorForm .radio input[type="radio"],
#generatorForm .radio-inline input[type="radio"],
#generatorForm .checkbox input[type="checkbox"] { margin-left: -26px; }
/* validation error as a soft alert instead of bare red text */
#generatorForm p.g-color--red {
    display: inline-block; padding: 10px 16px; margin: 4px 0 0;
    background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px;
    color: #b91c1c !important; font-size: calc(14px * var(--bee-fs)); font-weight: 650;
}
/* gradient pill submit (shared .bee-btn-primary is an <a> elsewhere) */
button.bee-btn-primary { border: 0; cursor: pointer; }

/* ==========================================================================
   PREMIUM PAGE — perks row + donation panel
   ========================================================================== */
.bee-perks { list-style: none; padding: 0; margin: 14px 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.bee-perks li {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
    background: linear-gradient(135deg, #ecfeff, #eef2ff); border: 1px solid rgba(8, 145, 178, .16);
    font-size: calc(13.5px * var(--bee-fs)); font-weight: 650; color: var(--bee-ink);
}
.bee-perks li svg { flex: 0 0 auto; color: var(--bee-primary-dark); }

.bee-pay {
    background: linear-gradient(160deg, #f0f9ff 0%, #eef2ff 100%);
    border: 1px solid rgba(8, 145, 178, .12); border-radius: 18px;
    padding: 22px 24px 24px; margin-top: 6px;
}
/* segmented control on top of Bootstrap's nav-tabs (keeps its tab JS) */
.bee-pay__tabs.nav-tabs { display: inline-flex; gap: 6px; border: 0; background: #fff; padding: 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08); margin-bottom: 16px; }
.bee-pay__tabs.nav-tabs > li { float: none; margin: 0; }
.bee-pay__tabs.nav-tabs > li > a {
    margin: 0; border: 0 !important; border-radius: 999px !important; padding: 8px 16px;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: calc(13.5px * var(--bee-fs)); font-weight: 700; color: var(--bee-ink-soft); background: transparent;
}
.bee-pay__tabs.nav-tabs > li > a img { height: 18px; width: auto; }
.bee-pay__tabs.nav-tabs > li.active > a,
.bee-pay__tabs.nav-tabs > li.active > a:hover,
.bee-pay__tabs.nav-tabs > li.active > a:focus {
    background: linear-gradient(135deg, #e0f2fe, #e0e7ff); color: var(--bee-primary-dark);
}
.bee-pay__note { font-size: calc(14.5px * var(--bee-fs)); color: var(--bee-ink-soft); margin: 0 0 18px; max-width: 680px; }
.bee-pay__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .bee-pay__grid { grid-template-columns: 1fr; } }
.bee-pay__card {
    background: #fff; border: 1px solid rgba(15, 23, 42, .07); border-radius: 16px;
    box-shadow: var(--bee-card-shadow); padding: 20px; margin: 0;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.bee-pay__cur { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; color: var(--bee-ink-soft); }
.bee-amounts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.bee-amount {
    padding: 10px 20px; border-radius: 12px; border: 1.5px solid rgba(15, 23, 42, .12);
    background: #fff; font-size: calc(15px * var(--bee-fs)); font-weight: 800; color: var(--bee-ink); cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.bee-amount:hover { border-color: var(--bee-primary); }
.bee-amount.is-active {
    background: linear-gradient(135deg, #e0f2fe, #e0e7ff);
    border-color: rgba(59, 130, 246, .45); color: var(--bee-primary-dark);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}
.bee-pay__submit { padding: 12px 28px !important; font-size: calc(14px * var(--bee-fs-ui)) !important; }
.bee-pay__coffee { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.bee-pay__qr { width: 150px; border-radius: 14px; border: 1px solid rgba(15, 23, 42, .08); }

/* ==========================================================================
   WELCOME — "Start in three simple steps" panel (reference design, our colors)
   ========================================================================== */
.bee-steps-panel {
    background: #fff; border-radius: 30px; padding: 46px 44px 44px;
    border: 1px solid rgba(15, 23, 42, .04); box-shadow: var(--bee-card-shadow);
}
.bee-steps-panel__head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 14px 28px; flex-wrap: wrap; margin-bottom: 32px;
}
.bee-steps-panel__head h2 {
    margin: 0; font-family: var(--bee-font-display);
    font-size: clamp(calc(26px * var(--bee-fs-ui)), calc(3.2vw * var(--bee-fs-ui)), calc(36px * var(--bee-fs-ui))) !important; font-weight: 800;
    color: var(--bee-ink); letter-spacing: -0.02em;
}
.bee-steps-panel__note { margin: 0; font-size: calc(16px * var(--bee-fs)); color: var(--bee-ink-soft); }
.bee-stepcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .bee-stepcards { grid-template-columns: 1fr; } }
.bee-stepcard {
    display: block; padding: 32px 30px 30px; border-radius: 26px;
    background: linear-gradient(165deg, #eef4fb 0%, #ecf1fa 100%);
    text-decoration: none !important;
}
.bee-stepcard__num {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--bee-primary-dark); color: #fff;
    font-family: var(--bee-font-display); font-weight: 700; font-size: calc(18px * var(--bee-fs));
    margin-bottom: 30px;
}
.bee-stepcard h3 {
    font-family: var(--bee-font-display);
    font-size: calc(21px * var(--bee-fs)) !important; font-weight: 800; color: var(--bee-ink);
    margin: 0 0 12px; letter-spacing: -0.01em;
}
.bee-stepcard p { font-size: calc(15.5px * var(--bee-fs)); color: var(--bee-ink-soft); line-height: 1.7; margin: 0; }

/* back-to-top (legacy plugin .js__back-to-top, modernized look) */
.s-back-to-top {
    width: 44px; height: 44px; right: 26px; border-radius: 50%;
    background: var(--bee-grad);
    box-shadow: 0 12px 26px -10px rgba(59, 130, 246, .65);
    display: flex; align-items: center; justify-content: center;
}
.s-back-to-top:before { font-size: 15px; line-height: 1; }
.s-back-to-top.-is-visible { opacity: 1; }
.s-back-to-top:hover { background: var(--bee-grad); transform: translateY(-2px); }
.s-back-to-top:hover:before { color: #fff; }
