/* v2/growth/growth.css — scoped styles for the growth pages only.
 *
 * Baseline: the firm's main navy/gold corporate identity (v2/index.html,
 * v2/styles.css) — dark navy header, gold accents, square CTAs — re-implemented
 * here so no shared file changes. Every selector is prefixed .g- or sits under
 * body.g-page, so nothing here can affect existing pages.
 *
 * Fonts: local/system stacks only. Growth pages make NO font request to any third
 * party (Zone P and Zone S look identical and nothing loads before consent).
 */
:root {
  --g-navy: #0d2454;
  --g-navy-dark: #030b1a;
  --g-navy-mid: #14338a;
  --g-gold: #c8922a;              /* decorative gold: rules, borders, large display, on-navy text */
  --g-gold-light: #e2b060;
  --g-gold-text: #8a5a12;         /* accessible gold for small text on light surfaces (≥5:1) */
  --g-paper: #f5f2ea;
  --g-card: #ffffff;
  --g-ink: #0f1623;
  --g-ink-soft: #374151;
  --g-muted: #5d6470;
  --g-line: #e3e0d6;
  --g-chart: #2f5bb7;             /* single-series bar color (validated vs light surface) */
  --g-disabled-bg: #5b6784;       /* white text on this = 5.6:1 */
  --g-serif: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, 'Times New Roman', serif;
  --g-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --g-radius: 4px;                /* square-ish, like the main site */
  --g-measure: 66ch;              /* readable prose width */
}

body.g-page {
  margin: 0; background: var(--g-paper); color: var(--g-ink);
  font-family: var(--g-sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.g-page *, .g-page *::before, .g-page *::after { box-sizing: border-box; }
.g-page a { color: var(--g-navy); }
.g-page :focus-visible { outline: 3px solid var(--g-gold); outline-offset: 2px; }
.g-page img { max-width: 100%; display: block; }
.g-skip { position: absolute; left: -10000px; top: 0; background: var(--g-gold); color: var(--g-navy-dark) !important; padding: 10px 16px; font-weight: 700; z-index: 10; }
.g-skip:focus { left: 16px; top: 8px; }

.g-wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }

/* ── Header (growth-only re-implementation of the main site's header) ── */
.g-top { background: var(--g-navy-dark); color: #fff; border-bottom: 1px solid rgba(200,146,42,.25); }
.g-top-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.g-brand { display: flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none; min-width: 0; }
.g-brand img { height: 48px; width: 48px; object-fit: contain; border: 1px solid rgba(200,146,42,.55); background: var(--g-navy); }
.g-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.g-brand-name { font-family: var(--g-serif); font-size: 1.3rem; font-weight: 700; letter-spacing: .005em; }
.g-brand-sub { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--g-gold); margin-top: 4px; }
.g-top-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.g-top-phone { color: var(--g-gold) !important; font-weight: 700; letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.g-top-cta { background: var(--g-gold); color: var(--g-navy-dark) !important; text-decoration: none; font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; padding: 13px 18px; border-radius: 0; white-space: nowrap; }
.g-top-cta:hover { background: var(--g-gold-light); }
.g-top-call { display: none; }
.g-top-lang { color: var(--g-gold) !important; border: 1px solid rgba(200,146,42,.7); text-decoration: none; font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; white-space: nowrap; }
.g-nav { border-top: 1px solid rgba(255,255,255,.08); }
.g-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 26px; flex-wrap: wrap; }
.g-nav a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255,255,255,.86) !important; text-decoration: none;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.g-nav a:hover, .g-nav a[aria-current="page"] { color: var(--g-gold) !important; }
.g-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--g-gold); }

