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

/* ─── TOKENS ─── */
:root {
  --navy:         #0d1b2a;
  --navy-mid:     #132336;
  --navy-light:   #1e3a52;
  --teal:         #1a9c82;
  --teal-light:   #22b99a;
  --teal-pale:    #e6f5f2;
  --gold:         #c9a96e;
  --gold-light:   #e8c98a;
  --cream:        #faf8f4;
  --white:        #ffffff;
  --text-dark:    #0d1b2a;
  --text-mid:     #3d5166;
  --text-light:   #4d6478;
  --border:       rgba(13,27,42,0.10);
  --border-light: rgba(255,255,255,0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
  --shadow-sm:    0 2px 12px rgba(13,27,42,0.08);
  --shadow-md:    0 8px 32px rgba(13,27,42,0.12);
  --shadow-lg:    0 24px 64px rgba(13,27,42,0.16);
}

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

/* ─── SKIP LINK (ADA) ─── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--teal); color: var(--white);
  padding: 0.75rem 1.5rem; border-radius: 0 0 6px 6px;
  font-size: 0.9rem; font-weight: 500; z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; font-weight: 500; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--text-mid); }
.lead { font-size: 1.15rem; color: var(--text-mid); line-height: 1.85; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #0e7b64; display: block; margin-bottom: 0.75rem;
}
.eyebrow-light { color: var(--teal-light) !important; }

/* ─── LAYOUT ─── */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 820px;  margin: 0 auto; padding: 0 2rem; }
section           { padding: 6rem 0; }
section.tight     { padding: 4rem 0; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.2rem;
  font-weight: 500; color: var(--white); letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.7); letter-spacing: 0.04em;
  transition: color var(--transition); position: relative; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 3px; border-radius: 3px; }
.nav-cta {
  background: var(--teal) !important; color: var(--white) !important;
  padding: 0.5rem 1.15rem; border-radius: 4px;
  font-size: 0.8rem !important; transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--teal-light) !important; }
.nav-cta::after { display: none !important; }
.nav-mobile-toggle {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
  min-width: 32px; min-height: 32px; align-items: center; justify-content: center;
}
.nav-mobile-toggle span {
  width: 22px; height: 2px; background: rgba(255,255,255,0.8);
  border-radius: 2px; transition: var(--transition); display: block;
}
.nav-mobile-toggle:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 3px; border-radius: 3px; }

/* ─── BREADCRUMBS ─── */
.breadcrumb {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
}
.breadcrumb-list {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
}
.breadcrumb-list a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.breadcrumb-list a:hover { color: var(--teal-light); }
.breadcrumb-list a:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; border-radius: 2px; }
.breadcrumb-sep { color: rgba(255,255,255,0.25); }
.breadcrumb-current { color: rgba(255,255,255,0.75); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-body); font-size: 0.88rem;
  font-weight: 500; letter-spacing: 0.04em;
  border-radius: 4px; cursor: pointer;
  transition: all var(--transition); border: none;
  text-decoration: none;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,156,130,0.35); }
.btn-primary:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.btn-outline-dark { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-outline-dark:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 500; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,169,110,0.4); }
.btn-gold:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* ─── SECTION HEADERS ─── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ─── GRIDS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ─── PAGE HERO (interior pages) ─── */
.page-hero {
  background: var(--navy);
  padding: 9rem 0 5rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,156,130,0.16) 0%, transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero p { color: rgba(255,255,255,0.62); font-size: 1.1rem; margin-top: 1.25rem; max-width: 620px; line-height: 1.8; }
.page-hero .hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.25rem; }
.plan-badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.plan-badge-pill {
  padding: 0.3rem 0.9rem; border-radius: 20px;
  font-size: 0.78rem; font-weight: 500;
  background: rgba(26,156,130,0.15);
  border: 1px solid rgba(26,156,130,0.3);
  color: var(--teal-light);
}

/* ─── TRUST STRIP ─── */
.trust-strip { background: var(--white); padding: 2.25rem 0; border-bottom: 1px solid var(--border); }
.trust-strip-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.86rem; font-weight: 500; color: var(--text-mid); }
.trust-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* ─── ICON CIRCLE ─── */
.icon-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-circle svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.8; }

