/* ============================================================
   SimplyTech Learning — style.css
   Version: 1.0 | Phase 1: Foundation & Design System
   
   TABLE OF CONTENTS
   0.  Design Tokens (CSS Variables)
   1.  Reset & Base
   2.  Accessibility Utilities
   3.  Typography
   4.  Layout Utilities
   5.  Top Utility Bar
   6.  Site Header & Navigation
   7.  Mobile Navigation
   8.  Hero Section
   9.  Buttons
   10. Cards (Base)
   11. Feature Cards
   12. Class / Workshop Cards
   13. News Cards
   14. Testimonial Cards
   15. Badges
   16. Placeholder & Pending Notices
   17. Section Layouts
   18. Intro / Two-Column Layout
   19. Founder Card
   20. How It Works Steps
   21. Support / Contribution Section
   22. Newsletter Section
   23. Community Partnerships
   24. Contact Strip
   25. Site Footer
   26. High Contrast Mode
   27. Reduced Motion
   28. Responsive — Tablet (≤960px)
   29. Responsive — Mobile (≤600px)
   ============================================================ */


/* ============================================================
   0. DESIGN TOKENS
   ============================================================ */

:root {
  /* --- Brand Colours (sourced from SimplyTech Learning logo) --- */
  --c-navy:        #1B3A6B;   /* Deep navy — headings, header, footer     */
  --c-navy-dark:   #122950;   /* Darker navy — top bar, footer bg         */
  --c-navy-mid:    #2A5298;   /* Mid navy — secondary elements            */
  --c-sky:         #1E90D5;   /* Bright sky blue — primary interactive    */
  --c-sky-light:   #4DAEE8;   /* Light sky — hover states                 */
  --c-sky-pale:    #E8F4FD;   /* Very pale sky — section backgrounds      */
  --c-red:         #CC1F1F;   /* Canadian maple red — ACCENT ONLY         */

  /* --- Neutral Colours --- */
  --c-white:       #FFFFFF;
  --c-bg:          #F8F9FA;   /* Off-white page background                */
  --c-surface:     #FFFFFF;   /* Card and panel surface                   */
  --c-border:      #DDE3EA;   /* Light border                             */
  --c-border-mid:  #B8C4D0;   /* Medium border                            */

  /* --- Text Colours --- */
  --c-text:        #1A1A1A;   /* Primary text — near black                */
  --c-text-mid:    #3D4A5A;   /* Secondary text                           */
  --c-text-muted:  #5D6B7A;   /* Muted / captions                         */
  --c-text-light:  #8896A5;   /* Very muted — labels, hints               */

  /* --- Semantic Colours --- */
  --c-success:     #1A7A3C;   /* Success / free labels                    */
  --c-warning:     #B45309;   /* Warning / pending                        */
  --c-focus:       #1E90D5;   /* Keyboard focus ring                      */

  /* --- Typography --- */
  /* System-safe font stack — loads instantly, excellent readability       */
  --font:          "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  /* Type scale (base = 18px — intentionally large for senior readability) */
  --t-xs:    0.778rem;   /* ~14px  */
  --t-sm:    0.889rem;   /* ~16px  */
  --t-base:  1rem;       /* 18px   */
  --t-lg:    1.111rem;   /* ~20px  */
  --t-xl:    1.333rem;   /* ~24px  */
  --t-2xl:   1.667rem;   /* ~30px  */
  --t-3xl:   2.111rem;   /* ~38px  */
  --t-4xl:   2.667rem;   /* ~48px  */

  --lh-base:    1.75;
  --lh-heading: 1.25;
  --lh-tight:   1.15;

  /* --- Spacing (rem-based — scales with user font size preference) --- */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.333rem;
  --sp-6:   1.667rem;
  --sp-8:   2.222rem;
  --sp-10:  3rem;
  --sp-12:  4rem;
  --sp-16:  5.556rem;

  /* --- Layout --- */
  --max-w:       1140px;
  --logo-w:      240px;   /* Shared width for header & footer logos (160px tall at 3:2 ratio) */
  --header-h:    176px;   /* Comfortably contains 160px logo + 8px top/bottom padding */

  /* --- Borders --- */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* --- Shadows (navy-tinted for brand consistency) --- */
  --sh-sm:  0 1px 4px rgba(27, 58, 107, 0.08);
  --sh-md:  0 4px 18px rgba(27, 58, 107, 0.11);
  --sh-lg:  0 10px 40px rgba(27, 58, 107, 0.14);
  --sh-xl:  0 20px 60px rgba(27, 58, 107, 0.18);

  /* --- Transitions --- */
  --ease:      250ms ease;
  --ease-fast: 150ms ease;
}


/* ============================================================
   1. RESET & BASE
   ============================================================ */

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

