/*
Theme Name: Ryvo
Theme URI: https://ryvo.co/
Author: Ryvo
Author URI: https://ryvo.co/
Description: Multi-page theme for Ryvo, offshore staffing for growing businesses. Home, Roles, The real cost, How it works, Pricing, Client stories, FAQ and Contact pages, a blog (Ryvo Journal) and a contact form that emails you and saves every lead in the dashboard. Colours, price, photos, social links and contact details live under Appearance > Customize > Ryvo settings.
Version: 1.8.7
Update URI: https://github.com/samaryeh/ryvo-theme
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: ryvo
*/

/* ==========================================================================
   Tokens (the palette is replaced by the Customizer choice at runtime)

   Layout sizes, widest first:
   desktop  1200px and up   full layout
   laptop   1000–1199px     two columns hold, type steps down
   tablet    640–999px      heroes stack with shorter photos; content sections keep two columns
   phone     up to 639px    one column; small phones (up to 479px) get a compact header
   ========================================================================== */

:root {
	--ground: #FFF6EC;
	--paper: #FFFDF9;
	--ink: #141A33;
	--body: #3F4560;
	--muted: #5A607A;
	--line: #EADBC8;
	--brand: #1F3AE0;
	--on-brand: #FFF6EC;
	--on-brand-muted: #D9DEFF;
	--pop: #FF6B2C;
	--on-pop: #141A33;
	--pop-ink: #FF8A55;
	--italic: #1F3AE0;
	--dark: #141A33;
	--on-dark: #FFF6EC;
	--on-dark-muted: #C3C8DD;
	--tint: #E6E9FF;
	--pop-tint: #FFE2D2;
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--gutter: clamp(20px, 5vw, 48px);
	--section: 104px;
	--shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.25);
	--shadow-md: 0 24px 48px rgba(0, 0, 0, 0.12);
	--shadow-sm: 0 24px 48px rgba(0, 0, 0, 0.08);
	--shadow-chip: 0 14px 30px rgba(0, 0, 0, 0.2);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

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

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--ground);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; }

.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: -100px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: 12px;
	background: var(--paper);
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--tight { padding-top: 72px; padding-bottom: 72px; }
.section--flush-top { padding-top: 0; }
.bg-paper { background: var(--paper); }
.bg-ground { background: var(--ground); }
.bg-tint { background: var(--pop-tint); }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }

.icon {
	width: 1em;
	height: 1em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* Two columns side by side, stacking on tablets and phones. */
.split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 64px;
	align-items: center;
}
.split > * { min-width: 0; }

/* ==========================================================================
   Type
   ========================================================================== */

.eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-wrap: balance;
	color: var(--italic);
}

/* Keeps a short phrase such as "1-month minimum" on one line. */
.nowrap { white-space: nowrap; }

.title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(30px, 3.8vw, 56px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.lede { font-size: 18px; line-height: 1.65; color: var(--body); }

.u-em {
	font-style: italic;
	text-decoration: underline;
	text-decoration-color: var(--pop);
	text-decoration-thickness: 0.07em;
	text-underline-offset: 0.14em;
}

.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.section-head--center { margin: 0 auto; align-items: center; text-align: center; }

.more-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	font-weight: 600;
	color: var(--italic);
	text-decoration: none;
}
.more-link .icon { transition: transform 0.2s ease; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.more-link:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Buttons and chips
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 54px;
	padding: 14px 30px;
	border: 0;
	border-radius: 999px;
	font-weight: 600;
	font-size: 17px;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, filter 0.2s ease;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 12px 22px; font-size: 15px; }
.btn--pop { background: var(--pop); color: var(--on-pop); }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--dark { background: var(--dark); color: var(--on-dark); }

.link-arrow { font-size: 17px; font-weight: 600; text-underline-offset: 5px; }

.chip {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 18px 9px 9px;
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	box-shadow: var(--shadow-chip);
}
.chip__icon {
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 15px;
}
.chip__icon > * { grid-area: 1 / 1; }
.chip__icon--brand { background: var(--brand); color: var(--on-brand); }
.chip__icon--pop { background: var(--pop); color: var(--on-pop); }
.chip__icon--tint { background: var(--tint); color: var(--brand); }
.chip__icon--pop-tint { background: var(--pop-tint); color: var(--pop); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pop); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header { position: relative; z-index: 20; background: var(--brand); color: var(--on-brand); }
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding-top: 22px;
	padding-bottom: 22px;
}

.logo {
	flex: none;
	display: block;
	color: inherit;
	line-height: 0;
	text-decoration: none;
}
/* The Ryvo wordmark: letters in the text colour, the dot in the palette's accent. */
.logo__mark {
	--logo-h: 40px;
	display: block;
	width: auto;
	height: var(--logo-h);
	fill: currentColor;
}
.logo__dot { fill: var(--pop); }
/* The tail of the y hangs below the line, so the letters sit level with the menu. */
.site-header .logo__mark { margin-bottom: calc(var(--logo-h) * -0.37); }
.custom-logo-link { flex: none; }
.custom-logo-link img { max-height: 44px; width: auto; }

.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 28px;
	font-size: 15px;
	font-weight: 500;
}
.site-nav__list a { color: inherit; text-decoration: none; white-space: nowrap; }
.site-nav__list a:hover { text-decoration: underline; text-underline-offset: 6px; }
.site-nav__list a[aria-current="page"],
.site-nav__list .current-menu-item > a {
	text-decoration: underline;
	text-decoration-color: var(--pop);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}
.site-nav__cta { display: none; }

.site-header__actions { display: flex; flex: none; align-items: center; gap: 12px; }

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: inherit;
	font-size: 26px;
	cursor: pointer;
}
.nav-toggle .icon--close { display: none; }
.site-header.is-open .nav-toggle .icon--menu { display: none; }
.site-header.is-open .nav-toggle .icon--close { display: block; }

/* ==========================================================================
   Home hero
   ========================================================================== */

.hero { background: var(--brand); color: var(--on-brand); overflow: hidden; }
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
	padding-top: 48px;
	padding-bottom: var(--section);
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero .eyebrow { color: var(--on-brand-muted); }
.hero__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(40px, 5.6vw, 88px);
	line-height: 1.02;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
