/* ==========================================================================
   Sodecv · 01 tokens, base type, layout, buttons, header, footer
   White page, caramel #a1561a as the one brand colour, warm-neutral ink.
   Libre Franklin 400/500/600/700.
   ========================================================================== */

:root {
    --brand: #a1561a;
    --brand-hover: #864714;
    --brand-tint: #fbf2e9;
    --brand-ring: rgba(161, 86, 26, .22);
    --ink: #22180f;
    --text: #4a423b;
    --muted: #6b625a;
    --line: #ece8e4;
    --line-2: #d8d1ca;
    --soft: #f7f7f6;
    --white: #ffffff;
    --danger: #b42318;
    --danger-wash: #fef3f2;
    --ok: #166534;
    --ok-wash: #ecfdf3;

    --f: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
    --r: 8px;
    --r-lg: 12px;
    --shadow: 0 20px 40px -18px rgba(34, 24, 15, .25);
    --shadow-sm: 0 1px 2px rgba(34, 24, 15, .06);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --t: 180ms;
    --wrap: 1216px;
    --pad-x: 32px;
    --section: 112px;
}

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

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

body.rb-body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: var(--f);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.rb-body h1, .rb-body h2, .rb-body h3, .rb-body h4 { margin: 0; color: var(--ink); font-family: var(--f); font-weight: 700; letter-spacing: -.015em; }
.rb-body p { margin: 0; }
.rb-body img { display: block; max-width: 100%; height: auto; }
.rb-body a { color: inherit; text-decoration: none; transition: color var(--t) ease; }
.rb-body ul, .rb-body ol { margin: 0; padding: 0; list-style: none; }
.rb-body figure { margin: 0; }
.rb-body :focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.rb-main { overflow-x: clip; }

.rb-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r); background: var(--ink); color: var(--white) !important; font-weight: 600; }
.rb-skip:focus { top: 12px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- layout ---------- */
.rb-wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad-x) * 2); margin: 0 auto; padding: 0 var(--pad-x); }
.rb-wrap--narrow { max-width: calc(880px + var(--pad-x) * 2); }
.rb-wrap--wide { max-width: 1440px; }

.rb-section { padding: var(--section) 0; }
.rb-section--tight { padding: 64px 0 var(--section); }
.rb-section--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- type ---------- */
.rb-title { font-size: 2.25rem; line-height: 1.15; letter-spacing: -.02em; }
.rb-title--md { font-size: 2rem; }
.rb-lead { max-width: 640px; color: var(--text); font-size: 18px; line-height: 1.6; }

.rb-head { margin-bottom: 56px; }
.rb-head .rb-lead { margin-top: 16px; }
.rb-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; }
.rb-head--split .rb-lead { margin-top: 0; }

.rb-body .rb-link { color: var(--brand); font-weight: 600; }
.rb-body .rb-link:hover { color: var(--brand-hover); }
.rb-link--arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding-bottom: 2px; border-bottom: 2px solid currentColor; }

.rb-ico { flex-shrink: 0; }

/* ---------- buttons (44–48px, 600, 8px radius) ---------- */
.rb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: var(--r);
    font-family: var(--f);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--t) ease, border-color var(--t) ease, color var(--t) ease;
}
.rb-btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.rb-btn--lg { min-height: 48px; padding: 12px 26px; }
.rb-btn--full { width: 100%; }
.rb-body .rb-btn--solid { background: var(--brand); border-color: var(--brand); color: var(--white); }
.rb-body .rb-btn--solid:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--white); }
.rb-body .rb-btn--outline { background: var(--white); border-color: var(--line-2); color: var(--ink); }
.rb-body .rb-btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.rb-body .rb-btn--light { background: var(--white); border-color: var(--white); color: var(--brand); }
.rb-body .rb-btn--light:hover { background: var(--brand-tint); border-color: var(--brand-tint); color: var(--brand-hover); }
.rb-body .rb-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: var(--white); }
.rb-body .rb-btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }

.rb-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rb-actions--center { justify-content: center; }

/* ---------- header ---------- */
.rb-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.admin-bar .rb-header { top: 32px; }
.rb-header__bar { position: relative; display: flex; align-items: center; gap: 40px; min-height: 76px; }
.rb-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.rb-body .rb-logo__img { width: auto; height: 34px; max-width: none; }

.rb-nav { flex: 1; display: flex; align-items: center; }
.rb-nav .header-menu { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.rb-nav .header-menu li { margin: 0; padding: 0; list-style: none; }
.rb-nav .header-menu a {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    color: var(--text);
    font-size: 15.5px;
    font-weight: 500;
    white-space: nowrap;
}
.rb-nav .header-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--t) var(--ease);
}
.rb-nav .header-menu a:hover,
.rb-nav .header-menu .current-menu-item > a,
.rb-nav .header-menu a[aria-current="page"] { color: var(--ink); }
.rb-nav .header-menu a:hover::after,
.rb-nav .header-menu .current-menu-item > a::after,
.rb-nav .header-menu a[aria-current="page"]::after { transform: scaleX(1); }
.rb-nav__extra { display: none; }

