:root {
  --ink: #15261d;
  --ink-soft: #4a5a51;
  --line: #dfe7e1;
  --paper: #ffffff;
  --mist: #f4f7f2;
  --forest: #0f3d2e;
  --forest-2: #17543f;
  --lime: #8bc83d;
  --lime-soft: #eaf5da;
  --cta: #ffb703;
  --cta-hover: #ffc933;
  --cta-ink: #1a1400;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 61, 46, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--font); padding-bottom: 72px; }
img { max-width: 100%; height: auto; }
a { color: var(--forest-2); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(30px, 5.2vw, 46px); margin: 0 0 14px; }
h2 { font-size: clamp(23px, 3.4vw, 30px); margin: 1.6em 0 0.5em; }
h3 { font-size: 20px; margin: 1.4em 0 0.4em; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.logo { display: block; line-height: 0; }
.logo img { width: 172px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--forest-2); text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--cta); color: var(--cta-ink); font-weight: 700; text-decoration: none; border-radius: 10px; padding: 14px 24px; font-size: 18px; line-height: 1.2; border: 0; box-shadow: 0 3px 0 #cc9000; transition: background 0.12s ease, transform 0.12s ease; }
.btn:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn:focus-visible, .amount:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
.btn-small { padding: 10px 16px; font-size: 15px; box-shadow: 0 2px 0 #cc9000; white-space: nowrap; }
.btn-block { display: flex; width: 100%; }
.btn .arrow { font-size: 1.1em; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--forest) 0%, var(--forest-2) 100%); color: #fff; padding: 34px 0 44px; }
.hero h1, .hero h2 { color: #fff; }
.hero .wrap { display: grid; gap: 20px; grid-template-columns: 1fr; }
.hero-lede { font-size: 18px; line-height: 1.5; color: #dcebe2; margin-bottom: 0; }
.hero-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; color: #e8f3ec; font-size: 16px; }
.hero-list li { padding-left: 28px; position: relative; }
.hero-list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 3px solid var(--lime); border-bottom: 3px solid var(--lime); transform: rotate(-45deg); }

/* Amount picker */
.picker { background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.picker-title { font-size: 22px; font-weight: 700; margin: 0 0 4px; text-align: center; color: var(--ink); }
.picker-sub { text-align: center; color: var(--ink-soft); font-size: 15px; margin: 0 0 14px; }
.amounts { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.amount { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; border: 2px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; background: var(--paper); transition: border-color 0.12s ease, background 0.12s ease; }
.amount:hover { border-color: var(--forest-2); background: var(--lime-soft); }
.amount .go { color: var(--forest-2); font-weight: 700; }
.amount .tag { background: var(--cta); color: var(--cta-ink); font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 8px; }
.micro { font-size: 13px; line-height: 1.45; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
.hero .micro-dark { color: #c7dbd0; }

/* Sections */
.section { padding: 40px 0; }
.section-alt { background: var(--mist); }
.section h2:first-child { margin-top: 0; }
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; list-style: none; margin: 20px 0 0; padding: 0; counter-reset: step; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps h3 { margin: 0 0 4px; font-size: 18px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.notice { background: var(--lime-soft); border-left: 5px solid var(--lime); border-radius: 8px; padding: 14px 16px; font-size: 16px; margin: 0 0 1.2em; }
.notice p:last-child { margin-bottom: 0; }

.cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink); }
.card:hover { border-color: var(--forest-2); }
.card strong { display: block; font-size: 18px; line-height: 1.3; margin-bottom: 4px; color: var(--forest); }
.card span { color: var(--ink-soft); font-size: 15px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; }
details p { margin: 10px 0 0; }

/* CTA band */
.cta-box { background: var(--forest); color: #fff; border-radius: var(--radius); padding: 22px; margin: 28px 0; text-align: center; }
.cta-box h2, .cta-box .cta-title { color: #fff; font-size: 24px; font-weight: 700; line-height: 1.25; margin: 0 0 6px; }
.cta-box p { color: #dcebe2; margin: 0 0 14px; }
.cta-box .micro { color: #c7dbd0; margin-top: 12px; }

/* Article and page layout */
.page-head { background: var(--mist); border-bottom: 1px solid var(--line); padding: 26px 0 20px; }
.crumbs { font-size: 14px; color: var(--ink-soft); margin: 0 0 8px; }
.crumbs a { color: var(--ink-soft); }
.byline { color: var(--ink-soft); font-size: 15px; margin: 0; }
.layout { display: grid; gap: 28px; grid-template-columns: 1fr; padding-top: 26px; padding-bottom: 40px; }
.prose { min-width: 0; overflow-wrap: anywhere; }
.page-head h1, .card strong { overflow-wrap: anywhere; }
.prose img { border-radius: 8px; display: block; margin: 1em 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; margin-bottom: 1em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.aside { display: none; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.post-list { display: grid; gap: 14px; }
.related { margin-top: 30px; }

/* Footer */
.site-footer { background: var(--forest); color: #d6e6dc; padding: 34px 0 26px; font-size: 15px; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; gap: 22px; grid-template-columns: 1fr; margin-bottom: 22px; }
.foot-grid h2 { color: #fff; font-size: 16px; margin: 0 0 8px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 16px; font-size: 13.5px; line-height: 1.55; }
.foot-legal p { margin-bottom: 0.7em; }

/* Mobile sticky call to action */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--paper); border-top: 1px solid var(--line); padding: 9px 12px; box-shadow: 0 -6px 18px rgba(15, 61, 46, 0.12); }
.sticky-cta .btn { padding: 13px 16px; font-size: 17px; }

@media (min-width: 620px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 759px) {
  .nav a:not(.btn) { display: none; }
  .logo img { width: 150px; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .hero { padding: 54px 0 62px; }
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 0 44px; }
  .hero-copy { grid-column: 1; grid-row: 1; align-self: end; }
  .hero-list { grid-column: 1; grid-row: 2; align-self: start; }
  .hero .picker { grid-column: 2; grid-row: 1 / span 2; }
  .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .aside { display: block; }
  .aside .picker { position: sticky; top: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .amount { transition: none; }
}
