/* ── Capable AI — shared styles ── */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(226,232,240,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226,232,240,0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  background-attachment: fixed;
  color: #0f0e0c;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── OFFER NAV ARROWS ── */
.offer-nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  color: #c0b8ae;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
  padding: 20px 14px;
  transition: color 0.18s ease;
  user-select: none;
}
.offer-nav-arrow:hover { color: #0f0e0c; }
.offer-nav-arrow--prev { left: 16px; }
.offer-nav-arrow--next { right: 16px; }
@media (max-width: 768px) { .offer-nav-arrow { display: none; } }

/* ── SITE NAV ── */
.site-nav {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1100;
}
.site-nav-btn {
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 18px rgba(37,99,235,0.18);
}
.site-nav-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37,99,235,0.22);
}
.site-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.66);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.site-nav-panel {
  position: fixed;
  top: 76px;
  right: 24px;
  width: min(360px, calc(100vw - 32px));
  background: rgba(255,255,255,0.96);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 20px 48px rgba(15,14,12,0.1), 0 8px 16px rgba(15,14,12,0.06);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.site-nav.open .site-nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}
.site-nav.open .site-nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.site-nav-brand {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #0f0e0c;
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2f7;
}
.site-nav-brand-accent {
  display: inline-block;
  background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 28%, #2563eb 62%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-nav-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f0e0c;
  padding: 4px 0;
  display: block;
}
.site-nav-group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf2f7;
}
.site-nav-link,
.site-nav-sublink {
  text-decoration: none;
  display: block;
  color: #0f0e0c;
}
.site-nav-link {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 4px 0;
}
.site-nav-link:hover,
.site-nav-sublink:hover {
  color: #2563eb;
}
.site-nav-sub {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding-left: 2px;
}
.site-nav-sublink {
  font-size: 12px;
  font-weight: 500;
  color: #7a7268;
  letter-spacing: 0.04em;
}

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  padding: 80px 40px 72px;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}
.hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #3b82f6;
  font-weight: 500;
  margin-bottom: 14px;
  display: block;
}
.display-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #0e0c0a;
  margin-bottom: 20px;
}
.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #0e0c0a;
  margin-bottom: 14px;
}
.intro-text {
  font-size: 16px;
  font-weight: 300;
  color: #5a5248;
  line-height: 1.75;
  max-width: 560px;
}
.section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #3b82f6;
  font-weight: 500;
  margin-bottom: 22px;
  display: block;
}
.body-text {
  font-size: 15px;
  font-weight: 300;
  color: #5a5248;
  line-height: 1.75;
}
.body-text + .body-text { margin-top: 14px; }

