:root {
  --ink: #1c2a25;
  --muted: #607069;
  --paper: #f7f4ed;
  --surface: #fffdf8;
  --green: #1f684f;
  --green-dark: #124633;
  --lime: #d9ed91;
  --line: #d9ded7;
  --danger: #a33932;
  --shadow: 0 18px 54px rgba(28, 42, 37, .09);
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
.environment-banner { padding: .42rem 1rem; background: #2b2721; color: #fff8e7; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.site-header { min-height: 84px; padding: 1rem clamp(1.2rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: rgba(247, 244, 237, .94); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: .82rem; font-weight: 900; letter-spacing: -.03em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.05rem; }
.brand small { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
nav { display: flex; align-items: center; gap: 1.35rem; font-size: .9rem; font-weight: 650; }
nav a, .link-button { text-decoration: none; }
.nav-login { padding: .68rem 1rem; border: 1px solid var(--green); border-radius: 99px; color: var(--green-dark); }
.inline-form { display: inline; }
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
main { min-height: calc(100vh - 220px); }
.hero { padding: clamp(4rem, 10vw, 8rem) clamp(1.2rem, 7vw, 8rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); align-items: center; gap: clamp(2rem, 8vw, 8rem); background: radial-gradient(circle at 12% 15%, rgba(217,237,145,.55), transparent 34%), var(--green); color: #fff; }
.hero-copy h1 { max-width: 850px; margin: .35rem 0 1.25rem; font-family: Georgia, serif; font-size: clamp(3rem, 6.5vw, 6.8rem); font-weight: 500; line-height: .96; letter-spacing: -.055em; }
.eyebrow { margin: 0 0 .6rem; font-size: .78rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.lead { max-width: 650px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: rgba(255,255,255,.78); }
.trace-card { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface); border-radius: 28px; color: var(--ink); box-shadow: var(--shadow); }
.trace-card h2 { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.trace-card p { color: var(--muted); }
label { display: block; margin: 1rem 0 .4rem; font-weight: 750; }
input, textarea, select { width: 100%; padding: .85rem .95rem; border: 1px solid #bec8c1; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(31,104,79,.2); border-color: var(--green); }
.button, .secondary-button, .danger-button { display: inline-flex; justify-content: center; align-items: center; padding: .83rem 1.2rem; border-radius: 10px; border: 0; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.button { margin-top: 1rem; background: var(--green); color: #fff; }
.secondary-button { margin-top: 1rem; background: #e5ece7; color: var(--green-dark); }
.danger-button { background: #f4d9d7; color: var(--danger); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); padding: 5rem clamp(1.2rem, 7vw, 8rem); gap: 1px; background: var(--line); }
.principles article { padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface); }
.principles span { color: var(--green); font-size: .75rem; font-weight: 900; }
.principles h2 { margin: .5rem 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.principles p { margin-bottom: 0; color: var(--muted); }
.page-head { padding: clamp(3rem, 8vw, 6.5rem) clamp(1.2rem, 8vw, 9rem) 2.5rem; }
.page-head.compact { padding-bottom: 1.5rem; }
.page-head h1 { max-width: 960px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.6rem, 5vw, 5.2rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.page-head > p:last-child { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.card-grid, .action-grid { padding: 0 clamp(1.2rem, 8vw, 9rem) 6rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { min-height: 190px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-decoration: none; box-shadow: 0 8px 30px rgba(28,42,37,.04); }
.card h2 { margin: .8rem 0 .5rem; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 500; }
.card p, .card small { color: var(--muted); }
.donation-card:hover, .action-grid .card:hover { border-color: var(--green); transform: translateY(-2px); transition: .2s ease; }
.status-pill { display: inline-flex; padding: .25rem .62rem; border-radius: 99px; background: #e1eddf; color: var(--green-dark); font-size: .75rem; font-weight: 800; }
.empty-state { grid-column: 1 / -1; padding: 3rem; border: 1px dashed #b3bdb6; border-radius: 18px; text-align: center; }
.timeline-card { margin: 0 clamp(1.2rem, 8vw, 9rem) 6rem; padding: clamp(1.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 4rem; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 1rem; min-height: 76px; color: #9aa49e; }
.timeline li > span { position: relative; width: 16px; height: 16px; margin-top: .25rem; border: 2px solid #bdc6c0; border-radius: 50%; }
.timeline li:not(:last-child) > span::after { content: ""; position: absolute; top: 15px; left: 5px; width: 2px; height: 60px; background: #d7ddd9; }
.timeline li.done { color: var(--ink); }
.timeline li.done > span { border-color: var(--green); background: var(--green); }
.timeline li.current strong { color: var(--green); }
.timeline small { display: block; color: var(--green); }
.timeline-card aside { align-self: start; padding: 1.5rem; border-radius: 16px; background: #edf3eb; }
.timeline-card aside h2 { margin-top: 0; font-family: Georgia, serif; font-weight: 500; }
.narrow-card { max-width: 720px; margin: clamp(3rem, 8vw, 7rem) auto; padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.narrow-card h1 { font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 500; line-height: 1.05; }
.text-link { display: inline-block; margin: 1.3rem 0 0 1rem; color: var(--green); }
.two-columns { padding: 0 clamp(1.2rem, 8vw, 9rem) 3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.panel { padding: clamp(1.3rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.panel > h2 { margin-top: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.record { margin: .8rem 0; padding: 1rem; border-left: 3px solid var(--green); background: #f1f4ee; }
.record ul, .record p { margin-bottom: 0; }
.stack-form p { margin: .8rem 0; }
.helptext { display: block; color: var(--muted); font-size: .78rem; }
.errorlist, .field-error { color: var(--danger); font-size: .85rem; }
.privacy-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.danger-zone { margin: 0 clamp(1.2rem, 8vw, 9rem) 6rem; padding: 1.5rem; border: 1px solid #e6c2bf; border-radius: 16px; }
.danger-zone h2 { margin-top: 0; }
.metric-grid { padding: 0 clamp(1.2rem, 8vw, 9rem) 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.metric-grid article { padding: 1.5rem; border-radius: 16px; background: var(--green); color: white; }
.metric-grid strong, .metric-grid span { display: block; }
.metric-grid strong { font-family: Georgia, serif; font-size: 2.8rem; font-weight: 500; }
.metric-grid span { color: rgba(255,255,255,.75); }
.messages { position: fixed; z-index: 20; top: 100px; right: 1rem; max-width: 420px; }
.message { padding: .9rem 1.1rem; border-radius: 10px; background: #e5efe7; box-shadow: var(--shadow); }
.message.error { background: #f6dedd; }
.data-list { display: grid; grid-template-columns: minmax(90px, .35fr) minmax(0, 1fr); gap: .7rem 1rem; }
.data-list dt { color: var(--muted); font-weight: 750; }
.data-list dd { margin: 0; overflow-wrap: anywhere; }
.social-form-card { max-width: 860px; }
.case-panel { margin: 0 clamp(1.2rem, 8vw, 9rem) 6rem; }
footer { padding: 2.5rem clamp(1.2rem, 5vw, 5rem); display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
footer a { margin-left: 1.2rem; }
@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  nav { max-width: 50%; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }
  .hero, .timeline-card, .two-columns { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  .principles, .card-grid, .action-grid, .metric-grid { grid-template-columns: 1fr; }
  .principles { gap: 1px; }
  .timeline-card { gap: 1.5rem; }
  footer { flex-direction: column; }
  footer a { margin: 0 1rem 0 0; }
}
@media (max-width: 520px) {
  .site-header { display: block; }
  nav { max-width: none; margin-top: 1rem; justify-content: flex-start; }
  .hero-copy h1 { font-size: 3rem; }
  .trace-card { border-radius: 18px; }
  .page-head { padding-top: 3rem; }
}
