/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #1F4D3A;
  --green-dark: #163628;
  --green-light:#2a6b50;
  --gold:       #C6A648;
  --charcoal:   #2B2F33;
  --gray:       #6C7378;
  --bg:         #F8F9F7;
  --white:      #ffffff;
  --border:     #dde2dd;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--charcoal);
  line-height: 1.6;
}

h1, h2, h3, h4, nav, .btn {
  font-family: 'Inter', sans-serif;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
}

.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-gold:hover { background: #a88530; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover { background: var(--green-dark); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: none;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: color 0.15s;
}

.btn-ghost:hover { color: var(--white); }

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ── NAV ── */
header {
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 3px solid var(--gold);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}

.nav-link:hover { color: var(--white); }

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 4px;
  transition: background 0.15s;
  margin-left: 0.5rem;
}

.nav-hamburger:hover { background: rgba(255,255,255,0.1); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  background: var(--green-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 1.5rem 1rem;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-drawer.is-open {
  display: flex;
}

.nav-drawer .nav-link {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: block;
}

.nav-drawer .nav-link:last-of-type {
  border-bottom: none;
}

.nav-drawer .btn {
  margin-top: 0.75rem;
  text-align: center;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--green-light) 100%);
  color: var(--white);
  padding: 5rem 1.5rem 4.5rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(198,166,72,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 1.25rem;
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin: 0 auto 2.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hero-trust {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.55);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}

.hero-trust span {
  margin: 0 0.5rem;
  color: rgba(255,255,255,0.3);
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  text-align: center;
}

.trust-bar p {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 0.6rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--charcoal);
  font-weight: 500;
}

.trust-item svg {
  color: var(--green);
  flex-shrink: 0;
}

/* ── SECTIONS ── */
section {
  padding: 4rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray);
  max-width: 560px;
}

.section-header {
  margin-bottom: 2.5rem;
}

/* ── FEATURES GRID ── */
.features-section { background: var(--white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  background: var(--bg);
  transition: box-shadow 0.15s, border-color 0.15s;
}

.feature-card:hover {
  box-shadow: 0 4px 16px rgba(31,77,58,0.10);
  border-color: var(--green);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(31,77,58,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  color: var(--green);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ── MID-PAGE CTA ── */
.midpage-cta {
  background: var(--green-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.midpage-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.midpage-cta-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
}

@media (max-width: 600px) {
  .midpage-cta .container { flex-direction: column; text-align: center; }
}

/* ── HOW IT WORKS ── */
.how-section { background: var(--bg); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  counter-reset: steps;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--charcoal);
}

.step p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  background: #f2f5f1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-section .section-label { color: var(--gray); }
.testimonials-section .section-title { color: var(--charcoal); }
.testimonials-section .section-sub   { color: var(--gray); }

.text-center { text-align: center; }
.text-center .section-sub { max-width: 560px; margin-left: auto; margin-right: auto; }

/* Featured testimonial */
.testimonial-featured {
  background: var(--green);
  border-radius: 8px;
  padding: 2.5rem 2.75rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2.5rem;
  align-items: end;
}

.testimonial-featured-quote {
  grid-column: 1 / -1;
  position: relative;
}

.tq-mark {
  display: block;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  font-family: Georgia, serif;
  margin-bottom: -1rem;
  opacity: 0.85;
}

.testimonial-featured blockquote {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
  font-style: italic;
  margin: 0;
}

.testimonial-featured-author {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.tfa-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}

.tfa-role {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* 3-up grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}

.tc-quote-mark {
  font-size: 2.75rem;
  line-height: 1;
  color: var(--gold);
  font-family: Georgia, serif;
  opacity: 0.7;
  margin-bottom: -0.5rem;
}

.testimonial-card blockquote {
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--charcoal);
  font-style: italic;
  flex: 1;
  margin: 0;
}

.testimonial-card figcaption {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.tc-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--charcoal);
}

.tc-role {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 2px;
}

/* Consultant endorsement bar */
.testimonial-endorsement {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.te-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.65;
  flex: 1;
}

.te-author {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--gray);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-endorsement { flex-direction: column; gap: 0.75rem; }
  .te-author { white-space: normal; }
}

@media (max-width: 600px) {
  .testimonial-featured { padding: 1.75rem 1.5rem; }
  .testimonial-featured blockquote { font-size: 1rem; }
}

/* ── PRICING ── */
.pricing-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.pricing-section .section-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.pricing-section .section-sub {
  max-width: 100%;
}

/* Billing toggle — visual only */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--gray);
}