html {
  font-size: 18px; /* Base — overridden by JS font-size controls */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

img { height: auto; }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

a {
  color: var(--c-sky);
  text-decoration: underline;
}

a:hover {
  color: var(--c-sky-light);
}


/* ============================================================
   2. ACCESSIBILITY UTILITIES
   ============================================================ */

/* Skip to main content — keyboard users only */
.skip-link {
  position: absolute;
  top: -200px;
  left: var(--sp-4);
  background: var(--c-navy);
  color: var(--c-white);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: var(--t-base);
  text-decoration: none;
  z-index: 9999;
  transition: top 200ms ease;
}

.skip-link:focus {
  top: var(--sp-4);
}

/* Visible focus indicator for keyboard navigation */
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Screen-reader only — visually hidden but available to assistive tech */
.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;
}


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--c-navy);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--t-4xl); }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-2xl); }
h4 { font-size: var(--t-xl);  }
h5 { font-size: var(--t-lg);  }

p {
  margin-bottom: var(--sp-4);
  max-width: 65ch; /* Optimal reading line length */
}

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

strong { font-weight: 700; }


/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* Standard section vertical padding */
.section {
  padding: var(--sp-16) 0;
}

/* Light sky-blue background sections */
.section--sky {
  background: var(--c-sky-pale);
}

/* Dark navy sections */
.section--navy {
  background: var(--c-navy);
  color: var(--c-white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--c-white);
}

.section--navy p {
  color: rgba(255, 255, 255, 0.88);
}

/* Section header: centred eyebrow + heading + subtitle */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-10);
}

.section-header h2 {
  margin-bottom: var(--sp-4);
}

.section-header > p {
  font-size: var(--t-lg);
  color: var(--c-text-mid);
  max-width: 56ch;
  margin: 0 auto;
}

.section--sky .section-header > p {
  color: var(--c-text-mid);
}

/* Small coloured label above section headings */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-sky);
  margin-bottom: var(--sp-3);
}

/* Short decorative underline below section headings */
.section-divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--c-sky), var(--c-navy-mid));
  border-radius: var(--r-full);
  margin: var(--sp-4) auto 0;
}

/* Responsive grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }


/* ============================================================
   5. SITE HEADER & NAVIGATION
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  box-shadow: var(--sh-sm);
  min-height: var(--header-h);
  padding: 8px 0;
  display: flex;
  align-items: center;
  transition: box-shadow var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--sh-md);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--sp-4);
}

/* Shared Logo Styling — identical displayed width in header and footer */
.site-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.site-logo__img {
  width: var(--logo-w);
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Desktop navigation */
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
  justify-content: flex-end;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-3);
  color: var(--c-text-mid);
  text-decoration: none;
  font-size: var(--t-sm);
  font-weight: 600;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: color var(--ease-fast), background var(--ease-fast);
}

.nav-link:hover {
  color: var(--c-sky);
  background: var(--c-sky-pale);
}

.nav-link.is-active {
  color: var(--c-navy);
  font-weight: 700;
}

/* "Book a Class" header button — sky blue pill */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  background: var(--c-sky);
  color: var(--c-white);
  font-weight: 700;
  font-size: var(--t-sm);
  text-decoration: none;
  border-radius: var(--r-full);
  white-space: nowrap;
  min-height: 44px;
  margin-left: var(--sp-3);
  transition: background var(--ease-fast), transform var(--ease-fast), box-shadow var(--ease-fast);
  box-shadow: 0 2px 8px rgba(30, 144, 213, 0.30);
}

.nav-cta:hover {
  background: var(--c-sky-light);
  color: var(--c-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30, 144, 213, 0.40);
}

/* Mobile hamburger button (hidden on desktop) */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  background: none;
  border: 2px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: var(--sp-2) var(--sp-3);
  color: var(--c-navy);
  min-width: 48px;
  min-height: 48px;
  font-size: var(--t-sm);
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--ease-fast), color var(--ease-fast), background var(--ease-fast);
}

.mobile-menu-btn:hover {
  background: var(--c-sky-pale);
  border-color: var(--c-sky);
  color: var(--c-sky);
}


/* ============================================================
   7. MOBILE NAVIGATION
   ============================================================ */

.mobile-nav {
  display: none; /* Shown via JS + .is-open */
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--c-white);
  border-top: 2px solid var(--c-border);
  box-shadow: var(--sh-lg);
  z-index: 99;
  padding: var(--sp-5) var(--sp-6) var(--sp-10);
  flex-direction: column;
  gap: var(--sp-2);
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav .nav-link {
  font-size: var(--t-base);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  width: 100%;
  border-bottom: 1px solid var(--c-border);
}

.mobile-nav .nav-link:last-of-type {
  border-bottom: none;
}

.mobile-nav .nav-cta {
  margin: var(--sp-5) 0 0;
  width: 100%;
  justify-content: center;
  font-size: var(--t-lg);
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--r-md);
}


/* ============================================================
   8. HERO SECTION
   ============================================================ */

