/* MHG Ascend marketing site — mhgascend.com
   Self-contained: system fonts only, no external requests.
   Shares the MHG house palette and type with mhgtelos.com. */

:root {
  --ink: #14243a;        /* deep navy — text on light */
  --ink-soft: #43536b;
  --paper: #f8f6f1;      /* warm off-white */
  --paper-tint: #efeadf;
  --dark: #101d30;       /* dark section background */
  --dark-2: #16273f;
  --on-dark: #e9ecf2;
  --on-dark-soft: #a8b4c6;
  --gold: #b9922e;       /* MHG accent */
  --gold-bright: #d4ad45;
  --blue: #2f6db3;
  --green: #2e7d4f;
  --teal: #1f6f63;       /* second lens — "next job" */
  --plum: #5b3b8c;       /* first lens — "day job" */
  --rule: #d9d2c2;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .wordmark { font-family: var(--serif); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.6em; letter-spacing: -0.005em; }
h3 { font-size: 1.15rem; margin-bottom: 0.35em; }

a { color: var(--blue); }
.section-dark a:not(.btn), .site-footer a { color: var(--gold-bright); }

.kicker {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.9em;
}
.section-lede { max-width: 46em; color: var(--ink-soft); margin-bottom: 2.2rem; }
.section-dark .section-lede { color: var(--on-dark-soft); }

/* ============ header ============ */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.wordmark {
  font-size: 1.35rem; letter-spacing: 0.20em; color: var(--ink);
  text-decoration: none; display: flex; align-items: baseline; gap: 0.6em;
}
.wordmark-by {
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.08em;
  color: var(--ink-soft); text-transform: uppercase;
}
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { color: var(--paper) !important; background: var(--ink); padding: 0.45em 1em; border-radius: 6px; }
.nav-cta:hover { background: var(--dark-2); }

/* ============ hero ============ */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin: 0.2em 0 0.4em; }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; gap: 0.9rem; margin-top: 2rem; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  font-size: 0.95rem; padding: 0.75em 1.5em; border-radius: 8px;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-bright); }
.btn-ghost { border: 1.5px solid var(--rule); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-soft); }
.btn-lg { font-size: 1.05rem; padding: 0.85em 1.9em; }