.hero__sub { max-width: 540px; font-size: 19px; line-height: 1.6; color: var(--on-brand-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__ctas .link-arrow { color: var(--on-brand); }
.hero__proof { font-size: 14px; color: var(--on-brand-muted); }

/* Photo, floating chips and the bill card share one grid cell; the photo sets its height. */
.hero__visual { display: grid; width: 100%; min-width: 0; }
.hero__visual > * { grid-area: 1 / 1; }
.hero__accent {
	justify-self: end;
	align-self: start;
	width: 168px;
	height: 168px;
	margin: -40px -40px 0 0;
	border-radius: 50%;
	background: var(--pop);
}
.hero__photo {
	justify-self: end;
	align-self: start;
	width: 86%;
	aspect-ratio: 8 / 9;
	border-radius: 28px;
	overflow: hidden;
	background: var(--pop-tint);
	box-shadow: var(--shadow-lg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 5%; }
.hero__chips {
	justify-self: start;
	align-self: start;
	margin-top: 44px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
.hero__chips > :nth-child(2) { margin-left: 28px; }

.receipt {
	justify-self: start;
	align-self: end;
	width: min(340px, 74%);
	margin: 0 0 -40px;
	padding: 24px;
	border-radius: 18px;
	background: var(--paper);
	color: var(--ink);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.receipt__title { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.receipt__sub { font-size: 13px; color: var(--muted); }
.receipt__row { display: flex; align-items: baseline; font-size: 15px; }
.receipt__row--bold { font-weight: 600; }
.receipt__row--total { padding-top: 12px; border-top: 2px solid var(--ink); font-weight: 600; }
.receipt__leader { flex: 1; min-width: 12px; margin: 0 8px; border-bottom: 1.5px dotted var(--line); }
.receipt__num { font-family: var(--serif); font-size: 22px; }
.receipt__num--brand { color: var(--italic); }
.receipt__keep {
	align-self: flex-start;
	margin-top: 2px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--pop-tint);
	font-size: 14px;
	font-weight: 600;
}

/* Full bill used as the hero visual on The real cost page. */
.receipt--full {
	width: 100%;
	max-width: 460px;
	margin: 0 0 0 auto;
	padding: 32px;
	border-radius: 24px;
	gap: 12px;
	box-shadow: var(--shadow-lg);
}
.receipt--full .receipt__title { font-size: 28px; }
.receipt--full .receipt__row { font-size: 16px; }

/* ==========================================================================
   Ticker and stats
   ========================================================================== */

.ticker { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.ticker__track { display: flex; width: max-content; }
.ticker__group {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 20px 40px 20px 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(19px, 2vw, 26px);
	white-space: nowrap;
}
.ticker__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--pop); }

.stats { border-bottom: 1px solid var(--line); }
.stats__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 48px;
	padding-top: 44px;
	padding-bottom: 44px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; color: var(--italic); }
.stat__label { font-size: 15px; color: var(--muted); }

/* ==========================================================================
   Inner page hero
   ========================================================================== */

.page-hero { background: var(--brand); color: var(--on-brand); overflow: hidden; }
.page-hero--dark { background: var(--dark); color: var(--on-dark); }
.page-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px 56px;
	align-items: center;
	padding-top: 72px;
	padding-bottom: 96px;
}
.page-hero__inner--split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-hero__copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; max-width: 780px; }
.page-hero .eyebrow { color: var(--on-brand-muted); }
.page-hero--dark .eyebrow { color: var(--pop-ink); }
.page-hero__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(38px, 5vw, 76px);
	line-height: 1.04;
	letter-spacing: -0.03em;
	text-wrap: balance;
	overflow-wrap: break-word;
}
.page-hero__lede { max-width: 580px; font-size: 19px; line-height: 1.6; color: var(--on-brand-muted); }
.page-hero--dark .page-hero__lede { color: var(--on-dark-muted); }
.page-hero__meta { font-size: 15px; color: var(--on-brand-muted); }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.page-hero__actions .link-arrow { color: inherit; }
.page-hero__visual { width: 100%; min-width: 0; }

/* ==========================================================================
   Photos
   ========================================================================== */

.photo {
	border-radius: 28px;
	overflow: hidden;
	background: var(--tint);
	box-shadow: var(--shadow-md);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--16x10 { aspect-ratio: 16 / 10; }
.photo--4x5 { aspect-ratio: 4 / 5; }
.photo--hero { aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }

.photo-frame { display: grid; min-width: 0; }
.photo-frame > * { grid-area: 1 / 1; }
.photo-frame > .chip,
.photo-frame__chips {
	justify-self: start;
	align-self: end;
	margin: 0 0 24px -20px;
}
.photo-frame__chips { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.photo-frame__chips > :nth-child(2) { margin-left: 24px; }

/* ==========================================================================
   The real cost: bars, table, statement
   ========================================================================== */

.savings__inner { display: flex; flex-direction: column; gap: 48px; }

.bars {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 32px;
	border-radius: 24px;
	background: var(--ground);
	border: 1px solid var(--line);
}
.bg-ground .bars { background: var(--paper); }
.bars__row { display: flex; flex-direction: column; gap: 10px; }
.bars__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bars__name { font-size: 16px; font-weight: 600; }
.bars__total { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); }
.bars__total--brand { color: var(--italic); }
.bar { display: flex; height: 48px; border-radius: 12px; overflow: hidden; }
.bar--ryvo { background: var(--brand); }
.bar__seg + .bar__seg { border-left: 2px solid var(--ground); }
.seg-wages { background: var(--body); }
.seg-taxes { background: var(--pop); }
.seg-health { background: var(--pop); opacity: 0.6; }
.seg-office { background: var(--pop); opacity: 0.42; }
.seg-ryvo { background: var(--brand); }

.legend {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	font-size: 14px;
	color: var(--body);
}
.legend li { display: flex; align-items: center; gap: 8px; }
.legend__swatch { width: 14px; height: 14px; border-radius: 4px; }

.cost-table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); -webkit-overflow-scrolling: touch; }
.cost-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 16px; }
.cost-table th,
.cost-table td { padding: 16px; text-align: left; border-top: 1px solid var(--line); }
.cost-table thead th { border-top: 0; padding-top: 18px; padding-bottom: 18px; }
.cost-table thead th:first-child {
	padding-left: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}
.cost-table__col { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.cost-table__col--ryvo { background: var(--brand); color: var(--on-brand); }
.cost-table tbody th { padding-left: 0; font-weight: 500; }
.cost-table td.is-ryvo { background: var(--tint); font-weight: 600; }
.cost-table tfoot th,
.cost-table tfoot td { border-top: 2px solid var(--ink); padding-top: 20px; padding-bottom: 20px; }
.cost-table tfoot th { padding-left: 0; font-size: 17px; font-weight: 600; }
.num-lg { font-family: var(--serif); font-size: 30px; }
.num-lg.is-ryvo { color: var(--italic); }

.savings__statement { display: flex; flex-direction: column; gap: 10px; max-width: 880px; }
.savings__big {
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(26px, 3.2vw, 46px);
	line-height: 1.2;
	letter-spacing: -0.01em;
}
.savings__small { font-size: 17px; color: var(--body); }
.footnote { font-size: 13px; line-height: 1.7; color: var(--muted); }

/* What you stop paying for */
.stop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stop-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
	border-radius: 24px;
	background: var(--paper);
	border: 1px solid var(--line);
}
.stop-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--pop-tint);
	color: var(--ink);
	font-size: 24px;
}
.stop-card__title { font-size: 17px; font-weight: 600; }
.stop-card__amount { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.stop-card__amount s { text-decoration-color: var(--pop); text-decoration-thickness: 3px; }
.stop-card__ryvo { font-size: 15px; font-weight: 600; color: var(--italic); }
.stop-card__text { font-size: 15px; line-height: 1.6; color: var(--body); }

/* Calculator */
.calc {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 56px;
	align-items: center;
	padding: 44px;
	border-radius: 28px;
	background: var(--dark);
	color: var(--on-dark);
}
.calc__head { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.calc .eyebrow { color: var(--pop-ink); }
.calc__title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.calc__note { font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); }
.calc__control { display: none; flex-direction: column; gap: 10px; margin-top: 8px; }
.js .calc__control { display: flex; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; }
.calc__rate { font-family: var(--serif); font-size: 34px; color: var(--pop-ink); }
.calc input[type="range"] { width: 100%; height: 32px; margin: 0; accent-color: var(--pop); }
.calc__scale { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--on-dark-muted); }
.calc__hourly { font-weight: 600; color: var(--on-dark); }
.calc__results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.calc__result { padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); }
.calc__result--keep { grid-column: 1 / -1; background: var(--pop); color: var(--on-pop); }
.calc__result dt { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.calc__result dd { margin-top: 4px; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 34px); line-height: 1.15; }
.calc__result small { display: block; margin-top: 2px; font-family: var(--sans); font-size: 14px; font-weight: 500; }

