/*
Theme Name: Rivus Research House
Theme URI: https://rivus.lt
Author: Rivus Research House
Description: Custom theme for Rivus Research House – independent research, financial health and decision psychology. Lithuanian and English (Polylang). Works together with the Rivus Tools plugin (AI questions, email list, withdrawal and order forms).
Version: 1.4.2
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rivus
*/

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/montserrat-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/montserrat-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/montserrat-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/open-sans-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/open-sans-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/open-sans-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/open-sans-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/open-sans-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/open-sans-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
	--bg: #AABCF0;
	--bg-soft: #F2F5FD;
	--bg-tint: #DCE3F8;
	--ink: #22479A;
	--ink-deep: #1B2F63;
	--ink-muted: #2A3F73;
	--line: #93A6E0;
	--line-input: #8FA2DA;
	--dark: #22479A;
	--darker: #14295C;
	--on-dark: #FFFFFF;
	--on-dark-soft: #E6EBFB;
	--on-dark-muted: #D3DCF6;
	--dark-line: #4B6BBE;
	--white: #FFFFFF;
	--font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
	--font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
	--radius: 4px;
	--wrap: 1248px;
	--gutter: clamp(20px, 5vw, 96px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--darker); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 3px solid var(--darker);
	outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.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;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: calc(800px + 2 * var(--gutter)); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px; border-radius: 2px; border: 1px solid transparent;
	font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center;
	cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sm { min-height: 44px; padding: 10px 18px; }
.btn-primary { background: var(--ink); color: var(--bg-soft); }
.btn-primary:hover { background: var(--darker); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg-soft); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; min-height: 44px; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-light, .link-light:hover { color: var(--white); }

