/* About page. Brand colours only: Slate #1a2535, deep Slate #0c1622, Peach Gold #e2b273, gold ink #86561b
   (small gold text on light), off-white #f5f3ee, white. Light by default; dark follows the device, like /pricing.
   Fonts: Playfair Display for headings, DM Sans for body (both loaded by main.css). All-caps labels are 16px. */

.ab-page {
  --ab-page: #ffffff; --ab-tint: #f5f3ee; --ab-card: #ffffff; --ab-ink: #1a2535; --ab-muted: rgba(26, 37, 53, .8);
  --ab-line: rgba(26, 37, 53, .16); --ab-goldink: #86561b; --ab-chip-bg: #1a2535; --ab-chip-ink: #ffffff;
  background: var(--ab-page); color: var(--ab-ink);
}
@media (prefers-color-scheme: dark) {
  .ab-page {
    --ab-page: #0c1622; --ab-tint: #111d2c; --ab-card: #1a2535; --ab-ink: #f5f3ee; --ab-muted: rgba(245, 243, 238, .82);
    --ab-line: rgba(245, 243, 238, .18); --ab-goldink: #e2b273; --ab-chip-bg: #e2b273; --ab-chip-ink: #1a2535;
  }
}
.ab-page :focus-visible { outline: 3px solid var(--ab-goldink); outline-offset: 2px; }
.ab-hero :focus-visible, .ab-band :focus-visible { outline-color: #e2b273; }

.ab-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Labels: all caps, 16px */
.ab-label { font-family: var(--font-body, 'DM Sans', system-ui, sans-serif); font-size: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ab-goldink); margin: 0 0 12px; line-height: 1.3; }
.ab-label--light { color: #e2b273; }

.ab-hero { background: #1a2535; color: #f5f3ee; padding: 72px 0 80px; }
.ab-hero h1 { font-family: var(--font-display, 'Playfair Display', Georgia, serif); font-weight: 700; font-size: 3rem; line-height: 1.1; max-width: 820px; margin: 0 0 20px; color: #f5f3ee; }
.ab-intro { font-size: 1.1875rem; line-height: 1.6; max-width: 760px; color: rgba(245, 243, 238, .86); margin: 0; }

.ab-section { padding: 72px 0; }
.ab-section--tint { background: var(--ab-tint); }
.ab-h2 { font-family: var(--font-display, 'Playfair Display', Georgia, serif); font-weight: 700; font-size: 2rem; line-height: 1.2; color: var(--ab-ink); margin: 0 0 16px; max-width: 520px; }
.ab-h2--wide { max-width: 860px; }
p.ab-body { font-size: 1.0625rem; line-height: 1.65; color: var(--ab-muted); margin: 0; }
.ab-body--wide { max-width: 820px; }

.ab-two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.ab-block { min-width: 0; }

.ab-card { background: var(--ab-card); border: 1px solid var(--ab-line); border-radius: 16px; padding: 26px; min-width: 0; }
.ab-card h3 { font-family: var(--font-display, 'Playfair Display', Georgia, serif); font-weight: 600; font-size: 1.25rem; line-height: 1.25; color: var(--ab-ink); margin: 0 0 10px; }
.ab-card p { font-size: 1rem; line-height: 1.6; color: var(--ab-muted); margin: 0; }
.ab-card p.ab-label { font-size: 16px; line-height: 1.3; color: var(--ab-goldink); margin: 0 0 16px; }

.ab-values { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ab-num { display: block; font-family: var(--font-display, 'Playfair Display', Georgia, serif); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--ab-goldink); margin: 0 0 16px; }

.ab-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.ab-chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ab-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 22px; font-size: 1rem; font-weight: 500; }
.ab-chip--on { background: var(--ab-chip-bg); color: var(--ab-chip-ink); border: 1.5px solid var(--ab-chip-bg); }
.ab-chip--next { background: transparent; color: var(--ab-ink); border: 1.5px dashed var(--ab-ink); }

.ab-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }

/* Closing band */
.ab-band { background: #1a2535; color: #f5f3ee; padding: 72px 0; text-align: center; }
.ab-band-in { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ab-band h2 { font-family: var(--font-display, 'Playfair Display', Georgia, serif); font-weight: 700; font-size: 2.25rem; color: #f5f3ee; margin: 0; }
.ab-band p { font-size: 1.125rem; line-height: 1.6; max-width: 620px; color: rgba(245, 243, 238, .86); margin: 0; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.ab-actions [hidden] { display: none; }
.ab-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 28px;
  border-radius: 12px; border: 1.5px solid #e2b273; background: #e2b273; color: #1a2535;
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif); font-size: 1rem; font-weight: 700; text-decoration: none;
}
.ab-btn:hover { filter: brightness(.95); }
.ab-btn--outline { background: transparent; color: #f5f3ee; border-color: rgba(245, 243, 238, .7); }

@media (max-width: 899px) {
  .ab-hero { padding: 48px 0 56px; }
  .ab-hero h1 { font-size: 2.25rem; }
  .ab-section { padding: 48px 0; }
  .ab-two, .ab-panels, .ab-how { grid-template-columns: 1fr; gap: 28px; }
  .ab-values { grid-template-columns: 1fr; }
  .ab-h2 { font-size: 1.625rem; max-width: none; }
  .ab-band { padding: 52px 0; }
  .ab-band h2 { font-size: 1.75rem; }
  .ab-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
}
@media (min-width: 900px) and (max-width: 1100px) { .ab-values { grid-template-columns: repeat(2, 1fr); } }