/* ==========================================================================
   Roles
   ========================================================================== */

.roles__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.role {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	min-width: 0;
	padding: 36px 0;
	border-top: 1px solid var(--line);
}
.role__icon { width: 96px; height: 96px; }
.role__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.role__title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.01em; }
.role__title a { text-decoration: none; }
.role__title a:hover { text-decoration: underline; text-underline-offset: 5px; }
.role__desc { font-size: 17px; line-height: 1.6; color: var(--body); }
.role__tasks { font-size: 15px; color: var(--muted); }
.role__price { margin-top: 4px; font-size: 14px; font-weight: 600; }

.role-rows { display: flex; flex-direction: column; gap: 96px; }
.role-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 72px;
	align-items: center;
	scroll-margin-top: 24px;
}
.role-row > * { min-width: 0; }
.role-row:nth-child(even) .role-row__media { order: 2; }
.role-row__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.role-row__icon { width: 72px; height: 72px; }
.role-row__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(30px, 3.2vw, 46px);
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.role-row__text { font-size: 18px; line-height: 1.65; color: var(--body); }
.tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tasks li { padding: 8px 14px; border-radius: 999px; background: var(--tint); color: var(--ink); font-size: 14px; font-weight: 600; }
.role-row__price { font-size: 15px; font-weight: 600; color: var(--muted); }

/* SVG fills for the role illustrations */
.f-tint { fill: var(--tint); }
.f-brand { fill: var(--brand); }
.f-pop { fill: var(--pop); }
.f-paper { fill: var(--paper); }
.f-on-dark { fill: var(--on-dark); }
.st-ink { stroke: var(--ink); }
.s-ink { fill: none; stroke: var(--ink); }
.s-muted { fill: none; stroke: var(--muted); }
.s-on-brand { fill: none; stroke: var(--on-brand); }
.s-on-pop { fill: none; stroke: var(--on-pop); }
.s-pop { fill: none; stroke: var(--pop); }
.s-on-dark-muted { fill: none; stroke: var(--on-dark-muted); }

/* ==========================================================================
   How it works
   ========================================================================== */

.how { background: var(--dark); color: var(--on-dark); }
.how__inner { display: flex; flex-direction: column; gap: 56px; }
.how .eyebrow { color: var(--pop-ink); }
.how__lede { max-width: 520px; font-size: 18px; line-height: 1.65; color: var(--on-dark-muted); }
.how .more-link { color: var(--pop-ink); }
.globe { justify-self: center; width: 100%; max-width: 320px; }

.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 32px;
}
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.step__num { font-family: var(--serif); font-style: italic; font-size: clamp(48px, 4.4vw, 64px); line-height: 1; color: var(--pop-ink); }
.step__title { font-family: var(--serif); font-weight: 600; font-size: 24px; }
.step__text { font-size: 16px; line-height: 1.6; color: var(--on-dark-muted); }

.steps-detail {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.step-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 36px;
	border-radius: 24px;
	background: var(--paper);
	border: 1px solid var(--line);
}
.step-card__num { font-family: var(--serif); font-style: italic; font-size: clamp(56px, 5vw, 72px); line-height: 1; color: var(--italic); }
.step-card__title { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.2vw, 28px); line-height: 1.2; }
.step-card__text { font-size: 17px; line-height: 1.65; color: var(--body); }

/* ==========================================================================
   Custom AI band and the Custom software page
   ========================================================================== */

.ai-band--brand { background: var(--brand); color: var(--on-brand); }
.ai-band--brand .eyebrow,
.ai-band--brand .lede { color: var(--on-brand-muted); }
.ai-band--ground { background: var(--ground); }
.equation { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 20px; }
.eq-card { display: flex; flex-direction: column; gap: 10px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); color: var(--ink); }
.eq-card__sym { font-family: var(--serif); font-size: clamp(40px, 4vw, 56px); line-height: 1; letter-spacing: -0.02em; color: var(--brand); }
.eq-card__title { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.2; }
.eq-card__text { font-size: 16px; line-height: 1.6; color: var(--body); }
.eq-card--result { border-color: var(--pop); background: var(--pop); color: var(--on-pop); }
.eq-card--result .eq-card__sym,
.eq-card--result .eq-card__text { color: var(--on-pop); }
.eq-op { align-self: center; justify-self: center; font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--pop); }
.ai-band--brand .eq-op { color: var(--on-brand); }
.eq-source { font-size: 14px; line-height: 1.6; color: var(--muted); }
.eq-note { max-width: 760px; font-size: 16px; line-height: 1.6; color: var(--body); }
.ai-band--brand .eq-note { color: var(--on-brand-muted); }
.eq-note strong { color: var(--ink); }
.ai-band--brand .eq-note strong { color: var(--on-brand); }
.eq-source a { color: inherit; text-underline-offset: 3px; }
.loop-note { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--on-dark-muted); }
.loop-note span { font-style: normal; font-size: 28px; color: var(--pop-ink); }
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.caps .cap { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--ground); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.caps .cap:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.caps .cap__num { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--brand); }
.caps .cap__title { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--ink); }
.caps .cap__text { font-size: 16px; line-height: 1.6; color: var(--body); }
.caps__more { font-size: 18px; color: var(--body); }

