/* ===================================================================
   InduIndex — About + brand page (/about/, templates/about.html).
   Runs on top of static/css/landing.css (body.lp-body): the copy
   sections reuse the .lp-* section / kicker / spec / band system. This
   sheet adds only what's About-specific:
     · the WHAT-WE-DO card grid   (.ab-cards)
     · the WHO-IT'S-FOR columns   (.ab-audience)
     · the BRAND block            (.ab-brand)
   The brand block is a normal surface card on the app tokens — it
   themes with the rest of the site and hardcodes no colours here. The
   swatch hexes live inline in the template, because a swatch has to
   render a colour the current theme isn't using.
   =================================================================== */

.ab-intro .lp-section-head { max-width: 720px; }

/* ── WHAT WE DO — card grid ──────────────────────────────────────── */
.ab-cards {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.ab-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 13px; padding: 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
}
.ab-card-flag {
  align-self: flex-start; font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 500; color: var(--text-3);
  border: 1px solid var(--border-2); border-radius: 999px; padding: 3px 10px;
}
.ab-card-flag-live { color: var(--lp-accent-deep); border-color: var(--accent-line); background: var(--accent-soft); }
.ab-card-title { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; color: var(--text); margin: 0; }
.ab-card-desc { font-size: 13px; line-height: 1.6; color: var(--text-2); margin: 0; }

/* ── WHO IT'S FOR — three columns ────────────────────────────────── */
.ab-audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 40px); max-width: 1000px; margin-inline: auto; }
.ab-aud { border-top: 2px solid var(--border-2); padding-top: 16px; position: relative; }
.ab-aud::before { content: ""; position: absolute; top: -2px; left: 0; width: 34px; height: 2px; background: var(--accent-line); }
.ab-aud-title { font-size: 15.5px; font-weight: 650; color: var(--text); margin: 0 0 8px; }
.ab-aud-body { font-size: 13px; line-height: 1.6; color: var(--text-2); margin: 0; }

/* ── BRAND — a surface card on the app tokens ────────────────────── */
.ab-brand-section > .ab-brand { max-width: 1064px; }
.ab-brand {
  margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 13px; padding: clamp(22px, 3.4vw, 38px);
  display: flex; flex-direction: column; gap: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.ab-subhead { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin: 0; }
.ab-note { font-size: 13px; line-height: 1.65; color: var(--text-2); margin: 0; max-width: 62ch; }

/* Lockup (left) beside the palette + type notes (right). */
.ab-brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 44px); align-items: center; }
/* Grid children default to min-width:auto — the hex/role column would
   otherwise push the track wider than its share. */
.ab-lockup, .ab-brand-notes { min-width: 0; }

.ab-lockup {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 11px; padding: clamp(26px, 4vw, 44px) 20px;
}
.ab-lockup-text { display: flex; flex-direction: column; gap: 10px; }
.ab-wordmark { font-size: clamp(28px, 3.4vw, 38px); font-weight: 600; line-height: 0.9; letter-spacing: -0.01em; color: var(--text); }
.ab-tagline { display: flex; gap: 16px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.22em; color: var(--text-3); }

/* The bar-mark: two glyphs, each an accent dot over an ink bar. Geometry
   is fixed so it scales uniformly (never stretches). */
.ab-mark { display: inline-flex; align-items: flex-end; gap: 7px; }
.ab-glyph { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ab-dot { width: 17px; height: 17px; border-radius: 3px; background: var(--accent-line); }
.ab-bar { width: 17px; border-radius: 3px; background: var(--text); }
.ab-bar-short { height: 46px; }
.ab-bar-tall { height: 74px; }

/* Palette — one hairline row per colour: chip, name, hex + role. */
.ab-palette { margin: 0; }
.ab-palette-row { display: grid; grid-template-columns: 22px 132px 1fr; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border); }
.ab-palette-row:first-child { border-top: 0; padding-top: 0; }
.ab-chip { width: 22px; height: 22px; border-radius: 5px; border: 1px solid var(--border-2); }
.ab-palette dt { font-size: 13.5px; font-weight: 600; color: var(--text); }
.ab-palette dd { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--text-3); }
.ab-palette dd code { color: var(--text-2); }
.ab-palette-alt { white-space: nowrap; }
.ab-type-note { font-size: 13px; line-height: 1.7; color: var(--text-2); margin: 18px 0 0; }
.ab-type-note strong { color: var(--text); font-weight: 600; }

/* Downloads — asset rows, thumbnail | label | format buttons. */
.ab-downloads { display: flex; flex-direction: column; gap: 12px; }
.ab-asset-list { list-style: none; margin: 4px 0 0; padding: 0; border: 1px solid var(--border); border-radius: 11px; overflow: hidden; }
.ab-asset-row { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--border); }
.ab-asset-row:first-child { border-top: 0; }
.ab-asset-thumb { width: 44px; height: 44px; border-radius: 9px; flex: none; }
/* The transparent marks need a fixed backdrop to be legible in either
   theme — a preview tile, not a brand colour. */
.ab-asset-thumb-plain { display: flex; align-items: center; justify-content: center; background: #221e17; }
.ab-asset-label { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; font-weight: 600; color: var(--text); }
.ab-asset-label small { font-size: 12px; font-weight: 400; color: var(--text-3); }
.ab-asset-actions { margin-left: auto; display: flex; gap: 8px; flex: none; }
.ab-asset-btn {
  font-family: var(--font-mono); font-size: 11px; text-decoration: none;
  color: var(--text-2); border: 1px solid var(--border-2);
  border-radius: 999px; padding: 3px 11px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ab-asset-btn:hover { color: var(--lp-accent-deep); border-color: var(--accent-line); background: var(--accent-soft); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ab-cards { grid-template-columns: repeat(2, 1fr); }
  .ab-audience { grid-template-columns: 1fr; }
  .ab-brand-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ab-cards { grid-template-columns: 1fr; }
  .ab-lockup { flex-wrap: wrap; gap: 18px; }
  .ab-palette-row { grid-template-columns: 22px 1fr; row-gap: 2px; }
  .ab-palette-row dd { grid-column: 2; }
  .ab-asset-row { flex-wrap: wrap; }
  .ab-asset-actions { margin-left: 60px; }
}
