/* NTranscript donate page — monochrome hero, same vocabulary as the landing */
:root {
  --bg: #0d0d0d;
  --line: #232326;
  --text: #e6e6e6;
  --text-bright: #ffffff;
  --text-dim: #98989c;
  --text-faint: #55555a;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
}
a { color: var(--text); }
a:hover { color: var(--text-bright); }
.mono { font-family: var(--font-mono); }
.section-index { font-size: 11px; color: var(--text-faint); }

/* Scrollbars: the app's thin rounded bar (see ../styles.css) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background-clip: padding-box; background-color: #2c2c31; }
::-webkit-scrollbar-thumb:hover { background-color: #8e8e95; }
::-webkit-scrollbar-corner { background: transparent; }
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-color: #2c2c31 transparent; scrollbar-width: thin; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes floatUp {
  from { transform: translateY(20vh); opacity: 0; }
  12% { opacity: var(--po, .5); }
  88% { opacity: var(--po, .5); }
  to { transform: translateY(-110vh); opacity: 0; }
}
@keyframes ringPulse {
  0% { transform: translate(-50%,-50%) scale(.75); opacity: 0; }
  40% { opacity: .28; }
  100% { transform: translate(-50%,-50%) scale(1.35); opacity: 0; }
}

/* nav / footer */
.gnav {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px 40px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
}
.gnav__brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-bright); font-family: var(--font-sans); font-size: 17px; font-weight: 600; text-decoration: none;
}
.gnav__brand img { width: 22px; height: 22px; }
.gnav__page { font-size: 12px; color: var(--text-dim); text-decoration: none; }
.gnav__page:hover { color: var(--text-bright); }
.gnav__link { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch__btn {
  border: 1px solid #2e2e31; padding: 3px 9px;
  font-family: var(--font-mono); font-size: 11px; cursor: pointer;
  background: transparent; color: var(--text-dim);
  transition: background .2s, color .2s;
}
.lang-switch__btn.is-active { background: var(--text); color: #111111; }
.gfooter {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 22px 40px;
  border-top: 1px solid var(--line);
  font-size: 11px; color: var(--text-faint);
}
.gfooter a { color: var(--text-dim); text-decoration: none; }
.gfooter a:hover { color: var(--text-bright); }

/* hero */
.dhero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 480px;
}
.dhero__bg { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  bottom: -5vh;
  font-family: var(--font-mono);
  color: var(--text-faint);
  animation: floatUp var(--pd, 14s) linear infinite;
  animation-delay: var(--pdel, 0s);
  will-change: transform, opacity;
  user-select: none;
}
.particle--sq {
  width: 7px; height: 7px;
  border: 1px solid var(--text-faint);
  border-radius: 2px;
}
.dhero__ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 560px; height: 560px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  animation: ringPulse 5.5s cubic-bezier(.2,.6,.35,1) infinite;
  pointer-events: none;
}
.dhero__content {
  position: relative;
  text-align: center;
  padding: 48px 40px;
  animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both;
}
.dhero__content .section-index { margin-bottom: 20px; }
.dhero__title {
  margin: 0;
  font-size: 68px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--text-bright);
  text-wrap: balance;
}
.dhero__sub {
  margin: 22px auto 0;
  max-width: 480px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-dim);
  text-wrap: pretty;
}
.dhero__coffee {
  margin: 10px auto 0;
  font-size: 12.5px;
  color: var(--text-faint);
}
.dhero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  background: var(--text);
  color: #111111;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 8px;
  transition: background .25s, transform .25s, gap .25s;
}
.dhero__cta:hover { background: var(--text-bright); color: #111111; transform: translateY(-2px); gap: 18px; }
.dhero__cta svg { flex: none; }
.dhero__cta-arrow { font-size: 18px; line-height: 1; }

@media (max-width: 825px) {
  .gnav { display: flex; flex-wrap: wrap; gap: 12px 18px; padding: 14px 20px; }
  .gnav__brand { margin-right: auto; }
  .gfooter { padding: 18px 20px; }
}
@media (max-width: 640px) {
  .dhero__content { padding: 40px 20px; }
  .dhero__title { font-size: 44px; }
  .dhero__ring { width: 380px; height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .particle, .dhero__ring { animation: none; }
  .dhero__ring { opacity: 0; }
}