/* Workflow audit */
.audit__actions { padding-top: 6px; }
.audit__card { padding: clamp(28px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: var(--paper); color: var(--ink); }
.audit__label { margin-bottom: 20px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.audit__list { list-style: none; margin: 0; padding: 0; }
.audit__list li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.6; color: var(--body); }
.audit__list li + li { margin-top: 16px; }
.audit__list strong { color: var(--ink); }
.caps__more strong { color: var(--ink); }
a.chip--link { text-decoration: none; transition: box-shadow 0.2s var(--ease); }
a.chip--link:hover { box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3); }
a.chip--link:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; }
@media (max-width: 1099px) {
	.caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.equation { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 559px) {
	.caps { grid-template-columns: minmax(0, 1fr); }
	.eq-card { padding: 24px; }
}

/* Homepage AI band: the button and the link to the case study side by side. */
.ai-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.ai-band--brand .link-arrow { color: var(--on-brand); }

/* Case study feature on the Custom software page */
.case-card {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 40px 64px;
	align-items: center;
	padding: clamp(32px, 5vw, 64px);
	border-radius: 32px;
	background: var(--dark);
	color: var(--on-dark);
}
.case-card__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.case-card .eyebrow { color: var(--pop-ink); }
.case-card__text { max-width: 520px; font-size: 18px; line-height: 1.65; color: var(--on-dark-muted); }
.case-card__stats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.case-card__stat { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.case-card__stat:first-child { padding-top: 0; border-top: 0; }
.case-card__stat:last-child { padding-bottom: 0; }
.case-card__nums { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.case-card__nums s { font-size: 0.72em; color: var(--on-dark-muted); text-decoration-color: var(--pop); text-decoration-thickness: 2px; }
.case-card__nums .icon { align-self: center; font-size: 0.6em; color: var(--pop-ink); }
.case-card__label { font-size: 15px; color: var(--on-dark-muted); }

/* ==========================================================================
   AI accounts payable case study
   ========================================================================== */

/* Who does each step: the AI, the team member or the client's controller. */
.who {
	display: inline-flex;
	align-items: center;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.2;
	white-space: nowrap;
}
.who--ai { background: var(--tint); color: var(--brand); }
.who--person { background: var(--pop-tint); color: var(--ink); }
.who--approve { background: var(--dark); color: var(--on-dark); }

/* The label under the hero */
.note-band { background: var(--pop-tint); color: var(--ink); }
.note-band__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding-top: 16px; padding-bottom: 16px; font-size: 15px; line-height: 1.5; }
.note-band__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.note-band__label .icon { color: var(--pop); }
.note-band a { font-weight: 600; text-underline-offset: 3px; }

/* Hero illustration: the system's queue for the day */
.console { margin: 0; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; }
.console__bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.console__title { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; }
.console__live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.console__pulse { display: grid; }
.console__pulse > * { grid-area: 1 / 1; }
.console__list { list-style: none; margin: 0; padding: 6px 14px; }
.console__row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 6px; }
.console__row + .console__row { border-top: 1px solid var(--line); }
.console__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; }
.console__icon--ai { background: var(--tint); color: var(--brand); }
.console__icon--person { background: var(--pop-tint); color: var(--ink); }
.console__icon--approve { background: var(--dark); color: var(--on-dark); }
.console__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.console__main strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.console__main span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.console__foot { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--ground); }
.console__meter { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.console__meter span { display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--brand); transform-origin: left center; animation: ryvo-fill 1.4s var(--ease) 1.1s both; }
.console__foot p { font-size: 13px; line-height: 1.5; color: var(--body); }
@keyframes ryvo-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Before: the story on the left, the company's numbers on the right */
.case-before { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px 72px; align-items: start; }
.pains { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.pain { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; }
.pain__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--pop-tint); color: var(--ink); font-size: 21px; }
.pain__title { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.25; }
.pain__text { margin-top: 4px; font-size: 16px; line-height: 1.6; color: var(--body); }
.facts {
	position: sticky;
	top: 32px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--line);
	overflow: hidden;
}
.facts__head { grid-column: 1 / -1; padding: 18px 28px; background: var(--dark); color: var(--on-dark); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.fact { display: flex; flex-direction: column; gap: 6px; padding: 28px; background: var(--ground); }
.fact__value { font-family: var(--serif); font-size: clamp(38px, 3.8vw, 54px); line-height: 1; letter-spacing: -0.02em; color: var(--italic); }
.fact__label { font-size: 15px; line-height: 1.4; color: var(--muted); }

/* What we built: five connected parts, in order */
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.pipe { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.pipe__num { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--brand); }
.pipe__title { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.25; }
.pipe__text { flex: 1; font-size: 15px; line-height: 1.6; color: var(--body); }
.pipe .who { align-self: flex-start; }

/* Human in the loop: the line under the steps */
.how__fact { max-width: 760px; font-size: 16px; line-height: 1.6; color: var(--on-dark-muted); }
.how__fact strong { color: var(--on-dark); }
.how__fact a { color: inherit; text-underline-offset: 3px; }

/* A day in the life */
.day { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px 80px; align-items: start; }
.day__head { position: sticky; top: 32px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.tl { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 0 36px 44px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: 9px; top: 15px; bottom: -15px; width: 2px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl::after { content: ""; position: absolute; left: 2px; top: 7px; width: 16px; height: 16px; border: 3px solid var(--pop); border-radius: 50%; background: var(--paper); }
.tl__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.tl__time { margin-right: 4px; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.2; color: var(--italic); }
.tl__text { max-width: 640px; font-size: 17px; line-height: 1.65; color: var(--body); }

/* Results */
.bar--labeled .bar__seg { display: flex; align-items: center; padding: 0 16px; overflow: hidden; font-size: 14px; font-weight: 600; white-space: nowrap; }
.seg-manual { background: var(--body); color: var(--on-dark); }
.seg-person { background: var(--pop); color: var(--on-pop); }
.seg-ai { background: var(--brand); color: var(--on-brand); }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.result { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.result__label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.result__nums { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.result__before { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--pop); text-decoration-thickness: 2px; }
.result__arrow { align-self: center; display: inline-flex; font-size: 22px; color: var(--pop); }
.result__after { font-family: var(--serif); font-size: clamp(36px, 3.4vw, 48px); line-height: 1; letter-spacing: -0.02em; color: var(--italic); }
.result__from { font-size: 0.5em; letter-spacing: 0; }
.result__note { font-size: 15px; line-height: 1.55; color: var(--body); }
.hours { display: flex; flex-direction: column; gap: 20px; }
.hours__title { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2vw, 26px); line-height: 1.25; }
.hours-table td { color: var(--body); }
.hours-table td.is-ryvo { color: var(--ink); }
.hours-table tfoot td { color: var(--ink); font-weight: 600; }

/* How we modeled it */
.method { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px 72px; align-items: start; }
.assumptions { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.assumptions dt { font-size: 16px; font-weight: 600; }
.assumptions dd { margin: 4px 0 0; font-size: 15px; line-height: 1.65; color: var(--body); }
.ref-list { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--ground); }
.ref-list__title { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ref-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.5; }
.ref-list a { color: var(--ink); text-underline-offset: 3px; }

@media (min-width: 1200px) {
	/* An arrow between each part of the system. */
	.pipe:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 50%;
		right: -15px;
		z-index: 1;
		width: 10px;
		height: 10px;
		border-top: 2px solid var(--pop);
		border-right: 2px solid var(--pop);
		transform: translateY(-50%) rotate(45deg);
	}
}
@media (max-width: 1199px) {
	.pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
	.case-card,
	.case-before,
	.day,
	.method { grid-template-columns: minmax(0, 1fr); }
	.facts,
	.day__head { position: static; }
	.facts { max-width: 560px; }
	.results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
	.pipeline { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
	.results { grid-template-columns: minmax(0, 1fr); }
	.console__row { grid-template-columns: 34px minmax(0, 1fr); }
	.console__row .who { grid-column: 2; justify-self: start; }
	.console__icon { width: 34px; height: 34px; font-size: 16px; }
	.fact { padding: 22px; }
	.tl { padding-left: 36px; }
	.tl__time { font-size: 20px; }
	.tl__text { font-size: 16px; }
	.bar--labeled .bar__seg { padding: 0 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.console__meter span { animation: none; }
}

/* ==========================================================================
   Client stories
   ========================================================================== */

.stories__inner { display: flex; flex-direction: column; gap: 56px; }
.quote-feature,
.quote-feature figure { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.quote-feature blockquote {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(26px, 3.2vw, 46px);
	line-height: 1.25;
	letter-spacing: -0.01em;
}
.quote-feature figcaption { font-size: 16px; }
.who { font-weight: 600; }
.where { color: var(--muted); }

.stories__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card-quote {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	padding: 36px;
	border-radius: 24px;
	background: var(--paper);
	border: 1px solid var(--line);
}
.card-quote blockquote { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 26px); line-height: 1.4; }
.card-quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 15px; }
.avatar {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--brand);
	color: var(--on-brand);
	font-weight: 600;
}

/* Google rating and reviews ---------------------------------------------- */

.stars { display: inline-flex; gap: 2px; color: #F5B000; line-height: 1; vertical-align: -0.08em; }
.stars svg { width: 1em; height: 1em; fill: currentColor; }
.stars .is-empty { opacity: 0.3; }

.g-badge {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	font-size: 15px;
	line-height: 1.4;
	color: var(--ink);
	text-decoration: none;
}
.g-badge .stars { font-size: 17px; }
.g-badge__text strong { font-weight: 700; }
.g-badge:hover .g-badge__text,
.g-badge:focus-visible .g-badge__text { text-decoration: underline; text-underline-offset: 3px; }
.g-badge--on-brand { color: var(--on-brand); }

.hero__trust { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.stat--google .stat__value { display: flex; align-items: center; gap: 12px; }
.stat--google .stat__value .stars { font-size: 0.5em; }
.stat__label a { color: inherit; text-underline-offset: 3px; }

.g-reviews { display: flex; flex-direction: column; gap: 32px; }
.g-reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.g-reviews__title { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.g-reviews__title h2 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--ink);
	text-wrap: balance;
}
.g-reviews__summary { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.g-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
/* Three across; a last row of one or two cards sits in the middle. */
@media (min-width: 1000px) {
	.g-reviews__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.g-reviews__grid > * { grid-column: span 2; }
	.g-reviews__grid > :last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
	.g-reviews__grid > :nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
	.g-reviews__grid > :last-child:nth-child(3n+2) { grid-column: 4 / span 2; }
}
.card-review { gap: 18px; padding: 28px; }
.card-review .stars { font-size: 18px; }
.card-review blockquote { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; }

@media (max-width: 999px) {
	.g-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g-reviews__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
	.g-reviews__grid { grid-template-columns: minmax(0, 1fr); }
}

.card-video {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	padding: 28px;
	border-radius: 24px;
	background: var(--brand);
	color: var(--on-brand);
}
.video-thumb {
	display: grid;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr);
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	background: var(--dark);
	color: inherit;
	text-decoration: none;
}
.video-thumb > * { grid-area: 1 / 1; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.5s ease; }
a.video-thumb:hover img { transform: scale(1.04); }
.play {
	place-self: end end;
	width: 64px;
	height: 64px;
	margin: 0 20px 20px 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--pop);
	color: var(--on-pop);
	font-size: 24px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.play.ring { box-shadow: none; }
.card-video figcaption { font-size: 15px; }
.card-video__title { display: block; font-family: var(--serif); font-size: 24px; }
.card-video__org { display: block; color: var(--on-brand-muted); }

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing { background: var(--pop-tint); }
.pricing__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; text-align: center; }
.pricing__row {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 28px;
	width: 100%;
	max-width: 1080px;
	text-align: left;
}
.pricing__photo {
	position: relative;
	min-height: 380px;
	border-radius: 28px;
	overflow: hidden;
	background: var(--tint);
	box-shadow: var(--shadow-sm);
}
.pricing__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.pricing__photo .chip { position: absolute; left: 20px; bottom: 20px; }

.price-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	min-width: 0;
	padding: 44px clamp(24px, 4vw, 48px);
	border-radius: 28px;
	background: var(--paper);
	color: var(--ink);
	text-align: center;
	box-shadow: var(--shadow-sm);
}
.page-hero .price-card { max-width: 560px; margin-left: auto; box-shadow: var(--shadow-lg); }
.price-card__name { font-size: 16px; font-weight: 600; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px; }
.price__from { font-size: 16px; color: var(--muted); }
.price__amount { font-family: var(--serif); font-size: clamp(56px, 6vw, 76px); line-height: 1; letter-spacing: -0.02em; color: var(--italic); }
.price__per { font-size: 18px; color: var(--muted); }
.price-card__hourly { font-size: 15px; color: var(--muted); }
.checklist {
	list-style: none;
	margin: 0;
	padding: 24px 0 0;
	width: 100%;
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	text-align: left;
	font-size: 16px;
}
.checklist li { display: flex; align-items: flex-start; gap: 10px; }
.checklist .icon { margin-top: 3px; font-size: 18px; color: var(--italic); stroke-width: 2.8; }
.price-card__terms { font-size: 14px; color: var(--muted); }

.features { display: flex; flex-direction: column; gap: 28px; }
.feature { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; }
.feature__icon {
	width: 56px;
	height: 56px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tint);
	color: var(--brand);
	font-size: 26px;
}
.feature__title { font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); font-weight: 600; line-height: 1.2; }
.feature__text { margin-top: 8px; font-size: 17px; line-height: 1.65; color: var(--body); }
.included__note { font-size: 16px; line-height: 1.6; color: var(--body); }
.included__note a { color: var(--ink); text-underline-offset: 3px; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta { position: relative; background: var(--brand); color: var(--on-brand); overflow: hidden; }
.cta__orb {
	position: absolute;
	right: -110px;
	top: -130px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: var(--pop);
	opacity: 0.9;
}
.cta__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px 48px;
	padding-top: 88px;
	padding-bottom: 88px;
}
.cta__title { max-width: 720px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -0.02em; }
.cta__text { max-width: 600px; margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--on-brand-muted); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cta__actions .link-arrow { color: var(--on-brand); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq__inner { display: flex; flex-direction: column; gap: 40px; }
.faq__group + .faq__group { margin-top: 56px; }
.faq__group-title { margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.faq__item { display: flex; flex-direction: column; gap: 10px; padding: 28px 0; border-top: 1px solid var(--line); }
.faq__q { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 1.8vw, 22px); line-height: 1.25; }
.faq__a { font-size: 16px; line-height: 1.65; color: var(--body); }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { background: var(--brand); color: var(--on-brand); }
.contact__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-areas: "intro form" "photo form";
	align-content: start;
	gap: 32px 64px;
}
.contact__intro { grid-area: intro; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.contact .eyebrow { color: var(--on-brand-muted); }
.contact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.contact__lede { font-size: 18px; line-height: 1.65; color: var(--on-brand-muted); }
.contact__alt { font-size: 15px; line-height: 1.6; color: var(--on-brand-muted); }
.contact__alt a { color: var(--on-brand); font-weight: 600; text-underline-offset: 3px; }
.contact__facts {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin-top: 8px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	font-size: 15px;
	line-height: 1.8;
	color: var(--on-brand-muted);
}
.contact__photo {
	grid-area: photo;
	align-self: start;
	aspect-ratio: 16 / 10;
	border-radius: 24px;
	overflow: hidden;
	background: var(--on-brand-muted);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}
.contact__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.form {
	grid-area: form;
	align-self: start;
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 16px;
	min-width: 0;
	padding: 36px;
	border-radius: 24px;
	background: var(--paper);
	color: var(--ink);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	font-size: 16px;
	color: var(--ink);
	background: var(--ground);
}
.field textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--tint); }
.form .btn { grid-column: 1 / -1; width: 100%; }
.form__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.form__note a { color: var(--ink); }
.form__status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.form__status--ok { background: var(--tint); }
.form__status--error { background: var(--pop-tint); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--dark); color: var(--on-dark); }
.site-footer__inner { display: flex; flex-direction: column; gap: 48px; padding-top: 72px; padding-bottom: 40px; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px 64px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.site-footer__blurb { font-size: 15px; line-height: 1.65; color: var(--on-dark-muted); }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, max-content)); justify-content: space-between; gap: 32px 40px; font-size: 15px; }
.site-footer__cols:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, max-content)); }
.site-footer__cols:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: start; column-gap: 72px; }
@media (max-width: 1199px) {
	.site-footer__top { grid-template-columns: minmax(0, 1fr); }
	.site-footer__cols { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); justify-content: stretch; }
	.site-footer__cols:has(> :nth-child(3):last-child),
	.site-footer__cols:has(> :nth-child(2):last-child) { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); column-gap: 40px; }
}
@media (max-width: 759px) {
	.site-footer__cols,
	.site-footer__cols:has(> :nth-child(3):last-child),
	.site-footer__cols:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col__title { margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pop-ink); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 14px;
	color: var(--on-dark-muted);
}
.site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__legal a { color: inherit; text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }

