/* Readabler blog — shared with the readabler.com theme: tokens, typography, buttons, header, Products menu, footer. */
:root {
	--rdb-blue: #246EF3;
	--rdb-blue-dark: #1A5FD9;
	--rdb-blue-soft: #E3EDFF;
	--rdb-ink: #0E1A33;
	--rdb-text: #1B2333;
	--rdb-muted: #44506A;
	--rdb-subtle: #5A6680;
	--rdb-line: #E3EAF5;
	--rdb-line-strong: #D5E0F2;
	--rdb-tint: #F3F7FD;
	--rdb-green: #22A06B;
	--rdb-header-bg: var(--rdb-tint);
	--rdb-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--rdb-font-display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
	--rdb-radius: 14px;
	--rdb-container: 1240px;
}

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

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

body {
	margin: 0;
	font-family: var(--rdb-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--rdb-text);
	background: var(--rdb-tint);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rdb-blue-dark); }
a:hover { color: var(--rdb-ink); }

:focus-visible {
	outline: 3px solid var(--rdb-blue);
	outline-offset: 3px;
	border-radius: 6px;
}

.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;
}

.rdb-skip {
	position: absolute;
	left: 16px; top: -60px;
	z-index: 100;
	background: var(--rdb-ink);
	color: #fff;
	padding: 12px 18px;
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none;
}
.rdb-skip:focus { top: 12px; color: #fff; }

.rdb-container {
	max-width: var(--rdb-container);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Typography ---------- */
.rdb-h1,
.rdb-h2,
.rdb-h3 {
	font-family: var(--rdb-font-display);
	color: var(--rdb-ink);
	margin: 0;
}
.rdb-h1 {
	font-weight: 800;
	font-size: 68px;
	line-height: 1.02;
	letter-spacing: -0.035em;
}
.rdb-h1--page { font-size: 52px; margin-bottom: 24px; }
.rdb-h2 {
	font-weight: 800;
	font-size: 44px;
	line-height: 1.08;
	letter-spacing: -0.03em;
}
.rdb-h3 {
	font-weight: 700;
	font-size: 22px;
	line-height: 1.25;
	letter-spacing: -0.01em;
}
.rdb-h1 em,
.rdb-h2 em { font-style: italic; }
.rdb-h2 strong { font-weight: 800; }
.rdb-h2 mark {
	background: var(--rdb-ink);
	color: #fff;
	padding: 0 .18em;
	border-radius: 8px;
}
.rdb-lead {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
	color: var(--rdb-muted);
	max-width: 460px;
}
.rdb-text {
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: var(--rdb-muted);
}
.rdb-small { margin: 0; font-size: 14px; color: var(--rdb-subtle); }
.rdb-accent { color: var(--rdb-blue-dark); font-weight: 700; }
.rdb-eyebrow {
	margin: 0 12px 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rdb-subtle);
}

/* ---------- Buttons ---------- */
.rdb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 16px 24px;
	border-radius: var(--rdb-radius);
	font-family: var(--rdb-font);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color .15s, box-shadow .15s, color .15s, border-color .15s;
}
.rdb-btn--primary {
	background: var(--rdb-blue);
	color: #fff;
	box-shadow: 0 10px 30px rgba(36, 110, 243, .25);
}
.rdb-btn--primary:hover { background: var(--rdb-blue-dark); color: #fff; }
.rdb-btn--secondary {
	background: #fff;
	color: var(--rdb-ink);
	border-color: var(--rdb-line-strong);
}
.rdb-btn--secondary.mdp-opened { background: var(--rdb-blue-soft); border-color: var(--rdb-blue); }
.rdb-btn--secondary:hover { background: #EAF1FE; color: var(--rdb-ink); border-color: #BFD0EC; }
.rdb-btn--sm {
	min-height: 44px;
	padding: 12px 20px;
	border-radius: 12px;
	font-size: 15px;
	box-shadow: none;
}

/* ---------- Header (Readabler design) ---------- */
.rdb-header-wrap {
	position: relative;
	z-index: 40;
	background: var(--rdb-header-bg);
	color: var(--rdb-text);
}
.rdb-header {
	max-width: var(--rdb-container);
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	gap: 28px;
}
.rdb-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--rdb-text);
	flex: none;
}
.rdb-brand img { width: 36px; height: 36px; }
.rdb-brand__name {
	font-family: var(--rdb-font-display);
	font-weight: 800;
	font-size: 22px;
	line-height: 1;
	letter-spacing: -0.02em;
	/* Optical alignment: centres the lowercase x-height on the mark. */
	position: relative;
	top: -2px;
}
.rdb-brand:hover { color: var(--rdb-text); }