.rb-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.rb-lang { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 10px; border: 0; border-radius: var(--r); background: transparent; color: var(--text); font: 600 14px var(--f); cursor: pointer; transition: color var(--t); }
.rb-lang:hover { color: var(--brand); }

.rb-menu-btn { display: none; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); color: var(--ink); cursor: pointer; }
.rb-menu-btn .rb-menu-btn__open { display: grid; place-items: center; }
.rb-menu-btn .rb-menu-btn__close { display: none; place-items: center; }
.rb-menu-btn[aria-expanded="true"] .rb-menu-btn__open { display: none; }
.rb-menu-btn[aria-expanded="true"] .rb-menu-btn__close { display: grid; }

/* ---------- inner page head ---------- */
.rb-pagehead { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.rb-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.rb-crumbs a { color: var(--brand); font-weight: 500; }
.rb-crumbs a:hover { color: var(--brand-hover); }
.rb-pagehead__title { max-width: 820px; font-size: clamp(2.25rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -.02em; }
.rb-pagehead__text { max-width: 640px; margin-top: 16px !important; font-size: 18px; }

/* ---------- cards ---------- */
.rb-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.rb-card--pad { padding: 40px; }
.rb-card--grey { background: var(--soft); box-shadow: none; }
.rb-card__title { margin-bottom: 24px !important; font-size: 22px; line-height: 1.3; }
.rb-stack { display: grid; gap: 12px; }

/* ---------- footer ---------- */
.rb-footer { border-top: 1px solid var(--brand); background: var(--white); color: var(--muted); font-size: 15px; }
.rb-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 48px; padding: 72px 0 56px; }
.rb-footer__brand p { max-width: 320px; margin-top: 20px; line-height: 1.6; }
.rb-body .rb-footer .rb-logo__img { height: 32px; }
.rb-footer__title { margin-bottom: 18px !important; color: var(--ink) !important; font-size: 12px !important; font-weight: 600 !important; letter-spacing: .1em !important; text-transform: uppercase; }
.rb-footer .rb-footer__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rb-footer .rb-footer__list li { margin: 0; padding: 0; }
.rb-footer .rb-footer__list a { color: var(--muted); font-size: 15px; word-break: break-word; }
.rb-footer .rb-footer__list a:hover { color: var(--brand); }
.rb-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px 0 32px; border-top: 1px solid var(--line); }
.rb-footer .rb-footer__legal-list { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.rb-footer .rb-footer__legal-list li { margin: 0; padding: 0; }
.rb-footer .rb-footer__legal-list a { color: var(--text); font-size: 14px; font-weight: 500; }
.rb-footer .rb-footer__legal-list a:hover { color: var(--brand); }
.rb-footer__copy { color: var(--muted); font-size: 13.5px; }
/* ==========================================================================
   Sodecv · 02 front-page sections, about, auth, reveal motion
   ========================================================================== */

/* ---------- hero ---------- */
.rb-hero { padding: 80px 0 96px; }
.rb-hero__grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.rb-hero__copy { max-width: 600px; }
.rb-hero__title { font-size: clamp(2.5rem, 4.6vw, 3.75rem); line-height: 1.08; letter-spacing: -.02em; }
.rb-hero__lead { max-width: 560px; margin-top: 24px !important; font-size: 19px; line-height: 1.6; }
.rb-hero .rb-actions { margin-top: 36px; }
.rb-hero__media { position: relative; }
.rb-hero__media img { width: 100%; height: 584px; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-lg); box-shadow: var(--shadow); }

.rb-hero__checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin-top: 64px !important; padding-top: 32px !important; border-top: 1px solid var(--line); }
.rb-hero__checks li { display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.45; }
.rb-hero__tick { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); }

/* ---------- four CV parts: ruled list ---------- */
.rb-parts { padding-top: 96px; border-top: 1px solid var(--line); }
.rb-parts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: none; }
.rb-part { position: relative; padding: 32px 32px 8px; border-top: 1px solid var(--line-2); }
.rb-part + .rb-part { border-left: 1px solid var(--line); }
.rb-part:first-child { padding-left: 0; }
.rb-part:last-child { padding-right: 0; }
.rb-part::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 56px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 600ms var(--ease) calc(var(--i, 0) * 100ms + 200ms);
}
.rb-part + .rb-part::before { left: 32px; }
.rb-parts__list.is-in .rb-part::before { transform: scaleX(1); }
.rb-part__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.rb-part__icon { display: inline-flex; color: var(--brand); }
.rb-part__no { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.rb-part__title { margin-bottom: 12px !important; font-size: 20px; line-height: 1.3; }
.rb-part p { font-size: 16px; line-height: 1.6; }

/* ---------- feature rows ---------- */
.rb-rows { padding-top: 24px; }
.rb-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; align-items: center; }
.rb-row + .rb-row { margin-top: 112px; }
.rb-row--flip .rb-row__media { order: 2; }
.rb-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.rb-row__copy { max-width: 540px; }
.rb-row__copy .rb-lead { margin-top: 20px; font-size: 17.5px; }
.rb-ticks { display: grid; gap: 14px; margin-top: 28px !important; }
.rb-ticks li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-size: 16px; font-weight: 500; }
.rb-ticks .rb-ico { margin-top: 3px; color: var(--brand); }