/* Note for applicants on the Careers page */
.notice-box {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	max-width: 720px;
	margin: 0 auto 48px;
	padding: 24px;
	border-radius: 20px;
	background: var(--tint);
	color: var(--ink);
	font-size: 16px;
	line-height: 1.6;
}
.notice-box__icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--brand);
	color: var(--on-brand);
	font-size: 22px;
}
.notice-box__title { margin-bottom: 4px; font-weight: 600; }
.notice-box a { color: var(--italic); font-weight: 600; text-underline-offset: 3px; }

/* Careers: open positions from the recruitment platform ([ryvo_jobs]) */
.careers__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 28px;
}
.careers__count { font-size: 15px; font-weight: 600; color: var(--muted); }
.careers .ryvo-jobs { margin: 0; padding: 0; }
.careers .ryvo-jobs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.careers .ryvo-jobs__item { margin: 0; padding: 0; min-width: 0; }
.careers .ryvo-jobs__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	height: 100%;
	box-sizing: border-box;
	padding: 24px 28px;
	border-radius: 20px;
	background: var(--paper);
	border: 1px solid var(--line);
}
.careers .ryvo-jobs__heading { min-width: 0; }
.careers .ryvo-jobs__title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--ink); }
.careers .ryvo-jobs__meta { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.careers .ryvo-jobs__apply {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px;
	border-radius: 999px;
	background: var(--pop);
	color: var(--on-pop);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.2s ease, filter 0.2s ease;
}
.careers .ryvo-jobs__apply:hover { filter: brightness(1.07); transform: translateY(-2px); }

/* Content carried over from the old theme */
.prose a.btn { text-decoration: none; }
.prose a.btn--brand { color: var(--on-brand); }
.prose a.btn--pop { color: var(--on-pop); }
.prose details { padding: 14px 0; border-top: 1px solid var(--line); }
.prose details:last-of-type { border-bottom: 1px solid var(--line); }
.prose summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.prose details[open] > summary { margin-bottom: 8px; }

.social { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--on-dark);
	font-size: 20px;
	transition: background 0.2s ease, color 0.2s ease;
}
.social a:hover { background: var(--pop); color: var(--on-pop); }

