/* ==========================================================================
   Sodnest · 01 tokens, base, layout helpers, buttons, header, footer
   Light only: white page, carrot orange as the one brand colour.
   ========================================================================== */

:root {
    --carrot: #c2410c;          /* buttons, links, text accents (5.2:1 on white) */
    --carrot-hover: #a3360a;
    --carrot-fill: #ea580c;     /* decorative fills only, never small text */
    --tint: #fff1e8;
    --tint-2: #ffe4d2;
    --ink: #231a15;
    --text: #4b4039;
    --muted: #6e625a;
    --line: #ece6e1;
    --line-2: #d9d0c9;
    --page: #ffffff;
    --soft: #fafaf9;
    --white: #ffffff;
    --ok: #2f7a3b;
    --ok-wash: #ecf6ee;
    --danger: #b42318;
    --danger-wash: #fdeceb;

    --f-head: "Nunito", "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --r-btn: 8px;
    --r-card: 12px;
    --shadow: 0 20px 40px -18px rgba(35, 26, 21, .25);
    --shadow-sm: 0 8px 20px -12px rgba(35, 26, 21, .22);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --wrap: 1224px;
}

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

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

body.rm-body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: var(--f-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

:where(.rm-body) img { max-width: 100%; height: auto; display: block; }
:where(.rm-body) figure { margin: 0; }
.rm-body h1, .rm-body h2, .rm-body h3, .rm-body h4 { color: var(--ink); font-family: var(--f-head); font-weight: 800; letter-spacing: -0.02em; }
:where(.rm-body) p { margin: 0 0 1em; }
:where(.rm-body) a { color: var(--carrot); transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
:where(.rm-body) a:hover { color: var(--carrot-hover); }
.rm-body :focus-visible { outline: 3px solid rgba(234, 88, 12, .45); outline-offset: 2px; border-radius: 4px; }

.rm-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--white) !important; border-radius: var(--r-btn); }
.rm-skip:focus { left: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rm-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.rm-wrap--narrow { max-width: 880px; }
.rm-wrap--wide { max-width: 1400px; }

.rm-section { padding: 112px 0; }
.rm-section--tight { padding: 64px 0 96px; }
.rm-section--tint { background: var(--tint); }
.rm-section--line { border-top: 1px solid var(--line); }

.rm-head { max-width: 640px; margin: 0 0 56px; }
.rm-title { margin: 0 0 16px; font-size: 36px; line-height: 1.15; }
.rm-lead { max-width: 640px; color: var(--text); font-size: 18px; line-height: 1.6; }
.rm-head .rm-lead, .rm-split__copy .rm-lead { margin-bottom: 0; }

.rm-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-btn);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.rm-label .rm-ico { color: var(--carrot); }

/* icon tile */
.rm-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--tint); color: var(--carrot); flex-shrink: 0; }
.rm-icon--sm { width: 36px; height: 36px; border-radius: 8px; }
.rm-ico { flex-shrink: 0; }

/* tick list */
.rm-ticks { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.rm-ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.rm-ticks .rm-ico { margin-top: 3px; padding: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--tint); color: var(--carrot); }

/* ---------- buttons ---------- */
.rm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rm-actions--center { justify-content: center; }

.rm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--r-btn);
    font-family: var(--f-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.rm-btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.rm-btn--lg { min-height: 48px; padding: 0 26px; }
.rm-btn--full { width: 100%; }
.rm-body .rm-btn--solid { background: var(--carrot); color: var(--white); }
.rm-body .rm-btn--solid:hover { background: var(--carrot-hover); color: var(--white); }
.rm-body .rm-btn--outline { background: var(--white); border-color: var(--line-2); color: var(--ink); }
.rm-body .rm-btn--outline:hover { border-color: var(--carrot); color: var(--carrot); }
.rm-body .rm-btn--white { background: var(--white); color: var(--carrot); }
.rm-body .rm-btn--white:hover { background: var(--tint); color: var(--carrot-hover); }
.rm-body .rm-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: var(--white); }
.rm-body .rm-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); color: var(--white); }

