/* ==========================================================================
   GoHelp.click, hand-written stylesheet (no build step)
   Design tokens carried over from the original Tailwind theme.
   ========================================================================== */

:root {
  --radius: 1rem;

  /* Brand, navy and orange, taken from the GoHelp / Khair Khegara mark */
  --primary: #13355f;
  --primary-foreground: #ffffff;
  --primary-deep: #0b1f3d;
  --navy: #0b1f3d;

  /* Three orange tokens, because one cannot do all three jobs legibly.
     --accent      fills, borders and icons only. On white it measures
                   2.8:1, so it must never carry text.
     --accent-ink  orange TEXT on white or cream. 5.0:1 on white.
     --accent-lift orange TEXT on navy. 6.2:1 on --primary. */
  --accent: #f07c22;
  --accent-foreground: #0b1f3d;   /* navy on orange = 6.0:1 */
  --accent-deep: #d96a13;
  --accent-ink: #b8500a;
  --accent-lift: #f9a463;
  --clay: #b8500a;                /* retained: older rules still name it */

  --background: #ffffff;
  --foreground: #101a26;
  --card: #ffffff;
  --secondary: #f5f4f1;           /* warm cream */
  --muted-foreground: #5a636f;    /* 6.1:1 on white, 5.5:1 on cream */
  --destructive: #ba1a1a;
  --border: #e7e5e0;
  --input: #dfddd7;
  --ring: #13355f;

  /* Plus Jakarta Sans carries the headings, Inter the interface. A bolder,
     more geometric sans at display sizes over a grotesque at text sizes
     keeps the hierarchy modern and premium without splitting into a serif/
     sans pairing, and it separates "what this is" from "what to do next". */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell: 78rem;

  /* Elevation, one ramp, so shadows stay consistent between components */
  --shadow-sm: 0 1px 2px rgba(11, 31, 61, .06);
  --shadow-md: 0 4px 16px -8px rgba(11, 31, 61, .28);
  --shadow-lg: 0 18px 44px -26px rgba(11, 31, 61, .45);
  --shadow-xl: 0 30px 70px -38px rgba(11, 31, 61, .42);

  /* Real per-platform brand colours, used only by the social icon links
     (.social) on hover/focus. Never used for GoHelp's own UI. */
  --brand-facebook: #1877f2;
  --brand-instagram-1: #f58529;
  --brand-instagram-2: #dd2a7b;
  --brand-instagram-3: #8134af;
  --brand-instagram-4: #515bd4;
  --brand-tiktok: #010101;
  --brand-tiktok-cyan: #25f4ee;
  --brand-youtube: #ff0000;
  --brand-linkedin: #0a66c2;
  --brand-whatsapp: #25d366;
}

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* The header is fixed and ~108px tall, keep anchored sections clear of it. */
:where(section, article, footer)[id] { scroll-margin-top: 124px; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* `hidden` has to win over any display declaration (e.g. display:contents). */
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 { letter-spacing: -0.025em; text-wrap: balance; line-height: 1.15; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 100; background: var(--primary); color: var(--primary-foreground);
  padding: 10px 18px; border-radius: 0 0 10px 10px; font-weight: 600;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- layout ------------------------------------------------------ */

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 640px) { .shell { padding-inline: 32px; } }

.section { padding-block: 72px; }
@media (min-width: 1024px) { .section { padding-block: 104px; } }
.section--tint { background: color-mix(in srgb, var(--secondary) 60%, #fff); }
.section--solid { background: var(--secondary); }
.section--flush-bottom { padding-bottom: 0; }
.section--flush-top { padding-top: 0; }

/* Contact page has no heading above its card grid, so it needs less
   clearance than the flat 124px used on pages with a title in that gap —
   just enough to clear the fixed header at each breakpoint. */
.page-main--contact { padding-top: 96px; }
@media (min-width: 640px) { .page-main--contact { padding-top: 116px; } }

.eyebrow {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary);
}
.section-title { margin-top: 12px; }
.section-sub { margin-top: 14px; max-width: 48rem; color: var(--muted-foreground); line-height: 1.7; }
.section-head--center { text-align: center; margin-inline: auto; max-width: 46rem; }
.section-head--center .section-sub { margin-inline: auto; }
.section-head--ondark .eyebrow { color: var(--accent-lift); }
.section-head--ondark .section-title { color: var(--primary-foreground); }
.section-head--ondark .section-sub { color: rgba(255, 255, 255, 0.78); }

.row-between { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }

.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stack > * + * { margin-top: 16px; }
.list-reset { list-style: none; padding: 0; margin: 0; }

/* ---------- buttons ----------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 0.95rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .1s, filter .2s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 1rem; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--primary); color: var(--primary-foreground); box-shadow: 0 10px 24px -16px var(--primary-deep); }
.btn--primary:hover { background: var(--primary-deep); }
.btn--accent { background: var(--accent); color: var(--accent-foreground); }
.btn--accent:hover { filter: brightness(1.05); }
.btn--outline { border-color: var(--border); background: var(--background); color: var(--foreground); }
.btn--outline:hover { background: var(--secondary); }
.btn--ondark { border-color: rgba(255, 255, 255, 0.35); color: var(--primary-foreground); background: transparent; }
.btn--ondark:hover { background: rgba(255, 255, 255, 0.12); }
.btn--ghost { background: transparent; color: var(--foreground); }
.btn--ghost:hover { background: var(--secondary); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 600; color: var(--primary); text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }
.text-link { color: var(--primary); font-weight: 600; text-underline-offset: 4px; }

/* ---------- hero -------------------------------------------------------- */

.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 92svh; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6,23,40,.92) 0%, rgba(6,23,40,.78) 45%, rgba(6,23,40,.55) 100%);
}
.hero__inner {
  display: grid; gap: 48px; width: 100%; max-width: var(--shell);
  margin-inline: auto; padding: 150px 20px 88px;
}
@media (min-width: 640px) { .hero__inner { padding-inline: 32px; } }
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.15fr 0.85fr; align-items: center; padding-top: 168px; }
}
.hero h1 { margin-top: 0; color: rgb(255, 255, 255); }
.hero h1 .line { display: block; }
.hero h1 .line + .line { margin-top: 4px; }
.hero h1 .grad { display: inline; margin: 0; }
.hero__lede { margin-top: 28px; color: rgba(255,255,255,.78); }
.hero__actions { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }

.appeal-card {
  width: 100%; max-width: 24rem; padding: 20px; border-radius: 20px; background: var(--card);
  box-shadow: 0 30px 80px -40px rgba(6,23,40,.8);
}
@media (min-width: 1024px) { .appeal-card { justify-self: end; } }
.appeal-card__top { display: flex; gap: 16px; }
.appeal-card__top img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.appeal-card__kicker { font-size: 0.65rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); }
.appeal-card h2 { margin-top: 6px; font-size: 1.125rem; font-weight: 600; }
.appeal-card p { margin-top: 16px; font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); }

/* ---------- stats ------------------------------------------------------- */

.stats { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 16px; text-align: center; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(6, 1fr); } }

/* Four-figure variant: repeat(6) leaves two empty cells with only four
   stats, so it holds at three up to 1024px, then squares up to four. */
@media (min-width: 1024px) { .stats--4 { grid-template-columns: repeat(4, 1fr); } }
.stats dd { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.stats dt { margin-top: 8px; font-size: 0.68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-foreground); }

.number-card { border: 1px solid var(--border); border-radius: 20px; background: var(--card); padding: 28px; text-align: center; }
.number-card dd { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; }
.number-card dt { margin-top: 8px; font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- cards ------------------------------------------------------- */

.card {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--border); border-radius: 20px; background: var(--card); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(7, 61, 44, .45); }
.card__media { overflow: hidden; aspect-ratio: 16 / 10; }
.card__media--4x3 { aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card__body p { margin-top: 8px; font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); }
.card__foot { margin-top: auto; padding-top: 24px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary); font-size: 0.75rem; font-weight: 600;
}
.tag-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 600; color: var(--primary); }
.case-id { margin-top: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875rem; font-weight: 600; }
.meta { margin-top: 4px; font-size: 0.75rem; color: var(--muted-foreground); }
.category-kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }

.icon-tile {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary);
}

/* ---------- progress ---------------------------------------------------- */

.progress { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 12%, transparent); overflow: hidden; }
.progress__bar { height: 100%; border-radius: 999px; background: var(--primary); }
.progress--ondark { background: rgba(255,255,255,.2); }
.progress--ondark .progress__bar { background: var(--accent); }

.figures { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 0.75rem; }
.figures dt { color: var(--muted-foreground); }
.figures dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.figures .is-raised { color: var(--primary); }

/* ---------- steps ------------------------------------------------------- */

.path-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border); border-radius: 20px; background: var(--card); padding: 28px; scroll-margin-top: 96px; }
@media (min-width: 640px) { .path-card { padding: 36px; } }
.path-card h3 { margin-top: 20px; }
.steps { margin-top: 24px; list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 16px; }
.steps b {
  display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; margin-top: 2px;
  border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font-size: 0.75rem;
}
.steps span { font-size: 0.975rem; line-height: 1.7; }
.path-card .btn { margin-top: 40px; }

.flow { margin-top: 48px; display: grid; gap: 1px; border: 1px solid var(--border); border-radius: 20px; background: var(--border); overflow: hidden; list-style: none; padding: 0; }
@media (min-width: 768px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow li { background: var(--card); padding: 28px; }
.flow b { font-size: 0.75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); }
.flow h3 { margin-top: 12px; font-size: 1.125rem; font-weight: 600; }
.flow p { margin-top: 8px; font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); }

.kpis { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.kpis strong { display: block; font-size: 1.5rem; font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; }
.kpis span { font-size: 0.875rem; color: var(--muted-foreground); }
.kpis .btn { margin-left: auto; }

/* ---------- emergency band --------------------------------------------- */

.band { position: relative; isolation: isolate; overflow: hidden; scroll-margin-top: 96px; }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,23,40,.94) 35%, rgba(6,23,40,.65) 100%); }
.band__inner { display: grid; gap: 48px; max-width: var(--shell); margin-inline: auto; padding: 80px 20px; }
@media (min-width: 640px) { .band__inner { padding-inline: 32px; } }
@media (min-width: 1024px) { .band__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 112px; } }
.band-card {
  border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 28px;
  background: rgba(6,23,40,.7); color: #fff; backdrop-filter: blur(4px);
}
@media (min-width: 640px) { .band-card { padding: 36px; } }
.band-card h3 { margin-top: 20px; font-size: 1.5rem; font-weight: 600; }
.band-card__region { margin-top: 4px; font-size: 0.875rem; color: rgba(255,255,255,.75); }
.band-card p.band-card__desc { margin-top: 16px; font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,.85); }
.band-card__figures { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.875rem; }
.band-card__figures .is-raised { font-weight: 600; color: var(--accent-lift); font-variant-numeric: tabular-nums; }   /* dark card */
.band-card__figures .is-target { color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.badge-accent { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-foreground); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }

/* ---------- featured campaign ------------------------------------------ */

.feature { display: grid; border: 1px solid var(--border); border-radius: 20px; background: var(--card); overflow: hidden; margin-top: 48px; }
@media (min-width: 1024px) { .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature__body { order: 2; padding: 28px; }
@media (min-width: 640px) { .feature__body { padding: 40px; } }
@media (min-width: 1024px) { .feature__body { order: 1; } }
.feature__media { order: 1; min-height: 18rem; }
@media (min-width: 1024px) { .feature__media { order: 2; } }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { margin-top: 24px; }
.feature p { margin-top: 16px; font-size: 0.95rem; line-height: 1.75; color: var(--muted-foreground); }
.badge-soft { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--secondary); color: var(--primary); font-size: 0.65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.share { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 20px; }
.share ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.share a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--border); text-decoration: none; font-size: 0.75rem; font-weight: 600;
}
.share a:hover { background: var(--secondary); color: var(--primary); }

