:root {
	--color-brand: #a82931;
	--color-brand-dark: #7f1d24;
	--color-brand-soft: #f8e9e9;
	--color-ink: #1d2524;
	--color-text: #4f5957;
	--color-muted: #f4f1eb;
	--color-line: #dedbd4;
	--color-white: #fff;
	--color-green: #dfe9d8;
	--font-display: "Manrope", sans-serif;
	--font-body: "DM Sans", sans-serif;
	--shadow-card: 0 18px 45px rgba(40, 32, 27, 0.08);
	--shell: 1180px;
	--radius: 14px;
}

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

html {
	scroll-behavior: smooth;
}

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

img,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	color: var(--color-ink);
	font-family: var(--font-display);
	line-height: 1.12;
}

h1 {
	font-size: clamp(2.6rem, 5.5vw, 4.9rem);
	letter-spacing: -0.055em;
}

h2 {
	font-size: clamp(2rem, 3.5vw, 3.2rem);
	letter-spacing: -0.04em;
}

h3 {
	font-size: 1.25rem;
	letter-spacing: -0.025em;
}

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

.skip-link:focus {
	position: fixed;
	z-index: 1000;
	top: 1rem;
	left: 1rem;
	padding: 0.8rem 1rem;
	background: var(--color-white);
	color: var(--color-brand);
	border: 2px solid var(--color-brand);
	border-radius: 6px;
}

.site-shell {
	width: min(calc(100% - 40px), var(--shell));
	margin-inline: auto;
}

.utility-bar {
	background: var(--color-brand);
	color: var(--color-white);
	font-size: 0.73rem;
	font-weight: 600;
	letter-spacing: 0.025em;
}

.utility-bar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 34px;
}

.utility-bar p {
	margin: 0;
}

.utility-bar a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-header {
	position: relative;
	z-index: 20;
	background: var(--color-white);
	border-bottom: 1px solid rgba(222, 219, 212, 0.72);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 78px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex-shrink: 0;
}

.brand__mark {
	width: 36px;
	height: 36px;
	color: var(--color-brand);
}

