/* ============================================================
   SIGNATURE WORKPLACE PENSIONS — BRAND SYSTEM
   Palette: Ink & Sage
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --ink:        #1C3A2E;   /* deep forest green — primary brand */
  --sage:       #6B9E7D;   /* sage green — secondary */
  --sage-light: #EAF2EC;   /* sage tint — backgrounds */
  --amber:      #C49A3C;   /* warm amber — CTA/accent */
  --amber-dark: #A37E2C;
  --cream:      #FAF8F5;   /* warm off-white — page background */
  --stone:      #F0EDE8;   /* slightly darker cream — card bg */
  --text:       #1A1A1A;
  --text-muted: #6B6B6B;
  --border:     #E0DDD8;
  --white:      #FFFFFF;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-width: 1100px;
  --radius: 6px;
  --radius-lg: 12px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--ink);
  font-weight: 400;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-muted); max-width: 65ch; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 5rem 0;
}
.section--tight {
  padding: 3rem 0;
}
.section--dark {
  background: var(--ink);
}
.section--stone {
  background: var(--stone);
}
.section--sage {
  background: var(--sage-light);
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.active { color: var(--ink); }
.nav__cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  transition: background 0.2s !important;
}
.nav__cta:hover { background: #2a5040 !important; color: var(--white) !important; }

/* Mobile nav */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
  }
  .nav__links.open li { width: 100%; }
  .nav__links.open a { display: block; padding: 0.6rem 0; font-size: 1rem; }
  .nav__links.open .nav__cta { margin-top: 0.5rem; display: inline-block; }
  .nav__toggle { display: block; }
  .nav { position: relative; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.btn--primary {
  background: var(--amber);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196, 154, 60, 0.35);
}
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}
.btn--lg {
  padding: 1rem 2.2rem;
  font-size: 1rem;
}

/* ── Hero ── */
.hero {
  background: var(--ink);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* When a hero has a background image */
.hero--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(28, 58, 46, 0.93) 0%,
    rgba(28, 58, 46, 0.78) 50%,
    rgba(28, 58, 46, 0.45) 100%
  );
  z-index: 0;
}
.hero--image .container {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(107, 158, 125, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.25rem;
}
.hero__title {
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.hero__title em {
  font-style: italic;
  color: var(--amber);
}
.hero__subtitle {
  color: rgba(255,255,255,0.7);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  max-width: 52ch;
  margin-bottom: 2.5rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.hero__trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

/* ── Split CTA (two paths) ── */
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.path-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.path-card:hover {
  box-shadow: 0 8px 32px rgba(28,58,46,0.1);
  transform: translateY(-2px);
}
.path-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.path-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.4rem;
}
.path-card h3 { margin-bottom: 0.75rem; }
.path-card p { font-size: 0.95rem; margin-bottom: 1.5rem; }

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step {
  text-align: left;
}
.step__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--sage);
  opacity: 0.4;
  margin-bottom: 0.75rem;
  display: block;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; }

/* ── Section headers ── */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header--center {
  text-align: center;
}
.section-header--center p {
  margin: 0.75rem auto 0;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}
.eyebrow--amber { color: var(--amber); }

/* ── Provider problem pages ── */
.problem-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.problem-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.problem-list__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--amber);
}
.problem-list li h4 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.problem-list li p { font-size: 0.88rem; max-width: none; margin: 0; }

/* ── Review / rating block ── */
.review-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 0.75rem;
}
.star { color: var(--amber); font-size: 1.1rem; }
.star--empty { color: var(--border); }

/* ── Pros/Cons ── */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.pros-cons__col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.pros-cons__col h4 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.pros-cons__col--pros h4 { color: var(--ink); }
.pros-cons__col--cons h4 { color: #8B4513; }
.pros-cons__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pros-cons__list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.pros-cons__list li::before {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 0.7rem;
}
.pros-cons__col--pros .pros-cons__list li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
}
.pros-cons__col--cons .pros-cons__list li::before {
  content: '✗';
  color: #C0392B;
  font-weight: 700;
}

/* ── Photo strip (full-width image band with overlay text) ── */
.photo-strip {
  position: relative;
  height: 360px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.photo-strip__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 58, 46, 0.78);
  display: flex;
  align-items: center;
}
.photo-strip__quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-style: italic;
  color: var(--white);
  max-width: 640px;
  line-height: 1.45;
}
.photo-strip__quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--sage);
  margin-top: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── Image feature (side-by-side image + content panel) ── */
.img-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
}
.img-feature--reverse { direction: rtl; }
.img-feature--reverse > * { direction: ltr; }
.img-feature__photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 360px;
}
.img-feature__body {
  background: var(--stone);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.img-feature__body h2 { margin-bottom: 0.25rem; }
.img-feature__body p  { font-size: 0.95rem; }
@media (max-width: 768px) {
  .photo-strip { background-attachment: scroll; height: 300px; }
  .img-feature, .img-feature--reverse { grid-template-columns: 1fr; direction: ltr; }
  .img-feature__photo { min-height: 240px; order: -1; }
  .img-feature__body { padding: 2rem 1.5rem; }
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p  { color: rgba(255,255,255,0.65); margin: 0 auto 2rem; }
.cta-banner .btn--primary { font-size: 1rem; }

/* ── Contact Form ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-grid--full { grid-column: 1 / -1; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit {
  margin-top: 0.5rem;
}
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer__brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  max-width: 38ch;
  margin-top: 1rem;
  line-height: 1.7;
}
.footer__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 0.75rem;
}
.footer__logo-img {
  height: 80px;
  width: auto;
  display: block;
}
.footer__col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__links a {
  text-decoration: none;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer__links a:hover { color: rgba(255,255,255,0.9); }
.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer__bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer__bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb span { color: var(--border); }

/* ── Inline pill ── */
.pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.pill--sage { background: var(--sage-light); color: var(--ink); }
.pill--amber { background: #FDF4E3; color: #8B6914; }

/* ── Responsive ── */

/* Tablet — 900px */
@media (max-width: 900px) {
  .nav__logo-img { height: 44px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  /* Collapse inline two-col grids on tablet */
  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns:2fr 1fr"],
  div[style*="grid-template-columns: 3fr 2fr"],
  div[style*="grid-template-columns:3fr 2fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Contact sticky sidebar — unstick on tablet */
  div[style*="position:sticky"],
  div[style*="position: sticky"] {
    position: static !important;
  }
}

/* Mobile — 640px */
@media (max-width: 640px) {
  .nav__logo-img { height: 36px; }
  .footer__logo-img { height: 64px; }
  .hero { padding: 4rem 0 3.5rem; }
  .section { padding: 3.5rem 0; }
  .photo-strip { height: 260px; }
  .paths { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .problem-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 2.5rem 1.5rem; }

  /* Collapse ALL inline two-col grids on mobile */
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns:2fr 1fr"],
  div[style*="grid-template-columns: 3fr 2fr"],
  div[style*="grid-template-columns:3fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}
