/* Payroll Partners — Assessment Landing Page (static clone) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --blue: #005db4;
  --blue-dark: #004a90;
  --teal: #08c6d2;
  --teal-light: #77e7ed;
  --teal-pale: #eaf9fa;
  --text: #1c2733;
  --text-muted: #5e666f;
  --bg-alt: #f3f4f5;
  --border: #e3e6e9;
  --amber-bg: #fdf1de;
  --amber-text: #b9762a;
  --red-bg: #fbe9e7;
  --red-text: #c1502f;
  --teal-badge-bg: #e3f8f8;
  --teal-badge-text: #0aa5ae;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 6px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.06);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow--on-dark { color: var(--teal-light); }
h1, h2, h3, h4 { font-weight: 900; color: var(--blue); margin: 0; }
.section-heading {
  font-size: 40px;
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: center;
}
.section-sub {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
}
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 56px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); opacity: 0.95; }
.btn--teal { background: var(--teal); color: #fff; }
.btn--outline-dark { border-color: rgba(255,255,255,0.6); color: #fff; background: rgba(0,0,0,0.15); }
.btn--outline-blue { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--sm { padding: 10px 20px; font-size: 14px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  flex-shrink: 0;
}
.logo-text .top { font-weight: 800; font-size: 17px; color: var(--blue); line-height: 1.1; }
.logo-text .bottom { font-size: 13px; color: var(--text-muted); line-height: 1.1; }
.main-nav { display: flex; align-items: center; gap: 32px; flex: 1; justify-content: center; }
.main-nav a { font-weight: 600; font-size: 14.5px; color: var(--blue); }
.main-nav a:hover { text-decoration: underline; }
.header-ctas { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  padding: 120px 0 220px;
  background: #1b2431;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,20,0.72), rgba(10,14,20,0.6));
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 {
  color: #fff;
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--teal); }
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  margin: 0 auto 36px;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.trust-row {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  font-size: 14.5px; color: rgba(255,255,255,0.85);
}
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 17px; height: 17px; color: var(--teal-light); }

/* Efficiency preview floating card */
.preview-card {
  position: relative;
  margin: -140px auto 0;
  max-width: 1040px;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 3;
}
.preview-card__bar {
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.preview-card__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px;
}
.preview-card__head h3 { font-size: 19px; color: var(--blue); }
.preview-card__head .link { color: var(--teal); font-weight: 800; font-size: 13.5px; letter-spacing: 0.03em; }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}
.preview-grid > div { padding: 22px 28px; border-right: 1px solid var(--border); }
.preview-grid > div:last-child { border-right: none; }
.preview-grid .label { font-weight: 700; font-size: 14.5px; margin-bottom: 12px; }
.bar-track { height: 6px; border-radius: 3px; background: #e4e7ea; margin-bottom: 12px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 3px; }
.preview-grid .status { font-size: 13px; font-weight: 700; color: var(--blue-dark); }

/* Icon feature columns (3-up) */
.icon-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.icon-feature { text-align: center; }
.icon-circle {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid #ddf3f4;
}
.icon-circle svg { width: 34px; height: 34px; color: var(--blue); }
.icon-feature h4 { font-size: 18px; margin-bottom: 10px; }
.icon-feature p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* Cost cards (4-up) */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cost-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
}
.cost-card:nth-child(2) { border-top-color: var(--teal); }
.cost-card:nth-child(3) { border-top-color: var(--teal); }
.cost-card:nth-child(4) { border-top-color: #6b7280; }
.cost-card .icon-circle { width: 64px; height: 64px; margin: 0 0 22px; }
.cost-card .icon-circle svg { width: 26px; height: 26px; }
.cost-card h4 { font-size: 18px; margin-bottom: 10px; }
.cost-card p { color: var(--text-muted); font-size: 14.5px; margin: 0 0 20px; }
.info-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; font-style: italic;
  border: none;
}

