/* Info pages (about, contact, terms, privacy, shipping, returns, 404) in the main-branch visual language,
   plus the shared page kit (.aep, .ae-wrap, .ae-title, .ae-btn) that /business/ also loads.
   Rules copied from main: css/00-base.css tokens, terms.html .legal block, css/enquire.css buttons.
   Tokens come from base.css (U1); the --ae-* aliases carry the main-branch values as fallbacks only. */

.aep {
  --ae-heading: var(--heading, #2e2d42); --ae-body: var(--body, #333); --ae-muted: var(--muted, #757575);
  --ae-muted-3: var(--muted-3, #636363); --ae-accent: var(--accent, #dd2745); --ae-accent-hover: #c41f3b;
  --ae-pink: var(--pink-band, #fbf3f3); --ae-dark: var(--dark-band, #45485e);
  --ae-border: var(--border-card, #cbd5e1); --ae-tile: var(--border-tile, #d9d9d9); --ae-field: var(--border-search, #afafaf);
  --ae-wa: #027a36; --ae-wa-hover: #01652d;
  --ae-font: var(--font, "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  --ae-hand: var(--hand, "Kalam", cursive);
  background: #fff; color: var(--ae-body); font-family: var(--ae-font); font-size: 15px; line-height: 24px;
  padding-bottom: 60px;
}
.aep h1, .aep h2, .aep h3, .aep h4 { font-family: var(--ae-font); color: var(--ae-heading); letter-spacing: 0; }
.aep :focus-visible { outline: 2px solid var(--ae-heading); outline-offset: 2px; }

/* Container: 1344 box with 48 gutters, 16 on phones (00-base.css). */
.ae-wrap { width: 100%; max-width: calc(1344px + 96px); padding: 0 48px; margin: 0 auto; }
.ae-sec { margin-top: 60px; }
.ae-title { font-weight: 700; font-size: 24px; line-height: 32px; letter-spacing: -.4px; color: var(--ae-heading); }
.ae-sub { font-size: 16px; line-height: 22px; color: var(--ae-muted); margin-top: 4px; }
.ae-hand { font-family: var(--ae-hand); font-weight: 300; font-size: 24px; line-height: 30px; color: var(--ae-accent); }
.ae-h1 { font-weight: 700; font-size: 32px; line-height: 40px; color: var(--ae-heading); }
@media (max-width: 767px) {
  .ae-wrap { padding: 0 16px; }
  .ae-sec { margin-top: 40px; }
  .ae-title { letter-spacing: -.32px; }
  .ae-h1 { font-size: 26px; line-height: 32px; }
  .aep { padding-bottom: 40px; }
}

/* Buttons: enquire.css (.enq-send accent, .enq-wa green, .enq-close outline). */
.ae-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 8px; font: 600 15px/20px var(--ae-font); text-decoration: none;
  cursor: pointer; transition: background-color .15s, border-color .15s;
}
.ae-btn .icon { width: 20px; height: 20px; }
.ae-btn--accent { background: var(--ae-accent); color: #fff; }
.ae-btn--accent:hover { background: var(--ae-accent-hover); }
.ae-btn--wa { background: var(--ae-wa); color: #fff; }
.ae-btn--wa:hover { background: var(--ae-wa-hover); }
.ae-btn--line { background: #fff; border-color: var(--ae-border); color: var(--ae-heading); }
.ae-btn--line:hover { background: #f8fafc; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Category chips */
.aep .pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.aep .pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ae-border);
  border-radius: 40px; background: #fff; color: var(--ae-heading); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.aep .pill:hover { border-color: var(--ae-accent); color: var(--ae-accent); }

/* Placeholder chip for values not confirmed yet. #636363 on the pink band passes AA. */
.tbc {
  display: inline; padding: 1px 6px; border-radius: 4px; background: var(--ae-pink, #fbf3f3);
  color: var(--ae-muted-3, #636363); font-size: .92em; font-style: italic; overflow-wrap: anywhere;
}
.draft-note {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 40px;
  background: var(--ae-pink); color: var(--ae-heading); font-size: 13px; font-weight: 600; letter-spacing: .2px;
}

/* ---- Legal pages: terms.html .legal block ---- */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 8px; }
.legal__head { display: grid; justify-items: start; gap: 6px; margin-bottom: 28px; }
.legal__head .draft-note { margin-bottom: 10px; }
.legal__updated { font-size: 13px; line-height: 20px; color: var(--ae-muted); }
.legal__intro { margin-top: 16px; }
.legal h2 { font: 600 18px/26px var(--ae-font); color: var(--ae-heading); margin: 28px 0 8px; scroll-margin-top: 88px; }
.legal p, .legal li { font-size: 15px; line-height: 24px; margin-bottom: 10px; }
.legal ul, .legal ol { margin: 0 0 10px; padding-left: 20px; }
.legal ul li { list-style: disc; }
.legal ol li { list-style: decimal; }
.legal li::marker { color: var(--ae-accent); }
.legal ol li::marker { font-weight: 600; }
.legal a { color: var(--ae-accent); text-decoration: underline; text-underline-offset: 2px; }
.legal p a, .legal li a { padding-block: 10px; }
.legal .legal-contact { padding-left: 0; display: grid; gap: 4px; }
.legal .legal-contact li { list-style: none; display: grid; justify-items: start; gap: 0; margin: 0; overflow-wrap: anywhere; }
.legal-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.legal-contact__label { font-size: 13px; font-weight: 600; color: var(--ae-heading); }
@media (max-width: 767px) { .legal { padding: 28px 16px 0; } }

/* ---- About ---- */
.about { padding-top: 48px; }
.about__head { display: grid; gap: 4px; max-width: 760px; }
.about__story { max-width: 760px; margin-top: 20px; display: grid; gap: 14px; }
.about__lead { font-size: 17px; line-height: 26px; color: var(--ae-heading); }
/* Facts strip: flat pink band like the why-pick row (18-why.css), no cards. */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; margin: 32px 0 0; padding: 20px; background: var(--ae-pink); border-radius: 16px; }
.facts dt { font-size: 13px; line-height: 18px; color: var(--ae-muted-3); }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: 16px; line-height: 22px; color: var(--ae-heading); overflow-wrap: anywhere; }
.values { display: grid; margin-top: 20px; max-width: 900px; }
.values li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--ae-tile); }
.values li:last-child { border-bottom: 1px solid var(--ae-tile); }
.values h3 { font-weight: 600; font-size: 17px; line-height: 24px; }
.values p { color: var(--ae-muted-3); }
@media (min-width: 768px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 24px 32px; }
  .values li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; align-items: baseline; }
}
@media (max-width: 767px) { .about { padding-top: 28px; } }

/* ---- Contact ---- */
.contact { display: grid; gap: 32px; padding-top: 48px; }
.contact__main { display: grid; gap: 12px; align-content: start; max-width: 36rem; }
.contact__main .btn-row { margin-top: 4px; }
.contact__intro { font-size: 17px; line-height: 26px; color: var(--ae-heading); }
.contact .muted { color: var(--ae-muted); font-size: 14px; line-height: 20px; }
.contact-list { display: grid; margin: 0; border: 1px solid var(--ae-border); border-radius: 16px; padding: 4px 20px; }
.contact-list > div { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--ae-tile); }
.contact-list > div:first-child { border-top: 0; }
.contact-list dt { font-size: 13px; font-weight: 600; color: var(--ae-muted-3); }
.contact-list dd { margin: 0; font-size: 16px; line-height: 24px; color: var(--ae-heading); overflow-wrap: anywhere; }
.contact-list dd a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ae-accent); }
.contact-note { margin-top: 40px; padding: 24px; background: var(--ae-pink); border-radius: 16px; }
.contact-note h2 { font-weight: 700; font-size: 20px; line-height: 28px; margin-bottom: 6px; }
.contact-note a { color: var(--ae-heading); text-decoration: underline; padding-block: 10px; }
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; }
  .contact-list > div { grid-template-columns: 8rem minmax(0, 1fr); align-items: baseline; }
}
@media (max-width: 767px) { .contact { padding-top: 28px; } .contact-note { padding: 20px 16px; } }

/* ---- 404 ---- */
.notfound { padding-top: 48px; min-height: 55vh; }
.notfound__inner { display: grid; gap: 8px; justify-items: start; max-width: 48rem; }
.notfound__line { font-size: 16px; line-height: 24px; color: var(--ae-muted); max-width: 52ch; }
.notfound__sub { font-weight: 700; font-size: 20px; line-height: 28px; margin-top: 32px; }
.notfound .pill-list { margin-top: 4px; }

@media (prefers-reduced-motion: reduce) { .aep * { transition: none; } }
