/* ==========================================================
   Konnect Score — Global styles
   Brand: Konnect blue #1872B4, near-black #1A1A1A, peach gradient
   Mobile-first (90%+ traffic). Desktop scales up.
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============== TYPOGRAPHY ============== */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #c47a4a;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

/* ============== HERO ============== */
.hero {
  background: linear-gradient(135deg, #fde7d3 0%, #f9d4c0 50%, #f5c8b8 100%);
  padding: 96px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  right: -120px;
  top: -80px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.45), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin-bottom: 24px;
}
.hero p {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: #4a4a4a;
  max-width: 640px;
  margin: 0 auto 32px;
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: #1a1a1a;
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.btn-secondary {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}
.btn-text {
  background: none;
  border: none;
  color: #6b747d;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 8px;
  font-family: inherit;
}
.btn-text:hover { color: #1a1a1a; }

.btn-microcopy {
  margin-top: 16px;
  font-size: 13px;
  color: #6b747d;
}

/* ============== SECTION PATTERNS ============== */
.section {
  padding: 80px 24px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #1a1a1a;
}

/* ============== VALUE PROPS (3-up grid) ============== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.value-card {
  text-align: center;
  padding: 24px;
}
.value-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}
.value-card p {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.65;
}

/* ============== STEPS (how it works) ============== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.step {
  position: relative;
  padding: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1872B4;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a1a;
}
.step p {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.6;
}

/* ============== WHO BUILT THIS ============== */
.builder-section {
  background: #fff8f1;
}
.builder-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.builder-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fde7d3, #f5c8b8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: #c47a4a;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
}
.builder-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.builder-content p {
  font-size: 16px;
  line-height: 1.65;
  color: #4a4a4a;
  margin-bottom: 14px;
}
.builder-pedigree {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0d8b8;
}
.builder-pedigree-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #c47a4a;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.builder-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #6b747d;
}

/* ============== FAQ ============== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #ece8e0;
  padding: 20px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 500;
  color: #1a1a1a;
}
.faq-toggle {
  font-size: 24px;
  color: #c47a4a;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.65;
}
.faq-item.open .faq-a {
  max-height: 240px;
  padding-top: 12px;
}

/* ============== CLOSING CTA ============== */
.closing-section {
  padding: 0 24px 100px;
}
.closing {
  background: linear-gradient(135deg, #fde7d3, #fad4c0);
  border-radius: 28px;
  padding: 72px 32px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.closing h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #1a1a1a;
  margin-bottom: 20px;
}

/* ============== FOOTER ============== */
.footer {
  border-top: 1px solid #ece8e0;
  padding: 32px 24px;
  background: #fff;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: #6b747d;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #6b747d;
  text-decoration: none;
}
.footer-links a:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

/* ============== VARIANT VISIBILITY ============== */
[data-variant] { display: none; }
body.variant-default [data-variant="default"],
body.variant-owner [data-variant="owner"],
body.variant-hrpro [data-variant="hrpro"] {
  display: block;
}

/* ============== COOKIE BANNER ============== */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: 360px;
  background: #fff;
  border: 1px solid #ece8e0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 18px 20px;
  z-index: 1000;
  font-size: 13px;
  color: #4a4a4a;
  line-height: 1.55;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.cookie-banner .accept-all {
  background: #1a1a1a;
  color: #fff;
}
.cookie-banner .required-only {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

/* ============== MOBILE ============== */
@media (max-width: 800px) {
  .hero { padding: 64px 20px 72px; }
  .section { padding: 56px 20px; }
  .closing { padding: 56px 24px; }
  .builder-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .builder-photo {
    margin: 0 auto;
    width: 140px;
    height: 140px;
    font-size: 48px;
  }
  .builder-logos { justify-content: center; }
  .footer-inner { flex-direction: column; }
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

/* ============== TOP NAV ============== */
.top-nav {
  background: #ffffff;
  border-bottom: 1px solid #ece8e0;
  padding: 14px 24px;
  position: relative;
  z-index: 10;
}
.top-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.top-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.top-nav-logo img {
  height: 32px;
  width: auto;
  max-height: 32px;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.top-nav-links {
  display: flex;
  gap: 24px;
}
.top-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #4a4a4a;
  text-decoration: none;
  transition: color 0.15s;
}
.top-nav-links a:hover {
  color: #1872B4;
}
@media (max-width: 600px) {
  .top-nav { padding: 12px 16px; }
  .top-nav-logo img { height: 26px; max-height: 26px; max-width: 120px; }
  .top-nav-links { gap: 16px; }
  .top-nav-links a { font-size: 13px; }
}
