@font-face {
	font-family: "Newsreader Fallback";
	src: local("Georgia");
	size-adjust: 88.49%;
	ascent-override: 83.06%;
	descent-override: 29.95%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "Manrope Fallback";
	src: local("Arial");
	size-adjust: 104.14%;
	ascent-override: 102.36%;
	descent-override: 28.81%;
	line-gap-override: 0%;
}

@font-face {
	font-family: Newsreader;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/assets/fonts/newsreader-600.woff2") format("woff2");
	font-optical-sizing: auto;
}

@font-face {
	font-family: Newsreader;
	font-style: italic;
	font-weight: 600;
	font-display: swap;
	src: url("/assets/fonts/newsreader-600-italic.woff2") format("woff2");
	font-optical-sizing: auto;
}

@font-face {
	font-family: Manrope;
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: auto;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Manrope, "Manrope Fallback", system-ui, sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
	color-scheme: light;
}

img,
video,
svg,
iframe {
	max-width: 100%;
}

h1,
h2,
h3,
.wordmark,
.footer-wordmark,
.author-name,
.guide-title,
.step-num {
	font-family: Newsreader, "Newsreader Fallback", Georgia, serif;
	font-weight: 600;
	font-optical-sizing: auto;
}

h1,
h2,
h3,
p {
	margin: 0;
}

h2 {
	font-size: clamp(36px, 3.9vw, 56px);
	line-height: 1.1;
	color: var(--rust);
}

h3 {
	font-size: 28px;
	line-height: 1.15;
	color: var(--ink);
}

p,
li {
	color: inherit;
}

a {
	color: var(--rust);
}

a:hover {
	color: var(--rust-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--indigo);
	outline-offset: 2px;
}

.wrap {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.announcement {
	background: var(--indigo);
	color: var(--cream-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	text-align: center;
	padding: 10px 24px;
}

.announcement p {
	margin: 0;
}

.announcement a {
	color: var(--peach-link);
	font-weight: 600;
}

.announcement a:hover {
	color: var(--cream-text);
}

.site-header {
	background: var(--paper);
	border-bottom: 1px solid var(--rule);
}

body.has-hero .site-header {
	background: transparent;
	border-bottom: 0;
}

.header-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 30px;
	padding: 26px 0;
}

.wordmark {
	font-size: 28px;
	line-height: 1;
	color: var(--ink);
	text-decoration: none;
}

body.has-hero .wordmark,
body.has-hero .nav-desktop a,
body.has-hero .nav-details a,
body.has-hero .nav-details summary {
	color: var(--cream-text);
}

.wordmark:hover,
.nav-desktop a:hover,
.nav-details a:hover {
	color: var(--rust-dark);
}

body.has-hero .wordmark:hover,
body.has-hero .nav-desktop a:hover,
body.has-hero .nav-details a:hover,
body.has-hero .nav-details summary:hover {
	color: var(--peach-link);
}

.nav-desktop {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 30px;
	margin-left: auto;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
}

.nav-desktop a {
	color: var(--ink);
	text-decoration: none;
	padding: 10px 0;
}

.nav-details {
	display: none;
}

.header-cta {
	min-height: 46px;
	color: var(--rust);
	border-color: var(--rust);
}

body.has-hero .header-cta {
	color: var(--cream-text);
	border-color: var(--cream-text);
}

body.has-hero .header-cta:hover {
	color: var(--indigo-dark);
	background: var(--cream-text);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: var(--radius);
	border: 0;
	box-shadow: none;
	font-family: inherit;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.btn-solid {
	background: var(--rust);
	color: var(--cream-text);
	font-weight: 700;
}

.btn-solid:hover {
	background: var(--rust-dark);
	color: var(--cream-text);
}

.btn-outline {
	background: transparent;
	border: 1px solid currentColor;
	font-weight: 600;
}

.btn-outline:hover {
	color: var(--rust-dark);
}

.hero {
	background: var(--indigo-dark);
	color: var(--cream-text);
}

/* Add .hero--photo on the homepage hero when assets/img/hero.jpg and hero.webp exist. */
.hero--photo {
	background-color: var(--indigo-dark);
	background-image:
		linear-gradient(rgba(30, 32, 51, 0.55), rgba(30, 32, 51, 0.55)),
		url("/assets/img/hero.webp");
	background-size: cover;
	background-position: center;
}

.hero-copy {
	max-width: 760px;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: clamp(40px, 6vw, 96px) 0 clamp(72px, 9vw, 150px);
}

.hero h1 {
	font-size: clamp(44px, 5vw, 72px);
	line-height: 1.05;
	color: var(--cream-text);
	max-width: 760px;
}

.hero h1 em,
.band-close h2 em {
	font-style: italic;
	font-weight: 600;
}

.lead {
	font-size: clamp(18px, 1.4vw, 20px);
	line-height: 1.55;
	font-weight: 400;
	max-width: 40em;
}

.hero .lead {
	max-width: 34em;
	color: var(--cream-text);
}

.hero .btn-outline {
	color: var(--cream-text);
	border-color: var(--cream-text);
}

.hero .btn-outline:hover {
	background: var(--cream-text);
	color: var(--indigo-dark);
}

.hero-actions,
.section-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 16px;
}

.section-actions {
	justify-content: center;
	gap: 14px 24px;
	margin-top: 20px;
}

.caption {
	font-size: 14px;
	line-height: 1.45;
	font-weight: 400;
}

.hero .caption {
	color: var(--on-dark-soft);
}

.band {
	padding: clamp(64px, 7vw, 112px) 0;
}

.band-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

.band-head .lead {
	max-width: 40em;
}

.card-grid {
	width: 100%;
	margin-top: 28px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.card {
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius-card);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: left;
	color: var(--ink);
}

.pay-line {
	font-family: Manrope, "Manrope Fallback", system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.45;
	color: var(--rust);
}

.card .fit {
	font-size: 15px;
	line-height: 1.5;
	font-weight: 700;
	color: var(--ink);
}

.card .card-body,
.guide-summary {
	font-size: 15px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--ink-soft);
}