/* hero card — a generated report */
.hero-card {
  background: #fff; border: 1px solid var(--rule); border-radius: 12px;
  padding: 1.4rem 1.5rem 1.2rem; box-shadow: 0 10px 30px rgba(20,36,58,.07);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-title { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.badge {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  padding: 0.25em 0.7em; border-radius: 20px; white-space: nowrap;
}
.badge-generated { background: #e6f4ec; color: var(--green); border: 1px solid #b6dcc6; }
.trace { display: grid; gap: 0.1rem; }
.trace > div {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.9rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.trace > div:last-child { border-bottom: 0; }
.trace dt { font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.trace dd { font-size: 0.93rem; font-weight: 600; }
.trace dd.flag { color: #b3261e; }
.card-foot { margin-top: 0.9rem; font-size: 0.83rem; color: var(--ink-soft); font-style: italic; }

/* ============ sections ============ */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark h2 { color: #fff; }
.section-tint { background: var(--paper-tint); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--rule); border-radius: 12px;
  padding: 1.6rem 1.5rem; position: relative;
}
.card p { font-size: 0.95rem; color: var(--ink-soft); }
.card-num {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--ink); color: var(--gold-bright);
  font-family: var(--serif); font-size: 1rem; font-weight: 700; margin-bottom: 0.9rem;
}

/* lifecycle */
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 1rem; }
.flow li {
  background: var(--dark-2); border: 1px solid #24384f; border-radius: 12px;
  padding: 1.3rem 1.1rem; position: relative;
}
.flow li:not(:last-child)::after {
  content: "→"; position: absolute; right: -0.95rem; top: 1.2rem;
  color: var(--gold-bright); font-size: 1.1rem; z-index: 1;
}
.stage-marker {
  display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold-bright);
  font-size: 0.85rem; font-weight: 700; margin-bottom: 0.8rem;
}
.flow h3 { color: #fff; font-size: 1.05rem; }
.flow p { font-size: 0.85rem; color: var(--on-dark-soft); }

/* split + lists */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split p { margin-bottom: 1rem; color: var(--ink-soft); }
.section-dark .split p { color: var(--on-dark-soft); }

.checklist { list-style: none; margin-top: 0.4rem; }
.checklist li {
  padding: 0.7rem 0 0.7rem 2rem; position: relative;
  border-bottom: 1px solid var(--rule); font-size: 0.95rem;
}
.checklist li::before { content: "✓"; position: absolute; left: 0.2rem; top: 0.6rem; color: var(--green); font-weight: 700; }
.checklist.private li::before { content: "—"; color: var(--gold); }

.boundary { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 1.5rem 1.5rem 1rem; }
.boundary h3 { display: flex; align-items: center; gap: 0.5rem; }
.boundary .who { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 0.6rem; }

/* light-section variants (kept as classes so the CSP can stay strict —
   inline style attributes would require style-src 'unsafe-inline') */
.boundary-note { margin-top: 1rem; font-size: 0.9rem; }
.note-light {
  margin-top: 2rem; max-width: 46em; font-size: 0.87rem; color: var(--ink-soft);
  border-left: 2px solid var(--gold); padding-left: 1rem;
}
.prose { color: var(--ink-soft); max-width: 46em; }

/* method — the dual lens */
.lenses { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 2rem; }
.lens { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 1.5rem; }
.lens-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; padding: 0.25em 0.7em; border-radius: 4px; margin-bottom: 0.8rem;
}
.lens-mentor .lens-tag { background: #ece5f5; color: var(--plum); }
.lens-coach .lens-tag { background: #dcefe6; color: var(--teal); }
.lens h3 { font-size: 1.3rem; }
.lens p { color: var(--ink-soft); font-size: 0.95rem; }

.journey { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; margin-top: 1.6rem; }
.journey li { text-align: center; font-size: 0.78rem; color: var(--ink-soft); position: relative; padding-top: 1.6rem; }
.journey li::before {
  content: ""; position: absolute; top: 0.35rem; left: 50%; transform: translateX(-50%);
  width: 11px; height: 11px; border-radius: 50%; background: var(--gold); z-index: 1;
}
.journey li::after {
  content: ""; position: absolute; top: 0.8rem; left: 50%; width: 100%; height: 2px;
  background: var(--rule); z-index: 0;
}
.journey li:last-child::after { display: none; }
.journey b { display: block; color: var(--ink); font-size: 0.82rem; }

/* federal readiness */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
.specs > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid #24384f; align-items: baseline; }
.specs dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-bright); }
.specs dd { font-size: 0.93rem; color: var(--on-dark); }
.note { margin-top: 1.6rem; font-size: 0.87rem; color: var(--on-dark-soft); border-left: 2px solid var(--gold); padding-left: 1rem; max-width: 46em; }

/* audiences */
.sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.source { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 1.5rem 1.4rem; }
.source p { font-size: 0.9rem; color: var(--ink-soft); }

/* contact */
.contact { text-align: center; }
.contact .section-lede { margin-left: auto; margin-right: auto; }
.contact .kicker { color: var(--gold-bright); }

/* policy page */
.policy { max-width: 46em; }
.policy-title { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.2em; }
.policy .policy-date { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 2.5rem; }
.policy h2 { font-size: 1.35rem; margin: 2.2rem 0 0.5rem; }
.policy p { color: var(--ink-soft); margin-bottom: 1rem; }
.policy ul { color: var(--ink-soft); margin: 0 0 1rem 1.2rem; }
.policy li { margin-bottom: 0.4rem; }

/* footer */
.site-footer {
  background: var(--dark); color: var(--on-dark-soft);
  border-top: 1px solid #24384f; padding: 2rem 0; font-size: 0.82rem;
}
.privacy-badge {
  text-align: center; padding-bottom: 1.6rem; margin-bottom: 1.6rem;
  border-bottom: 1px solid #24384f; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark);
}
.privacy-badge .badge-sep { color: var(--gold-bright); margin: 0 0.7em; }
.privacy-badge .badge-note {
  display: block; margin-top: 0.5rem; text-transform: none; letter-spacing: 0;
  color: var(--on-dark-soft); font-size: 0.82rem;
}
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; }
.footer-grid p:last-child { text-align: right; max-width: 46em; justify-self: end; }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .hero-grid, .split, .lenses, .specs { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow li:not(:last-child)::after {
    content: "↓"; right: auto; left: 50%; transform: translateX(-50%); top: auto; bottom: -1.05rem;
  }
  .stage-marker { display: grid; margin: 0 auto 0.8rem; }
  .card-num { display: grid; margin: 0 auto 0.9rem; }
  .cards-3, .sources { grid-template-columns: 1fr; }
  .journey { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .journey li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .footer-grid p:last-child { text-align: left; justify-self: start; }
  .nav-links a:not(.nav-cta) { display: none; }
  .trace > div, .specs > div { grid-template-columns: 1fr; gap: 0.1rem; }
}