/* ---------- how it works ---------- */
.rb-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.rb-steps::before { content: ""; position: absolute; top: 20px; left: 20px; right: calc(33.333% - 20px); height: 1px; background: var(--line-2); }
.rb-step { position: relative; }
.rb-step__num {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 24px;
    border: 1.5px solid var(--brand);
    border-radius: 50%;
    background: var(--soft);
    color: var(--brand);
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.rb-step h3 { margin-bottom: 10px !important; font-size: 20px; }
.rb-step p { max-width: 340px; font-size: 16px; }

/* ---------- pricing ---------- */
.rb-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.rb-plans--1 { max-width: 420px; }
.rb-plans--2 { max-width: 880px; }
.rb-plan { display: flex; flex-direction: column; padding: 36px 32px 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.rb-plan__name { font-size: 18px; font-weight: 600 !important; }
.rb-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 20px !important; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.rb-plan__amount { color: var(--ink); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
.rb-plan__per { color: var(--muted); font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.rb-plan__trial { margin-top: 16px !important; color: var(--brand); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rb-plan__list { display: grid; gap: 12px; margin: 24px 0 32px !important; }
.rb-plan__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: var(--text); }
.rb-plan__list .rb-ico { margin-top: 3px; color: var(--brand); }
.rb-plan .rb-btn { margin-top: auto; }
.rb-pricing__note { margin-top: 32px !important; color: var(--muted); font-size: 14.5px; }
.rb-pricing__note a { color: var(--brand); font-weight: 600; }

/* ---------- FAQ ---------- */
.rb-faq { border-top: 1px solid var(--line); }
.rb-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 80px; align-items: start; }
.rb-faq__intro .rb-lead { margin-top: 16px; }
.rb-accordion { border-top: 1px solid var(--line); }
.rb-acc { border-bottom: 1px solid var(--line); }
.rb-acc__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
    transition: color var(--t);
}
.rb-acc__q::-webkit-details-marker { display: none; }
.rb-acc__q:hover { color: var(--brand); }
.rb-acc__icon { position: relative; flex-shrink: 0; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 50%; transition: border-color var(--t), background-color var(--t); }
.rb-acc__icon::before, .rb-acc__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.75px; margin: -.875px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform var(--t) var(--ease), background-color var(--t); }
.rb-acc__icon::after { transform: rotate(90deg); }
.rb-acc[open] .rb-acc__icon { border-color: var(--brand); background: var(--brand); }
.rb-acc[open] .rb-acc__icon::before, .rb-acc[open] .rb-acc__icon::after { background: var(--white); }
.rb-acc[open] .rb-acc__icon::after { transform: rotate(0deg); }
.rb-acc__a { padding: 0 56px 26px 0; }
.rb-acc__a p { font-size: 16.5px; line-height: 1.65; }

/* ---------- CTA band ---------- */
.rb-cta { background: var(--brand); color: var(--white); }
.rb-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; padding-top: 80px; padding-bottom: 80px; }
.rb-cta__copy { max-width: 640px; }
.rb-body .rb-cta__title { color: var(--white); font-size: 2.25rem; line-height: 1.15; letter-spacing: -.02em; }
.rb-cta__text { margin-top: 14px !important; color: rgba(255, 255, 255, .92); font-size: 18px; }

/* ---------- contact ---------- */
.rb-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.rb-contact__copy .rb-lead { margin-top: 16px; }
.rb-details { display: grid; gap: 20px; margin-top: 36px !important; }
.rb-details li { display: flex; align-items: flex-start; gap: 16px; }
.rb-details small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.rb-details a { color: var(--ink); font-weight: 600; word-break: break-word; }
.rb-details a:hover { color: var(--brand); }
.rb-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); }

/* ---------- about page ---------- */
.rb-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.rb-about__copy p { max-width: 600px; margin-top: 18px; font-size: 17.5px; }
.rb-about__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.rb-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 96px !important; border-top: 1px solid var(--line-2); }
.rb-value { padding: 32px 32px 0; }
.rb-value:first-child { padding-left: 0; }
.rb-value + .rb-value { border-left: 1px solid var(--line); }
.rb-value h3 { margin: 20px 0 10px !important; font-size: 20px; }
.rb-value p { font-size: 16px; }