.brand__mark svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.brand__mark .brand__check {
	fill: none;
	stroke: var(--color-white);
	stroke-width: 3.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.brand__name {
	color: var(--color-ink);
	font-family: var(--font-display);
	font-size: 1.36rem;
	font-weight: 800;
	letter-spacing: -0.045em;
}

.brand__name span {
	color: var(--color-brand);
}

.brand__logo {
	width: auto;
	height: 48px;
	max-height: 48px;
}

.brand--footer .brand__logo {
	height: 44px;
	max-height: 44px;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.2vw, 2rem);
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-nav a {
	position: relative;
	color: var(--color-ink);
	font-size: 0.91rem;
	font-weight: 600;
}

.site-nav a::after {
	position: absolute;
	right: 0;
	bottom: -9px;
	left: 0;
	height: 2px;
	background: var(--color-brand);
	content: "";
	transform: scaleX(0);
	transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
	transform: scaleX(1);
}

.site-header__actions {
	display: flex;
	align-items: center;
}

.icon-button,
.menu-toggle {
	display: inline-grid;
	place-items: center;
	background: transparent;
	border: 0;
	color: var(--color-ink);
	cursor: pointer;
}

.icon-button {
	width: 42px;
	height: 42px;
	border-radius: 50%;
}

.icon-button:hover {
	background: var(--color-muted);
}

.icon-button svg {
	width: 21px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.8;
}

.menu-toggle {
	display: none;
	grid-auto-flow: column;
	gap: 7px;
	font-weight: 700;
}

.menu-toggle svg {
	width: 22px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2;
}

.header-search {
	padding: 18px 0;
	background: var(--color-muted);
	border-top: 1px solid var(--color-line);
}

.header-search .search-form {
	display: flex;
	max-width: 680px;
	margin: auto;
}

.header-search .search-field {
	flex: 1;
	min-width: 0;
	padding: 13px 16px;
	border: 1px solid var(--color-line);
	border-radius: 8px 0 0 8px;
}

.header-search .search-submit {
	padding: 0 22px;
	background: var(--color-brand);
	border: 0;
	border-radius: 0 8px 8px 0;
	color: var(--color-white);
	cursor: pointer;
	font-weight: 700;
}

.hero {
	overflow: hidden;
	background: #f7f4ee;
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	min-height: 575px;
	padding-block: 65px;
}

.eyebrow {
	margin-bottom: 14px;
	color: var(--color-brand);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.hero h1 {
	max-width: 730px;
	margin-bottom: 24px;
}

.hero h1 span {
	color: var(--color-brand);
}

.hero__lede {
	max-width: 600px;
	margin-bottom: 31px;
	color: var(--color-text);
	font-size: clamp(1.04rem, 1.8vw, 1.18rem);
	line-height: 1.65;
}

.hero-search {
	position: relative;
	display: flex;
	max-width: 600px;
	padding: 7px;
	background: var(--color-white);
	border: 1px solid #d8d3cb;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(49, 40, 35, 0.08);
}

.hero-search svg {
	width: 21px;
	margin-left: 10px;
	fill: none;
	stroke: #7b8482;
	stroke-linecap: round;
	stroke-width: 1.8;
}

.hero-search input {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	background: transparent;
	border: 0;
	outline: 0;
	color: var(--color-ink);
}

.hero-search button,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 7px;
	cursor: pointer;
	font-weight: 700;
	transition: background 160ms ease, transform 160ms ease;
}

.hero-search button,
.button--primary {
	background: var(--color-brand);
	color: var(--color-white);
}

.hero-search button:hover,
.button--primary:hover {
	background: var(--color-brand-dark);
	transform: translateY(-1px);
}

.hero__popular {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 13px;
	margin-top: 15px;
	font-size: 0.78rem;
}

.hero__popular span {
	color: #6e7775;
}

.hero__popular a {
	color: var(--color-ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: #c7c2ba;
	text-underline-offset: 3px;
}

.hero__visual {
	position: relative;
	min-height: 410px;
}

.hero__visual::before {
	position: absolute;
	top: 20px;
	right: -20px;
	width: 380px;
	height: 380px;
	background: var(--color-brand);
	border-radius: 50%;
	content: "";
}

.hero-card {
	position: absolute;
	filter: drop-shadow(0 20px 20px rgba(71, 41, 39, 0.17));
}

.hero-card--box {
	z-index: 3;
	right: 52px;
	bottom: 20px;
	width: 205px;
	color: var(--color-brand-dark);
}

.hero-card--box svg {
	fill: #c9956b;
	stroke: #6e372a;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.2;
}

.hero-card--box path:first-child {
	fill: #e2b185;
}

.hero-card--clipboard {
	z-index: 4;
	top: 34px;
	left: 30px;
	width: 185px;
	height: 234px;
	padding: 75px 28px 20px;
	background: #f7e5cb;
	border: 5px solid #644137;
	border-radius: 16px;
	transform: rotate(-6deg);
}

.hero-card__clip {
	position: absolute;
	top: -17px;
	left: 50%;
	width: 85px;
	height: 47px;
	background: #b6bbb7;
	border: 4px solid #5b625e;
	border-radius: 8px;
	transform: translateX(-50%);
}

.hero-card__line {
	height: 4px;
	margin-bottom: 19px;
	background: #d8c2a6;
	border-radius: 3px;
}

.hero-card__line:nth-child(3) {
	width: 78%;
}

.hero-card__check {
	position: absolute;
	right: 20px;
	bottom: 22px;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	background: #5b7450;
	border-radius: 50%;
	color: var(--color-white);
	font-size: 1.5rem;
	font-weight: 700;
}

.hero-card--tape {
	z-index: 6;
	right: 13px;
	bottom: 61px;
	width: 92px;
	height: 92px;
	background: #243431;
	border: 12px solid #bfc9bd;
	border-radius: 50%;
}

.hero-card--tape span {
	display: block;
	width: 35px;
	height: 35px;
	margin: 17px;
	background: #f7f4ee;
	border-radius: 50%;
}

.hero-card--pencil {
	z-index: 5;
	top: 76px;
	right: 7px;
	width: 182px;
	height: 25px;
	background: #e0b52d;
	border: 4px solid #694827;
	border-radius: 6px;
	transform: rotate(38deg);
}

.hero-card--pencil::before {
	position: absolute;
	right: -30px;
	top: -4px;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 31px solid #d5b393;
	content: "";
}

.hero-card--pencil span {
	position: absolute;
	left: -18px;
	top: -4px;
	width: 23px;
	height: 25px;
	background: #dc7773;
	border: 4px solid #694827;
	border-radius: 6px 0 0 6px;
}

.hero-spark {
	position: absolute;
	z-index: 8;
	color: #f3c24c;
	font-size: 2rem;
}

.hero-spark--one {
	top: 13px;
	left: 12px;
}

.hero-spark--two {
	right: -4px;
	bottom: 8px;
}

.hero__trust {
	background: var(--color-ink);
	color: #dfe4e2;
}

.hero__trust .site-shell {
	display: flex;
	justify-content: center;
	gap: clamp(2rem, 7vw, 6rem);
	padding-block: 17px;
	font-size: 0.82rem;
}

.hero__trust strong {
	margin-right: 5px;
	color: var(--color-white);
	font-family: var(--font-display);
	font-size: 1rem;
}

.section {
	padding-block: clamp(70px, 9vw, 110px);
}

.section--muted {
	background: #f7f5f0;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 38px;
}

.section-heading h2 {
	margin-bottom: 0;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-brand);
	font-size: 0.88rem;
	font-weight: 800;
}

.text-link span {
	font-size: 1.15em;
	transition: transform 160ms ease;
}

.text-link:hover span {
	transform: translateX(4px);
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--color-line);
	border-left: 1px solid var(--color-line);
}