.rm-link { font-weight: 700; text-decoration: none; }
.rm-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cards ---------- */
.rm-card { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.rm-card--pad { padding: 36px; }
.rm-card--tint { background: var(--tint); border-color: var(--tint-2); }
.rm-card__title { margin: 0 0 20px; font-size: 22px; }
.rm-stack { display: grid; gap: 10px; }

/* ==========================================================================
   Header: logo centred on row 1, links centred on row 2
   ========================================================================== */
.rm-header { position: relative; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.rm-header__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 80px; gap: 24px; }
.rm-header__side { display: flex; align-items: center; }
.rm-logo { display: inline-flex; align-items: center; text-decoration: none; }
.rm-body .rm-logo__img { height: 40px; width: auto; }
.rm-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.rm-body .rm-header__login { color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.rm-body .rm-header__login:hover { color: var(--carrot); }

.rm-nav { border-top: 1px solid var(--line); }
.rm-nav__inner { display: flex; justify-content: center; }
.rm-nav .header-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 36px; margin: 0; padding: 0; list-style: none; }
.rm-nav .header-menu li { margin: 0; list-style: none; }
.rm-body .rm-nav .header-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    border-bottom: 2px solid transparent;
    color: var(--text);
    font-size: 15.5px;
    font-weight: 600;
    text-decoration: none;
}
.rm-body .rm-nav .header-menu a:hover,
.rm-body .rm-nav .header-menu .current-menu-item > a { color: var(--carrot); border-bottom-color: var(--carrot-fill); }
.rm-nav__extra { display: none; }

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

.rm-lang { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--white); color: var(--ink); font: 700 13px var(--f-body); cursor: pointer; }
.rm-lang:hover { border-color: var(--carrot); }

/* ==========================================================================
   Footer: centred and stacked
   ========================================================================== */