/* ---------- callout / newsletter / final cta ---------------------------- */

.callout {
  display: flex; flex-direction: column; align-items: flex-start; gap: 32px;
  border: 1px solid var(--border); border-radius: 20px; background: var(--card); padding: 32px;
}
@media (min-width: 640px) { .callout { padding: 48px; } }
@media (min-width: 1024px) { .callout { flex-direction: row; align-items: center; } }

.callout p { margin-top: 12px; max-width: 42rem; color: var(--muted-foreground); line-height: 1.7; }
.callout__actions { display: flex; flex-direction: column; gap: 12px; width: 100%; }
@media (min-width: 640px) { .callout__actions { flex-direction: row; } }
@media (min-width: 1024px) { .callout__actions { width: auto; } }

.panel { border: 1px solid var(--border); border-radius: 20px; background: var(--card); padding: 24px; }
@media (min-width: 640px) { .panel { padding: 32px; } }

.final-cta { background: var(--primary-deep); }
.final-cta__inner { max-width: 56rem; margin-inline: auto; padding: 80px 20px; text-align: center; }
@media (min-width: 1024px) { .final-cta__inner { padding-block: 112px; } }
.final-cta h2 { font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem); font-weight: 700; color: #fff; }
.final-cta p { margin: 20px auto 0; max-width: 42rem; color: rgba(255,255,255,.8); line-height: 1.7; }
.final-cta__actions { margin-top: 36px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
@media (min-width: 640px) { .final-cta__actions { flex-direction: row; } }

/* ---------- forms ------------------------------------------------------- */

.auth-page { min-height: 100vh; background: color-mix(in srgb, var(--secondary) 50%, #fff); padding: 56px 20px; }
.auth-shell { width: 100%; max-width: 32rem; margin-inline: auto; }
.auth-shell--wide { max-width: 46rem; }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.auth-brand img { width: 40px; height: 40px; border-radius: 999px; }
.auth-brand span { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.auth-brand em { font-style: normal; color: var(--accent-ink); }
.auth-card { margin-top: 32px; border: 1px solid var(--border); border-radius: 20px; background: var(--card); padding: 28px; }
@media (min-width: 640px) { .auth-card { padding: 36px; } }
.auth-card h1 { margin-top: 8px; }
.auth-card__sub { margin-top: 8px; font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); }
.auth-body { margin-top: 28px; }
.auth-foot { margin-top: 24px; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > label { font-size: 0.875rem; font-weight: 600; }
.field__hint { font-size: 0.75rem; color: var(--muted-foreground); }
.input, .select, .textarea {
  width: 100%; min-width: 0; border: 1px solid var(--input); border-radius: 12px;
  background: var(--background); padding: 0 16px; height: 48px; font-size: 1rem;
}
.textarea { height: auto; padding: 12px 16px; line-height: 1.6; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent);
}
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: 0.875rem; font-weight: 600; }
legend.step-legend { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); }

.choice {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; transition: background-color .2s, border-color .2s;
}
.choice:hover { background: color-mix(in srgb, var(--secondary) 60%, #fff); }
.choice input { margin-top: 3px; accent-color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }
.choice b { display: block; font-size: 0.9375rem; }
.choice small { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--muted-foreground); }
.choice:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 5%, #fff); }

.checkline { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; line-height: 1.6; cursor: pointer; }
.checkline input { margin-top: 3px; accent-color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }

.form-message { border-radius: 12px; padding: 12px 16px; font-size: 0.875rem; line-height: 1.6; }
.form-message[hidden] { display: none; }
.form-message--error { border: 1px solid color-mix(in srgb, var(--destructive) 30%, transparent); background: color-mix(in srgb, var(--destructive) 8%, #fff); color: var(--destructive); }
.form-message--success { border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); background: color-mix(in srgb, var(--primary) 8%, #fff); color: var(--primary); }

.segmented { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--border); background: color-mix(in srgb, var(--secondary) 60%, #fff); }
.segmented button {
  height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 0.875rem; font-weight: 600; color: var(--muted-foreground);
}
.segmented button[aria-pressed="true"] { background: var(--primary); color: var(--primary-foreground); }

.amount-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amount-grid button {
  height: 48px; border: 1px solid var(--border); border-radius: 12px; background: var(--background);
  font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer;
}
.amount-grid button:hover { background: var(--secondary); }
.amount-grid button[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }

.amount-input { margin-top: 8px; display: flex; align-items: center; height: 48px; border: 1px solid var(--input); border-radius: 12px; padding-inline: 16px; }
.amount-input span { color: var(--muted-foreground); }
.amount-input input { margin-left: 8px; width: 100%; height: 100%; border: 0; background: transparent; outline: none; font-variant-numeric: tabular-nums; }

.summary { border: 1px solid var(--border); border-radius: 20px; background: var(--card); padding: 24px; }
@media (min-width: 640px) { .summary { padding: 32px; } }
@media (min-width: 1024px) { .summary-wrap { position: sticky; top: 96px; } }
.summary h2 { font-size: 1.125rem; font-weight: 600; }
.summary dl { margin-top: 20px; display: grid; gap: 12px; font-size: 0.875rem; }
.summary dl > div { display: flex; justify-content: space-between; gap: 16px; }
.summary dt { color: var(--muted-foreground); }
.summary dd { font-weight: 600; text-align: right; }
.summary .total { border-top: 1px solid var(--border); padding-top: 12px; font-size: 1rem; }
.summary .total dt { color: var(--foreground); font-weight: 600; }
.summary .total dd { font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; }
.trust { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 20px; display: grid; gap: 8px; list-style: none; font-size: 0.75rem; color: var(--muted-foreground); }

.donate-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .donate-layout { grid-template-columns: 1.15fr .85fr; } }
.donate-panel { display: grid; gap: 32px; border: 1px solid var(--border); border-radius: 20px; background: var(--card); padding: 24px; }
@media (min-width: 640px) { .donate-panel { padding: 36px; } }

.receipt { display: grid; gap: 12px; border: 1px solid var(--border); border-radius: 20px; background: var(--card); padding: 24px; font-size: 0.9375rem; }
.receipt > div { display: flex; justify-content: space-between; gap: 16px; }
.receipt dt { color: var(--muted-foreground); }
.receipt dd { font-weight: 600; text-align: right; }

/* ---------- reveal ------------------------------------------------------ */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal[data-visible="true"] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Header, centred navigation, mega dropdowns, full-height mobile sheet
   ========================================================================== */

.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 60; padding: 10px; }
@media (min-width: 640px) { .site-header { padding: 16px 20px; } }

.site-header__inner {
  max-width: var(--shell); margin-inline: auto;
  border-radius: 26px;
  /* Was 82% white. Over a photographic hero that left the navigation sitting
     on whatever happened to be behind it; at 94% the text contrast no longer
     depends on the image. A hairline border keeps the bar defined on white
     pages, where a shadow alone disappears. */
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(19, 53, 95, .09);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow-sm), 0 16px 40px -30px rgba(11, 31, 61, .5);
  transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}

/* No backdrop-filter (Firefox with it disabled, older Safari): fall back to a
   solid bar rather than a see-through one. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header__inner { background: #fff; }
}
@media (min-width: 640px) { .site-header__inner { border-radius: 999px; } }
.site-header--scrolled .site-header__inner {
  background: rgba(255, 255, 255, .985);
  border-color: rgba(19, 53, 95, .14);
  box-shadow: 0 1px 2px rgba(11, 31, 61, .08), 0 12px 28px -18px rgba(11, 31, 61, .35), 0 32px 60px -36px rgba(11, 31, 61, .55);
}

.site-header__bar {
  display: flex; align-items: center; gap: 10px;
  height: 62px; padding-inline: 12px;
}
@media (min-width: 640px) { .site-header__bar { height: 70px; padding-inline: 18px 14px; } }
@media (min-width: 1240px) {
  /* Equal outer tracks keep the nav optically centred whatever the sides weigh.
     The left track keeps its max-content floor so a long nav list can never
     squeeze the logo column until "GoHelp" overlaps the nav links. The right
     track (login/account + Donate) instead floors at 0: its content changes
     size after load (the auth check reveals the login link or account menu),
     and a max-content floor there would force the whole row wider than the
     pill once that content appears — pushing Donate now out past the rounded
     edge. Letting it shrink keeps the row inside the boundary at every width. */
  .site-header__bar { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(0, max-content); padding-inline: 22px 14px; }
  .header-actions { min-width: 0; }
}

/* --- brand --- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 36px; height: 36px; flex-shrink: 0; }
@media (min-width: 640px) { .brand img { width: 44px; height: 44px; } }
.brand__text { display: grid; line-height: 1; min-width: 0; }
.brand__name {
  font-family: var(--font-display); font-size: 1.26rem; font-weight: 700;
  letter-spacing: -.018em; color: var(--primary-deep); white-space: nowrap;
}
@media (min-width: 640px) { .brand__name { font-size: 1.5rem; } }
.brand__name em { font-style: normal; color: var(--accent-ink); }
.brand__tag {
  margin-top: 3px; font-size: .5rem; font-weight: 600; line-height: 1.45;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
}
@media (min-width: 640px) { .brand__tag { font-size: .5625rem; letter-spacing: .16em; } }

/* --- desktop nav --- */
.nav { display: none; }
@media (min-width: 1240px) { .nav { display: block; justify-self: center; } }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }

.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  height: 42px; padding: 0 13px; border: 0; border-radius: 999px;
  background: transparent; cursor: pointer; text-decoration: none;
  font-family: var(--font-sans); font-size: .9375rem; font-weight: 600;
  letter-spacing: -.006em; color: var(--primary-deep);
  transition: color .2s ease;
}
.nav__link::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(19, 53, 95, .08); opacity: 0; transform: scale(.9);
  transition: opacity .22s ease, transform .3s var(--ease-spring);
}
/* The open menu keeps a visible marker, so it is obvious which panel is showing. */
.nav__item[data-open="true"] > .nav__link { color: var(--primary); }
.nav__item[data-open="true"] > .nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 2px;
  transform-origin: center; border-radius: 2px; background: var(--accent);
  animation: navdash-in .3s var(--ease-spring) both;
}
@keyframes navdash-in {
  from { transform: translateX(-50%) scaleX(0); opacity: 0; }
  to { transform: translateX(-50%) scaleX(1); opacity: 1; }
}
.nav__link svg { opacity: .55; }
.nav__link:hover::before,
.nav__item[data-open="true"] > .nav__link::before { opacity: 1; transform: scale(1); }
.nav__link > * { position: relative; }
.nav__link svg { opacity: .5; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.nav__item[data-open="true"] > .nav__link svg { transform: rotate(180deg); opacity: .9; }

/* --- mega dropdown --- */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: min(28rem, calc(100vw - 40px));
  transform: translate(-50%, 12px) scale(.97); transform-origin: top center;
  border: 1px solid rgba(231, 229, 224, .9); border-radius: 22px; background: #fff;
  box-shadow: 0 30px 70px -38px rgba(11, 31, 61, .42), 0 1px 3px rgba(11, 31, 61, .07);
  padding: 12px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .26s var(--ease-out), transform .26s var(--ease-out), visibility .26s;
}
.nav__item[data-open="true"] > .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1);
}
/* invisible bridge so the pointer can travel from trigger to panel */
.dropdown::after { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }

