/* ─────────────────────────────────────────────────────────────
   Shift Support Network - Partner Landing Page System
   Shared design tokens (extracted from shiftsupportnetwork-redesign.html)
   v1.0 - 2026-05-08
   ───────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:     #3E5343;
  --purple-mid: #5E7561;
  --purple-lt:  #E3EADE;
  --purple-xlt: #F3EEE1;
  --teal: #5E7561;
  --teal-lt:    #F0FDFA;
  --blue: #3E5343;
  --blue-lt:    #EFF6FF;
  --green:      #059669;
  --green-lt:   #ECFDF5;
  --amber:      #D97706;
  --amber-lt:   #FFFBEB;
  --red:        #B91C1C;
  --red-lt:     #FEF2F2;
  --ink:        #1C2B27;
  --ink2:       #3B4742;
  --slate:      #334155;
  --muted:      #64748B;
  --bg:         #FBF8F1;
  --white:      #FFFFFF;
  --border:     #E4E4E7;
  --shadow-sm:  0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow:     0 4px 16px rgba(28,43,39,.08), 0 2px 8px rgba(15,23,42,.06);
  --shadow-md:  0 8px 32px rgba(28,43,39,.1), 0 4px 12px rgba(15,23,42,.08);
  --shadow-lg:  0 20px 60px rgba(28,43,39,.12), 0 8px 24px rgba(15,23,42,.10);
  --r:    16px;
  --r2:   12px;
  --r3:   8px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', -apple-system, system-ui, sans-serif;
  color: var(--ink); background: var(--white);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Lexend', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--purple); margin-bottom: 14px;
}
.tag::before {
  content: ''; display: block;
  width: 16px; height: 2px; background: var(--purple); border-radius: 2px;
}

h2.title {
  font-family: 'Lexend', sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800; letter-spacing: -0.8px; line-height: 1.12;
  color: var(--ink); margin-bottom: 16px;
}
h2.title span { color: var(--purple-mid); }
.lead { font-size: 17px; color: var(--muted); line-height: 1.75; max-width: 560px; }

/* NAV */
nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 48px); max-width: 1120px; z-index: 200;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border: 1px solid rgba(228,228,231,.8);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(15,23,42,.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--ink); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { line-height: 1.25; }
.logo-text .t1 { font-family: 'Lexend', sans-serif; font-size: 13.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; }
.logo-text .t2 { font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: 0.3px; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--slate); text-decoration: none; padding: 7px 13px; border-radius: 10px; transition: background .15s, color .15s; cursor: pointer; }
.nav-links a:hover { background: var(--purple-xlt); color: var(--purple); }
.nav-links .cta {
  background: var(--purple); color: white !important;
  font-family: 'Lexend', sans-serif; font-weight: 600;
  padding: 8px 16px; margin-left: 4px;
}
.nav-links .cta:hover { background: var(--purple-mid); }

/* HOTLINE PILL */
.hotline-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: white;
  font-family: 'Lexend', sans-serif; font-weight: 600; font-size: 13.5px;
  padding: 8px 14px; border-radius: 10px; text-decoration: none;
  transition: background .15s;
}
.hotline-pill:hover { background: var(--purple); }
.hotline-pill svg { width: 14px; height: 14px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Lexend', sans-serif; font-size: 14.5px; font-weight: 600;
  text-decoration: none; padding: 13px 26px; border-radius: var(--r2);
  transition: all .2s; border: none; cursor: pointer;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-purple { background: var(--purple); color: white; box-shadow: 0 4px 16px rgba(28,43,39,.3); }
.btn-purple:hover { background: var(--purple-mid); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(28,43,39,.38); }
.btn-teal  { background: var(--teal); color: white; box-shadow: 0 4px 14px rgba(15,118,110,.25); }
.btn-teal:hover { background: #0f6460; transform: translateY(-1px); }
.btn-outline { background: white; color: var(--ink); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--purple-lt); background: var(--purple-xlt); color: var(--purple); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.12); color: white; border: 1.5px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); transform: translateY(-1px); }

