/* =========================================================
   Apes Alpha -- About page

   The About page is where a prospective subscriber checks
   whether this is a real product or someone's weekend
   project, so it is built to answer exactly that: what the
   thing does, where every number comes from, and who to
   email. It shares the auth pages' type and palette on
   purpose -- a site whose pages look like they were designed
   by different people reads as untrustworthy regardless of
   what the copy says.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* The old stylesheet this replaced set the page background
   here, and base.html does not set one -- without this the
   body falls back to Bootstrap's white and the light body
   text disappears against it. */
body { background: #0a0d12; }

.ab {
  --ink:      #05070a;
  --panel:    #12161d;
  --panel-2:  #171c24;
  --border:   #262c36;
  --border-2: #333c49;
  --text:     #e7ebf1;
  --muted:    #8a93a3;
  --accent:   #1f9be0;
  --green:    #17e88f;
  --radius:   14px;

  max-width: 980px;
  margin: 0 auto;
  padding: 40px 22px 80px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
}

.ab a { color: var(--accent); text-decoration: none; }
.ab a:hover { color: #4fb4ea; text-decoration: underline; }

/* ---------- hero ---------- */
.ab-hero {
  position: relative; overflow: hidden;
  padding: 46px 40px;
  margin: 0 0 40px;
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.ab-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(110% 130% at 6% 0%,   rgba(31,155,224,.20), transparent 55%),
    radial-gradient(110% 130% at 94% 100%, rgba(23,232,143,.13), transparent 55%);
}
.ab-hero > * { position: relative; }

.ab-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0 0 18px; padding: 6px 12px;
  font: 700 .66rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .09em; text-transform: uppercase; color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
}
.ab-eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px rgba(23,232,143,.2);
}

.ab-hero h1 {
  margin: 0 0 16px;
  font-size: 2.1rem; font-weight: 800; line-height: 1.15; letter-spacing: -.025em;
  color: #fff;
}
.ab-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--green), #a9f3d5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ab-lede {
  max-width: 62ch; margin: 0;
  font-size: 1.02rem; line-height: 1.65; color: rgba(255,255,255,.68);
}

/* ---------- contact ---------- */
.ab-contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin: 30px 0 0; padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ab-contact .lbl { margin: 0 0 3px; font-size: .93rem; font-weight: 700; color: var(--text); }
.ab-contact .sub { margin: 0; font-size: .82rem; color: var(--muted); }
.ab-contact .mail {
  font-size: .95rem; font-weight: 700; white-space: nowrap;
  padding: 10px 17px; border-radius: 10px;
  background: var(--panel-2); border: 1px solid var(--border-2);
}
.ab-contact .mail:hover { border-color: var(--accent); text-decoration: none; }

.ab-fine {
  margin: 22px 0 0; max-width: 70ch;
  font-size: .79rem; line-height: 1.6; color: #6f7889;
}
.ab-fine a { color: #8a93a3; text-decoration: underline; }
.ab-fine a:hover { color: var(--text); }

.ab-go { margin: 26px 0 0; }
.ab-go a { font-size: .95rem; font-weight: 700; }

@media (max-width: 640px) {
  .ab { padding: 26px 16px 60px; }
  .ab-hero { padding: 30px 22px; }
  .ab-hero h1 { font-size: 1.55rem; }
}

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