.rm-footer { border-top: 1px solid var(--line); background: var(--soft); color: var(--muted); }
.rm-footer__inner { display: flex; flex-direction: column; align-items: center; padding-top: 72px; padding-bottom: 40px; text-align: center; }
.rm-footer__logo { margin-bottom: 16px; }
.rm-footer__about { max-width: 520px; margin: 0 0 32px; color: var(--muted); font-size: 16px; }
.rm-footer__nav, .rm-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.rm-footer__nav { gap: 8px 32px; }
.rm-footer__nav li, .rm-footer__legal li { margin: 0; list-style: none; }
.rm-body .rm-footer__nav a { color: var(--ink); font-weight: 700; font-size: 15.5px; text-decoration: none; }
.rm-body .rm-footer__nav a:hover { color: var(--carrot); }
.rm-footer__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 28px 0 0; }
.rm-body .rm-footer__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 15px; text-decoration: none; }
.rm-footer__contact .rm-ico { color: var(--carrot); }
.rm-body .rm-footer__contact a:hover { color: var(--carrot); }
.rm-footer__policies { width: 100%; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.rm-footer__legal { gap: 8px 28px; }
.rm-body .rm-footer__legal a { color: var(--muted); font-size: 14.5px; text-decoration: none; }
.rm-body .rm-footer__legal a:hover { color: var(--carrot); text-decoration: underline; text-underline-offset: 3px; }
.rm-footer__base { margin-top: 24px; font-size: 14px; }
.rm-footer__base p { margin: 0 0 6px; color: var(--muted); }
.rm-footer__copy { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Reveal (IntersectionObserver adds .is-in once)
   ========================================================================== */
.js [data-reveal], .js [data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-stagger] > * { transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in, .js [data-stagger].is-in > * { opacity: 1; transform: none; }
/* ==========================================================================
   Sodnest · 02 front-page sections, inner page head, auth, about, contact
   ========================================================================== */

/* ---------- hero: full-bleed photo with a docked white panel ---------- */
.rm-hero { position: relative; display: flex; align-items: center; min-height: clamp(600px, 72vh, 820px); padding: 64px 0; }
.rm-hero__photo { position: absolute; inset: 0; z-index: 0; background: var(--tint); }
.rm-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.rm-hero__wrap { position: relative; z-index: 1; }
.rm-hero__panel { max-width: 600px; padding: 52px 52px 48px; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow); }
.rm-hero__title { margin: 0 0 20px; font-size: clamp(2.5rem, 4.6vw, 3.75rem); line-height: 1.08; letter-spacing: -0.02em; }
.rm-hero__lead { margin: 0 0 32px; color: var(--text); font-size: 18px; line-height: 1.6; }

/* ---------- example week ---------- */
.rm-week__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.rm-week__head > div { max-width: 640px; }
.rm-week__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.rm-day { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.rm-day__name { padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); color: var(--ink); font-family: var(--f-head); font-size: 15px; font-weight: 800; letter-spacing: 0; }
.rm-day__slot { display: block; padding: 14px 16px; color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.rm-day__slot + .rm-day__slot { border-top: 1px dashed var(--line-2); }
.rm-day__slot small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rm-day__slot--main { flex: 1; box-shadow: inset 3px 0 0 var(--carrot-fill); }

/* ---------- three feature columns with photos ---------- */
.rm-features { padding-top: 0; }
.rm-features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.rm-feature__photo { overflow: hidden; margin-bottom: 28px; border-radius: var(--r-card); aspect-ratio: 4 / 3; background: var(--tint); box-shadow: var(--shadow-sm); }
.rm-feature__photo img { width: 100%; height: 100%; object-fit: cover; }
.rm-feature .rm-icon { margin-bottom: 18px; }
.rm-feature h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; }
.rm-feature p { margin: 0; color: var(--text); }

/* ---------- split rows (shopping list, recipes, about) ---------- */
.rm-split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.rm-split__copy { max-width: 560px; }
.rm-split__copy p:not(.rm-lead) { margin: 16px 0 0; }
.rm-split__photo { overflow: hidden; border-radius: var(--r-card); aspect-ratio: 5 / 4; background: var(--tint); box-shadow: var(--shadow); }
.rm-split__photo img { width: 100%; height: 100%; object-fit: cover; }

.rm-listcard { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow); }
.rm-listcard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.rm-listcard__label { margin: 0 0 4px; color: var(--carrot); font-size: 13px; font-weight: 700; }
.rm-listcard__title { margin: 0; color: var(--ink); font-family: var(--f-head); font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.rm-listcard__due { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; padding: 6px 10px; border-radius: 6px; background: var(--tint); color: var(--ink); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.rm-listcard__due .rm-ico { color: var(--carrot); }
.rm-listcard__items { margin: 0; padding: 8px 28px 16px; list-style: none; }
.rm-item { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 16px; padding: 14px 0; }
.rm-item + .rm-item { border-top: 1px solid var(--line); }
.rm-item__box { display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--line-2); border-radius: 6px; color: var(--white); }
.rm-item.is-done .rm-item__box { border-color: var(--carrot-fill); background: var(--carrot-fill); }
.rm-item__name { color: var(--ink); font-weight: 700; line-height: 1.3; }
.rm-item__name small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.rm-item.is-done .rm-item__name { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
.rm-item__qty { color: var(--ink); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }

.rm-split--flip .rm-split__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.rm-house { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 80px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r-card); }
.rm-house__text { margin: 0; color: var(--text); }
.rm-house__text strong { color: var(--ink); }
.rm-house__list { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.rm-house__list li { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 15.5px; }

/* ---------- how it works ---------- */
.rm-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.rm-steps::before { content: ""; position: absolute; top: 20px; left: 20px; right: 33%; height: 1px; background: var(--line-2); }
.rm-step { position: relative; }
.rm-step__num { position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 24px; border: 2px solid var(--carrot); border-radius: 50%; background: var(--white); color: var(--carrot); font-family: var(--f-head); font-size: 17px; font-weight: 800; }
.rm-step h3 { margin: 0 0 8px; font-size: 21px; }
.rm-step p { margin: 0; max-width: 340px; }

/* ---------- pricing ---------- */
.rm-pricing { background: var(--soft); border-top: 1px solid var(--line); }
.rm-pricing .rm-head { max-width: 680px; }
.rm-plans { display: grid; gap: 24px; align-items: stretch; }
.rm-plans--1 { grid-template-columns: minmax(0, 420px); }
.rm-plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.rm-plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rm-plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rm-plan { display: flex; flex-direction: column; padding: 36px 32px 32px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.rm-plan--mid { border-top: 4px solid var(--carrot-fill); padding-top: 33px; box-shadow: var(--shadow-sm); }
.rm-plan__name { margin: 0 0 20px; font-size: 20px; }
.rm-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 6px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.rm-plan__amount { color: var(--ink); font-family: var(--f-head); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; }
.rm-plan__per { color: var(--muted); font-size: 15px; font-weight: 600; }
.rm-plan__trial { margin: 16px 0 0; color: var(--carrot); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rm-plan__list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.rm-plan__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 15.5px; }
.rm-plan__list .rm-ico { margin-top: 2px; color: var(--carrot); }
.rm-plan .rm-btn { margin-top: auto; }
.rm-plan__list + .rm-btn, .rm-plan__trial + .rm-btn, .rm-plan__price + .rm-btn { margin-top: 32px; }
.rm-pricing__note { margin: 32px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.rm-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 80px; align-items: start; }
.rm-faq__head { margin: 0; }
.rm-accordion { border-top: 1px solid var(--line); }
.rm-acc { border-bottom: 1px solid var(--line); }
.rm-acc__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; color: var(--ink); font-family: var(--f-head); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; cursor: pointer; list-style: none; transition: color .18s ease; }
.rm-acc__q::-webkit-details-marker { display: none; }
.rm-acc__q:hover { color: var(--carrot); }
.rm-acc__icon { position: relative; flex-shrink: 0; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 8px; transition: background-color .18s ease, border-color .18s ease; }
.rm-acc__icon::before, .rm-acc__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--carrot); transition: transform .2s var(--ease); }
.rm-acc__icon::after { transform: rotate(90deg); }
.rm-acc[open] .rm-acc__icon { border-color: var(--carrot-fill); background: var(--tint); }
.rm-acc[open] .rm-acc__icon::after { transform: rotate(0deg); }
.rm-acc__a { padding: 0 56px 24px 0; }
.rm-acc__a p { margin: 0; color: var(--text); }

/* ---------- CTA band ---------- */
.rm-cta { padding: 96px 0; background: var(--carrot); color: var(--white); text-align: center; }
.rm-cta__inner { display: flex; flex-direction: column; align-items: center; }
.rm-body .rm-cta__title { max-width: 760px; margin: 0 0 16px; color: var(--white); font-size: 40px; line-height: 1.12; }
.rm-cta__text { max-width: 600px; margin: 0 0 32px; color: #fff4ec; font-size: 18px; }

/* ---------- contact ---------- */
.rm-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.rm-details { display: grid; gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; }
.rm-details li { display: flex; gap: 16px; align-items: flex-start; }
.rm-details li > span:last-child { display: flex; flex-direction: column; color: var(--ink); font-weight: 600; word-break: break-word; }
.rm-details small { color: var(--muted); font-size: 13px; font-weight: 700; }
.rm-details a { color: var(--ink); font-size: 17px; font-weight: 700; text-decoration: none; }
.rm-details a:hover { color: var(--carrot); }

/* ---------- inner page head ---------- */
.rm-pagehead { padding: 72px 0 64px; background: var(--tint); border-bottom: 1px solid var(--tint-2); }
.rm-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.rm-crumbs a { color: var(--carrot); text-decoration: none; }
.rm-pagehead__title { max-width: 820px; margin: 0; font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.1; }
.rm-pagehead__text { max-width: 640px; margin: 16px 0 0; font-size: 18px; color: var(--text); }

/* ---------- about ---------- */
.rm-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--line); }
.rm-point .rm-icon { margin-bottom: 18px; }
.rm-point h3 { margin: 0 0 8px; font-size: 20px; }
.rm-point p { margin: 0; }

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

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