.category-card {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	align-items: center;
	gap: 18px;
	min-height: 124px;
	padding: 25px;
	border-right: 1px solid var(--color-line);
	border-bottom: 1px solid var(--color-line);
	transition: background 160ms ease, color 160ms ease;
}

.category-card:hover {
	background: var(--color-brand);
	color: var(--color-white);
}

.category-card__icon {
	display: grid;
	width: 56px;
	height: 56px;
	place-items: center;
	background: var(--color-brand-soft);
	border-radius: 50%;
	color: var(--color-brand);
}

.category-card:hover .category-card__icon {
	background: rgba(255, 255, 255, 0.14);
	color: var(--color-white);
}

.category-card__icon svg {
	width: 31px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.2;
}

.category-card strong,
.category-card small {
	display: block;
}

.category-card strong {
	margin-bottom: 4px;
	color: var(--color-ink);
	font-family: var(--font-display);
	font-size: 1.03rem;
}

.category-card:hover strong {
	color: var(--color-white);
}

.category-card small {
	color: #7b8482;
	font-size: 0.75rem;
}

.category-card:hover small {
	color: rgba(255, 255, 255, 0.74);
}

.category-card__arrow {
	color: var(--color-brand);
	font-size: 1.25rem;
}

.category-card:hover .category-card__arrow {
	color: var(--color-white);
}

.editorial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.content-card {
	overflow: hidden;
	background: var(--color-white);
	border: 1px solid #e6e1d9;
	border-radius: var(--radius);
	box-shadow: 0 2px 0 rgba(45, 38, 33, 0.02);
	transition: box-shadow 200ms ease, transform 200ms ease;
}

.content-card:hover {
	box-shadow: var(--shadow-card);
	transform: translateY(-4px);
}

.content-card__image {
	display: block;
	aspect-ratio: 1.55;
	overflow: hidden;
}

.content-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.content-card__illustration,
.content-card__placeholder {
	display: grid;
	place-items: center;
}

.content-card__illustration svg,
.content-card__placeholder svg {
	width: 82px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.content-card__illustration--printer,
.content-card__placeholder--buying-guide {
	background: #dfdacd;
	color: #4a5551;
}

.content-card__illustration--cleaning,
.content-card__placeholder--post {
	background: #dbe5d4;
	color: #54704c;
}

.content-card__illustration--shipping,
.content-card__placeholder--comparison {
	background: #edd7c2;
	color: #8c5541;
}

.content-card__placeholder--supply-tool {
	background: var(--color-brand-soft);
	color: var(--color-brand);
}

.content-card__body {
	padding: 25px;
}

.content-card__meta {
	display: flex;
	gap: 7px;
	margin-bottom: 12px;
	color: #7d8583;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.content-card__meta span:first-child {
	color: var(--color-brand);
}

.content-card h3 {
	margin-bottom: 11px;
	font-size: 1.23rem;
}

.content-card h3 a:hover {
	color: var(--color-brand);
}

.content-card p {
	margin-bottom: 18px;
	color: #68716f;
	font-size: 0.88rem;
	line-height: 1.6;
}

.tools-section {
	background: var(--color-ink);
	color: #cfd5d3;
}

.tools-section h2 {
	color: var(--color-white);
}

.tools-section__grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(3rem, 8vw, 8rem);
	align-items: center;
}

