:root {
  color-scheme: light;
  --bg: #f3f7fb;
  --surface: #ffffff;
  --text: #14202b;
  --accent: #5b3fd1;
  --accent2: #12b886;
  --muted: #516171;
  --line: #d8e1e9;
  --heading: 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-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; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.7; }
.page { min-width: 0; }
.page-sub main { min-height: 65vh; }
main, section, article, nav, div, figure { min-width: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 1rem; font-family: var(--heading); font-weight: 750; line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.4rem, 4.1vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 2.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.65rem); }
p { margin: 0 0 1.3em; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { color: var(--text); background: #b9f2df; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: .5rem; }
strong, b { font-weight: 750; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
blockquote { margin: 2rem 0; padding: .5rem 0 .5rem 1.5rem; border-left: 3px solid var(--accent2); }
table { width: 100%; border-collapse: collapse; font-size: .95em; }
th, td { padding: .75rem; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
code, pre { font-size: .9em; background: #e8eef4; }
pre { padding: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; }
button, input, textarea, select { max-width: 100%; font: inherit; }
.wrap { width: min(100% - var(--gutter) * 2, 1440px); margin-inline: auto; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 20; transform: translateY(-200%); padding: .7rem 1rem; background: var(--surface); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 100px; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--text); font-family: var(--heading); font-size: 1.3rem; font-weight: 800; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.brand::before { content: ''; width: 16px; height: 27px; border: 3px solid var(--accent); border-top: 8px solid var(--accent2); border-radius: 3px; transform: skewY(-12deg); }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.35rem; list-style: none; padding: 0; margin: 0; }
.site-nav li, .footer-nav li { margin: 0; }
.site-nav a { display: inline-block; padding-block: .5rem; color: var(--text); font-size: .83rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .footer-nav a:hover { color: var(--accent); text-decoration: underline; }
.page-home .site-nav a[href='index.html'] { color: var(--accent); box-shadow: 0 2px var(--accent2); }
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-inner { width: 100%; max-width: 1800px; display: grid; grid-template-columns: 1fr 1fr; min-height: min(790px, calc(100svh - 100px)); }
.hero-text { padding: clamp(3rem, 6vw, 7rem) var(--gutter); align-self: center; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin-bottom: 2rem; color: var(--accent); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow::before { content: ''; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--accent2); }
.hero h1 { max-width: 12ch; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.3rem); line-height: 1.65; }
.hero .lead { max-width: 43ch; margin-top: 1.75rem; }
.hero-actions { margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 52px; padding: .8rem 1.4rem; border: 1px solid transparent; border-radius: 5px; font-size: .95rem; font-weight: 700; text-decoration: none; transition: background .18s, transform .18s; }
.btn-primary { color: white; background: var(--accent); }
.btn-primary::after { content: '\2197'; font-size: 1.3rem; }
.btn-primary:hover { background: #44309e; transform: translateY(-2px); }
.hero-media { position: relative; min-height: 560px; }
.hero-media img { position: absolute; width: 100%; height: 100%; object-position: 54% center; }
.hero-media::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30%; height: 7px; background: var(--accent2); }
.section { padding-block: clamp(3.5rem, 7vw, 7rem); border-bottom: 1px solid var(--line); }
.section > .wrap:not(.split) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.section-title { position: sticky; top: 2rem; grid-column: 1; grid-row: 1 / 3; max-width: 15ch; padding-top: 1.4rem; }
.section-title::before { content: ''; position: absolute; left: 0; top: 0; width: 40px; height: 4px; background: var(--accent); }
.section-intro { grid-column: 2; max-width: 62ch; margin-bottom: 2rem; color: var(--muted); }
.card-grid { grid-column: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; counter-reset: guide; }
.card { display: flex; flex-direction: column; align-items: start; padding: clamp(1.25rem, 2.2vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent2); counter-increment: guide; transition: box-shadow .2s, transform .2s; }
.card::before { content: counter(guide, decimal-leading-zero); display: grid; place-items: center; width: 34px; height: 28px; margin-bottom: 1.8rem; background: #edf9f5; color: #12634d; font-size: .72rem; font-weight: 750; border-radius: 3px; }
.card-title { font-size: clamp(1.25rem, 1.5vw, 1.6rem); line-height: 1.3; }
.card-text { color: var(--muted); font-size: .95rem; }
.card-link { margin-top: auto; padding-top: 1rem; font-size: .85rem; font-weight: 750; }
.card-link::after { content: '\2192'; display: inline-block; margin-left: .75rem; }
.card:last-child { grid-column: 1 / -1; }
.section-feature { background: var(--surface); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; gap: clamp(2rem, 8vw, 9rem); }
.split-text { position: sticky; top: 2rem; }
.split-text .section-title { position: relative; top: auto; margin-bottom: 2rem; }
.split-text p { color: var(--muted); max-width: 48ch; }
.split-media img { width: 100%; height: clamp(480px, 52vw, 760px); }
.section-feature + .section-feature { background: #e9f0f6; }
.section-feature + .section-feature .split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.section-feature + .section-feature .split-text { grid-column: 2; grid-row: 1; }
.section-feature + .section-feature .split-media { grid-column: 1; grid-row: 1; }
.fact-list { grid-column: 2; list-style: none; margin: 0; padding: 0; counter-reset: fact; }
.fact { position: relative; padding: 1.6rem 0 1.6rem 3.5rem; margin: 0; border-bottom: 1px solid var(--line); font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.5; counter-increment: fact; }
.fact:first-child { border-top: 1px solid var(--line); }
.fact::before { content: counter(fact, decimal-leading-zero); position: absolute; left: 0; top: 1.8rem; color: var(--accent); font-size: .8rem; font-weight: 750; }
.section-partners { background: var(--surface); }
.partner-list { grid-column: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; list-style: none; margin: 0; padding: 0; }
.partner { padding: 1.7rem 0; margin: 0; border-top: 1px solid var(--line); }
.partner-link { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-size: .78rem; line-height: 1.6; }
.partner-phrase { margin: .85rem 0 .6rem; font-family: var(--heading); font-size: 1.1rem; font-weight: 750; line-height: 1.35; }
.partner-phrase::first-letter { text-transform: uppercase; }
.partner-desc { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.75; }
.article { padding-block: clamp(2rem, 4vw, 4rem) clamp(4rem, 7vw, 8rem); }
.article > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 2.5rem clamp(2.5rem, 6vw, 7rem); align-items: start; }
.breadcrumb { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .6rem; color: var(--muted); font-size: .8rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.page-header { position: sticky; top: 2rem; padding-top: 1.5rem; border-top: 4px solid var(--accent2); }
.page-header h1 { font-size: clamp(2rem, 2.6vw, 3rem); line-height: 1.16; }
.page-header .lead { margin-top: 1.5rem; font-size: 1rem; }
.prose { max-width: 73ch; padding: clamp(1.5rem, 3vw, 3.5rem); background: var(--surface); border: 1px solid var(--line); overflow-wrap: anywhere; }
.prose > p:first-child { font-size: 1.1em; color: #334456; }
.prose h2 { margin-top: 2.5rem; font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.25; }
.prose h3 { margin-top: 2rem; }
.prose li { padding-left: .35rem; margin-block: .7rem; }
.prose li::marker { color: var(--accent); }
.note { margin-top: 2.5rem; padding: 1.4rem 1.5rem; border-left: 4px solid var(--accent2); background: #edf9f5; font-size: .95rem; }
.note p:last-child, .prose > :last-child { margin-bottom: 0; }
.site-footer { padding-block: 2.5rem; background: var(--bg); border-top: 4px solid var(--accent2); }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 2rem; }
.footer-note { max-width: 55ch; margin: 0; color: var(--muted); font-size: .8rem; }
.footer-nav a { display: inline-block; padding-block: .3rem; font-size: .8rem; color: var(--text); }
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #14202b0b; }
}
@media (min-width: 1600px) {
  .hero-text { padding-left: max(var(--gutter), calc((100vw - 1440px) / 2)); }
}
@media (max-width: 1100px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .hero-inner { min-height: 660px; }
  .hero-text { padding-right: 2rem; }
  .hero-media { min-height: 100%; }
  .card-grid { grid-template-columns: 1fr; }
  .article > .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); column-gap: 2rem; }
  .page-header h1 { font-size: 2rem; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 760px) {
  .site-nav ul { gap: .15rem 1.15rem; }
  .site-nav a { font-size: .78rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 3rem var(--gutter); }
  .hero h1 { max-width: 17ch; font-size: clamp(2.5rem, 7vw, 3.7rem); }
  .hero-media { min-height: 0; height: clamp(290px, 65vw, 470px); }
  .hero-media img { object-position: center; }
  .section > .wrap:not(.split), .split, .section-feature + .section-feature .split, .article > .wrap { display: block; }
  .section-title, .split-text, .page-header { position: static; }
  .section-title { position: relative; max-width: 22ch; margin-bottom: 1.5rem; }
  .section-intro { margin-bottom: 2rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-media { margin-top: 2rem; }
  .split-media img { height: clamp(340px, 75vw, 550px); }
  .split-text p { max-width: none; }
  .fact-list { margin-top: 2rem; }
  .breadcrumb { margin-bottom: 2rem; }
  .page-header { margin-bottom: 2rem; }
  .page-header h1 { font-size: clamp(2rem, 5.5vw, 2.8rem); max-width: 24ch; }
  .page-header .lead { max-width: 55ch; }
  .prose { max-width: none; }
}
@media (max-width: 480px) {
  .card-grid, .partner-list { grid-template-columns: 1fr; }
  .card { padding: 1.5rem; }
  .card::before { margin-bottom: 1.1rem; }
  .partner { padding-block: 1.5rem; }
  .eyebrow { font-size: .65rem; letter-spacing: .08em; }
  .prose { padding: 1.4rem; }
  .note { padding: 1rem; }
  .footer-nav ul { gap: .35rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-height: 720px) and (min-width: 761px) {
  .page-header, .split-text { position: static; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header, .site-footer, .skip-link, .hero-actions { display: none; }
  .wrap { width: 100%; }
  .article > .wrap, .section > .wrap:not(.split), .split, .hero-inner { display: block; }
  .page-header, .section-title, .split-text { position: static; }
  .prose { max-width: none; border: 0; padding: 0; }
  .card, .note, img { break-inside: avoid; }
  a { color: inherit; }
}
