/* ═══════════════════════════════════════
   ABOUT US — design taken from the Node site (views/pages/about-us.ejs,
   content-pages.css "About Us" block and the main.css tokens/base rules it
   relies on). Every rule is scoped to main.about-page so the legacy
   stylesheet.css / common.css pages are untouched.
   ═══════════════════════════════════════ */

/* ── Tokens + base (Node main.css) ── */
.about-page {
  --white: #fff; --bg: #f9f9f9; --ink: #2a2a2a; --muted: #606060; --border: #e8e8e8;
  --green-100: #daefe0; --green-200: #83ffc0; --green-800: #008944; --green-900: #006432; --green-1000: #003f1f;
  --green: var(--green-800); --green-hover: var(--green-900); --green-active: var(--green-1000);
  --max: 1180px;
  --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --shadow-md: 0 12px 40px rgba(42, 42, 42, .08);
  --text-h2: 28px; --text-h2-lh: 42px; --text-h4: 20px; --text-h4-lh: 30px;
  --text-body-lg: 18px; --text-body-lg-lh: 23px; --text-body: 16px; --text-body-lh: 20px;
  --text-sm: 14px; --text-sm-lh: 18px;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  min-height: 0;
}
.about-page *, .about-page *::before, .about-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
.about-page h1, .about-page h2, .about-page h3 { text-transform: capitalize; }
.about-page img { max-width: 100%; height: auto; display: block; }
.about-page a { color: inherit; text-decoration: none; }
.about-page .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Button (Node .btn + .btn-cta). Also neutralises the legacy .cta-norm
   look; the class stays on the links only as a hook. ── */
.about-page .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  width: auto;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 10px;
  overflow: visible;
  font-family: inherit;
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  border: 2px solid transparent;
  transition: background .22s, border-color .22s, transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
  white-space: nowrap;
}
.about-page .btn::before { content: none; }
.about-page .btn span { position: static; display: inline; z-index: auto; }
.about-page .btn-cta { background: var(--green); color: #fff !important; border-color: var(--green); box-shadow: 0 6px 24px rgba(0, 137, 68, .28); }
.about-page .btn-cta:hover { background: var(--green-hover); border-color: var(--green-hover); color: #fff !important; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0, 137, 68, .36); }
.about-page .btn-cta:active { background: var(--green-active); border-color: var(--green-active); color: #fff !important; transform: translateY(0); box-shadow: 0 4px 12px rgba(0, 137, 68, .20); }

/* ── content-pages.css: About Us ── */
.about-page .about-explore-link { margin-top: 28px; text-align: center; }

.about-page .about-unique-num {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--green);
  margin: 14px 0 10px;
}

.about-page .about-accredited { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.about-page .about-accredited p { margin: 0; font-size: var(--text-sm); opacity: .85; }
.about-page .about-accredited-logos { display: flex; align-items: center; gap: 20px; }
.about-page .about-accredited-logos img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .9; }

/* App download links (kept from the PHP page; same row style as "Accredited by") */
.about-page .about-apps { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 16px; }
.about-page .about-apps p { margin: 0; font-size: var(--text-sm); opacity: .85; }
.about-page .about-apps-links { display: flex; align-items: center; gap: 10px; }
.about-page .about-apps-links img { height: 36px; width: auto; }

.about-page .about-cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  border-radius: var(--r-xl);
  background: var(--green-100);
}
.about-page .about-cta-box h2 { font-size: var(--text-h2); line-height: var(--text-h2-lh); margin-bottom: 6px; }
.about-page .about-cta-box p { color: var(--muted); font-size: var(--text-body-lg); line-height: var(--text-body-lg-lh); }

.about-page .section-lead {
  font-size: var(--text-body-lg);
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 0;
  line-height: var(--text-body-lg-lh);
}

/* ── shared bits ── */
.about-page .a2-eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.about-page .a2-eyebrow--light { color: var(--green-200); }
.about-page .is-accent { color: var(--green); }

.about-page .a2-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
}
.about-page .a2-icon-badge svg { width: 22px; height: 22px; }
.about-page .a2-icon-badge--light { background: rgba(255, 255, 255, .1); color: var(--green-200); }

.about-page .a2-heading-block h2,
.about-page .a2-story-copy h2,
.about-page .a2-unique-copy h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: var(--text-h2-lh);
  margin-bottom: 14px;
}