/* Menus near the ends of the bar align to their edge instead of overflowing */
.nav__item:first-child .dropdown { left: 0; transform: translate(0, 12px) scale(.97); }
.nav__item:first-child[data-open="true"] > .dropdown { transform: translate(0, 0) scale(1); }
.nav__item:nth-last-child(2) .dropdown { left: auto; right: 0; transform: translate(0, 12px) scale(.97); }
.nav__item:nth-last-child(2)[data-open="true"] > .dropdown { transform: translate(0, 0) scale(1); }

.dropdown__inner { display: block; }

.dropdown__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; align-content: start; }
.dropdown a.dropdown__link {
  display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 11px;
  padding: 11px; border-radius: 12px; text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.dropdown a.dropdown__link:hover, .dropdown a.dropdown__link:focus-visible {
  background: var(--secondary); box-shadow: 0 2px 10px -6px rgba(11, 31, 61, .3); transform: translateY(-1px);
}
.dropdown__link > span:first-child {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary);
  transition: background-color .18s ease, color .18s ease;
}
.dropdown a.dropdown__link:hover > span:first-child, .dropdown a.dropdown__link:focus-visible > span:first-child {
  background: var(--accent); color: var(--accent-foreground);
}
.dropdown__link svg { width: 17px; height: 17px; }
.dropdown__links b { display: block; font-size: .875rem; font-weight: 600; color: var(--foreground); line-height: 1.3; }
.dropdown__links small { display: block; margin-top: 3px; font-size: .75rem; line-height: 1.45; color: var(--muted-foreground); }

/* Two named sub-groups sharing the existing 2-column dropdown__links grid */
.dropdown__group + .dropdown__group { border-left: 1px solid var(--border); padding-left: 10px; }
.dropdown__group-label {
  display: flex; align-items: center; gap: 6px; padding: 4px 11px 6px;
  font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted-foreground);
}
.dropdown__group-label svg { width: 13px; height: 13px; opacity: .7; }
.dropdown__group .dropdown__link { grid-template-columns: 26px 1fr; padding: 8px 11px; gap: 9px; }
.dropdown__group .dropdown__link > span:first-child { width: 26px; height: 26px; }
.dropdown__group .dropdown__link svg { width: 14px; height: 14px; }
.dropdown__group .dropdown__link b { font-size: .8125rem; }

/* --- header actions --- */
.header-actions { display: none; align-items: center; gap: 16px; }
.header-actions .login-link, .header-actions .btn { white-space: nowrap; }
@media (min-width: 1240px) { .header-actions { display: flex; justify-self: end; } }
.header-actions__email {
  max-width: 10rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: .875rem; font-weight: 600; color: var(--muted-foreground);
}
.login-link {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px;
  border-radius: 999px; text-decoration: none; font-size: .9375rem; font-weight: 600;
  color: var(--primary-deep); transition: background-color .2s ease;
}
.login-link:hover { background: rgba(19, 53, 95, .08); }

.btn--donate {
  /* Extra separation on top of .header-actions' gap: this is a distinct,
     prominent CTA, not a third item in the account-management pair, so it
     gets more breathing room before it than My account/Log out get from
     each other. */
  margin-left: 8px;
  gap: 10px; height: 48px; padding: 0 7px 0 20px; border-radius: 999px;
  /* Navy on orange is 6.0:1. White on orange would be 2.8:1, which is why the
     label is dark here even though a white label looks conventional. */
  background: var(--accent); color: var(--accent-foreground);
  font-size: .9375rem; font-weight: 600; letter-spacing: -.006em; white-space: nowrap;
  box-shadow: 0 2px 6px -2px rgba(240, 124, 34, .5), 0 14px 30px -16px rgba(240, 124, 34, 1);
}
.btn--donate:hover {
  background: var(--accent-deep); color: var(--accent-foreground);
  box-shadow: 0 4px 10px -2px rgba(240, 124, 34, .6), 0 20px 40px -18px rgba(240, 124, 34, 1);
}
.btn__badge {
  display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--accent-deep);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.btn--donate:hover .btn__badge { transform: rotate(45deg); }

/* --- mobile controls (must never be squeezed off the bar) --- */
.header-mobile { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
@media (min-width: 1240px) { .header-mobile { display: none; } }
.header-mobile .btn { display: none; }
@media (min-width: 460px) { .header-mobile .btn { display: inline-flex; } }
@media (max-width: 1239.98px) {
  .header-mobile .btn--donate { height: 40px; padding: 0 5px 0 14px; font-size: .8125rem; gap: 7px; }
  .header-mobile .btn__badge { width: 26px; height: 26px; }
  .header-mobile .btn__badge svg { width: 12px; height: 12px; }
}

.icon-btn {
  position: relative; width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center; border: 1px solid rgba(19, 53, 95, .16); border-radius: 999px;
  background: #fff; color: var(--primary-deep); cursor: pointer;
  box-shadow: 0 2px 6px -3px rgba(11, 31, 61, .3);
  transition: background-color .18s var(--ease-out), color .18s var(--ease-out), transform .18s var(--ease-out);
}
.icon-btn:hover { background: var(--secondary); }
.icon-btn:active { transform: scale(.94); }
.icon-btn[aria-expanded="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }

/* --- mobile sheet --- */
.mobile-menu {
  display: none; border-top: 1px solid var(--border);
  padding: 6px 14px 18px;
  max-height: calc(100svh - 96px); overflow-y: auto;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  /* The drawer inherited the header's translucency, so on a photographic hero
     the page showed straight through the menu and the links became unreadable.
     A navigation panel is not a place for transparency: it is opaque. */
  background: #fff;
  border-bottom-left-radius: 26px; border-bottom-right-radius: 26px;
}
.mobile-menu[data-open="true"] { display: block; animation: sheet-in .32s var(--ease-out); }
/* With the drawer open the bar and the panel read as one solid sheet.
   Border-radius must drop out of pill shape too: at >=640px .site-header__inner
   is a 999px pill, and once the drawer expands the box's height the huge
   corner arcs eat into the top-left logo/hamburger row. A fixed rounded-square
   radius keeps the corners out of the way of the content. */
.site-header__inner:has(.mobile-menu[data-open="true"]) { background: #fff; border-radius: 26px; }
@media (min-width: 1240px) { .mobile-menu { display: none !important; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }

.mobile-menu__close-row { display: flex; justify-content: flex-end; padding: 6px 4px 12px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.icon-btn--plain { background: transparent; border-color: transparent; box-shadow: none; color: var(--primary-deep); }
.icon-btn--plain:hover { background: var(--secondary); }

/* Backdrop behind the open drawer. Lives inside .site-header (same fixed,
   z-index: 60 box as the panel) so it inherits correct stacking for free —
   position: fixed sizes it to the viewport regardless of the parent's own
   box. Placed before .site-header__inner in markup so it paints behind it. */
.mobile-menu__backdrop {
  position: fixed; inset: 0;
  background: rgba(6, 23, 40, .55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .26s var(--ease-out), visibility .26s;
}
.mobile-menu__backdrop[data-open="true"] { opacity: 1; visibility: visible; pointer-events: auto; }
@media (min-width: 1240px) { .mobile-menu__backdrop { display: none !important; } }

.mobile-nav { list-style: none; margin: 0; padding: 0; display: block; }
.mobile-nav > li { display: block; }
.mobile-nav > li + li { border-top: 1px solid var(--border); }

.mobile-nav__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 56px; padding: 10px 4px;
  border: 0; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 1.0625rem; font-weight: 600;
  color: var(--primary); text-align: left; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav__row svg { opacity: .45; flex-shrink: 0; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.mobile-nav li[data-open="true"] .mobile-nav__row { color: var(--accent-deep); }
.mobile-nav li[data-open="true"] .mobile-nav__row svg { transform: rotate(180deg); opacity: .9; }

.mobile-nav__badge {
  display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, #fff);
  color: var(--accent-deep); transition: transform .3s var(--ease-out);
}
.mobile-nav li[data-open="true"] .mobile-nav__badge { transform: rotate(45deg); }

/* Collapsible panel: grid-rows animation keeps it smooth without fixed heights */
.mobile-nav__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s cubic-bezier(.22,1,.36,1);
}
.mobile-nav li[data-open="true"] .mobile-nav__panel { grid-template-rows: 1fr; }
.mobile-nav__panel > div { overflow: hidden; min-height: 0; }

/* Each sub-link is its own full-width row. Explicit width and block display
   stop them collapsing into an inline run on iOS. */
.mobile-nav__panel a {
  display: flex !important; width: 100%; box-sizing: border-box;
  align-items: center; gap: 12px; min-height: 50px;
  padding: 6px 12px; margin-bottom: 2px; border-radius: 12px;
  text-decoration: none; font-size: .9688rem; font-weight: 600;
  color: var(--muted-foreground); line-height: 1.3;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav__panel a:last-child { margin-bottom: 10px; }
.mobile-nav__panel a:active { background: var(--secondary); color: var(--foreground); }
@media (hover: hover) { .mobile-nav__panel a:hover { background: var(--secondary); color: var(--foreground); } }
.mobile-nav__panel a svg {
  width: 18px; height: 18px; flex: 0 0 18px; color: var(--accent);
}
.mobile-nav__group-label {
  display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; padding: 0 12px;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted-foreground);
}
.mobile-nav__group-label:first-child { margin-top: 2px; }
.mobile-nav__group-label svg { width: 14px; height: 14px; flex: 0 0 14px; opacity: .7; }

.mobile-menu__actions { margin-top: 16px; display: grid; gap: 10px; }
.mobile-menu__contact {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  display: grid; gap: 4px; font-size: .9375rem;
}
.mobile-menu__contact a {
  display: flex; align-items: center; gap: 10px; min-height: 46px;
  color: var(--muted-foreground); text-decoration: none;
}
.mobile-menu__contact svg { color: var(--accent-ink); flex-shrink: 0; }

/* --- scroll progress --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 70;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--navy); color: #fff; scroll-margin-top: 96px; }
.site-footer__inner { max-width: var(--shell); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 640px) { .site-footer__inner { padding-inline: 32px; } }

/* Single coordinated row: social icons one side, subscribe the other.
   Stacks to icons / email / subscribe on narrow screens. */
.footer-row {
  padding-block: 40px;
  display: flex; flex-direction: column; gap: 24px; align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
@media (min-width: 760px) {
  .footer-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
}

/* Mobile: one full-width row of 5 equal squares, no wrapping — each icon
   grows to fill the row rather than sitting at a fixed size that could
   wrap to a second line or leave dead space. */
.social { display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; width: 100%; }
.social li { flex: 1 1 0; min-width: 0; max-width: 64px; display: flex; }
.social a {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .85); text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.social a svg { width: 46%; height: 46%; }
@media (min-width: 760px) {
  .social { width: auto; flex-wrap: wrap; gap: 10px; }
  .social li { flex: 0 0 auto; max-width: none; }
  .social a { width: 72px; border-radius: 20px; }
}
.social a:hover, .social a:focus-visible {
  background: var(--accent); border-color: var(--accent); color: var(--accent-foreground); transform: translateY(-2px);
}

/* Real brand colour per platform, applied on hover/focus only, so the row
   stays understated at rest and never turns into a wall of logo colour. */
.social a.social--facebook:hover, .social a.social--facebook:focus-visible {
  background: var(--brand-facebook); border-color: var(--brand-facebook); color: #fff;
}
.social a.social--instagram:hover, .social a.social--instagram:focus-visible {
  background: linear-gradient(45deg, var(--brand-instagram-1), var(--brand-instagram-2) 45%, var(--brand-instagram-3) 75%, var(--brand-instagram-4));
  border-color: transparent; color: #fff;
}
.social a.social--tiktok:hover, .social a.social--tiktok:focus-visible {
  background: var(--brand-tiktok); border-color: var(--brand-tiktok); color: var(--brand-tiktok-cyan);
  box-shadow: inset 0 0 0 2px var(--brand-tiktok-pink);
}
.social a.social--youtube:hover, .social a.social--youtube:focus-visible {
  background: var(--brand-youtube); border-color: var(--brand-youtube); color: #fff;
}
.social a.social--linkedin:hover, .social a.social--linkedin:focus-visible {
  background: var(--brand-linkedin); border-color: var(--brand-linkedin); color: #fff;
}

/* Light-surface variant: same component, placed outside the dark footer
   (the Contact page's "Follow GoHelp" band). Idle state reads on --card
   instead of navy; brand colours on hover are identical either way. */
.social--onlight a { border-color: var(--border); background: var(--card); color: var(--muted-foreground); }
.social--onlight a:hover, .social--onlight a:focus-visible { color: #fff; }

.footer-subscribe { width: 100%; max-width: 26rem; }
@media (min-width: 760px) { .footer-subscribe { max-width: 22rem; } }
.footer-form { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 460px) { .footer-form { flex-direction: row; } }
.footer-form .input {
  border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07); color: #fff; min-height: 46px;
}
.footer-form .input::placeholder { color: rgba(255, 255, 255, .45); }
.footer-form .input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240, 124, 34, .25); }
.footer-subscribe .form-message { margin-top: 10px; font-size: .8125rem; }

/* bottom bar: copyright + the legal links that are still required */
.footer-bottom {
  display: flex; flex-direction: column; gap: 12px; padding-block: 22px;
  font-size: .8125rem; color: rgba(255, 255, 255, .55); text-align: center;
}
@media (min-width: 760px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; } }
.footer-bottom nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
@media (min-width: 760px) { .footer-bottom nav { justify-content: flex-end; } }
.footer-bottom a { text-decoration: none; color: inherit; }
.footer-bottom a:hover { color: #fff; }

/* ---------- payment summary on the thank-you page ------------------------ */
.pay-summary {
  margin-top: 20px; display: grid; gap: 10px; text-align: left;
  border: 1px solid var(--border); border-radius: calc(var(--radius) - 4px);
  padding: 16px 18px; background: var(--secondary);
}
.pay-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pay-summary dt { font-size: .8125rem; color: var(--muted-foreground); }
.pay-summary dd { margin: 0; font-size: .9375rem; font-weight: 600; text-align: right; }

/* ---------- payment method selector (donate page) ------------------------ */
.pay-methods { display: grid; gap: 10px; margin-top: 12px; }
.pay-method {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer;
  border: 1px solid var(--input); border-radius: calc(var(--radius) - 4px); background: var(--card);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.pay-method:hover { border-color: var(--primary); }
.pay-method:has(input:checked) {
  border-color: var(--primary); background: color-mix(in srgb, var(--primary) 4%, var(--card));
  box-shadow: 0 0 0 1px var(--primary);
}
.pay-method:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 2px; }
.pay-method input { width: auto; margin: 0; flex-shrink: 0; }
.pay-method__body { display: grid; gap: 2px; }
.pay-method__body b { font-size: .9375rem; font-weight: 600; }
.pay-method__body small { font-size: .8125rem; color: var(--muted-foreground); }
.pay-method__mark { margin-left: auto; font-size: .75rem; font-weight: 600; color: var(--muted-foreground); }

/* ---------- floating WhatsApp button (Part 8 / 33) ----------------------- */
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease-spring, ease), box-shadow .2s ease;
}
.whatsapp-fab:hover, .whatsapp-fab:focus-visible { transform: scale(1.08); box-shadow: var(--shadow-xl); }
.whatsapp-fab svg { width: 28px; height: 28px; }
@media (max-width: 640px) { .whatsapp-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; } .whatsapp-fab svg { width: 25px; height: 25px; } }

/* ---------- Sponsors & Partners (Part 15) --------------------------------- */
.sponsors { padding-block: 56px; background: var(--secondary); }
.sponsors__inner { max-width: var(--shell); margin-inline: auto; padding-inline: 20px; text-align: center; }
@media (min-width: 640px) { .sponsors__inner { padding-inline: 32px; } }
.sponsors__inner .eyebrow { justify-content: center; display: inline-flex; }
.sponsors__inner h2 { margin-top: 8px; }
.sponsors__grid {
  margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 40px;
}
.sponsors__logo {
  display: grid; place-items: center; height: 64px; width: 148px;
  filter: grayscale(1) opacity(.72); transition: filter .2s ease, transform .2s ease;
}
.sponsors__logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.sponsors__logo:hover, .sponsors__logo:focus-visible { filter: grayscale(0) opacity(1); transform: translateY(-2px); }
.sponsors__logo--static { cursor: default; }
/* Narrow phones: shrink the logo box so two still fit a row without overflow. */
@media (max-width: 400px) {
  .sponsors__grid { gap: 20px 24px; }
  .sponsors__logo { width: 120px; height: 54px; }
}

/* ---------- Paid advertisement placements (Parts 19-21) ------------------- */
.ad-slot { max-width: var(--shell); margin: 0 auto; padding-inline: 20px; }
@media (min-width: 640px) { .ad-slot { padding-inline: 32px; } }
.ad-slot--hero { padding-block: 14px 0; }
.ad-slot--content { padding-block: 40px; }
.ad-slot--footer { padding-block: 32px 0; }
.ad-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--card); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.ad-card:hover, .ad-card:focus-visible { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.ad-card img { display: block; width: 100%; height: auto; }
.ad-card__label {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(11, 31, 61, .82); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.ad-card--card { display: flex; align-items: center; gap: 16px; padding: 16px; }
.ad-card--card img { width: 88px; height: 88px; border-radius: calc(var(--radius) - 6px); flex-shrink: 0; object-fit: cover; }
.ad-card--card .ad-card__body b { display: block; font-size: .9375rem; }
.ad-card--card .ad-card__body span { font-size: .8125rem; color: var(--muted-foreground); }
.ad-card--strip { display: flex; align-items: center; justify-content: center; padding: 18px; gap: 14px; }
.ad-card--strip img { max-height: 40px; width: auto; }

/* ==========================================================================
   Credibility sections
   ========================================================================== */


/* testimonials */
.quote-card {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--border); border-radius: 20px; background: var(--card); padding: 32px;
}
.quote-card > svg { color: var(--accent); opacity: .9; }
.quote-card blockquote { margin: 20px 0 0; font-size: 1.0625rem; line-height: 1.7; }
.quote-card figcaption { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 12px; }
.quote-card .quote-avatar {
  display: flex !important; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 999px; overflow: hidden;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff; font-family: var(--font-sans); font-weight: 600; font-size: .9375rem;
  letter-spacing: .02em; line-height: 1; text-transform: uppercase;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.14), 0 4px 10px -4px rgba(11,31,61,.5);
}
.quote-card .quote-avatar span { display: block; transform: translateY(1px); }
.quote-card cite { display: block; font-style: normal; font-weight: 600; font-size: .9375rem; }
.quote-card .quote-meta { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted-foreground); }
.quote-card .quote-who { display: grid; min-width: 0; }

