@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --green: #0B5D3B;
  --green-dark: #07452C;
  --navy: #17324D;
  --yellow: #F4C542;
  --yellow-pale: #FFF6D8;
  --bg: #F8FAF8;
  --white: #FFFFFF;
  --ink: #1F2933;
  --muted: #64748B;
  --border: #DDE5E1;
  --success: #16845B;
  --warning: #B7791F;
  --error: #C0392B;
  --info: #286B8F;
  --shadow: 0 12px 32px rgba(23, 50, 77, .08);
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
body.no-scroll { overflow: hidden; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { color: var(--navy); font-size: clamp(2.15rem, 4vw, 3.65rem); line-height: 1.12; letter-spacing: -.04em; margin-bottom: 1.1rem; }
h2 { color: var(--navy); font-size: clamp(1.55rem, 2.4vw, 2.35rem); line-height: 1.2; letter-spacing: -.025em; }
h3 { color: var(--navy); font-size: 1.2rem; line-height: 1.35; }
h4 { color: var(--navy); margin-bottom: .45rem; }
.lead { color: var(--muted); font-size: 1.18rem; max-width: 680px; }
.small { font-size: .92rem; }
.muted { color: var(--muted); }
.eyebrow { color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.label { color: var(--navy); display: block; font-size: .9rem; font-weight: 700; margin: 0 0 .38rem; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--yellow); color: var(--navy); padding: .7rem 1rem; }
.skip-link:focus { left: 10px; }
:focus-visible { outline: 3px solid rgba(244,197,66,.95); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.topbar { background: var(--navy); color: #e9f0f4; font-size: .78rem; }
.topbar .container, .main-header .container { align-items: center; display: flex; justify-content: space-between; min-height: 38px; }
.top-links { display: flex; gap: 1.1rem; }
.top-links a { color: #e9f0f4; text-decoration: none; }
.main-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.main-header .container { min-height: 76px; gap: 1rem; }
.brand { align-items: center; color: var(--navy); display: inline-flex; gap: .7rem; text-decoration: none; white-space: nowrap; }
.brand-mark { align-items: center; background: var(--green); border-radius: 10px 10px 10px 3px; color: var(--yellow); display: inline-flex; height: 38px; justify-content: center; width: 38px; }
.brand-mark svg { width: 24px; }
.brand strong { font-size: 1.05rem; }
.brand span { color: var(--muted); display: block; font-size: .67rem; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.nav { align-items: center; display: flex; gap: .12rem; }
.nav a { border-radius: 7px; color: var(--navy); font-size: .84rem; padding: .55rem .62rem; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: #edf5f1; color: var(--green); }
.header-actions { align-items: center; display: flex; gap: .35rem; }
.icon-btn, .menu-btn { align-items: center; background: transparent; border: 1px solid transparent; color: var(--navy); display: inline-flex; justify-content: center; padding: .6rem; }
.icon-btn:hover, .menu-btn:hover { background: #edf5f1; border-color: var(--border); }
.menu-btn { display: none; }

.hero { background: var(--green); border-bottom: 1px solid var(--green-dark); color: #fff; overflow: hidden; padding: 64px 0 60px; position: relative; }
.hero:after { border: 1px solid rgba(255,255,255,.18); border-radius: 50%; content: ''; height: 430px; position: absolute; right: -140px; top: -130px; width: 430px; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { align-items: center; display: grid; gap: 3rem; grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr); }
.hero-simple { grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); }
.hero-simple .hero-copy { max-width: 760px; }
.hero-simple h1 { max-width: 720px; }
.hero-side-note { border-left: 1px solid rgba(255,255,255,.35); padding: .4rem 0 .4rem 1.5rem; }
.hero-side-note h2 { color: #fff; font-size: 1.35rem; margin-bottom: .8rem; }
.hero-side-note p { color: #d7eee4; font-size: .97rem; }
.hero-side-note ul { color: #fff; list-style: none; margin: 1rem 0 0; padding: 0; }
.hero-side-note li { border-top: 1px solid rgba(255,255,255,.18); padding: .65rem 0; }
.hero h1 { color: #fff; max-width: 660px; }
.hero-copy { max-width: 710px; }
.hero .eyebrow { color: var(--yellow); }
.hero .lead { color: #e4f1eb; }
.hero-search { background: var(--white); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 22px rgba(7,69,44,.08); display: flex; margin: 2rem 0 1rem; max-width: 680px; padding: .35rem; }
.hero-search input { background: transparent; border: 0; color: var(--ink); min-width: 0; outline: 0; padding: .78rem 1rem; width: 100%; }
.hero-search button { border: 0; border-radius: 7px; padding: .72rem 1.2rem; }
.popular { align-items: center; display: flex; flex-wrap: wrap; gap: .45rem; }
.popular a { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; color: #fff; font-size: .84rem; padding: .32rem .72rem; text-decoration: none; }
.hero .muted { color: #d7eee4; }
.hero-visual { min-height: 330px; position: relative; }
.signal-card { background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); padding: 1.5rem; position: absolute; }
.signal-card.main { left: 8%; top: 42px; width: 76%; }
.signal-card.small-card { bottom: 12px; right: 0; width: 48%; }
.signal-line { align-items: end; display: flex; gap: .35rem; height: 84px; margin: 1.1rem 0; }
.signal-line i { background: var(--yellow); display: block; flex: 1; }
.signal-line i:nth-child(1) { height: 34%; }.signal-line i:nth-child(2) { height: 48%; }.signal-line i:nth-child(3) { height: 43%; }.signal-line i:nth-child(4) { height: 72%; }.signal-line i:nth-child(5) { height: 88%; }
.pulse { align-items: center; display: flex; gap: .65rem; }
.pulse-dot { background: var(--success); border-radius: 50%; height: 10px; width: 10px; }

.section { padding: 76px 0; }
.section.compact { padding: 48px 0; }
.section-heading { align-items: end; display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.section-heading h2 { margin-bottom: .35rem; }
.section-heading p { color: var(--muted); margin-bottom: 0; }
.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.actions-grid { display: grid; gap: .8rem; grid-template-columns: repeat(6, 1fr); }
.action { align-items: center; background: var(--white); border: 1px solid var(--border); color: var(--navy); display: flex; flex-direction: column; gap: .6rem; min-height: 130px; padding: 1rem .7rem; text-align: center; text-decoration: none; transition: transform .2s, border-color .2s; }
.action:hover { border-color: #9ec6b3; color: var(--green); transform: translateY(-3px); }
.action-icon { align-items: center; background: var(--yellow-pale); border-radius: 9px; color: var(--green); display: inline-flex; height: 40px; justify-content: center; width: 40px; }
.action span:last-child { font-size: .8rem; font-weight: 600; line-height: 1.3; }
.homepage-steps { background: #fbfdfc; }
.step-card { border-top: 4px solid var(--green); min-height: 245px; padding: 1.45rem 1.25rem; }
.step-card:nth-child(2) { border-top-color: var(--yellow); }
.step-card:nth-child(3) { border-top-color: var(--info); }
.step-card:nth-child(4) { border-top-color: var(--navy); }
.step-card .step-number { background: var(--green); border-radius: 50%; color: #fff; font-size: 1.15rem; font-weight: 800; height: 52px; margin-bottom: 1.15rem; width: 52px; }
.step-card:nth-child(2) .step-number { background: var(--yellow); color: var(--navy); }
.step-card:nth-child(3) .step-number { background: var(--info); color: #fff; }
.step-card:nth-child(4) .step-number { background: var(--navy); color: #fff; }
.step-card h3 { font-size: 1.14rem; font-weight: 800; margin-bottom: .55rem; }
.step-card p { color: #40515d; font-size: .95rem; line-height: 1.55; }
.card { background: var(--white); border: 1px solid var(--border); padding: 1.35rem; }
.card:hover { border-color: #9ec6b3; }
.tool-card { display: flex; flex-direction: column; min-height: 218px; }
.tool-card .card-icon { align-items: center; background: #edf5f1; color: var(--green); display: flex; height: 42px; justify-content: center; margin-bottom: 1rem; width: 42px; }
.tool-card h3 { margin-bottom: .4rem; }
.tool-card p { color: var(--muted); font-size: .95rem; line-height: 1.55; margin-bottom: 1rem; }
.featured-tools { background: #eef6f2; border-bottom: 1px solid #d8e9df; border-top: 1px solid #d8e9df; }
.featured-tools .section-heading { margin-bottom: 1.5rem; }
.featured-tool { background: var(--white); border: 1px solid #d4e4dc; display: flex; flex-direction: column; min-height: 260px; overflow: hidden; padding: 0; position: relative; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.featured-tool:before { background: var(--green); content: ''; height: 5px; left: 0; position: absolute; right: 0; top: 0; }
.featured-tool:nth-child(2):before { background: var(--yellow); }
.featured-tool:nth-child(3):before { background: var(--info); }
.featured-tool:nth-child(4):before { background: var(--green-dark); }
.featured-tool:hover { border-color: #9ec6b3; box-shadow: 0 14px 28px rgba(23,50,77,.1); color: inherit; transform: translateY(-4px); }
.featured-tool-inner { display: flex; flex: 1; flex-direction: column; padding: 1.5rem 1.35rem 1.3rem; }
.featured-tool-top { align-items: center; display: flex; justify-content: space-between; margin-bottom: 1.15rem; }
.featured-tool .card-icon { align-items: center; background: #edf5f1; border-radius: 12px; color: var(--green); display: inline-flex; height: 48px; justify-content: center; width: 48px; }
.featured-tool:nth-child(2) .card-icon { background: var(--yellow-pale); color: #8a6710; }
.featured-tool:nth-child(3) .card-icon { background: #edf6fa; color: var(--info); }
.featured-tool:nth-child(4) .card-icon { background: #eaf2f7; color: var(--navy); }
.featured-tool .category-label { color: var(--muted); }
.featured-tool h3 { margin-bottom: .45rem; }
.featured-tool p { color: #526270; font-size: .92rem; line-height: 1.55; margin-bottom: 1rem; }
.featured-tool .card-link { align-items: center; display: inline-flex; gap: .35rem; }
.split-panel .card p,
.split-panel .card .muted { color: #40515d; }
.split-panel .card h3 { color: var(--navy); }
.card-link { color: var(--green); font-size: .9rem; font-weight: 700; margin-top: auto; text-decoration: none; }
.category-label { color: var(--green); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.split-panel { align-items: center; background: var(--navy); color: #fff; display: grid; gap: 2rem; grid-template-columns: .9fr 1.1fr; padding: clamp(1.5rem, 4vw, 3.4rem); }
.split-panel h2, .split-panel h3 { color: #fff; }
.split-panel p { color: #c7d4de; }
.yellow-panel { background: var(--yellow-pale); }
.yellow-panel h2, .yellow-panel h3, .yellow-panel .eyebrow { color: var(--navy); }
.yellow-panel p, .yellow-panel .muted { color: #40515d; }
.yellow-panel .mini-list li { border-color: rgba(23,50,77,.15); color: var(--navy); }
.green-panel { background: var(--green); color: #fff; }
.green-panel h2, .green-panel h3, .green-panel a { color: #fff; }
.green-panel p { color: #d7eee4; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { align-items: start; border-bottom: 1px solid var(--border); display: flex; gap: .65rem; padding: .75rem 0; }
.mini-list li:last-child { border-bottom: 0; }
.check { color: var(--success); flex: 0 0 auto; font-weight: 700; }
.guide-card { display: flex; flex-direction: column; min-height: 330px; overflow: hidden; padding: 0; }
.guide-card .meta { color: var(--muted); font-size: .82rem; margin-bottom: .85rem; }
.guide-author { color: var(--navy); margin: .2rem 0 .7rem; }
.guide-card-content { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.guide-thumb { align-items: flex-start; aspect-ratio: 16 / 9; background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; overflow: hidden; padding: 1rem 1.15rem; position: relative; }
.guide-thumb:after { border: 1px solid rgba(255,255,255,.3); border-radius: 50%; content: ''; height: 190px; position: absolute; right: -60px; top: -80px; width: 190px; }
.guide-thumb-kicker { color: var(--yellow); font-size: .7rem; font-weight: 700; letter-spacing: .1em; position: relative; text-transform: uppercase; z-index: 1; }
.guide-thumb-1 { background: var(--green); }.guide-thumb-2 { background: #286B8F; }.guide-thumb-3 { background: #7f5b28; }
.guide-thumb img { height: 100%; inset: 0; object-fit: cover; opacity: .48; position: absolute; width: 100%; }
.guide-thumb > *:not(img) { position: relative; z-index: 1; }
.requirements-band { background: #edf6f1; border: 1px solid #cfe4d8; }
.requirements-band h2, .requirements-band h3, .requirements-band .eyebrow { color: var(--navy); }
.requirements-band p, .requirements-band .muted { color: #40515d; }
.requirements-band .mini-list li { border-color: rgba(23,50,77,.15); color: var(--navy); }
.source-strip { border-top: 1px solid var(--border); }
.source-strip .container { align-items: center; display: flex; gap: 2rem; justify-content: space-between; }
.source-mark { align-items: center; display: flex; gap: .7rem; }
.source-mark b { color: var(--navy); display: block; }
.source-mark span { color: var(--muted); font-size: .78rem; }
.notice { border-left: 4px solid var(--yellow); background: var(--yellow-pale); color: var(--navy); padding: .9rem 1rem; }
.notice.info { border-left-color: var(--info); background: #edf6fa; }
.notice.success { border-left-color: var(--success); background: #eaf7f1; }
.notice strong { display: block; margin-bottom: .15rem; }

.page-hero { background: var(--green); border-bottom: 1px solid var(--green-dark); color: #fff; padding: 44px 0 40px; }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #e4f1eb; }
.breadcrumbs { color: #cfe5da; font-size: .84rem; margin-bottom: 1.2rem; }
.breadcrumbs a { color: #e4f1eb; text-decoration: none; }
.breadcrumbs span { margin: 0 .45rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 800px; }
.page-hero .lead { max-width: 760px; }
.tool-layout { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.tool-card-shell { background: var(--white); border: 1px solid var(--border); padding: clamp(1.1rem, 2vw, 1.7rem); }
.tool-card-shell h2 { font-size: 1.35rem; margin-bottom: .3rem; }
.tool-card-shell .subcopy { color: var(--muted); font-size: .88rem; margin-bottom: 1.3rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; gap: .85rem; grid-template-columns: 1fr 1fr; }
input, select, textarea { background: var(--white); border: 1px solid #c6d5ce; border-radius: 7px; color: var(--ink); min-height: 46px; padding: .65rem .75rem; width: 100%; }
textarea { min-height: 125px; resize: vertical; }
input:invalid:not(:placeholder-shown), select:invalid { border-color: #d77a6f; }
.field-error { color: var(--error); display: block; font-size: .76rem; margin-top: .25rem; min-height: 1.1em; }
.button-row { align-items: center; display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.2rem; }
.btn { align-items: center; border: 1px solid transparent; border-radius: 7px; display: inline-flex; font-size: .85rem; font-weight: 700; gap: .45rem; justify-content: center; min-height: 44px; padding: .65rem 1rem; text-decoration: none; transition: background .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-secondary { background: var(--yellow); color: var(--navy); }
.btn-ghost { background: var(--white); border-color: var(--border); color: var(--navy); }
.btn-ghost:hover { background: #f3f8f5; }
.result-panel { background: #f0f7f3; border: 1px solid #c7dfd1; min-height: 100%; padding: clamp(1.1rem, 2vw, 1.7rem); }
.result-panel.empty { align-items: center; background: var(--white); border-style: dashed; display: flex; justify-content: center; min-height: 360px; text-align: center; }
.result-panel.empty p { color: var(--muted); max-width: 290px; }
.result-kicker { color: var(--green); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.result-value { color: var(--green-dark); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.1; margin: .35rem 0 1.2rem; }
.breakdown { border-top: 1px solid #c7dfd1; margin-top: 1rem; }
.breakdown div { align-items: baseline; border-bottom: 1px solid #d8e9df; display: flex; font-size: .85rem; justify-content: space-between; padding: .62rem 0; }
.breakdown div:last-child { border-bottom: 0; }
.breakdown strong { color: var(--navy); }
.source-panel { background: var(--white); border: 1px solid var(--border); margin-top: 1.5rem; padding: 1.15rem; }
.source-panel h3 { font-size: .85rem; letter-spacing: .08em; margin-bottom: .8rem; text-transform: uppercase; }
.source-grid { display: grid; gap: .7rem 1.1rem; grid-template-columns: 1fr 1fr; }
.source-grid span { color: var(--muted); display: block; font-size: .72rem; }
.source-grid strong, .source-grid a { font-size: .82rem; }
.status { border-radius: 99px; display: inline-flex; font-size: .68rem; font-weight: 700; letter-spacing: .08em; padding: .25rem .52rem; text-transform: uppercase; }
.status.illustrative { background: var(--yellow-pale); color: var(--warning); }
.status.verified { background: #eaf7f1; color: var(--success); }
.status.demo { background: #edf6fa; color: var(--info); }
.status.needs-review { background: #fbeeea; color: var(--error); }
.explain { color: var(--muted); font-size: .86rem; line-height: 1.65; }
.tool-below { margin-top: 1.6rem; }
.tool-below h2 { font-size: 1.5rem; }
.faq details { border-bottom: 1px solid var(--border); padding: .85rem 0; }
.faq summary { color: var(--navy); cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); font-size: .88rem; margin: .65rem 0 0; }

.filter-bar { background: var(--white); border: 1px solid var(--border); display: grid; gap: .8rem; grid-template-columns: 1.5fr repeat(3, 1fr); margin-bottom: 1rem; padding: 1rem; }
.finder-results-section { padding-top: 42px; }
.finder-summary { margin-bottom: 1rem; }
.finder-summary strong, .finder-summary span { display: block; }
.finder-record-names { color: var(--navy); font-weight: 700; margin-top: .35rem; }
.filter-bar .field { margin: 0; }
.results-meta { color: var(--muted); font-size: .8rem; margin: .8rem 0 1rem; }
.result-list { display: grid; gap: .85rem; }
.data-card { background: var(--white); border: 1px solid var(--border); padding: 1.2rem; }
.data-card-top { align-items: start; display: flex; gap: 1rem; justify-content: space-between; }
.data-card h3 { margin-bottom: .3rem; }
.data-card p { color: var(--muted); font-size: .95rem; margin-bottom: .7rem; }
.data-card dl { display: grid; gap: .45rem .8rem; grid-template-columns: repeat(2, 1fr); margin: .8rem 0 0; }
.data-card dt { color: var(--muted); font-size: .72rem; }
.data-card dd { font-size: .8rem; margin: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: .38rem; }
.tag { background: #edf5f1; color: var(--green); font-size: .7rem; padding: .2rem .5rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; min-width: 720px; width: 100%; }
th, td { border-bottom: 1px solid var(--border); padding: .75rem; text-align: left; }
th { background: #f0f6f3; color: var(--navy); font-size: .75rem; white-space: nowrap; }
td { font-size: .82rem; }
tr:hover td { background: #fbfdfc; }
.stepper { display: flex; gap: .4rem; margin-bottom: 1.4rem; }
.step { align-items: center; color: var(--muted); display: flex; font-size: .73rem; font-weight: 600; gap: .35rem; }
.step:after { background: var(--border); content: ''; height: 1px; margin-left: .25rem; width: 32px; }
.step:last-child:after { display: none; }
.step b { align-items: center; background: #edf5f1; border-radius: 50%; display: inline-flex; height: 27px; justify-content: center; width: 27px; }
.step.active { color: var(--green); }.step.active b { background: var(--green); color: #fff; }
.wizard-option-grid { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
.option { background: var(--white); border: 1px solid var(--border); color: var(--navy); min-height: 58px; padding: .65rem .8rem; text-align: left; }
.option:hover, .option.selected { background: #edf5f1; border-color: var(--green); }

.article-layout { align-items: start; display: grid; gap: 2.2rem; grid-template-columns: minmax(0, 1fr) 290px; }
.article { background: var(--white); border: 1px solid var(--border); padding: clamp(1.2rem, 4vw, 3rem); }
.article .article-meta { color: var(--muted); font-size: .78rem; margin-bottom: 1.8rem; }
.article h2 { font-size: 1.55rem; margin-top: 2.1rem; }
.article h3 { margin-top: 1.5rem; }
.article p, .article li { color: #33414d; line-height: 1.8; }
.article ul, .article ol { padding-left: 1.2rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body table { min-width: 560px; }
.article-body code { background: #edf5f1; color: var(--green-dark); padding: .1rem .3rem; }
.article-body blockquote { border-left: 4px solid var(--green); color: var(--muted); margin: 1.2rem 0; padding: .2rem 1rem; }
.article-placeholder { border-left: 4px solid var(--yellow); background: var(--yellow-pale); color: var(--navy); margin: 1.4rem 0; padding: 1rem 1.1rem; }
.article-sidebar { position: sticky; top: 102px; }
.side-box { background: var(--white); border: 1px solid var(--border); margin-bottom: 1rem; padding: 1rem; }
.side-box h3 { background: #edf5f1; border-left: 4px solid var(--green); color: var(--navy); font-size: .88rem; font-weight: 800; letter-spacing: .035em; margin: -.25rem -.35rem .85rem; padding: .55rem .65rem; }
.side-box a { display: block; font-size: .8rem; padding: .3rem 0; }
.share-grid { display: grid; gap: .45rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.share-btn { align-items: center; border: 1px solid var(--border); border-radius: 7px; color: var(--navy); display: flex !important; font-size: .7rem !important; font-weight: 600; gap: .35rem; justify-content: flex-start; min-height: 36px; padding: .4rem .45rem !important; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.share-btn svg { background: var(--navy); border-radius: 50%; color: #fff; flex: 0 0 auto; height: 26px; padding: 5px; width: 26px; }
.share-btn:hover { border-color: #9ec6b3; color: var(--green); transform: translateY(-1px); }
.share-reddit svg { background: #FF4500; }
.share-linkedin svg { background: #0A66C2; }
.share-x svg { background: #000; }
.share-facebook svg { background: #1877F2; }
.share-pinterest svg { background: #E60023; }
.share-reddit:hover { background: #fff1eb; color: #FF4500; }
.share-linkedin:hover { background: #edf6fa; color: #0A66C2; }
.share-x:hover { background: #f1f4f6; color: #000; }
.share-facebook:hover { background: #eef2ff; color: #1877F2; }
.share-pinterest:hover { background: #fff0f2; color: #E60023; }
.share-copy svg { background: var(--green); }
.share-copy { background: #f5f8f6; cursor: pointer; font-family: inherit; width: 100%; }
.sidebar-guide-list { display: grid; gap: .7rem; }
.sidebar-guide { border-bottom: 1px solid #edf1ef; padding: 0 0 .65rem !important; text-decoration: none; }
.sidebar-guide:last-child { border-bottom: 0; padding-bottom: 0 !important; }
.sidebar-guide-category { color: var(--green); display: block; font-size: .63rem; font-weight: 700; letter-spacing: .08em; padding: 0 !important; text-transform: uppercase; }
.sidebar-guide strong { color: var(--navy); display: block; font-size: .78rem; line-height: 1.4; }
.sidebar-guide:hover strong { color: var(--green); }
.sidebar-more { border-top: 1px solid var(--border); font-weight: 700; margin-top: .75rem; padding-top: .7rem !important; }
.category-layout { align-items: start; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) 270px; }
.guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.library-sidebar { position: sticky; top: 102px; }
.library-sidebar .side-box > a { align-items: center; display: flex; justify-content: space-between; }
.library-sidebar .side-box > a span { background: #edf5f1; border-radius: 99px; color: var(--green); font-size: .68rem; padding: .08rem .4rem; }
.library-sidebar .sidebar-active { background: #edf5f1; color: var(--green); font-weight: 700; margin: 0 -.4rem; padding-left: .4rem; padding-right: .4rem; }
.sidebar-note { border-top: 3px solid var(--yellow); }
.sidebar-note strong { color: var(--navy); display: block; margin-bottom: .35rem; }
.pagination { align-items: center; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2rem; }
.pagination a, .pagination span { align-items: center; border: 1px solid var(--border); color: var(--navy); display: inline-flex; font-size: .82rem; justify-content: center; min-height: 38px; min-width: 38px; padding: .35rem .65rem; text-decoration: none; }
.pagination a:hover, .pagination a.current { background: var(--green); border-color: var(--green); color: #fff; }
.pagination .disabled { color: #a0aaa6; }
.article-hero-art { align-items: center; background: var(--green); color: var(--yellow); display: flex; height: 230px; justify-content: center; margin: 0 0 1.5rem; overflow: hidden; position: relative; }
.article-hero-art img { height: 100%; inset: 0; object-fit: cover; opacity: .5; position: absolute; width: 100%; }
.article-hero-art > span, .article-hero-art > svg { position: relative; z-index: 1; }

.prose { max-width: 850px; }
.prose p, .prose li { line-height: 1.8; }
.prose h2 { margin-top: 2.1rem; }
.info-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.legal-list { display: grid; gap: .8rem; padding-left: 1.2rem; }
.form-shell { background: var(--white); border: 1px solid var(--border); max-width: 760px; padding: clamp(1.2rem, 3vw, 2rem); }
.footer { background: var(--navy); color: #c7d4de; padding: 56px 0 22px; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.5fr repeat(4, 1fr); }
.footer h3 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.footer p, .footer a { color: #c7d4de; font-size: .78rem; }
.footer a { display: block; margin: .35rem 0; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 2rem; padding-top: 1rem; }
.footer-bottom p { margin: 0; }
.footer-legal-links { margin-top: .35rem !important; text-align: center; white-space: nowrap; }
.footer-legal-links a { display: inline; margin: 0; }
.footer-legal-links span { color: #8295a3; }
.toast { background: var(--navy); bottom: 20px; box-shadow: var(--shadow); color: #fff; left: 50%; max-width: calc(100% - 32px); opacity: 0; padding: .8rem 1rem; pointer-events: none; position: fixed; transform: translate(-50%, 20px); transition: .25s; z-index: 90; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.search-overlay { background: rgba(7,69,44,.55); display: none; inset: 0; position: fixed; z-index: 80; }
.search-overlay.open { display: block; }
.search-dialog { background: var(--white); margin: 8vh auto; max-width: 720px; padding: 1.2rem; width: calc(100% - 32px); }
.search-dialog-head { align-items: center; display: flex; justify-content: space-between; }
.search-dialog input { font-size: 1.05rem; margin: .8rem 0; }
.search-results { max-height: 52vh; overflow: auto; }
.search-result { border-top: 1px solid var(--border); display: block; padding: .75rem 0; text-decoration: none; }
.search-result strong { color: var(--navy); display: block; font-size: .88rem; }
.search-result span { color: var(--muted); font-size: .75rem; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .main-header.menu-open .nav { background: var(--white); border-top: 1px solid var(--border); display: flex; flex-direction: column; left: 0; padding: 1rem 20px; position: absolute; right: 0; top: 76px; }
  .main-header.menu-open .nav a { width: 100%; }
  .actions-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .topbar .container { min-height: 32px; }.top-links { display: none; }
  .brand span { display: none; }
  .hero { padding: 48px 0; }.hero-grid, .split-panel, .tool-layout, .article-layout { grid-template-columns: 1fr; }
  .hero-side-note { border-left: 0; border-top: 1px solid rgba(255,255,255,.35); padding: 1.2rem 0 0; }
  .hero-visual { min-height: 250px; }.signal-card.main { left: 0; width: 82%; }.signal-card.small-card { width: 52%; }
  .section { padding: 54px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .grid-3, .grid-4, .info-grid { grid-template-columns: 1fr; }
  .actions-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar > :first-child { grid-column: 1 / -1; }
  .source-strip .container { align-items: start; flex-direction: column; gap: 1rem; }
  .article-sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero-search { display: block; background: transparent; border: 0; box-shadow: none; padding: 0; }
  .hero-search input { background: var(--white); border: 1px solid var(--border); margin-bottom: .5rem; }
  .hero-search button { width: 100%; }
  .field-row, .source-grid, .wizard-option-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }.filter-bar > :first-child { grid-column: auto; }
  .data-card-top { flex-direction: column; gap: .4rem; }
  .data-card dl { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { align-items: start; }
}
@media print {
  .topbar, .main-header, .footer, .button-row, .article-sidebar, .search-overlay { display: none !important; }
  body, .page-hero, .section { background: #fff; }.container { width: 100%; }
  .tool-layout, .article-layout { display: block; }.tool-card-shell, .result-panel, .article { border: 0; padding: 0; }
  .result-panel { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; }
}