/* Tree Host website: shared styles for every public page (header, footer, sections, animations). */
:root {
  --bg: #0b110d;
  --bg2: #101913;
  --panel: #142019;
  --panel2: #18261d;
  --border: #23342a;
  --text: #e8efe9;
  --muted: #93a398;
  --accent: #46c37b;
  --accent2: #7beaa6;
  --dark: #05200f;
  --warn: #f5b50a;
  --radius: 14px;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "JetBrains Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
a { color: var(--accent2); }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: -.3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: 38px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.muted { color: var(--muted); }
.green { color: var(--accent2); }

/* ---------- buttons ---------- */
.btn-cta, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 11px;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 15.5px;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn-cta { background: linear-gradient(180deg, var(--accent2), var(--accent)); color: var(--dark) !important; box-shadow: 0 6px 24px rgba(70, 195, 123, .25); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(70, 195, 123, .4); }
.btn-ghost { border: 1px solid var(--border); color: var(--text) !important; background: rgba(20, 32, 25, .7); }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 9px; }
.block { display: flex; width: 100%; }
.disabled { opacity: .5; pointer-events: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(11, 17, 13, .82); backdrop-filter: blur(12px); border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
.nav-brand img { width: 34px; height: 34px; transition: transform .4s; }
.nav-brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; position: relative; }
.nav-links a:not(.btn-cta):not(.btn-ghost)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; border-radius: 2px; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 9px; width: 42px; height: 40px; font-size: 20px; cursor: pointer; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg2); padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 300px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin: 6px 0 14px; }
.footer-col a { display: block; color: var(--text); text-decoration: none; padding: 4px 0; font-size: 15px; opacity: .85; }
.footer-col a:hover { color: var(--accent2); opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--border); margin-top: 40px; padding-top: 22px; color: var(--muted); font-size: 13.5px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 90px; overflow: hidden; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 720px; pointer-events: none;
  background: radial-gradient(600px 340px at 20% 30%, rgba(70, 195, 123, .18), transparent 70%), radial-gradient(520px 320px at 85% 20%, rgba(123, 234, 166, .10), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { font-size: 58px; letter-spacing: -1.5px; }
.hero h1 .rotate { display: inline-block; background: linear-gradient(90deg, var(--accent2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 4ch; }
.hero h1 .rotate.out { animation: wordOut .35s forwards; }
.hero h1 .rotate.in { animation: wordIn .45s forwards; }
@keyframes wordOut { to { opacity: 0; transform: translateY(-14px); filter: blur(4px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero p.lead { color: var(--muted); font-size: 19px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; margin: 28px 0 14px; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* the growing tree next to the title */
.hero-tree { width: 74px; height: 74px; display: inline-block; vertical-align: -10px; margin-left: 6px; }
.hero-tree .trunk { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.1s .2s ease-out forwards; }
.hero-tree .leaf { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0); animation: pop .55s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.hero-tree .leaf.l1 { animation-delay: 1s; } .hero-tree .leaf.l2 { animation-delay: 1.15s; } .hero-tree .leaf.l3 { animation-delay: 1.3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }

/* falling leaves */
.leaves { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.leaves i { position: absolute; top: -40px; width: 14px; height: 14px; background: var(--accent); border-radius: 0 70% 0 70%; opacity: .35; animation: fall linear infinite; }
@keyframes fall { 0% { transform: translate(0, -40px) rotate(0); } 100% { transform: translate(120px, 820px) rotate(540deg); } }

/* browser frame with the product video */
.browser { border-radius: 16px; background: var(--panel); border: 1px solid var(--border); overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(123, 234, 166, .06), 0 0 80px rgba(70, 195, 123, .12);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.browser:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2b3a31; }
.browser-bar .url { margin-left: 10px; flex: 1; background: var(--bg); border-radius: 7px; padding: 3px 12px; font-size: 12.5px; color: var(--muted); }
.browser video, .browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0c1210; }
.play-tour { position: absolute; right: 18px; bottom: 18px; }
.video-wrap { position: relative; }

/* ---------- marquee of server types ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--bg2); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 99px; background: var(--panel); border: 1px solid var(--border); white-space: nowrap; font-weight: 600; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s ease .3s; }
.steps.in::before { transform: scaleX(1); }
.step { text-align: center; padding: 0 12px; position: relative; }
.step-num { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 800;
  background: var(--panel); border: 2px solid var(--accent); color: var(--accent2); position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--bg); }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- feature cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(70, 195, 123, .45); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(70, 195, 123, .12); margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- split rows (features page) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.split.flip .split-media { order: -1; }
.split h3 { font-size: 30px; }
.split p { color: var(--muted); font-size: 17px; }
.split ul { padding: 0; list-style: none; margin: 16px 0 0; }
.split li { padding: 6px 0; }
.split li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.shot { border-radius: 14px; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); background: var(--panel); }

/* ---------- console typing demo ---------- */
.console-demo { background: #070b08; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.console-demo .browser-bar { background: #0d1410; }
.console-body { padding: 18px 20px; font: 13.5px/1.85 var(--mono); color: #b7c4bb; min-height: 260px; }
.console-body .g { color: var(--accent2); }
.console-body .y { color: #f2cc60; }
.console-body .c::after { content: "▋"; color: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.plan.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(70, 195, 123, .14); }
.plan.sold-out { opacity: .6; }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--dark); font-size: 12px; font-weight: 800; padding: 4px 14px; border-radius: 99px; white-space: nowrap; }
.plan h3 { color: var(--accent2); font-size: 21px; }
.price { font-size: 44px; font-weight: 800; margin-bottom: 8px; letter-spacing: -1px; }
.price span { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 14px; }
.plan li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.plan li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.plan p { color: var(--muted); font-size: 14.5px; flex: 1; }
.loading { text-align: center; color: var(--muted); grid-column: 1 / -1; }
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 26px; max-width: 900px; margin: 40px auto 0; }
.included div::before { content: "✓ "; color: var(--accent); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(70, 195, 123, .45); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; background: radial-gradient(700px 260px at 50% 0, rgba(70, 195, 123, .16), transparent 70%), var(--bg2); border-block: 1px solid var(--border); }
.cta-band h2 { font-size: 40px; }
.cta-band p { color: var(--muted); font-size: 18px; margin: 0 0 26px; }

/* ---------- simple pages ---------- */
.page-hero { padding: 72px 0 36px; text-align: center; }
.page-hero h1 { font-size: 48px; letter-spacing: -1px; }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 640px; margin: 0 auto; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
[hidden] { display: none !important; }
.legal { max-width: 800px; margin: 0 auto; padding-bottom: 40px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 22px; margin-top: 34px; }
.legal p, .legal li { color: #c9d4cc; }
.notfound { text-align: center; padding: 120px 0; }
.notfound .big { font-size: 110px; font-weight: 900; line-height: 1; background: linear-gradient(180deg, var(--accent2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- video modal ---------- */
.vmodal { position: fixed; inset: 0; background: rgba(3, 6, 4, .82); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 100; padding: 24px; animation: fadeIn .25s; }
.vmodal video { width: min(1100px, 100%); border-radius: 14px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.vmodal button { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .hero h1 { font-size: 42px; }
  .grid, .contact-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .included { grid-template-columns: 1fr 1fr; }
  .browser { transform: none; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 18px;
    background: rgba(11, 17, 13, .97); border-bottom: 1px solid var(--border); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-links a::after { display: none; }
  .nav-actions .hide-sm { display: none; }
}
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 36px; }
  .hero-tree { width: 44px; height: 44px; vertical-align: -6px; }
  .section-head h2, .cta-band h2 { font-size: 30px; }
  .grid, .contact-cards, .footer-grid, .included { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-tree .trunk { stroke-dashoffset: 0; }
  .hero-tree .leaf { transform: none; }
  .leaves { display: none; }
  .browser { transform: none; }
}

/* ---------- proportional scaling on big screens (same steps as the dashboard) ---------- */
@media (min-width: 1800px) { body { zoom: 1.1; } }
@media (min-width: 2300px) { body { zoom: 1.25; } }
@media (min-width: 3000px) { body { zoom: 1.5; } }

.plan.lifetime { grid-column: 1 / -1; border-color: rgba(232,194,122,.7); background: linear-gradient(135deg, rgba(232,194,122,.12), var(--panel) 55%); }
.plan.lifetime .tag { background: #e8c27a; }
.plan.lifetime h3 { color: #f0cf8c; }
.lifetime-body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 760px) { .lifetime-body { grid-template-columns: 1fr; } }

/* ---------- icons (public/icons.svg) ---------- */
.ic { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.ic.lg { width: 1.6em; height: 1.6em; }
.ic.xl { width: 2.4em; height: 2.4em; }
.card .ico .ic, .ico .ic { width: 30px; height: 30px; color: var(--accent2); }

/* ---------- donate ---------- */
.small { font-size: 13.5px; }
.stack-lg { display: flex; flex-direction: column; gap: 18px; }
.donate-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: start; }
.card.fund-card:hover, .card.donate-form:hover { transform: none; }
.fund-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fund-amount { margin: 6px 0 14px; color: var(--muted); }
.fund-amount b { font-size: 40px; color: var(--text); letter-spacing: -1px; margin-right: 6px; }
.fund-bar { height: 14px; border-radius: 99px; background: var(--bg2); border: 1px solid var(--border); overflow: hidden; }
.fund-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.donate-uses { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 14px; }
.donate-uses li { display: flex; gap: 12px; color: var(--muted); font-size: 15px; }
.donate-uses li b { color: var(--text); }
.donate-uses .ic { width: 22px; height: 22px; flex: none; color: var(--accent2); margin-top: 2px; }
.donate-form { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; }
.donate-form #donate-body { display: flex; flex-direction: column; gap: 14px; }
.donate-form h3 { margin: 0; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.amount { padding: 12px 8px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg2); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s; }
.amount:hover { border-color: var(--accent); }
.amount.on { border-color: var(--accent); background: rgba(70, 195, 123, .16); color: var(--accent2); }
.d-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.d-field .muted { font-weight: 400; }
.d-field input { padding: 11px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg2); color: var(--text); font: inherit; font-weight: 400; }
.d-field input:focus { outline: none; border-color: var(--accent); }
.d-check { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.d-check input { accent-color: var(--accent); width: 16px; height: 16px; }
.d-error { color: #ff8f8f; font-size: 14px; }
.d-fine { margin: 0; }
.thanks { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; }
.thanks[hidden], #donate-body[hidden] { display: none !important; }
.thanks p { color: var(--muted); margin: 0 0 8px; }
.thanks-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(70, 195, 123, .14); margin-bottom: 6px; }
.thanks-ico .ic { width: 36px; height: 36px; color: var(--accent2); }
.supporters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.supporter { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.supporter p { margin: 2px 0 4px; color: #c9d4cc; font-size: 14.5px; overflow-wrap: anywhere; }
.supporter b { overflow-wrap: anywhere; }
.sup-ava { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 800; background: rgba(70, 195, 123, .16); color: var(--accent2); }

/* ---------- team ---------- */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.team-grid > .member { flex: 0 1 calc((100% - 36px) / 3); }
.member { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.member.lead { border-color: rgba(70, 195, 123, .5); background: linear-gradient(180deg, rgba(70, 195, 123, .1), var(--panel) 60%); }
.member-ava { width: 112px; height: 112px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: var(--bg2); border: 1px solid var(--border); margin-bottom: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.member-ava img { width: 100%; height: 100%; image-rendering: pixelated; }
.member-ava span { font-size: 44px; font-weight: 800; color: var(--accent2); }
.member h3 { margin: 0; font-size: 21px; overflow-wrap: anywhere; }
.member-role { color: var(--accent2); font-weight: 700; font-size: 14px; }
.member p { color: #c9d4cc; font-size: 15px; margin: 8px 0 4px; overflow-wrap: anywhere; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-row [hidden] { display: none; }
@media (max-width: 960px) {
  .donate-layout { grid-template-columns: 1fr; }
  .donate-form { position: static; }
  .supporters { grid-template-columns: repeat(2, 1fr); }
  .team-grid > .member { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 600px) {
  .supporters { grid-template-columns: 1fr; }
  .team-grid > .member { flex-basis: 100%; }
  .fund-amount b { font-size: 32px; }
}

/* ---------- donate: the costs receipt ---------- */
a.costs-teaser { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: var(--muted); font-size: 15px; }
a.costs-teaser b { color: var(--text); }
a.costs-teaser .ic { width: 26px; height: 26px; flex: none; color: var(--accent2); margin-top: 2px; }
.receipt {
  max-width: 680px; margin: 0 auto; background: #f4f1e8; color: #23261f; border-radius: 6px; padding: 30px 32px 26px;
  font-family: var(--mono); font-size: 14.5px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); position: relative;
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x;
          mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x;
  padding-bottom: 40px;
}
.receipt .muted { color: #6b6f63; }
.r-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 2px dashed #b9b5a6; margin-bottom: 6px; }
.r-brand { display: flex; align-items: center; gap: 8px; font-family: system-ui, sans-serif; font-weight: 800; font-size: 19px; }
.r-meta { text-align: right; color: #6b6f63; font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }
.r-group { margin: 16px 0 6px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 12.5px; color: #6b6f63; }
.r-line { padding: 6px 0 8px; }
.r-row { display: flex; align-items: baseline; gap: 8px; }
.r-name { font-weight: 700; }
.r-dots { flex: 1; border-bottom: 2px dotted #b9b5a6; transform: translateY(-4px); min-width: 16px; }
.r-amt { font-weight: 700; white-space: nowrap; }
.r-sub { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; color: #6b6f63; font-size: 12.5px; margin-top: 3px; font-family: system-ui, sans-serif; }
.r-tag { flex: none; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; padding: 2px 7px; border-radius: 4px; border: 1.5px solid #9a967f; color: #6b6f63; font-family: var(--mono); }
.r-tag.paid { border-color: #1f7a45; color: #1f7a45; }
.r-cover { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 12px; color: #4b5045; }
.r-cover-bar { flex: 0 0 110px; height: 7px; border-radius: 9px; background: #dedacb; overflow: hidden; }
.r-cover-bar div { height: 100%; background: #2e9a5a; border-radius: 9px; }
.r-rule { border-top: 2px dashed #b9b5a6; margin: 14px 0 10px; }
.r-rule.double { border-top: 4px double #9a967f; }
.r-row.r-total { font-weight: 800; margin: 4px 0; }
.r-row.r-small { color: #6b6f63; font-size: 13px; margin: 2px 0; }
.r-row > span:last-child { white-space: nowrap; }
.r-summary { margin-top: 16px; padding: 12px 14px; background: #e7f2e9; border-radius: 6px; color: #1d4d31; font-family: system-ui, sans-serif; font-size: 15px; }
.r-foot { margin: 14px 0 0; color: #6b6f63; font-size: 12px; font-family: system-ui, sans-serif; text-align: center; }
@media (max-width: 600px) {
  .receipt { padding: 22px 16px 36px; font-size: 13px; }
  .r-sub { flex-direction: column; gap: 4px; }
  .r-cover-bar { flex-basis: 80px; }
}