/* ── Main typography ── */
.g-main { padding: 8px 0 48px; }
.g-main h1 { font-family: var(--g-serif); font-size: clamp(2rem, 4.6vw, 2.9rem); line-height: 1.14; color: var(--g-navy); margin: 40px 0 14px; }
.g-main h2 { font-family: var(--g-serif); font-size: clamp(1.5rem, 3.2vw, 1.95rem); line-height: 1.22; color: var(--g-navy); margin: 46px 0 12px; }
.g-main h3 { font-family: var(--g-sans); font-size: 1.08rem; line-height: 1.35; font-weight: 700; color: var(--g-navy); margin: 30px 0 8px; }
.g-main p { margin: 0 0 14px; }
.g-main ul, .g-main ol { margin: 0 0 16px; padding-left: 1.3em; }
.g-main li { margin: 0 0 6px; }
.g-main hr { border: 0; border-top: 1px solid var(--g-line); margin: 38px 0; }
.g-main blockquote { margin: 16px 0; padding: 14px 18px; background: var(--g-card); border-left: 4px solid var(--g-gold); }
/* readable measure for running prose only (cards, tables, grids and charts keep full width) */
:is(.g-main .g-wrap, .g-main section) > :is(p, ul, ol, h1, h2, h3, blockquote, .g-lic, .g-noacr, .g-niwnot, .g-callout, .g-terms, .g-notice, .g-results, .g-form) { max-width: var(--g-measure); }
.g-main .g-wrap > .g-form, .g-main section > .g-form { max-width: 760px; }
.g-lead { font-size: 1.12rem; color: var(--g-ink-soft); }
.g-pos { color: var(--g-muted); font-size: .95rem; font-style: italic; }
.g-eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--g-gold-text);
  border-left: 3px solid var(--g-gold); padding: 2px 0 2px 10px; margin: 36px 0 0; }