/* ── Hero (sits under the transparent fixed nav, like Node's sticky one) ── */
.about-page .a2-hero { margin-top: -78px; }

.about-page .a2-hero-card {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  background: var(--green-100);
  min-height: calc(420px + 78px);
  display: flex;
  align-items: flex-end;
}

.about-page .a2-hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.about-page .a2-hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 5vw, 64px) clamp(24px, 5vw, 64px) clamp(32px, 5vw, 56px);
  padding-left: max(clamp(24px, 5vw, 64px), calc((100% - var(--max)) / 2 + 24px));
  max-width: 620px;
}

.about-page .a2-hero-title {
  font-size: clamp(2.25rem, 5.4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 16px;
  line-height: 1.1;
}
.about-page .a2-hero-title span { display: block; }

.about-page .a2-hero-sub {
  font-size: var(--text-body-lg);
  color: var(--muted);
  max-width: 460px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-page .a2-hero-trust { display: flex; align-items: center; gap: 14px; }
.about-page .a2-avatar-stack { display: flex; }
.about-page .a2-avatar-stack img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--white);
  margin-left: -12px;
  background: var(--bg);
}
.about-page .a2-avatar-stack img:first-child { margin-left: 0; }
.about-page .a2-hero-trust p { font-size: var(--text-sm); color: var(--ink); line-height: 1.35; }
.about-page .a2-hero-trust strong { font-weight: 700; }

.about-page .a2-hero-chip {
  position: absolute;
  z-index: 1;
  right: max(clamp(16px, 3vw, 40px), calc((100% - var(--max)) / 2 + 24px));
  bottom: clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.about-page .a2-hero-chip svg { width: 22px; height: 22px; color: var(--green-800); flex-shrink: 0; }

@media (max-width: 767px) {
  .about-page .a2-hero-card { min-height: calc(520px + 78px); }
  .about-page .a2-hero-chip { display: none; }
  .about-page .a2-hero-copy { text-align: center; margin-left: auto; margin-right: auto; }
  .about-page .a2-hero-sub { margin-left: auto; margin-right: auto; }
  .about-page .a2-hero-trust { justify-content: center; }
}

/* ── Consistent section rhythm across the whole page ── */
.about-page .a2-story,
.about-page .a2-defines,
.about-page .a2-stats,
.about-page .a2-unique,
.about-page .a2-features,
.about-page .a2-cta { padding-top: 40px; padding-bottom: 40px; }

@media (max-width: 767px) {
  .about-page .a2-story,
  .about-page .a2-defines,
  .about-page .a2-stats,
  .about-page .a2-unique,
  .about-page .a2-features,
  .about-page .a2-cta { padding-top: 28px; padding-bottom: 28px; }
}

/* ── Our Story ── */
.about-page .a2-story-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .about-page .a2-story-grid { grid-template-columns: .85fr 1fr; gap: 64px; }
}
.about-page .a2-story-media { position: relative; border-radius: var(--r-xl); overflow: hidden; }
.about-page .a2-story-media img { width: 100%; height: 100%; aspect-ratio: 3 / 3.8; object-fit: cover; display: block; }

.about-page .a2-pillar-list { display: grid; gap: 24px; margin-top: 32px; }
.about-page .a2-pillar-row { display: flex; gap: 16px; align-items: flex-start; }
.about-page .a2-pillar-row h3 { font-size: var(--text-h4); line-height: var(--text-h4-lh); font-weight: 700; margin-bottom: 6px; }
.about-page .a2-pillar-row p { color: var(--muted); font-size: var(--text-body); line-height: var(--text-body-lh); }

/* ── What Defines Us ── */
.about-page .a2-heading-block { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.about-page .a2-heading-block .section-lead { margin: 0 auto; }

.about-page .a2-defines-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) {
  .about-page .a2-defines-grid { grid-template-columns: repeat(3, 1fr); }
}
.about-page .a2-define-card { padding: 32px 28px; border-radius: var(--r-lg); background: var(--bg); }
.about-page .a2-define-card .a2-icon-badge { margin-bottom: 18px; }
.about-page .a2-define-card h3 { font-size: var(--text-h4); line-height: var(--text-h4-lh); font-weight: 700; margin-bottom: 10px; }
.about-page .a2-define-card p { color: var(--muted); font-size: var(--text-body); line-height: var(--text-body-lh); }

