/* ==========================================================================
   Planesadvisor — rules glossary
   A restrained, print-inspired theme: warm paper, ink serif type, hairline
   rules and statute-style numbering. Single stylesheet, no build step.
   ========================================================================== */

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

:root {
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
		Georgia, "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
		Arial, sans-serif;
	--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
		"Liberation Mono", monospace;

	--paper: #fcfbf8;
	--paper-raised: #ffffff;
	--paper-sunk: #f6f3ea;

	--ink: #1b1a18;
	--ink-soft: #56514a;
	--ink-faint: #867f73;

	--rule: #e3dccd;
	--rule-strong: #c4b9a3;

	--accent: #8a1c2b;
	--accent-ink: #6c1420;
	--link: #1d3f66;
	--highlight: #f5efdf;

	--radius: 3px;
	--measure: 74ch;
}

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

body {
	margin: 0;
	background-color: var(--paper);
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-kerning: normal;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--highlight);
	color: var(--ink);
}

/* --------------------------------------------------------------------------
   Links & focus
   -------------------------------------------------------------------------- */

a {
	color: var(--link);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--accent);
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 0.5rem 1rem;
	background: var(--ink);
	color: #fff;
	font-family: var(--sans);
	font-size: 0.8125rem;
	text-decoration: none;
}

.skip-link:focus {
	left: 0;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.masthead {
	background: var(--paper);
	border-bottom: 3px double var(--rule-strong);
}

.masthead__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	max-width: var(--measure);
	margin: 0 auto;
	padding: 1.6rem 1.5rem 1.25rem;
}

.wordmark {
	--logo-planes: var(--ink);
	--logo-advisor: var(--ink);
	display: flex;
	flex-direction: column;
	color: var(--ink);
	text-decoration: none;
}

.wordmark:hover {
	color: var(--ink);
}

.wordmark__name {
	font-size: 1.625rem;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.01em;
}

/* Wordmark colour themes. A modifier sets the two custom properties the name
   halves consume; "split" colours Planes red and Advisor blue. */
.wordmark__planes {
	color: var(--logo-planes);
}

.wordmark__advisor {
	color: var(--logo-advisor);
}

.wordmark--red {
	--logo-planes: #a3231f;
	--logo-advisor: #a3231f;
}

.wordmark--blue {
	--logo-planes: #1d4f91;
	--logo-advisor: #1d4f91;
}

.wordmark--green {
	--logo-planes: #2f6b3a;
	--logo-advisor: #2f6b3a;
}

.wordmark--white {
	--logo-planes: #ffffff;
	--logo-advisor: #ffffff;
}

.wordmark--black {
	--logo-planes: var(--ink);
	--logo-advisor: var(--ink);
}

.wordmark--split {
	--logo-planes: #a3231f;
	--logo-advisor: #1d4f91;
}

/* Pure white would vanish on the cream paper, so outline it in ink. text-shadow
   is inherited, letting one rule cover both halves. */
.wordmark--white .wordmark__name {
	text-shadow: -1px -1px 0 var(--ink), 1px -1px 0 var(--ink), -1px 1px 0 var(--ink), 1px 1px 0 var(--ink);
}