.hero {
  background: linear-gradient(135deg, #EEF6FD 0%, var(--c-white) 50%, #F0F7FF 100%);
  padding: var(--sp-16) 0;
  overflow: hidden;
  position: relative;
}

/* Subtle background glow — decorative only */
.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 144, 213, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-10);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Canadian / location badge above headline */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--c-sky-pale);
  border: 1px solid rgba(30, 144, 213, 0.22);
  color: var(--c-navy-mid);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  font-size: var(--t-sm);
  font-weight: 600;
  margin-bottom: var(--sp-5);
}

.hero__title {
  font-size: clamp(var(--t-3xl), 5vw, var(--t-4xl));
  line-height: var(--lh-tight);
  color: var(--c-navy);
  margin-bottom: var(--sp-5);
}

/* "for Everyday Life" on its own line in sky blue */
.hero__title .highlight {
  color: var(--c-sky);
  display: block;
}

.hero__subtitle {
  font-size: var(--t-lg);
  color: var(--c-text-mid);
  line-height: 1.70;
  margin-bottom: var(--sp-8);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  margin-bottom: var(--sp-8);
}

/* Trust / promise list */
.hero__trust-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: 0;
  list-style: none;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--t-base);
  color: var(--c-text-mid);
}

.hero__trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--c-sky-pale);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__trust-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--c-sky);
}

/* Right column: hero image / placeholder */
.hero__visual {
  position: relative;
}

.hero__img-wrapper {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--c-sky-pale) 0%, #dceefb 100%);
  border: 1px solid rgba(30, 144, 213, 0.15);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder when no photo yet */
.hero__img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: var(--sp-8);
  text-align: center;
  min-height: 320px;
}

.hero__img-placeholder img {
  max-height: 160px;
  width: auto;
  opacity: 0.88;
  margin-bottom: var(--sp-5);
}

.hero__img-placeholder p {
  font-size: var(--t-sm);
  color: var(--c-text-light);
  max-width: none;
  margin: 0;
}

/* Floating info badge overlays on hero image */
.hero__stat {
  position: absolute;
  background: var(--c-white);
  box-shadow: var(--sh-md);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  white-space: nowrap;
  z-index: 2;
}

.hero__stat--bottom-left {
  bottom: -16px;
  left: -20px;
}

.hero__stat--top-right {
  top: -14px;
  right: -18px;
}

.hero__stat__icon {
  font-size: 1.4rem;
  line-height: 1;
}

.hero__stat__text {
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.3;
}

.hero__stat__sub {
  font-size: var(--t-xs);
  color: var(--c-text-muted);
  font-weight: 400;
  display: block;
}


/* ============================================================
   9. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--r-full);
  font-family: inherit;
  font-size: var(--t-base);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 52px;
  transition: background var(--ease-fast), color var(--ease-fast),
              border-color var(--ease-fast), transform var(--ease-fast),
              box-shadow var(--ease-fast);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Primary — sky blue (main CTAs) */
.btn--primary {
  background: var(--c-sky);
  color: var(--c-white);
  box-shadow: 0 4px 14px rgba(30, 144, 213, 0.30);
}

.btn--primary:hover {
  background: var(--c-sky-light);
  color: var(--c-white);
  box-shadow: 0 6px 22px rgba(30, 144, 213, 0.42);
}

/* Secondary — navy outline */
.btn--secondary {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}

.btn--secondary:hover {
  background: var(--c-navy);
  color: var(--c-white);
}

/* Ghost — sky blue outline */
.btn--ghost {
  background: transparent;
  color: var(--c-sky);
  border-color: var(--c-sky);
}

.btn--ghost:hover {
  background: var(--c-sky);
  color: var(--c-white);
}

/* White filled — for dark backgrounds */
.btn--white {
  background: var(--c-white);
  color: var(--c-navy);
  border-color: var(--c-white);
}

.btn--white:hover {
  background: var(--c-sky-pale);
  color: var(--c-sky);
}

/* Ghost white — for dark backgrounds */
.btn--ghost-white {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn--ghost-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--c-white);
}

/* Size modifiers */
.btn--sm {
  font-size: var(--t-sm);
  padding: var(--sp-3) var(--sp-5);
  min-height: 44px;
}

.btn--lg {
  font-size: var(--t-lg);
  padding: var(--sp-5) var(--sp-10);
  min-height: 60px;
}

/* Disabled state */
.btn[disabled],
.btn--disabled {
  opacity: 0.50;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none;
}


/* ============================================================
   10. BADGES
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 3px var(--sp-3);
  border-radius: var(--r-full);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--free      { background: #D1FAE5; color: #065F46; }
.badge--paid      { background: var(--c-sky-pale); color: var(--c-navy-mid); }
.badge--online    { background: #EDE9FE; color: #4C1D95; }
.badge--inperson  { background: #FEF3C7; color: #78350F; }
.badge--coming-soon { background: #F3F4F6; color: var(--c-text-muted); }
.badge--draft     { background: #FFF7ED; color: var(--c-warning); border: 1px solid #FED7AA; }


/* ============================================================
   11. CARDS (Base + Feature)
   ============================================================ */

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--ease), transform var(--ease);
}