/* ─── TEAL RULE ─── */
.teal-rule { width: 40px; height: 2px; background: var(--teal); margin: 1.25rem 0; }

/* ─── CARDS ─── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 2rem;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ─── SERVICE CARD ─── */
.service-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 8px; padding: 2rem;
  transition: all var(--transition);
}
.service-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card .icon-circle { margin-bottom: 1.25rem; }
.service-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--text-dark); }
.service-card p { font-size: 0.88rem; }
.service-card a { color: var(--teal); font-size: 0.82rem; font-weight: 500; margin-top: 0.85rem; display: inline-flex; align-items: center; gap: 0.3rem; }

/* ─── EMPLOYER CARDS (homepage) ─── */
.employer-card {
  background: var(--navy); border-radius: 10px; padding: 2rem;
  display: block; transition: all var(--transition);
  border: 1px solid var(--border-light);
  position: relative; overflow: hidden;
}
.employer-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(26,156,130,0.12) 0%, transparent 60%);
  transition: opacity var(--transition);
}
.employer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.employer-card:hover::before { opacity: 1.5; }
.employer-card:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 3px; border-radius: 10px; }
.employer-card-inner { position: relative; }
.employer-card-label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-light); font-weight: 500; margin-bottom: 0.65rem; }
.employer-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; color: var(--white); margin-bottom: 0.5rem; }
.employer-card p { font-size: 0.84rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 1.25rem; }
.employer-card .card-link { font-size: 0.82rem; color: var(--teal-light); font-weight: 500; display: inline-flex; align-items: center; gap: 0.3rem; }

/* ─── PLAN DETAIL CARDS (employer pages) ─── */
.plan-detail-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px; padding: 1.75rem;
}
.plan-detail-card h3 { font-family: var(--font-body); font-weight: 500; font-size: 0.98rem; color: var(--white); margin-bottom: 0.5rem; }
.plan-detail-card p { font-size: 0.87rem; color: rgba(255,255,255,0.6); line-height: 1.72; }
.plan-tag {
  display: inline-block; margin-bottom: 0.85rem;
  padding: 0.22rem 0.75rem; border-radius: 12px;
  font-size: 0.73rem; font-weight: 500;
  background: rgba(26,156,130,0.18);
  border: 1px solid rgba(26,156,130,0.3);
  color: var(--teal-light);
}
.plan-tag.gold { background: rgba(201,169,110,0.15); border-color: rgba(201,169,110,0.3); color: var(--gold-light); }
.plan-warning {
  margin-top: 1rem; padding: 0.85rem 1.1rem;
  background: rgba(201,169,110,0.10);
  border: 1px solid rgba(201,169,110,0.22);
  border-radius: 6px;
  font-size: 0.83rem; color: rgba(255,255,255,0.72); line-height: 1.65;
}
.plan-warning strong { color: var(--gold-light); }

/* ─── TRAP CARDS ─── */
.trap-card { background: var(--cream); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; }
.trap-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--teal); opacity: 0.3; line-height: 1; margin-bottom: 0.75rem; }
.trap-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 500; margin-bottom: 0.6rem; color: var(--text-dark); }
.trap-card p { font-size: 0.88rem; }

/* ─── PRICING ─── */
.pricing-card { background: var(--cream); border: 1px solid var(--border); border-radius: 8px; padding: 2.5rem; }
.pricing-card.featured { background: var(--navy); border-color: var(--teal); }
.pricing-card.featured h3 { color: var(--white); }
.pricing-card.featured .price { color: var(--teal-light); }
.pricing-card.featured p  { color: rgba(255,255,255,0.6); }
.pricing-card.featured .pricing-check { color: rgba(255,255,255,0.75); }
.pricing-card.featured .pricing-check::before { color: var(--teal-light); }
.pricing-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; }
.price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 400; color: var(--teal); line-height: 1.15; margin: 1rem 0 0.25rem; }
.price-sub { font-size: 0.82rem; margin-bottom: 1.5rem; }
.pricing-checks { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
.pricing-check { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.87rem; color: var(--text-mid); }
.pricing-check::before { content: '✓'; color: var(--teal); font-weight: 600; flex-shrink: 0; margin-top: 1px; }

/* ─── FAQ ACCORDION ─── */
.faq-list { display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--teal); border-radius: 6px; }
.faq-question-btn {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.2rem 1.5rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
}
.faq-question-btn h3 { font-family: var(--font-display); font-size: 0.97rem; font-weight: 600; color: var(--navy); line-height: 1.45; }
.faq-chevron {
  flex-shrink: 0; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); transition: transform var(--transition); margin-top: 2px;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 1.5rem 1.2rem; font-size: 0.91rem; color: var(--text-mid); line-height: 1.78; }