/* FAQ accordion */
.faq { display: grid; gap: 12px; margin-top: 48px; }
.faq details {
  border: 1px solid var(--border); border-radius: 16px; background: var(--card);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: color-mix(in srgb, var(--primary) 30%, transparent); box-shadow: 0 14px 34px -26px rgba(11, 31, 61, .5); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; cursor: pointer; list-style: none;
  font-size: 1.0625rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; color: var(--primary); transition: transform .25s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { padding: 0 24px 24px; max-width: 60ch; line-height: 1.75; color: var(--muted-foreground); }

/* split content block */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split__media { border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(11, 31, 61, .8); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.checklist { margin-top: 28px; display: grid; gap: 16px; list-style: none; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.65; }
.checklist svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.checklist b { display: block; }
.checklist span { color: var(--muted-foreground); font-size: .9375rem; }

/* ==========================================================================
   Thank you / share
   ========================================================================== */

.thanks { position: relative; }
.thanks__confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.thanks__panel { position: relative; max-width: 40rem; margin-inline: auto; text-align: center; }

.thanks__seal {
  display: grid; place-items: center; width: 84px; height: 84px; margin-inline: auto;
  border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, #fff); color: var(--accent-deep);
  animation: pop-in .7s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes pop-in { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }

.share-card {
  margin-top: 40px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff; padding: 36px 32px; text-align: left; position: relative;
}
.share-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -120px;
  border-radius: 999px; background: rgba(240, 124, 34, .3); filter: blur(10px);
}
.share-card__amount { position: relative; font-size: clamp(2.2rem, 1.6rem + 3vw, 3.2rem); font-weight: 600; letter-spacing: -.03em; }
.share-card__meta { position: relative; margin-top: 8px; color: rgba(255,255,255,.75); line-height: 1.7; }
.share-card__ref {
  position: relative; margin-top: 24px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875rem; letter-spacing: .04em;
}

.share-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .share-grid { grid-template-columns: repeat(3, 1fr); } }
.share-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 14px; border: 1px solid var(--border); border-radius: 14px;
  background: #fff; color: var(--foreground); cursor: pointer; text-decoration: none;
  font-family: inherit; font-size: .9063rem; font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(11,31,61,.6); border-color: transparent; }