.card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

/* Feature card — icon centred above title */
.feature-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--c-sky-pale);
  border-radius: 50%;
  margin: 0 auto var(--sp-5);
  font-size: 1.9rem;
}

.feature-card__title {
  font-size: var(--t-xl);
  color: var(--c-navy);
  margin-bottom: var(--sp-3);
}

.feature-card__text {
  color: var(--c-text-mid);
  font-size: var(--t-base);
  margin: 0;
}


/* ============================================================
   12. CLASS / WORKSHOP CARDS
   ============================================================ */

.class-card {
  display: flex;
  flex-direction: column;
}

.class-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.class-card__title {
  font-size: var(--t-xl);
  color: var(--c-navy);
  margin-bottom: var(--sp-3);
  line-height: 1.35;
}

.class-card__desc {
  color: var(--c-text-mid);
  font-size: var(--t-base);
  flex: 1;
  margin-bottom: var(--sp-5);
  line-height: 1.65;
}

.class-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-5);
}

.class-card__meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.class-card__meta-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--c-sky);
  flex-shrink: 0;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.class-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-border);
  flex-wrap: wrap;
  margin-top: auto;
}


/* ============================================================
   13. NEWS CARDS
   ============================================================ */

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card__category {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-sky);
  margin-bottom: var(--sp-3);
}

.news-card__title {
  font-size: var(--t-xl);
  color: var(--c-navy);
  margin-bottom: var(--sp-3);
  line-height: 1.35;
}

.news-card__summary {
  color: var(--c-text-mid);
  font-size: var(--t-base);
  flex: 1;
  margin-bottom: var(--sp-5);
  line-height: 1.65;
}

.news-card__action {
  background: var(--c-sky-pale);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
  font-size: var(--t-sm);
  color: var(--c-text-mid);
}

.news-card__action strong {
  display: block;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-sky);
  margin-bottom: var(--sp-1);
}

.news-card__date {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  margin-top: auto;
}


/* ============================================================
   14. TESTIMONIAL CARDS
   ============================================================ */

.testimonial-card {
  text-align: left;
}

.testimonial-card__stars {
  color: #F59E0B;
  font-size: var(--t-lg);
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-4);
}

.testimonial-card__quote-mark {
  font-size: 3rem;
  color: var(--c-sky-pale);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: var(--sp-2);
}

.testimonial-card__text {
  font-size: var(--t-lg);
  color: var(--c-text);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: var(--sp-5);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  background: var(--c-sky-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  color: var(--c-navy);
  font-size: var(--t-base);
}

.testimonial-card__class {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
}


/* ============================================================
   15. PLACEHOLDER & PENDING NOTICES
   ============================================================ */

/* Large dashed placeholder box */
.placeholder-box {
  text-align: center;
  padding: var(--sp-12) var(--sp-8);
  background: var(--c-bg);
  border: 2px dashed var(--c-border-mid);
  border-radius: var(--r-lg);
  color: var(--c-text-muted);
}

.placeholder-box__icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-4);
  display: block;
}

.placeholder-box__title {
  font-size: var(--t-xl);
  color: var(--c-text-mid);
  margin-bottom: var(--sp-3);
}

.placeholder-box__text {
  font-size: var(--t-base);
  color: var(--c-text-muted);
  max-width: 48ch;
  margin: 0 auto;
}

/* Inline "coming soon" / pending badge */
.pending-notice {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: #FEF3C7;
  color: var(--c-warning);
  border: 1px solid #FCD34D;
  border-radius: var(--r-sm);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--t-sm);
  font-weight: 600;
}

/* Draft legal page notice */
.draft-notice {
  display: block;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-left: 4px solid var(--c-warning);
  border-radius: var(--r-sm);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-6);
}

.draft-notice strong {
  display: block;
  color: var(--c-warning);
  margin-bottom: var(--sp-2);
}

.draft-notice p {
  color: #78350F;
  font-size: var(--t-sm);
  margin: 0;
}


/* ============================================================
   16. INTRO / TWO-COLUMN LAYOUT
   ============================================================ */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.intro-text h2 {
  margin-bottom: var(--sp-5);
}

.intro-text p {
  color: var(--c-text-mid);
}


/* ============================================================
   17. FOUNDER CARD
   ============================================================ */

.founder-card {
  background: var(--c-sky-pale);
  border: 1px solid rgba(30, 144, 213, 0.15);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  text-align: center;
}

.founder-card__photo {
  width: 120px;
  height: 120px;
  background: var(--c-border);
  border-radius: 50%;
  margin: 0 auto var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 4px solid var(--c-white);
  box-shadow: var(--sh-md);
}

.founder-card__name {
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--sp-1);
}

.founder-card__title {
  font-size: var(--t-sm);
  color: var(--c-sky);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}

.founder-card__bio {
  font-size: var(--t-sm);
  color: var(--c-text-mid);
  line-height: 1.70;
  margin: 0;
}