/* ── Buttons / CTAs (square treatment, as on the main site) ── */
.g-cta { margin: 20px 0 8px; }
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 14px 24px;
  border-radius: var(--g-radius); border: 0; font: 700 .98rem/1.25 var(--g-sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  background: var(--g-navy); color: #fff !important; text-align: center; }
.g-btn:hover { background: var(--g-navy-mid); }
.g-btn--gold { background: var(--g-gold); color: var(--g-navy-dark) !important; }
.g-btn--gold:hover { background: var(--g-gold-light); }
.g-btn[aria-disabled="true"], .g-btn:disabled { background: var(--g-disabled-bg); color: #fff !important; cursor: not-allowed; }
.g-cta-sub { display: block; font-size: .86rem; color: var(--g-muted); margin-top: 6px; }
.g-notice { display: block; background: #fff8e8; border: 1px solid #e6cf97; border-left: 4px solid var(--g-gold); color: #4f3a0c;
  padding: 10px 14px; font-size: .92rem; line-height: 1.5; margin: 10px 0 0; max-width: 100%; }
.g-notice a { color: #4f3a0c; font-weight: 600; white-space: nowrap; }
.g-notice[hidden] { display: none; }
.g-testmode { display: block; background: #eef1f7; border: 2px dashed var(--g-navy); color: var(--g-navy); padding: 16px 18px; font-weight: 600; margin: 18px 0; }

/* ── Cards ── */
.g-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin: 22px 0; }
.g-card { background: var(--g-card); border: 1px solid var(--g-line); border-top: 3px solid var(--g-gold); border-radius: var(--g-radius); padding: 24px;
  display: flex; flex-direction: column; gap: 6px; }
.g-main .g-card-title { margin: 0 0 6px; font-family: var(--g-serif); font-size: 1.5rem; line-height: 1.2; color: var(--g-navy); }
.g-card-price { display: block; font-family: var(--g-sans); font-size: 1rem; font-weight: 700; color: var(--g-gold-text); letter-spacing: .02em; margin-top: 6px; white-space: nowrap; }
.g-card ul { margin-bottom: 10px; }
.g-card .g-cta { margin-top: auto; }
.g-step-n { font: 700 .78rem/1 var(--g-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--g-gold-text); }

/* ── Compliance blocks ── */
.g-lic { font-size: .9rem; color: var(--g-ink-soft); margin: 10px 0 18px; }
.g-noacr { font-size: .9rem; color: var(--g-ink-soft); background: #eef1f7; padding: 10px 12px; }
.g-niwnot { font-weight: 600; color: var(--g-navy); background: var(--g-card); border: 1px solid var(--g-line); border-left: 4px solid var(--g-navy);
  padding: 12px 16px; margin: 18px 0; }
.g-terms { background: var(--g-card); border: 1px solid var(--g-line); border-radius: var(--g-radius); padding: 20px 22px; margin: 18px 0; }
.g-terms ol { margin-bottom: 12px; }
.g-callout { background: var(--g-card); border: 1px solid var(--g-line); border-left: 4px solid var(--g-gold); padding: 14px 18px; margin: 18px 0; }

/* ── Tables (scroll container with a visible cue when columns overflow) ── */
.g-table-wrap { overflow-x: auto; margin: 16px 0 6px; border: 1px solid var(--g-line); border-radius: var(--g-radius); background: var(--g-card); }
.g-table-wrap:focus-visible { outline: 3px solid var(--g-gold); }
.g-table-hint { display: none; font-size: .84rem; color: var(--g-muted); margin: 0 0 22px; }
.g-table-wrap[data-overflow="true"] + .g-table-hint { display: block; }
.g-table-wrap[data-overflow="true"] { background:
  linear-gradient(to right, var(--g-card) 30%, rgba(255,255,255,0)) left center / 32px 100% no-repeat local,
  linear-gradient(to left, var(--g-card) 30%, rgba(255,255,255,0)) right center / 32px 100% no-repeat local,
  linear-gradient(to left, rgba(13,36,84,.18), rgba(13,36,84,0)) right center / 14px 100% no-repeat scroll,
  var(--g-card); }
.g-page table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.g-page th, .g-page td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--g-line); vertical-align: top; }
.g-page th { background: #f0ede4; color: var(--g-navy); font-weight: 700; }
.g-page tr:last-child td { border-bottom: 0; }

/* ── Forms ── */
.g-form { background: var(--g-card); border: 1px solid var(--g-line); border-radius: var(--g-radius); padding: 22px; margin: 18px 0; }
.g-form-intro { font-size: .92rem; color: var(--g-ink-soft); margin: 0 0 14px !important; }
.g-fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.g-legend { font: 700 .78rem/1.2 var(--g-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--g-gold-text); margin-bottom: 10px; }
.g-field { margin: 0 0 14px; }
.g-field label, .g-q-label { display: block; font-weight: 600; margin-bottom: 6px; }
.g-opt { font-weight: 400; color: var(--g-muted); }
.g-help { display: block; font-size: .87rem; color: var(--g-muted); margin: -2px 0 6px; font-weight: 400; }
.g-input, .g-select { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem var(--g-sans); color: var(--g-ink);
  border: 1.5px solid #bdb7a4; border-radius: var(--g-radius); background: #fff; }
.g-choice, .g-field label.g-choice { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; margin: 0; font-weight: 400; }
.g-choice input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 auto; }
.g-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.g-error { color: #9b1c1c; font-size: .92rem; margin: 8px 0 0; }
.g-field-err { display: block; color: #9b1c1c; font-size: .86rem; font-weight: 600; margin-top: 6px; }
.g-field-err[hidden] { display: none; }
.g-page [aria-invalid="true"].g-input, .g-page [aria-invalid="true"].g-select { border-color: #9b1c1c; box-shadow: 0 0 0 1px #9b1c1c; }
.g-page [role="radiogroup"][aria-invalid="true"], .g-page .g-consent[data-invalid="true"] { border-left: 3px solid #9b1c1c; padding-left: 10px; }
.g-ok { color: #1d6b3a; font-weight: 600; }

/* ── Self-screen ── */
.g-q { border-top: 1px solid var(--g-line); padding: 16px 0; }
.g-q:first-of-type { border-top: 0; }
.g-q--follow { padding-left: 18px; border-left: 3px solid var(--g-line); }
.g-results { background: var(--g-card); border: 1px solid var(--g-line); border-top: 3px solid var(--g-navy); border-radius: var(--g-radius); padding: 20px 22px; margin: 20px 0; }
.g-main .g-results h2 { margin-top: 0; font-size: 1.45rem; }
.g-results li { margin-bottom: 10px; }
.g-results-neutral { font-weight: 600; }
.g-results-final { font-weight: 600; border-top: 1px solid var(--g-line); padding-top: 12px; margin-top: 12px; }
.g-review-intro { font-size: .92rem; color: var(--g-ink-soft); }

/* ── Chart: horizontal bars, direct-labeled, readable at any width; table follows ── */
.g-chart { background: var(--g-card); border: 1px solid var(--g-line); border-radius: var(--g-radius); padding: 18px 18px 12px; margin: 18px 0; max-width: 760px; }
.g-chart-title { font-weight: 700; color: var(--g-navy); margin: 0 0 12px; font-size: .98rem; }
.g-hbars { list-style: none; margin: 0 !important; padding: 0 !important; }
.g-hbars li { display: grid; grid-template-columns: 8.5em 1fr; align-items: center; gap: 10px; margin: 0 0 8px !important; font-size: .9rem; }
.g-hbar-label { color: var(--g-ink-soft); }
.g-hbar-track { position: relative; height: 22px; }
.g-hbar { display: block; height: 100%; background: var(--g-chart); border-radius: 0 4px 4px 0; min-width: 4px; }
.g-hbar-val { position: absolute; top: 50%; transform: translateY(-50%); padding-left: 8px; font-weight: 700; color: var(--g-ink); font-size: .88rem; white-space: nowrap; }
.g-chart-note { font-size: .85rem; color: var(--g-muted); margin: 10px 0 0; }

/* ── Footer (verbatim disclosure block) ── */
.g-foot { border-top: 3px solid var(--g-gold); background: var(--g-navy-dark); padding: 28px 0 44px; font-size: .86rem; color: rgba(255,255,255,.82); }
.g-foot p { margin: 0 0 6px; max-width: var(--g-measure); }
.g-foot a { color: var(--g-gold-light); }

@media (max-width: 860px) {
  .g-top-cta { display: none; }
}
@media (max-width: 600px) {
  body.g-page { font-size: 16px; }
  .g-top-row { padding: 10px 0; gap: 10px; }
  .g-brand img { height: 40px; width: 40px; }
  .g-brand-name { font-size: 1.05rem; }
  .g-brand-sub { font-size: .58rem; letter-spacing: .14em; }
  .g-top-phone { font-size: .86rem; letter-spacing: .02em; }
  .g-top-lang { padding: 6px 8px; font-size: .68rem; letter-spacing: .1em; }
  .g-nav ul { flex-wrap: nowrap; overflow-x: auto; gap: 18px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); padding-right: 24px; }
  .g-nav ul::-webkit-scrollbar { display: none; }
  .g-nav a { white-space: nowrap; font-size: .72rem; }
  .g-main h1 { margin-top: 28px; }
  .g-form { padding: 16px; }
  .g-btn { width: 100%; }
  .g-page th, .g-page td { padding: 8px 9px; font-size: .88rem; }
  .g-hbars li { grid-template-columns: 6.6em 1fr; font-size: .86rem; }
}
@media (max-width: 400px) {
  .g-brand-sub { display: none; }
  .g-top-phone { display: none; }
  .g-top-call { display: inline-flex; align-items: center; min-height: 36px; background: var(--g-gold); color: var(--g-navy-dark) !important; text-decoration: none;
    font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; }
  .g-top-actions { gap: 8px; }
  .g-brand-name { font-size: .98rem; }
}
@media print {
  .g-top, .g-cta, .g-foot a { display: none; }
  body.g-page { background: #fff; }
}