/* ---------- auth: photo banner + card ---------- */
.rm-auth { padding-bottom: 112px; background: var(--soft); }
.rm-auth__banner { height: 30vh; min-height: 220px; max-height: 340px; overflow: hidden; background: var(--tint); }
.rm-auth__banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.rm-auth__card { position: relative; max-width: 500px; margin: -88px auto 0; padding: 44px 44px 36px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow); }
.rm-auth__title { margin: 0 0 10px; font-size: 30px; line-height: 1.15; }
.rm-auth__text { margin: 0 0 28px; color: var(--text); }
.rm-auth__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.page-404 .rm-auth__card { text-align: center; }
.page-404 .rm-auth__text { margin-bottom: 28px; }
/* ==========================================================================
   Sodnest · 03 CRM + CF7 forms, tables, policy text, cookie bar,
   language dialog, responsive rules, reduced motion
   ========================================================================== */

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

.rm-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
.rm-form select,
.rm-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-btn);
    background: var(--white);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 16px;
    box-shadow: none;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.rm-form input:focus, .rm-form select:focus, .rm-form textarea:focus { border-color: var(--carrot); box-shadow: 0 0 0 4px rgba(234, 88, 12, .16); }
.rm-form input[disabled], .rm-form input[readonly] { background: var(--soft); color: var(--muted); }
.rm-form textarea { min-height: 150px; resize: vertical; }
.rm-form input::placeholder, .rm-form textarea::placeholder { color: #75695f; opacity: 1; }
.rm-form input[type="checkbox"], .rm-form input[type="radio"] { width: 18px; height: 18px; accent-color: var(--carrot); }

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 ---------- */
.rm-form input[type="submit"],
.rm-form button[type="submit"],
.rm-form button.button,
.rm-form button.btn,
.rm-form .crm-btn-primary,
.rm-form .wpcf7 form.contact-form input[type="submit"],
.rm-form .wpcf7 form.unsubscribe-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 24px;
    border: 0 !important;
    border-radius: var(--r-btn) !important;
    background: var(--carrot) !important;
    color: var(--white) !important;
    font-family: var(--f-body) !important;
    font-size: 16px;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background-color .18s ease;
}
.rm-form input[type="submit"]:hover,
.rm-form button[type="submit"]:hover,
.rm-form button.button:hover,
.rm-form button.btn:hover,
.rm-form .crm-btn-primary:hover,
.rm-form .wpcf7 form.contact-form input[type="submit"]:hover,
.rm-form .wpcf7 form.unsubscribe-form input[type="submit"]:hover { background: var(--carrot-hover) !important; }
.rm-form button:disabled, .rm-form input[type="submit"]:disabled { background: var(--line) !important; color: var(--muted) !important; cursor: not-allowed; }

