:root {
  color-scheme: dark;
  --bg: #16211b;
  --surface: #1f2e26;
  --text: #eaf0ea;
  --accent: #f2d03b;
  --sage: #9fd0a8;
  --muted: #becac1;
  --steel: #bac7c2;
  --line: #46564c;
  --heading: 'Arial Black', 'Helvetica Neue', Arial, 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, .95rem + .2vw, 1.125rem); line-height: 1.7; }
.page { min-width: 0; }
main, section, article, div, figure, nav { min-width: 0; }
::selection { background: var(--accent); color: var(--bg); }
a { color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; transition: color .18s ease, background-color .18s ease; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .7em; font-family: var(--heading); font-weight: 900; line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 4.6vw, 4.75rem); }
h2 { font-size: clamp(1.65rem, 2.7vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.4em; }
li { padding-left: .2em; }
li::marker { color: var(--accent); }
strong, b { font-weight: 750; color: var(--text); }
hr { border: 0; border-top: 1px solid var(--steel); margin: 2rem 0; }
blockquote { margin: 2rem 0; border-left: 4px solid var(--sage); padding: 1rem 1.5rem; background: var(--surface); }
code, pre { background: var(--surface); font-size: .9em; }
pre { padding: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .7rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.wrap { width: min(100% - 3rem, 1400px); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 10; padding: .7rem 1rem; background: var(--accent); color: var(--bg); transform: translateY(-180%); font-weight: 750; }
.skip-link:focus { transform: translateY(0); }
.site-header { border-top: 6px solid var(--accent); border-bottom: 1px solid var(--steel); background: var(--bg); }
.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-weight: 900; font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.1; letter-spacing: -.06em; text-decoration: none; }
.brand::before { content: ''; display: inline-block; width: .65em; height: .65em; background: var(--accent); margin-right: .45em; }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a { display: inline-block; padding-block: .35rem; color: var(--text); font-size: .82rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--accent); text-decoration: underline; }
.hero { padding-block: clamp(2rem, 4vw, 4rem); }
.hero-inner { display: grid; gap: 2rem; }
.hero-text { max-width: 850px; }
.eyebrow { color: var(--accent); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1.4rem; }
.hero h1 { max-width: 15ch; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.65; max-width: 62ch; }
.hero-actions { margin-top: 1.75rem; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .95rem 1.2rem; max-width: 100%; border: 1px solid var(--accent); font-size: .9rem; font-weight: 800; line-height: 1.5; text-decoration: none; }
.btn::after { content: '\2197'; font-size: 1.4rem; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.hero-media { border-bottom: 6px solid var(--sage); overflow: hidden; }
.hero-media img { width: 100%; height: clamp(230px, 28vw, 390px); object-position: center 52%; }
.section { padding-block: clamp(2.5rem, 5vw, 5rem); }
.section-title { max-width: 24ch; }
.section-intro { color: var(--muted); max-width: 65ch; }
#guides { border-top: 3px solid var(--steel); }
.card-grid { counter-reset: guide; display: grid; }
.card { counter-increment: guide; position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .5rem 1rem; border-top: 1px solid var(--line); padding: 1.5rem 0; transition: background-color .18s ease; }
.card::before { content: counter(guide, decimal-leading-zero); grid-column: 1; grid-row: 1 / 4; font-family: var(--heading); font-size: 2.5rem; font-weight: 900; line-height: 1; letter-spacing: -.06em; color: var(--accent); }
.card-title { grid-column: 2; margin: 0; font-size: 1.1rem; line-height: 1.3; letter-spacing: -.02em; text-wrap: pretty; }
.card-text { grid-column: 2; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.card-link { grid-column: 2; width: fit-content; padding-block: .35rem; font-size: .78rem; font-weight: 750; }
.card-link::after { content: ' \2197'; }
.card:hover, .card:focus-within { background: var(--surface); }
.section-feature { padding-top: 0; }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); border-top: 6px solid var(--steel); padding-top: 2rem; }
.split-text { align-self: center; }
.split-text p { color: var(--muted); font-size: .95rem; }
.split-text p:last-child { margin-bottom: 0; }
.split-media { align-self: stretch; }
.split-media img { width: 100%; height: 100%; min-height: 280px; max-height: 430px; object-fit: cover; }
.fact-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; gap: 1.5rem; padding: 0; margin: 2rem 0 0; counter-reset: fact; }
.fact { counter-increment: fact; border-top: 4px solid var(--accent); padding: 1.25rem 0 0; font-size: .95rem; }
.fact::before { content: counter(fact, decimal-leading-zero) ' /'; display: block; color: var(--sage); font-weight: 800; margin-bottom: 1rem; font-size: .8rem; }
.section-partners { background: var(--surface); border-top: 2px solid var(--steel); }
.partner-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #3d4a41; border-left: 1px solid #3d4a41; }
.partner { min-width: 0; padding: clamp(1.2rem, 2.5vw, 2rem); border-right: 1px solid #3d4a41; border-bottom: 1px solid #3d4a41; }
.partner-link { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-size: .85rem; line-height: 1.6; }
.partner-phrase { font-family: var(--heading); font-size: 1.1rem; line-height: 1.35; font-weight: 900; margin: 1rem 0 .65rem; }
.partner-phrase::first-letter { text-transform: uppercase; }
.partner-desc { color: var(--muted); font-size: .88rem; line-height: 1.75; margin: 0; }
.article { padding: clamp(1.5rem, 4vw, 4rem) 0 clamp(4rem, 7vw, 7rem); }
.article > .wrap { max-width: 820px; }
.breadcrumb { color: var(--muted); font-size: .8rem; margin-bottom: 2.5rem; overflow-wrap: anywhere; }
.breadcrumb a { margin-right: .5rem; }
.breadcrumb span { margin-left: .5rem; }
.page-header { border-top: 6px solid var(--accent); border-bottom: 1px solid var(--steel); padding-block: 2rem; margin-bottom: 2.5rem; }
.page-header h1 { font-size: clamp(2.25rem, 4.2vw, 4rem); }
.page-header .lead { margin-bottom: 0; }
.prose { color: #d5dfd6; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.85; }
.prose h2 { color: var(--text); font-size: clamp(1.45rem, 2.5vw, 2rem); margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.prose h3 { margin-top: 2rem; color: var(--text); }
.prose li { margin-bottom: .65rem; }
.note { margin: 2.5rem 0 0; padding: clamp(1.25rem, 3vw, 2rem); border-left: 5px solid var(--accent); background: var(--surface); color: var(--text); }
.note p:last-child { margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--steel); padding: 2.5rem 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.footer-note { max-width: 64ch; color: var(--muted); font-size: .78rem; margin: 0; }
.footer-nav { flex-shrink: 0; max-width: 100%; }
.footer-nav ul { gap: .5rem 1rem; }
.footer-nav a { display: inline-block; padding-block: .25rem; font-size: .78rem; }
@media (min-width: 1100px) {
  .page-home main { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: clamp(2.5rem, 4vw, 4.5rem); width: min(100% - 4rem, 1400px); margin-inline: auto; }
  .page-home main > .section, .page-home main > .hero { min-width: 0; }
  .page-home main > .hero { grid-column: 2; grid-row: 1; }
  .page-home main > #guides { grid-column: 1; grid-row: 1 / 4; border-top: 0; border-right: 1px solid var(--steel); padding: 3rem 1.75rem 2rem 0; }
  .page-home main > .section-feature { grid-column: 2; }
  .page-home main > .section:not(#guides):not(.section-feature) { grid-column: 1 / -1; }
  .page-home main > section > .wrap { width: 100%; }
  #guides .section-title { font-size: 1.55rem; }
  #guides .section-intro { font-size: .83rem; }
  #guides .card { grid-template-columns: 2.7rem minmax(0, 1fr); gap: .45rem .65rem; padding-block: 1.4rem; }
  #guides .card::before { font-size: 2rem; }
  #guides .card-title { font-size: .98rem; }
  #guides .card-text { font-size: .78rem; }
  .page-home .section-partners { padding-inline: 2.5rem; margin-bottom: 4rem; }
}
@media (max-width: 1099px) {
  .hero-inner { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .hero-media img { height: 530px; }
  .hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
  .header-inner { align-items: flex-start; }
  .site-nav { max-width: 60%; }
  .site-nav ul { justify-content: flex-end; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-direction: column; gap: 1rem; padding-block: 1.2rem; }
  .site-nav { max-width: 100%; }
  .site-nav ul { justify-content: flex-start; gap: .2rem 1.15rem; }
  .site-nav a { font-size: .75rem; }
  .hero-inner, .split { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.6rem, 9vw, 3.8rem); }
  .hero-media img { height: 270px; }
  .hero .lead { font-size: 1rem; }
  .split-media img { height: 290px; min-height: 0; }
  .fact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-list { grid-template-columns: minmax(0, 1fr); }
  .card { grid-template-columns: 3rem minmax(0, 1fr); gap: .5rem .8rem; }
  .card::before { font-size: 2.1rem; }
  .breadcrumb { margin-bottom: 1.5rem; }
  .page-header { padding-block: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  :root { color-scheme: light; }
  body, .section-partners, .note { background: white; color: black; }
  h1, h2, h3, p, a, .prose, .lead, .card-text, .partner-desc { color: black; }
  .site-nav, .skip-link, .hero-actions, .footer-nav { display: none; }
  .article > .wrap { max-width: none; }
  .note, figure { break-inside: avoid; }
}
.page-sub main { min-height: 65vh; }