.card a {
	margin-top: auto;
	padding-top: 10px;
	font-weight: 600;
	font-size: 15px;
}

.section-note {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--ink-muted);
	text-align: center;
	max-width: 44em;
}

.band-latest {
	background: var(--lavender);
}

.guide-list {
	width: 100%;
	max-width: 880px;
	margin-top: 20px;
	display: flex;
	flex-direction: column;
}

.guide-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px 0;
	border-top: 1px solid var(--lavender-rule);
	color: var(--ink);
	text-decoration: none;
	text-align: left;
}

.guide-row:last-child {
	border-bottom: 1px solid var(--lavender-rule);
}

.guide-row:hover .guide-title {
	color: var(--rust);
}

.guide-title {
	font-size: 28px;
	line-height: 1.2;
	font-weight: 600;
	color: var(--ink);
}

.guide-summary {
	font-size: 16px;
}

.guide-meta {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--rust);
}

.step-grid {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 20px;
}

.step-card {
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius-card);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: left;
}

.step-num {
	font-size: 34px;
	line-height: 1;
	color: var(--rust);
}

.step-card strong {
	font-size: 16px;
	line-height: 1.5;
	font-weight: 700;
	color: var(--ink);
}

.step-card span {
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink-soft);
}

.step-link {
	margin-top: 16px;
	font-weight: 600;
	font-size: 16px;
}

.author-band {
	padding: 0 0 clamp(64px, 7vw, 112px);
}

.author-row {
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	padding: 32px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 32px;
}

.author-copy {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.eyebrow {
	font-family: Manrope, "Manrope Fallback", system-ui, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	color: var(--rust);
}

.author-name {
	font-size: 30px;
	line-height: 1.15;
	color: var(--ink);
}

.author-creds {
	font-size: 14px;
	line-height: 1.45;
	color: var(--ink-soft);
}

.author-row > a {
	font-weight: 600;
	font-size: 16px;
	white-space: nowrap;
}

.band-close {
	background: var(--indigo);
	color: var(--cream-text);
	padding: clamp(72px, 8vw, 128px) 0;
}

.band-close .wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}

.band-close h2 {
	color: var(--cream-text);
	max-width: 18ch;
}

.band-close .lead {
	max-width: 38em;
	color: var(--on-dark-soft);
}

.band-close .btn-solid {
	background: var(--cream-text);
	color: var(--ink);
}

.band-close .btn-solid:hover {
	background: var(--cream-text);
	color: var(--rust-dark);
}

.band-close .btn-outline {
	color: var(--cream-text);
	border-color: var(--cream-text);
}

.band-close .btn-outline:hover {
	background: var(--cream-text);
	color: var(--indigo-dark);
}

.band-close .caption {
	color: var(--on-dark-muted);
}

.site-footer {
	background: var(--paper);
	border-top: 1px solid var(--rule);
}

.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 48px 24px 32px;
}

.footer-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 32px 48px;
}

.footer-brand {
	flex: 1 1 320px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-wordmark {
	font-size: 24px;
	line-height: 1.15;
	color: var(--ink);
}

.footer-tag {
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink-soft);
	max-width: 30em;
}

.footer-signup {
	margin-top: 8px;
	max-width: 460px;
}