.share-btn svg { flex-shrink: 0; }
.share-btn--facebook:hover { background: #1877f2; color: #fff; }
.share-btn--whatsapp:hover { background: #25d366; color: #fff; }
.share-btn--x:hover { background: #0f1419; color: #fff; }
.share-btn--linkedin:hover { background: #0a66c2; color: #fff; }
.share-btn--telegram:hover { background: #229ed9; color: #fff; }
.share-btn--copy:hover { background: var(--primary); color: #fff; }

.share-preview { margin-top: 20px; border: 1px solid var(--border); border-radius: 20px; padding: 12px; background: var(--secondary); }
.share-preview img, .share-preview canvas { width: 100%; height: auto; border-radius: 12px; display: block; }

/* ==========================================================================
   Motion + polish
   ========================================================================== */

/* animated counters keep their width so the layout never jumps */
.counter { font-variant-numeric: tabular-nums; }

/* soft floating accent blobs behind light sections */
.has-glow { position: relative; isolation: isolate; overflow: hidden; }
.has-glow::before {
  content: ""; position: absolute; z-index: -1; width: 34rem; height: 34rem;
  top: -14rem; right: -12rem; border-radius: 999px;
  background: radial-gradient(circle, rgba(240,124,34,.13), transparent 68%);
  animation: drift 18s ease-in-out infinite alternate;
}
.has-glow::after {
  content: ""; position: absolute; z-index: -1; width: 28rem; height: 28rem;
  bottom: -12rem; left: -10rem; border-radius: 999px;
  background: radial-gradient(circle, rgba(19,53,95,.10), transparent 68%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3rem, 2.5rem, 0) scale(1.12); }
}

/* hero image drifts very slowly, enough to feel alive, not enough to distract */
.hero__bg { animation: ken-burns 26s ease-in-out infinite alternate; will-change: transform; }
@keyframes ken-burns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.5%, -1.5%, 0); }
}

/* staggered reveal variants */
.reveal--left { transform: translateX(-24px); }
.reveal--left[data-visible="true"] { transform: none; }
.reveal--scale { transform: scale(.96); }
.reveal--scale[data-visible="true"] { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__bg, .has-glow::before, .has-glow::after, .thanks__seal { animation: none !important; }
}

/* ==========================================================================
   Minimal polish pass, lighter chrome, more air, tighter mobile
   ========================================================================== */

/* Cards lose the hard outline and sit on soft shadow instead */
.card, .path-card, .panel, .quote-card, .summary, .donate-panel, .receipt, .auth-card, .number-card {
  border-color: rgba(231, 229, 224, .8);
  box-shadow: 0 1px 2px rgba(11, 31, 61, .03);
}
.card { border-radius: 22px; }
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(11, 31, 61, .55); }
.quote-card:hover { box-shadow: 0 26px 50px -32px rgba(11, 31, 61, .45); }

/* More air between sections on large screens */
@media (min-width: 1024px) { .section { padding-block: 120px; } }
.section-title { margin-top: 14px; }
.section-sub { margin-top: 16px; }

/* Quieter eyebrow so headings lead */
.eyebrow { color: var(--clay); }
.section-head--ondark .eyebrow { color: var(--accent-lift); }


/* Flow steps: no boxed grid, just quiet dividers */
.flow { border: 0; background: transparent; gap: 0; border-top: 1px solid var(--border); border-radius: 0; }
.flow li { padding: 28px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) {
  .flow { border-bottom: 1px solid var(--border); }
  .flow li { padding: 32px 28px; border-bottom: 0; border-left: 1px solid var(--border); }
  .flow li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- mobile refinements ---------------------------------------- */

@media (max-width: 640px) {
  .section { padding-block: 56px; }
  .shell { padding-inline: 18px; }

  /* full-width buttons read better than centred pills on a phone */
  .hero__actions .btn,
  .final-cta__actions .btn,
  .callout__actions .btn { width: 100%; }

  .hero { min-height: auto; }
  .hero__inner { padding: 132px 18px 64px; }
  .hero__lede { font-size: 1rem; }

  .appeal-card { max-width: none; padding: 18px; }
  .appeal-card__top img { width: 64px; height: 64px; }

  .stats { gap: 28px 12px; }
  .stats dd { font-size: 1.75rem; }
  .stats dt { font-size: .625rem; letter-spacing: .1em; }

  .card__body, .path-card, .panel, .quote-card, .summary, .donate-panel { padding: 22px; }
  .callout { padding: 24px; }
  .feature__body { padding: 24px; }

  .faq summary { padding: 18px; font-size: 1rem; gap: 14px; }
  .faq p { padding: 0 18px 20px; }

  .flow li { padding: 22px 0; }
  .kpis { gap: 20px 28px; }
  .kpis .btn { margin-left: 0; width: 100%; }

  .amount-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .field-row--2 { grid-template-columns: 1fr; }

  .share-card { padding: 26px 22px; }
  .footer-row { padding-block: 48px; gap: 36px; }
  .site-footer__inner { padding-inline: 18px; }
}


/* iOS: stop inputs zooming the viewport on focus */
@media (max-width: 820px) {
  .input, .select, .textarea, .amount-input input { font-size: 16px; }
}

/* Tap targets stay comfortable everywhere */
@media (pointer: coarse) {
  .btn, .share-btn, .nav__link, .login-link { min-height: 46px; }
}

/* ==========================================================================
   Preview checkout, a stand-in for the Stripe Checkout page
   ========================================================================== */

.checkout-page { min-height: 100svh; background: var(--secondary); }

.preview-banner {
  background: var(--primary-deep); color: #fff;
  font-size: .8125rem; line-height: 1.6;
}
.preview-banner div {
  max-width: 62rem; margin-inline: auto; padding: 12px 20px;
  display: flex; align-items: flex-start; gap: 10px;
}
.preview-banner svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.preview-banner b { color: var(--accent-lift); }   /* on navy, not white */

.checkout { max-width: 62rem; margin-inline: auto; padding: 32px 20px 64px; }
.checkout__grid { display: grid; gap: 0; border-radius: 22px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 2px rgba(11,31,61,.05), 0 30px 70px -50px rgba(11,31,61,.6); }
@media (min-width: 900px) { .checkout__grid { grid-template-columns: 1fr 1fr; } }

/* left: order summary */
.checkout__summary {
  padding: 36px 32px;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.checkout__summary::after {
  content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -110px;
  border-radius: 999px; background: rgba(240,124,34,.25); filter: blur(8px);
}
.checkout__back {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.75); text-decoration: none;
}
.checkout__back:hover { color: #fff; }
.checkout__label { position: relative; margin-top: 32px; font-size: .875rem; color: rgba(255,255,255,.7); }
.checkout__amount { position: relative; margin-top: 6px; font-size: clamp(2.2rem,1.7rem+2.4vw,3rem); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.checkout__amount span { font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.7); }
.checkout__lines { position: relative; margin-top: 32px; display: grid; gap: 14px; }
.checkout__line { display: flex; justify-content: space-between; gap: 16px; font-size: .9375rem; }
.checkout__line dt { color: rgba(255,255,255,.7); }
.checkout__line dd { font-weight: 600; text-align: right; }
.checkout__total { border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; }
.checkout__total dd { font-weight: 600; color: var(--accent-ink); }

/* right: payment form */
.checkout__pay { padding: 36px 32px; }
@media (max-width: 640px) { .checkout__summary, .checkout__pay { padding: 26px 20px; } }
.checkout__pay h1 { font-size: 1.375rem; font-weight: 600; }
.checkout__pay > p { margin-top: 6px; font-size: .875rem; color: var(--muted-foreground); }

.card-field { position: relative; }
.card-field .input { padding-right: 58px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.card-brand {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-foreground);
}

.test-cards { margin-top: 20px; border: 1px dashed var(--border); border-radius: 14px; padding: 14px 16px; background: var(--secondary); }
.test-cards p { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); }
.test-cards ul { margin-top: 10px; display: grid; gap: 8px; list-style: none; padding: 0; }
.test-cards button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff;
  font-family: inherit; font-size: .8125rem; cursor: pointer; text-align: left;
}
.test-cards button:hover { border-color: var(--primary); }
.test-cards code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; }
.test-cards span { color: var(--muted-foreground); flex-shrink: 0; }

.pay-btn { margin-top: 24px; }
.pay-btn[data-processing="true"] { pointer-events: none; }
.spinner {
  width: 18px; height: 18px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.checkout__secure {
  margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .75rem; color: var(--muted-foreground);
}
.checkout__secure svg { color: var(--primary); }

@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } }


/* ==========================================================================
   Mobile optimisation pass
   ========================================================================== */

/* Never let a long word or a wide element force a sideways scroll */
body { max-width: 100%; overflow-x: clip; }
h1, h2, h3, p, li, dd, dt, summary { overflow-wrap: break-word; }

@media (max-width: 640px) {
  /* Header sits tighter so the toggle always has room */
  .site-header { padding: 8px; }
  .site-header__bar { height: 58px; gap: 8px; padding-inline: 10px; }
  .brand img { width: 34px; height: 34px; }
  .brand__name { font-size: 1.0625rem; }
  .brand__tag { font-size: .4375rem; letter-spacing: .12em; }
  .header-mobile { gap: 6px; }
  .icon-btn { width: 42px; height: 42px; border-radius: 999px; }

  .hero__inner { padding-top: 118px; }

  /* Headline scales with the viewport rather than a fixed jump */
  .hero__lede { font-size: .9688rem; line-height: 1.65; }

  .section-sub { font-size: .9375rem; }

  /* One column everywhere it matters */
  .grid--2, .grid--3, .grid--4, .grid--halves,
  .split, .donate-layout { grid-template-columns: 1fr; }

  .checkout__grid { grid-template-columns: 1fr; }
  .share-grid { grid-template-columns: 1fr 1fr; }

  /* Horizontal rhythm */
  .row-between { gap: 16px; }
  .row-between .link-arrow { margin-top: 4px; }

  .feature__media { min-height: 13rem; }
  .split__media img { aspect-ratio: 3 / 2; }

  .quote-card { padding: 24px; }
  .quote-card blockquote { font-size: 1rem; }

  .auth-page { padding: 24px 16px 48px; }
  .auth-card { padding: 20px; border-radius: 18px; }
  .auth-brand img { width: 40px; height: 40px; }
}

@media (max-width: 380px) {
  .brand__tag { display: none; }          /* keep the lockup from wrapping */
  .header-mobile .btn { display: none; }
  .shell { padding-inline: 16px; }
  .amount-grid { grid-template-columns: 1fr 1fr; }
  .share-grid { grid-template-columns: 1fr; }
}

/* Landscape phones: the sheet must not run past the screen */
@media (max-height: 520px) and (max-width: 1239px) {
  .mobile-menu { max-height: calc(100svh - 70px); }
  .hero { min-height: auto; }
}

/* ==========================================================================
   Design pass: depth, detail and motion
   ========================================================================== */

:root {
  /* Layered shadows read as real light rather than a single grey blur */
  --shadow-sm: 0 1px 2px rgba(11,31,61,.04), 0 2px 6px -2px rgba(11,31,61,.06);
  --shadow-md: 0 2px 4px rgba(11,31,61,.04), 0 12px 24px -12px rgba(11,31,61,.18);
  --shadow-lg: 0 4px 8px rgba(11,31,61,.05), 0 30px 60px -28px rgba(11,31,61,.35);
  --shadow-xl: 0 8px 16px rgba(11,31,61,.06), 0 48px 90px -40px rgba(11,31,61,.5);
  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-spring: cubic-bezier(.34,1.4,.64,1);
}

::selection { background: var(--accent); color: var(--accent-foreground); }

/* Slim, quiet scrollbar on desktop */
@media (min-width: 1024px) {
  * { scrollbar-width: thin; scrollbar-color: rgba(19,53,95,.28) transparent; }
  *::-webkit-scrollbar { width: 10px; height: 10px; }
  *::-webkit-scrollbar-thumb { background: rgba(19,53,95,.22); border-radius: 999px; border: 3px solid #fff; }
  *::-webkit-scrollbar-thumb:hover { background: rgba(19,53,95,.4); }
}

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

/* Page settles in rather than snapping */
body { opacity: 0; animation: page-in .5s var(--ease-out) forwards; }
@keyframes page-in { to { opacity: 1; } }
.site-header { animation: header-drop .7s var(--ease-out) both; }
@keyframes header-drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

/* ---------- grain, for depth on the dark bands ------------------------- */

.band::before, .final-cta::before, .site-footer::before, .checkout__summary::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}
.final-cta, .site-footer { position: relative; }
.final-cta > *, .site-footer > * { position: relative; z-index: 1; }

/* ---------- headings ---------------------------------------------------- */


/* a hairline that draws itself in above section headings */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before {
  content: ""; width: 0; height: 2px; border-radius: 2px; background: var(--accent);
  transition: width .7s var(--ease-out) .1s;
}
[data-visible="true"] .eyebrow::before,
.reveal[data-visible="true"] .eyebrow::before,
.hero .eyebrow::before,
.section:not(:has(.reveal)) .eyebrow::before { width: 26px; }

/* If JavaScript never runs, nothing should stay invisible. */
.no-js .reveal, .no-js .reveal--mask { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.section-head--center .eyebrow { justify-content: center; }

/* one word can carry the accent without shouting */
.grad { color: var(--accent-deep); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .grad {
    background: linear-gradient(96deg, var(--accent-deep) 0%, var(--accent) 50%, var(--accent-deep) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  /* on the dark hero the gradient can run brighter */
  .hero .grad, .final-cta .grad {
    background: linear-gradient(96deg, var(--accent) 0%, #ffc98a 50%, var(--accent) 100%);
    -webkit-background-clip: text; background-clip: text;
  }
}

/* ---------- buttons ----------------------------------------------------- */

.btn { position: relative; overflow: hidden; transition: background-color .22s ease, color .22s ease, box-shadow .3s var(--ease-out), transform .18s var(--ease-out); }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); opacity: 0; pointer-events: none;
}
.btn--primary:hover::after, .btn--accent:hover::after, .btn--donate:hover::after {
  opacity: 1; animation: sheen .8s var(--ease-out);
}
@keyframes sheen { from { left: -60%; } to { left: 120%; } }
.btn--primary:hover, .btn--accent:hover { transform: translateY(-2px); }
.btn--primary { box-shadow: var(--shadow-md); }
.btn--primary:hover { box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0) scale(.985); }

.link-arrow svg { transition: transform .3s var(--ease-spring); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- cards ------------------------------------------------------- */

.card { box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; }
.card__media::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(to top, rgba(11,31,61,.5), transparent 55%);
  transition: opacity .4s ease;
}
.card:hover .card__media::after { opacity: 1; }
.card__media img { transition: transform .8s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.07); }