.tools-section__intro p:not(.eyebrow) {
	max-width: 430px;
	margin-bottom: 27px;
}

.tool-list {
	border-top: 1px solid #48514f;
}

.tool-row {
	display: grid;
	grid-template-columns: 52px 1fr auto;
	align-items: center;
	gap: 18px;
	padding: 26px 3px;
	border-bottom: 1px solid #48514f;
	transition: padding 160ms ease;
}

.tool-row:hover {
	padding-left: 12px;
}

.tool-row__number {
	color: #8d9996;
	font-family: var(--font-display);
	font-size: 0.78rem;
}

.tool-row strong,
.tool-row small {
	display: block;
}

.tool-row strong {
	margin-bottom: 5px;
	color: var(--color-white);
	font-family: var(--font-display);
	font-size: 1.05rem;
}

.tool-row small {
	color: #9da7a5;
	font-size: 0.78rem;
}

.tool-row__arrow {
	color: var(--color-brand);
	font-size: 1.35rem;
}

.editorial-promise {
	padding-block: 75px;
	background: #e6ecde;
}

.editorial-promise__grid {
	display: grid;
	grid-template-columns: 155px 1fr auto;
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
}

.editorial-promise__stamp {
	color: #5b744f;
}

.editorial-promise__stamp svg {
	width: 135px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.7;
}

.editorial-promise__stamp svg path:first-child {
	fill: rgba(91, 116, 79, 0.07);
}

.editorial-promise h2 {
	margin-bottom: 12px;
}

.editorial-promise p:not(.eyebrow) {
	max-width: 670px;
	margin-bottom: 0;
}

.newsletter {
	padding-block: 58px;
	background: var(--color-brand);
	color: rgba(255, 255, 255, 0.8);
}

.newsletter__inner {
	display: grid;
	grid-template-columns: 1fr 0.9fr;
	align-items: center;
	gap: clamp(2rem, 7vw, 6rem);
}

.newsletter .eyebrow {
	color: #f1c5c8;
}

.newsletter h2 {
	margin-bottom: 8px;
	color: var(--color-white);
	font-size: clamp(2rem, 4vw, 3rem);
}

.newsletter p {
	margin-bottom: 0;
}

.newsletter__form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 9px;
}

.newsletter__form input {
	min-width: 0;
	padding: 0 16px;
	background: rgba(255, 255, 255, 0.13);
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 7px;
	color: var(--color-white);
	outline: none;
}

.newsletter__form input::placeholder {
	color: rgba(255, 255, 255, 0.65);
}

.newsletter__form input:focus {
	border-color: var(--color-white);
}

.button--light {
	background: var(--color-white);
	color: var(--color-brand);
}

.button--light:hover {
	background: #f6eeee;
}

.form-status {
	grid-column: 1 / -1;
	min-height: 24px;
	font-size: 0.8rem;
}

.site-footer {
	padding-top: 65px;
	background: #17201f;
	color: #aeb8b6;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.8fr 0.7fr 0.7fr;
	gap: 4rem;
	padding-bottom: 55px;
}

.brand--footer .brand__name {
	color: var(--color-white);
}

.site-footer__brand p {
	max-width: 395px;
	margin-top: 19px;
	font-size: 0.9rem;
}

.site-footer h2 {
	margin-bottom: 18px;
	color: var(--color-white);
	font-size: 0.81rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-footer ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-footer li + li {
	margin-top: 10px;
}

.site-footer li a {
	font-size: 0.86rem;
}

.site-footer li a:hover {
	color: var(--color-white);
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	padding-block: 21px;
	border-top: 1px solid #35403e;
	font-size: 0.75rem;
}

.site-footer__bottom p {
	margin: 0;
}

.archive-hero {
	padding-block: clamp(65px, 8vw, 100px);
	background: #f7f4ee;
	text-align: center;
}

.archive-hero h1 {
	max-width: 850px;
	margin: 0 auto 20px;
	font-size: clamp(2.5rem, 5vw, 4rem);
}

.archive-hero > .site-shell > p:last-child {
	max-width: 650px;
	margin: 0 auto;
	font-size: 1.05rem;
}

.archive-hero--tools {
	background: var(--color-ink);
	color: #bcc5c2;
}

.archive-hero--tools h1 {
	color: var(--color-white);
}

.archive-layout {
	padding-block: 75px 100px;
}

.editorial-grid--archive {
	grid-template-columns: repeat(3, 1fr);
}

.empty-state {
	max-width: 620px;
	padding: 70px 30px;
	margin: auto;
	text-align: center;
}

.navigation.pagination {
	margin-top: 50px;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: grid;
	min-width: 42px;
	height: 42px;
	place-items: center;
	padding-inline: 10px;
	border: 1px solid var(--color-line);
	border-radius: 6px;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--color-brand);
	border-color: var(--color-brand);
	color: var(--color-white);
}