/* ============================================================
   18. HOW IT WORKS — 3-STEP PROCESS
   ============================================================ */

.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  position: relative;
}

/* Horizontal connector line between steps (desktop only) */
.how-it-works__grid::after {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.666% + 10px);
  right: calc(16.666% + 10px);
  height: 3px;
  background: linear-gradient(90deg, var(--c-sky), var(--c-navy-mid));
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: var(--sp-6);
  position: relative;
  z-index: 1;
}

.step-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--c-sky);
  color: var(--c-white);
  border-radius: 50%;
  font-size: var(--t-2xl);
  font-weight: 700;
  margin: 0 auto var(--sp-5);
  box-shadow: 0 0 0 8px var(--c-sky-pale);
  position: relative;
  z-index: 1;
}

.step-card__title {
  font-size: var(--t-xl);
  color: var(--c-navy);
  margin-bottom: var(--sp-3);
}

.step-card__text {
  color: var(--c-text-mid);
  font-size: var(--t-base);
  margin: 0;
}


/* ============================================================
   19. SUPPORT / CONTRIBUTION SECTION
   ============================================================ */

.support-section {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-mid) 100%);
  color: var(--c-white);
  text-align: center;
  padding: var(--sp-16) 0;
}

.support-section h2 {
  color: var(--c-white);
  margin-bottom: var(--sp-5);
}

.support-section > .container > p {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--t-lg);
  max-width: 58ch;
  margin: 0 auto var(--sp-8);
}

/* Interactive contribution widget card */
.contribution-widget {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

/* Frequency toggle: One-time (default) vs Monthly recurring */
.contribution-frequency {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  background: rgba(18, 41, 80, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--r-full);
  padding: 6px;
  margin-bottom: var(--sp-6);
}

.freq-btn {
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-full);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: var(--t-sm);
  min-height: 46px;
  transition: background var(--ease-fast), color var(--ease-fast);
}

.freq-btn:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.12);
}

.freq-btn.is-selected {
  background: var(--c-sky);
  color: var(--c-white);
  box-shadow: 0 2px 10px rgba(30, 144, 213, 0.35);
}

.contribution-amounts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

/* Interactive Contribution Amount Buttons */
.contribution-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.10);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-6);
  min-width: 118px;
  min-height: 76px;
  color: var(--c-white);
  cursor: pointer;
  transition: background var(--ease-fast), border-color var(--ease-fast), transform var(--ease-fast);
}

.contribution-amount:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}

.contribution-amount.is-selected {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-navy);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20);
}

.contribution-amount__value {
  font-size: var(--t-xl);
  font-weight: 700;
  color: inherit;
  line-height: 1.2;
}

.contribution-amount__label {
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: var(--sp-1);
}

.contribution-amount.is-selected .contribution-amount__label {
  color: var(--c-navy-mid);
  font-weight: 700;
}

/* Custom CAD amount input container */
.custom-amount-wrap {
  max-width: 340px;
  margin: 0 auto var(--sp-6);
  text-align: left;
  background: rgba(18, 41, 80, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-md);
  padding: var(--sp-4);
}

.custom-amount-wrap[hidden] {
  display: none !important;
}

.custom-amount-label {
  display: block;
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: var(--sp-2);
}

.custom-amount-input-group {
  display: flex;
  align-items: center;
  background: var(--c-white);
  border: 2px solid var(--c-border);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.custom-amount-prefix,
.custom-amount-suffix {
  padding: 0 var(--sp-4);
  font-weight: 700;
  color: var(--c-navy);
  background: var(--c-bg);
  min-height: 50px;
  display: flex;
  align-items: center;
}

.custom-amount-input {
  flex: 1;
  border: none;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--c-text);
  min-height: 50px;
  width: 100%;
}

.custom-amount-input:focus {
  outline: none;
}

.custom-amount-input-group:focus-within {
  border-color: var(--c-sky);
  box-shadow: 0 0 0 3px rgba(30, 144, 213, 0.35);
}

.contribution-summary-line {
  font-size: var(--t-base);
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto var(--sp-5);
  font-weight: 600;
}

.contribution-feedback {
  max-width: 560px;
  margin: var(--sp-5) auto 0;
  background: #FFFBEB;
  border: 2px solid #F59E0B;
  color: #78350F;
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--t-sm);
  line-height: 1.6;
  text-align: left;
}

.contribution-feedback[hidden] {
  display: none !important;
}

.contribution-feedback a {
  color: var(--c-navy);
  font-weight: 700;
}

.support-section__legal {
  margin-top: var(--sp-8);
  font-size: var(--t-sm);
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}


/* ============================================================
   20. NEWSLETTER SECTION
   ============================================================ */

.newsletter-section {
  background: var(--c-sky-pale);
  text-align: center;
  padding: var(--sp-12) 0;
}

.newsletter-section h2 {
  margin-bottom: var(--sp-4);
}

.newsletter-section > .container > p {
  color: var(--c-text-mid);
  font-size: var(--t-lg);
  max-width: 52ch;
  margin: 0 auto var(--sp-8);
}