/* a quiet accent line that grows along the top edge on hover */
.card::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0; z-index: 2;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transition: width .5s var(--ease-out);
}
.card { position: relative; }
.card:hover::before { width: 100%; }

.path-card, .quote-card, .panel, .number-card { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.path-card:hover, .number-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.icon-tile { transition: transform .4s var(--ease-spring), background-color .3s ease, color .3s ease; }
.path-card:hover .icon-tile, .callout:hover .icon-tile {
  transform: rotate(-6deg) scale(1.08); background: var(--accent); color: var(--accent-foreground);
}

/* Contact page: slightly larger tiles, and a real WhatsApp-brand tint for that card */
#contact .icon-tile { width: 56px; height: 56px; border-radius: 16px; }
#contact .icon-tile svg { width: 24px; height: 24px; }
#contact a.path-card { text-decoration: none; color: inherit; cursor: pointer; }
#contact .path-card--whatsapp .icon-tile {
  background: color-mix(in srgb, var(--brand-whatsapp) 14%, transparent); color: var(--brand-whatsapp);
}
#contact .path-card--whatsapp:hover .icon-tile { background: var(--brand-whatsapp); color: #fff; }

.map-embed {
  position: relative; isolation: isolate; margin-top: 32px;
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.map-embed iframe { display: block; width: 100%; height: 280px; }
@media (min-width: 768px) { .map-embed iframe { height: 360px; } }
.map-embed__link {
  position: absolute; right: 14px; bottom: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 16px; font-size: .8125rem; font-weight: 600; color: var(--primary);
  text-decoration: none; box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.map-embed__link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- images ------------------------------------------------------ */

.split__media { box-shadow: var(--shadow-xl); }
.split__media img { transition: transform 1.1s var(--ease-out); }
.split__media:hover img { transform: scale(1.04); }
.feature__media { overflow: hidden; }
.feature__media img { transition: transform 1.1s var(--ease-out); }
.feature:hover .feature__media img { transform: scale(1.05); }

/* ---------- marquee ----------------------------------------------------- */

.marquee {
  --gap: 3rem;
  position: relative; display: flex; overflow: hidden; user-select: none;
  padding-block: 26px; border-block: 1px solid var(--border); background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: var(--gap);
  padding-right: var(--gap); flex-shrink: 0; min-width: 100%;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__item {
  display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; white-space: nowrap;
  font-size: 1.0625rem; font-weight: 600; color: var(--primary);
}
.marquee__item svg { color: var(--accent); }
.marquee__dot { width: 5px; height: 5px; border-radius: 999px; background: var(--accent); flex-shrink: 0; }

/* ---------- FAQ --------------------------------------------------------- */

.faq details { overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease; }
.faq details[open] { background: #fff; }
.faq summary { transition: color .25s ease; }
.faq summary:hover { color: var(--accent-deep); }
.faq summary svg {
  width: 20px; height: 20px; padding: 0; border-radius: 999px;
  background: var(--secondary); color: var(--primary);
  transition: transform .35s var(--ease-spring), background-color .3s ease, color .3s ease;
  box-sizing: content-box; padding: 6px;
}
.faq details[open] summary svg { background: var(--accent); color: var(--accent-foreground); transform: rotate(135deg); }
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease-out); }
.faq details[open] .faq__body { grid-template-rows: 1fr; }
.faq details[data-closing="true"] .faq__body { grid-template-rows: 0fr; }
.faq__body > div { overflow: hidden; min-height: 0; }

/* ---------- footer ------------------------------------------------------ */

.site-footer { background-image: linear-gradient(180deg, #0e2749 0%, var(--navy) 40%); }

/* ---------- reveal system ---------------------------------------------- */

.reveal { transition-duration: .75s; }

/* headings wipe up behind a mask instead of just fading */
/* The mask is applied to an inner wrapper, never to the observed element.
   Clipping the element itself gives it a zero-height intersection rect, so the
   IntersectionObserver watching it reports ratio 0 and never reveals it — the
   animation defeats its own trigger. */
.reveal--mask { opacity: 1; transform: none; }
.reveal--mask > .mask-inner,
.reveal--mask.mask-self {
  display: block;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease-out);
}
.reveal--mask[data-visible="true"] > .mask-inner,
.reveal--mask[data-visible="true"].mask-self { clip-path: inset(0 0 -10% 0); }

/* hero lines, staggered on load */
.hero h1 .line { display: block; opacity: 0; transform: translateY(24px);
  animation: line-up .95s var(--ease-out) forwards; }
.hero h1 .line:nth-child(1) { animation-delay: .16s; }
.hero h1 .line:nth-child(2) { animation-delay: .30s; }
@keyframes line-up { to { opacity: 1; transform: none; } }
.hero__lede, .hero__actions { opacity: 0; animation: line-up .95s var(--ease-out) .46s forwards; }
.hero__actions { animation-delay: .58s; }
.appeal-card { animation: card-in 1s var(--ease-out) .7s both; }
@keyframes card-in { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }

/* scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.6); font-size: .6875rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  animation: line-up 1s var(--ease-out) 1.1s both;
}
@media (min-width: 1024px) { .scroll-cue { display: flex; } }
.scroll-cue:hover { color: #fff; }
.scroll-cue span {
  width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 999px;
  position: relative;
}
.scroll-cue span::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 6px;
  border-radius: 999px; background: currentColor; transform: translateX(-50%);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { 0% { opacity: 0; top: 6px; } 35% { opacity: 1; } 70%,100% { opacity: 0; top: 18px; } }

/* subtle tilt on testimonial cards, pointer devices only */
@media (hover: hover) and (min-width: 1024px) {
  .quote-card { transform-style: preserve-3d; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
  .quote-card:hover { transform: translateY(-6px) rotateX(2deg) rotateY(-2deg); box-shadow: var(--shadow-lg); }
}

@media (prefers-reduced-motion: reduce) {
  body { opacity: 1; animation: none; }
  .site-header, .hero h1 .line, .hero__lede, .hero__actions, .appeal-card, .scroll-cue { animation: none !important; opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .btn::after { display: none; }
  .reveal--mask { clip-path: none; }
}

/* ==========================================================================
   Typography system: Plus Jakarta Sans over Inter

   Plus Jakarta Sans (geometric, bold at display weights) carries the
   headings and the wordmark; Inter carries body copy, labels and every
   control. The split is deliberate: a bolder, more confident sans at
   display sizes reads as premium and considered, while a neutral grotesque
   at text sizes stays legible in forms and tables.

   Weights: headings 700 (hero 800), interface labels 600, body 400.
   ========================================================================== */

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -.011em;              /* Inter benefits from a slight tuck */
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---- headings ---------------------------------------------------------- */

h1, h2, h3, h4,
.section-title, .page-head__title, .hero h1,
.callout h2, .feature h3, .path-card h3, .band-card h3,
.checkout__pay h1, .auth-card h1, .summary h2,
.thanks h1, .quote-card cite {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -.014em;
  line-height: 1.14;
}

/* Small headings stay in Inter: below about 20px the serif detail muddies,
   and these sit inside cards and tables where the UI voice belongs. */
.card__body h3, .flow h3, .app-card h3, .panel__head h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -.014em;
  line-height: 1.3;
}

/* Hero: 48 / 53 on desktop, stepping down rather than clamping, so the
   reference sizes land exactly. */
.hero h1 {
  font-weight: 800;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -.018em;
}
.hero h1 .line + .line { font-weight: 800; color: rgb(255, 255, 255); }
.hero h1, .hero h1 .line { color: rgb(255, 255, 255); }

@media (max-width: 1024px) {           /* tablet */
  .hero h1 { font-size: 44px; line-height: 1.1; }
}
@media (max-width: 640px) {            /* mobile */
  .hero h1 { font-size: 35px; line-height: 1.14; letter-spacing: -.014em; }
}
@media (max-width: 380px) {            /* very small mobile */
  .hero h1 { font-size: 30px; line-height: 1.16; }
}

/* Large section headings track the hero, a step down */
.section-title, .page-head__title {
  font-weight: 700;
  font-size: 41px;
  line-height: 1.14;
  letter-spacing: -.015em;
}
@media (min-width: 1200px) { .section-title, .page-head__title { font-size: 46px; } }
@media (max-width: 1024px) { .section-title, .page-head__title { font-size: 36px; } }
@media (max-width: 640px)  { .section-title, .page-head__title { font-size: 29px; line-height: 1.2; } }

.callout h2 { font-size: 28px; line-height: 1.22; }
.feature h3 { font-size: 30px; }
.path-card h3, .band-card h3 { font-size: 26px; }
.checkout__pay h1, .auth-card h1, .summary h2 { font-size: 24px; }
@media (max-width: 640px) {
  .callout h2 { font-size: 23px; }
  .feature h3 { font-size: 24px; }
  .path-card h3, .band-card h3 { font-size: 22px; }
  .auth-card h1 { font-size: 22px; }
}

/* Medium headings and interface bold */
.quote-card cite, .trust-item b, .dropdown__links b {
  font-weight: 600; letter-spacing: -.014em;
}
.card__body h3 { font-size: 19px; line-height: 1.3; }

/* ---- body copy --------------------------------------------------------- */

.section-sub, .hero__lede, .card__body p, .faq p, .quote-card blockquote,
.footer-about > p, .callout p, .band-card__desc, .checkout__pay > p {
  font-family: var(--font-sans);
  font-weight: 400;
}
.section-sub { font-size: 17px; line-height: 1.7; max-width: 48ch; color: var(--muted-foreground); }
.section-head--center .section-sub { max-width: 56ch; }
.hero__lede { font-size: 18px; line-height: 1.68; max-width: 42ch; }
.faq p { font-size: 17px; line-height: 1.75; }
.card__body p { font-size: 15.5px; line-height: 1.65; }
.quote-card blockquote {
  font-family: var(--font-display);
  font-weight: 400; font-size: 19px; line-height: 1.55; letter-spacing: -.008em;
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section-sub, .faq p { font-size: 16px; }
  .hero__lede { font-size: 16.5px; max-width: none; }
  .quote-card blockquote { font-size: 16px; }
}

/* ---- numerals ---------------------------------------------------------- */

.stats dd, .number-card dd, .checkout__amount, .share-card__amount, .kpis strong,
.figures dd, .summary .total dd {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.018em;
  font-variant-numeric: tabular-nums lining-nums;
}

/* Tables and money in the console stay in Inter: aligned columns of figures
   need a single, unambiguous digit shape, not an optical one. */
.data .num, .data .mono, .app-card .num, table.data td, table.data th {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums lining-nums;
}

/* ---- labels and interface --------------------------------------------- */

.eyebrow, .footer-heading, .stats dt, .badge-soft, .category-kicker,
.brand__tag, .flow b, .step-legend, .pill, .tag-verified, .badge-accent {
  font-family: var(--font-sans);
  font-weight: 600;
}
.eyebrow { font-size: 12px; letter-spacing: .14em; }
.footer-heading { font-size: 12px; letter-spacing: .14em; }

.btn, .nav__link, .login-link, .mobile-nav__row, .mobile-nav__panel a,
.share-btn, .faq summary, .link-arrow, .quote-card figcaption {
  font-family: var(--font-sans);
}
.btn { font-weight: 600; letter-spacing: -.008em; }
.btn--lg { font-size: 16px; }
.nav__link, .login-link { font-weight: 500; font-size: 15.5px; letter-spacing: -.008em; }
.mobile-nav__row { font-weight: 500; }
.mobile-nav__panel a { font-weight: 500; }
.faq summary { font-weight: 500; font-size: 18px; letter-spacing: -.014em; }
.link-arrow { font-weight: 600; }

/* Forms read best at 400 with 500 labels */
.input, .select, .textarea { font-family: var(--font-sans); font-weight: 400; letter-spacing: -.008em; }
label, legend, .field > label { font-family: var(--font-sans); font-weight: 500; }
.field__hint, .meta, .form-message { font-family: var(--font-sans); font-weight: 400; }
.choice b { font-weight: 500; }

/* Brand wordmark sits in the display sans, like the headings it sets up. */
.brand__name {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.018em;
}
.brand__tag { font-weight: 600; }

/* ---------- Google sign-in --------------------------------------------- */

.btn--google {
  gap: 11px; border: 1px solid var(--input); background: #fff; color: var(--foreground);
  font-weight: 600; box-shadow: var(--shadow-sm);
}
.btn--google:hover { background: var(--secondary); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn--google::after { display: none; }   /* no sheen over Google's own mark */
.btn--google svg { flex-shrink: 0; }

.or-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; }
.or-divider::before, .or-divider::after {
  content: ""; height: 1px; flex: 1; background: var(--border);
}
.or-divider span {
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-foreground);
}

/* ---------- interior page headers --------------------------------------- */

.page-main { padding-top: 0; }
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 148px 0 56px; background: var(--secondary);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) { .page-head { padding: 190px 0 76px; } }
.page-head::before {
  content: ""; position: absolute; z-index: -1; width: 40rem; height: 40rem;
  top: -20rem; right: -14rem; border-radius: 999px;
  background: radial-gradient(circle, rgba(240,124,34,.16), transparent 68%);
}
.page-head::after {
  content: ""; position: absolute; z-index: -1; width: 30rem; height: 30rem;
  bottom: -22rem; left: -12rem; border-radius: 999px;
  background: radial-gradient(circle, rgba(19,53,95,.12), transparent 68%);
}
.page-head__title {
  margin-top: 14px;
}
.page-head .section-sub { margin-top: 18px; max-width: 52ch; }

/* the first section after a page header shouldn't double up on padding */
.page-head + .section { padding-top: 64px; }
@media (min-width: 1024px) { .page-head + .section { padding-top: 88px; } }
@media (max-width: 640px) { .page-head { padding-top: 116px; padding-bottom: 40px; } }


/* ==========================================================================
   Font enforcement
   Two families, each in its own lane, with no browser-invented weights.
   ========================================================================== */

html, body { font-family: var(--font-sans); }

/* These INHERIT rather than being pinned to a family.
   An earlier version set every one of these to var(--font-sans), which meant a
   heading's own child spans (.hero h1 > .line) were reset to Inter even though
   the h1 itself was set in the display serif: the heading silently lost its
   typeface. Inheriting keeps each element in whatever family its parent
   establishes, so headings stay serif and body copy stays sans.

   Listed explicitly rather than using * so the monospace exceptions below can
   still win, and because form controls do not inherit a family by default. */
   Headings are deliberately NOT in this list. Giving h1-h6 `inherit` would
   have them take Inter from body and quietly undo the display face. */
div, section, article, aside, nav, header, footer, main, figure, figcaption,
p, a, span, strong, em, b, i, small, ul, ol, li, dl, dt, dd,
blockquote, cite, q, table, thead, tbody, tr, th, td, caption,
form, fieldset, legend, label, input, select, textarea, button, optgroup, option,
summary, details, mark, time, address {
  font-family: inherit;
}

/* If a weight is missing the browser must not fake it: synthesised bold is what
   makes a heading look smeared and over-heavy. */
html, body, h1, h2, h3, h4, h5, h6, strong, b, .btn, .brand__name {
  font-synthesis: none;
  font-synthesis-weight: none;
  font-synthesis-style: none;
}

/* Deliberate monospace, re-asserted after the reset above */
code, pre, kbd, samp,
.case-id, .share-card__ref, .test-cards code, [data-ty-reference], [data-reference], [data-sum-reference] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Headings never stretch or shift optically between platforms */
h1, h2, h3, h4, h5, h6 { font-stretch: normal; font-style: normal; }

/* ==========================================================================
   Portal and staff console
   Same tokens as the public site; denser, because these are working screens
   people sit in for an hour rather than pages they scan for a minute.
   ========================================================================== */

.app-shell { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); min-height: 100vh; background: var(--secondary); }

.app-side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: var(--navy); color: rgba(255,255,255,.78); display: flex; flex-direction: column;
}
.app-side__brand { display: flex; align-items: center; gap: .625rem; padding: 1.25rem 1.25rem 1rem; text-decoration: none; }
.app-side__brand img { width: 36px; height: 36px; }
.app-side__brand b { color: #fff; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.app-side__brand small { display: block; color: rgba(255,255,255,.45); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; }

.app-side__id { margin: 0 1rem 1rem; padding: .875rem 1rem; background: rgba(255,255,255,.07); border-radius: .75rem; font-size: .8125rem; }
.app-side__id span { display: block; color: rgba(255,255,255,.5); font-size: .6875rem; }
.app-side__id b { color: #fff; font-weight: 600; word-break: break-word; }

.app-switch { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; margin: 0 1rem 1rem; padding: .25rem; background: rgba(255,255,255,.07); border-radius: 999px; }
.app-switch button {
  border: 0; background: none; color: rgba(255,255,255,.7); font: inherit; font-size: .75rem; font-weight: 700;
  padding: .4375rem .5rem; border-radius: 999px; cursor: pointer;
}
.app-switch button[aria-selected="true"] { background: var(--accent); color: var(--accent-foreground); }

.app-nav { flex: 1; padding: 0 .75rem 1rem; }
.app-nav__label { padding: .75rem .75rem .25rem; font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.app-nav a {
  display: flex; align-items: center; gap: .625rem; padding: .5625rem .75rem; margin-bottom: .125rem;
  border-radius: 999px; color: rgba(255,255,255,.75); text-decoration: none; font-size: .875rem;
}
.app-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.app-nav a[aria-current="page"] { background: var(--accent); color: var(--accent-foreground); font-weight: 700; }
.app-nav a .count { margin-left: auto; background: rgba(255,255,255,.16); border-radius: 999px; padding: 0 .375rem; font-size: .6875rem; }
.app-nav a[aria-current="page"] .count { background: rgba(0,0,0,.15); }

.app-side__foot { padding: 1rem 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .8125rem; }
.app-side__foot a, .app-side__foot button {
  color: rgba(255,255,255,.65); background: none; border: 0; padding: 0; font: inherit; font-size: .8125rem;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: .375rem;
}
.app-side__foot a:hover, .app-side__foot button:hover { color: #fff; }

.app-main { min-width: 0; }
.app-bar {
  position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  padding: .875rem 1.75rem; background: #fff; border-bottom: 1px solid var(--border);
}
.app-bar h1 { font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; }
.app-bar p { font-size: .875rem; color: var(--muted-foreground); }
.app-bar__actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.app-body { padding: 1.5rem 1.75rem 3rem; }

.app-burger { display: none; }

/* Cards, stats, tables ---------------------------------------------------- */
.panel { background: #fff; border: 1px solid var(--border); border-radius: .875rem; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .875rem 1.125rem; border-bottom: 1px solid var(--border); }
.panel__head h2 { font-size: .9375rem; font-weight: 700; }
.panel__body { padding: 1.125rem; }

.stat-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.stat { background: #fff; border: 1px solid var(--border); border-radius: .875rem; padding: 1rem 1.125rem; }
.stat--flag { border-color: rgba(240,124,34,.45); background: rgba(240,124,34,.06); }
.stat__label { font-size: .8125rem; color: var(--muted-foreground); }
.stat__value { margin-top: .375rem; font-size: 1.625rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__note { margin-top: .25rem; font-size: .75rem; color: var(--muted-foreground); }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .875rem; }
table.data th {
  text-align: left; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-foreground); font-weight: 600; padding: .625rem 1.125rem;
  background: var(--secondary); border-bottom: 1px solid var(--border); white-space: nowrap;
}
table.data td { padding: .75rem 1.125rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--secondary); }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; }
table.data a { color: var(--primary); font-weight: 600; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8125rem; }

.chip { display: inline-flex; align-items: center; border-radius: 999px; padding: .1875rem .5rem; font-size: .75rem; font-weight: 600; text-transform: capitalize; }
.chip--ok { background: rgba(19,53,95,.1); color: var(--primary); }
.chip--warn { background: rgba(240,124,34,.16); color: var(--clay); }
.chip--bad { background: rgba(186,26,26,.1); color: var(--destructive); }
.chip--mute { background: var(--secondary); color: var(--muted-foreground); }

.app-empty { border: 1px dashed var(--input); border-radius: .875rem; background: var(--secondary); padding: 3rem 1.5rem; text-align: center; }
.app-empty h3 { font-size: 1rem; font-weight: 700; }
.app-empty p { max-width: 26rem; margin: .5rem auto 0; font-size: .875rem; color: var(--muted-foreground); }
.app-empty .btn { margin-top: 1.25rem; }

.app-note { border-radius: .75rem; padding: .875rem 1.125rem; font-size: .875rem; }
.app-note--info { background: rgba(240,124,34,.1); color: #6b3a06; }
.app-note--ok { background: rgba(19,53,95,.08); color: var(--primary); }
.app-note--bad { background: rgba(186,26,26,.08); color: var(--destructive); }

.app-grid { display: grid; gap: 1.25rem; }
@media (min-width: 62rem) { .app-grid--sidebar { grid-template-columns: minmax(0,1fr) 20rem; } }

.timeline { border-left: 1px solid var(--border); padding-left: 1.25rem; margin-left: .375rem; }
.timeline li { position: relative; padding-bottom: 1.125rem; list-style: none; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -1.5625rem; top: .3125rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--primary); }
.timeline li:last-child::before { background: var(--accent); box-shadow: 0 0 0 .1875rem rgba(240,124,34,.22); }
.timeline b { display: block; font-size: .875rem; text-transform: capitalize; }
.timeline time { font-size: .75rem; color: var(--muted-foreground); }
.timeline p { margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground); }

.meter { height: .5rem; border-radius: 999px; background: var(--secondary); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 999px; background: var(--accent); transition: width .8s var(--ease-out); }

.thread { display: grid; gap: 1rem; }
.thread__msg { max-width: 85%; }
.thread__msg--mine { margin-left: auto; }
.thread__meta { font-size: .75rem; color: var(--muted-foreground); margin-bottom: .25rem; }
.thread__body { border-radius: .875rem; padding: .75rem 1rem; font-size: .875rem; background: var(--secondary); }
.thread__msg--mine .thread__body { background: rgba(19,53,95,.08); }

.app-filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; padding: 1rem 1.125rem; border-bottom: 1px solid var(--border); }
.app-filters .field { margin: 0; }
.app-filters label { display: block; font-size: .6875rem; font-weight: 600; color: var(--muted-foreground); margin-bottom: .25rem; }
.app-filters input, .app-filters select {
  height: 2.25rem; border: 1px solid var(--input); border-radius: .5rem; padding: 0 .625rem;
  font: inherit; font-size: .875rem; background: #fff;
}
.app-filters .grow { flex: 1 1 14rem; }
.app-filters .count { margin-left: auto; font-size: .875rem; color: var(--muted-foreground); }

.role-btn {
  border: 1px solid var(--input); background: #fff; border-radius: .375rem; padding: .125rem .4375rem;
  font: inherit; font-size: .75rem; font-weight: 600; text-transform: capitalize; cursor: pointer; color: var(--muted-foreground);
}
.role-btn[aria-pressed="true"] { border-color: var(--primary); background: rgba(19,53,95,.08); color: var(--primary); }
.role-btn[data-elevated][aria-pressed="true"] { border-color: rgba(240,124,34,.5); background: rgba(240,124,34,.14); color: var(--clay); }

@media (max-width: 61.99rem) {
  .app-shell { grid-template-columns: 1fr; }
  .app-side {
    position: fixed; inset: 0 auto 0 0; width: 16.5rem; z-index: 60;
    transform: translateX(-100%); transition: transform .25s var(--ease-out);
  }
  .app-side[data-open="true"] { transform: none; }
  .app-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(11,31,61,.5); opacity: 0; visibility: hidden; transition: opacity .2s; }
  .app-scrim[data-open="true"] { opacity: 1; visibility: visible; }
  .app-burger {
    display: inline-flex; align-items: center; justify-content: center; width: 2.375rem; height: 2.375rem;
    border: 1px solid var(--border); border-radius: .5rem; background: #fff; cursor: pointer;
  }
  .app-bar { padding: .875rem 1rem; }
  .app-bar h1 { font-size: 1.1875rem; }
  .app-bar__title { order: 3; width: 100%; }
  .app-bar__actions { margin-left: auto; }
  .app-body { padding: 1.25rem 1rem 2.5rem; }
}

