/* ============================================================
   Reel — marketing site styles
   Dark-cinema palette pulled straight from the app (OKLCH).
   Plain CSS, zero deps, host-agnostic.
   ============================================================ */

:root {
  /* palette — dark cinema (from app src/styles.css) */
  --background: oklch(0.14 0.005 260);
  --card: oklch(0.18 0.008 260);
  --card-2: oklch(0.16 0.008 260);
  --foreground: oklch(0.98 0.005 260);
  --muted-foreground: oklch(0.68 0.015 260);
  --primary: oklch(0.65 0.22 25);
  --primary-glow: oklch(0.72 0.22 30);
  --primary-foreground: oklch(0.99 0 0);
  --border: oklch(0.25 0.01 260 / 0.6);
  --secondary: oklch(0.22 0.01 260);

  /* signature effects echoed from the app */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-glow));
  --gradient-hero: radial-gradient(
      1500px 820px at 50% -8%,
      color-mix(in oklab, var(--primary) 34%, transparent) 0%,
      color-mix(in oklab, var(--primary) 12%, transparent) 42%,
      transparent 78%
    );
  --shadow-glow: 0 0 60px -10px color-mix(in oklab, var(--primary) 60%, transparent);
  --shadow-poster: 0 20px 40px -20px oklch(0 0 0 / 0.7);

  --radius: 0.75rem;
  --maxw: 1120px;

  /* fonts */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter Tight", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  /* The hero gradient also paints the top strip behind the floating nav, so
     no black line shows between the browser chrome and the hero. The linear
     layer keeps the very top edge from reading darker than the rows below it. */
  background: linear-gradient(
      180deg,
      color-mix(in oklab, var(--primary) 20%, var(--background)) 0%,
      transparent 180px
    ),
    var(--gradient-hero) top center / 100% 820px no-repeat,
    var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--muted-foreground);
  font-size: 1.05rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 80px -8px color-mix(in oklab, var(--primary) 70%, transparent);
}

.btn-ghost {
  background: color-mix(in oklab, var(--card) 70%, transparent);
  color: var(--foreground);
  border-color: var(--border);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--primary) 50%, var(--border));
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0.85rem 1.5rem 0;
  background: transparent;
  pointer-events: none;
}

/* the visible floating bar, sized to its content and centered */
.nav-inner {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  padding: 0.5rem 0.75rem 0.5rem 1.25rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--card) 62%, transparent);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid color-mix(in oklab, var(--primary) 14%, var(--border));
  box-shadow: 0 10px 34px -16px oklch(0 0 0 / 0.9),
    inset 0 1px 0 color-mix(in oklab, var(--foreground) 6%, transparent);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, filter 0.25s ease;
}

.nav-logo:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 14px color-mix(in oklab, var(--primary) 45%, transparent));
}

.nav-logo img {
  height: 76px;
  width: auto;
}

/* vertical divider between the logo and the nav links */
.nav-logo::after {
  content: "";
  align-self: center;
  width: 1px;
  height: 34px;
  margin-left: 1.25rem;
  background: color-mix(in oklab, var(--foreground) 16%, transparent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-links a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:not(.btn) svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.nav-links a:not(.btn):hover {
  color: var(--foreground);
  background: color-mix(in oklab, var(--foreground) 7%, transparent);
}

.nav-links .btn {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
}

/* the GitHub pill in the nav shouldn't carry the ghost button's outline or fill;
   it should blend into the bar like the other links until hovered */
.nav-links .btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted-foreground);
}

.nav-links .btn-ghost:hover {
  border-color: transparent;
  background: color-mix(in oklab, var(--foreground) 7%, transparent);
  color: var(--foreground);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle svg {
  width: 1.6rem;
  height: 1.6rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  text-align: center;
  margin-top: -94px;
  padding-block: clamp(8rem, 15vw, 12rem) clamp(4rem, 9vw, 7rem);
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::after {
  /* subtle bottom fade into the page */
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(180deg, transparent, var(--background));
  pointer-events: none;
}

.hero-logo {
  height: clamp(90px, 15vw, 160px);
  width: auto;
  max-width: 100%;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 0 50px color-mix(in oklab, var(--primary) 40%, transparent));
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  max-width: 14ch;
  margin-inline: auto;
}

.hero h1 .accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted-foreground);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 54ch;
  margin: 1.5rem auto 2.5rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.hero-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted-foreground);
  letter-spacing: 0.04em;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.75rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: color-mix(in oklab, var(--card) 50%, transparent);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--primary) 45%, var(--border));
  box-shadow: 0 24px 50px -30px oklch(0 0 0 / 0.8);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--primary) 16%, transparent);
  color: var(--primary);
  margin-bottom: 1.15rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
  font-size: 0.96rem;
}

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download {
  text-align: center;
}

.download-panel {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  overflow: hidden;
}

.download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px 300px at 50% 0%,
    color-mix(in oklab, var(--primary) 14%, transparent),
    transparent 70%
  );
  pointer-events: none;
}

.download-panel > * {
  position: relative;
}

.download-panel h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.download-panel .lead {
  color: var(--muted-foreground);
  max-width: 46ch;
  margin: 0 auto 2rem;
}

.download-panel .hero-note {
  margin-top: 0.9rem;
}

.smartscreen {
  max-width: 480px;
  margin: 2.25rem auto 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--card-2) 80%, transparent);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted-foreground);
  text-align: left;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.smartscreen svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 2px;
}

.smartscreen strong {
  color: var(--foreground);
  font-weight: 600;
}

/* ============================================================
   DONATE
   ============================================================ */
