/* Pen Pointe theme styles */

@font-face {
	font-family: "Newsreader";
	src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations"), url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Newsreader";
	src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2-variations"), url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
	font-weight: 200 800;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Public Sans";
	src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #1b4da0;
	--ink-hover: #143c7e;
	--ink-deep: #0e2445;
	--ink-night: #0a1b35;
	--paper: #f3f5f9;
	--stone: #a8906f;
	--stone-light: #e9e1d5;
	--rule: #d6dce6;
	--text: #1a2233;
	--muted: #525d73;
	--white: #fff;
	--ok: #1e6b43;
	--err: #a4262c;

	--serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Public Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: 1.5rem;
	--step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
	--step-4: clamp(2.1rem, 1.5rem + 2.4vw, 3rem);
	--step-5: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);

	--wrap: 1200px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--space: clamp(3.5rem, 7vw, 6.5rem);
	--radius: 4px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--sans);
	font-size: var(--step-0);
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	text-rendering: optimizeLegibility;
}

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

a { color: var(--ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink-hover); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 0.6em;
	color: var(--ink-deep);
	font-optical-sizing: auto;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
p { margin: 0 0 1em; }

address { font-style: normal; }

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

.skip {
	position: absolute; left: 1rem; top: -4rem; z-index: 100;
	background: var(--ink-deep); color: var(--white);
	padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 1rem; color: var(--white); }

#main:focus { outline: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }

.section { padding-block: var(--space); }
.section--tint { background: var(--paper); }
.section__title { font-size: var(--step-3); }
.section__head {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
	gap: 0.5rem 2rem; margin-bottom: 2rem;
}
.section__head .section__title { margin: 0; }
.section__aside { margin: 0; color: var(--muted); max-width: 32rem; }
.h-small { font-size: var(--step-2); }

.prose { max-width: 38rem; }
.prose p { font-size: var(--step-0); }
.entry > * + * { margin-top: 1em; }
.entry__date { color: var(--muted); font-size: var(--step--1); }
.fine { font-size: var(--step--1); color: var(--muted); margin-top: 1rem; }

/* Links and buttons ------------------------------------------------ */

.link {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--stone);
	text-decoration-thickness: 2px;
}
.link:hover { text-decoration-color: currentColor; }

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px;
	padding: 0.7rem 1.4rem;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font: 600 1rem/1.2 var(--sans);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--sm { min-height: 42px; padding: 0.5rem 1rem; font-size: 0.95rem; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-hover); color: var(--white); }
.btn--line { border-color: var(--ink-deep); color: var(--ink-deep); background: transparent; }
.btn--line:hover { background: var(--ink-deep); color: var(--white); }
.btn--paper { background: var(--white); color: var(--ink-deep); }
.btn--paper:hover { background: var(--stone-light); color: var(--ink-deep); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* Header ----------------------------------------------------------- */

.masthead {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--rule);
}
.admin-bar .masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar .masthead { top: 0; } }

.masthead__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1.5rem; min-height: 76px;
}

.brand {
	display: inline-flex; align-items: center; gap: 0.75rem;
	text-decoration: none; color: var(--ink-deep);
}
.brand:hover { color: var(--ink-deep); }
.brand__mark { width: 46px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.01em; }
.brand__sub { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }

.nav-toggle {
	display: inline-flex; align-items: center; gap: 0.6rem;
	min-height: 44px; padding: 0.4rem 0.8rem;
	border: 1px solid var(--rule); border-radius: var(--radius);
	background: var(--white); color: var(--ink-deep);
	font: 600 0.95rem var(--sans); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 18px; height: 2px; background: currentColor; position: relative;
	transition: transform 0.2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav { display: none; }
.nav-open .nav {
	display: block;
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--white);
	border-bottom: 1px solid var(--rule);
	padding: 0.5rem var(--gutter) 1.5rem;
	max-height: calc(100vh - 76px); overflow-y: auto;
}
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav__list a {
	display: block; padding: 0.8rem 0;
	color: var(--ink-deep); text-decoration: none; font-weight: 500;
	border-bottom: 1px solid var(--rule);
}
.nav__list a[aria-current="page"], .nav__list .current-menu-item > a { color: var(--ink); }
.nav__list .sub-menu a { padding-left: 1rem; font-weight: 400; }
.nav__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.nav__phone { font-weight: 600; color: var(--ink-deep); text-decoration: none; }