/* Field-level validation message, and a neutral "working…" tone that the
   public forms did not previously need. */
.field__error { font-size: .75rem; color: var(--destructive); }
.field__error[hidden] { display: none; }
.form-message--info {
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--muted-foreground);
}

/* The public site underlines body links, which is right in prose and wrong in
   a dense table, where it turns every cell into a block of rules. */
table.data a { text-decoration: none; }
table.data a:hover { text-decoration: underline; }
/* Amounts, chips and reference numbers must never break mid-token; long free
   text (a request title) may wrap normally on word boundaries. */
table.data td { overflow-wrap: normal; word-break: normal; }
table.data td.num,
table.data td .chip,
table.data td .mono,
table.data th:first-child,
table.data td:first-child { white-space: nowrap; }

/* ==========================================================================
   Signed-in areas: portal and staff console
   The public site sells; these screens are worked in. Every heading, figure
   and table cell stays in Inter, because scanning a column of references and
   amounts wants one unambiguous letterform, not an optical serif. The
   wordmark keeps the display face so the brand still reads as itself.
   ========================================================================== */

body.app h1, body.app h2, body.app h3, body.app h4,
body.app .stat__value, body.app .stats dd, body.app .figures dd {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -.016em;
  font-variation-settings: normal;
}
body.app .stat__value { font-variant-numeric: tabular-nums lining-nums; }

