/* ==========================================================================
   Real World Careers — Brand system (ParkerSyndication house quality)
   Tokens aligned with parkersyndication.com ps-home-v2
   Visual redesign only — does not remove page content
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=Libre+Franklin:wght@600;700;800&display=swap");

:root {
  --ink: #102238;
  --navy: #0b1e33;
  --navy-deep: #071727;
  --gold: #d5a62f;
  --gold-hot: #e1b94f;
  --paper: #fbfaf7;
  --paper-2: #f3eee4;
  --paper-3: #efe8da;
  --muted: #647184;
  --muted-2: #4c5d70;
  --line: #dce1e5;
  --line-warm: #d6cab4;
  --white-pure: #ffffff;
  /* Legacy pages used --white as *text* on dark UI; map to ink so content stays readable on paper */
  --white: #102238;
  --ok: #268354;
  --danger: #b42318;
  --focus: #d5a62f;

  /* Bridge legacy variable names used in page CSS (map dark-theme → pro light) */
  --bg-1: var(--paper);
  --bg-2: var(--paper-2);
  --panel: #ffffff;
  --accent: var(--gold);
  --accent-dark: #b8922a;
  --accent-light: var(--gold-hot);
  --blue: var(--ink);
  --teal: #1a7a5c;
  --text: var(--ink);
  --dim: var(--muted);
  --text-light: #334155;
  --text-muted: #647184;
  --border-accent: #dce1e5;
  --navy-darker: #060f1a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, system-ui, sans-serif !important;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink) !important;
  background: var(--paper) !important;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Layout helpers ---------- */
.wrap,
.section-inner,
.nav-inner,
.footer-inner,
.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.section-inner {
  max-width: 1180px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 82px;
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  max-width: 1180px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.nav-brand span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--muted-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta,
.btn-accent,
.btn-blue,
.price-btn,
.m-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: var(--gold);
  color: #112235 !important;
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: none;
}

.nav-cta:hover,
.btn-accent:hover,
.btn-blue:hover,
.price-btn:hover {
  background: var(--gold-hot);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 34, 56, 0.12);
}

.btn-outline,
.price-btn.outline,
.outline {
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid var(--ink) !important;
}

.btn-outline:hover,
.price-btn.outline:hover {
  border-color: var(--gold) !important;
  color: var(--ink) !important;
  background: rgba(213, 166, 47, 0.12) !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 82px;
  left: 0;
  right: 0;
  background: var(--paper);
  padding: 16px 20px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 34, 56, 0.08);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .m-cta {
  margin-top: 12px;
  border-bottom: none !important;
}

/* ---------- Hero (PS navy + gold) ---------- */
.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 82% 18%, #183f66 0, transparent 34%),
    linear-gradient(120deg, #102d4d, #071727);
  color: #fff;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  text-align: left;
}

.hero-badge,
.s-overline,
label.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--gold) !important;
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
}

.hero h1,
.s-title,
.final-cta h2 {
  margin: 0 0 18px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #fff;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  max-width: 16ch;
}

.hero h1 em {
  color: var(--gold-hot);
  font-style: normal;
}

.hero-sub,
.lead {
  margin: 0 0 28px;
  max-width: 640px;
  color: #d2dbe4;
  font-size: 18px;
  line-height: 1.7;
}

.hero-ctas,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 36px;
  justify-content: flex-start;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  justify-content: stretch;
}

.stat {
  text-align: left;
  padding: 8px 16px 0 0;
}

.stat-num {
  font-family: "Libre Franklin", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-hot);
}

.stat-label {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #aebccb;
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Sections ---------- */
.section,
.calc-section,
.final-cta {
  padding: 88px 0;
}

.section-dark,
.section-panel,
.section-deep,
.calc-section {
  background: var(--paper);
}

.section-panel {
  background: var(--paper-2);
}

.section-deep {
  background: var(--paper-3);
}

.s-title {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--ink) !important;
}

