/*
Theme Name: Al-Gilani Trust
Theme URI: https://algilanitrust.org/
Author: Al-Gilani Trust
Description: A warm, modern, donation-focused WordPress theme crafted for Al-Gilani Trust (UK Registered Charity No. 1112441), featuring integrated UK Gift Aid (+25%), Zakat & Sadaqah support, and clean editorial storytelling.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: al-gilani-trust
*/

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
  --emerald-950: #0c2b1a;
  --emerald-900: #114127;
  --emerald-800: #185635;
  --emerald-700: #226f46;
  --emerald-100: #e7f1ea;
  --emerald-50:  #f2f7f3;

  --gold-600:    #a8852c;
  --gold-500:    #c5a447;
  --gold-400:    #d8b85b;
  --gold-200:    #f1e2b3;
  --gold-50:     #fbf7eb;

  --ivory:       #faf8f3;
  --white:       #ffffff;
  --ink-900:     #14261e;
  --ink-700:     #364d43;
  --ink-500:     #60756c;
  --border:      #dfe7e1;
  --border-strong: #c8d5cc;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic:  'Amiri', serif;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-pill: 999px;

  --shadow-sm:   0 2px 8px rgba(17, 65, 39, 0.06);
  --shadow-md:   0 12px 32px rgba(17, 65, 39, 0.09);
  --shadow-lg:   0 22px 54px rgba(12, 43, 26, 0.18);

  --container:   1180px;
  --transition:  0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   2. Reset & Base Typography
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink-700);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--emerald-900);
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.2;
  margin-top: 0;
  letter-spacing: -0.015em;
}

p {
  margin-top: 0;
  margin-bottom: 1.05rem;
}

p:last-child {
  margin-bottom: 0;
}

.agt-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--emerald-900);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
}
.agt-skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.agt-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 3.5vw, 2rem);
}

.agt-container--narrow {
  max-width: 820px;
}

/* ==========================================================================
   3. Buttons & Eyebrows
   ========================================================================== */
.agt-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}

.agt-eyebrow--light {
  color: var(--gold-200);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(241, 226, 179, 0.28);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.agt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.82rem 1.45rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}

.agt-btn:hover {
  transform: translateY(-1px);
}

.agt-btn:active {
  transform: translateY(0);
}

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

.agt-btn--sm {
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
}

.agt-btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.agt-btn--full {
  width: 100%;
}

.agt-btn--gold {
  background: linear-gradient(135deg, #d9b650 0%, #c19b39 100%);
  color: #12241a;
  box-shadow: 0 6px 18px rgba(197, 164, 71, 0.32);
}

.agt-btn--gold:hover {
  background: linear-gradient(135deg, #e1c161 0%, #c9a443 100%);
  color: #0d1d14;
  box-shadow: 0 10px 24px rgba(197, 164, 71, 0.42);
}

.agt-btn--primary {
  background: var(--emerald-900);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(17, 65, 39, 0.2);
}

.agt-btn--primary:hover {
  background: var(--emerald-800);
  color: var(--white);
}

.agt-btn--outline {
  background: transparent;
  color: var(--emerald-900);
  border-color: var(--emerald-900);
}

.agt-btn--outline:hover {
  background: var(--emerald-900);
  color: var(--white);
}

.agt-btn--ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}

.agt-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--white);
  color: var(--white);
}

.agt-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.agt-btn-row--spaced {
  margin-top: 1.5rem;
}

.agt-btn--header-short {
  display: none;
}

/* ==========================================================================
   4. Topbar & Sticky Header
   ========================================================================== */
.agt-topbar {
  background: var(--emerald-950);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(197, 164, 71, 0.22);
}

.agt-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  padding-block: 0.35rem;
}

.agt-topbar__left,
.agt-topbar__center,
.agt-topbar__right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.agt-topbar__badge {
  color: var(--gold-200);
  font-weight: 600;
}

.agt-topbar__sep {
  opacity: 0.45;
}

.agt-bismillah {
  font-family: var(--font-arabic);
  font-size: 1rem;
  color: var(--gold-200);
  line-height: 1;
}

.agt-hadith em {
  opacity: 0.78;
  font-style: normal;
}

.agt-topbar a {
  color: rgba(255, 255, 255, 0.88);
}

.agt-topbar a:hover {
  color: var(--gold-200);
}

.agt-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.agt-header.is-scrolled {
  box-shadow: 0 8px 26px rgba(17, 65, 39, 0.08);
}

.agt-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
  padding-block: 0.55rem;
}