.rm-form a { color: var(--carrot); font-weight: 700; }
.rm-form h1, .rm-form h2, .rm-form h3, .rm-form h4 { color: var(--ink); font-family: var(--f-head); }

/* ---------- messages ---------- */
.rm-form .wpcf7-not-valid-tip, .rm-form .error { color: var(--danger); font-size: 14px; }
.rm-form .crm-error { margin: 0; padding: 12px 16px; border: 1px solid var(--danger); border-radius: var(--r-btn); background: var(--danger-wash); color: var(--danger); }
.rm-form .wpcf7-response-output,
.rm-form .crm-message,
.rm-form .crm-auth-messages:not(:empty) { margin: 0; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--soft); color: var(--ink); }
.rm-form .crm-auth-messages:empty { display: none; }
.rm-form .crm-button-loading { display: none; }

/* ---------- Contact Form 7 at the parent's specificity ---------- */
.rm-form .wpcf7 form.contact-form,
.rm-form .wpcf7 form.unsubscribe-form { max-width: none; margin: 0; padding: 0; background: transparent; box-shadow: none; font-family: inherit; }
.rm-form .wpcf7 form.contact-form label,
.rm-form .wpcf7 form.unsubscribe-form label { display: block; margin-bottom: 8px; color: var(--ink) !important; font-size: 15px; font-weight: 700; }
.rm-form .wpcf7 form.contact-form input[type="text"],
.rm-form .wpcf7 form.contact-form input[type="email"],
.rm-form .wpcf7 form.contact-form input[type="tel"],
.rm-form .wpcf7 form.contact-form input[type="number"],
.rm-form .wpcf7 form.contact-form input[type="url"],
.rm-form .wpcf7 form.contact-form input[type="password"],
.rm-form .wpcf7 form.contact-form textarea,
.rm-form .wpcf7 form.contact-form select,
.rm-form .wpcf7 form.unsubscribe-form input[type="text"],
.rm-form .wpcf7 form.unsubscribe-form input[type="email"],
.rm-form .wpcf7 form.unsubscribe-form input[type="tel"],
.rm-form .wpcf7 form.unsubscribe-form textarea,
.rm-form .wpcf7 form.unsubscribe-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line-2) !important;
    border-radius: var(--r-btn) !important;
    background: var(--white) !important;
    color: var(--ink) !important;
    font-family: inherit;
    font-size: 16px;
}
.rm-form .wpcf7 form.contact-form input::placeholder,
.rm-form .wpcf7 form.contact-form textarea::placeholder,
.rm-form .wpcf7 form.unsubscribe-form input::placeholder { color: #75695f !important; }
.rm-form .wpcf7 form.contact-form input:focus,
.rm-form .wpcf7 form.contact-form textarea:focus,
.rm-form .wpcf7 form.contact-form select:focus,
.rm-form .wpcf7 form.unsubscribe-form input:focus,
.rm-form .wpcf7 form.unsubscribe-form textarea:focus { border-color: var(--carrot) !important; box-shadow: 0 0 0 4px rgba(234, 88, 12, .16) !important; outline: none; }
.rm-form .wpcf7 form.contact-form textarea,
.rm-form .wpcf7 form.unsubscribe-form textarea { min-height: 150px; }
.rm-form .wpcf7 form.contact-form .wpcf7-not-valid-tip,
.rm-form .wpcf7 form.unsubscribe-form .wpcf7-not-valid-tip { color: var(--danger) !important; font-size: 13.5px; }
.rm-form .wpcf7 form.contact-form .wpcf7-response-output,
.rm-form .wpcf7 form.unsubscribe-form .wpcf7-response-output { margin: 4px 0 0 !important; border: 1px solid var(--line-2) !important; border-radius: var(--r-btn) !important; background: var(--soft) !important; color: var(--ink) !important; }
.rm-form .wpcf7 form.contact-form .wpcf7-mail-sent-ok,
.rm-form .wpcf7 form.unsubscribe-form .wpcf7-mail-sent-ok { background: var(--ok-wash) !important; color: var(--ok) !important; }
.rm-form .wpcf7 form.contact-form .wpcf7-validation-errors,
.rm-form .wpcf7 form.unsubscribe-form .wpcf7-validation-errors { background: var(--danger-wash) !important; color: var(--danger) !important; }
.rm-form .captcha-cf7-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.rm-form .captcha-cf7-wrap > p { flex: 0 0 100%; margin: 0; }
.rm-form .captcha-cf7-wrap > p:empty { display: none; }
.rm-form .captcha-cf7-wrap .main-cf7-captcha { flex: 1 1 160px; }
.rm-form .captcha-image-container { flex: 0 0 auto; margin: 0; gap: 10px; }
.rm-form .captcha-image-container img#captcha-image { height: 48px; width: auto; border: 1px solid var(--line-2) !important; border-radius: var(--r-btn) !important; }
.rm-form a#reload_captcha { width: 48px !important; height: 48px !important; border: 1px solid var(--line-2) !important; border-radius: var(--r-btn) !important; background: var(--soft) !important; color: var(--ink) !important; }
.rm-form a#reload_captcha:hover { border-color: var(--carrot) !important; }
.rm-form .wpcf7-spinner { margin: 0 auto; }
.page-unsubscribe .unsubscribe-form label { color: var(--ink) !important; }
.rm-form--quiet .wpcf7 form.unsubscribe-form input[type="submit"] { background: var(--ink) !important; }

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

/* the forgot-password link ships as a.button: keep it a text link */
.rm-form a.button,
.rm-form a.btn,
.rm-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(--carrot); font-size: 15px; font-weight: 700; text-decoration: none; }
.rm-form a.button:hover, .rm-form a.btn:hover, .rm-form .crm-back-to-login:hover { background: none; color: var(--carrot-hover); text-decoration: underline; text-underline-offset: 3px; }
.rm-form .crm-forgot-password-footer { margin-top: 4px; text-align: center; }