.article__header {
	padding-block: 60px;
	background: #f7f4ee;
}

.article__header-inner {
	max-width: 920px;
}

.article__breadcrumbs {
	display: flex;
	gap: 8px;
	margin-bottom: 35px;
	color: #7a8381;
	font-size: 0.78rem;
}

.article__breadcrumbs a:hover {
	color: var(--color-brand);
}

.article__header h1 {
	margin-bottom: 20px;
	font-size: clamp(2.35rem, 5vw, 4.3rem);
}

.article__dek {
	max-width: 760px;
	font-size: 1.15rem;
}

.article__byline {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: #717a78;
	font-size: 0.79rem;
}

.article__featured {
	max-width: 1100px;
	margin-top: 55px;
}

.article__featured img {
	width: 100%;
	border-radius: var(--radius);
}

.article__layout {
	display: grid;
	grid-template-columns: 210px minmax(0, 720px);
	gap: 65px;
	justify-content: center;
	padding-block: 70px 100px;
}

.article__aside {
	position: sticky;
	top: 25px;
	align-self: start;
}

.article__aside > p {
	color: var(--color-ink);
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
}

.article__aside nav {
	display: grid;
	gap: 10px;
	padding-left: 15px;
	border-left: 1px solid var(--color-line);
}

.article__aside a {
	color: #74807d;
	font-size: 0.78rem;
	line-height: 1.4;
}

.article__aside a:hover {
	color: var(--color-brand);
}

.article__content {
	color: #3d4745;
	font-size: 1.04rem;
}

.article__content h2 {
	margin-top: 2.2em;
	margin-bottom: 0.7em;
	font-size: 2rem;
}

.article__content h3 {
	margin-top: 1.9em;
	margin-bottom: 0.7em;
}