.agt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.agt-brand__logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.agt-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.agt-brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--emerald-900);
}

.agt-brand__sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-top: 2px;
}

.agt-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.35rem;
}

.agt-nav__list a {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--radius-pill);
}

.agt-nav__list a:hover,
.agt-nav__list .current-menu-item > a,
.agt-nav__list .current_page_item > a {
  color: var(--emerald-900);
  background: var(--emerald-50);
}

.agt-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.agt-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: var(--emerald-50);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.agt-mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--emerald-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.agt-mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.agt-mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.agt-mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.agt-mobile-drawer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding-block: 1.25rem 1.5rem;
}

.agt-mobile-nav__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.agt-mobile-nav__list a {
  display: block;
  padding: 0.75rem 0.9rem;
  font-weight: 600;
  color: var(--ink-900);
  border-radius: var(--radius-sm);
}

.agt-mobile-nav__list a:hover {
  background: var(--emerald-50);
  color: var(--emerald-900);
}

.agt-mobile-drawer__meta {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-500);
  margin-top: 0.75rem;
}

/* ==========================================================================
   5. Hero Section & Embedded Quick-Donate Card
   ========================================================================== */
.agt-hero {
  position: relative;
  background-color: var(--emerald-950);
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  padding-block: clamp(3.5rem, 6.5vw, 5.5rem);
  overflow: hidden;
}

.agt-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(10, 38, 22, 0.94) 0%,
    rgba(15, 55, 33, 0.84) 52%,
    rgba(14, 48, 29, 0.68) 100%
  );
}

.agt-hero--focused {
  padding-block: clamp(3.8rem, 7.5vw, 6.2rem);
}

.agt-hero__content--focused {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.agt-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 430px);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.agt-hero__title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  color: var(--white);
  margin-bottom: 1.15rem;
  line-height: 1.12;
}

.agt-hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 56ch;
  margin-bottom: 1.8rem;
}

.agt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.agt-hero__trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.agt-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.agt-trust-pill svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

/* Quick Donate Card */
.agt-quick-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 164, 71, 0.3);
}

.agt-quick-card__head {
  margin-bottom: 1.15rem;
}

.agt-quick-card__kicker {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold-600);
  margin-bottom: 0.25rem;
}

.agt-quick-card__head h2 {
  font-size: 1.4rem;
  margin: 0;
  color: var(--emerald-900);
}

.agt-quick-card__funds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  background: var(--emerald-50);
  padding: 0.3rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.agt-q-fund {
  border: none;
  background: transparent;
  padding: 0.55rem 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-700);
  border-radius: 9px;
  cursor: pointer;
  transition: all var(--transition);
}

.agt-q-fund.is-selected {
  background: var(--emerald-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.agt-quick-card__amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.agt-q-amt {
  padding: 0.72rem 0.5rem;
  border: 1.5px solid var(--border-strong);
  background: var(--white);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
  cursor: pointer;
  transition: all var(--transition);
}

.agt-q-amt:hover {
  border-color: var(--emerald-900);
}

.agt-q-amt.is-selected {
  background: var(--emerald-50);
  border-color: var(--emerald-900);
  color: var(--emerald-900);
  box-shadow: inset 0 0 0 1px var(--emerald-900);
}

.agt-quick-card__custom {
  position: relative;
  margin-bottom: 0.9rem;
}

.agt-quick-card__giftaid {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  border-radius: 10px;
  font-size: 0.83rem;
  color: var(--ink-900);
  margin-bottom: 1.05rem;
}

.agt-quick-card__giftaid svg {
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   6. Trust Pillars Strip
   ========================================================================== */
.agt-pillars {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-block: 1.8rem;
}

.agt-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.agt-pillar {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}

.agt-pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--emerald-50);
  color: var(--emerald-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agt-pillar h3 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.agt-pillar p {
  font-size: 0.88rem;
  color: var(--ink-500);
  line-height: 1.5;
}

/* ==========================================================================
   7. Sections & Editorial Layouts
   ========================================================================== */
.agt-section {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.agt-section--ivory {
  background: var(--ivory);
}

.agt-section--white {
  background: var(--white);
}

.agt-section--emerald-tint {
  background: linear-gradient(180deg, #edf4ef 0%, #f5f8f5 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.agt-section-title {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  margin-bottom: 0.85rem;
}

.agt-section-lead {
  font-size: 1.05rem;
  color: var(--ink-500);
  max-width: 62ch;
}

.agt-section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.agt-section-head--center {
  text-align: center;
}

.agt-section-head--center .agt-section-lead {
  margin-inline: auto;
}

.agt-section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.agt-section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Split Editorial Story */
.agt-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.2rem);
  align-items: center;
}

.agt-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--emerald-950);
}

.agt-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.agt-photo-caption {
  padding: 1rem 1.25rem;
  background: var(--emerald-900);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.agt-photo-caption strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.agt-photo-caption span {
  font-size: 0.82rem;
  color: var(--gold-200);
}

.agt-quote-inline {
  margin-block: 1.4rem 1.7rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--gold-500);
  background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.agt-quote-inline blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--emerald-900);
}