.billing-toggle-track {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.billing-toggle-track.is-annual {
  background: var(--green);
}

.billing-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.billing-toggle-track.is-annual .billing-toggle-knob {
  transform: translateX(20px);
}

.billing-toggle-label {
  color: var(--charcoal);
}

.billing-toggle-label.is-active {
  color: var(--green);
  font-weight: 600;
}

.billing-save-badge {
  background: rgba(31,77,58,0.1);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.pricing-grid--two {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.pricing-grid--two .pricing-card {
  flex: 0 0 340px;
  max-width: 340px;
}

/* Seat slider */
.seat-slider-wrap {
  margin: 0.75rem 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.seat-slider-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.seat-slider-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.seat-slider-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  font-family: 'Inter', sans-serif;
}

.seat-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}

.seat-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.seat-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  border: none;
}

.seat-slider-breakdown {
  font-size: 0.8rem;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
  min-height: 1.2em;
}

.seat-slider-breakdown strong {
  color: var(--green);
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: box-shadow 0.15s;
}

.pricing-card:hover {
  box-shadow: 0 6px 24px rgba(31,77,58,0.09);
}

.pricing-card.is-popular {
  border: 2px solid var(--green);
  box-shadow: 0 4px 20px rgba(31,77,58,0.12);
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 0 0 5px 5px;
  white-space: nowrap;
}

.pricing-plan-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
  margin-top: 0.6rem;
}

.pricing-card.is-popular .pricing-plan-name {
  margin-top: 1.1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.3rem;
}

.pricing-price .amount {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}

.pricing-price .currency {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  align-self: flex-start;
  margin-top: 0.4rem;
}

.pricing-price .period {
  font-size: 0.8rem;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
}

.pricing-price .custom-amount {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
}

.pricing-employee-limit {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.4;
}

.pricing-features li svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-features li.feature-inherit {
  color: var(--gray);
}

.pricing-features li.feature-inherit svg {
  color: var(--gray);
}

.pricing-card .btn {
  margin-top: auto;
}

/* Enterprise contact button */
.btn-outline-green {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}

.btn-outline-green:hover {
  background: var(--green);
  color: var(--white);
}

/* ── AUDIENCE SECTION ── */
.audience-section { background: var(--green); color: var(--white); }

.audience-section .section-label { color: var(--gold); }
.audience-section .section-title { color: var(--white); }
.audience-section .section-sub   { color: rgba(255,255,255,0.75); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.audience-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 1.5rem;
}

.audience-card h3 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.audience-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* ── STANDARD CALLOUT ── */
.standard-section { background: var(--white); }

.standard-box {
  border-left: 4px solid var(--gold);
  background: #F8F9F7;
  border-radius: 0 6px 6px 0;
  padding: 1.75rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.standard-box .std-body {
  flex: 1;
  min-width: 200px;
}

.standard-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.standard-box p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.std-badge {
  background: var(--green);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 0.2rem;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
}

.cta-section .section-label { color: var(--gold); }
.cta-section h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-section p {
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.cta-section .cta-sub {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  margin-top: 0.75rem;
  font-family: 'Inter', sans-serif;
}

/* ── FOOTER ── */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.6);
  padding: 2rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .logo { color: rgba(255,255,255,0.85); }

.footer-right {
  font-size: 0.8rem;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a, .footer-right a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover, .footer-right a:hover {
  color: var(--white);
}

/* ── SIGNUP MODAL ── */
#modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(2px);
}

#modal-overlay.is-open {
  display: flex;
}

.modal-card {
  background: var(--white);
  border-radius: 10px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden;
  position: relative;
  animation: modal-in 0.2s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  background: var(--green);
  color: var(--white);
  padding: 1.5rem 1.75rem 1.25rem;
}

.modal-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  padding-right: 2rem;
}

.modal-header p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.2rem;
  font-family: 'Inter', sans-serif;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  font-family: 'Inter', sans-serif;
}

.modal-close:hover { background: rgba(255,255,255,0.2); }

.modal-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

/* Form styles */
.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}

.form-group input {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-size: 0.9rem;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31,77,58,0.12);
}

.form-group input.has-error {
  border-color: #C62828;
}

.form-group input.has-error:focus {
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}