@media (min-width: 1024px) {
	.nav-toggle { display: none; }
	.nav, .nav-open .nav {
		display: flex; align-items: center; gap: 2rem;
		position: static; padding: 0; border: 0; max-height: none; overflow: visible;
	}
	.nav__list { display: flex; gap: 1.5rem; }
	.nav__list > li { position: relative; }
	.nav__list a { border: 0; padding: 0.4rem 0; font-size: 0.97rem; }
	.nav__list > li > a[aria-current="page"],
	.nav__list > .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--stone); }
	.nav__list .sub-menu {
		display: none; position: absolute; top: 100%; left: -1rem; min-width: 14rem;
		background: var(--white); border: 1px solid var(--rule); padding: 0.5rem 1rem;
	}
	.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { display: block; }
	.nav__list .sub-menu a { padding: 0.5rem 0; }
	.nav__actions { margin: 0; padding-left: 1.5rem; border-left: 1px solid var(--rule); }
}

/* Page header signature line ------------------------------------- */

.sign-line { display: flex; align-items: flex-end; gap: 0.6rem; max-width: 280px; margin-top: 2rem; }
.sign-line__x { font-family: var(--serif); font-size: 1.25rem; line-height: 1; color: var(--stone); }
.sign-line__rule { flex: 1; border-top: 1px solid var(--stone); margin-bottom: 0.2rem; }

/* Hero slider ------------------------------------------------------ */

.btn--ghost { border-color: rgba(255, 255, 255, 0.85); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--ink-deep); }

.slider {
	position: relative;
	background: var(--ink-night);
	color: var(--white);
	overflow: hidden;
}
.slider__track { display: grid; }
.slider__slide {
	grid-area: 1 / 1;
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(520px, 82vh, 760px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.slider__slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.9s ease; }
.slider__img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transform: scale(1.06);
	transition: transform 7s ease-out;
}
.slider__slide.is-active .slider__img { transform: scale(1); }
.slider__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(10, 27, 53, 0.92) 0%, rgba(10, 27, 53, 0.78) 45%, rgba(10, 27, 53, 0.35) 100%),
		linear-gradient(0deg, rgba(10, 27, 53, 0.55) 0%, rgba(10, 27, 53, 0) 40%);
}
.slider__content { position: relative; z-index: 1; padding-block: 5rem 7rem; }
.slider__kicker {
	display: inline-flex; align-items: center; gap: 0.75rem;
	font-weight: 600; font-size: 1rem; color: #e9e1d5; margin-bottom: 1.25rem;
}
.slider__kicker::before { content: ""; width: 2.5rem; border-top: 2px solid var(--stone); }
.slider__title {
	color: var(--white);
	font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.75rem);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.025em;
	max-width: 15ch;
	margin-bottom: 1.25rem;
	text-wrap: balance;
}
.slider__text { font-size: var(--step-1); color: #d7dfec; max-width: 36rem; margin-bottom: 2rem; }
.slider__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.slider__slide.is-active .slider__kicker,
.slider__slide.is-active .slider__title,
.slider__slide.is-active .slider__text,
.slider__slide.is-active .slider__actions { animation: pp-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.slider__slide.is-active .slider__title { animation-delay: 0.1s; }
.slider__slide.is-active .slider__text { animation-delay: 0.2s; }
.slider__slide.is-active .slider__actions { animation-delay: 0.3s; }
@keyframes pp-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.slider__controls {
	position: absolute; left: 0; right: 0; bottom: 2rem; z-index: 2;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.slider__dots { display: flex; gap: 0.5rem; }
.slider__dot {
	width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
	display: grid; place-items: center;
}
.slider__dot::before {
	content: ""; width: 28px; height: 3px; border-radius: 2px;
	background: rgba(255, 255, 255, 0.4); transition: background-color 0.2s, width 0.2s;
}
.slider__dot[aria-current="true"]::before { background: var(--white); width: 36px; }
.slider__dot:hover::before { background: rgba(255, 255, 255, 0.8); }
.slider__buttons { display: flex; gap: 0.5rem; }
.slider__btn {
	width: 44px; height: 44px; display: grid; place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%;
	background: rgba(10, 27, 53, 0.35); color: var(--white); cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}
.slider__btn:hover { background: var(--white); color: var(--ink-deep); border-color: var(--white); }
.slider__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider__btn .icon-play { fill: currentColor; stroke: none; display: none; }
.slider.is-paused .slider__btn .icon-play { display: block; }
.slider.is-paused .slider__btn .icon-pause { display: none; }
.slider :focus-visible { outline-color: var(--white); }

.slider__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.12); z-index: 2; }
.slider__progress span { display: block; height: 100%; width: 0; background: var(--stone); }
.slider.is-running .slider__progress span { animation: pp-progress var(--pp-interval, 6s) linear forwards; }
@keyframes pp-progress { to { width: 100%; } }

@media (max-width: 640px) {
	.slider__shade { background: linear-gradient(0deg, rgba(10, 27, 53, 0.95) 0%, rgba(10, 27, 53, 0.75) 60%, rgba(10, 27, 53, 0.55) 100%); }
	.slider__slide { align-items: flex-end; min-height: 600px; }
	.slider__content { padding-block: 4rem 6.5rem; }
	.slider__actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
	.slider__slide, .slider__slide.is-active { transition: none; }
	.slider__img, .slider__slide.is-active .slider__img { transform: none; transition: none; }
	.slider__slide.is-active * { animation: none !important; }
	.slider__progress { display: none; }
}

/* Page header ------------------------------------------------------ */

.page-head { background: var(--paper); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--rule); }
.page-head__title { font-size: var(--step-5); font-weight: 400; letter-spacing: -0.02em; max-width: 18ch; margin-bottom: 1rem; }
.page-head__lede { font-size: var(--step-1); color: var(--muted); max-width: 40rem; margin: 0; }

