:root {
  --bg: #fbeee8;
  --surface: #fffaf7;
  --text: #1c2326;
  --accent: #1d7a8c;
  --accent2: #f26b3a;
  --link: #155e6d;
  --muted: #505b5e;
  --line: #dccac1;
  --heading: 'Avenir Next', 'Trebuchet MS', 'Segoe UI', system-ui, sans-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, .96rem + .2vw, 1.125rem); line-height: 1.75; }
.page { min-width: 0; }
::selection { background: var(--accent2); color: var(--text); }
a { color: var(--link); text-decoration-thickness: .08em; text-underline-offset: .22em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--text); outline-offset: 5px; }
img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--heading); font-weight: 800; line-height: 1.08; letter-spacing: -.045em; overflow-wrap: anywhere; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 1.6rem + 4vw, 5rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.15rem); }
h4, h5, h6 { font-size: 1.25rem; }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.5rem; }
li { padding-left: .2rem; }
li::marker { color: var(--accent); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--accent2); }
code, pre { font-family: ui-monospace, monospace; background: var(--surface); overflow-wrap: anywhere; }
pre { white-space: pre-wrap; padding: 1.25rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
button, input, select, textarea { max-width: 100%; font: inherit; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 1rem; left: 1rem; transform: translateY(-200%); padding: .7rem 1.2rem; background: var(--surface); font-weight: 700; }
.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 { color: var(--text); font-family: var(--heading); font-size: 1.45rem; font-weight: 800; letter-spacing: -.055em; line-height: 1.2; text-decoration: none; flex-shrink: 0; }
.brand::before { content: ''; display: inline-block; width: .65rem; height: .65rem; margin-right: .6rem; background: var(--accent2); border-radius: 50%; }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a { display: inline-block; padding-block: .5rem; font-size: .875rem; font-weight: 650; text-decoration: none; color: var(--text); }
.site-nav a:hover { text-decoration: underline; text-decoration-color: var(--accent2); }
.hero { padding-block: clamp(3.5rem, 7vw, 7rem) clamp(3rem, 5vw, 5rem); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-text { min-width: 0; }
.eyebrow { color: var(--link); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero h1::after, .page-header h1::after { content: ''; display: block; width: clamp(5rem, 12vw, 9rem); height: .4rem; border-radius: 1rem; background: var(--accent2); margin-top: 1.4rem; }
.lead { max-width: 51ch; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.65; color: var(--muted); }
.hero .lead { margin-block: 1.7rem 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: .85rem 1.5rem; border: 2px solid var(--accent); border-radius: 100px; font-size: 1rem; font-weight: 700; text-decoration: none; text-align: center; transition: transform 180ms ease, background-color 180ms ease; }
.btn-primary { background: var(--accent); color: var(--surface); }
.btn-primary:hover { background: var(--link); border-color: var(--link); transform: translateY(-2px); }
.hero-media { padding-top: 2rem; }
.hero-media img { aspect-ratio: 4 / 5; border-radius: 10rem 10rem 1.5rem 1.5rem; object-position: center; }
.section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.section-title { max-width: 20ch; margin-bottom: 1.35rem; }
.section-intro { max-width: 58ch; color: var(--muted); margin-bottom: 2.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; counter-reset: guides; }
.card { counter-increment: guides; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3.5vw, 3rem); background: var(--surface); border-top: 4px solid var(--accent); }
.card:nth-child(2) { border-top-color: var(--accent2); }
.card::before { content: counter(guides, decimal-leading-zero); color: var(--accent); font-family: var(--heading); font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 800; line-height: 1; letter-spacing: -.07em; margin-bottom: 2rem; }
.card-title { max-width: 24ch; margin-bottom: 1.3rem; }
.card-text { color: var(--muted); max-width: 40ch; margin-bottom: 2rem; }
.card-link { margin-top: auto; font-weight: 750; padding-block: .4rem; }
.card-link::after { content: ' ↗'; display: inline-block; margin-left: .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: 32rem; }
.split-text p { max-width: 48ch; }
.split-media img { aspect-ratio: 5 / 4; border-radius: 2rem; }
.section-feature + .section-feature .split-media { order: -1; }
.section-feature + .section-feature .split-media img { aspect-ratio: 6 / 5; border-radius: 2rem 2rem 6rem 2rem; }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.fact { padding: 1.5rem 0 1.5rem 1.5rem; border-top: 1px solid var(--line); position: relative; }
.fact::before { content: ''; position: absolute; left: 0; top: 2.15rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent2); }
.section-partners { background: #f4e3da; }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.partner { min-width: 0; padding: clamp(1.3rem, 2.5vw, 2rem); background: var(--surface); border-radius: 1rem; }
.partner-link { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-size: .875rem; line-height: 1.6; }
.partner-phrase { font-family: var(--heading); font-size: 1.3rem; font-weight: 750; letter-spacing: -.025em; line-height: 1.3; margin: 1rem 0 .7rem; }
.partner-phrase::first-letter { text-transform: uppercase; }
.partner-desc { font-size: .95rem; color: var(--muted); line-height: 1.75; margin: 0; }
.article { padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 8rem); }
.article > .wrap { max-width: 64rem; }
.breadcrumb { font-size: .875rem; color: var(--muted); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); overflow-wrap: anywhere; }
.breadcrumb a { margin-right: .5rem; }
.breadcrumb span { margin-left: .5rem; }
.page-header { margin-bottom: clamp(3rem, 5vw, 5rem); }
.page-header h1 { max-width: 20ch; }
.page-header .lead { margin-top: 2rem; max-width: 55ch; }
.prose { max-width: 43rem; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.85; }
.prose h2 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); margin: 2.5rem 0 1.2rem; line-height: 1.15; text-wrap: pretty; }
.prose h3 { margin-block: 2rem 1rem; }
.prose ul, .prose ol { margin-block: 1.5rem 2rem; }
.prose li { margin-bottom: 1.1rem; padding-left: .4rem; }
.prose > p:first-child { font-size: 1.05em; }
.note { border-left: 5px solid var(--accent2); background: var(--surface); border-radius: .35rem 1.25rem 1.25rem .35rem; padding: clamp(1.3rem, 3vw, 2rem); margin-top: 2.5rem; }
.note p { margin: 0; }
.site-footer { padding-block: 3rem; background: var(--text); color: var(--surface); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; }
.footer-note { max-width: 55ch; font-size: .875rem; margin: 0; }
.footer-nav { max-width: 26rem; }
.footer-nav ul { gap: .5rem 1.5rem; }
.footer-nav a { display: inline-block; padding-block: .3rem; color: var(--surface); font-size: .875rem; }
.site-footer a:focus-visible { outline-color: var(--surface); }