.article__content a {
	color: var(--color-brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.article__content img {
	height: auto;
	border-radius: 9px;
}

.affiliate-note {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 11px;
	padding: 16px 18px;
	margin-bottom: 35px;
	background: var(--color-brand-soft);
	border-left: 3px solid var(--color-brand);
	font-size: 0.78rem;
}

.affiliate-note svg {
	width: 20px;
	fill: none;
	stroke: var(--color-brand);
	stroke-linecap: round;
	stroke-width: 1.8;
}

.affiliate-note p {
	margin: 0;
}

.calculators {
	padding-block: 70px 100px;
}

.calculator-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 28px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.calculator-tab {
	flex: 0 0 auto;
	padding: 10px 17px;
	background: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: 999px;
	color: var(--color-ink);
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 700;
}

.calculator-tab.is-active {
	background: var(--color-brand);
	border-color: var(--color-brand);
	color: var(--color-white);
}

.calculator {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(3rem, 8vw, 7rem);
	padding: clamp(30px, 6vw, 65px);
	background: #f7f4ee;
	border-radius: var(--radius);
}

.calculator__number {
	color: var(--color-brand);
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.calculator h2 {
	margin-top: 12px;
	margin-bottom: 18px;
}

.calculator__form {
	display: grid;
	gap: 17px;
	padding: 28px;
	background: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: 10px;
	box-shadow: var(--shadow-card);
}

.calculator__form label {
	display: grid;
	gap: 6px;
	color: var(--color-ink);
	font-size: 0.78rem;
	font-weight: 700;
}

.calculator__form input {
	width: 100%;
	padding: 12px 13px;
	border: 1px solid #cfcac2;
	border-radius: 6px;
	outline: none;
}

.calculator__form input:focus {
	border-color: var(--color-brand);
	box-shadow: 0 0 0 3px rgba(168, 41, 49, 0.1);
}

.field-grid {
	display: grid;
	gap: 12px;
}

.field-grid--three {
	grid-template-columns: repeat(3, 1fr);
}

.field-grid--two {
	grid-template-columns: repeat(2, 1fr);
}

.calculator__result {
	display: block;
	min-height: 72px;
	padding: 16px;
	background: #edf2e9;
	border-radius: 7px;
	color: #36502f;
	font-size: 0.9rem;
	font-weight: 700;
}

.calculator-note {
	max-width: 750px;
	padding: 20px;
	margin: 28px auto 0;
	text-align: center;
}

.calculator-note strong {
	color: var(--color-ink);
}

.calculator-note p {
	margin: 4px 0 0;
	font-size: 0.85rem;
}

@media (max-width: 980px) {
	.site-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		padding: 20px;
		background: var(--color-white);
		border-bottom: 1px solid var(--color-line);
		box-shadow: var(--shadow-card);
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.site-nav a {
		display: block;
		padding: 11px 0;
	}

	.menu-toggle {
		display: inline-grid;
	}

	.hero__grid {
		grid-template-columns: 1fr 0.8fr;
		min-height: auto;
	}

	.hero__visual {
		transform: scale(0.82);
		transform-origin: center;
	}

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

	.editorial-grid,
	.editorial-grid--archive {
		grid-template-columns: repeat(2, 1fr);
	}

	.editorial-grid .content-card:last-child {
		display: none;
	}

	.editorial-promise__grid {
		grid-template-columns: 115px 1fr;
	}

	.editorial-promise__grid > .text-link {
		grid-column: 2;
	}

	.article__layout {
		grid-template-columns: minmax(0, 720px);
	}

	.article__aside {
		display: none;
	}
}

@media (max-width: 720px) {
	.site-shell {
		width: min(calc(100% - 32px), var(--shell));
	}

	.utility-bar__inner {
		justify-content: center;
	}

	.utility-bar a {
		display: none;
	}

	.site-header__inner {
		min-height: 68px;
	}

	.icon-button {
		display: none;
	}

	.menu-toggle span {
		display: none;
	}

	.hero__grid {
		display: block;
		padding-block: 55px 40px;
	}

	.hero__visual {
		display: none;
	}

	.hero-search {
		display: grid;
		grid-template-columns: 30px 1fr;
	}

	.hero-search button {
		grid-column: 1 / -1;
		width: 100%;
		margin-top: 3px;
	}

	.hero__popular {
		line-height: 1.5;
	}

	.hero__trust .site-shell {
		justify-content: flex-start;
		gap: 0;
		overflow-x: auto;
	}

	.hero__trust span {
		flex: 0 0 auto;
		padding-right: 28px;
	}

	.section-heading {
		display: block;
	}

	.text-link--desktop {
		display: none;
	}

	.category-grid,
	.editorial-grid,
	.editorial-grid--archive,
	.tools-section__grid,
	.newsletter__inner,
	.site-footer__grid,
	.calculator {
		grid-template-columns: 1fr;
	}

	.category-grid {
		border-left: 0;
	}

	.category-card {
		border-left: 1px solid var(--color-line);
	}

	.editorial-grid .content-card:last-child {
		display: block;
	}

	.tools-section__grid {
		gap: 3rem;
	}

	.editorial-promise__grid {
		grid-template-columns: 78px 1fr;
		gap: 22px;
	}

	.editorial-promise__stamp svg {
		width: 78px;
	}

	.editorial-promise__grid > .text-link {
		grid-column: 1 / -1;
	}

	.newsletter__inner {
		gap: 25px;
	}

	.newsletter__form {
		grid-template-columns: 1fr;
	}

	.newsletter__form input {
		min-height: 49px;
	}

	.site-footer__grid {
		gap: 2.5rem;
	}

	.site-footer__bottom {
		display: block;
	}

	.site-footer__bottom p + p {
		margin-top: 7px;
	}

	.article__header {
		padding-block: 45px;
	}

	.article__breadcrumbs {
		margin-bottom: 25px;
	}

	.article__layout {
		padding-block: 50px 75px;
	}

	.calculators {
		padding-block: 45px 75px;
	}

	.calculator {
		gap: 2rem;
		padding: 25px 20px;
	}

	.calculator__form {
		padding: 20px;
	}

	.field-grid--three,
	.field-grid--two {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
