/* CORE-ATOM-05 — Enterprise page (/contact-sales/) + B2B sales form @version 1.0.10
 * CEO 2026-12-04 ("golden goose" polish). GitHabit.ai brand tokens (themmf-brand, UIUX-STD-001 §5), 1200 px column
 * aligned with the Astra header (Content Width), 4/8 spacing scale, type 14–56 px, 48 px fields and gold primary,
 * WCAG 2.2 AA. Mobile first: hero → value → audiences → form; ≥1024 px: content | sticky form.
 * Contrast (measured): ivory/page 16.5:1 · muted/page 9.9:1 · muted/card 8.8:1 · gold/card 6.6:1 · black/gold 7.9:1 · field border 5.2:1. */
.gh-ent, .gh-sf {
  --page:#0D0E12; --card:#1B1B1B; --card-2:#141518; --line:#3A3A3A; --field:#8C887F;
  --ivory:#F1EDE2; --muted:#BDB9AF; --gold:#C19B54; --gold-deep:#A8823D; --black:#030504; --error:#FF8A7A;
}
.gh-ent { color:var(--ivory); font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; }
.gh-ent *, .gh-ent *::before, .gh-ent *::after, .gh-sf *, .gh-sf *::before, .gh-sf *::after { box-sizing:border-box; }
/* 1.0.10: Astra's page-builder template forces max-width:none and margin:0 on .entry-content children; win explicitly.
   The page gets the brand page colour (body class gh-ent-page, added by CORE-ATOM-05). */
body.gh-ent-page, body.gh-ent-page #page, body.gh-ent-page .site-content, body.gh-ent-page #primary { background:#0D0E12 !important; }
/* 1200 px content box + 20 px gutters = the Astra header's content edge at every width (box-sizing set explicitly). */
.entry-content > .gh-ent, .gh-ent { box-sizing:content-box !important; max-width:1200px !important; margin:0 auto !important; padding:40px 20px 64px; }
.gh-ent ol, .gh-ent ul, .gh-ent li { margin-left:0 !important; padding-left:0 !important; }
.gh-ent h1, .gh-ent h2, .gh-ent h3 { color:var(--ivory); text-transform:none !important; letter-spacing:-0.01em; }
.gh-ent p { margin:0 0 16px; }

.gh-ent-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); font-size:14px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; line-height:1.2; }
.gh-ent h1 { font-size:clamp(32px, 6.5vw, 52px); line-height:1.1; font-weight:800; margin:0 0 20px; }
.gh-ent-lead { font-size:clamp(17px, 2.2vw, 20px); line-height:1.6; color:var(--muted); max-width:640px; margin-bottom:28px !important; }

.gh-ent-cta { display:flex; width:100%; align-items:center; justify-content:center; min-height:48px; padding:12px 24px; border-radius:10px;
  background:var(--gold); color:var(--black) !important; font-weight:800; font-size:17px; line-height:1.25; text-decoration:none !important; text-align:center; }
.gh-ent-cta:hover, .gh-ent-cta:focus { background:var(--gold-deep); color:var(--black) !important; }
.gh-ent-cta:focus-visible, .gh-sf-btn:focus-visible { outline:3px solid var(--ivory); outline-offset:3px; }

.gh-ent-highlight { margin:40px 0 0; padding:24px; border-radius:12px; border:1px solid rgba(193,155,84,.55);
  background:linear-gradient(180deg, rgba(193,155,84,.14), rgba(193,155,84,.04)); }
.gh-ent-highlight h2 { margin:0 0 8px; font-size:14px; font-weight:700; letter-spacing:.12em; text-transform:uppercase !important; color:var(--gold); }
.gh-ent-highlight p { margin:0; font-size:18px; line-height:1.55; color:var(--ivory); }