.newsletter-consent {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  margin-top: var(--sp-4);
  line-height: 1.65;
}


/* ============================================================
   21. COMMUNITY PARTNERSHIPS & FOR ORGANIZATIONS PAGE
   ============================================================ */

/* Simplified homepage partnerships banner */
.partnerships-banner {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8);
  box-shadow: var(--sh-sm);
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.partnerships-banner__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin: var(--sp-6) 0 var(--sp-8);
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--c-sky-pale);
  color: var(--c-navy);
  font-weight: 600;
  font-size: var(--t-sm);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  border: 1px solid rgba(30, 144, 213, 0.20);
}

/* Interior Page Hero (used on organizations.html and future pages) */
.page-hero {
  background: linear-gradient(135deg, #EEF6FD 0%, var(--c-white) 55%, #E8F4FD 100%);
  padding: var(--sp-12) 0;
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}

.page-hero__inner {
  max-width: 780px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(var(--t-2xl), 4.5vw, var(--t-4xl));
  margin-bottom: var(--sp-5);
}

.page-hero p {
  font-size: var(--t-lg);
  color: var(--c-text-mid);
  max-width: 62ch;
  margin: 0 auto var(--sp-8);
}

/* Audience Cards (Who We Work With) */
.audience-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: var(--sp-8);
}

.audience-card__icon {
  width: 60px;
  height: 60px;
  background: var(--c-sky-pale);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: var(--sp-4);
}

.audience-card__title {
  font-size: var(--t-xl);
  color: var(--c-navy);
  margin-bottom: var(--sp-4);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  color: var(--c-text-mid);
  font-size: var(--t-base);
  line-height: 1.55;
}

.checklist__icon {
  color: var(--c-sky);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Sponsorship Highlight Box */
.sponsorship-box {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-mid) 100%);
  color: var(--c-white);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8);
  box-shadow: var(--sh-lg);
}

.sponsorship-box h2,
.sponsorship-box h3 {
  color: var(--c-white);
}

.sponsorship-box p {
  color: rgba(255, 255, 255, 0.90);
}

.sponsorship-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin: var(--sp-6) 0 var(--sp-8);
  text-align: left;
}

.sponsorship-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  font-weight: 600;
  color: var(--c-white);
}

/* Accessible Forms (Partnership Form & Future Contact Forms) */
.form-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--sh-md);
  max-width: 780px;
  margin: 0 auto;
}

.form-status-banner {
  background: #FFFBEB;
  border: 2px solid #F59E0B;
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-6);
  color: #78350F;
  font-size: var(--t-base);
}

.form-status-banner strong {
  display: block;
  color: #92400E;
  margin-bottom: var(--sp-1);
}

.form-status-banner a {
  color: var(--c-navy);
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
  text-align: left;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-weight: 700;
  color: var(--c-navy);
  font-size: var(--t-base);
}

.form-label .required {
  color: var(--c-red);
  margin-left: 2px;
}

.form-label .optional {
  font-weight: 400;
  color: var(--c-text-muted);
  font-size: var(--t-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 52px;
  padding: var(--sp-3) var(--sp-4);
  border: 2px solid var(--c-border-mid);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-text);
  font-size: var(--t-base);
  line-height: 1.5;
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-sky);
  box-shadow: 0 0 0 3px rgba(30, 144, 213, 0.25);
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-1);
}

.form-radio-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border: 2px solid var(--c-border-mid);
  border-radius: var(--r-md);
  background: var(--c-bg);
  cursor: pointer;
  font-weight: 600;
  min-height: 50px;
}

.form-radio-label:hover {
  border-color: var(--c-sky);
  background: var(--c-sky-pale);
}

.form-radio-label input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--c-sky);
}


/* ============================================================
   21c. PAYMENT INSTRUCTIONS (Interac e-Transfer page)
   Additive styles used only by payment-instructions.html
   ============================================================ */

.pay-container {
  max-width: 860px;
  margin: 0 auto;
}

.pay-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-10);
  box-shadow: var(--sh-sm);
  margin-bottom: var(--sp-8);
}

.pay-card__title {
  font-size: var(--t-2xl);
  color: var(--c-navy);
  margin: 0 0 var(--sp-3);
  line-height: 1.25;
}

.pay-card__intro {
  color: var(--c-text-mid);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

/* --- Payment details (recipient / email / amount) --- */
.pay-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
  margin: 0 0 var(--sp-6);
}

.pay-details__row {
  background: var(--c-sky-pale);
  border: 1px solid rgba(30, 144, 213, 0.25);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
}

.pay-details__label {
  display: block;
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-1);
}

.pay-details__value {
  display: block;
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.35;
  overflow-wrap: anywhere;
  margin: 0;
}

.pay-details__value a {
  color: var(--c-navy);
  text-decoration: underline;
}

.pay-details__note {
  display: block;
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.55;
  margin: 0;
}