/* ==========================================================================
   8. Services Grid (6 Core Areas)
   ========================================================================== */
.agt-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.agt-service-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.agt-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-400);
  background: var(--white);
}

.agt-service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--emerald-900);
  color: var(--gold-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.agt-service-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.6rem;
}

.agt-service-card p {
  font-size: 0.94rem;
  color: var(--ink-700);
}

/* ==========================================================================
   9. Donation Section & Form System
   ========================================================================== */
.agt-donate-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 4.5vw, 3.8rem);
  align-items: start;
}

.agt-donate-lead {
  font-size: 1.04rem;
  color: var(--ink-700);
  margin-bottom: 1.8rem;
}

.agt-giving-highlights {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.8rem;
}

.agt-giving-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.agt-giving-item__num {
  min-width: 58px;
  padding: 0.45rem 0.5rem;
  text-align: center;
  background: var(--emerald-900);
  color: var(--gold-200);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 10px;
  flex-shrink: 0;
}

.agt-giving-item h4 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.agt-giving-item p {
  font-size: 0.88rem;
  color: var(--ink-500);
}

.agt-hadith-card {
  background: var(--emerald-900);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(197, 164, 71, 0.35);
}

.agt-hadith-card__ar {
  font-family: var(--font-arabic);
  font-size: 1.55rem;
  color: var(--gold-200);
  margin-bottom: 0.35rem;
}

.agt-hadith-card__en {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  margin-bottom: 0.3rem;
}

.agt-hadith-card__ref {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Main Donation Card */
.agt-donation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.agt-card-heading {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.agt-card-sub {
  color: var(--ink-500);
  font-size: 0.94rem;
  margin-bottom: 1.5rem;
}

.agt-method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  background: var(--emerald-50);
  padding: 0.3rem;
  border-radius: 12px;
  margin-bottom: 1.4rem;
}

.agt-method-tab {
  border: none;
  background: transparent;
  padding: 0.65rem 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-700);
  border-radius: 9px;
  cursor: pointer;
}

.agt-method-tab.is-active {
  background: var(--emerald-900);
  color: var(--white);
}

.agt-method-panel {
  display: none;
}

.agt-method-panel.is-active {
  display: block;
}

.agt-form-group {
  margin-bottom: 1.35rem;
}

.agt-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.6rem;
}

.agt-label-sm {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 0.35rem;
}

.agt-fund-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.agt-fund-pill {
  flex: 1 1 auto;
  padding: 0.58rem 0.85rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: all var(--transition);
}

.agt-fund-pill:hover {
  border-color: var(--emerald-900);
  color: var(--emerald-900);
}

.agt-fund-pill.is-selected {
  background: var(--emerald-900);
  border-color: var(--emerald-900);
  color: var(--white);
}

.agt-fund-hint {
  font-size: 0.83rem;
  color: var(--ink-500);
  margin-top: 0.55rem;
  margin-bottom: 0;
}

.agt-conditional-field {
  display: none;
}

.agt-conditional-field.is-visible {
  display: block;
}

/* Fixed-Period Schedule Box */
.agt-schedule-box {
  background: var(--emerald-50);
  border: 1.5px solid #c6dacb;
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  margin-bottom: 1.35rem;
}

.agt-schedule-box__head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.85rem;
}

.agt-schedule-box__head strong {
  font-size: 0.9rem;
  color: var(--emerald-900);
}

.agt-schedule-box__head span {
  font-size: 0.8rem;
  color: var(--ink-500);
}

.agt-schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.agt-schedule-preview {
  margin-top: 0.85rem;
  padding: 0.7rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.84rem;
  color: var(--ink-900);
  line-height: 1.5;
}

.agt-amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.agt-amount-btn {
  padding: 0.78rem 0.5rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  cursor: pointer;
  transition: all var(--transition);
}

.agt-amount-btn:hover {
  border-color: var(--emerald-900);
}