.gh-ent-aud { list-style:none; margin:32px 0 0; padding:0; display:grid; gap:16px; }
.gh-ent-aud li { margin:0; padding:24px; background:var(--card); border:1px solid var(--line); border-radius:12px; }
.gh-ent-aud h3 { margin:0 0 8px; font-size:20px; line-height:1.3; font-weight:700; }
.gh-ent-aud p { margin:0; color:var(--muted); font-size:16px; line-height:1.6; }
.gh-ent-aud strong { color:var(--ivory); }

.gh-ent-terms { margin:24px 0 0; padding:16px 20px; border-left:3px solid var(--gold); background:var(--card-2); border-radius:0 8px 8px 0;
  font-size:14px; line-height:1.55; color:var(--muted); }
.gh-ent-terms strong { color:var(--ivory); }

.gh-ent-formcard { margin-top:48px; padding:24px 20px; background:var(--card); border:1px solid var(--line); border-radius:16px;
  box-shadow:0 24px 60px rgba(0,0,0,.45); scroll-margin-top:96px; }
.gh-ent-formcard h2 { margin:0 0 8px; font-size:clamp(24px, 3vw, 28px); line-height:1.2; font-weight:800; }
.gh-ent-formcard > p { color:var(--muted); font-size:15px; margin-bottom:24px; }

/* Sales form (shortcode) */
.gh-sf { margin:0; padding:0; color:var(--ivory); }
.gh-sf-form { display:grid; gap:16px; grid-template-columns:1fr; margin:0; }
.gh-sf-field { margin:0 !important; display:flex; flex-direction:column; gap:8px; }
.gh-sf label { font-size:14px; font-weight:600; line-height:1.3; color:var(--ivory); }
.gh-sf input, .gh-sf select, .gh-sf textarea { display:block; width:100%; min-height:48px; margin:0; padding:12px 14px; font-size:16px; line-height:1.4;
  font-family:inherit; color:var(--ivory); background:var(--card-2); border:1px solid var(--field); border-radius:8px; }
.gh-sf textarea { min-height:132px; resize:vertical; }
.gh-sf input:focus, .gh-sf select:focus, .gh-sf textarea:focus { outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(193,155,84,.35); }
.gh-sf-submit { margin:8px 0 0 !important; }
.gh-sf-btn, .gh-ent-cta { text-transform:none !important; letter-spacing:0; }
.gh-sf-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; cursor:pointer; }
.gh-sf-btn:hover, .gh-sf-btn:focus, .gh-sf-btn:active { background:var(--gold-deep) !important; color:var(--black) !important; }
.gh-sf-ok { margin:0; padding:20px; border:1px solid var(--gold); border-radius:12px; background:rgba(193,155,84,.12); color:var(--ivory); font-size:16px; }
.gh-sf-ok::before { content:"✓ Request received"; display:block; font-weight:800; color:var(--gold); margin-bottom:6px; }
.gh-sf-err { margin:0 0 16px; padding:12px 14px; border:1px solid var(--error); border-radius:8px; background:rgba(255,138,122,.10); color:var(--ivory); font-size:15px; }

@media (min-width:768px) {
  .entry-content > .gh-ent, .gh-ent { padding:56px 20px 96px; }
  .gh-ent-cta { display:inline-flex; width:auto; }
  .gh-ent-aud { grid-template-columns:repeat(3, 1fr); }
  .gh-sf-form { grid-template-columns:1fr 1fr; }
  .gh-sf-full { grid-column:1 / -1; }
  .gh-ent-formcard { padding:32px; }
}
@media (min-width:1024px) {
  .gh-ent { display:grid; grid-template-columns:minmax(0, 7fr) minmax(0, 5fr); gap:56px; align-items:start; }
  .gh-ent-main { min-width:0; }
  .gh-ent-aud { grid-template-columns:1fr; }
  .gh-ent-cta { display:none; } /* the form is beside the hero on desktop */
  .gh-ent-formcard { margin-top:0; position:sticky; top:120px; }
}