.rm-form .crm-btn-secondary,
.rm-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-btn) !important; font-family: var(--f-body) !important; font-size: 15px; font-weight: 700 !important; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.rm-form .crm-btn-secondary { border: 1px solid var(--line-2); background: var(--white); color: var(--ink); }
.rm-form .crm-btn-secondary:hover { border-color: var(--carrot); color: var(--carrot); }
.rm-form .crm-btn-danger { border: 1px solid var(--danger); background: var(--white); color: var(--danger); }
.rm-form .crm-btn-danger:hover { background: var(--danger); color: var(--white); }

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

/* ---------- orders / invoice tables ---------- */
.rm-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.rm-table table { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; text-align: left; font-variant-numeric: tabular-nums; }
.rm-table thead tr, .rm-table table tr:first-child th { background: var(--soft); }
.rm-table th { padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--ink); font: 700 13px/1.4 var(--f-body); white-space: nowrap; }
.rm-table td { padding: 15px 20px; border-bottom: 1px solid var(--line); color: var(--ink); }
.rm-table tbody tr:hover { background: var(--tint); }
.rm-table .orders-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; }
.rm-table .orders-header h2, .rm-table .orders-header h3 { margin: 0; color: var(--ink); font-family: var(--f-head); font-size: 22px; }
.rm-table .orders-table-container { overflow-x: auto; }
.rm-table .orders-empty, .rm-table .crm-orders-empty { padding: 36px 20px; color: var(--muted); text-align: center; }
.rm-table .order-date { color: var(--muted); white-space: nowrap; }
.rm-table .order-invoice, .rm-table .order-actions { white-space: nowrap; }
.rm-table a, .rm-table button { border: 0; background: transparent; color: var(--carrot); font-weight: 700; cursor: pointer; }
.rm-table .invoice-detail, .rm-table .invoice-container { padding: 24px; color: var(--ink); }