/* Intro ------------------------------------------------------------ */

.intro { border-top: 1px solid var(--rule); }
.intro__grid { display: grid; gap: 1.5rem 4rem; }
.intro__title { font-size: var(--step-4); font-weight: 400; max-width: 12ch; }
.intro__body p { font-size: var(--step-1); line-height: 1.6; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1fr 1.3fr; } }

/* Process ---------------------------------------------------------- */

.process { background: var(--ink-deep); color: #d9e1ee; }
.process .section__title { color: var(--white); margin-bottom: 2.5rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
.steps__item { counter-increment: step; position: relative; padding-top: 3.5rem; }
.steps__item::before {
	content: counter(step);
	position: absolute; top: 0; left: 0;
	width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
	border: 1px solid var(--stone); border-radius: 50%;
	font-family: var(--serif); font-size: 1.2rem; color: var(--white);
	background: var(--ink-deep);
}
.steps__title { color: var(--white); font-size: var(--step-1); }
.steps__item p { margin: 0; font-size: 0.98rem; }
@media (min-width: 760px) {
	.steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
	.steps::before { content: none; }
	.steps__item::after {
		content: ""; position: absolute; top: 1.25rem; left: 3.25rem; right: -1.25rem;
		border-top: 1px dashed rgba(168, 144, 111, 0.6);
	}
	.steps__item:last-child::after { content: none; }
}

/* Index lists ------------------------------------------------------ */

.index { display: grid; gap: 2.5rem 2.5rem; }
.index__title {
	font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--ink-deep);
	padding-top: 0.9rem; border-top: 2px solid var(--ink); margin-bottom: 0.4rem; letter-spacing: 0;
}
.index__list { list-style: none; margin: 0; padding: 0; }
.index__list li { padding: 0.55rem 0; border-bottom: 1px solid var(--rule); font-size: 0.98rem; }
@media (min-width: 640px) { .index { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .index { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .index--two { grid-template-columns: repeat(2, 1fr); } }

/* SBA and term sheet ----------------------------------------------- */

.sba { background: var(--paper); }
.sba__grid { display: grid; gap: 2.5rem 5rem; align-items: center; }
@media (min-width: 900px) { .sba__grid { grid-template-columns: 1fr 1fr; } }

.termsheet {
	margin: 0; padding: 2rem;
	background: var(--white);
	border: 1px solid var(--rule);
	border-top: 4px solid var(--ink);
	border-radius: var(--radius);
}
.termsheet__row { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.7rem 0; }
.termsheet__row dt { color: var(--muted); }
.termsheet__row::after { content: none; }
.termsheet__row dt::after {
	content: ""; flex: 1;
}
.termsheet__row dd {
	margin: 0 0 0 auto; font-family: var(--serif); font-size: var(--step-1); color: var(--ink-deep);
	text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.termsheet__row dt { flex: 0 1 auto; }
.termsheet__row { position: relative; }
.termsheet__row > dt + dd { padding-left: 0.5rem; }
.termsheet__row { background-image: radial-gradient(circle, var(--rule) 1px, transparent 1.5px); background-size: 6px 6px; background-repeat: repeat-x; background-position: 0 calc(100% - 1.1rem); }
.termsheet__row dt, .termsheet__row dd { background: var(--white); position: relative; }
.termsheet__row dt { padding-right: 0.5rem; }
.termsheet__note { font-size: var(--step--1); color: var(--muted); margin: 1rem 0 0; }
.termsheet--large .termsheet__row--lead dd { font-size: var(--step-4); color: var(--ink); }
.termsheet--large .termsheet__row--lead { background-image: none; flex-wrap: wrap; border-bottom: 1px solid var(--rule); padding-bottom: 1.25rem; margin-bottom: 0.5rem; }
.termsheet--large .termsheet__row--lead dt { width: 100%; }
.termsheet--large .termsheet__row--lead dd { margin-left: 0; text-align: left; }

/* Story ------------------------------------------------------------ */

.story__grid, .split { display: grid; gap: 2.5rem 5rem; align-items: center; }
.split--top { align-items: start; }
.story__media, .split__media { margin: 0; }
.story__media img, .split__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }
.story__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.split__actions { display: flex; justify-content: flex-start; }
@media (min-width: 900px) {
	.story__grid { grid-template-columns: 1fr 1fr; }
	.split { grid-template-columns: 1fr 1fr; }
	.split__actions { justify-content: flex-end; }
	.sticky { position: sticky; top: 100px; }
}

/* FAQ -------------------------------------------------------------- */

.faq-teaser { border-top: 1px solid var(--rule); }
.faq-teaser__grid { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 900px) { .faq-teaser__grid { grid-template-columns: 1fr 2fr; } }

.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; gap: 1.5rem;
	padding: 1.25rem 0;
	font-family: var(--serif); font-size: var(--step-1); color: var(--ink-deep); line-height: 1.3;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
	content: "+"; flex: none; width: 1.75rem; height: 1.75rem; display: grid; place-items: center;
	border: 1px solid var(--rule); border-radius: 50%;
	font-family: var(--sans); font-size: 1.1rem; color: var(--ink);
}
.faq__item[open] .faq__q::after { content: "−"; background: var(--ink); color: var(--white); border-color: var(--ink); }
.faq__q:hover { color: var(--ink); }
.faq__a { padding: 0 3rem 1.25rem 0; color: var(--muted); max-width: 44rem; }
.faq__a p { margin: 0; }
.after-faq { margin-top: 2rem; }

/* CTA -------------------------------------------------------------- */

.cta { background: var(--ink); color: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta__inner { display: grid; gap: 1.5rem 3rem; align-items: center; }
.cta__title { color: var(--white); font-size: var(--step-4); font-weight: 400; margin-bottom: 0.4rem; }
.cta__text { margin: 0; color: #dbe5f5; font-size: var(--step-1); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.cta__phone { color: var(--white); font-family: var(--serif); font-size: var(--step-2); text-decoration: none; }
.cta__phone:hover { color: var(--white); text-decoration: underline; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.4fr 1fr; } .cta__actions { justify-content: flex-end; } }

/* SBA extras ------------------------------------------------------- */

.fit { display: grid; gap: 1.5rem; }
.fit__col { padding-top: 0.9rem; border-top: 2px solid var(--ink); }
.fit__title { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.fit ul { margin: 0; padding-left: 1.1rem; }
.fit li { margin-bottom: 0.3rem; }
@media (min-width: 640px) and (max-width: 899px) { .fit { grid-template-columns: repeat(3, 1fr); } }

.table-title { margin-top: 3.5rem; font-size: var(--step-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.compare thead th { font-family: var(--serif); font-size: var(--step-1); font-weight: 500; color: var(--ink-deep); background: var(--white); border-bottom: 2px solid var(--ink); }
.compare tbody th { width: 18%; font-weight: 600; color: var(--ink-deep); }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* Panels, forms ---------------------------------------------------- */

.panel { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); }
.panel__title { font-size: var(--step-2); }

.form__grid { display: grid; gap: 1.1rem 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 560px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; color: var(--ink-deep); }
.req { font-weight: 400; color: var(--muted); font-size: 0.85em; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px;
	padding: 0.65rem 0.8rem;
	font: inherit; font-size: 1rem; color: var(--text);
	background: var(--white);
	border: 1px solid #aeb7c7; border-radius: var(--radius);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(27, 77, 160, 0.3); outline-offset: 0; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.field--file input { padding: 0.55rem; background: var(--paper); border-style: dashed; }
.field__hint { font-size: var(--step--1); color: var(--muted); margin: 0.35rem 0 0; }
.form__fine { font-size: var(--step--1); color: var(--muted); }

.notice { padding: 0.9rem 1rem; border-radius: var(--radius); margin-bottom: 1.25rem; border-left: 4px solid; }
.notice:focus { outline: none; }
.notice--ok { background: #e8f4ed; border-color: var(--ok); color: #123f28; }
.notice--err { background: #fbeceb; border-color: var(--err); color: #5e1418; }

/* Apply ------------------------------------------------------------ */

.checklist { list-style: none; margin: 0; padding: 0; counter-reset: chk; }
.checklist > li { counter-increment: chk; position: relative; padding: 0 0 2rem 3.25rem; }
.checklist > li::before {
	content: counter(chk); position: absolute; left: 0; top: -0.1rem;
	width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
	border-radius: 50%; background: var(--ink); color: var(--white);
	font-family: var(--serif); font-size: 1.1rem;
}
.checklist > li:not(:last-child)::after {
	content: ""; position: absolute; left: 1.1rem; top: 2.4rem; bottom: 0.4rem; border-left: 1px dashed var(--stone);
}
.checklist__title { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.docs { list-style: none; margin: 0; padding: 0; }
.docs a {
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	padding: 0.75rem 0.9rem; margin-bottom: 0.5rem;
	border: 1px solid var(--rule); border-radius: var(--radius);
	text-decoration: none; font-weight: 500; color: var(--ink-deep);
}
.docs a:hover { border-color: var(--ink); color: var(--ink); }
.docs__type { font-size: 0.75rem; font-weight: 700; color: var(--stone); flex: none; }

/* Jobs ------------------------------------------------------------- */

.jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.jobs__item { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.jobs__title { margin-bottom: 0.35rem; }
.jobs__item p { margin: 0; color: var(--muted); }

/* Contact ---------------------------------------------------------- */

.contact__list { margin: 0 0 2rem; display: grid; gap: 1.25rem; }
.contact__list > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.contact__list dt { color: var(--muted); font-size: var(--step--1); padding-top: 0.2rem; }
.contact__list dd { margin: 0; }
.contact__big { font-family: var(--serif); font-size: var(--step-3); text-decoration: none; color: var(--ink-deep); line-height: 1; }
.map { aspect-ratio: 4 / 3; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Calculator ------------------------------------------------------- */

.calc { display: grid; gap: 2.5rem 4rem; align-items: start; }
.calc__form { display: grid; gap: 1.25rem; }
.calc__error { margin: 0; color: var(--err); font-weight: 600; }
.calc__result .btn { margin-top: 1.5rem; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1.1fr; } }

/* Posts ------------------------------------------------------------ */

.posts { list-style: none; margin: 0; padding: 0; }
.posts__item { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.posts__title { font-size: var(--step-2); margin-bottom: 0.25rem; }
.posts__title a { text-decoration: none; color: var(--ink-deep); }

/* Footer ----------------------------------------------------------- */

.footer { background: var(--ink-night); color: #b9c4d6; padding-top: 4rem; font-size: 0.97rem; }
.footer a { color: var(--white); }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 0.8fr; } }
.footer__h { font-family: var(--sans); font-size: 0.9rem; font-weight: 700; color: var(--white); margin: 0 0 0.6rem; letter-spacing: 0; }
.footer address + .footer__h, .footer__hours + .footer__h { margin-top: 1.5rem; }
.footer__hours { margin: 0.75rem 0 0; }
.brand--footer { color: var(--white); margin-bottom: 1rem; }
.brand--footer:hover { color: var(--white); }
.brand--footer .brand__mark { background: var(--white); border-radius: 50%; padding: 6px; width: 56px; }
.brand--footer .brand__sub { color: #b9c4d6; }
.footer__brand p { max-width: 20rem; }
.footer__dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; }
.footer__dl dt { color: #8d9ab0; }
.footer__dl dd { margin: 0; }
.footer__nav, .social, .footer__notices { list-style: none; margin: 0; padding: 0; }
.footer__nav li { margin-bottom: 0.35rem; }
.footer__nav a, .social a, .footer__notices a { text-decoration: none; }
.footer__nav a:hover, .social a:hover, .footer__notices a:hover { text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1rem; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 1.5rem 2rem; font-size: var(--step--1); color: #8d9ab0; }
.footer__legal p { margin: 0 0 0.5rem; }
.footer__notices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer :focus-visible { outline-color: var(--white); }


/* Checkbox --------------------------------------------------------- */

.check { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; min-height: 0; margin: 0.15rem 0 0; flex: none; accent-color: var(--ink); }

/* Testimonials ----------------------------------------------------- */

.voices { background: var(--paper); }
.voices__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .voices__grid { grid-template-columns: repeat(3, 1fr); } }
.voices__grid--page { column-gap: 2.5rem; }
@media (min-width: 900px) { .voices__grid--page { display: block; columns: 2; } .voices__grid--page .quote { break-inside: avoid; margin-bottom: 2.5rem; } }

.quote { margin: 0; padding: 1.75rem 0 0; border-top: 2px solid var(--ink); }
.quote__text { margin: 0 0 1.25rem; font-family: var(--serif); font-size: var(--step-1); line-height: 1.5; color: var(--ink-deep); }
.quote__text p { margin: 0 0 0.75em; }
.quote__text p:first-child::before { content: "\201C"; }
.quote__text p:last-child::after { content: "\201D"; }
.quote__by { display: flex; flex-direction: column; gap: 0.1rem; }
.quote__name { font-weight: 700; }
.quote__meta, .quote__service { font-size: var(--step--1); color: var(--muted); }

.empty { max-width: 40rem; padding: 2rem; border: 1px dashed var(--stone); border-radius: var(--radius); }
.empty__title { font-size: var(--step-2); }
.empty p { margin: 0; color: var(--muted); }

/* Review page ------------------------------------------------------ */

.btn--lg { min-height: 56px; padding: 0.9rem 1.75rem; font-size: 1.08rem; }
.review { padding-block: clamp(3rem, 7vw, 6rem); background: var(--paper); }
.review__grid { display: grid; gap: 3rem 5rem; align-items: center; }
@media (min-width: 900px) { .review__grid { grid-template-columns: 1.3fr 1fr; } }
.review__title { font-size: var(--step-5); font-weight: 400; letter-spacing: -0.02em; max-width: 14ch; }
.review__lede { font-size: var(--step-1); color: var(--muted); max-width: 34rem; }
.review__steps { margin: 1.75rem 0; padding-left: 1.25rem; max-width: 34rem; }
.review__steps li { margin-bottom: 0.5rem; padding-left: 0.25rem; }
.review__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-bottom: 2.5rem; }
.review__alt { color: var(--muted); border-top: 1px solid var(--rule); padding-top: 1.25rem; max-width: 34rem; }

.review__card {
	background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--ink);
	border-radius: var(--radius); padding: 2rem; text-align: center; max-width: 380px; justify-self: center; width: 100%;
}
.review__card-brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink-deep); }
.review__mark { width: 40px; }
.review__card-title { font-size: var(--step-2); margin: 1rem 0; }
.review__qr { width: 220px; aspect-ratio: 1; margin: 0 auto; }
.review__qr svg { width: 100%; height: 100%; }
.review__card-note { color: var(--muted); font-size: var(--step--1); margin: 1rem 0 1.25rem; }

@media print {
	.review { background: none; padding: 0; }
	.review__copy, .review__print { display: none !important; }
	.review__grid { display: block; }
	.review__card { border: 2px solid #000; margin: 2cm auto 0; max-width: 11cm; }
	.review__qr { width: 7cm; }
}

/* Print ------------------------------------------------------------ */

@media print {
	.masthead, .nav-toggle, .cta, .footer, .slider__controls, .slider__progress, .map { display: none !important; }
	body { font-size: 11pt; }
}