/* ---------- Typography helpers ---------- */
.eyebrow {
	font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: var(--ink); margin-bottom: 12px;
}
.eyebrow-muted { color: var(--ink-muted); font-weight: 500; }
.eyebrow-light { color: var(--bg); }
.section-title { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.02em; }
.page-title { font-size: clamp(36px, 5vw, 58px); letter-spacing: -0.025em; }
.page-lead { margin-top: 20px; max-width: 720px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-deep); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 50; }
/* Sticky header: keep below the WordPress admin bar for logged-in users, and stop in-page links hiding under it. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
html { scroll-padding-top: 104px; }
@media (max-width: 960px) { html { scroll-padding-top: 84px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-logo { width: 32px; height: 32px; object-fit: contain; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-light { color: var(--white); }
.brand-light:hover { color: var(--white); }
.site-nav { display: flex; align-items: center; gap: 32px; }
.main-nav .menu { display: flex; gap: 32px; list-style: none; }
.main-nav a { font-size: 16px; font-weight: 600; color: var(--ink-deep); display: inline-block; padding: 10px 0; }
.main-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.main-nav .current-menu-item > a { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: flex; gap: 2px; font-family: var(--font-head); font-size: 14px; font-weight: 700; }
.lang-switch a { padding: 8px 10px; border-radius: 2px; color: var(--ink-deep); min-width: 40px; text-align: center; }
.lang-switch a.is-current { background: var(--ink); color: var(--white); }
.menu-toggle {
	display: none; background: transparent; border: 0; color: var(--ink); width: 44px; height: 44px;
	align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.menu-toggle .icon { width: 26px; height: 26px; }
.menu-toggle-close { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.hero-copy { padding-top: 12px; display: flex; flex-direction: column; gap: 24px; }
.hero-copy .eyebrow { margin-bottom: 0; }
.hero-title { font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -0.025em; }
.hero-text { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-deep); max-width: 620px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; color: var(--ink-deep); }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points .icon { color: var(--ink); width: 18px; height: 18px; flex: none; }
.hero-points .hero-point-wide { flex-basis: 100%; align-items: flex-start; max-width: 640px; }
.hero-points .hero-point-wide .icon { margin-top: 3px; }
.hero-points .hero-point-wide strong { font-weight: 700; color: var(--ink); }

/* ---------- Cards & grids ---------- */
.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ask-fallback { padding: 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ask-title { font-size: 28px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.topics { padding-top: 0; }
.topic-card { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.topic-card .icon { width: 32px; height: 32px; color: var(--ink); }
.topic-card h3 { font-size: 22px; }
.topic-card p { color: var(--ink-deep); }
.band-light { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-light + .band-light { border-top: 0; }
.band-dark { background: var(--dark); color: var(--white); }
.band-dark .section-title { color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.empty-note { font-size: 17px; color: var(--ink-muted); padding: 32px 0; border-top: 2px solid var(--ink); }

/* Notes */
.note-card { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 2px solid var(--ink); }
.note-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-head); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
.note-title { font-size: clamp(21px, 2vw, 25px); line-height: 1.25; }
.note-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.note-excerpt { color: var(--ink-deep); }

/* Q&A */
.qa-card { border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.band-dark .qa-card .note-meta { color: var(--on-dark-muted); }
.qa-title { font-size: clamp(21px, 2vw, 26px); line-height: 1.25; }
.band-dark .qa-title a, .band-dark .qa-card .link-arrow { color: var(--white); }
.band-dark .qa-excerpt { color: var(--on-dark-soft); }
.qa-list .qa-card { background: var(--white); border-color: var(--line); }

/* How it works */
.how-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.steps { list-style: none; }
.steps li { display: grid; grid-template-columns: 80px 1fr; padding: 28px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--font-head); font-weight: 700; font-size: 40px; line-height: 1; color: var(--ink); }
.steps h3 { font-family: var(--font-body); font-size: 23px; font-weight: 600; margin-bottom: 8px; }
.steps p { color: var(--ink-deep); font-size: 18px; line-height: 1.6; }
/* Tighter gap when "How it works" is followed directly by Pricing */
.how:has(+ .pricing) { padding-bottom: clamp(32px, 4vw, 56px); }
.how + .pricing { padding-top: clamp(32px, 4vw, 56px); }

/* Pricing */
.price-grid { align-items: stretch; }
.price-card { padding: 36px; display: flex; flex-direction: column; gap: 24px; position: relative; }
.price-card-main { border: 2px solid var(--ink); padding: 35px; }
.badge {
	position: absolute; top: -13px; left: 35px; background: var(--ink); color: var(--bg-soft);
	font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
	padding: 5px 10px; border-radius: 2px;
}
.price-head h3 { font-family: var(--font-body); font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.price-head p { font-size: 15px; color: var(--ink-muted); }
.price { font-family: var(--font-head); font-weight: 700; font-size: 40px; line-height: 1.1; }
.price-unit { font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--ink-muted); }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; flex-grow: 1; }
.price-list li { padding-left: 22px; position: relative; }
.price-list li::before { content: ''; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--ink); }
.price-note { font-size: 13px; color: var(--ink-muted); margin-top: -8px; }
.price-extra { align-self: center; margin-top: -12px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { max-width: 380px; }
.about-photo img, .photo-placeholder { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius); }
.photo-placeholder { background: var(--bg-tint); display: flex; align-items: center; justify-content: center; color: var(--line); }
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-copy .eyebrow { margin-bottom: 0; }
.about-copy p:not(.eyebrow) { font-size: 18px; line-height: 1.65; color: var(--ink-deep); }
.about-copy .founder-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0; }
.about-copy .founder-name { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); }
.about-copy .founder-email { font-size: 16px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.about-copy .founder-email:hover { color: var(--darker); }
.about-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Page & single ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-hero-tall { padding-bottom: 120px; }
.page-hero-tall .btn { margin-top: 32px; }
.single-thumb { margin: 0 0 40px; }
.single-thumb img { border-radius: var(--radius); width: 100%; }
.entry-content { font-size: 18px; line-height: 1.75; color: var(--ink-deep); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 30px; margin-top: 1.8em; color: var(--ink); }
.entry-content h3 { font-size: 23px; margin-top: 1.6em; color: var(--ink); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote { margin-left: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--ink); font-size: 20px; color: var(--ink); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.entry-content th { font-weight: 600; color: var(--ink); }
.entry-content img { border-radius: var(--radius); }
.entry-content .wp-block-file a:not(.wp-block-file__button) { font-weight: 600; }
.entry-content .wp-block-button__link, .entry-content .wp-block-file__button { background: var(--ink); color: var(--bg-soft); border-radius: 2px; text-decoration: none; padding: 12px 22px; font-weight: 600; }
.post-disclaimer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-muted); }
.link-back { margin-top: 24px; }
.pager { margin-top: 56px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pager .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--white); }
.pager .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--darker); color: var(--on-dark-soft); padding: clamp(56px, 7vw, 88px) 0 48px; }
.site-footer a { color: var(--on-dark-soft); }
.site-footer a:hover { color: var(--white); }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { max-width: 460px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand-name { font-size: 26px; }
.footer-brand p { font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(150px, auto)); gap: 32px; }
.footer-head { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 8px; letter-spacing: 0; }
.footer-cols ul { list-style: none; font-size: 15px; }
.footer-cols li a { display: inline-block; padding: 6px 0; }
.footer-bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--dark-line); display: flex; flex-direction: column; gap: 14px; font-size: 13px; color: var(--on-dark-muted); }
.disclaimer { max-width: 980px; }