/* ---------- policy text ---------- */
.rm-prose, .rm-prose p, .rm-prose li, .rm-prose td, .rm-prose th { color: var(--text); line-height: 1.75; }
.rm-prose { font-size: 17px; }
.rm-prose h1, .rm-prose h2, .rm-prose h3, .rm-prose h4 { margin: 1.6em 0 .6em; color: var(--ink); font-family: var(--f-head); font-weight: 800; line-height: 1.25; }
.rm-prose > :first-child, .rm-prose > div > :first-child { margin-top: 0; }
.rm-prose h1 { font-size: 30px; }
.rm-prose h2 { font-size: 25px; }
.rm-prose h3 { font-size: 20px; }
.rm-prose p { margin: 0 0 1em; }
.rm-prose ul, .rm-prose ol { margin: 0 0 1em 1.25em; padding: 0; list-style: revert; }
.rm-prose li::marker { color: var(--carrot); }
.rm-prose a { color: var(--carrot); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rm-prose table { width: 100%; margin: 0 0 1em; border-collapse: collapse; }
.rm-prose td, .rm-prose th { padding: 8px 12px; border: 1px solid var(--line); }
.rm-prose [style*="color"], .rm-prose [style*="COLOR"], .rm-prose font, .rm-prose span, .rm-prose section, .rm-prose article { color: inherit !important; }
.rm-prose [style*="background"], .rm-prose [style*="BACKGROUND"] { background: transparent !important; background-color: transparent !important; }
.rm-prose h1[style], .rm-prose h2[style], .rm-prose h3[style], .rm-prose h4[style],
.rm-prose h1 span, .rm-prose h2 span, .rm-prose h3 span, .rm-prose h4 span { color: var(--ink) !important; }
.rm-prose strong, .rm-prose b { color: var(--ink); font-weight: 700; }
.rm-prose a[style], .rm-prose a span, .rm-prose a font { color: var(--carrot) !important; }
.rm-prose .crm-privacy-policy, .rm-prose .crm-cookie-policy, .rm-prose .crm-subscription-policy, .rm-prose .crm-terms-of-service { max-width: none; background: transparent; color: var(--text); }
.rm-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-btn); font: inherit !important; }
.rm-prose div.dataTables_wrapper, .rm-prose div.dataTables_wrapper p, .rm-prose div.dataTables_wrapper li, .rm-prose div.dataTables_wrapper span, .rm-prose div.dataTables_wrapper div { color: var(--ink) !important; line-height: 1.6; }
.rm-prose div.dataTables_wrapper table { width: 100% !important; min-width: 560px; margin: 0 !important; border: 0 !important; border-collapse: collapse !important; }
.rm-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; }
.rm-prose div.dataTables_wrapper table td { padding: 11px 14px !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; color: var(--ink) !important; }
.rm-prose div.dataTables_wrapper table tbody tr, .rm-prose div.dataTables_wrapper table tbody tr td { background: transparent !important; }

/* ---------- cookie bar ---------- */
#cookie-modal.rm-cookie { position: fixed; left: 50%; bottom: 20px; z-index: 70; width: min(760px, calc(100vw - 32px)); padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); color: var(--ink); box-shadow: var(--shadow); transform: translateX(-50%); }
#cookie-modal.hide-cookie { display: none; }
#cookie-modal .content { display: flex; align-items: center; gap: 24px; }
#cookie-modal .cookie-title { margin: 0 0 4px; color: var(--ink); font: 800 17px/1.3 var(--f-head); }
#cookie-modal p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.55; }
#cookie-modal a { color: var(--carrot); font-weight: 700; }
#cookie-modal .cookie-actions { display: flex; flex-shrink: 0; gap: 10px; }