.rdb-header__menu {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 28px;
	min-width: 0;
}
.rdb-nav {
	display: flex;
	gap: 6px;
	flex: 1;
	flex-wrap: wrap;
	align-items: center;
	font-size: 15px;
	font-weight: 500;
}
.rdb-nav__link {
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	color: var(--rdb-text);
	text-decoration: none;
	padding: 10px 12px;
	border-radius: 10px;
	border: 0;
	background: transparent;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: background-color .15s;
}
.rdb-nav__link:hover { background: var(--rdb-blue-soft); color: var(--rdb-text); }
.rdb-nav__link[aria-current="page"] { color: var(--rdb-blue-dark); }
.rdb-nav__toggle[aria-expanded="true"] { background: var(--rdb-blue-soft); }
.rdb-nav__toggle[aria-expanded="true"] .rdb-chevron,
.rdb-lang__btn[aria-expanded="true"] .rdb-chevron { transform: rotate(180deg); }
.rdb-chevron { transition: transform .15s; flex: none; }

.rdb-lang { position: relative; }
.rdb-lang__btn {
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--rdb-text);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	min-height: 44px;
	border-radius: 10px;
	border: 1px solid var(--rdb-line-strong);
	background: #fff;
}
.rdb-lang__btn[aria-expanded="true"] { background: var(--rdb-blue-soft); }
.rdb-flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; flex: none; }
.rdb-lang__panel {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	width: 420px;
	background: #fff;
	border-radius: 20px;
	padding: 14px;
	box-shadow: 0 30px 80px rgba(14, 26, 51, .18), 0 0 0 1px var(--rdb-line);
	z-index: 50;
}
.rdb-lang__panel .rdb-eyebrow { margin: 0 8px 8px; }
.rdb-lang__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px;
}
.rdb-lang__item {
	text-decoration: none;
	font: inherit;
	font-size: 15px;
	color: var(--rdb-ink);
	border: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	min-height: 44px;
	background: transparent;
	text-align: start;
}
.rdb-lang__item:hover { background: var(--rdb-tint); color: var(--rdb-ink); }
.rdb-lang__item[aria-current="true"] { background: var(--rdb-blue-soft); }
.rdb-lang__name { flex: 1; }
.rdb-lang__tick { visibility: hidden; }
.rdb-lang__item[aria-current="true"] .rdb-lang__tick { visibility: visible; }

.rdb-signin {
	font-size: 15px;
	font-weight: 600;
	color: var(--rdb-text);
	text-decoration: none;
	flex: none;
}
.rdb-signin:hover { color: var(--rdb-blue-dark); }

.rdb-burger {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	border: 1px solid var(--rdb-line-strong);
	background: #fff;
	color: var(--rdb-text);
	cursor: pointer;
}

/* Products menu */
.rdb-products {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding-top: 4px;
}
.rdb-products__inner { max-width: var(--rdb-container); margin: 0 auto; padding: 0 24px; }
.rdb-products__card {
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 30px 80px rgba(14, 26, 51, .18), 0 0 0 1px var(--rdb-line);
	padding: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
}
.rdb-products__group {
	flex: 1 1 240px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.rdb-products__item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 12px;
	border-radius: 14px;
	text-decoration: none;
	color: var(--rdb-ink);
	transition: background .15s;
}
.rdb-products__item img { width: 40px; height: 40px; flex: none; border-radius: 12px; }
.rdb-products__item.is-active,
.rdb-products__item:hover { background: var(--rdb-tint); color: var(--rdb-ink); }
.rdb-products__text { display: flex; flex-direction: column; gap: 3px; }
.rdb-products__name { font-weight: 600; font-size: 15px; }
.rdb-products__desc { font-size: 14px; line-height: 1.4; color: var(--rdb-subtle); }