/* ── Trusted globally / stats ── */
.about-page .a2-stats-band {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: var(--green-900) url('../../img/about-us/stats-banner.webp') center / cover no-repeat;
  color: #fff;
  padding: clamp(28px, 4vw, 48px) 0;
}

.about-page .a2-stats-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 40px;
  min-height: clamp(180px, 22vw, 280px);
}

.about-page .a2-stats-copy { flex: 1 1 320px; max-width: 420px; }
.about-page .a2-stats-copy h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: var(--text-h2-lh);
  margin-bottom: 10px;
}
.about-page .a2-stats-copy p {
  color: rgba(255, 255, 255, .72);
  font-size: var(--text-body-lg);
  line-height: var(--text-body-lg-lh);
  max-width: 420px;
}

.about-page .a2-stats-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 28px clamp(20px, 3vw, 44px);
  flex: 1 1 420px;
}

.about-page .a2-stat { min-width: 96px; display: flex; flex-direction: column; }
.about-page .a2-stat .a2-icon-badge { width: 40px; height: 40px; margin-bottom: 8px; }
.about-page .a2-stat .a2-icon-badge svg { width: 18px; height: 18px; }
.about-page .a2-stat-text { display: block; }
.about-page .a2-stat strong { display: block; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; margin-bottom: 4px; }
.about-page .a2-stat span { font-size: var(--text-sm); opacity: .75; }

@media (max-width: 767px) {
  .about-page .a2-stats-inner { min-height: 0; justify-content: center; }
  .about-page .a2-stats-grid { justify-content: center; }
  .about-page .a2-stats-copy { text-align: center; margin: 0 auto; }
  .about-page .a2-stats-copy p { margin-left: auto; margin-right: auto; }
  .about-page .a2-stat { align-items: center; text-align: center; }
  .about-page .about-accredited,
  .about-page .about-apps { justify-content: center; }
}

/* ── What makes us unique ── */
.about-page .a2-unique-top { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; margin-bottom: 0; }
@media (min-width: 900px) {
  .about-page .a2-unique-top { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}
.about-page .a2-unique-media { position: relative; z-index: 1; border-radius: 0; overflow: hidden; margin-top: -40px; }
.about-page .a2-unique-media img { width: 100%; height: auto; display: block; }
@media (max-width: 767px) {
  .about-page .a2-unique-media { margin-top: -28px; }
}

.about-page .a2-unique-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: clamp(-96px, -9vw, -56px);
}
@media (min-width: 640px) {
  .about-page .a2-unique-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .about-page .a2-unique-grid { grid-template-columns: repeat(4, 1fr); }
}
.about-page .a2-unique-card { padding: 26px; border-radius: var(--r-lg); background: var(--bg); }
.about-page .a2-unique-card h3 { font-size: var(--text-h4); line-height: var(--text-h4-lh); font-weight: 700; margin-bottom: 8px; }
.about-page .a2-unique-card p { color: var(--muted); font-size: var(--text-body); line-height: var(--text-body-lh); }

/* ── All-in-one platform / features ── */
.about-page .a2-features h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: var(--text-h2-lh);
  margin-bottom: 32px;
}

.about-page .a2-features-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) {
  .about-page .a2-features-grid { grid-template-columns: repeat(3, 1fr); }
}

.about-page .a2-feature-item {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 1px solid var(--border, #e7ece9);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
}
.about-page .a2-feature-copy { min-width: 0; flex: 0 0 65%; width: 65%; padding: 20px; }
.about-page .a2-feature-item h3 { font-size: var(--text-h4); line-height: var(--text-h4-lh); font-weight: 700; margin-bottom: 8px; }
.about-page .a2-feature-item p { color: var(--muted); font-size: var(--text-body); line-height: var(--text-body-lh); }

.about-page .a2-feature-media {
  flex: 0 0 35%;
  width: 35%;
  position: relative;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-page .a2-feature-media img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 640px) {
  .about-page .a2-feature-item { flex-direction: column; }
}

/* ── CTA ── */
.about-page .a2-cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.about-page .a2-cta-copy { display: flex; align-items: center; gap: 18px; }

/* ── main.css mobile text normalization, as it lands on this page ── */
@media (max-width: 767px) {
  .about-page :is(p, span, li, small, label):not(.btn):not(.btn *):not(h1 *):not(h2 *):not(h3 *) {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
}