.s-subtitle {
  margin: 0 0 40px;
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.citation {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin-top: 10px;
  line-height: 1.5;
}

/* ---------- Cards / grids ---------- */
.problem-grid,
.brain-grid,
.research-grid,
.benefits-grid,
.steps,
.pricing-grid,
.pricing-secondary,
.employer-offers,
.enterprise-row,
.related-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

.problem-grid,
.brain-grid,
.research-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefits-grid,
.pricing-grid,
.pricing-secondary,
.employer-offers,
.enterprise-row,
.research-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-card,
.brain-card,
.research-card,
.benefit,
.step,
.price-card,
.employer-offer,
.enterprise-card,
.upgrade-card,
.upgrade-box,
.ibm-box,
.offer-lock,
.calc-box,
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(16, 34, 56, 0.04);
}

.problem-card {
  padding: 28px;
  text-align: left;
  border-top: 4px solid var(--gold);
  background: var(--white);
  border-color: var(--line);
}

.problem-num {
  font-family: "Libre Franklin", sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #6f1730;
  margin-bottom: 8px;
}

.problem-label {
  font-size: 15px;
  color: var(--muted-2);
  line-height: 1.6;
}

.step {
  text-align: left;
  padding: 28px 22px;
  border-top: 3px solid var(--gold);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 0 14px;
}

.step h3,
.benefit h3,
.brain-card h4,
.research-card h4,
.price-name,
.employer-offer h4,
.enterprise-card h4 {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 800;
  color: var(--ink) !important;
  margin: 0 0 8px;
}

.step p,
.benefit p,
.brain-card p,
.research-card p,
.price-tagline,
.employer-offer p,
.enterprise-card p {
  color: var(--muted) !important;
  font-size: 14px;
  line-height: 1.65;
}

.brain-card,
.research-card,
.benefit {
  padding: 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.brain-card:hover,
.research-card:hover,
.benefit:hover,
.price-card:hover,
.game:hover {
  border-color: var(--line-warm);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(16, 34, 56, 0.08);
  background: var(--white);
}

.brain-card h4 {
  color: #8c6810 !important;
  font-size: 16px;
}

.brain-card .careers {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: #f2ead7;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--ink);
}

.research-card .source {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Pricing ---------- */
.price-card {
  padding: 32px 26px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 1px solid var(--gold);
  box-shadow: 0 18px 40px rgba(16, 34, 56, 0.1);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 22px;
  transform: none;
  background: var(--navy);
  color: #fff;
  font-family: "Libre Franklin", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 2px;
}

.price-amount,
.upgrade-card .up-price,
.employer-offer .eo-price {
  font-family: "Libre Franklin", sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #8c6810 !important;
  margin: 8px 0;
}

.price-period {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.price-features,
.upgrade-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}

.price-features li,
.upgrade-card li {
  font-size: 14px;
  color: var(--muted-2);
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.price-features li::before,
.offer-lock li::before {
  content: "✓";
  color: #8c6810;
  font-weight: 800;
  flex-shrink: 0;
}

.compare-wrap {
  max-width: 1180px;
  margin: 0 auto 40px;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table th {
  background: #f2ead7;
  color: var(--ink);
  font-family: "Libre Franklin", sans-serif;
  font-weight: 800;
}

.compare-table th.col-b {
  background: #e8d9a8;
}

.compare-table td {
  color: var(--muted-2);
}

.compare-table .yes {
  color: var(--ok);
  font-weight: 700;
}

.compare-table .no {
  color: var(--muted);
}

.compare-table .hl {
  color: var(--ink);
  font-weight: 600;
}

.ibm-box,
.upgrade-box,
.offer-lock {
  max-width: 1180px;
  margin: 0 auto 36px;
  padding: 28px;
  display: grid;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
}

.ibm-box {
  grid-template-columns: 1fr 1.2fr;
}

.ibm-box h3,
.upgrade-box h3,
.offer-lock h3 {
  font-family: "Libre Franklin", sans-serif;
  color: var(--ink) !important;
  margin: 0 0 10px;
}

.ibm-box p,
.upgrade-box p {
  color: var(--muted) !important;
  font-size: 14px;
  line-height: 1.65;
}

.ibm-box a,
.employer-offer a,
.enterprise-card a,
.faq-a-inner a {
  color: #8c6810 !important;
  font-weight: 800;
  text-decoration: none;
}

.ibm-box a:hover,
.employer-offer a:hover,
.enterprise-card a:hover {
  text-decoration: underline;
}

.ibm-box img {
  border-radius: 4px;
  border: 1px solid var(--line);
}

.upgrade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.upgrade-card,
.employer-offer,
.enterprise-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.offer-lock ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
}

.offer-lock li {
  font-size: 13px;
  color: var(--muted-2);
  display: flex;
  gap: 8px;
}

/* ---------- Creator ---------- */
.creator-row {
  display: flex;
  gap: 48px;
  align-items: center;
}

.creator-img {
  width: 320px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 34, 56, 0.1);
}

.creator-text h2 {
  font-family: "Libre Franklin", sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: var(--ink) !important;
  margin: 0 0 16px;
}

.creator-text p {
  color: var(--muted-2) !important;
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 14px;
}

.creator-partners {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.creator-partners span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-2);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}

.faq-q h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink) !important;
  flex: 1;
  margin: 0;
}