/* ==========================================================================
   Blog, pages and 404
   ========================================================================== */

.page-body { padding-top: 72px; padding-bottom: var(--section); }
.prose { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: var(--body); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose .wp-block-group > * + * { margin-top: 1.15em; }
.prose hr { margin: 2.6em 0 0; border: 0; border-top: 1px solid var(--line, rgba(0, 0, 0, 0.14)); }
.prose [id] { scroll-margin-top: 96px; }
.prose h2,
.prose h3,
.prose h4 { margin-top: 1.8em; font-family: var(--serif); color: var(--ink); line-height: 1.2; }
.prose h2 { font-size: clamp(28px, 2.6vw, 34px); font-weight: 400; }
.prose h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 600; }
.prose h4 { font-size: 21px; font-weight: 600; }
.prose a { color: var(--italic); text-underline-offset: 3px; }
.prose ul,
.prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose img { border-radius: 16px; }
.prose blockquote { padding-left: 24px; border-left: 3px solid var(--pop); font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose .wp-block-button__link { border-radius: 999px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 24px;
	background: var(--paper);
	border: 1px solid var(--line);
}
.post-card__img { display: block; aspect-ratio: 16 / 9; background: var(--tint); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 28px; }
.post-card__date { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.post-card__title { font-family: var(--serif); font-size: clamp(21px, 2vw, 24px); font-weight: 600; line-height: 1.25; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-card__excerpt { font-size: 16px; line-height: 1.6; color: var(--body); }

.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 56px; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
}
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

.post-card__flag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--pop-tint); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; padding: 16px; }
.post-card--featured .post-card__img { overflow: hidden; border-radius: 16px; }
.post-card--featured .post-card__body { gap: 14px; padding: 24px 32px 24px 40px; }
.post-card--featured .post-card__title { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.01em; }
.post-card--featured .post-card__excerpt { font-size: 17px; }

/* Journal articles
   ========================================================================== */

.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--pop); transform: scaleX(0); transform-origin: 0 50%; }

.article-hero { position: relative; overflow: hidden; background: var(--brand); color: var(--on-brand); }
.article-hero::before { content: ""; position: absolute; top: -280px; right: -200px; width: 540px; height: 540px; border-radius: 50%; background: var(--pop); }
.article-hero::after { content: ""; position: absolute; top: -380px; right: -300px; width: 740px; height: 740px; border: 2px solid rgba(255, 246, 236, 0.14); border-radius: 50%; }
.article-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 980px; padding-top: 64px; padding-bottom: 88px; text-align: center; }
.article-hero--cover .article-hero__inner { padding-bottom: 208px; }
.article-hero--cover::before,
.article-hero--cover::after { display: none; }
.article-hero .eyebrow { color: var(--on-brand-muted); }
.article-hero .eyebrow a { color: inherit; text-decoration: none; }
.article-hero .eyebrow a:hover { color: var(--on-brand); text-decoration: underline; text-underline-offset: 4px; }
.article-hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: break-word; }
.article-hero__dek { max-width: 680px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--on-brand-muted); text-wrap: pretty; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; font-size: 15px; color: var(--on-brand-muted); }
.article-meta__by { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--on-brand); }
.article-meta__mark { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 246, 236, 0.55); }
.article-meta__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.6; }

.article-cover { position: relative; z-index: 1; margin-top: -160px; }
.article-cover img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-md); }

.article-layout { padding-top: 72px; padding-bottom: 24px; }
.article-layout--toc { display: grid; grid-template-columns: 220px minmax(0, 720px); justify-content: center; align-items: start; gap: 72px; }
.article-layout:not(.article-layout--toc) .article-main { max-width: 720px; margin: 0 auto; }
.article-main { min-width: 0; }
.article-body.prose { margin: 0; }
.article-body > p:first-child { font-size: 20px; line-height: 1.7; color: var(--ink); }