/* ---------- profile ---------- */
.rb-profile { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.rb-profile__side { display: grid; gap: 24px; }

/* ---------- auth / 404: tint panel + form ---------- */
.rb-auth { padding: 72px 0 112px; background: var(--white); }
.rb-auth__box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); max-width: 1040px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.rb-auth__panel { display: flex; flex-direction: column; padding: 48px; background: var(--brand-tint); border-right: 1px solid #f1e2d3; }
.rb-auth__logo { display: inline-flex; }
.rb-body .rb-auth__logo .rb-logo__img { height: 32px; }
.rb-auth__panel-title { margin-top: auto !important; padding-top: 72px; color: var(--ink); font-size: 26px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.rb-auth__points { display: grid; gap: 16px; margin-top: 28px !important; }
.rb-auth__points li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 15.5px; font-weight: 500; }
.rb-auth__points .rb-hero__tick { background: var(--white); }
.rb-auth__main { padding: 56px 56px 48px; }
.rb-auth__title { font-size: 2rem; line-height: 1.15; letter-spacing: -.02em; }
.rb-auth__text { max-width: 460px; margin: 12px 0 32px !important; color: var(--text); font-size: 16.5px; }
.rb-auth__links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px !important; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.page-404 .rb-auth__main { display: flex; flex-direction: column; justify-content: center; }
.page-404 .rb-actions { margin-top: 8px; }

/* ---------- dashboard frame ---------- */
.rb-appframe__inner { padding: 24px 0 48px; }

/* ---------- reveal motion (transform/opacity only, runs once) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(14px); transition: opacity 550ms var(--ease), transform 550ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
/* ==========================================================================
   Sodecv · 03 CRM + CF7 forms, tables, policy text, cookie card,
   language dialog, responsive rules, reduced motion
   ========================================================================== */

/* ---------- shared fields ---------- */
.rb-form form { display: flex; flex-direction: column; gap: 20px; width: 100%; text-align: left; }
.rb-form p { margin: 0; }
.rb-form label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 14.5px; font-weight: 600; }

.rb-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
.rb-form select,
.rb-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    background: var(--white);
    color: var(--ink);
    font: 400 16px/1.4 var(--f);
    box-shadow: var(--shadow-sm);
    outline: none;
    transition: border-color var(--t), box-shadow var(--t);
}
.rb-form input:hover, .rb-form textarea:hover, .rb-form select:hover { border-color: #c4bbb2; }
.rb-form input:focus, .rb-form select:focus, .rb-form textarea:focus { border-color: var(--brand) !important; box-shadow: 0 0 0 4px var(--brand-ring) !important; }
.rb-form input[disabled], .rb-form input[readonly] { background: var(--soft); color: var(--muted); }
.rb-form textarea { min-height: 150px; resize: vertical; }
.rb-form input::placeholder, .rb-form textarea::placeholder { color: #776e66; opacity: 1; }
.rb-form input[type="checkbox"], .rb-form input[type="radio"] { width: 18px; height: 18px; accent-color: var(--brand); }

/* Autofill: keep white fields with dark text everywhere. */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active,
textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus,
select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--ink) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--white) inset !important;
    box-shadow: 0 0 0 1000px var(--white) inset !important;
    caret-color: var(--ink);
    transition: background-color 600000s 0s, color 600000s 0s;
}
input:autofill, textarea:autofill, select:autofill { -webkit-text-fill-color: var(--ink) !important; }

/* ---------- submit buttons ---------- */
.rb-form input[type="submit"],
.rb-form button[type="submit"],
.rb-form button.button,
.rb-form button.btn,
.rb-form .crm-btn-primary,
.rb-form .wpcf7 form.contact-form input[type="submit"],
.rb-form .wpcf7 form.unsubscribe-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid var(--brand) !important;
    border-radius: var(--r) !important;
    background: var(--brand) !important;
    color: var(--white) !important;
    font: 600 16px/1.2 var(--f) !important;
    cursor: pointer;
    box-shadow: none;
    transition: background-color var(--t), border-color var(--t);
}
.rb-form input[type="submit"]:hover,
.rb-form button[type="submit"]:hover,
.rb-form button.button:hover,
.rb-form button.btn:hover,
.rb-form .crm-btn-primary:hover,
.rb-form .wpcf7 form.contact-form input[type="submit"]:hover,
.rb-form .wpcf7 form.unsubscribe-form input[type="submit"]:hover { background: var(--brand-hover) !important; border-color: var(--brand-hover) !important; }
.rb-form button:disabled, .rb-form input[type="submit"]:disabled { background: var(--line) !important; border-color: var(--line) !important; color: var(--muted) !important; cursor: not-allowed; }

.rb-form a { color: var(--brand); font-weight: 600; }
.rb-form a:hover { color: var(--brand-hover); }
.rb-form h1, .rb-form h2, .rb-form h3, .rb-form h4 { color: var(--ink); font-family: var(--f); }

