:root {
  color-scheme: light;
  --bg: #eaf2f6;
  --surface: #fcfeff;
  --text: #1c2a33;
  --accent: #c8433f;
  --accent2: #2f7d6d;
  --red-ink: #a83230;
  --green-ink: #256657;
  --muted: #4d606a;
  --line: #cbdbe1;
  --heading: 'Avenir Next', 'Trebuchet MS', 'Segoe UI', sans-serif;
  --body: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --gutter: clamp(1.25rem, 4.5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--body); font-size: clamp(1rem, .94rem + .25vw, 1.1875rem); line-height: 1.75; overflow-wrap: break-word; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; min-width: 0; }
.wrap { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; margin: 0 0 1.25rem; }
h1 { font-size: clamp(2.5rem, 1.4rem + 3.2vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 1.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 1.1rem + .7vw, 1.8rem); }
h4, h5, h6 { font-size: 1.2rem; }
p { margin: 0 0 1.3em; }
a { color: var(--green-ink); text-decoration-thickness: 1px; text-underline-offset: .23em; }
a:hover { color: var(--red-ink); }
a, button { -webkit-tap-highlight-color: #c8433f26; }
:focus-visible { outline: 3px solid var(--red-ink); outline-offset: 5px; border-radius: 3px; }
::selection { background: #f2cbc7; color: var(--text); }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
ul, ol { padding-left: 1.4em; }
li + li { margin-top: .5em; }
strong, b { font-weight: 700; }
small, figcaption { font-size: .875em; color: var(--muted); }
figcaption { margin-top: .8rem; }
hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--line); }
blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 3px solid var(--accent2); }
pre { overflow: auto; padding: 1.25rem; background: var(--bg); }
code { font-size: .9em; overflow-wrap: anywhere; }
table { width: 100%; border-collapse: collapse; font-size: .9em; }
th, td { padding: .7rem; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
input, select, textarea, button { max-width: 100%; font: inherit; }
button, summary { cursor: pointer; }
.skip-link { position: fixed; z-index: 10; top: 1rem; left: 1rem; padding: .75rem 1.2rem; background: var(--surface); color: var(--text); font-family: var(--heading); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--bg); }
.header-inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 1rem 3rem; border-bottom: 1px solid var(--line); padding-block: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); font-family: var(--heading); font-size: clamp(1.5rem, 1.2rem + .7vw, 1.9rem); font-weight: 750; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.brand::before { content: ''; width: .85rem; height: 1.1rem; border-radius: 2px 2px 7px 7px; background: var(--accent); transform: rotate(-8deg); }
.site-nav, .footer-nav { font-family: var(--heading); font-size: .9rem; font-weight: 600; }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem clamp(.8rem, 2.2vw, 2rem); padding: 0; margin: 0; list-style: none; }
.site-nav li, .footer-nav li { margin: 0; }
.site-nav a, .footer-nav a { display: inline-block; padding-block: .6rem; color: var(--text); text-decoration: none; }
.site-nav a:hover, .footer-nav a:hover { color: var(--red-ink); text-decoration: underline; }
.page-home .site-nav a[href='index.html'] { color: var(--red-ink); text-decoration: underline; }