.article-toc { position: sticky; top: 32px; }
.toc summary { cursor: pointer; list-style: none; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 16px 0 0; padding: 0; border-left: 2px solid var(--line); }
.toc li + li { margin-top: 2px; }
.toc a { display: block; margin-left: -2px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; font-size: 15px; line-height: 1.4; color: var(--body); text-decoration: none; transition: color 0.2s ease, border-color 0.2s ease; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { border-left-color: var(--brand); color: var(--brand); font-weight: 600; }

.prose h2 { scroll-margin-top: 32px; }
.prose .takeaways { padding: 28px 32px; border-radius: 20px; background: var(--tint); color: var(--ink); }
.prose .takeaways > * + * { margin-top: 14px; }
.prose .takeaways__title { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.prose .takeaways ul { list-style: none; padding: 0; }
.prose .takeaways li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.6; }
.prose .takeaways li + li { margin-top: 10px; }
.prose .takeaways li::before,
.audit__list li::before { content: ""; position: absolute; top: 4px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF6EC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.prose .table-wrap table { display: table; width: 100%; min-width: 540px; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.prose .table-wrap th,
.prose .table-wrap td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose .table-wrap thead th { border-bottom: 0; background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.prose .table-wrap td small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.prose .table-wrap .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prose .table-wrap tfoot td,
.prose .table-wrap tfoot th { border-bottom: 0; background: var(--pop-tint); color: var(--ink); font-weight: 700; }
.prose .table-note { font-size: 14px; line-height: 1.6; color: var(--muted); }

.prose .cta-card { position: relative; overflow: hidden; padding: 36px; border-radius: 24px; background: var(--dark); color: var(--on-dark-muted); }
.prose .cta-card::after { content: ""; position: absolute; top: -110px; right: -80px; width: 240px; height: 240px; border-radius: 50%; background: var(--pop); }
.prose .cta-card > * { position: relative; z-index: 1; }
.prose .cta-card > * + * { margin-top: 14px; }
.prose .cta-card > p:not([class]) { max-width: 54ch; }
.prose .cta-card__title { max-width: 30ch; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; color: var(--on-dark); }
.prose .cta-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 6px; }
.prose .cta-card .link-arrow { color: var(--on-dark); }
.prose .note { padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-size: 15px; line-height: 1.6; color: var(--muted); }
.prose .sources { font-size: 15px; line-height: 1.55; color: var(--muted); }
.prose .sources li + li { margin-top: 8px; }
.prose .cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.prose .cap { padding: 24px 24px 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.prose .cap > * { margin: 0; }
.prose .cap > * + * { margin-top: 8px; }
.prose .cap__num { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--brand); }
.prose .cap__title { font-family: var(--serif); font-size: 21px; line-height: 1.25; color: var(--ink); }
.prose .cap p:last-child { font-size: 16px; line-height: 1.6; }

.article-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-share__label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.article-share__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.article-share__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.article-share__btn:hover,
.article-share__btn:focus-visible { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.article-share__btn .icon { width: 18px; height: 18px; }
.article-share__copy { padding: 0 18px; }

.article-about { display: flex; align-items: flex-start; gap: 20px; margin-top: 32px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.article-about__mark { flex: none; width: 56px; height: 56px; border-radius: 50%; }
.article-about__copy { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.6; color: var(--body); }
.article-about__title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); }

.related { border-top: 1px solid var(--line); }

@media (max-width: 1099px) {
	.article-layout--toc { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.article-layout--toc .article-main { max-width: 720px; width: 100%; margin: 0 auto; }
	.article-toc { position: static; width: 100%; max-width: 720px; margin: 0 auto; }
	.toc { padding: 0 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
	.toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; }
	.toc summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ink); }
	.toc[open] summary::after { content: "\2013"; }
	.toc ol { margin: 0 0 18px; }
}
@media (min-width: 1100px) {
	.toc summary { pointer-events: none; }
}
@media (max-width: 999px) {
	.article-hero::before,
	.article-hero::after { display: none; }
	.post-card--featured { grid-template-columns: minmax(0, 1fr); padding: 0; }
	.post-card--featured .post-card__img { border-radius: 0; }
	.post-card--featured .post-card__body { padding: 24px 24px 28px; }
}
@media (max-width: 759px) {
	.article-hero__inner { gap: 18px; padding-top: 40px; padding-bottom: 64px; }
	.article-hero--cover .article-hero__inner { padding-bottom: 120px; }
	.article-cover { margin-top: -88px; }
	.article-cover img { border-radius: 18px; }
	.article-layout { padding-top: 40px; }
	.article-body > p:first-child { font-size: 19px; }
	.prose .takeaways,
	.prose .cta-card { padding: 24px; }
	.prose .cta-card::after { top: -70px; right: -70px; width: 140px; height: 140px; }
	.prose .cta-card__title { padding-right: 44px; }
	.prose .cap-grid { grid-template-columns: 1fr; }
	.article-about { flex-direction: column; }
}
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 640px; margin: 0 auto; text-align: center; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.gallery-caption,
figcaption.wp-element-caption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.sticky,
.bypostauthor { position: relative; }

/* ==========================================================================
   Motion
   ========================================================================== */

@keyframes ryvo-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ryvo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes ryvo-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes ryvo-flow { to { stroke-dashoffset: -30; } }
@keyframes ryvo-ping { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes ryvo-ring { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes ryvo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ryvo-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes ryvo-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }

.rise { animation: ryvo-rise 0.9s var(--ease) var(--d, 0s) both; }
.float { animation: ryvo-float 5s ease-in-out var(--d, 0s) infinite; }
.breathe { transform-box: fill-box; transform-origin: center; animation: ryvo-breathe 6s ease-in-out infinite; }
.flow { stroke-dasharray: 6 9; animation: ryvo-flow 2.6s linear var(--d, 0s) infinite; }
.ping { transform-box: fill-box; transform-origin: center; animation: ryvo-ping 2.4s ease-out infinite; }
.ring { animation: ryvo-ring 2.2s ease-out infinite; }
.ticker__track { animation: ryvo-marquee 40s linear infinite; }
.bob { animation: ryvo-bob 3.2s ease-in-out var(--d, 0s) infinite; }
.zoom { transform-origin: 50% 0%; animation: ryvo-zoom 16s ease-in-out infinite alternate; }

/* Scroll reveal: only hidden once the script has marked what is already on screen. */
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js-reveal .reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }
.grow { transform-origin: left center; transition: transform 1.3s var(--ease) 0.15s; }
.js-reveal .grow:not(.is-in) { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.rise, .float, .breathe, .flow, .ping, .ring, .ticker__track, .bob, .zoom { animation: none !important; }
	.reveal, .grow { transition: none !important; }
	.js-reveal .reveal:not(.is-in),
	.js-reveal .grow:not(.is-in) { opacity: 1; transform: none; }
	.btn:hover { transform: none; }
}

/* ==========================================================================
   Responsive layout
   ========================================================================== */

/* Laptop: up to 1199px. Two columns hold; grids with many items step down. */
@media (max-width: 1199px) {
	.hero__inner { gap: 40px; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.split,
	.role-row,
	.contact__inner { column-gap: 48px; }
	.roles__grid,
	.faq__grid { column-gap: 48px; }
	.calc { padding: 36px; column-gap: 40px; }
}

/* Seven menu items: a little less space between them on mid-size screens. */
@media (max-width: 1279px) {
	.site-nav__list { gap: 22px; }
}

/* The main menu folds into the menu button below 1120px. */
@media (max-width: 1119px) {
	.site-header__inner { flex-wrap: wrap; }
	.site-nav { order: 3; width: 100%; }
	.site-nav__list { flex-direction: column; gap: 0; padding: 8px 0 4px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
	.site-nav__list a { display: block; padding: 14px 0; font-size: 18px; }
	.js .nav-toggle { display: inline-flex; }
	.js .site-nav { display: none; }
	.js .site-header.is-open .site-nav { display: block; }
}

/* Tablet: up to 999px. Heroes stack and their photos get a shorter crop.
   Content sections keep two columns until 640px. */
@media (max-width: 999px) {
	:root { --section: 88px; }

	.stop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
		padding-top: 40px;
	}
	.hero__copy { max-width: 680px; }
	.hero__photo { aspect-ratio: 4 / 5; }
	.hero__chips > :nth-child(n + 2) { display: none; }

	.page-hero__inner--split,
	.calc { grid-template-columns: minmax(0, 1fr); }
	.page-hero__inner { padding-top: 56px; padding-bottom: 80px; }
	.page-hero__visual { max-width: 600px; }
	.page-hero .photo--hero { aspect-ratio: 3 / 2; }
	.receipt--full { margin: 0; max-width: 520px; }
	.page-hero .price-card { margin-left: 0; }

	.split,
	.role-row,
	.roles__grid,
	.faq__grid { column-gap: 40px; }
	.role { grid-template-columns: 64px minmax(0, 1fr); gap: 16px 20px; }
	.role__icon { width: 64px; height: 64px; }
	.stats__grid { column-gap: 24px; }

	.contact__inner {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "intro" "form" "photo";
		gap: 40px;
	}
	.contact__intro,
	.form,
	.contact__photo { max-width: 640px; }

	.pricing__row { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
	.pricing__photo { order: 2; min-height: 0; aspect-ratio: 16 / 9; }

	.globe { max-width: 260px; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Legend swatches in aligned columns. */
	.legend { display: grid; grid-template-columns: repeat(3, max-content); }
}

/* Tablet: 560–999px. The homepage photo and the monthly bill sit side by side
   under the headline instead of one tall stacked picture. */
@media (min-width: 560px) and (max-width: 999px) {
	.hero__visual {
		justify-self: start;
		max-width: 680px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: center;
	}
	.hero__visual .hero__photo { justify-self: stretch; width: 100%; }
	.hero__visual .hero__chips { margin: 20px 0 0 -16px; }
	.hero__visual .receipt {
		grid-area: 1 / 2;
		align-self: center;
		justify-self: stretch;
		width: auto;
		margin: 0 0 0 -32px;
	}
}

/* Small tablets and large phones: up to 759px. */
@media (max-width: 759px) {
	:root { --section: 72px; }

	.stack-lg { gap: 32px; }
	.roles__grid,
	.faq__grid { grid-template-columns: minmax(0, 1fr); }
	.split,
	.role-row { column-gap: 32px; }
	.role-rows { gap: 64px; }
	.how__inner,
	.stories__inner { gap: 40px; }
	.cta__inner { padding-top: 64px; padding-bottom: 64px; }
	/* Smaller, tucked into the corner, so it never sits behind the heading. */
	.cta__orb { right: -100px; top: -115px; width: 170px; height: 170px; }
	.ticker__group { gap: 28px; padding: 14px 28px 14px 0; }
	.page-body { padding-top: 48px; }
	.savings__inner { gap: 36px; }
	.bars { padding: 24px; }
	.card-quote,
	.step-card,
	.stop-card { padding: 28px; }
	.photo-frame__chips > :nth-child(n + 2) { display: none; }
	.contact__photo { display: none; }
	.careers .ryvo-jobs__list { grid-template-columns: minmax(0, 1fr); }
}

/* Phones: up to 639px. One column throughout; photos get a landscape crop. */
@media (max-width: 639px) {
	.split,
	.role-row { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
	.role-row:nth-child(even) .role-row__media { order: 0; }
	.split .photo,
	.role-row .photo { aspect-ratio: 3 / 2; }
	/* Stats as compact rows: figure on the left, what it means on the right. */
	.stats__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 16px; padding-bottom: 16px; }
	.stat { flex-direction: row; align-items: baseline; gap: 16px; padding: 14px 0; }
	.stat + .stat { border-top: 1px solid var(--line); }
	.stat__value { flex: none; min-width: 9rem; font-size: 28px; }
	.stat__label { font-size: 15px; line-height: 1.4; }
	.stories__cards,
	.steps-detail,
	.post-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Small phones: up to 559px. The bill card overlaps the bottom of the homepage photo. */
@media (max-width: 559px) {
	/* Phone hero: a tighter copy block and a shorter photo, so the whole photo shows on the
	   first screen. The bill sits under the photo, overlapping only its bottom edge. */
	.hero__inner { gap: 24px; padding-top: 10px; }
	.hero__copy { gap: 14px; }
	.hero .eyebrow { font-size: 12px; letter-spacing: 0.12em; }
	.hero__title { font-size: 38px; }
	.hero__sub { font-size: 16px; line-height: 1.55; }
	.hero__ctas { gap: 12px 18px; }
	.hero__ctas .btn { min-height: 50px; padding: 12px 24px; font-size: 16px; }
	.hero__ctas .link-arrow { font-size: 16px; }
	.hero__trust { display: none; }
	.hero__visual { justify-self: stretch; max-width: 440px; }
	/* The photo has almost no space above her head, so the crop starts at its top edge,
	   and the slow zoom is off so the framing doesn't drift. */
	.hero__photo { width: 100%; aspect-ratio: 5 / 4; border-radius: 22px; }
	.hero__photo img { object-position: 50% 0%; animation: none; }
	.hero__accent { width: 88px; height: 88px; margin: -18px -6px 0 0; }
	.hero__chips { margin: -16px 0 0 -8px; }
	.hero__visual .receipt { grid-area: 2 / 1; width: 88%; padding: 18px; gap: 10px; margin: -32px 0 0 14px; }
	.receipt__title { font-size: 19px; }
	.receipt__num { font-size: 19px; }
	.receipt__row { font-size: 14px; }
	.receipt--full { padding: 24px; }
	/* Steps: number beside the title, so the four steps take half the space. */
	.legend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
	.steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; padding: 20px 0; }
	.step__num { grid-row: 1 / span 2; font-size: 40px; }
	.step__title,
	.step__text { grid-column: 2; }
	.step__title { font-size: 21px; line-height: 1.25; }
	.globe { max-width: 200px; }
	/* The cost table fits the screen instead of scrolling sideways. */
	.cost-table { min-width: 0; font-size: 14px; }
	.cost-table th,
	.cost-table td { padding: 12px 8px; }
	.cost-table thead th:first-child { font-size: 11px; letter-spacing: 0.08em; }
	.cost-table__col { font-size: 17px; }
	.cost-table tfoot th { font-size: 15px; }
	.num-lg { font-size: 22px; }
	.form { grid-template-columns: minmax(0, 1fr); padding: 24px; }
	.calc { padding: 24px; }
	.calc__results { grid-template-columns: minmax(0, 1fr); }
	.checklist { grid-template-columns: minmax(0, 1fr); }
	.price-card { padding: 32px 24px; }
	.photo-frame > .chip,
	.photo-frame__chips { margin-left: 12px; margin-bottom: 16px; }
	.pricing__photo .chip { left: 12px; bottom: 12px; }
	.notice-box { grid-template-columns: minmax(0, 1fr); }
}

/* Very small phones: up to 479px. The header keeps the logo and the menu button;
   Get started moves into the open menu. */
@media (max-width: 479px) {
	.site-header__inner { padding-top: 12px; padding-bottom: 12px; }
	.logo__mark { --logo-h: 34px; }
	.site-header__actions .btn { display: none; }
	.js .site-header.is-open .site-nav__cta { display: flex; width: 100%; margin: 8px 0 12px; }
	.page-hero__lede { font-size: 17px; }
	.page-hero__inner { padding-top: 40px; padding-bottom: 56px; }
	.stop-grid { grid-template-columns: minmax(0, 1fr); }
	.hero__chips .chip,
	.photo-frame .chip { font-size: 14px; padding: 7px 14px 7px 7px; }
	.chip__icon { width: 26px; height: 26px; }
	.price__amount { font-size: 56px; }
	.btn { padding-left: 24px; padding-right: 24px; }
	.careers .ryvo-jobs__head { flex-direction: column; align-items: flex-start; padding: 22px; }
}

/* Narrow phones: up to 389px. A slightly shorter photo frame and buttons that fit on one line. */
@media (max-width: 389px) {
	.hero__photo { aspect-ratio: 4 / 3; }
	.hero__sub { font-size: 15px; }
	.hero__ctas { column-gap: 14px; }
	.hero__ctas .btn { padding-left: 20px; padding-right: 20px; }
	.hero__ctas .link-arrow { font-size: 15px; }
}