/* ---------- messages ---------- */
.rb-form .wpcf7-not-valid-tip, .rb-form .error { margin-top: 6px; color: var(--danger) !important; font-size: 14px; }
.rb-form .crm-error { margin: 0; padding: 12px 16px; border: 1px solid #f4c7c3; border-radius: var(--r); background: var(--danger-wash); color: var(--danger); }
.rb-form .wpcf7-response-output,
.rb-form .crm-message,
.rb-form .crm-auth-messages:not(:empty) { margin: 0 !important; padding: 12px 16px !important; border: 1px solid var(--line) !important; border-radius: var(--r) !important; background: var(--soft) !important; color: var(--ink) !important; }
.rb-form .crm-auth-messages:empty { display: none; }
.rb-form .crm-button-loading { display: none; }
.rb-form .wpcf7-mail-sent-ok { background: var(--ok-wash) !important; color: var(--ok) !important; }
.rb-form .wpcf7-validation-errors { background: var(--danger-wash) !important; color: var(--danger) !important; }

/* ---------- Contact Form 7 (contact + unsubscribe), parent specificity ---------- */
.rb-form .wpcf7 form.contact-form,
.rb-form .wpcf7 form.unsubscribe-form { max-width: none; margin: 0; padding: 0; background: transparent; box-shadow: none; font-family: inherit; }
.rb-form .wpcf7 form.contact-form label,
.rb-form .wpcf7 form.unsubscribe-form label,
.page-unsubscribe .unsubscribe-form label { display: block; margin-bottom: 8px; color: var(--ink) !important; font-size: 14.5px; font-weight: 600; }
.rb-form .wpcf7 form.contact-form input[type="text"],
.rb-form .wpcf7 form.contact-form input[type="email"],
.rb-form .wpcf7 form.contact-form input[type="tel"],
.rb-form .wpcf7 form.contact-form input[type="number"],
.rb-form .wpcf7 form.contact-form input[type="url"],
.rb-form .wpcf7 form.contact-form input[type="password"],
.rb-form .wpcf7 form.contact-form textarea,
.rb-form .wpcf7 form.contact-form select,
.rb-form .wpcf7 form.unsubscribe-form input[type="text"],
.rb-form .wpcf7 form.unsubscribe-form input[type="email"],
.rb-form .wpcf7 form.unsubscribe-form input[type="tel"],
.rb-form .wpcf7 form.unsubscribe-form textarea,
.rb-form .wpcf7 form.unsubscribe-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-2) !important;
    border-radius: var(--r) !important;
    background: var(--white) !important;
    color: var(--ink) !important;
    font: 400 16px/1.4 var(--f);
}
.rb-form .wpcf7 form.contact-form input::placeholder,
.rb-form .wpcf7 form.contact-form textarea::placeholder,
.rb-form .wpcf7 form.unsubscribe-form input::placeholder { color: #776e66 !important; }
.rb-form .wpcf7 form.contact-form textarea, .rb-form .wpcf7 form.unsubscribe-form textarea { min-height: 150px; }
.rb-form .wpcf7 form.contact-form .wpcf7-response-output,
.rb-form .wpcf7 form.unsubscribe-form .wpcf7-response-output { margin-top: 4px !important; }
.rb-form .wpcf7-spinner { margin: 0 auto; }

/* CF7 captcha row */
.rb-form .captcha-cf7-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.rb-form .captcha-cf7-wrap > p { flex: 0 0 100%; margin: 0; }
.rb-form .captcha-cf7-wrap > p:empty { display: none; }
.rb-form .captcha-cf7-wrap .main-cf7-captcha { flex: 1 1 160px; }
.rb-form .captcha-image-container { flex: 0 0 auto; gap: 10px; margin: 0; }
.rb-form .captcha-image-container img#captcha-image { width: auto; height: 48px; border: 1px solid var(--line-2) !important; border-radius: var(--r) !important; }
.rb-form a#reload_captcha { width: 48px !important; height: 48px !important; border: 1px solid var(--line-2) !important; border-radius: var(--r) !important; background: var(--white) !important; color: var(--ink) !important; }
.rb-form a#reload_captcha:hover { border-color: var(--brand) !important; }
.rb-form--quiet .wpcf7 form.unsubscribe-form input[type="submit"] { background: var(--ink) !important; border-color: var(--ink) !important; }

/* ---------- CRM plugin forms: drop the plugin's own card ---------- */
.rb-form .crm-login-form,
.rb-form .crm-forgot-password-form,
.rb-form .crm-change-password-form,
.rb-form .crm-user-dashboard,
.rb-form .crm-user-profile-edit { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.rb-form--auth .crm-login-title,
.rb-form--auth .crm-forgot-password-title,
.rb-form--auth .crm-change-password-title { display: none; }
.rb-form .crm-field-group, .rb-form .crm-form-group { display: flex; flex-direction: column; width: 100%; margin-bottom: 0; }
.rb-form .crm-field-group label, .rb-form .crm-form-group label { color: var(--ink); }
.rb-form .crm-forgot-password-description, .rb-form .crm-change-password-description { margin: -4px 0 0; color: var(--muted); font-size: 15px; }
.rb-form .crm-field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.rb-form .login-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.rb-form .login-actions .form-input-wrapper { margin: 0; }
.rb-form label.inline { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; }
.rb-form label.inline input[type="checkbox"] { flex-shrink: 0; margin: 0; }

/* "I forgot my password" ships as a.button: keep it a text link. */
.rb-form a.button, .rb-form a.btn, .rb-form .crm-back-to-login {
    display: inline-flex; align-items: center; gap: 6px; width: auto; min-height: 0; padding: 0;
    border: 0; border-radius: 0; background: none; box-shadow: none;
    color: var(--brand); font-size: 15px; font-weight: 600; text-decoration: none;
}
.rb-form a.button:hover, .rb-form a.btn:hover, .rb-form .crm-back-to-login:hover { background: none; color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }
.rb-form .crm-forgot-password-footer { margin-top: 4px; text-align: center; }

.rb-form .crm-btn-secondary, .rb-form .crm-btn-danger {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 10px 18px; border-radius: var(--r);
    font: 600 15px var(--f); text-decoration: none; cursor: pointer;
    transition: background-color var(--t), border-color var(--t), color var(--t);
}
.rb-form .crm-btn-secondary { border: 1px solid var(--line-2); background: var(--white); color: var(--ink); }
.rb-form .crm-btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.rb-form .crm-btn-danger { border: 1px solid var(--danger); background: var(--white); color: var(--danger); }
.rb-form .crm-btn-danger:hover { background: var(--danger); color: var(--white); }

.rb-form .crm-form-actions, .rb-form .crm-subscription-actions, .rb-form .crm-dashboard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.rb-form .crm-form-actions > *, .rb-form .crm-subscription-actions > * { flex: 1 1 auto; }
.rb-form .crm-profile-field, .rb-form .crm-subscription-field { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rb-form .crm-profile-field:last-child, .rb-form .crm-subscription-field:last-child { border-bottom: 0; }
.rb-form .crm-profile-field label, .rb-form .crm-subscription-field label { margin: 0; color: var(--muted); font-weight: 500; }
.rb-form .crm-profile-field span, .rb-form .crm-subscription-field span { color: var(--ink); font-size: 15px; font-weight: 600; text-align: right; word-break: break-word; }
.rb-form .crm-user-info-section, .rb-form .crm-subscription-section, .rb-form .crm-dashboard-header, .rb-form .crm-info-item { margin-bottom: 8px; padding: 0; border: 0; background: transparent; }
.rb-form .crm-user-info-section h4, .rb-form .crm-subscription-section h4, .rb-form .crm-dashboard-header h3 { color: var(--ink); }
.rb-form .crm-info-item label { color: var(--muted); }
.rb-form .crm-info-item span { color: var(--ink); }
.rb-form .crm-access-badge { background: var(--ok-wash); color: var(--ok); }
.rb-form .crm-subscription-item { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.rb-form .crm-subscription-item + .crm-subscription-item { margin-top: 16px; }
.rb-form .crm-subscription-name { margin: 0 0 8px; color: var(--ink); font: 700 20px var(--f); }
.rb-form .crm-subscription-field span.crm-status { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 6px; background: var(--soft); font: 600 12.5px/1.4 var(--f); }
.rb-form .crm-subscription-field span.crm-status-active { background: var(--ok-wash); color: var(--ok); }
.rb-form .crm-subscription-field span.crm-status-cancelled,
.rb-form .crm-subscription-field span.crm-status-canceled,
.rb-form .crm-subscription-field span.crm-status-expired,
.rb-form .crm-subscription-field span.crm-status-inactive { background: var(--danger-wash); color: var(--danger); }
.rb-form .crm-subscription-field span.crm-status-pending,
.rb-form .crm-subscription-field span.crm-status-trial { background: var(--brand-tint); color: var(--brand-hover); }
.rb-form .crm-login-required, .rb-form .crm-no-access, .rb-form .crm-logged-in-message, .rb-form .crm-subscription-message, .rb-form .crm-info { padding: 20px; border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--white); color: var(--muted); text-align: center; }
.rb-form .crm-auth-warning { color: var(--danger); }
.rb-form .crm-auth-info { color: var(--ok); }

/* ---------- orders / invoice tables ---------- */
.rb-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.rb-table table { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; text-align: left; font-variant-numeric: tabular-nums; }
.rb-table th { padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--soft); color: var(--ink); font: 600 13px/1.4 var(--f); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.rb-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--ink); }
.rb-table tbody tr:hover { background: #fcfcfb; }
.rb-table .orders-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; }
.rb-table .orders-header h2, .rb-table .orders-header h3 { margin: 0; color: var(--ink); font-size: 22px; }
.rb-table .orders-table-container { overflow-x: auto; }
.rb-table .orders-empty, .rb-table .crm-orders-empty { padding: 36px 20px; color: var(--muted); text-align: center; }
.rb-table .order-date, .rb-table .order-invoice, .rb-table .order-actions { white-space: nowrap; }
.rb-table .order-date { color: var(--muted); }
.rb-table a, .rb-table button { border: 0; background: transparent; color: var(--brand); font-weight: 600; cursor: pointer; }
.rb-table .invoice-detail, .rb-table .invoice-container { padding: 24px; color: var(--ink); }

/* ---------- policy text from the CRM ---------- */
.rb-prose { font-size: 16.5px; }
.rb-prose, .rb-prose p, .rb-prose li, .rb-prose td, .rb-prose th { color: var(--text); line-height: 1.75; }
.rb-prose h1, .rb-prose h2, .rb-prose h3, .rb-prose h4 { margin: 1.6em 0 .6em; color: var(--ink); font-weight: 700; line-height: 1.25; }
.rb-prose > :first-child, .rb-prose > div > :first-child { margin-top: 0; }
.rb-prose h1 { font-size: 30px; }
.rb-prose h2 { font-size: 25px; }
.rb-prose h3 { font-size: 20px; }
.rb-prose p { margin: 0 0 1em; }
.rb-prose ul, .rb-prose ol { margin: 0 0 1em 1.25em; padding: 0; list-style: revert; }
.rb-prose li::marker { color: var(--brand); }
.rb-prose a, .rb-prose a[style], .rb-prose a span, .rb-prose a font { color: var(--brand) !important; text-decoration: underline; text-underline-offset: 3px; }
.rb-prose table { width: 100%; margin: 0 0 1em; border-collapse: collapse; }
.rb-prose td, .rb-prose th { padding: 8px 12px; border: 1px solid var(--line); }
.rb-prose [style*="color"], .rb-prose [style*="COLOR"], .rb-prose font, .rb-prose span, .rb-prose section, .rb-prose article { color: inherit !important; }
.rb-prose [style*="background"], .rb-prose [style*="BACKGROUND"] { background: transparent !important; background-color: transparent !important; }
.rb-prose h1[style], .rb-prose h2[style], .rb-prose h3[style], .rb-prose h4[style],
.rb-prose h1 span, .rb-prose h2 span, .rb-prose h3 span, .rb-prose h4 span { color: var(--ink) !important; }
.rb-prose strong, .rb-prose b { color: var(--ink); font-weight: 700; }
.rb-prose .crm-privacy-policy, .rb-prose .crm-cookie-policy, .rb-prose .crm-subscription-policy, .rb-prose .crm-terms-of-service { max-width: none; background: transparent; color: var(--text); }
.rb-prose div.dataTables_wrapper { margin: 0 0 1.5em; padding: 18px !important; overflow-x: auto; border: 1px solid var(--line) !important; border-radius: var(--r); font: inherit !important; }
.rb-prose div.dataTables_wrapper p, .rb-prose div.dataTables_wrapper li, .rb-prose div.dataTables_wrapper span, .rb-prose div.dataTables_wrapper div { color: var(--ink) !important; line-height: 1.6; }
.rb-prose div.dataTables_wrapper table { width: 100% !important; min-width: 560px; margin: 0 !important; border: 0 !important; border-collapse: collapse !important; }
.rb-prose div.dataTables_wrapper table th { width: auto !important; padding: 11px 14px !important; border: 0 !important; background-color: var(--soft) !important; color: var(--ink) !important; font-weight: 700 !important; text-align: left !important; white-space: nowrap; }
.rb-prose div.dataTables_wrapper table td { padding: 11px 14px !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; color: var(--ink) !important; }
.rb-prose div.dataTables_wrapper table tbody tr, .rb-prose div.dataTables_wrapper table tbody tr td { background: transparent !important; }

/* ---------- cookie card (bottom right) ---------- */
#cookie-modal.rb-cookie { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: min(420px, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--r-lg); background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
#cookie-modal.hide-cookie { display: none; }
#cookie-modal .cookie-title { margin: 0 0 8px; color: var(--ink); font: 700 17px/1.3 var(--f); }
#cookie-modal p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.55; }
#cookie-modal a { color: var(--brand); font-weight: 600; }
#cookie-modal .cookie-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* ---------- language dialog ---------- */
.rb-modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 20px; background: rgba(34, 24, 15, .45); }
.rb-modal.is-open { display: grid; }
.rb-modal__card { width: min(420px, 100%); overflow: hidden; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
.rb-modal__body { position: relative; padding: 32px; }
.rb-modal__title { margin: 0 0 20px; padding-right: 44px; color: var(--ink); font: 700 22px/1.2 var(--f); }
.rb-modal__x { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); cursor: pointer; }
.rb-select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); color: var(--ink); font: 500 16px var(--f); }