/* ---------- language dialog ---------- */
.rm-modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 20px; background: rgba(35, 26, 21, .45); }
.rm-modal.is-open { display: grid; }
.rm-modal__card { width: min(420px, 100%); overflow: hidden; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow); }
.rm-modal__body { position: relative; padding: 28px; border-top: 4px solid var(--carrot-fill); }
.rm-modal__title { margin: 0 0 18px; padding-right: 40px; color: var(--ink); font: 800 22px/1.2 var(--f-head); }
.rm-modal__x { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--white); color: var(--ink); cursor: pointer; }
.rm-select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--white); color: var(--ink); font: 600 16px var(--f-body); }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .rm-week__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rm-plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    .rm-header__top { grid-template-columns: auto 1fr; min-height: 72px; }
    .rm-header__side { display: none; }
    .rm-header__actions .rm-header__login, .rm-header__actions .rm-btn { display: none; }
    .rm-menu-btn { display: grid; }
    .rm-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 16px 24px -16px rgba(35, 26, 21, .2); }
    .rm-nav[data-open="true"] { display: block; }
    .no-js .rm-nav { position: static; display: block; }
    .rm-nav__inner { flex-direction: column; padding-top: 8px; padding-bottom: 24px; }
    .rm-nav .header-menu { flex-direction: column; align-items: stretch; gap: 0; }
    .rm-body .rm-nav .header-menu a { display: flex; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 16px; }
    .rm-body .rm-nav .header-menu a:hover { border-bottom-color: var(--line); }
    .rm-nav__extra { display: grid; gap: 10px; padding-top: 20px; }

    .rm-section { padding: 88px 0; }
    .rm-hero { display: block; min-height: 0; padding: 0; }
    .rm-hero__photo { position: relative; height: 380px; }
    .rm-hero__panel { max-width: 680px; padding: 40px 0 56px; border-radius: 0; box-shadow: none; }
    .rm-features__grid, .rm-points { grid-template-columns: 1fr; gap: 48px; }
    .rm-feature { display: grid; grid-template-columns: minmax(0, 1fr); }
    .rm-split__grid, .rm-split--flip .rm-split__grid, .rm-contact__grid, .rm-faq__grid, .rm-profile { grid-template-columns: 1fr; gap: 48px; }
    .rm-split__copy { max-width: none; }
    .rm-week__head { flex-direction: column; align-items: flex-start; }
    .rm-steps { grid-template-columns: 1fr; gap: 32px; }
    .rm-steps::before { top: 20px; bottom: 20px; left: 20px; right: auto; width: 1px; height: auto; }
    .rm-step { padding-left: 64px; }
    .rm-step__num { position: absolute; left: 0; top: 0; margin: 0; }
    .rm-plans--3, .rm-plans--2 { grid-template-columns: 1fr; max-width: 520px; }
    .rm-house { margin-top: 56px; }
}

@media (max-width: 640px) {
    body.rm-body { font-size: 17px; }
    .rm-wrap { padding: 0 16px; }
    .rm-body .rm-logo__img { height: 34px; }
    .rm-section { padding: 64px 0; }
    .rm-features { padding-top: 0; }
    .rm-section--tight { padding: 40px 0 64px; }
    .rm-head { margin-bottom: 36px; }
    .rm-title { font-size: 29px; }
    .rm-lead { font-size: 17px; }
    .rm-hero__photo { height: 280px; }
    .rm-hero__panel { padding: 32px 0 48px; }
    .rm-hero__title { font-size: 2.25rem; }
    .rm-hero__lead { font-size: 17px; }
    .rm-hero .rm-actions .rm-btn, .rm-cta .rm-actions .rm-btn { flex: 1 1 100%; }
    .rm-week__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .rm-week__grid .rm-day:last-child { grid-column: 1 / -1; }
    .rm-listcard__head { flex-direction: column; padding: 20px; }
    .rm-listcard__items { padding: 4px 20px 12px; }
    .rm-item { gap: 12px; }
    .rm-house { padding: 20px; }
    .rm-house__list { display: grid; grid-template-columns: 1fr 1fr; }
    .rm-plans--4 { grid-template-columns: 1fr; }
    .rm-plan { padding: 28px 22px; }
    .rm-acc__q { font-size: 17px; padding: 18px 0; }
    .rm-acc__a { padding: 0 0 20px; }
    .rm-cta { padding: 64px 0; }
    .rm-body .rm-cta__title { font-size: 30px; }
    .rm-card--pad, .rm-card--pad.rm-prose { padding: 24px 20px; }
    .rm-pagehead { padding: 48px 0 40px; }
    .rm-auth { padding-bottom: 64px; }
    .rm-auth__banner { min-height: 180px; }
    .rm-auth__card { margin-top: -48px; padding: 28px 20px; }
    .rm-footer__inner { padding-top: 56px; }
    .rm-footer__nav { gap: 8px 22px; }
    #cookie-modal.rm-cookie { bottom: 12px; padding: 18px; }
    #cookie-modal .content { flex-direction: column; align-items: stretch; gap: 14px; }
    #cookie-modal .cookie-actions .rm-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}