/* ── META BAR ── */
.meta-bar {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin: 32px 0 60px;
}
.meta-item .m-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #3b82f6;
  font-weight: 500;
  margin-bottom: 5px;
}
.meta-item .m-val { font-size: 14px; font-weight: 500; color: #0e0c0a; }

/* ── PAGE WRAP ── */
.page-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 40px 100px;
}
.page-section { margin-bottom: 80px; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 24px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card:hover { border-color: #c8d4e0; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.card-num { font-size: 10px; letter-spacing: 0.1em; color: #d0c8bc; font-weight: 500; margin-bottom: 10px; }
.card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  color: #0e0c0a;
  margin-bottom: 8px;
}
.card-desc { font-size: 13px; font-weight: 300; color: #8a8278; line-height: 1.6; }

/* ── BULLET LIST ── */
.bullet-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.bullet-list li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 14px;
  font-weight: 300;
  color: #5a5248;
  line-height: 1.65;
}
.bullet-list li::before { content: "—"; position: absolute; left: 0; color: #d0c8bc; }
.bullet-list li strong { color: #0e0c0a; font-weight: 500; }

/* ── CHAIN DISPLAY ── */
.chain-display { background: #0e0c0a; border-radius: 8px; padding: 36px 40px; }
.chain-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #4a4540;
  font-weight: 500;
  margin-bottom: 22px;
}
.chain-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.chain-link {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  color: #5a5248;
  cursor: pointer;
  padding: 2px 0;
  border: none;
  border-bottom: 1px solid transparent;
  background: none;
  transition: color 0.15s, border-color 0.15s;
  font-family: 'Playfair Display', Georgia, serif;
}
.chain-link:hover { color: #f0ece3; }
.chain-link.active { color: #e8a07a; border-bottom-color: #e8a07a; }
.chain-sep { color: #2a2620; font-size: 13px; }
.chain-detail-box {
  font-size: 13.5px;
  font-weight: 300;
  color: #6a6258;
  line-height: 1.7;
  min-height: 52px;
  border-top: 1px solid #1e1c18;
  padding-top: 22px;
  transition: opacity 0.2s ease;
}

/* ── CTA BLOCK ── */
.cta-block {
  background: #0e0c0a;
  border-radius: 8px;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #4a4540;
  font-weight: 500;
  margin-bottom: 10px;
}
.cta-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: #f0ece3;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #f0ece3;
  border: 1px solid #3a3530;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 400;
  font-family: inherit;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}
.cta-btn:hover { border-color: #e8a07a; color: #e8a07a; }
.cta-btn .arrow { display: inline-block; transition: transform 0.2s; }
.cta-btn:hover .arrow { transform: translateX(4px); }

/* ── SITE FOOTER ── */
.site-footer {
  border-top: 1px solid #e2e8f0;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo { font-size: 12px; font-weight: 600; color: #0f0e0c; }
.footer-logo-accent {
  background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 28%, #2563eb 62%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-tagline {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #9a9080;
  letter-spacing: 0.04em;
}
.footer-contact {
  font-size: 12px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.footer-contact:hover { color: #1d4ed8; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-utility {
  font-size: 11px;
  color: #b2aaa0;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.footer-utility:hover { color: #7a7268; }

/* ── SPEC LIST (training, assessment, build) ── */
.spec-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #eeebe6;
}
.spec-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 18px 0;
  border-bottom: 1px solid #eeebe6;
  align-items: baseline;
}
.spec-name {
  font-size: 14px;
  font-weight: 500;
  color: #0e0c0a;
  letter-spacing: -0.01em;
}
.spec-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: #5a5248;
  line-height: 1.65;
}

/* ── DARK HERO VARIANT ── */
.page-hero--dark {
  background: #0e0c0a;
  border-bottom-color: #1e1c18;
}
.page-hero--dark::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
}
.page-hero--dark .breadcrumb,
.page-hero--dark .breadcrumb span { color: #3a3530; }
.page-hero--dark .breadcrumb a { color: #4a4540; }
.page-hero--dark .breadcrumb a:hover { color: #f0ece3; }
.page-hero--dark .eyebrow { color: #e8a07a; }
.page-hero--dark .display-heading { color: #f0ece3; }
.page-hero--dark .intro-text { color: #8a8278; }

/* ── OFFER DETAIL BODY ── */
.offer-body {
  max-width: 600px;
  margin-bottom: 80px;
}
.offer-body .body-text { margin-bottom: 32px; }
.offer-who {
  font-size: 15px;
  font-weight: 300;
  color: #8a8278;
  font-style: italic;
  line-height: 1.75;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #eeebe6;
}

/* ── OFFER DETAIL PAGES ── */
.diff-block {
  border-left: 2px solid #e8a07a;
  padding: 0 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.diff-item-title { font-size: 14px; font-weight: 500; color: #0e0c0a; margin-bottom: 4px; }
.diff-item-body { font-size: 13.5px; font-weight: 300; color: #5a5248; line-height: 1.65; }
.best-for-box {
  background: #f8fafb;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 24px 26px;
  font-size: 15px;
  font-weight: 300;
  color: #5a5248;
  line-height: 1.7;
}
.breadcrumb {
  font-size: 12px;
  color: #bbb;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: #bbb; text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: #0f0e0c; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .spec-item { grid-template-columns: 1fr; gap: 5px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 52px 20px 48px; }
  .page-wrap { padding: 48px 20px 80px; }
  .card-grid { grid-template-columns: 1fr; }
  .cta-block { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
  .chain-display { padding: 28px 22px; }
  .site-footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .meta-bar { gap: 20px; }
  .site-nav { top: 18px; right: 18px; }
  .site-nav-panel { top: 66px; right: 16px; width: calc(100vw - 32px); }
}