.field-error {
  display: none;
  font-size: 0.775rem;
  color: #C62828;
  margin-top: 0.3rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.field-error.is-visible { display: block; }

/* Password field with show/hide */
.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 2.75rem;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  padding: 0.2rem;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.password-toggle:hover { color: var(--green); }

/* Alert / error banner */
.form-alert {
  display: none;
  background: #fdf0ee;
  border: 1px solid #e8b4ae;
  color: #8b2316;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  padding: 0.65rem 0.875rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  line-height: 1.45;
}

.form-alert.is-visible { display: block; }

/* Submit button states */
.btn-submit {
  position: relative;
}

.btn-submit .btn-text { transition: opacity 0.15s; }

.btn-submit.is-loading .btn-text { opacity: 0; }

.btn-submit .btn-spinner {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
}

.btn-submit.is-loading .btn-spinner { display: flex; }

.spinner-ring {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(43,47,51,0.3);
  border-top-color: var(--charcoal);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Modal success state */
.modal-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1.75rem 2rem;
}

.modal-success.is-visible { display: block; }
.modal-signup-form.is-hidden { display: none; }

.success-icon {
  width: 60px;
  height: 60px;
  background: rgba(31,77,58,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.success-icon svg { color: var(--green); }

.modal-success h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}

.modal-success p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.55;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* ── SOCIAL PROOF STRIP ── */
.proof-strip {
  background: var(--green-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.proof-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.proof-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 2rem;
  gap: 2px;
}

.proof-num {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}

.proof-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.proof-quote {
  font-size: 0.875rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  gap: 4px;
}

.proof-attr {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-style: normal;
}

.proof-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .proof-strip-inner { flex-wrap: wrap; padding: 0 1rem; }
  .proof-item { padding: 0.75rem 1rem; }
  .proof-quote { display: none; }
  .proof-divider:nth-child(n+3) { display: none; }
}

/* ── RISK BAR ── */
.risk-bar {
  background: #fff6f4;
  border-bottom: 1px solid #f0d8d8;
  padding: 1.5rem 1.5rem;
}

.risk-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.risk-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 2rem;
  flex: 1;
  min-width: 180px;
}

.risk-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #C62828;
  flex-shrink: 0;
  line-height: 1;
}

.risk-label {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.4;
}

.risk-label strong {
  color: var(--charcoal);
  font-weight: 600;
  display: block;
}

.risk-divider {
  width: 1px;
  height: 36px;
  background: #f0d8d8;
  flex-shrink: 0;
}

/* ── FEATURE CARD HIGHLIGHT ── */
.feature-card--highlight {
  border-color: var(--gold);
  background: #fffdf0;
  position: relative;
}

.feature-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
}

/* ── ROI CALLOUT ── */
.roi-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fdf8ec;
  border: 1px solid #e8d48a;
  border-left: 3px solid var(--gold);
  border-radius: 5px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: #5a4a10;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.roi-callout svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.roi-callout strong {
  color: #3d3200;
}

/* ── PRICING FOOTER NOTE ── */
.pricing-footer-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 1.25rem;
  font-family: 'Inter', sans-serif;
}

.pricing-nudge {
  text-align: center;
  font-size: 0.875rem;
  color: var(--green);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin-top: 0.5rem;
}