.agt-amount-btn.is-selected {
  background: var(--emerald-50);
  border-color: var(--emerald-900);
  color: var(--emerald-900);
  box-shadow: inset 0 0 0 1px var(--emerald-900);
}

.agt-custom-amount-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.agt-currency-prefix {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--emerald-900);
  pointer-events: none;
}

.agt-amount-suffix {
  position: absolute;
  right: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-500);
  pointer-events: none;
}

.agt-input {
  width: 100%;
  padding: 0.74rem 0.9rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.agt-input:focus {
  outline: none;
  border-color: var(--emerald-900);
  box-shadow: 0 0 0 3px rgba(17, 65, 39, 0.12);
}

.agt-input--amount {
  padding-left: 2.1rem;
  padding-right: 4.5rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.agt-textarea {
  resize: vertical;
  min-height: 120px;
}

.agt-impact-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.7rem;
  padding: 0.65rem 0.85rem;
  background: var(--emerald-50);
  border-radius: 10px;
  font-size: 0.84rem;
  color: var(--emerald-900);
}

.agt-impact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
}

/* Gift Aid Box */
.agt-giftaid-box {
  background: var(--gold-50);
  border: 1.5px solid var(--gold-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  margin-bottom: 1.35rem;
}

.agt-giftaid-toggle {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
}

.agt-giftaid-toggle input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--emerald-900);
  flex-shrink: 0;
}

.agt-giftaid-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.agt-giftaid-copy > strong {
  font-size: 0.93rem;
  color: var(--emerald-900);
}

.agt-giftaid-sub {
  font-size: 0.83rem;
  color: var(--ink-700);
}

.agt-giftaid-details {
  display: none;
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px dashed var(--gold-400);
}

.agt-giftaid-details.is-visible {
  display: block;
}

.agt-giftaid-legal {
  font-size: 0.78rem;
  color: var(--ink-500);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.agt-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.agt-form-row:last-child {
  margin-bottom: 0;
}

.agt-checkbox-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--ink-700);
  cursor: pointer;
}

.agt-checkbox-label input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--emerald-900);
  flex-shrink: 0;
}

.agt-form-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.agt-form-error.is-visible {
  display: block;
}

.agt-notice {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.agt-notice--success {
  background: var(--emerald-50);
  border: 1px solid #b8d8c2;
  color: var(--emerald-900);
}

.agt-notice--warning {
  background: var(--gold-50);
  border: 1px solid var(--gold-400);
  color: var(--ink-900);
}

.agt-payment-trust {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--ink-500);
}

.agt-payment-trust__row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.agt-payment-trust__row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--emerald-800);
}

/* Receipt Panel */
.agt-receipt {
  text-align: center;
  padding: 0.5rem 0;
}

.agt-receipt__badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--emerald-900);
  color: var(--gold-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.agt-receipt__title {
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}

.agt-receipt__subtitle {
  color: var(--ink-500);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.agt-receipt__summary {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-bottom: 1.1rem;
  text-align: left;
}

.agt-receipt__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.45rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.agt-receipt__row:last-child {
  border-bottom: none;
}

.agt-receipt__note {
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--ink-700);
  margin-bottom: 1.25rem;
}

.agt-receipt__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Bank Transfer DL */
.agt-bank-dl {
  display: grid;
  gap: 0.65rem;
  background: var(--ivory);
  padding: 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 1rem 0;
}

.agt-bank-dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.agt-bank-dl > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.agt-bank-dl dt {
  font-weight: 600;
  color: var(--ink-500);
  font-size: 0.88rem;
}

.agt-bank-dl dd {
  margin: 0;
  font-weight: 700;
  color: var(--ink-900);
}

/* ==========================================================================
   10. Gallery, Team & News Cards
   ========================================================================== */
.agt-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.agt-gallery-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agt-gallery-card {
  margin: 0;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.agt-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.agt-gallery-card__img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--emerald-950);
}

.agt-gallery-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.agt-gallery-card:hover .agt-gallery-card__img img {
  transform: scale(1.04);
}

.agt-gallery-card figcaption {
  padding: 1.15rem 1.25rem;
}

.agt-gallery-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.agt-gallery-card p {
  font-size: 0.87rem;
  color: var(--ink-500);
}

/* Team */
.agt-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.agt-team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.agt-team-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700));
  color: var(--gold-200);
  border: 2px solid var(--gold-400);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.agt-team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.agt-team-card__role {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}

.agt-team-card p {
  font-size: 0.92rem;
  color: var(--ink-700);
}