/* --- Copy buttons + status messages --- */
.copy-btn {
  width: 100%;
  justify-content: center;
  min-height: 56px;
  font-size: var(--t-lg);
}

.copy-status {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: var(--t-base);
  font-weight: 600;
  line-height: 1.55;
  border-radius: var(--r-md);
}

.copy-status:not(:empty) {
  margin-top: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
}

.copy-status--success {
  background: #E8F6EC;
  border: 2px solid var(--c-success);
  color: #11552A;
}

.copy-status--notice {
  background: #FFFBEB;
  border: 2px solid #F59E0B;
  color: #78350F;
}

/* --- Numbered steps --- */
.pay-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: pay-step;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
}

.pay-steps__item {
  counter-increment: pay-step;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  font-size: var(--t-lg);
  line-height: 1.6;
  color: var(--c-text);
}

.pay-steps__item::before {
  content: counter(pay-step);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-white);
  font-size: var(--t-lg);
  font-weight: 700;
  line-height: 1;
}

.pay-steps__body {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.pay-steps__tip {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--t-base);
  color: var(--c-text-mid);
}

/* --- Reference helper --- */
.pay-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.pay-field .form-input {
  min-height: 56px;
  font-size: var(--t-lg);
}

.pay-field__hint {
  font-size: var(--t-base);
  color: var(--c-text-muted);
  margin: 0;
}

.pay-reference-output {
  display: block;
  width: 100%;
  min-height: 56px;
  resize: none;
  overflow: hidden;
  line-height: 1.4;
  overflow-wrap: anywhere;
  padding: var(--sp-3) var(--sp-4);
  border: 2px dashed var(--c-navy);
  border-radius: var(--r-sm);
  background: var(--c-sky-pale);
  color: var(--c-navy);
  font-size: var(--t-lg);
  font-weight: 700;
  font-family: inherit;
}

.pay-privacy-note {
  font-size: var(--t-base);
  color: var(--c-text-mid);
  line-height: 1.65;
  margin: var(--sp-5) 0 0;
}

/* --- Payment confirmation notices --- */
.pay-notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
}

.pay-notice-list li {
  background: #FFFBEB;
  border: 1.5px solid #F59E0B;
  border-left: 5px solid #D97706;
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  color: #78350F;
  font-size: var(--t-lg);
  line-height: 1.6;
  font-weight: 600;
}

.pay-notice-list li.pay-notice-list__info {
  background: var(--c-sky-pale);
  border-color: rgba(30, 144, 213, 0.35);
  border-left-color: var(--c-sky);
  color: var(--c-navy);
}

/* --- Safety and help --- */
.pay-safety {
  background: var(--c-sky-pale);
  border: 1px solid rgba(30, 144, 213, 0.25);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-8);
  color: var(--c-navy);
  font-size: var(--t-base);
  line-height: 1.65;
}

.pay-safety strong {
  display: block;
  font-size: var(--t-lg);
  margin-bottom: var(--sp-1);
}

.pay-help {
  text-align: center;
  color: var(--c-text-mid);
  font-size: var(--t-lg);
  line-height: 1.65;
  margin: 0;
}

.pay-help a {
  font-weight: 700;
  color: var(--c-navy);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .pay-card {
    padding: var(--sp-6) var(--sp-5);
  }

  .pay-steps__item {
    padding: var(--sp-4);
    gap: var(--sp-3);
  }

  .pay-steps__item::before {
    width: 38px;
    height: 38px;
  }

  .pay-details__value {
    font-size: var(--t-lg);
  }
}


/* ============================================================
   22. CONTACT STRIP
   ============================================================ */

.contact-strip {
  background: var(--c-navy-dark);
  padding: var(--sp-10) 0;
}

.contact-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  align-items: center;
  text-align: center;
}

.contact-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

.contact-strip__icon {
  font-size: 1.9rem;
  margin-bottom: var(--sp-2);
}

.contact-strip__label {
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.contact-strip__value {
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--c-white);
}

.contact-strip__value a {
  color: var(--c-white);
  text-decoration: underline;
}

.contact-strip__value a:hover {
  color: var(--c-sky-light);
}


/* ============================================================
   23. SITE FOOTER
   Clean, coordinated pure-white background so the official
   transparent logo blends seamlessly with high contrast and
   no separate rectangular box.
   ============================================================ */

.site-footer {
  background: #FFFFFF;
  border-top: 2px solid var(--c-border);
  padding: var(--sp-12) 0 var(--sp-6);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
  align-items: start;
}

/* Logo area in footer — seamless transparent container, identical width to header */
.site-footer__brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0 0 var(--sp-4) 0;
}

.site-footer__brand-logo-wrap img {
  width: var(--logo-w);
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
}

.site-footer__brand p {
  font-size: var(--t-sm);
  color: var(--c-text-mid);
  line-height: 1.65;
  max-width: 34ch;
  margin-bottom: var(--sp-3);
}