/* ---------- Responsive ---------- */
.main-nav a, .header-actions .btn { white-space: nowrap; }
@media (max-width: 1360px) {
	.main-nav .menu { gap: 22px; }
	.site-nav { gap: 22px; }
	.header-actions { gap: 14px; }
}
/* Header switches to the menu button earlier than the page layout, so the five menu items never wrap. */
@media (max-width: 1240px) {
	.menu-toggle { display: inline-flex; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--bg-soft); border-bottom: 1px solid var(--line);
		flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 24px;
		box-shadow: 0 16px 32px -24px rgba(20, 41, 92, .5);
		max-height: calc(100vh - 68px); overflow-y: auto;
	}
	.nav-open .site-nav { display: flex; }
	.nav-open .menu-toggle-open { display: none; }
	.nav-open .menu-toggle-close { display: inline; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
	.header-actions { justify-content: space-between; }
}
@media (max-width: 960px) {
	.menu-toggle { display: inline-flex; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--bg-soft); border-bottom: 1px solid var(--line);
		flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 24px;
		box-shadow: 0 16px 32px -24px rgba(20, 41, 92, .5);
		max-height: calc(100vh - 68px); overflow-y: auto;
	}
	.nav-open .site-nav { display: flex; }
	.nav-open .menu-toggle-open { display: none; }
	.nav-open .menu-toggle-close { display: inline; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
	.header-actions { justify-content: space-between; }
	.header-inner { min-height: 68px; }
	.brand-name { font-size: 19px; }
	.hero-grid, .how-grid, .about-grid { grid-template-columns: minmax(0, 1fr); }
	.grid-3 { grid-template-columns: minmax(0, 1fr); }
	.grid-2 { grid-template-columns: minmax(0, 1fr); }
	.price-grid { gap: 32px; }
	.about-photo { max-width: 360px; }
	.footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}
@media (max-width: 520px) {
	.brand-name { font-size: 17px; }
	.brand { gap: 8px; }
	.steps li { grid-template-columns: 56px 1fr; }
	.step-num { font-size: 30px; }
	.price-card, .topic-card, .qa-card { padding: 24px; }
	.price-card-main { padding: 23px; }
	.badge { left: 23px; }
	.header-actions .btn { flex: 1; }
	.footer-cols { grid-template-columns: minmax(0, 1fr); }
}

/* Newsletter */
.newsletter { padding-top: clamp(48px, 6vw, 80px); }
.band-light + .newsletter { padding-top: clamp(48px, 6vw, 80px); }
.nl-card {
	background: var(--dark); color: var(--on-dark); border-radius: var(--radius);
	padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.nl-copy { display: flex; flex-direction: column; gap: 14px; }
.nl-copy .eyebrow { margin-bottom: 0; }
.nl-title { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; color: var(--white); }
.nl-text { color: var(--on-dark-soft); font-size: 17px; line-height: 1.6; max-width: 520px; }
.nl-form .rnl-consent { color: var(--on-dark-soft); }
.nl-form .rnl .btn { background: var(--bg-soft); color: var(--ink); }
.nl-form .rnl .btn:hover { background: var(--white); }
.nl-form .rnl input[type=email] { border-color: var(--bg-soft); }
.nl-form .rnl-msg { color: var(--white); }
.nl-box { margin-top: 40px; padding: 28px; border: 1px solid var(--line); border-top: 2px solid var(--ink); background: var(--white); border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; }
.nl-box-title { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); margin: 0; }
.nl-box .rnl-consent { color: var(--ink-deep); }
@media (max-width: 860px) {
	.nl-card { grid-template-columns: 1fr; }
}

/* Why ask Rivus */
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.why-copy .eyebrow { margin-bottom: 0; }
.why-text { font-size: 18px; line-height: 1.6; color: var(--ink-deep); max-width: 34em; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
.why-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.why-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; }
.why-icon .icon { width: 26px; height: 26px; }
.why-item h3 { font-size: 21px; margin-bottom: 6px; }
.why-item p { color: var(--ink-deep); font-size: 16px; line-height: 1.6; }
.why-note { margin-top: 14px; font-size: 14px; color: var(--ink-muted); }
@media (max-width: 860px) {
	.why-grid { grid-template-columns: minmax(0, 1fr); }
	.why-item { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; gap: 14px; }
	.why-icon { width: 44px; height: 44px; }
}
