:root {
  --bg: #fff7dc;
  --surface: #ffffff;
  --text: #23303d;
  --accent: #3457c4;
  --accent2: #f0b400;
  --muted: #52606b;
  --line: #e4ddc7;
  --heading: 'Avenir Next Rounded', 'Nunito', 'Trebuchet MS', 'Segoe UI', sans-serif;
  --body: 'Avenir Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 12px 32px rgb(66 57 30 / 7%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 clamp(1rem, .95rem + .2vw, 1.125rem)/1.75 var(--body); overflow-wrap: break-word; }
::selection { background: var(--accent2); color: var(--text); }
a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: .22em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2.5px; }
a, button { -webkit-tap-highlight-color: rgb(52 87 196 / 15%); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; box-shadow: 0 0 0 3px var(--surface); }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
p { margin: 0 0 1.25em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 .7em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.45rem + 2.8vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.3vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.65rem); }
h4, h5, h6 { font-size: 1.125rem; }
ul, ol { padding-left: 1.4em; }
li::marker { color: var(--accent); }
strong, b { font-weight: 750; }
small { font-size: .875em; }
hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--line); }
blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--accent2); background: var(--bg); border-radius: 0 18px 18px 0; }
code, pre { font-family: ui-monospace, monospace; background: #f0f2f7; border-radius: 6px; }
code { padding: .1em .3em; }
pre { padding: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; }
table { border-collapse: collapse; width: 100%; font-size: .95em; }
th, td { padding: .75rem; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
th { background: var(--bg); }
input, textarea, select, button { font: inherit; max-width: 100%; }
input, textarea, select { padding: .75rem; border: 1px solid var(--muted); border-radius: 10px; background: white; color: var(--text); }
figcaption { padding: .75rem 1rem; font-size: .875rem; color: var(--muted); }
.page { min-width: 0; }
.page-home main { isolation: isolate; }
.page-sub main { padding-top: .5rem; }
.wrap { width: min(100% - 3rem, 1280px); margin-inline: auto; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; padding: .75rem 1rem; background: white; border: 2px solid var(--accent); border-radius: 12px; transform: translateY(-180%); }
.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; padding-block: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; flex-shrink: 0; font: 800 clamp(1.4rem, 1.2rem + .5vw, 1.75rem)/1.2 var(--heading); color: var(--text); text-decoration: none; letter-spacing: -.04em; }
.brand::before { content: ''; width: 26px; height: 33px; border: 2px solid var(--accent); border-radius: 4px 9px 8px 4px; border-left-width: 6px; background: var(--bg); box-shadow: 4px 4px 0 var(--accent2); transform: rotate(-7deg); }
.site-nav { min-width: 0; }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; gap: .2rem 1rem; list-style: none; padding: 0; margin: 0; }
.site-nav a { display: block; padding: .65rem .15rem; color: var(--text); text-decoration: none; font-size: .875rem; font-weight: 650; }
.site-nav a:hover { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent2); text-decoration-thickness: 4px; }
.hero { padding: clamp(2.75rem, 5vw, 5.5rem) 0 clamp(3.5rem, 6vw, 6rem); }
.hero-inner { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-text, .split-text { min-width: 0; }
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; display: flex; align-items: center; gap: .8rem; margin-bottom: 1.5rem; }
.eyebrow::before { content: ''; width: 2.4rem; height: 3px; background: var(--accent); border-radius: 60%; transform: rotate(-6deg); }
.hero h1 { position: relative; padding-bottom: .35em; }
.hero h1::after, .section-title::after, .page-header h1::after, .prose h2::after { content: ''; display: block; width: 5.5rem; height: 8px; background: var(--accent2); border-radius: 70% 25% 55% 30%; transform: rotate(-2deg); margin-top: .4em; box-shadow: 2px 3px 0 rgb(240 180 0 / 23%); }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.8; color: #3f4b55; }
.hero .lead { font-size: clamp(1rem, .94rem + .2vw, 1.125rem); }
.hero-actions { margin-top: 1.75rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; min-height: 52px; padding: .85rem 1.5rem; border: 2px solid var(--accent); border-radius: 16px 16px 19px 7px; font-size: 1rem; font-weight: 700; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.btn-primary { color: white; background: var(--accent); box-shadow: 4px 4px 0 var(--accent2); }
.btn::after, .card-link::after { content: '\2192'; font-size: 1.25em; }
.btn:hover { background: #28459e; transform: translateY(-2px); box-shadow: 5px 7px 0 var(--accent2); }
.hero-media { position: relative; padding: 10px; background: white; border-radius: 45% 45% 26px 26px; box-shadow: var(--shadow); }
.hero-media::after { content: ''; position: absolute; right: 22px; bottom: -13px; width: 85px; height: 21px; border-bottom: 4px solid var(--accent); border-radius: 50%; transform: rotate(-9deg); }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; border-radius: 45% 45% 20px 20px; }
.section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.section-title { max-width: 28ch; margin-bottom: 1.1em; }
.section-intro { max-width: 80ch; color: var(--muted); margin-bottom: 2.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: topic; }
.card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.35rem, 2vw, 2rem); background: white; border: 1px solid var(--line); border-radius: 22px 22px 22px 6px; box-shadow: var(--shadow); counter-increment: topic; transition: transform 180ms ease, border-color 180ms ease; }
.card::before { content: '0' counter(topic); display: grid; place-items: center; width: 2.8rem; height: 2.8rem; background: var(--bg); border-radius: 50% 45% 48% 40%; color: var(--accent); font: 800 1.1rem var(--heading); margin-bottom: 1.5rem; }
.card:nth-child(even) { border-radius: 22px 6px 22px 22px; }
.card-title { font-size: clamp(1.25rem, 1.1rem + .35vw, 1.5rem); }
.card-text { font-size: 1rem; color: var(--muted); }
.card-link { display: inline-flex; gap: .75rem; align-items: center; margin-top: auto; padding-block: .5rem; font-size: .9375rem; font-weight: 750; }
.section-feature { background: white; border-block: 1px solid var(--line); border-radius: 48px 48px 0 0; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.split-text > :last-child { margin-bottom: 0; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 6 / 5; border-radius: 28px 75px 28px 28px; }
.section-feature .split-media { padding-bottom: 12px; border-bottom: 3px solid var(--accent2); border-radius: 0 0 30% 10%; }
.split > .split-media:first-child img { border-radius: 75px 28px 28px 28px; }
.fact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 1rem; padding: 0; margin: 2rem 0; list-style: none; }
.fact { padding: 1.25rem; border-left: 3px solid var(--accent); border-radius: 0 16px 16px 0; background: white; }
.fact strong { display: block; font-family: var(--heading); color: var(--accent); font-size: 1.5rem; }
.section-partners { background: #f3f5fb; border-top: 1px solid #dce2f2; }
.section-partners .section-title { max-width: none; }
.partner-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.partner { min-width: 0; padding: 1.25rem; background: white; border: 1px solid #dce2f2; border-top: 3px solid #c3ceee; border-radius: 6px 6px 16px 16px; }
.partner-link { display: block; overflow-wrap: anywhere; word-break: normal; font-size: 14px; line-height: 1.5; color: #3457c4; margin-bottom: .75rem; }
.partner-phrase { font: 750 1rem/1.4 var(--heading); margin-bottom: .5rem; }
.partner-desc { color: var(--muted); font-size: .875rem; line-height: 1.65; margin: 0; }
.article { padding-block: 2rem clamp(3rem, 6vw, 6rem); }
.article > .wrap { max-width: 1020px; }
.breadcrumb { font-size: .8125rem; color: var(--muted); margin-bottom: 2.5rem; }
.breadcrumb a { display: inline-block; padding-block: .4rem; }
.page-header { max-width: 880px; margin-inline: auto; padding-bottom: 1.5rem; }
.page-header h1 { font-size: clamp(2.1rem, 1.4rem + 2.5vw, 3.75rem); }
.page-header h1::after { margin-top: .5em; margin-bottom: .6em; }
.article-figure { padding: 8px; background: white; border-radius: 32px; box-shadow: var(--shadow); margin: 0 auto 3rem; }
.article-figure img { width: 100%; max-height: 560px; aspect-ratio: 16 / 9; border-radius: 25px; }
.prose { max-width: 80ch; margin-inline: auto; padding: clamp(1.5rem, 4vw, 3.5rem); background: white; border-radius: 28px; box-shadow: var(--shadow); }
.prose h2 { margin-top: 2em; font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); }
.prose h2::after { height: 5px; width: 3rem; }
.prose h3 { margin-top: 1.75em; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose li { margin-bottom: .6em; }
.note { margin-block: 2rem; padding: 1.5rem; border-left: 4px solid var(--accent2); background: var(--bg); border-radius: 4px 18px 18px 4px; }
.note p:last-child { margin-bottom: 0; }
.site-footer { padding-block: clamp(2.5rem, 4vw, 4rem); border-top: 4px solid var(--accent2); background: white; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.footer-note { max-width: 55ch; font-size: .9375rem; color: var(--muted); margin: 0; }
.footer-nav ul { gap: .25rem 1.5rem; }
.footer-nav a { display: inline-block; padding-block: .5rem; font-size: .875rem; }

@media (hover: hover) {
  .card:hover { transform: translateY(-4px); border-color: #a6b5e4; }
  .partner:hover { border-top-color: var(--accent); }
}
@media (min-width: 1440px) {
  .partner-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .site-nav ul { gap: .15rem 1.5rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { gap: 2rem; }
}
@media (max-width: 760px) {
  .hero-inner, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-text { max-width: 62ch; }
  .hero-media { border-radius: 32px; }
  .hero-media img { aspect-ratio: 4 / 3; max-height: 480px; border-radius: 24px; }
  .hero h1 { max-width: 22ch; }
  .section-title { max-width: 30ch; }
  .split-media img { aspect-ratio: 3 / 2; }
  .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .article-figure img { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { padding-block: 1.25rem .85rem; }
  .site-nav ul { gap: 0 .9rem; }
  .site-nav a { font-size: .8125rem; padding-block: .55rem; }
  .hero { padding-top: 2.25rem; }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 1.5rem; }
  .card::before { margin-bottom: 1rem; }
  .partner-list { gap: .65rem; }
  .partner { padding: .9rem .7rem; }
  .partner-phrase { font-size: .9375rem; }
  .partner-link { font-size: .8125rem; }
  .prose { padding: 1.4rem; border-radius: 20px; }
  .page-header { padding-bottom: 1rem; }
  .breadcrumb { margin-bottom: 1.5rem; }
  .article-figure { margin-bottom: 2rem; }
  .note { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover, .btn:hover { transform: none; }
}
@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, .hero { padding-block: 1rem; }
  .prose { max-width: none; padding: 0; }
  .card, .prose, .hero-media, .article-figure { box-shadow: none; }
  h1, h2, h3 { break-after: avoid; }
  img, .card, .partner, .note { break-inside: avoid; }
  a { color: inherit; }
}