/* Five parts hub */
.hub-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hub-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 900px; }
.hub-badge {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--teal-pale);
  color: var(--blue);
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid #ddf3f4;
}
.hub-center {
  margin-top: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.hub-center h4 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.hub-center p { color: rgba(255,255,255,0.85); margin: 0; font-size: 15px; }

/* Six-card integrated solution grid */
.six-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.six-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.six-card .icon-circle { width: 60px; height: 60px; margin: 0 0 20px; }
.six-card .icon-circle svg { width: 24px; height: 24px; }
.six-card h4 { font-size: 17.5px; margin-bottom: 10px; }
.six-card p.desc { color: var(--text-muted); font-size: 14.5px; margin: 0 0 16px; }
.six-card .benefit {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-weight: 700;
  color: var(--blue);
  font-size: 14.5px;
  margin: 0;
}

/* Technology grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}
.tech-pill {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  font-weight: 700;
  color: var(--blue);
  font-size: 14.5px;
}
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 4px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--blue);
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--teal);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--text-muted); margin: 12px 0 0; font-size: 14.5px; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.step-card { text-align: center; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  margin: 0 auto 18px;
}
.step-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 14px; margin: 0; }
.center-cta { text-align: center; }

/* Sample results */
.score-card {
  border: 1px solid var(--border);
  border-top: 5px solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 40px;
}
.score-card > div { padding: 36px 40px; border-right: 1px solid var(--border); }
.score-card > div:last-child { border-right: none; }
.score-card .label {
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
.score-big { font-size: 48px; font-weight: 900; color: var(--blue); }
.score-big .of100 { font-size: 20px; color: var(--teal); font-weight: 800; }
.badge-pill {
  display: inline-block; margin-top: 14px;
  padding: 7px 16px; border-radius: 999px;
  font-weight: 700; font-size: 13.5px;
}
.badge-pill--amber { background: var(--amber-bg); color: var(--amber-text); }
.badge-pill--red { background: var(--red-bg); color: var(--red-text); }
.badge-pill--teal { background: var(--teal-badge-bg); color: var(--teal-badge-text); }
.cost-range { font-size: 30px; font-weight: 900; color: var(--blue); line-height: 1.2; }
.score-card .note { color: var(--text-muted); font-size: 13.5px; margin-top: 8px; }
.action-title { font-size: 19px; font-weight: 800; color: var(--blue); margin-bottom: 6px; }

.bars-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.bar-row {
  display: flex; align-items: center; gap: 24px;
  padding: 26px 36px;
  border-bottom: 1px solid var(--border);
}
.bar-row:last-child { border-bottom: none; }
.bar-row .name { width: 190px; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.bar-row .mid { flex: 1; }
.bar-row .score { width: 56px; text-align: right; font-weight: 800; font-size: 20px; color: var(--blue); }

/* Testimonial */
.testimonial-card {
  max-width: 820px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 56px 64px;
  text-align: center;
}
.quote-mark { font-size: 64px; color: var(--teal); font-weight: 900; line-height: 0.5; margin-bottom: 12px; height: 40px;}
.testimonial-card p.quote { font-size: 19px; color: var(--text); margin-bottom: 28px; }
.testimonial-card .name { font-weight: 800; color: var(--blue); font-size: 17px; }
.testimonial-card .role { color: var(--text-muted); font-size: 14.5px; margin-top: 4px; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; }
.carousel-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--blue); background: #fff; color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots span { width: 9px; height: 9px; border-radius: 50%; background: #d7dade; }
.carousel-dots span.active { background: var(--blue); }

/* People section */
.people-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 32px 0; }
.people-badges span {
  padding: 10px 20px; border-radius: 999px;
  background: var(--teal-pale); color: var(--blue);
  font-weight: 700; font-size: 14px; border: 1px solid #ddf3f4;
}

/* Final CTA (light) */
.final-cta { text-align: center; }
.final-cta .hero-ctas { margin-top: 28px; }
.final-cta .fine-print { color: var(--text-muted); font-size: 13.5px; margin-top: 18px; }

/* Dark banner */
.dark-banner {
  position: relative;
  padding: 90px 0 0;
  color: #fff;
  overflow: hidden;
}
.dark-banner .hero-bg::after { background: rgba(8,12,18,0.72); }
.dark-banner .container { position: relative; z-index: 2; }
.dark-banner h2 { color: #fff; font-size: 32px; max-width: 900px; margin: 0 auto 40px; text-align: center; }
.dark-banner h2 .accent { color: var(--teal); }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 32px;
  padding-bottom: 40px; margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  font-weight: 600; font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand { display: flex; gap: 12px; margin-bottom: 18px; }
.footer-brand .logo-mark { background: var(--teal); }
.footer-brand .top { color: #fff; }
.footer-address { color: rgba(255,255,255,0.75); font-size: 14.5px; display: flex; gap: 10px; }
.footer-col h5 { color: var(--teal-light); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 18px; }
.social-row { display: flex; gap: 12px; }
.social-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.social-circle svg { width: 18px; height: 18px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: rgba(255,255,255,0.85); }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list svg { width: 16px; height: 16px; color: var(--teal-light); flex-shrink: 0; }
.contact-list a.underline { text-decoration: underline; }
.footer-bottom {
  text-align: center; padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6); font-size: 13.5px;
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .icon-features, .cost-grid, .six-grid, .tech-grid, .steps-grid, .score-card, .footer-grid { grid-template-columns: 1fr 1fr; }
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 640px) {
  .icon-features, .cost-grid, .six-grid, .tech-grid, .steps-grid, .score-card, .footer-grid, .preview-grid { grid-template-columns: 1fr; }
  .score-card > div, .preview-grid > div { border-right: none; border-bottom: 1px solid var(--border); }
  .hero { padding: 90px 0 300px; }
  .testimonial-card { padding: 36px 24px; }
  .bar-row { flex-wrap: wrap; }
  .bar-row .name { width: 100%; }
}

/* ===== Assessment modal ===== */
.assess-overlay {
  position: fixed; inset: 0;
  background: #fff;
  z-index: 1000;
  display: none;
  overflow-y: auto;
}
.assess-overlay.open { display: block; }
.assess-modal { min-height: 100%; }
.assess-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: #fff; z-index: 2;
}
.assess-exit {
  background: none; border: none; color: var(--text-muted);
  font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px;
}
.assess-exit:hover { color: var(--text); }
.assess-progress-track { height: 5px; background: var(--bg-alt); }
.assess-progress-fill { height: 100%; background: var(--blue); width: 4%; transition: width 0.3s ease; }
.assess-body { max-width: 640px; margin: 0 auto; padding: 48px 24px 80px; }

.assess-intro { text-align: left; }
.assess-icons-col { display: flex; flex-direction: column; align-items: center; gap: 28px; margin: 40px 0; }
.assess-icons-col .icon-circle { width: 68px; height: 68px; margin-bottom: 10px; }
.assess-icons-col .icon-circle svg { width: 28px; height: 28px; }
.assess-icons-col .cat-item { text-align: center; }
.assess-icons-col .cat-item.active .icon-circle { border-color: var(--blue); background: #eaf3fc; }
.assess-icons-col .cat-item.active .icon-circle svg { color: var(--blue); }
.assess-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 32px 0; }
.assess-checks span { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 15px; }
.assess-checks svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }

