:root {
  --ground: #f2f3ef;
  --surface: #fff;
  --ink: #181c23;
  --muted: #58616b;
  --line: #dce1d9;
  --green: #24483d;
  --green-dark: #17362d;
  --green-soft: #e6eee8;
  --mint: #bfe7c9;
  --gold: #a67c32;
  --gold-soft: #f4eddc;
  --display: Cambria, Georgia, "Times New Roman", serif;
  --body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: Consolas, "SFMono-Regular", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #131a18; --surface: #1d2924; --ink: #eff2ec; --muted: #b6c3bb;
    --line: #3b4a40; --green: #b9e0c5; --green-dark: #0b1814; --green-soft: #263c30;
    --gold: #e3bb70; --gold-soft: #3b3426;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ground); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.shell { width: min(1200px, 100%); margin: 0 auto; padding-left: clamp(18px, 3vw, 34px); padding-right: clamp(18px, 3vw, 34px); }
.skip-link { position: fixed; z-index: 100; top: -70px; left: 14px; padding: 10px 16px; background: var(--ink); color: var(--surface); }
.skip-link:focus { top: 14px; }

.abceo-network { border-bottom: 1px solid var(--line); background: var(--surface); }
.network-row { min-height: 35px; display: flex; align-items: center; gap: 20px; }
.network-label { flex: none; color: var(--muted); font: 700 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.network-links { display: flex; align-items: center; gap: 18px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.network-links::-webkit-scrollbar { display: none; }
.network-links a { color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 700; }
.network-links a:hover, .network-links a[aria-current] { color: var(--green); }
.network-links a[aria-current] { border-bottom: 2px solid var(--green); }

.masthead { background: var(--ground); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 24px 0 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-letters { display: flex; gap: 3px; }
.brand-letter { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 3px; background: var(--green-dark); color: #fff; font: 700 14px/1 var(--mono); }
.brand-letter:nth-child(2), .brand-letter:nth-child(5) { background: #a67c32; }
.brand-divider { width: 1px; height: 35px; background: var(--line); }
.brand-title strong { display: block; color: var(--green); font: 800 20px/1 var(--body); letter-spacing: .065em; }
.brand-title small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.search-wrap { position: relative; width: min(330px, 100%); }
.search-wrap label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search-wrap input { width: 100%; height: 43px; padding: 0 16px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--ink); }
.search-wrap input::placeholder { color: var(--muted); }
.search-results { display: none; position: absolute; z-index: 20; top: 49px; left: 0; right: 0; max-height: 380px; overflow: auto; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 15px 40px #0002; }
.search-results.is-open { display: block; }
.search-results a { display: block; padding: 11px 14px; text-decoration: none; border-bottom: 1px solid var(--line); }
.search-results a:hover, .search-results a:focus { background: var(--green-soft); }
.search-results strong { display: block; line-height: 1.3; }
.search-results small { color: var(--muted); }
.search-results p { margin: 0; padding: 13px; color: var(--muted); font-size: 13px; }
.site-nav { display: flex; gap: 25px; overflow-x: auto; white-space: nowrap; border-top: 2px solid var(--ink); scrollbar-width: thin; }
.site-nav a { flex: none; padding: 12px 0 13px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 700; }
.site-nav a:hover { color: var(--green); box-shadow: inset 0 -3px var(--green); }

.eyebrow { color: var(--green); font: 800 11px/1.3 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .78fr); gap: clamp(28px, 5vw, 70px); align-items: stretch; padding: clamp(36px, 5.5vw, 80px) 0 32px; }
.hero-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: 10px 0 14px; }
.hero h1 { margin: 15px 0 23px; font-size: clamp(48px, 5.6vw, 78px); letter-spacing: -.048em; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-copy > p { max-width: 550px; margin: 0; color: var(--muted); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 10px 18px; border: 1px solid var(--green); border-radius: 3px; text-decoration: none; font-size: 13px; font-weight: 800; }
.button-primary { color: #fff; background: #24483d; border-color: #24483d; }
.button-primary:hover { background: #17362d; }
.button-secondary { color: var(--green); background: transparent; }
.button-secondary:hover { background: var(--green-soft); }

.hero-visual { min-height: 450px; padding: 26px clamp(22px, 3vw, 40px); display: flex; flex-direction: column; color: #f6f7ef; background: #24483d; border-radius: 4px; box-shadow: 15px 15px 0 #dce6d9; }
.visual-top, .visual-bottom { display: flex; justify-content: space-between; font: 700 11px/1.2 var(--mono); letter-spacing: .12em; }
.visual-top { color: #bdd6c7; }
.visual-heading { margin: auto 0 28px; font: 400 clamp(37px, 3.6vw, 58px)/1.04 var(--display); letter-spacing: -.03em; }
.visual-rule { display: flex; gap: 7px; margin-bottom: 23px; }
.visual-rule span { height: 3px; flex: 1; background: #618674; }
.visual-rule span:first-child { background: #dbbd78; }
.visual-rows { border-top: 1px solid #769286; }
.visual-rows div { display: flex; align-items: center; gap: 20px; min-height: 46px; border-bottom: 1px solid #769286; }
.visual-rows b { flex: 1; font-size: 14px; }
.visual-rows i { font-style: normal; color: #dbbd78; }
.visual-bottom { margin-top: 28px; color: #bdd6c7; }
.intro-strip { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 26px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; }
.intro-strip span::before { content: "◆"; padding-right: 10px; color: var(--gold); font-size: 8px; }

.section { padding-top: clamp(60px, 8vw, 96px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.section-head h2 { margin: 7px 0 0; font-size: clamp(32px, 3.7vw, 47px); letter-spacing: -.02em; }
.section-head p { max-width: 310px; margin: 0 0 3px; color: var(--muted); font-size: 13px; }
.text-link { flex: none; color: var(--green); font-size: 13px; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.article-card { display: flex; flex-direction: column; min-height: 280px; padding: 25px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--green); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.article-card.featured { min-height: 310px; }
.article-card:hover, .category-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px #0001; }
.article-card h3 { margin: 31px 0 12px; font-size: clamp(24px, 2.5vw, 32px); letter-spacing: -.015em; }
.article-card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 24px; color: var(--green); font-size: 12px; font-weight: 800; }
.card-link span { font-size: 19px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.category-card { min-height: 210px; display: flex; flex-direction: column; padding: 23px; background: var(--green-soft); border: 1px solid var(--line); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.category-card h3 { margin: 12px 0 9px; font-size: 25px; }
.category-card p { margin: 0; color: var(--muted); font-size: 13px; }
.category-card .card-link { padding-top: 12px; }
.principle { display: grid; grid-template-columns: 1fr .75fr; gap: 50px; margin: 90px 0 0; padding: clamp(32px, 5vw, 58px); background: var(--gold-soft); border-left: 5px solid var(--gold); }
.principle h2 { margin: 10px 0 20px; font-size: clamp(32px, 3.7vw, 48px); }
.principle p { max-width: 580px; color: var(--muted); }
.principle .button { margin-top: 12px; }
.principle-list { display: grid; align-content: center; }
.principle-list div { display: flex; gap: 26px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.principle-list span { font-weight: 700; }

.page-content { padding-top: 26px; padding-bottom: 36px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-heading { max-width: 770px; padding: 68px 0 55px; }
.page-heading h1 { margin: 12px 0 15px; font-size: clamp(48px, 6vw, 74px); letter-spacing: -.04em; }
.page-heading p { margin: 0; color: var(--muted); font-size: 20px; }
.category-next { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding: 21px 0; border-top: 1px solid var(--line); font-size: 13px; }
.category-next a { color: var(--green); font-weight: 800; text-decoration: none; }

.guide { padding-top: 60px; }
.guide-header { max-width: 830px; padding-bottom: 30px; border-bottom: 2px solid var(--ink); }
.guide-header h1 { margin: 15px 0 18px; font-size: clamp(48px, 5.6vw, 76px); letter-spacing: -.04em; }
.guide-summary { margin: 0; color: var(--muted); font-size: clamp(19px, 2vw, 24px); }
.guide-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 25px; color: var(--muted); font: 700 11px/1.5 var(--mono); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 710px) minmax(220px, 1fr); gap: clamp(35px, 5vw, 75px); padding-top: 42px; }
.guide-body { max-width: 720px; font-size: 17px; line-height: 1.77; }
.guide-lead { margin: 0 0 37px; font-size: 20px; color: var(--ink); }
.guide-body section { margin-bottom: 41px; }
.guide-body h2 { margin: 0 0 13px; font-size: 31px; }
.guide-body p { margin: 0 0 15px; color: var(--muted); }
.guide-aside { align-self: start; position: sticky; top: 20px; padding: 24px; background: var(--green-soft); border-top: 3px solid var(--green); }
.guide-aside p { margin: 15px 0 22px; font-size: 15px; }
.guide-aside a { color: var(--green); font-size: 12px; font-weight: 800; text-decoration: none; }
.checklist { margin: 12px 0 43px; padding: 26px; background: var(--gold-soft); border-left: 4px solid var(--gold); }
.checklist h2 { font-size: 28px; }
.checklist ul, .source-list ul { margin: 0; padding-left: 22px; }
.checklist li { margin: 8px 0; }
.source-list { padding-top: 30px; border-top: 1px solid var(--line); }
.source-list li { margin: 6px 0; }
.source-list a { color: var(--green); font-size: 14px; font-weight: 700; }
.methodology .guide-body { padding-top: 42px; }

.footer { margin-top: 95px; padding-top: 50px; color: #e6f0e8; background: #17362d; }
.footer .eyebrow { color: #d7bf83; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 42px; }
.footer h2 { margin: 10px 0; font-size: 34px; }
.footer p { max-width: 410px; color: #bfd1c6; font-size: 13px; }
.footer h3 { font: 800 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.footer a { display: block; width: fit-content; margin: 9px 0; color: #e6f0e8; font-size: 13px; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-end { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 17px; padding-bottom: 20px; border-top: 1px solid #557065; color: #bfd1c6; font-size: 11px; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; box-shadow: none; }
  .featured-grid, .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-aside { position: static; }
}
@media (max-width: 590px) {
  .network-label { display: none; }
  .masthead-row { align-items: stretch; flex-direction: column; gap: 18px; }
  .search-wrap { width: 100%; }
  .brand-title strong { font-size: 18px; }
  .brand-letter { width: 26px; height: 26px; }
  .hero h1 { font-size: clamp(43px, 11vw, 58px); }
  .hero-visual { min-height: 350px; }
  .intro-strip { flex-direction: column; }
  .section-head { align-items: start; flex-direction: column; }
  .featured-grid, .category-grid { grid-template-columns: 1fr; }
  .article-card, .article-card.featured { min-height: 225px; }
  .category-card { min-height: 185px; }
  .principle { margin-top: 70px; }
  .page-heading { padding: 45px 0 35px; }
  .guide { padding-top: 42px; }
  .guide-header h1 { font-size: clamp(43px, 10vw, 60px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