.site-footer__brand a {
  color: var(--c-sky);
  font-weight: 600;
  text-decoration: underline;
  font-size: var(--t-sm);
  display: inline-block;
  margin-bottom: var(--sp-1);
}

.site-footer__brand a:hover {
  color: var(--c-navy);
}

.site-footer__col-title {
  font-size: var(--t-base);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--sp-4);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.site-footer__links a {
  color: var(--c-text-mid);
  text-decoration: none;
  font-size: var(--t-sm);
  font-weight: 500;
  transition: color var(--ease-fast);
}

.site-footer__links a:hover {
  color: var(--c-sky);
  text-decoration: underline;
}

.site-footer__bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.site-footer__legal {
  font-size: var(--t-xs);
  color: var(--c-text-muted);
  line-height: 1.65;
}

.site-footer__legal a {
  color: var(--c-text-mid);
  text-decoration: none;
  font-weight: 600;
}

.site-footer__legal a:hover {
  color: var(--c-sky);
  text-decoration: underline;
}

.site-footer__legal .pipe {
  margin: 0 var(--sp-2);
  opacity: 0.45;
}


/* ============================================================
   24. HIGH CONTRAST MODE
   ============================================================ */

.high-contrast {
  --c-navy:        #00008B;
  --c-navy-dark:   #000060;
  --c-navy-mid:    #0000CC;
  --c-sky:         #0057CC;
  --c-sky-light:   #0070EE;
  --c-sky-pale:    #CCE4FF;
  --c-bg:          #FFFFFF;
  --c-surface:     #FFFFFF;
  --c-text:        #000000;
  --c-text-mid:    #111111;
  --c-text-muted:  #222222;
  --c-border:      #000000;
  --c-border-mid:  #000000;
}

.high-contrast a {
  text-decoration: underline !important;
}

.high-contrast .card,
.high-contrast .partnerships-banner,
.high-contrast .form-card {
  border-width: 2px;
  border-color: #000000;
}

.high-contrast .btn--primary {
  background: #0057CC;
  color: #FFFFFF;
  border: 2px solid #0057CC;
}

.high-contrast .badge--free {
  background: #CCFFCC;
  color: #003300;
}

/* System-level forced colours (Windows High Contrast, etc.) */
@media (forced-colors: active) {
  .btn {
    border: 2px solid ButtonText;
  }

  .card {
    border: 1px solid ButtonText;
  }

  :focus-visible {
    outline: 3px solid Highlight;
  }
}


/* ============================================================
   25. REDUCED MOTION
   ============================================================ */

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

  .btn:hover,
  .card:hover,
  .contribution-amount:hover {
    transform: none;
  }
}


/* ============================================================
   26. RESPONSIVE — TABLET & COMPACT DESKTOP (≤ 1040px)
   ============================================================ */

@media (max-width: 1040px) {

  :root {
    --logo-w:   204px;   /* Shared width on tablet (136px tall at 3:2 ratio) */
    --header-h: 152px;   /* Comfortably contains 136px logo + 8px top/bottom padding */
  }

  /* Show mobile hamburger, hide desktop nav so links never wrap awkwardly */
  .mobile-menu-btn {
    display: flex;
  }

  .primary-nav {
    display: none;
  }

  /* Hero stacks vertically */
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }

  /* Hide floating stat badges on tablet/mobile (they overlap) */
  .hero__stat--bottom-left,
  .hero__stat--top-right {
    display: none;
  }

  /* Grids → 2 columns on tablet */
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* How it works → single column, no connector line */
  .how-it-works__grid {
    grid-template-columns: 1fr;
  }

  .how-it-works__grid::after {
    display: none;
  }

  /* Footer → 2 columns */
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Intro / about → single column */
  .intro-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  /* Sponsorship list → single column */
  .sponsorship-list {
    grid-template-columns: 1fr;
  }

  /* Contact strip → single column */
  .contact-strip__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

}


/* ============================================================
   27. RESPONSIVE — MOBILE (≤ 600px)
   ============================================================ */

@media (max-width: 600px) {

  /* Slightly smaller base on mobile */
  html {
    font-size: 17px;
  }

  .container {
    padding: 0 var(--sp-5);
  }

  .section {
    padding: var(--sp-10) 0;
  }

  :root {
    --logo-w:   174px;   /* Shared width on mobile (116px tall at 3:2 ratio) */
    --header-h: 132px;   /* Comfortably contains 116px logo + 8px top/bottom padding */
  }

  h1 { font-size: var(--t-3xl); }
  h2 { font-size: var(--t-2xl); }
  h3 { font-size: var(--t-xl);  }

  .hero {
    padding: var(--sp-10) 0;
  }

  /* Stack hero CTA buttons full-width */
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* All grids & form grids → single column */
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* Footer → single column */
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .contribution-widget,
  .form-card,
  .sponsorship-box,
  .partnerships-banner {
    padding: var(--sp-6) var(--sp-5);
  }

  /* Contribution amounts → 2-column grid on mobile */
  .contribution-amounts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
  }

}
