:root {
  color-scheme: dark;
  --bg: #1f232d;
  --surface: #2a2f3b;
  --text: #f5f1e8;
  --accent: #f2b632;
  --accent2: #ff6b4a;
  --muted: #c8c8cc;
  --line: #555965;
  --heading: Impact, 'Arial Narrow Bold', 'Helvetica Neue', Arial, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

*, *::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: var(--body); font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.7; overflow-wrap: break-word; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; min-width: 0; }
::selection { background: var(--accent); color: var(--bg); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color 160ms ease, background-color 160ms ease; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent2); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
p { margin: 0 0 1.25em; }
ul, ol { padding-inline-start: 1.4rem; }
li { padding-inline-start: .2rem; }
li::marker { color: var(--accent); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; font-family: var(--heading); font-weight: 900; line-height: 1.08; text-transform: uppercase; letter-spacing: .015em; overflow-wrap: anywhere; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.7vw, 5.75rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2vw, 2rem); }
hr { border: 0; border-top: 4px solid var(--accent); margin-block: 2rem; }
strong, b { font-weight: 750; }
small { font-size: .85em; }
.wrap { width: min(100% - var(--gutter) * 2, 88rem); margin-inline: auto; }
.skip-link { position: fixed; inset: .75rem auto auto .75rem; z-index: 10; padding: .75rem 1.25rem; background: var(--accent); color: var(--bg); font-weight: 750; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); color: var(--bg); }

.site-header { border-top: 8px solid var(--accent); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: 1.3rem; }
.brand { flex-shrink: 0; color: var(--text); font-family: var(--heading); font-size: clamp(1.6rem, 2.4vw, 2.25rem); letter-spacing: .015em; line-height: 1.1; text-transform: uppercase; text-decoration: none; }
.brand::after { content: '.'; color: var(--accent2); }
.brand:hover { color: var(--accent); }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a { display: inline-block; padding-block: .65rem; color: var(--text); font-size: .85rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 3px; }
.page-home .site-nav a[href='index.html'] { color: var(--accent); }

.hero { padding-block: clamp(2.75rem, 6vw, 6rem) clamp(3.5rem, 7vw, 7rem); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-text { min-width: 0; position: relative; z-index: 1; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1.6; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(3.25rem, 6.1vw, 6.5rem); line-height: .98; letter-spacing: -.015em; margin-bottom: .35em; text-wrap: initial; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.4rem); line-height: 1.65; color: var(--muted); max-width: 54ch; }
.hero .lead { font-size: clamp(1rem, .95rem + .2vw, 1.15rem); margin-top: 1.5rem; }
.hero-actions { margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem; max-width: 100%; padding: 1rem 1.4rem; border: 2px solid var(--accent); font-size: .95rem; font-weight: 800; line-height: 1.4; text-decoration: none; transition: background-color 160ms ease, transform 160ms ease; }
.btn::after { content: '\2197'; font-size: 1.35em; }
.btn-primary { color: var(--bg); background: var(--accent); }
.btn-primary:hover { background: var(--text); border-color: var(--text); color: var(--bg); transform: translateY(-2px); }
.hero-media { position: relative; isolation: isolate; margin: 1.75rem 1.5rem 0 0; }
.hero-media::before { content: ''; position: absolute; z-index: -1; inset: -1.5rem -1.5rem 1.5rem 1.5rem; background: var(--accent); }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-position: 48% center; }