.wordmark__tagline {
	margin-top: 0.35rem;
	font-family: var(--sans);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.site-nav {
	display: flex;
	gap: 1.5rem;
}

.site-nav a {
	padding-bottom: 0.2rem;
	border-bottom: 2px solid transparent;
	font-family: var(--sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-soft);
	text-decoration: none;
}

.site-nav a:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

/* Signed-in account: the display name plus an inline logout button. */
.site-nav__user {
	font-family: var(--sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink);
}

.site-nav__logout {
	margin: 0;
}

.link-button {
	padding: 0 0 0.2rem;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	font-family: var(--sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-soft);
	cursor: pointer;
}

.link-button:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   Page frame
   -------------------------------------------------------------------------- */

.page {
	max-width: var(--measure);
	margin: 0 auto;
	padding: 2.5rem 1.5rem 1rem;
}

.page__header {
	margin-bottom: 1.75rem;
}

.page__title {
	margin: 0;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--rule-strong);
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.page__title--sub {
	font-size: 1.5rem;
}

/* Section-page heading acts as a permalink; keep its type styling and only
   reveal the link affordance on hover/focus. */
.heading-link {
	color: inherit;
	text-decoration: none;
}

.heading-link:hover,
.heading-link:focus-visible {
	color: var(--accent);
	text-decoration: underline;
}

.page__lede {
	margin: 0.75rem 0 0;
	color: var(--ink-soft);
}

.lede {
	color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Toolbar (jump + search)
   -------------------------------------------------------------------------- */

.toolbar {
	display: grid;
	gap: 1rem;
	margin: 0 0 1.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--rule);
}

@media (min-width: 40rem) {
	.toolbar {
		grid-template-columns: minmax(13rem, 19rem) minmax(0, 1fr);
		align-items: end;
	}
}

.label {
	display: block;
	margin-bottom: 0.4rem;
	font-family: var(--sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

select,
input[type="search"],
input[type="email"],
input[type="password"] {
	width: 100%;
	padding: 0.55rem 0.7rem;
	font: inherit;
	color: var(--ink);
	background: var(--paper-raised);
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
}

input[type="search"]::-webkit-search-cancel-button {
	cursor: pointer;
}

select:focus,
input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(138, 28, 43, 0.12);
}

/* --------------------------------------------------------------------------
   Messages
   -------------------------------------------------------------------------- */

.alert {
	margin: 0 0 1.5rem;
	padding: 0.75rem 1rem;
	border-left: 3px solid var(--accent);
	background: #fbeff0;
	color: var(--accent-ink);
}

.notice {
	margin: 0.75rem 0 0;
	font-style: italic;
	color: var(--ink-soft);
}

.empty {
	color: var(--ink-soft);
	font-style: italic;
}

.result-count {
	margin: 0 0 1.25rem;
	font-family: var(--sans);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.backlink {
	margin: 0 0 1.25rem;
	font-family: var(--sans);
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
}

.backlink a {
	text-decoration: none;
}

.backlink a:hover {
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Section & rule pager + back-to-top
   -------------------------------------------------------------------------- */

.pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin: 2.5rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rule);
}

.pager__link {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	background: var(--paper-raised);
	color: var(--ink);
	text-decoration: none;
}

.pager__link--next {
	text-align: right;
}

.pager__link:hover {
	border-color: var(--accent);
	background: var(--highlight);
	color: var(--accent-ink);
}

.pager__link--empty {
	border-color: transparent;
	background: none;
}

.pager__eyebrow {
	font-family: var(--sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.pager__title {
	font-size: 0.9375rem;
	line-height: 1.3;
}

.scroll-top {
	margin: 1.5rem 0 0;
	text-align: center;
}

.scroll-top__button {
	padding: 0.45rem 0.9rem;
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	background: var(--paper-raised);
	color: var(--ink-soft);
	font-family: var(--sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.scroll-top__button:hover {
	border-color: var(--accent);
	background: var(--highlight);
	color: var(--accent-ink);
}

/* --------------------------------------------------------------------------
   All-sections index
   -------------------------------------------------------------------------- */

.section-heading {
	margin: 0 0 1.5rem;
	font-family: var(--sans);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

/* Each chapter is a native <details> disclosure: collapsed to a chapter
   heading by default, expanded to reveal its sections. The marker is drawn
   with a rotated triangle so it works across browsers. */
.chapter {
	margin-bottom: 1.25rem;
}

.chapter__title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--rule);
	font-family: var(--sans);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-ink);
	cursor: pointer;
	list-style: none;
}

.chapter__title::-webkit-details-marker {
	display: none;
}

.chapter__title::before {
	content: "";
	width: 0;
	height: 0;
	border-top: 0.32em solid transparent;
	border-bottom: 0.32em solid transparent;
	border-left: 0.42em solid currentColor;
	transition: transform 0.15s ease;
}

.chapter[open] > .chapter__title::before {
	transform: rotate(90deg);
}

.chapter__title:hover {
	color: var(--link);
}

.chapter[open] > .sections {
	margin-top: 0.25rem;
}

.sections {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sections__item {
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--rule);
}

.sections__item:last-child {
	border-bottom: 0;
}

.sections__item a {
	flex: 1 1 auto;
	display: block;
	padding: 0.55rem 0.55rem;
	color: var(--link);
	text-decoration: none;
}

.sections__item a:hover {
	background: var(--highlight);
	color: var(--accent-ink);
}

/* The section copy-link button sits at the end of the row and brightens on
   hover, mirroring the rule copy-link affordance. */
.section__link {
	margin-right: 0.55rem;
}

.sections__item:hover .section__link,
.section__link:focus-visible {
	opacity: 1;
	color: var(--accent);
}

/* Section-page heading: the copy-link button floats at the end of the title. */
.page__title .section__link {
	margin-top: 0.35rem;
}

.page__title:hover .section__link {
	opacity: 1;
	color: var(--accent);
}

/* --------------------------------------------------------------------------
   Rules & sub-rules
   -------------------------------------------------------------------------- */

.rules {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rule {
	padding: 0.55rem 0;
	border-top: 1px solid var(--rule);
}

.rule:first-child {
	border-top: 0;
}

.rule__body {
	display: block;
	padding-left: 5rem;
	text-indent: -5rem;
}

.rules strong {
	margin-right: 0.35rem;
	font-family: var(--mono);
	font-size: 0.92em;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--accent);
}

/* The rule number is a deep link to /rules?rule=<id>; inherit the accent
   number styling and only underline it as a link affordance. */
.rule__id {
	color: inherit;
	text-decoration: none;
}

.rule__id:hover strong,
.rule__id:focus-visible strong {
	text-decoration: underline;
}

.rule__refs {
	color: var(--ink-soft);
	font-style: italic;
}

/* Cross-reference links inside rule text read as links but with a dotted
   underline, so they sit lightly within the prose. */
.rule-ref {
	text-decoration: underline dotted;
	text-underline-offset: 2px;
}

.rule-ref:hover,
.rule-ref:focus-visible {
	text-decoration-style: solid;
}

.rule__refs .rule-ref {
	font-style: italic;
}

.rule__link {
	float: right;
	padding: 0.15rem 0.3rem;
	border: 0;
	border-radius: var(--radius);
	background: none;
	color: var(--ink-faint);
	font: inherit;
	font-size: 0.85em;
	line-height: 1;
	cursor: pointer;
	opacity: 0.4;
}

.rule:hover .rule__link,
.rule__link:focus-visible {
	opacity: 1;
	color: var(--accent);
}

/* The bookmark star mirrors the copy-link affordance. Anonymous visitors get
   a local star backed by localStorage (hydrated by bookmarks.js). */
.rule__bookmark {
	float: right;
	padding: 0.15rem 0.3rem;
	border: 0;
	border-radius: var(--radius);
	background: none;
	color: var(--ink-faint);
	font: inherit;
	font-size: 0.85em;
	line-height: 1;
	cursor: pointer;
	opacity: 0.4;
}

.rule:hover .rule__bookmark,
.rule__bookmark:focus-visible,
.rule__bookmark.is-bookmarked {
	opacity: 1;
}

.rule__bookmark.is-bookmarked {
	color: var(--accent);
}

.rule__bookmark:disabled {
	cursor: default;
	opacity: 0.3;
}

/* Anonymous visitors have no account, so keep their star slightly more
   visible than a disabled one to signal it is interactive. */
.rule__bookmark[data-local-bookmark] {
	opacity: 0.6;
}

.sections__item .rule__bookmark {
	margin-right: 0.35rem;
}

/* Bookmarks page */
.bookmarks {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bookmarks__item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border-bottom: 1px solid var(--rule);
}

.bookmarks__item:last-child {
	border-bottom: 0;
}

.bookmarks__link {
	flex: 1 1 auto;
	padding: 0.6rem 0.4rem;
	color: var(--link);
	text-decoration: none;
}

.bookmarks__link:hover {
	color: var(--accent);
}

.bookmarks__link--stale {
	color: var(--ink-faint);
}

/* Transient status line, e.g. the anonymous bookmark cap. Appended to <body>
   so it persists across HTMX swaps. */
.bookmark-toast {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	z-index: 50;
	margin: 0;
	padding: 0.6rem 1rem;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--paper);
	font-size: 0.9rem;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 0.5rem);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.bookmark-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* The toast is pointer-events: none so it never blocks the page; the link
   opts back in so the sign-in call to action stays clickable. */
.bookmark-toast__link {
	pointer-events: auto;
	color: var(--paper);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bookmark-toast__link:hover,
.bookmark-toast__link:focus-visible {
	color: var(--paper-raised);
}

.subrules {
	margin: 0.5rem 0 0;
	padding-left: 1.25rem;
	border-left: 2px solid var(--rule);
	list-style: none;
}

.rule-group {
	margin-bottom: 2rem;
}

.rule-group__title {
	margin: 0 0 0.25rem;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--rule);
	font-family: var(--sans);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.rule-group__title a {
	color: var(--ink-soft);
	text-decoration: none;
}

.rule-group__title a:hover {
	color: var(--accent);
	text-decoration: underline;
}

.rule-group__title:hover .section__link {
	opacity: 1;
	color: var(--accent);
}

/* --------------------------------------------------------------------------
   Forms & buttons
   -------------------------------------------------------------------------- */

.card {
	max-width: 26rem;
	margin: 0;
	padding: 1.75rem;
	background: var(--paper-raised);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(27, 26, 24, 0.04);
}

.field {
	margin-bottom: 1.1rem;
}

.button {
	padding: 0.6rem 1.4rem;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	font-family: var(--sans);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.button:hover {
	background: var(--accent);
	border-color: var(--accent);
}

.form-aside {
	margin-top: 1.25rem;
	font-size: 0.9375rem;
	color: var(--ink-soft);
}

.cta {
	display: inline-block;
	padding: 0.6rem 1.4rem;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.cta:hover {
	background: var(--ink);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Admin
   -------------------------------------------------------------------------- */

/* The account table can exceed the viewport on small screens; scroll it. */
.table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.admin-users {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--sans);
	font-size: 0.8125rem;
}

.admin-users__caption {
	padding-bottom: 0.75rem;
	color: var(--ink-faint);
	font-size: 0.75rem;
	text-align: left;
}

.admin-users th,
.admin-users td {
	padding: 0.5rem 0.75rem;
	border-bottom: 1px solid var(--rule);
	text-align: left;
	vertical-align: top;
}

.admin-users thead th {
	border-bottom: 1px solid var(--rule-strong);
	color: var(--ink-soft);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.admin-users tbody tr:hover {
	background: var(--paper-raised);
}

.admin-users__id,
.admin-users__date {
	color: var(--ink-faint);
	white-space: nowrap;
}

.admin-users__subject,
.admin-users__email {
	font-family: var(--mono);
	font-size: 0.75rem;
}

.admin-users__user {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.admin-users__avatar {
	border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Account
   -------------------------------------------------------------------------- */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.account + .account {
	margin-top: 2.25rem;
}

.account__title {
	margin: 0 0 0.75rem;
	padding-bottom: 0.35rem;
	border-bottom: 1px solid var(--rule);
	font-family: var(--sans);
	font-size: 1rem;
}

.account__profile {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.account__avatar {
	border-radius: 50%;
}

.account__facts {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.15rem 1rem;
	margin: 0;
	font-family: var(--sans);
	font-size: 0.8125rem;
}

.account__facts dt {
	color: var(--ink-faint);
}

.account__facts dd {
	margin: 0;
}

.account__form {
	margin-top: 1rem;
}

.logo-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	padding: 0;
	border: 0;
}

.logo-option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	background: var(--paper-raised);
	cursor: pointer;
}

.logo-option:has(input:checked) {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px var(--accent);
}

.logo-option__swatch .wordmark__name,
.account__preview .wordmark__name {
	font-size: 1rem;
}

.logo-option__label {
	font-family: var(--sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about + .about {
	margin-top: 2rem;
}

.about__title {
	margin: 0 0 0.5rem;
	padding-bottom: 0.35rem;
	border-bottom: 1px solid var(--rule);
	font-family: var(--sans);
	font-size: 1rem;
}

.about p {
	margin: 0.5rem 0 0;
}

/* --------------------------------------------------------------------------
   Colophon
   -------------------------------------------------------------------------- */

.colophon {
	margin-top: 4rem;
	border-top: 1px solid var(--rule);
	background: var(--paper-sunk);
}

.colophon__inner {
	max-width: var(--measure);
	margin: 0 auto;
	padding: 1.35rem 1.5rem;
}

.colophon p {
	margin: 0;
	font-family: var(--sans);
	font-size: 0.75rem;
	line-height: 1.6;
	color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 40rem) {
	.masthead__inner {
		padding: 1.1rem 1rem 1rem;
	}

	.wordmark__name {
		font-size: 1.4rem;
	}

	/* Let the nav wrap onto its own rows instead of overflowing the masthead. */
	.site-nav {
		flex-wrap: wrap;
		gap: 0.5rem 1.1rem;
	}

	.page {
		padding: 1.75rem 1rem 1rem;
	}

	/* Bigger touch targets for the floating copy-link / bookmark controls. */
	.rule__link,
	.rule__bookmark {
		padding: 0.35rem 0.5rem;
	}

	/* Let the wide account table scroll rather than force the page sideways. */
	.admin-users {
		min-width: 42rem;
	}
}

/* --------------------------------------------------------------------------
   Motion & print
   -------------------------------------------------------------------------- */

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

@media print {
	.masthead,
	.toolbar,
	.pager,
	.scroll-top,
	.colophon,
	.rule__link {
		display: none;
	}

	body {
		background: #fff;
	}

	.page {
		max-width: none;
		padding: 0;
	}
}