@media (max-width: 1000px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; }
  .hero h1 { font-size: clamp(2.75rem, 5.7vw, 4.5rem); }
  .hero-media img { aspect-ratio: 3 / 5; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2.5rem); }
  .site-nav ul { gap: .15rem 1.1rem; }
  .site-nav a { font-size: .8125rem; }
  .hero-inner, .split, .card-grid, .fact-list, .partner-list { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.9rem, 9vw, 4rem); }
  .hero-media { padding-top: .75rem; }
  .hero-media img { aspect-ratio: 4 / 3; border-radius: 5rem 5rem 1rem 1rem; }
  .hero .lead { max-width: 46ch; }
  .card-grid { gap: 1.5rem; }
  .card { padding: 1.75rem; }
  .card::before { margin-bottom: 1.4rem; }
  .split { gap: 1.75rem; }
  .section-feature + .section-feature .split-media { order: initial; }
  .split-media img { border-radius: 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .page-header h1 { font-size: clamp(2.65rem, 8.5vw, 3.75rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header, .site-footer, .skip-link, .hero-actions { display: none; }
  .wrap { width: 100%; }
  .article, .section { padding-block: 1rem; }
  .prose { max-width: none; }
  h1 { font-size: 32pt; }
  h2, h3 { break-after: avoid; }
  .note, .card, img { break-inside: avoid; }
  a { color: black; }
}

.page-home main { isolation: isolate; }
.page-sub main { min-height: 60vh; }