body.app .app-brand b, body.app .brand__name {
  font-family: var(--font-display);
}

/* ==========================================================================
   Media hub: carousel, video cards, channel cards

   The media page is the one place the site is allowed to lead with imagery
   rather than copy, so these components carry 16:9 thumbnails and a single
   accent play badge. Everything else -- radii, borders, lift-on-hover -- is
   the same recipe as .card, so a video card sitting next to a case card
   reads as the same family.
   ========================================================================== */

/* ---------- carousel ------------------------------------------------------
   Native scroll-snap rather than a slider library: real momentum and swipe
   on touch, keyboard-scrollable, and it still works with JS switched off
   (you just lose the arrows and the auto-advance). The controls sit BELOW
   the track instead of floating over its edges, which keeps them from
   colliding with the shell gutter at any width. */

.carousel { position: relative; margin-top: 40px; }

.carousel__track {
  display: flex; gap: 24px; margin: 0; padding: 6px 2px 14px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { flex: 0 0 85%; scroll-snap-align: start; }

@media (min-width: 640px)  { .carousel__track > li { flex-basis: 46%; } }
@media (min-width: 1024px) { .carousel__track > li { flex-basis: 31.4%; } }

/* A paid ad riding in a carousel alongside case cards: centred in the same
   slide height, hidden (no reserved space) until an eligible ad loads. */
.carousel__ad-slide { display: flex; align-items: center; justify-content: center; height: 100%; }
.carousel__ad-slide[hidden] { display: none; }
.carousel__ad-slide .ad-card { width: 100%; }

/* Focus ring lands on the track itself when a keyboard user scrolls it. */
.carousel__track:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; border-radius: 20px; }

.carousel__controls { display: flex; align-items: center; gap: 20px; margin-top: 20px; }

.carousel__progress { flex: 1; height: 4px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 12%, transparent); overflow: hidden; }
.carousel__progress span {
  display: block; height: 100%; width: 30%; border-radius: 999px; background: var(--primary);
  transform-origin: left center; transition: width .25s var(--ease-out), transform .25s var(--ease-out);
}

.carousel__nav { display: none; gap: 10px; flex-shrink: 0; }
@media (min-width: 640px) { .carousel__nav { display: flex; } }

.carousel__btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: 999px; border: 1px solid var(--border); background: var(--card);
  color: var(--primary); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease,
              transform .2s var(--ease-out), opacity .2s ease;
}
.carousel__btn:hover:not(:disabled) { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); transform: translateY(-2px); }
.carousel__btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__btn--prev svg { transform: rotate(180deg); }

/* ---------- play badge (shared by video cards and lite embeds) ------------ */

.play-badge {
  position: absolute; inset: 0; margin: auto;
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 999px; background: var(--accent); color: var(--accent-foreground);
  box-shadow: 0 10px 26px -8px rgba(11, 31, 61, .55);
  transition: transform .28s var(--ease-spring), background-color .2s ease;
}
.play-badge svg { width: 22px; height: 22px; margin-left: 2px; }
@media (min-width: 1024px) { .play-badge { width: 68px; height: 68px; } .play-badge svg { width: 26px; height: 26px; } }

/* ---------- lite YouTube embed -------------------------------------------
   A thumbnail button that swaps itself for the real iframe on click. Eight
   live iframes on one page would cost several hundred KB and set
   third-party cookies before the visitor has asked for a video. */

.lite-video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0;
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  background: var(--navy); cursor: pointer;
}
.lite-video img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.lite-video:hover img { transform: scale(1.04); opacity: .82; }
.lite-video:hover .play-badge { transform: scale(1.08); }
.lite-video:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.lite-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.lite-video__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,31,61,.55), transparent 55%); }

.video-duration {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(11, 31, 61, .84); color: #fff;
  font-size: .6875rem; font-weight: 600; font-variant-numeric: tabular-nums;
}

/* ---------- video card ----------------------------------------------------
   A whole-card link, so the click target is the card and not just the title.
   Children are inline elements because the wrapper is an <a>. */

.video-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--border); border-radius: 20px; background: var(--card);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-card:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }

.video-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--secondary); }
.video-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-card:hover .video-card__media img { transform: scale(1.05); }
.video-card:hover .play-badge { transform: scale(1.08); }

.video-card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 22px; }
.video-card__title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; letter-spacing: -.012em; }
.video-card__body p, .video-card__desc { font-size: .875rem; line-height: 1.7; color: var(--muted-foreground); }
.video-card__foot { margin-top: auto; padding-top: 16px; display: block; }
.video-card .meta { margin-top: 0; display: inline-flex; align-items: center; gap: 5px; }

/* Kind badge, top-left of the thumbnail: Case Story / Advert / Reel. */
.video-card__kind {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(11, 31, 61, .84); color: #fff;
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.video-card__kind--sponsored { background: var(--accent); color: var(--accent-foreground); }

/* ---------- channel card --------------------------------------------------
   The social handles promoted out of the footer and given room. --ch is the
   platform's brand colour, set once per modifier, so a single rule below
   handles the icon tint, the hover border and the button fill. */

.channel-card {
  --ch: var(--primary);
  display: flex; align-items: center; gap: 16px; height: 100%; padding: 22px;
  border: 1px solid var(--border); border-radius: 20px; background: var(--card);
  text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.channel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--ch) 45%, var(--border)); }
.channel-card:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }

.channel-card__icon {
  display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px;
  background: color-mix(in srgb, var(--ch) 12%, transparent); color: var(--ch);
  transition: background-color .25s ease, color .25s ease, transform .3s var(--ease-spring);
}
.channel-card__icon svg { width: 24px; height: 24px; }
.channel-card:hover .channel-card__icon { background: var(--ch); color: #fff; transform: scale(1.06); }

.channel-card__body { flex: 1; min-width: 0; }
.channel-card__name { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.channel-card__handle { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted-foreground); overflow-wrap: anywhere; }
.channel-card__count { display: block; margin-top: 6px; font-size: .75rem; font-weight: 600; color: var(--ch); font-variant-numeric: tabular-nums; }
.channel-card__go { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; color: var(--muted-foreground); transition: color .2s ease, transform .25s var(--ease-out); }
.channel-card:hover .channel-card__go { color: var(--ch); transform: translate(3px, -3px); }

.channel-card--facebook  { --ch: var(--brand-facebook); }
.channel-card--instagram { --ch: var(--brand-instagram-3); }
.channel-card--tiktok    { --ch: var(--brand-tiktok); }
.channel-card--youtube   { --ch: var(--brand-youtube); }
.channel-card--linkedin  { --ch: var(--brand-linkedin); }
.channel-card--whatsapp  { --ch: var(--brand-whatsapp); }

/* TikTok's brand colour is near-black, which loses the "brand" read at
   small sizes; its own cyan does the signalling instead. */
.channel-card--tiktok .channel-card__count { color: var(--foreground); }

/* ---------- media page odds and ends -------------------------------------- */

.media-featured { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .media-featured { grid-template-columns: 1.35fr 1fr; gap: 44px; } }

/* Its own surface rather than .panel, because .panel is redefined further
   down for the signed-in console and loses its padding there. */
.subscribe-panel {
  display: grid; gap: 28px; align-items: center;
  padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: var(--card);
}
@media (min-width: 640px) { .subscribe-panel { padding: 40px; } }
@media (min-width: 900px) { .subscribe-panel { grid-template-columns: 1fr 1fr; gap: 44px; } }
.subscribe-panel .form { display: grid; gap: 14px; }
.subscribe-panel .field-row { align-items: end; }

/* Placement list on the "advertise with us" section: a bordered grid that
   reads as a rate card without pretending to be a table. */
.placement-list { margin-top: 32px; display: grid; gap: 1px; border: 1px solid var(--border); border-radius: 20px; background: var(--border); overflow: hidden; list-style: none; padding: 0; }
@media (min-width: 768px) { .placement-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .placement-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.placement-list li { background: var(--card); padding: 26px; }
.placement-list h3 { margin-top: 14px; font-size: 1rem; font-weight: 600; }
.placement-list p { margin-top: 8px; font-size: .875rem; line-height: 1.7; color: var(--muted-foreground); }

/* Reduced motion: the carousel stops advancing itself and stops animating
   its own scrolling, matching the .marquee rule above. */
@media (prefers-reduced-motion: reduce) {
  .carousel__track { scroll-behavior: auto; }
  .play-badge, .video-card, .channel-card, .channel-card__icon { transition: none; }
  .video-card:hover, .channel-card:hover { transform: none; }
}