.rdb-promo {
	flex: 0 1 300px;
	min-width: 0;
	background: var(--rdb-tint);
	border-radius: 18px;
	padding: 16px;
	text-decoration: none;
	color: var(--rdb-ink);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.rdb-promo[hidden] { display: none; }
.rdb-promo:hover { color: var(--rdb-ink); }
.rdb-promo__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	background: var(--rdb-line);
}
.rdb-promo__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.rdb-promo__title { display: flex; align-items: center; gap: 10px; }
.rdb-promo__title img { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.rdb-promo__title strong { font-size: 15px; line-height: 1.3; }
.rdb-promo__text { font-size: 14px; line-height: 1.45; color: var(--rdb-muted); min-height: 40px; }
.rdb-promo__cta { font-size: 14px; color: var(--rdb-blue-dark); font-weight: 600; }

.rdb-products__foot {
	flex: 1 1 100%;
	border-top: 1px solid var(--rdb-line);
	padding-top: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	font-size: 14px;
	font-weight: 600;
}
.rdb-products__foot a { color: var(--rdb-muted); text-decoration: none; }
.rdb-products__foot a:hover { color: var(--rdb-ink); text-decoration: underline; }
.rdb-products__foot .rdb-products__all { color: var(--rdb-blue-dark); }

/* Pill */
.rdb-pill {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--rdb-line-strong);
	font-weight: 600;
	font-size: 14px;
	padding: 6px 14px 6px 6px;
	/* Concentric with the 28px icon (radius 8px) inside 6px of padding. */
	border-radius: 14px;
	color: var(--rdb-text);
}
.rdb-pill img { width: 28px; height: 28px; border-radius: 8px; flex: none; }
/* ---------- Footer (Readabler design) ---------- */
.rdb-footer { background: #fff; border-top: 1px solid var(--rdb-line); color: var(--rdb-text); }
.rdb-footer__top {
	max-width: var(--rdb-container);
	margin: 0 auto;
	padding: 56px 24px 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}
.rdb-footer__brand { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.rdb-brand--footer img { width: 30px; height: 30px; }
.rdb-brand--footer .rdb-brand__name { font-size: 20px; top: -1.5px; }
.rdb-footer__brand p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--rdb-muted); max-width: 300px; }
.rdb-lang--footer { align-self: flex-start; }
.rdb-lang--footer .rdb-lang__btn { font-size: 14px; gap: 8px; }
.rdb-lang--footer .rdb-lang__panel {
	position: absolute;
	top: auto;
	bottom: calc(100% + 8px);
	inset-inline: 0 auto;
	width: 420px;
	max-width: calc(100vw - 48px);
	max-height: 70vh;
	overflow-y: auto;
	margin-top: 0;
}
.rdb-footer__col { flex: 1 1 170px; min-width: 0; }
.rdb-footer__col:nth-of-type(1) { flex-basis: 180px; }
.rdb-footer__title {
	margin: 0 0 10px;
	font-family: var(--rdb-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rdb-subtle);
}
.rdb-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rdb-footer__col a { font-size: 15px; color: var(--rdb-text); text-decoration: none; }
.rdb-footer__col a:hover { color: var(--rdb-blue-dark); text-decoration: underline; }
.rdb-footer__status { display: inline-flex; align-items: center; gap: 8px; }
.rdb-footer__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rdb-green); }
.rdb-footer__bottom {
	max-width: var(--rdb-container);
	margin: 0 auto;
	padding: 20px 24px 32px;
	border-top: 1px solid var(--rdb-line);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	font-size: 14px;
	color: var(--rdb-subtle);
}
.rdb-footer__copy { flex: 1; margin: 0; }
.rdb-footer__bottom a { color: var(--rdb-muted); }
.rdb-footer__bottom a:hover { color: var(--rdb-ink); }

@media (max-width: 1100px) {
	.rdb-burger { display: inline-flex; }
	.rdb-header { flex-wrap: wrap; gap: 16px; }
	.rdb-header__menu {
		display: none;
		flex: 1 1 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding-bottom: 8px;
	}
	.rdb-header-wrap.is-open .rdb-header__menu { display: flex; }
	.rdb-nav { flex-direction: column; align-items: stretch; }
	.rdb-nav__link { min-height: 44px; }
	.rdb-signin { padding: 10px 12px; }
	.rdb-lang__panel { position: static; width: 100%; margin-top: 8px; }
	.rdb-products { position: static; padding: 0 0 24px; }
	.rdb-promo { display: none !important; }
}
@media (max-width: 520px) {
	.rdb-lang__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