/* News */
.agt-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.agt-news-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.agt-news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.agt-news-card__date {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-600);
  margin-bottom: 0.55rem;
}

.agt-news-card h2,
.agt-news-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.agt-news-card h2 a,
.agt-news-card h3 a {
  color: var(--ink-900);
}

.agt-news-card h2 a:hover,
.agt-news-card h3 a:hover {
  color: var(--emerald-800);
}

.agt-news-card p {
  font-size: 0.93rem;
  color: var(--ink-500);
  flex-grow: 1;
}

.agt-text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--emerald-900);
}

.agt-text-link:hover {
  color: var(--gold-600);
}

/* ==========================================================================
   11. Inner Pages, Sidebar Cards, FAQs, Contact & CTA Band
   ========================================================================== */
.agt-page-hero {
  background: linear-gradient(125deg, var(--emerald-950) 0%, var(--emerald-900) 60%, #1d5d39 100%);
  color: var(--white);
  padding-block: clamp(2.8rem, 5vw, 4.2rem);
}

.agt-page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 0.75rem;
}

.agt-page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  max-width: 60ch;
}

.agt-donate-sidebar,
.agt-contact-info {
  display: grid;
  gap: 1.35rem;
}

.agt-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}

.agt-info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.agt-info-card--emerald {
  background: var(--emerald-900);
  border-color: var(--emerald-900);
  color: rgba(255, 255, 255, 0.92);
}

.agt-info-card--emerald h3 {
  color: var(--gold-200);
}

.agt-check-list,
.agt-editable-checklist ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.agt-check-list li,
.agt-editable-checklist ul li {
  position: relative;
  padding-left: 1.45rem;
  font-size: 0.92rem;
}

.agt-check-list li::before,
.agt-editable-checklist ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald-800);
  font-weight: 800;
}

.agt-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.agt-faq-list {
  display: grid;
  gap: 0.55rem;
}

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

.agt-faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: none;
  background: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-900);
  text-align: left;
  cursor: pointer;
}

.agt-faq-plus {
  font-size: 1.15rem;
  color: var(--emerald-900);
  transition: transform 0.2s ease;
}

.agt-faq-item.is-open .agt-faq-plus {
  transform: rotate(45deg);
}

.agt-faq-panel {
  padding: 0.85rem 1rem;
  background: var(--white);
  font-size: 0.88rem;
  color: var(--ink-700);
  border-top: 1px solid var(--border);
}

.agt-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: start;
}

.agt-contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.agt-contact-details li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.agt-contact-details li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.agt-contact-details strong {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-600);
}

.agt-article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}

.agt-prose {
  font-size: 1.05rem;
  line-height: 1.8;
}

.agt-article-footer {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* CTA Band */
.agt-cta-band {
  background: linear-gradient(115deg, var(--emerald-900) 0%, #1c5a37 100%);
  color: var(--white);
  padding-block: clamp(2.8rem, 5vw, 4rem);
  border-top: 3px solid var(--gold-500);
}

.agt-cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.agt-cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 0.45rem;
}

.agt-cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 56ch;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.agt-footer {
  background: var(--emerald-950);
  color: rgba(255, 255, 255, 0.82);
  padding-top: clamp(3.5rem, 5vw, 4.75rem);
}

.agt-footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 0.9fr 1.15fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.agt-footer__logo-card {
  display: inline-block;
  background: var(--white);
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  margin-bottom: 1.1rem;
}

.agt-footer__mission {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.agt-footer__reg {
  font-size: 0.84rem;
  color: var(--gold-200);
  margin-top: 0.75rem;
}

.agt-footer__heading {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold-200);
  margin-bottom: 1rem;
}

.agt-footer__links,
.agt-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.agt-footer__links a,
.agt-footer__contact a {
  color: rgba(255, 255, 255, 0.82);
}

.agt-footer__links a:hover,
.agt-footer__contact a:hover {
  color: var(--gold-200);
}

.agt-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.agt-footer__contact svg {
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.agt-footer__cta {
  margin-top: 1.2rem;
}

.agt-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.45rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.66);
}

.agt-footer__quote {
  color: var(--gold-200);
  font-style: italic;
}

