:root {
  --green-deep: #10281d;
  --green-mid: #176b47;
  --green-soft: #dff2e8;
  --green-line: #c9dfd3;
  --paper: #fbfcfa;
  --white: #fff;
  --ink: #17231d;
  --ink-soft: #4d6056;
  --ink-muted: #728078;
  --shadow: 0 18px 52px rgba(16, 40, 29, 0.09);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.7; }
a { color: var(--green-mid); }
.wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,252,250,.94); border-bottom: 1px solid var(--green-line); backdrop-filter: blur(14px); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; color: var(--green-deep); text-decoration: none; }
.brand-logo { display: block; width: auto; height: 44px; }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav a { color: var(--ink-soft); text-decoration: none; font-size: .86rem; font-weight: 700; }
.main-nav .nav-cta { padding: 9px 14px; border-radius: 10px; color: var(--white); background: var(--green-deep); }
.crumbs { padding: 24px 0 4px; color: var(--ink-muted); font-size: .82rem; }
.crumbs a { text-decoration: none; }
.hero-small { padding: 54px 0 34px; }
.eyebrow { color: var(--green-mid); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-family: var(--font-display); color: var(--green-deep); line-height: 1.16; }
h1 { max-width: 860px; margin: 12px 0 18px; font-size: clamp(2rem, 5vw, 3.65rem); }
.hero-small .lead { max-width: 780px; color: var(--ink-soft); font-size: clamp(1rem, 2vw, 1.16rem); }
.meta { margin-top: 18px; color: var(--ink-muted); font-size: .78rem; }
.content-shell { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 44px; padding-bottom: 80px; align-items: start; }
.article, .legal-card { min-width: 0; padding: clamp(24px, 5vw, 52px); border: 1px solid var(--green-line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.article h2, .legal-card h2 { margin: 42px 0 14px; font-size: clamp(1.45rem, 3vw, 2rem); }
.article h2:first-child, .legal-card h2:first-child { margin-top: 0; }
.article h3, .legal-card h3 { margin: 28px 0 8px; color: var(--green-deep); font-size: 1.08rem; }
.article p, .legal-card p { margin: 0 0 16px; color: var(--ink-soft); }
.article ul, .article ol, .legal-card ul { margin: 0 0 20px 22px; color: var(--ink-soft); }
.article li, .legal-card li { margin-bottom: 8px; }
.callout { margin: 24px 0; padding: 20px 22px; border-left: 4px solid var(--green-mid); border-radius: 0 14px 14px 0; background: var(--green-soft); color: var(--green-deep); }
.warning { background: #fff7e8; border-left-color: #b77317; color: #5c3a0d; }
.table-wrap { margin: 22px 0 30px; overflow-x: auto; border: 1px solid var(--green-line); border-radius: 14px; }
table { width: 100%; min-width: 580px; border-collapse: collapse; background: var(--white); }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--green-line); text-align: left; vertical-align: top; }
th { background: var(--green-soft); color: var(--green-deep); font-size: .8rem; }
td { color: var(--ink-soft); font-size: .88rem; }
tr:last-child td { border-bottom: 0; }
.toc { position: sticky; top: 94px; padding: 20px; border: 1px solid var(--green-line); border-radius: 16px; background: var(--white); }
.toc strong { display: block; color: var(--green-deep); margin-bottom: 10px; }
.toc a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink-soft); font-size: .82rem; }
.source-list { padding-top: 8px; }
.source-list a { overflow-wrap: anywhere; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 76px; }
.card { display: flex; flex-direction: column; min-height: 225px; padding: 24px; border: 1px solid var(--green-line); border-radius: 18px; background: var(--white); color: inherit; text-decoration: none; transition: .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-mid); }
.card small { color: var(--green-mid); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.card h2 { margin: 12px 0 10px; font-size: 1.35rem; }
.card p { color: var(--ink-soft); font-size: .9rem; }
.card span { margin-top: auto; padding-top: 20px; font-weight: 850; color: var(--green-mid); }
.product-cta { margin: 34px 0 0; padding: 26px; border-radius: 18px; background: var(--green-deep); color: var(--white); }
.product-cta h2 { margin: 0 0 8px; color: var(--white); font-size: 1.5rem; }
.product-cta p { color: rgba(255,255,255,.72); }
.cta-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.button { display: inline-flex; padding: 10px 14px; border-radius: 10px; background: var(--white); color: var(--green-deep); text-decoration: none; font-weight: 800; font-size: .84rem; }
.legal-layout { width: min(780px, calc(100% - 32px)); margin: 0 auto; padding-bottom: 80px; }
.contact-box { margin-top: 24px; padding: 24px; border-radius: 16px; background: var(--green-soft); }
.site-footer { padding: 34px 0; background: var(--green-deep); color: rgba(255,255,255,.68); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
.footer-links a { color: rgba(255,255,255,.76); text-decoration: none; font-size: .78rem; }
.site-footer p { font-size: .72rem; }

@media (max-width: 820px) {
  .brand-logo { height: 38px; }
  .main-nav a:not(.nav-cta) { display: none; }
  .content-shell { grid-template-columns: 1fr; }
  .toc { display: none; }
  .cards { grid-template-columns: 1fr; }
  .article, .legal-card { border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