.hero { padding-block: clamp(3rem, 6vw, 6rem) clamp(3.5rem, 7vw, 7rem); }
.hero-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-text { max-width: 35rem; padding-block: 1rem; }
.eyebrow { max-width: 25rem; margin-bottom: 1.6rem; color: var(--green-ink); font: 700 .75rem/1.6 var(--heading); letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin-bottom: 1.6rem; }
.lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.4rem); line-height: 1.65; color: var(--muted); }
.hero .lead { font-size: clamp(1.05rem, .95rem + .3vw, 1.25rem); }
.hero-actions { margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .85rem 1.5rem; border: 1px solid var(--accent); border-radius: 999px; font: 650 .94rem/1.4 var(--heading); text-align: center; text-decoration: none; transition: background-color .2s, transform .2s; }
.btn-primary { background: var(--accent); color: var(--surface); }
.btn-primary:hover { background: var(--red-ink); color: var(--surface); transform: translateY(-2px); }
.hero-media { padding-block: 1rem; }
.hero-media img { width: 100%; aspect-ratio: 1.02; border-radius: 44% 44% 2.5rem 2.5rem; object-position: 52% center; box-shadow: 12px 14px 0 #dce9ed; }

.section { padding-block: clamp(3.5rem, 6.5vw, 6.5rem); }
.section-title { max-width: 24ch; }
.section-intro { max-width: 43rem; color: var(--muted); margin-bottom: 3rem; }
#guides { background: var(--surface); border-radius: 3rem 3rem 0 0; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 4rem); padding-bottom: 2rem; counter-reset: guides; }
.card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.6rem, 3.3vw, 3rem); border-radius: 2rem; background: #eef4f7; counter-increment: guides; transition: transform .25s; }
.card:nth-child(even) { transform: translateY(2rem); background: #f2f6f1; }
.card:nth-child(4n + 1) { background: #fbf0ec; }
.card::before { content: 'Guide ' counter(guides, decimal-leading-zero); display: inline-block; margin-bottom: 1.5rem; padding: .3rem .8rem; border-radius: 999px; background: #deebe5; color: var(--green-ink); font: 700 .7rem/1.5 var(--heading); letter-spacing: .06em; text-transform: uppercase; }
.card:nth-child(4n + 1)::before { background: #f5dcd5; color: #8c302c; }
.card-title { max-width: 27ch; margin-bottom: 1rem; }
.card-text { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.card-link { margin-top: auto; padding-block: .5rem; font: 700 .875rem/1.5 var(--heading); }
.card-link::after { content: ' \2197'; display: inline-block; margin-left: .5rem; }

.section-feature { background: var(--surface); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.split-text { max-width: 31rem; justify-self: center; }
.split-text p { font-size: clamp(1rem, .96rem + .2vw, 1.125rem); }
.split-text p:last-child { margin-bottom: 0; }
.split-media { width: 100%; }
.split-media img { width: 100%; aspect-ratio: 5 / 6; border-radius: 2.25rem; }
.section-feature + .section-feature .split-media { grid-column: 1; grid-row: 1; }
.section-feature + .section-feature .split-text { grid-column: 2; grid-row: 1; }
.section-feature + .section-feature .split-media img { aspect-ratio: 1.15; border-radius: 2.25rem 2.25rem 6rem 2.25rem; }
.fact-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: 2.5rem 0 0; padding: 0; list-style: none; counter-reset: facts; }
.fact { margin: 0; padding-top: 1rem; border-top: 1px solid #afc9c8; font-size: 1rem; line-height: 1.7; counter-increment: facts; }
.fact::before { content: counter(facts, decimal-leading-zero); display: block; margin-bottom: 1rem; color: var(--green-ink); font: 500 1.75rem/1.2 var(--heading); }

.section-partners { background: var(--surface); }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 6rem); margin: 0; padding: 0; list-style: none; }
.partner { min-width: 0; margin: 0; padding-block: 1.8rem 2rem; border-top: 1px solid var(--line); }
.partner-link { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font: 600 .85rem/1.65 var(--heading); }
.partner-phrase { margin: 1rem 0 .65rem; font: 600 1.2rem/1.4 var(--heading); letter-spacing: -.015em; }
.partner-phrase::first-letter { text-transform: uppercase; }
.partner-desc { max-width: 53ch; margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.75; }

.page-sub { background: var(--surface); }
.article { padding-block: clamp(2.5rem, 5vw, 5rem) clamp(4rem, 8vw, 8rem); }
.article > .wrap { max-width: 760px; }
.breadcrumb { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); font: 500 .83rem/1.6 var(--heading); color: var(--muted); }
.breadcrumb a { margin-right: .5rem; }
.breadcrumb span { margin-left: .5rem; }
.page-header { margin-bottom: 3rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.page-header::before { content: ''; display: block; width: 2.5rem; height: 4px; margin-bottom: 1.6rem; background: var(--accent); border-radius: 3px; }
.page-header h1 { font-size: clamp(2.4rem, 1.6rem + 2.5vw, 4rem); line-height: 1.13; }
.page-header .lead { margin: 1.5rem 0 0; }
.prose { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.85; }
.prose h2 { margin: 3rem 0 1.2rem; font-size: clamp(1.65rem, 1.35rem + .8vw, 2.2rem); line-height: 1.25; }
.prose h3 { margin-top: 2rem; }
.prose > :first-child { margin-top: 0; }
.prose img { border-radius: 1.5rem; margin-block: 2rem; }
.note { margin-top: 3rem; padding: clamp(1.3rem, 3vw, 2rem); border-left: 3px solid var(--accent); border-radius: 0 1.25rem 1.25rem 0; background: #fbefed; color: #713b37; }
.note p { margin: 0; }

.site-footer { padding-block: 2.5rem; border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem 4rem; }
.footer-note { max-width: 31rem; margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.footer-nav ul { gap: .25rem 1.4rem; }
.footer-nav { font-size: .8rem; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-4px); }
  .card:nth-child(even):hover { transform: translateY(calc(2rem - 4px)); }
}
@media (min-width: 1400px) {
  .hero-inner { grid-template-columns: 1fr 1.15fr; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 92px; gap: 1rem; }
  .hero-inner { gap: 2rem; }
  .hero h1 { font-size: clamp(2.5rem, 5.6vw, 3.5rem); }
  .hero-media img { aspect-ratio: 3 / 4; }
  .fact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { flex-direction: column; gap: 1rem; }
}
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .site-nav { width: 100%; font-size: .82rem; }
  .site-nav ul { justify-content: space-between; gap: .25rem .6rem; }
  .hero { padding-top: 2rem; }
  .hero-inner, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-text { max-width: 32rem; }
  .hero h1 { font-size: clamp(2.65rem, 9vw, 3.65rem); }
  .hero-media { padding: 0 .5rem .5rem 0; }
  .hero-media img { aspect-ratio: 6 / 5; border-radius: 2rem 2rem 5rem 2rem; box-shadow: 8px 9px 0 #dce9ed; }
  #guides { border-radius: 2rem 2rem 0 0; }
  .card-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-bottom: 0; }
  .card:nth-child(even) { transform: none; }
  .card { border-radius: 1.75rem; }
  .card-title { max-width: none; }
  .section-intro { margin-bottom: 2rem; }
  .split-text { justify-self: start; max-width: none; }
  .split-media img { aspect-ratio: 6 / 5; }
  .section-feature + .section-feature .split-media,
  .section-feature + .section-feature .split-text { grid-column: auto; grid-row: auto; }
  .partner-list { grid-template-columns: minmax(0, 1fr); }
  .partner { padding-block: 1.5rem; }
  .page-header { margin-bottom: 2rem; }
  .breadcrumb { margin-bottom: 2rem; }
}
@media (max-width: 380px) {
  .fact-list { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body, .page-sub, .site-header, .site-footer, .section, .card { background: white; color: black; }
  .site-nav, .skip-link, .hero-actions, .footer-nav { display: none; }
  .wrap { width: 100%; }
  .article { padding: 1rem 0; }
  .prose { font-size: 11pt; }
  .note, .card, figure { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  a { color: black; }
}