.faq-item.open .faq-answer { display: block; }
.faq-question-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* ─── PLAN TABLE ─── */
.plan-table-wrap { overflow-x: auto; margin-top: 3rem; }
.plan-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 640px; }
.plan-table th {
  text-align: left; padding: 0.8rem 1rem;
  font-family: var(--font-body); font-size: 0.7rem;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); border-bottom: 1px solid rgba(255,255,255,0.1);
}
.plan-table td { padding: 0.8rem 1rem; color: rgba(255,255,255,0.72); border-bottom: 1px solid rgba(255,255,255,0.06); vertical-align: top; }
.plan-table tr:last-child td { border-bottom: none; }
.plan-table .employer-col { color: var(--white); font-weight: 500; }
.plan-table .yes-mark { color: var(--teal-light); font-weight: 500; }
.plan-table .no-mark  { color: rgba(255,255,255,0.3); }
.plan-table .note-mark { color: var(--gold-light); }

/* ─── ABOUT ─── */
.about-visual { background: var(--navy); border-radius: 12px; padding: 2.5rem; position: relative; overflow: hidden; }
.about-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 30%, rgba(26,156,130,0.2) 0%, transparent 60%); }
.about-visual-content { position: relative; }
.about-visual-content h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.65rem; }
.about-visual-content p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.about-creds { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.65rem; }
.about-cred { display: flex; gap: 0.65rem; align-items: center; font-size: 0.83rem; color: rgba(255,255,255,0.62); }
.about-cred::before { content: '→'; color: var(--teal-light); font-size: 0.85rem; }

/* ─── CTA SECTION ─── */
.cta-section { background: var(--teal); text-align: center; }
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.88); font-size: 1.05rem; margin: 0.85rem auto 2.25rem; max-width: 560px; }

/* ─── FORMS (contact page) ─── */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; margin-bottom: 0.5rem; color: var(--text-dark); }
.form-group label .required { color: #c0392b; margin-left: 2px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid var(--border); border-radius: 4px;
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--text-dark); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,156,130,0.20);
}
.form-group input:invalid:not(:placeholder-shown), .form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { display: none; font-size: 0.8rem; color: #c0392b; margin-top: 0.35rem; }
.form-group input:invalid:not(:placeholder-shown) + .form-error { display: block; }

/* ─── FOOTER ─── */
footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { font-size: 1.15rem; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.86rem; line-height: 1.72; }
.footer-col h5 { font-family: var(--font-body); font-size: 0.73rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; }
.footer-col a { display: block; font-size: 0.86rem; color: rgba(255,255,255,0.6); margin-bottom: 0.6rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--teal-light); }
.footer-col a:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; border-radius: 2px; }
.footer-bottom { border-top: 1px solid var(--border-light); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.79rem; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: rgba(255,255,255,0.7); margin-left: 1.5rem; }
.footer-bottom a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom a:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; border-radius: 2px; }
.footer-disclaimer { padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--border-light); font-size: 0.77rem; color: rgba(255,255,255,0.3); line-height: 1.65; }

/* ─── ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .nav-links { gap: 1.1rem; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--navy); padding: 2rem; gap: 1.25rem;
    border-top: 1px solid var(--border-light); z-index: 99;
  }
  .nav-links.open a { font-size: 1rem; }
  .page-hero { padding: 8rem 0 4rem; }
}
@media (max-width: 640px) {
  section { padding: 4rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom a { margin-left: 0; margin-right: 1.25rem; }
  .trust-strip-inner { gap: 1.25rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
  .hero-proof { flex-wrap: wrap; gap: 0.65rem; }
  .hero-proof-divider { display: none; }
  h1 { font-size: 2rem; }
}