/* ==========================================================================
   13. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .agt-topbar__center {
    display: none;
  }

  .agt-hero__grid,
  .agt-split,
  .agt-donate-layout,
  .agt-contact-layout {
    grid-template-columns: 1fr;
  }

  .agt-services-grid,
  .agt-team-grid,
  .agt-news-grid,
  .agt-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agt-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agt-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .agt-topbar__inner {
    justify-content: center;
    min-height: 34px;
    font-size: 0.74rem;
  }

  .agt-topbar__right {
    display: none;
  }

  .agt-header__inner {
    min-height: 66px;
    gap: 0.75rem;
  }

  .agt-brand {
    gap: 0.55rem;
  }

  .agt-brand__logo {
    height: 44px;
  }

  .agt-brand__name {
    font-size: 1.04rem;
  }

  .agt-brand__sub {
    font-size: 0.64rem;
  }

  .agt-nav {
    display: none;
  }

  /* Keep a compact 1-tap Donate CTA visible in the mobile header */
  .agt-btn--header {
    padding: 0.6rem 0.9rem;
    font-size: 0.84rem;
    min-height: 40px;
  }

  .agt-btn--header-full {
    display: none;
  }

  .agt-btn--header-short {
    display: inline;
  }

  .agt-mobile-toggle {
    display: flex;
    width: 44px;
    height: 44px;
  }

  .agt-mobile-nav__list a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .agt-hero,
  .agt-hero--focused {
    padding-block: 2.75rem 3rem;
  }

  .agt-hero__title {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    margin-bottom: 0.9rem;
  }

  .agt-hero__lead {
    font-size: 0.98rem;
    margin-bottom: 1.4rem;
  }

  .agt-hero__actions {
    gap: 0.7rem;
    margin-bottom: 1.5rem;
  }

  .agt-hero__trust-badges {
    gap: 0.55rem 1rem;
    padding-top: 1rem;
  }

  .agt-trust-pill {
    font-size: 0.8rem;
  }

  .agt-section {
    padding-block: 2.85rem;
  }

  .agt-section-title {
    font-size: clamp(1.55rem, 6vw, 1.95rem);
  }

  .agt-page-hero {
    padding-block: 2.25rem 2.5rem;
  }

  .agt-page-hero h1 {
    font-size: clamp(1.75rem, 6.8vw, 2.2rem);
  }

  .agt-page-hero p {
    font-size: 0.97rem;
  }

  .agt-pillars__grid,
  .agt-services-grid,
  .agt-team-grid,
  .agt-news-grid,
  .agt-values-grid,
  .agt-gallery-grid,
  .agt-gallery-grid--2col,
  .agt-footer__grid,
  .agt-form-row,
  .agt-schedule-grid {
    grid-template-columns: 1fr;
  }

  .agt-giving-highlights {
    gap: 0.85rem;
    margin-bottom: 1.35rem;
  }

  .agt-giving-item {
    padding: 0.95rem 1rem;
  }

  .agt-hadith-card {
    padding: 1.25rem 1rem;
  }

  .agt-hadith-card__ar {
    font-size: 1.38rem;
  }

  .agt-donation-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  /* Touch-friendly >= 44px targets & 16px input size to prevent iOS Safari zoom */
  .agt-input,
  .agt-textarea {
    font-size: 16px;
    min-height: 46px;
    padding: 0.75rem 0.9rem;
  }

  .agt-input--amount {
    padding-left: 2.1rem;
    padding-right: 4.5rem;
  }

  .agt-fund-pill {
    min-height: 42px;
    padding: 0.55rem 0.85rem;
    font-size: 0.86rem;
  }

  .agt-amount-btn {
    min-height: 48px;
    font-size: 1.05rem;
  }

  .agt-btn {
    min-height: 46px;
  }

  .agt-btn--sm {
    min-height: 42px;
  }

  .agt-faq-trigger {
    min-height: 48px;
  }

  .agt-quick-card__funds {
    grid-template-columns: repeat(2, 1fr);
  }

  .agt-footer {
    padding-top: 2.75rem;
  }

  .agt-footer__grid {
    gap: 2rem;
    padding-bottom: 2.25rem;
  }

  .agt-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 520px) {
  .agt-amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .agt-hero__actions .agt-btn,
  .agt-btn-row--spaced .agt-btn {
    width: 100%;
  }

  .agt-eyebrow--light {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
  }

  .agt-brand__sub {
    display: none;
  }
}

@media (max-width: 380px) {
  .agt-header__inner {
    gap: 0.45rem;
  }

  .agt-brand__logo {
    height: 38px;
  }

  .agt-brand__name {
    font-size: 0.94rem;
  }

  .agt-btn--header {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}

@media print {
  .agt-topbar,
  .agt-header,
  .agt-footer,
  .agt-receipt__actions {
    display: none !important;
  }
}