.footer-cols {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 56px;
	font-size: 15px;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-col a {
	color: var(--ink);
	text-decoration: none;
}

.footer-col a:hover {
	color: var(--rust);
}

.footer-legal {
	font-size: 13px;
	line-height: 1.45;
	color: var(--ink-muted);
	border-top: 1px solid var(--rule-soft);
	padding-top: 18px;
}

.newsletter-card {
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius-card);
	padding: 28px;
	margin: 32px auto;
	max-width: 68ch;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.newsletter-card h2 {
	font-size: clamp(28px, 3vw, 36px);
}

.newsletter-card p {
	color: var(--ink-soft);
	font-size: 16px;
	line-height: 1.5;
}

input,
button {
	font-family: inherit;
}

input[type="email"],
input[type="text"],
input[type="url"],
textarea,
select {
	min-height: 46px;
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	color: var(--ink);
	padding: 8px 14px;
}

.breadcrumb,
.article-breadcrumb {
	font-family: Manrope, "Manrope Fallback", system-ui, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: var(--ink-soft);
}

.breadcrumb a,
.article-breadcrumb a {
	color: var(--rust);
}

.page-container {
	padding-top: 40px;
	background: transparent;
}

body .container {
	padding-top: 40px;
}

.main-content,
.article-content {
	font-family: Manrope, "Manrope Fallback", system-ui, sans-serif;
	font-size: 18px;
	line-height: 1.65;
	color: var(--ink);
	max-width: 68ch;
}

.main-content {
	background: var(--surface);
	border: 1px solid var(--rule);
	box-shadow: none;
}

.article-container h1,
.main-content h1 {
	font-family: Newsreader, "Newsreader Fallback", Georgia, serif;
	font-weight: 600;
	font-style: normal;
	color: var(--ink);
	line-height: 1.15;
}

.article-container .article-content h2,
.main-content h2,
.article-container h2 {
	font-family: Newsreader, "Newsreader Fallback", Georgia, serif;
	font-weight: 600;
	font-style: normal;
	color: var(--rust);
	font-size: clamp(36px, 3.9vw, 56px);
	line-height: 1.1;
}

.article-container .article-content h3,
.main-content h3 {
	font-family: Newsreader, "Newsreader Fallback", Georgia, serif;
	font-weight: 600;
	color: var(--ink);
}

.article-container .article-content p,
.article-container .article-content li,
.main-content p,
.main-content li {
	font-family: Manrope, "Manrope Fallback", system-ui, sans-serif;
	font-size: 18px;
	line-height: 1.65;
	color: var(--ink);
}

.table-scroll,
.table-responsive {
	overflow-x: auto;
	max-width: 100%;
}

.table-scroll table,
.article-container table,
.main-content table {
	background: var(--surface);
	border-collapse: collapse;
}

.table-scroll th,
.table-scroll td,
.article-container th,
.article-container td,
.main-content th,
.main-content td {
	border: 1px solid var(--rule);
	background: var(--surface);
	color: var(--ink);
}

.tldr-box,
.cta-box {
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius-card);
	color: var(--ink);
}

.tldr-box p,
.tldr-box p:first-child,
.cta-box h3,
.cta-box p {
	background: transparent;
	color: var(--ink);
}

.cta-button {
	background: var(--rust);
	color: var(--cream-text);
	border-radius: var(--radius);
}

.cta-button:hover {
	background: var(--rust-dark);
	color: var(--cream-text);
}

.toc-sidebar {
	background: var(--surface);
	border-color: var(--rule);
}

.toc-sidebar a,
.breadcrumb a,
.article-breadcrumb a {
	color: var(--rust);
}

@media (max-width: 720px) {
	.nav-desktop {
		display: none;
	}

	.header-bar {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 12px;
	}

	.wordmark {
		margin-right: auto;
	}

	.nav-details {
		display: block;
		position: relative;
	}

	.nav-details summary {
		list-style: none;
		cursor: pointer;
		min-height: 48px;
		display: inline-flex;
		align-items: center;
		font-size: 16px;
		font-weight: 500;
		color: var(--ink);
	}

	.nav-details summary::-webkit-details-marker {
		display: none;
	}

	.nav-details nav {
		position: absolute;
		right: 0;
		top: 100%;
		z-index: 20;
		min-width: 220px;
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 12px 16px 16px;
		background: var(--paper);
		border: 1px solid var(--rule);
		border-radius: var(--radius-card);
	}

	body.has-hero .nav-details nav {
		background: var(--indigo-dark);
		border-color: var(--indigo);
	}

	.nav-details a {
		color: var(--ink);
		text-decoration: none;
		font-size: 16px;
		font-weight: 500;
	}

	.card-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