.assess-cat-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.assess-cat-badge { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--blue); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.assess-cat-badge .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.assess-cat-badge .dot svg { width: 15px; height: 15px; }
.assess-step-count { color: var(--text-muted); font-size: 15px; }
.assess-question h3 { font-size: 26px; margin-bottom: 14px; }
.assess-question .help { color: var(--text-muted); font-size: 15.5px; margin-bottom: 32px; }
.assess-options { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.assess-option {
  display: flex; align-items: center; gap: 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  font-weight: 600; font-size: 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  text-align: left;
  background: #fff;
}
.assess-option:hover { border-color: var(--teal); background: var(--teal-pale); }
.assess-option.selected { border-color: var(--blue); background: #eaf3fc; }
.assess-option .radio {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #c7ccd1; flex-shrink: 0;
  position: relative;
}
.assess-option.selected .radio { border-color: var(--blue); }
.assess-option.selected .radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--blue);
}
.assess-nav { display: flex; align-items: center; justify-content: space-between; }
.assess-back { background: none; border: none; color: var(--blue); font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 4px; }
.assess-back:disabled { opacity: 0.35; }
.assess-skip { background: none; border: none; color: var(--text-muted); font-weight: 600; font-size: 15px; }
.assess-continue { border: none; }
.assess-continue:disabled { background: #cfd3d7; color: #fff; cursor: not-allowed; }

.assess-lead .form-row { margin-bottom: 20px; }
.assess-lead label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; color: var(--text); }
.assess-lead input {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); font-size: 15px; font-family: inherit;
}
.assess-lead input:focus { outline: none; border-color: var(--blue); }

.assess-note {
  background: var(--teal-pale); border: 1px solid #ddf3f4; border-radius: var(--radius-md);
  padding: 16px 20px; font-size: 14px; color: var(--text-muted); margin-top: 24px;
}