/* HERO */
.hero {
  padding: 130px 0 90px;
  background: var(--white);
  overflow: hidden; position: relative;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(28,43,39,.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(15,118,110,.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 20%, rgba(29,78,216,.04) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .018;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-lt); border: 1px solid #A7F3D0;
  color: var(--green); font-size: 12px; font-weight: 600;
  font-family: 'Lexend', sans-serif;
  padding: 5px 13px; border-radius: 100px; margin-bottom: 20px;
}
.eyebrow-pulse {
  width: 7px; height: 7px; background: var(--green); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(5,150,105,.4); }
  70%  { box-shadow: 0 0 0 7px rgba(5,150,105,0); }
  100% { box-shadow: 0 0 0 0 rgba(5,150,105,0); }
}
h1.hero-h1 {
  font-family: 'Lexend', sans-serif;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800; line-height: 1.1; letter-spacing: -1.1px;
  color: var(--ink); margin-bottom: 22px; max-width: 880px;
}
h1.hero-h1 span {
  background: linear-gradient(135deg, var(--purple-mid), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 18px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; max-width: 680px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; }
.htrust { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.htrust svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }

/* PAYER STRIP */
.payer-strip {
  background: var(--bg);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.payer-strip-label {
  text-align: center;
  font-family: 'Lexend', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.payer-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
.payer-grid .ins-item {
  background: white; border: 1px solid var(--border); border-radius: var(--r2);
  padding: 14px 8px; text-align: center;
  font-family: 'Lexend', sans-serif; font-size: 12px; font-weight: 600; color: var(--slate);
}

/* SECTION */
.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .tag { justify-content: center; }
.section-header.centered .tag::before { display: none; }
.section-header.centered .lead { margin: 0 auto; }

/* HOW WE WORK - 3 STEP */
.flow {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.flow-card {
  background: white; border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.flow-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.flow-n {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--purple-xlt); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lexend', sans-serif; font-weight: 800; font-size: 16px;
  margin-bottom: 18px;
}
.flow-card h3 { font-family: 'Lexend', sans-serif; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -.2px; }
.flow-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* PROMISE BAND */
.promise {
  background: linear-gradient(135deg, var(--ink) 0%, #1a1040 100%);
  padding: 56px 0; position: relative; overflow: hidden;
}
.promise::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(28,43,39,.18) 0%, transparent 60%);
}
.promise-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 36px;
  position: relative; z-index: 1;
}
.promise-cell h4 {
  font-family: 'Lexend', sans-serif; color: white;
  font-size: 22px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 6px;
}
.promise-cell h4 em { font-style: normal; color: #A78BFA; }
.promise-cell p { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.6; }

/* FACT GRID */
.facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.fact-card {
  background: white; border: 1px solid var(--border); border-radius: var(--r2);
  padding: 22px; display: flex; gap: 14px; align-items: flex-start;
  transition: box-shadow .2s, border-color .2s;
}
.fact-card:hover { border-color: var(--purple-lt); box-shadow: var(--shadow); }
.fact-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple-xlt); color: var(--purple);
}
.fact-icon svg { width: 19px; height: 19px; }
.fact-card h4 { font-family: 'Lexend', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.fact-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* COMPARISON / SPLIT */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }

/* FORM */
.form-card {
  background: white; border: 1px solid var(--border); border-radius: var(--r);
  padding: 36px; box-shadow: var(--shadow-md);
}
.form-card h3 {
  font-family: 'Lexend', sans-serif; font-size: 22px; font-weight: 800;
  color: var(--ink); margin-bottom: 6px; letter-spacing: -.3px;
}
.form-card .form-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.single { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; }
.field label {
  font-family: 'Lexend', sans-serif; font-size: 11.5px; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase; color: var(--slate);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  font-family: 'Source Sans 3', sans-serif; font-size: 14.5px;
  padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  color: var(--ink); background: white; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(28,43,39,.12);
}
.field textarea { min-height: 90px; resize: vertical; }
.form-disclaimer {
  margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.55;
}
.form-disclaimer a { color: var(--purple); }

/* COMPLIANCE FOOTER */
.compliance {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 36px 0;
}
.compliance p {
  max-width: 920px; margin: 0 auto;
  font-size: 12px; color: var(--muted); line-height: 1.7; text-align: center;
}
.compliance strong { color: var(--slate); }
.compliance-badges {
  display: flex; justify-content: center; gap: 12px; margin-top: 16px; flex-wrap: wrap;
}
.compliance-badge {
  font-family: 'Lexend', sans-serif; font-size: 10.5px; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase; color: var(--slate);
  background: white; border: 1px solid var(--border); padding: 6px 12px; border-radius: 100px;
}

/* FOOTER */
footer { background: var(--ink); padding: 56px 0 28px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 52px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 24px; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px; }
.footer-logo-mark { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.footer-logo-mark svg { width: 20px; height: 20px; }
.footer-logo-text .t1 { font-family: 'Lexend', sans-serif; color: white; font-size: 13px; font-weight: 700; }
.footer-logo-text .t2 { color: rgba(255,255,255,.62); font-size: 10.5px; font-weight: 500; letter-spacing: .5px; }
.footer-tagline { color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.7; max-width: 320px; margin-bottom: 18px; }
.footer-contact a { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.55); font-size: 13px; text-decoration: none; margin-bottom: 8px; transition: color .2s; }
.footer-contact a:hover { color: white; }
.footer-contact a svg { width: 13px; height: 13px; color: #A78BFA; flex-shrink: 0; }
.footer-col h5 { font-family: 'Lexend', sans-serif; color: rgba(255,255,255,.88); font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.5); font-size: 13px; text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: rgba(255,255,255,.95); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { color: rgba(255,255,255,.55); font-size: 12px; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: rgba(255,255,255,.55); font-size: 12px; text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,.95); }

/* ACCESSIBILITY - focus-visible + skip-link */
:focus-visible { outline: 3px solid #3E5343; outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 3px; box-shadow: 0 0 0 4px rgba(28,43,39,.18); }
.skip-link {
  position: absolute; top: -50px; left: 12px;
  background: #3E5343; color: #fff; padding: 10px 16px; border-radius: 8px;
  font-family: 'Lexend', sans-serif; font-size: 13px; font-weight: 600;
  text-decoration: none; z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* MOBILE NAV - hamburger fallback so all links remain reachable */
.nav-toggle { display: none; }
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    color: #fff; cursor: pointer; padding: 0; margin-left: auto;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .nav-links {
    display: none !important;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: rgba(15,23,42,.97); backdrop-filter: blur(14px);
    flex-direction: column; gap: 0; padding: 14px 18px;
    border-radius: 14px; border: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex !important; }
  .nav-links li { display: list-item !important; }
  .nav-links li:not(:last-child) { display: list-item !important; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links li a {
    display: block; padding: 12px 4px; font-size: 15px;
  }
  .nav-links .hotline-pill { margin-top: 10px; justify-content: center; }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  nav { width: calc(100% - 32px); top: 12px; border-radius: 14px; }
  .nav-links li:not(:last-child) { display: none; }
  .payer-grid { grid-template-columns: repeat(3,1fr); }
  .flow { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; gap: 24px; }
  .facts { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .hero { padding: 100px 0 60px; }
  .section { padding: 60px 0; }
  .form-card { padding: 24px; }
  .payer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Mobile tap-target floor: iOS HIG / Material minimum 44x44 */
@media (max-width: 768px) {
  .nav-toggle { min-width: 44px; min-height: 44px; }
  footer a[href^="tel:"], footer a[href^="mailto:"] {
    display: inline-block; min-height: 44px; line-height: 44px; padding: 0 4px;
  }
}
