/* PLF-ATOM-11 — /investors/ @version 1.1.3 — mobile first (320 → 375 → 768 → 1024 → 1440)
 * 1.1.2 (CEO 2026-12-04): GitHabit.ai brand tokens only (themmf-brand + UIUX-STD-001 §5), 1200 px column aligned with
 * the Astra header (Content Width), 4/8 spacing scale, type scale 14–56 px, 48 px gold primary, WCAG 2.2 AA.
 * Contrast (measured): ivory/page 16.5:1 · muted/page 9.9:1 · gold/card 6.6:1 · black/gold 7.9:1 · input border 5.2:1. */
html, body { overflow-x: hidden; }
/* 1.1.0: Astra prints its blog archive banner and a light page background on the /investors/ route. */
body.themmf-investors { background:#0D0E12 !important; }
body.themmf-investors .ast-archive-entry-banner, body.themmf-investors .ast-archive-description { display:none !important; }
body.themmf-investors #content > .ast-container { max-width:none; padding:0; display:block; }
/* 1.1.3: Astra's transparent header is absolute on this route and covered the hero; give it its own solid band. */
body.themmf-investors #masthead, body.themmf-investors.ast-theme-transparent-header #masthead { position:relative !important; background:#030504 !important; }
body.themmf-investors.ast-theme-transparent-header .main-header-bar, body.themmf-investors.ast-theme-transparent-header .ast-above-header-bar { background:#030504 !important; }

.ghi {
  --page:#0D0E12; --card:#1B1B1B; --card-2:#141518; --line:#3A3A3A; --field:#8C887F;
  --ivory:#F1EDE2; --muted:#BDB9AF; --gold:#C19B54; --gold-deep:#A8823D; --black:#030504; --error:#FF8A7A;
  --r:12px; --pad:20px;
  background:var(--page); color:var(--ivory); font-size:16px; line-height:1.6;
  padding:40px var(--pad) 64px; box-sizing:border-box; -webkit-font-smoothing:antialiased;
}
.ghi *, .ghi *::before, .ghi *::after { box-sizing:border-box; }
.ghi [hidden] { display:none !important; } /* 1.0.7: [hidden] must win over display:grid */
.ghi section { max-width:1200px; margin:0 auto 64px; }
.ghi h1, .ghi h2, .ghi h3 { color:var(--ivory); text-transform:none !important; letter-spacing:-0.01em; font-weight:800; }
.ghi h1 { font-size:clamp(32px, 7vw, 56px); line-height:1.08; margin:0 0 20px; }
.ghi h2 { font-size:clamp(26px, 4.2vw, 40px); line-height:1.15; margin:0 0 24px; }
.ghi h3 { font-size:20px; line-height:1.3; margin:0 0 12px; font-weight:700; }
.ghi p { margin:0 0 16px; color:var(--ivory); }
.ghi p:last-child { margin-bottom:0; }
.ghi strong { color:var(--ivory); }

.ghi-eyebrow { display:inline-block; margin:0 0 16px !important; padding:6px 12px; border:1px solid rgba(193,155,84,.45);
  border-radius:999px; background:rgba(193,155,84,.10); color:var(--gold) !important; font-size:14px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; line-height:1.2; }
.ghi-sub { font-size:clamp(17px, 2.2vw, 20px); line-height:1.6; color:var(--muted) !important; max-width:640px; margin-bottom:32px !important; }

/* Primary button: gold, 48 px, full width on phones (UIUX-STD-001 §3). One gold primary per screen. */
.ghi-btn { display:flex; width:100%; align-items:center; justify-content:center; min-height:48px; padding:12px 24px; border:0;
  border-radius:10px; background:var(--gold) !important; color:var(--black) !important; font-weight:800; font-size:17px;
  line-height:1.25; text-align:center; text-decoration:none !important; cursor:pointer; transition:background .15s ease, transform .15s ease; }
.ghi-btn:hover, .ghi-btn:focus, .ghi-btn:active { background:var(--gold-deep) !important; color:var(--black) !important; }
.ghi-btn:focus-visible { outline:3px solid var(--ivory); outline-offset:3px; }
.ghi-btn[disabled] { opacity:.7; cursor:progress; }

/* Hero: copy + CTA | radar proof */
.ghi-hero { display:grid; gap:40px; align-items:center; padding-top:8px; }
.ghi-hero-proof { margin:0; padding:16px; background:var(--card); border:1px solid var(--line); border-radius:var(--r);
  box-shadow:0 24px 60px rgba(0,0,0,.45); }
.ghi-hero-proof svg, .ghi-telemetry svg { display:block; width:100%; height:auto; }
.ghi figcaption { margin-top:12px; font-size:14px; line-height:1.4; color:var(--muted); text-align:center; }

/* Moat: systems of record, GitHabit featured last */
.ghi-moat { text-align:left; }
.ghi-sor { list-style:none; padding:0 !important; margin:0 0 32px !important; display:grid; gap:12px; grid-template-columns:1fr; counter-reset:sor; }
.ghi-sor li { position:relative; background:var(--card); border:1px solid var(--line); border-radius:var(--r); padding:24px 20px; }
.ghi-sor strong { display:block; font-size:22px; line-height:1.2; margin-bottom:8px; }
.ghi-sor span { display:block; color:var(--muted); font-size:15px; line-height:1.45; }
.ghi-sor .ghi-featured { background:linear-gradient(180deg, rgba(193,155,84,.22), rgba(193,155,84,.08)); border:2px solid var(--gold); }
.ghi-sor .ghi-featured strong { color:var(--gold); }
.ghi-sor .ghi-featured span { color:var(--ivory); }
.ghi-mission { max-width:760px; padding-left:20px; border-left:3px solid var(--gold); font-size:18px; line-height:1.6;
  color:var(--ivory) !important; }

/* Thesis cards */
.ghi-grid { display:grid; gap:16px; grid-template-columns:1fr; }
.ghi-card { background:var(--card); border:1px solid var(--line); border-radius:var(--r); padding:28px 24px; }
.ghi-card p { color:var(--muted); }
.ghi-card p strong { color:var(--ivory); }
.ghi-flow { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:20px !important; }
.ghi-flow span { background:var(--card-2); border:1px solid var(--line); color:var(--ivory); border-radius:999px; padding:6px 12px;
  font-size:14px; font-weight:600; line-height:1.2; }
.ghi-flow i { font-style:normal; color:var(--gold); }
.ghi-card--math { border-color:rgba(193,155,84,.55); background:linear-gradient(180deg, rgba(193,155,84,.12), var(--card) 70%); }
.ghi-math { font-size:clamp(22px, 3vw, 28px); font-weight:800; line-height:1.3; color:var(--gold) !important; font-variant-numeric:tabular-nums; }
.ghi-note, .ghi-terms { font-size:14px !important; line-height:1.55; color:var(--muted) !important; }

/* Telemetry */
.ghi-telemetry figure { margin:0; padding:16px; background:var(--card); border:1px solid var(--line); border-radius:var(--r); }

/* Data-room form */
#ghi-form-h, #githabit-investor-form { scroll-margin-top:96px; }
.ghi-form-wrap { display:grid; gap:24px; margin-bottom:0 !important; }
.ghi-form-card { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:24px 20px; }
.ghi-form { display:grid; gap:16px; grid-template-columns:1fr; }
.ghi-form label { display:flex; flex-direction:column; gap:8px; font-size:14px; font-weight:600; line-height:1.3; color:var(--ivory); }
.ghi-form input, .ghi-form select, .ghi-form textarea { min-height:48px; width:100%; padding:12px 14px; font-size:16px; line-height:1.4;
  color:var(--ivory); background:var(--card-2); border:1px solid var(--field); border-radius:8px; font-family:inherit; }
.ghi-form textarea { min-height:120px; resize:vertical; }
.ghi-form input::placeholder, .ghi-form textarea::placeholder { color:#8C887F; }
.ghi-form input:focus, .ghi-form select:focus, .ghi-form textarea:focus { outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(193,155,84,.35); }
.ghi-form .ghi-invalid { border-color:var(--error); box-shadow:0 0 0 3px rgba(255,138,122,.25); }
.ghi-form .ghi-btn { margin-top:8px; }
.ghi-alert { background:rgba(255,138,122,.10); border:1px solid var(--error); color:var(--ivory); border-radius:8px; padding:12px 14px; font-size:15px; }
.ghi-success { background:rgba(193,155,84,.12); border:1px solid var(--gold); border-radius:12px; padding:20px; font-size:16px; color:var(--ivory); }
.ghi-success::before { content:"✓ Verified request delivered"; display:block; font-weight:800; color:var(--gold); margin-bottom:8px; }
.ghi-spin { width:16px; height:16px; margin-right:8px; border:2px solid var(--black); border-right-color:transparent; border-radius:50%; animation:ghi-r .8s linear infinite; }
@keyframes ghi-r { to { transform:rotate(360deg); } }

@media (min-width:768px) {
  .ghi { padding-top:56px; padding-bottom:96px; } /* side gutter stays 20 px = Astra header gutter */
  .ghi section { margin-bottom:96px; }
  .ghi-btn { display:inline-flex; width:auto; }
  .ghi-form .ghi-btn { width:100%; }
  .ghi-sor, .ghi-grid { grid-template-columns:1fr 1fr; }
  .ghi-form { grid-template-columns:1fr 1fr; }
  .ghi-full { grid-column:1 / -1; }
  .ghi-form-card { padding:32px; }
}
@media (min-width:1024px) {
  .ghi-hero { grid-template-columns:minmax(0, 7fr) minmax(0, 5fr); gap:56px; }
  .ghi-sor { grid-template-columns:repeat(4, 1fr); }
  .ghi-form-wrap { grid-template-columns:minmax(0, 5fr) minmax(0, 7fr); gap:56px; align-items:start; }
  .ghi-form-intro { position:sticky; top:120px; }
}
@media (prefers-reduced-motion:reduce) { .ghi-spin { animation:none; } .ghi-btn { transition:none; } }