.faq-q .arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f2ead7;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--ink);
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .arrow {
  transform: rotate(180deg);
  background: var(--gold);
  color: #112235;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 800px;
}

.faq-a-inner {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted-2) !important;
}

/* ---------- Forms / calculators ---------- */
.calc-box {
  padding: 36px;
  margin-top: 28px;
  border-top: 4px solid var(--gold);
}

.calc-box h3 {
  font-family: "Libre Franklin", sans-serif;
  color: var(--ink) !important;
  font-size: 24px;
  margin: 0 0 8px;
}

.calc-box .calc-desc,
.form-group .helper {
  color: var(--muted) !important;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 8px;
}

.form-input,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
}

.form-input:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(213, 166, 47, 0.2);
}

.form-input::placeholder {
  color: #94a0b0;
}

input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  background: #e8e0cc;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(16, 34, 56, 0.2);
}

.slider-label {
  text-align: center;
  padding: 10px;
  background: #f2ead7;
  border-radius: 3px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 800;
  color: #8c6810;
}

.slider-range {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.calc-output {
  margin-top: 28px;
  padding: 24px;
  background: #f7f3ea;
  border: 1px solid var(--line-warm);
  border-radius: 4px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.calc-row:last-child {
  border-bottom: none;
}

.calc-row .label {
  font-size: 14px;
  color: var(--muted);
}

.calc-row .value {
  font-family: "Libre Franklin", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #8c6810;
}

.calc-row .value.big {
  font-size: 28px;
  color: var(--ink);
}

.calc-row .value.red {
  color: var(--danger);
}

.calc-row .value.green {
  color: var(--ok);
}

.calc-cta-wrap {
  margin-top: 22px;
  text-align: center;
}

/* ---------- Final CTA + footer ---------- */
.final-cta {
  padding: 88px 0;
  background:
    radial-gradient(circle at 20% 20%, #183f66 0, transparent 40%),
    linear-gradient(120deg, #102d4d, #071727);
  text-align: center;
  color: #fff;
}

.final-cta h2 {
  color: #fff !important;
  font-size: clamp(32px, 4vw, 48px);
}

.final-cta p {
  color: #d2dbe4 !important;
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 18px;
  line-height: 1.7;
}

.final-cta .price-note {
  color: #aebccb !important;
  font-size: 14px;
  margin-top: 16px;
}

.footer {
  padding: 48px 0 32px;
  background: #071626;
  color: #c5ced7;
  border-top: 0;
}

.footer-inner {
  max-width: 1180px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}

.footer h5 {
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff !important;
  margin: 0 0 14px;
}

.footer a {
  color: #aeb8c4 !important;
  text-decoration: none;
  font-size: 13px;
  display: block;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.footer a:hover {
  color: var(--gold-hot) !important;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  color: #8a96a5 !important;
  line-height: 1.8;
}

/* ---------- Banner / alerts that may exist ---------- */
.banner,
.top-banner,
.announce {
  background: #102a45 !important;
  color: #f0e4c0 !important;
  border-color: transparent !important;
}

.banner a,
.top-banner a {
  color: var(--gold-hot) !important;
  font-weight: 800;
}

/* ---------- Generic content surfaces (other pages) ---------- */
main,
.main,
.content,
.page,
.container {
  color: var(--ink);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Libre Franklin", sans-serif;
  letter-spacing: -0.02em;
}

/* Tables common on FAQ / pricing */
table {
  border-color: var(--line);
}

th {
  background: #f2ead7;
  color: var(--ink);
}

td {
  color: var(--muted-2);
}

/* Dark-panel leftovers → paper cards */
[style*="background:#0"],
[style*="background: #0"],
[style*="background:#1"],
[style*="background: #1"] {
  /* leave explicit inline dark blocks; brand covers classed regions */
}

/* Cookie / assist widgets stay readable */
#cookie-banner,
.cookie-banner,
.rwc-assist {
  font-family: "DM Sans", Arial, sans-serif;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero h1 {
    max-width: none;
  }
  .problem-grid,
  .brain-grid,
  .research-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-grid,
  .pricing-secondary,
  .employer-offers,
  .offer-lock ul,
  .ibm-box,
  .upgrade-grid,
  .enterprise-row,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .creator-row {
    flex-direction: column;
    text-align: left;
  }
  .creator-img {
    width: min(320px, 100%);
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .wrap,
  .section-inner,
  .nav-inner,
  .footer-inner,
  .hero-inner {
    width: calc(100% - 28px);
  }
  .hero {
    padding: 52px 0 48px;
  }
  .section,
  .calc-section,
  .final-cta {
    padding: 64px 0;
  }
  .hero-ctas,
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-accent,
  .btn-blue,
  .btn-outline,
  .nav-cta {
    width: 100%;
  }
  .hero-stats,
  .problem-grid,
  .brain-grid,
  .steps,
  .benefits-grid,
  .research-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stat {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ===== Cross-page force polish (employers/federal/legacy dark themes) ===== */
header,
.site-header,
.top-nav {
  background: rgba(251, 250, 247, 0.96) !important;
  border-bottom: 1px solid #dce1e5 !important;
  color: #102238 !important;
  backdrop-filter: blur(12px);
}

header a,
.site-header a,
.header-content a,
.nav-menu a,
.logo,
.brand {
  color: #102238 !important;
}

header .btn,
header .cta,
header .button,
.header-content .btn,
a.btn-primary,
.btn-primary,
button.primary,
.cta-button,
.stripe-btn {
  background: #d5a62f !important;
  border: 1px solid #d5a62f !important;
  color: #112235 !important;
  border-radius: 3px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

section,
.section,
.hero-section,
.pricing-section,
.features,
.feature-section,
.content-section {
  background-image: none;
}

/* Dark navy full-bleed sections → either paper or intentional navy hero only */
.bg-dark,
.dark-section,
.navy-section {
  background: #0b1e33 !important;
  color: #e8eef5 !important;
}

/* Cards on employer/federal */
.card,
.feature-card,
.pricing-card,
.plan-card,
.offer-card,
.stat-card,
.tool-card,
.info-card,
.box,
.panel {
  background: #ffffff !important;
  color: #102238 !important;
  border: 1px solid #dce1e5 !important;
  border-radius: 4px !important;
  box-shadow: 0 12px 30px rgba(16, 34, 56, 0.05) !important;
}

.card h1, .card h2, .card h3, .card h4,
.feature-card h2, .feature-card h3,
.pricing-card h2, .pricing-card h3,
.plan-card h2, .plan-card h3 {
  color: #102238 !important;
}

.card p, .feature-card p, .pricing-card p, .plan-card p, .info-card p {
  color: #647184 !important;
}

/* Headings not on navy hero */
h1, h2, h3, h4, h5 {
  color: #102238;
}

.hero h1, .hero h2, .final-cta h1, .final-cta h2,
.bg-dark h1, .bg-dark h2, .dark-section h1, .dark-section h2 {
  color: #ffffff !important;
}

/* Links in content */
main a, .content a, .container a, article a {
  color: #8c6810;
}

footer, .site-footer, .page-footer {
  background: #071626 !important;
  color: #c5ced7 !important;
}

footer a, .site-footer a, .page-footer a {
  color: #aeb8c4 !important;
}

footer a:hover, .site-footer a:hover {
  color: #e1b94f !important;
}

/* Soften emoji/icon-heavy blocks without removing them */
.emoji, .icon-lg {
  filter: none;
}

/* Form pages */
.form-container, .checkout-box, .login-box {
  background: #ffffff !important;
  border: 1px solid #dce1e5 !important;
  border-radius: 4px !important;
  box-shadow: 0 16px 40px rgba(16, 34, 56, 0.08) !important;
  color: #102238 !important;
}