/* ── STANDARDS STATS ── */
.std-stats {
  display: flex;
  gap: 1.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.std-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.std-stat strong {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.std-stat span {
  font-size: 0.75rem;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
}

/* ── CTA BUTTONS ── */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.btn-outline-white-cta {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline-white-cta:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .pricing-grid:not(.pricing-grid--two) {
    grid-template-columns: repeat(2, 1fr);
  }
  .risk-bar-inner {
    gap: 0;
  }
  .risk-item {
    padding: 0.75rem 1.25rem;
    min-width: 160px;
  }
  .risk-divider {
    display: none;
  }
}

/* ── CREW RISK CALCULATOR ── */
.risk-calc {
  background: var(--bg);
  padding: 56px 0 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.risk-calc-intro {
  text-align: center;
  margin-bottom: 28px;
}
.risk-calc-heading {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 6px;
}
.risk-calc-sub {
  font-size: 14px;
  color: #6C7378;
  margin: 0;
}
.risk-calc-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.rc-tile {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 170px;
  min-width: 0;
  justify-content: space-between;
  transition: border-color 0.35s ease;
}
.rc-tile-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6C7378;
  text-align: center;
  font-family: 'Inter', sans-serif;
  line-height: 1.3;
  min-height: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.rc-sublabel {
  display: block;
  font-size: 9px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #2B2F33;
  margin-top: 2px;
}
.rc-adj {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--charcoal);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
}
.rc-adj:hover { background: var(--border); }
.rc-adj:active { transform: scale(0.88); }
.rc-tile-risk { border-color: #C62828 !important; }
.rc-tile-warn { border-color: #E6A23C !important; }
.rc-adj-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.rc-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--green);
  font-family: 'Inter', sans-serif;
  line-height: 1;
  transition: color 0.3s;
  letter-spacing: -0.02em;
}
.rc-pct { font-size: 34px; }
.rc-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
  margin: 2px 0;
}
.rc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.rc-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  border: none;
}
.rc-slider-hint {
  font-size: 10px;
  color: #2B2F33;
  text-align: center;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s;
  min-height: 14px;
}
.rc-toggle {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  width: 100%;
}
.rc-tog-btn {
  flex: 1;
  padding: 9px 8px;
  border-radius: 6px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  background: transparent;
  color: #6C7378;
}
.rc-tog-btn.rc-active { background: #2E7D32; color: #fff; }
.rc-tog-btn.rc-active-no { background: #C62828; color: #fff; }
.rc-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #6C7378;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  width: 100%;
  transition: color 0.2s;
}
.rc-check input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #2E7D32;
  cursor: pointer;
  flex-shrink: 0;
}
.rc-check:has(input:checked) { color: #2E7D32; }
.rc-output { background: var(--white); }
.rc-score-label {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #E6A23C;
  font-family: 'Inter', sans-serif;
  transition: color 0.35s;
  line-height: 1;
}
.rc-score-bar-wrap {
  width: 100%;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.rc-score-bar {
  height: 100%;
  width: 50%;
  background: #E6A23C;
  border-radius: 3px;
  transition: width 0.45s cubic-bezier(.4,0,.2,1), background 0.35s ease;
}
.rc-score-insight {
  font-size: 11px;
  color: #6C7378;
  text-align: center;
  font-family: 'Inter', sans-serif;
}
.risk-calc-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.risk-calc-cta-note {
  font-size: 13px;
  color: #6C7378;
  font-family: 'Inter', sans-serif;
}
@media (max-width: 1100px) {
  .risk-calc-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .risk-calc-tiles { grid-template-columns: repeat(2, 1fr); }
  .rc-output { grid-column: 1 / -1; }
  .risk-calc { padding: 40px 0 32px; }
}

/* ── PROBLEM SECTION ── */
.problem-section {
  background: var(--bg);
  color: var(--charcoal);
  padding: 5rem 0;
}
.problem-section .section-label { color: var(--gray); }
.problem-section .section-title { color: var(--charcoal); }
.problem-section .section-sub { color: var(--gray); }

.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.problem-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.problem-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.problem-stat .stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #C6A648;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.problem-stat .stat-label {
  font-size: 0.825rem;
  color: #6C7378;
  line-height: 1.4;
}

.problem-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.problem-callout {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
}

.problem-source {
  font-size: 0.75rem;
  color: #6C7378;
  font-style: italic;
}

/* ── RISK TABLE SECTION ── */
.risk-table-section {
  padding: 5rem 0;
  background: #fff;
}

.risk-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.risk-table th {
  padding: 0.75rem 1.25rem;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6C7378;
  border-bottom: 2px solid #dde2dd;
  background: #F8F9F7;
}

.risk-table td {
  padding: 1rem 1.25rem;
  vertical-align: top;
  border-bottom: 1px solid #dde2dd;
  color: #2B2F33;
  line-height: 1.5;
}

.risk-table tr:nth-child(even) td { background: #F8F9F7; }

.risk-table .col-risk { font-weight: 600; color: #1a2f22; }

.risk-table .col-without {
  color: #C62828;
}

.risk-table .col-with {
  color: #2E7D32;
}

.risk-table .col-with::before {
  content: '✓ ';
  font-weight: 700;
}

/* ── FOOTER CREDIBILITY LINE ── */
.footer-credibility {
  font-size: 0.75rem;
  color: #6C7378;
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .problem-layout { grid-template-columns: 1fr; gap: 2rem; }
  .risk-table { font-size: 0.8rem; }
  .risk-table th, .risk-table td { padding: 0.75rem; }
}

/* ── COURSE LIBRARY SECTION ── */
.library-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.library-grid {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.75rem;
  /* fade hint at right edge */
  -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

.library-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  flex: 0 0 300px;
  scroll-snap-align: start;
}

.library-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 0.85rem;
}

.library-badge--foundation { background: #1F4D3A18; color: var(--green); }
.library-badge--specialized { background: #2D6CDF18; color: #2D6CDF; }
.library-badge--field       { background: #C6A64818; color: #8a6e00; }
.library-badge--planning    { background: #6B21A818; color: #6B21A8; }

.library-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.library-card > p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.library-stats {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.library-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.library-stat strong {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.library-stat span {
  font-size: 0.7rem;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
}

.library-topics {
  font-size: 0.75rem;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .library-card { flex: 0 0 260px; }
}

@media (max-width: 640px) {
  .nav-link { display: none; }
  .btn-ghost { display: none; }
  .nav-cta-desktop { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 3.5rem 1rem 3rem; }
  .hero-trust { display: flex; flex-direction: column; gap: 0.25rem; align-items: center; }
  .hero-trust span { display: none; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid--two .pricing-card { flex: 0 0 100%; max-width: 100%; }
  .pricing-card.is-popular { order: -1; }

  .standard-box { padding: 1.25rem; }
  .footer-right { text-align: left; }
  .footer-links { justify-content: flex-start; }

  section { padding: 3rem 1rem; }

  .problem-stats { grid-template-columns: 1fr; }
  .risk-table-section { overflow-x: auto; }
  .risk-table { min-width: 600px; }
}