.admin-notice { width: 100%; max-width: 900px; margin: 0 0 32px; padding: 14px 18px; border: 1px dashed var(--brand); border-radius: var(--r); background: var(--white); color: var(--ink); font-size: 14.5px; }
.rb-entry + .rb-entry { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .rb-header__bar { gap: 24px; }
    .rb-nav .header-menu { gap: 22px; }
}

@media (max-width: 1024px) {
    .rb-header__bar { min-height: 68px; }
    .rb-header__actions { display: none; }
    .rb-menu-btn { display: grid; }
    .rb-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 8px var(--pad-x) 24px;
        border-bottom: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 18px 24px -18px rgba(34, 24, 15, .22);
    }
    .rb-nav[data-open="true"] { display: block; }
    .no-js .rb-nav { position: static; display: block; }
    .rb-nav .header-menu { flex-direction: column; align-items: stretch; gap: 0; }
    .rb-nav .header-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
    .rb-nav .header-menu a::after { bottom: 10px; right: auto; width: 32px; }
    .rb-nav__extra { display: grid; gap: 10px; padding-top: 20px; }

    .rb-hero__grid, .rb-row, .rb-contact__grid, .rb-about__grid, .rb-faq__grid { gap: 48px; }
    .rb-parts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rb-part:nth-child(3) { padding-left: 0; border-left: 0; }
    .rb-part:nth-child(2) { padding-right: 0; }
    .rb-part:nth-child(3)::before { left: 0; }
    .rb-part:nth-child(n+3) { margin-top: 24px; }
    .rb-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rb-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    :root { --section: 80px; }
    .rb-hero { padding: 48px 0 72px; }
    .rb-hero__grid, .rb-row, .rb-contact__grid, .rb-about__grid, .rb-faq__grid, .rb-head--split, .rb-profile { grid-template-columns: minmax(0, 1fr); }
    .rb-hero__media img { height: 460px; }
    .rb-row--flip .rb-row__media { order: 0; }
    .rb-row + .rb-row { margin-top: 80px; }
    .rb-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .rb-steps::before { top: 20px; bottom: 20px; left: 20px; right: auto; width: 1px; height: auto; }
    .rb-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 20px; }
    .rb-step__num { grid-row: span 2; margin: 0; }
    .rb-auth__box { grid-template-columns: minmax(0, 1fr); }
    .rb-auth__panel { border-right: 0; border-bottom: 1px solid #f1e2d3; }
    .rb-auth__panel-title { padding-top: 32px; }
    .rb-values { grid-template-columns: minmax(0, 1fr); }
    .rb-value, .rb-value:first-child { padding: 28px 0; }
    .rb-value + .rb-value { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
    :root { --pad-x: 20px; --section: 64px; }
    body.rb-body { font-size: 16.5px; }
    .rb-title, .rb-body .rb-cta__title { font-size: 1.85rem; }
    .rb-title--md { font-size: 1.65rem; }
    .rb-lead { font-size: 17px; }
    .rb-head { margin-bottom: 40px; }
    .rb-body .rb-logo__img { height: 30px; }
    .rb-hero__lead { font-size: 17.5px; }
    .rb-hero .rb-actions .rb-btn, .rb-cta .rb-actions .rb-btn { flex: 1 1 100%; }
    .rb-hero__media img { height: 380px; }
    .rb-hero__checks { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 48px !important; }
    .rb-parts__list { grid-template-columns: minmax(0, 1fr); }
    .rb-part, .rb-part + .rb-part, .rb-part:first-child, .rb-part:last-child { padding: 28px 0 8px; border-left: 0; }
    .rb-part + .rb-part::before { left: 0; }
    .rb-part:nth-child(n+2) { margin-top: 16px; }
    .rb-cta__inner { padding-top: 64px; padding-bottom: 64px; }
    .rb-card--pad { padding: 28px 22px; }
    .rb-acc__q { font-size: 17px; padding: 20px 0; }
    .rb-acc__a { padding-right: 0; }
    .rb-plan__amount { font-size: 40px; }
    .rb-auth { padding: 32px 0 64px; }
    .rb-auth__panel, .rb-auth__main { padding: 32px 24px; }
    .rb-pagehead { padding: 48px 0 40px; }
    .rb-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding: 56px 0 40px; }
    .rb-footer__bottom { flex-direction: column; align-items: flex-start; }
    #cookie-modal.rb-cookie { right: 16px; bottom: 16px; }
}

@media (max-width: 782px) {
    .admin-bar .rb-header { top: 46px; }
}

/* ---------- reduced motion: everything visible and still ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
    .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
    .rb-part::before { transform: none !important; }
}