.section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.section > .wrap { border-top: 7px solid var(--accent); padding-top: clamp(1.75rem, 3vw, 3rem); }
.section-title { max-width: 24ch; margin-bottom: .5em; }
.section-intro { max-width: 66ch; color: var(--muted); margin-bottom: 2.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: guide; }
.card { counter-increment: guide; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.4rem, 2.4vw, 2.4rem); background: var(--surface); border-top: 4px solid var(--accent); transition: border-color 180ms ease, transform 180ms ease; }
.card::before { content: counter(guide, decimal-leading-zero); font-family: var(--heading); font-size: clamp(3.5rem, 5vw, 5rem); line-height: 1; color: var(--accent); margin-bottom: 1.5rem; }
.card-title { font-size: clamp(1.55rem, 2.15vw, 2.2rem); line-height: 1.15; text-wrap: initial; }
.card-text { color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: 1.75rem; }
.card-link { width: 100%; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 750; text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card-link::after { content: '\2192'; font-size: 1.5rem; line-height: 1; }
.card:focus-within { border-color: var(--accent2); }

.section-feature { padding-block: clamp(2rem, 4vw, 4rem); }
.section-feature > .wrap { border-top: 0; padding-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.split-text { min-width: 0; border-top: 7px solid var(--accent2); padding-top: 2rem; }
.split-text p { max-width: 52ch; }
.split-text p:last-child { margin-bottom: 0; }
.split-media { border-bottom: 12px solid var(--accent); }
.split-media img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.section-feature + .section-feature .split-text { order: 2; }
.section-feature + .section-feature .split-media { order: 1; }
.fact-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.fact { position: relative; padding: 1.5rem 0 1.5rem 2rem; border-bottom: 1px solid var(--line); }
.fact::before { content: ''; position: absolute; left: 0; top: 2.1rem; width: .65rem; height: .65rem; background: var(--accent2); }

.section-partners { background: var(--surface); }
.section-partners > .wrap { border-top: 0; padding-top: 0; }
.section-partners .section-title { color: var(--accent); }
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.partner { padding: clamp(1.2rem, 2vw, 2rem); border: 1px solid var(--line); min-width: 0; }
.partner-link { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-size: .875rem; line-height: 1.65; }
.partner-phrase { font-family: var(--heading); text-transform: uppercase; font-size: clamp(1.25rem, 1.5vw, 1.6rem); line-height: 1.2; letter-spacing: .025em; margin: 1rem 0 .6rem; }
.partner-desc { font-size: .95rem; color: var(--muted); margin: 0; }

.article { padding-block: clamp(2rem, 4vw, 4rem) clamp(4rem, 8vw, 8rem); }
.page-sub .article > .wrap { max-width: 49rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); margin-bottom: 2.5rem; }
.page-header { border-top: 8px solid var(--accent); padding-block: 2rem; border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; }
.page-header h1 { font-size: clamp(2.6rem, 5.1vw, 4.9rem); line-height: 1.04; letter-spacing: 0; margin-bottom: .45em; text-wrap: initial; }
.page-header .lead { margin-bottom: 0; }
.prose { font-size: clamp(1.05rem, 1rem + .2vw, 1.2rem); line-height: 1.85; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.18; margin-top: 2.25em; margin-bottom: .65em; text-wrap: initial; }
.prose h3 { margin-top: 1.75em; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-block: 1.5rem; }
.prose li { margin-bottom: .7rem; padding-left: .4rem; }
.prose a { overflow-wrap: anywhere; }
.note { background: var(--surface); border-left: 7px solid var(--accent); padding: clamp(1.3rem, 3vw, 2rem); margin-block: 3rem 0; font-size: 1.05rem; line-height: 1.8; }
.note p:last-child { margin-bottom: 0; }

.site-footer { border-top: 7px solid var(--accent); padding-block: 2.5rem; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem 4rem; }
.footer-note { color: var(--muted); font-size: .85rem; line-height: 1.7; max-width: 60ch; margin: 0; }
.footer-nav { flex-shrink: 0; }
.footer-nav a { display: inline-block; padding-block: .5rem; font-size: .85rem; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-4px); border-top-color: var(--accent2); }
}
@media (min-width: 1400px) {
  .hero h1 { font-size: 6.5rem; }
}
@media (max-width: 1050px) {
  .header-inner { flex-wrap: wrap; gap: .6rem 2rem; }
  .hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; }
  .hero h1 { font-size: clamp(3.25rem, 6.5vw, 4.5rem); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .site-nav ul { gap: 0 1.2rem; }
  .site-nav a { font-size: .8rem; }
  .hero-inner, .split { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(3rem, 10.5vw, 4.6rem); max-width: 17ch; }
  .hero-media { margin: 1.25rem 1rem 0 0; }
  .hero-media::before { inset: -1rem -1rem 1rem 1rem; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero { padding-bottom: 1.5rem; }
  .card-grid, .partner-list, .fact-list { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 1.5rem; }
  .card::before { font-size: 3.5rem; margin-bottom: 1rem; }
  .card-title { font-size: 1.9rem; }
  .section-feature + .section-feature .split-text, .section-feature + .section-feature .split-media { order: initial; }
  .split-media img { aspect-ratio: 4 / 3; }
  .section-title { max-width: 23ch; }
  .footer-nav { flex-shrink: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn-primary:hover { transform: none; }
}
