:root {
  color-scheme: light;
  --bg: #f4f0f7;
  --surface: #ffffff;
  --text: #2a2330;
  --accent: #8a4f7d;
  --accent2: #d99a3d;
  --muted: #655a6b;
  --line: #ded4e3;
  --heading: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --body: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.8; overflow-wrap: break-word; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.wrap { width: min(100% - 3rem, 70rem); margin-inline: auto; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading); font-weight: 400; line-height: 1.18; text-wrap: balance; margin: 0 0 1rem; }
h1 { font-size: clamp(2.6rem, 1.6rem + 3.2vw, 5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.45rem, 1.2rem + .7vw, 1.9rem); }
h4, h5, h6 { font-size: 1.3rem; }
p { margin: 0 0 1.25rem; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .23em; transition: color 180ms ease, background-color 180ms ease; }
a:hover { color: #633557; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
::selection { background: #e5cce0; color: var(--text); }
ul, ol { padding-left: 1.4rem; margin: 1.25rem 0; }
li { padding-left: .2rem; }
li + li { margin-top: .5rem; }
strong, b { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 3px solid var(--accent); font-family: var(--heading); font-size: 1.4rem; }
code, pre { font-family: ui-monospace, monospace; font-size: .9em; }
pre { overflow: auto; padding: 1rem; background: var(--surface); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem; border-bottom: 1px solid var(--line); text-align: left; }
figcaption, small { font-size: .875rem; color: var(--muted); }
.skip-link { position: absolute; top: 1rem; left: 1rem; z-index: 10; padding: .7rem 1.2rem; background: var(--surface); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.5rem; }
.brand { font-family: var(--heading); font-size: 2rem; line-height: 1.3; letter-spacing: -.045em; text-decoration: none; color: var(--text); }
.brand::after { content: ''; display: inline-block; width: .4rem; height: .4rem; margin-left: .25rem; border-radius: 50%; background: var(--accent2); }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.site-nav li, .footer-nav li { padding: 0; margin: 0; }
.site-nav a, .footer-nav a { display: inline-block; padding-block: .55rem; font-size: .875rem; text-decoration: none; color: var(--muted); }
.site-nav a:hover, .footer-nav a:hover { color: var(--accent); text-decoration: underline; }

.hero { padding-top: clamp(3.5rem, 7vw, 7rem); }
.hero-inner { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.hero-text { width: min(100%, 44rem); margin-inline: auto; text-align: center; }
.eyebrow { display: flex; justify-content: center; align-items: center; gap: .9rem; color: var(--accent); font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 1.5rem; }
.eyebrow::before { content: ''; width: 1.8rem; height: 2px; background: var(--accent2); flex-shrink: 0; }
.hero h1 { margin-bottom: 1.5rem; }
.lead { color: var(--muted); font-size: clamp(1.125rem, 1rem + .45vw, 1.35rem); line-height: 1.85; }
.hero .lead { max-width: 38rem; margin-inline: auto; }
.hero-actions { margin-top: 2rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .75rem 1.75rem; border: 1px solid var(--accent); border-radius: 100px; font-size: .9375rem; font-weight: 600; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--surface); box-shadow: 0 5px 15px #56304e12; }
.btn-primary:hover { background: #703d65; color: var(--surface); }
.hero-media { border-radius: clamp(1rem, 3vw, 2rem); overflow: hidden; }
.hero-media img { width: 100%; aspect-ratio: 2.1; object-position: center 58%; }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-title { max-width: 42rem; }
.section-intro { max-width: 39rem; color: var(--muted); margin-bottom: 2.75rem; }
.page-home #guides > .wrap { max-width: 62rem; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 1rem; background: var(--surface); border: 1px solid #ebe4ee; box-shadow: 0 8px 28px #3f294c07, 0 2px 5px #3f294c03; transition: box-shadow 200ms ease, transform 200ms ease; }
.card::before { content: ''; display: block; width: 1.5rem; height: 2px; background: var(--accent2); margin-bottom: 1.5rem; }
.card-title { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.85rem); line-height: 1.3; }
.card-text { color: var(--muted); font-size: 1rem; margin-bottom: 1.5rem; }
.card-link { margin-top: auto; padding-block: .4rem; font-size: .875rem; font-weight: 650; }
.card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.section-feature { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.split-text { max-width: 30rem; }
.split-text p { color: var(--muted); }
.split-media { overflow: hidden; border-radius: 1.5rem; }
.split-media img { width: 100%; aspect-ratio: 1.1; }
.section-feature + .section-feature .split-media { grid-column: 1; grid-row: 1; }
.section-feature + .section-feature .split-text { grid-column: 2; grid-row: 1; }
.fact-list { list-style: none; max-width: 48rem; padding: 0; margin-top: 2rem; }
.fact { position: relative; padding: 1.3rem 0 1.3rem 2rem; border-bottom: 1px solid var(--line); margin: 0; }
.fact::before { content: ''; position: absolute; top: 2rem; left: .25rem; width: .4rem; height: .4rem; border-radius: 50%; background: var(--accent2); }
.section-partners { background: #eee7f1; border-top: 1px solid var(--line); }
.section-partners .wrap { max-width: 48rem; }
.partner-list { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0; margin: 0; list-style: none; }
.partner { min-width: 0; padding: 2.5rem 0; margin: 0; border-top: 1px solid #d8cddd; }
.partner-link { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-size: .875rem; line-height: 1.8; }
.partner-phrase { font-family: var(--heading); font-size: clamp(1.5rem, 1.2rem + .7vw, 1.85rem); line-height: 1.35; margin: .75rem 0; }
.partner-phrase::first-letter { text-transform: uppercase; }
.partner-desc { color: var(--muted); margin: 0; font-size: 1rem; }

.article { padding-block: clamp(2rem, 4vw, 4rem) clamp(4rem, 8vw, 8rem); }
.page-sub .article > .wrap { max-width: 46rem; }
.breadcrumb { font-size: .8125rem; color: var(--muted); margin-bottom: clamp(2rem, 5vw, 4rem); }
.breadcrumb a { margin-right: .4rem; }
.breadcrumb span { margin-left: .4rem; }
.page-header { padding-bottom: 2.5rem; margin-bottom: 2.75rem; border-bottom: 1px solid var(--line); }
.page-header::after { content: ''; display: block; width: 3rem; height: 3px; background: var(--accent2); margin-top: 2rem; }
.page-header h1 { font-size: clamp(2.4rem, 1.7rem + 2.3vw, 4rem); line-height: 1.12; margin-bottom: 1.5rem; }
.page-header .lead { margin-bottom: 0; }
.prose { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.95; }
.prose p { margin-bottom: 1.5rem; }
.prose h2 { font-size: clamp(1.75rem, 1.5rem + .8vw, 2.35rem); margin: 3rem 0 1.25rem; }
.prose h3 { margin-top: 2rem; }
.prose li { margin-block: .75rem; padding-left: .4rem; }
.prose li::marker { color: var(--accent); }
.note { margin: 3rem 0 0; border-left: 3px solid var(--accent); padding: 1.5rem clamp(1.25rem, 3vw, 2rem); background: var(--surface); border-radius: 0 .75rem .75rem 0; }
.note p:last-child { margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.footer-note { max-width: 35rem; font-size: .8125rem; line-height: 1.85; color: var(--muted); margin: 0; }
.footer-nav ul { gap: .25rem 1.25rem; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px #3f294c10; }
}
@media (max-width: 760px) {
  .header-inner { flex-direction: column; gap: .5rem; padding-block: 1.1rem; }
  .site-nav ul { justify-content: center; gap: .1rem 1.25rem; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .split-text { max-width: none; }
  .section-feature + .section-feature .split-text, .section-feature + .section-feature .split-media { grid-column: auto; grid-row: auto; }
  .split-media img { aspect-ratio: 4 / 3; }
  .footer-inner { flex-direction: column; gap: 1rem; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 2.5rem); }
  .site-nav ul { gap: .1rem 1rem; }
  .site-nav a { font-size: .8125rem; }
  .eyebrow { font-size: .6875rem; letter-spacing: .1em; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .card-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .card:last-child:nth-child(odd) { grid-column: auto; }
  .section-intro { margin-bottom: 2rem; }
  .partner { padding-block: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-nav, .skip-link, .hero-actions, .footer-nav { display: none; }
  .wrap, .page-sub .article > .wrap { width: 100%; max-width: none; }
  .article, .section { padding-block: 1.5rem; }
  .card, .note { box-shadow: none; break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  a { color: inherit; }
}