.donate .donate-inner {
  text-align: center;
  background: linear-gradient(
      135deg,
      color-mix(in oklab, var(--primary) 10%, transparent),
      transparent 60%
    ),
    var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}

.donate h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.donate p {
  color: var(--muted-foreground);
  max-width: 46ch;
  margin: 0 auto 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-logo img {
  height: 48px;
  width: auto;
  opacity: 0.85;
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.footer-meta a {
  color: var(--foreground);
}

.footer-meta a:hover {
  color: var(--primary);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  max-width: 44ch;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .nav-inner {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: space-between;
    border-radius: var(--radius);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: color-mix(in oklab, var(--card) 96%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px -18px oklch(0 0 0 / 0.9);
    padding: 0.6rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    padding-block: 0;
  }

  .nav-links a:not(.btn) {
    padding-block: 0.7rem;
    border-radius: var(--radius);
  }

  .nav-links .btn {
    justify-content: center;
    margin-top: 0.4rem;
    margin-left: 0;
  }
}

/* ============================================================
   MULTI-PAGE ADDITIONS
   Shared components layered on top of the one-page base above.
   ============================================================ */

/* active nav link */
.nav-links a.is-active:not(.btn) {
  color: var(--foreground);
  background: color-mix(in oklab, var(--primary) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--primary) 30%, transparent);
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  text-align: center;
  margin-top: -94px;
  padding-block: clamp(7rem, 12vw, 9.5rem) clamp(2.5rem, 5vw, 4rem);
  background: var(--gradient-hero);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--background));
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  max-width: 16ch;
  margin-inline: auto;
}

.page-hero h1 .accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p {
  color: var(--muted-foreground);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 56ch;
  margin: 1.25rem auto 0;
}

/* ---------- prose / long-form sections ---------- */
.prose-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-row .feature-icon {
  margin-bottom: 0;
}

.feature-row h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-row p {
  color: var(--muted-foreground);
  font-size: 0.98rem;
}

.feature-row ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.feature-row li {
  margin-block: 0.3rem;
}

.feature-row li::marker {
  color: var(--primary);
}

/* category heading inside a long section */
.cat-head {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 3rem 0 1.25rem;
}
.cat-head:first-of-type {
  margin-top: 0;
}

/* ---------- spec / requirements table ---------- */
.spec-list {
  display: grid;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row dt {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

.spec-row dd {
  color: var(--foreground);
  font-size: 0.98rem;
}

/* ---------- numbered steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.25rem 1.5rem 1.25rem 4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.1rem;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}

.steps li strong {
  color: var(--foreground);
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

/* ---------- FAQ (native details/summary) ---------- */
.faq {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "\2212"; /* minus */
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.faq-answer {
  padding: 0 1.5rem 1.35rem;
  color: var(--muted-foreground);
  font-size: 0.98rem;
}

.faq-answer a {
  color: var(--primary);
}
.faq-answer a:hover {
  text-decoration: underline;
}

/* ---------- mid-page CTA band ---------- */
.cta-band {
  text-align: center;
  background: linear-gradient(
      135deg,
      color-mix(in oklab, var(--primary) 10%, transparent),
      transparent 60%
    ),
    var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--muted-foreground);
  max-width: 48ch;
  margin: 0 auto 2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* donate option cards */
.donate-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

.donate-option {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}

.donate-option h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.donate-option p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  margin: 0;
  max-width: none;
}

/* small helper */
.center {
  text-align: center;
}
.mt-cta {
  margin-top: 2.5rem;
}

@media (max-width: 620px) {
  .spec-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ============================================================
   FEATURE HIGHLIGHT (immersive mode spotlight)
   ============================================================ */
.feature-flag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 16%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary) 35%, transparent);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.75rem;
}

/* highlighted card in the home grid */
.feature-card-highlight {
  position: relative;
  background: linear-gradient(
      160deg,
      color-mix(in oklab, var(--primary) 14%, transparent),
      transparent 55%
    ),
    var(--card);
  border-color: color-mix(in oklab, var(--primary) 40%, var(--border));
  box-shadow: 0 0 50px -18px color-mix(in oklab, var(--primary) 70%, transparent);
}

.feature-card-highlight .feature-icon {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
}

/* highlighted row on the features page */
.feature-row-highlight {
  background: linear-gradient(
      135deg,
      color-mix(in oklab, var(--primary) 13%, transparent),
      transparent 60%
    ),
    var(--card);
  border-color: color-mix(in oklab, var(--primary) 42%, var(--border));
  box-shadow: 0 0 60px -22px color-mix(in oklab, var(--primary) 70%, transparent);
}

.feature-row-highlight .feature-icon {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
}

/* ============================================================
   DONATE — AirTM block
   ============================================================ */
.donate-sorry {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--primary) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary) 22%, var(--border));
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: none;
}

.donate-airtm {
  margin-top: 2rem;
  text-align: left;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.donate-airtm-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.donate-airtm-head h3 {
  font-size: 1.2rem;
}

.donate-airtm > p {
  color: var(--muted-foreground);
  font-size: 0.96rem;
  margin: 0 0 1.25rem;
  max-width: none;
}

/* email + copy button row */
.copy-field {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.copy-field code {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--foreground);
  background: color-mix(in oklab, var(--background) 60%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 0.95rem;
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.copy-field code::-webkit-scrollbar {
  display: none;
}

.copy-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 92px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-foreground);
  background: var(--gradient-primary);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px -8px color-mix(in oklab, var(--primary) 65%, transparent);
}

.copy-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.copy-btn.is-copied {
  background: color-mix(in oklab, var(--primary) 22%, var(--card));
  color: var(--foreground);
  box-shadow: none;
}
