@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src:
    url("/fonts/Inter-var.woff2") format("woff2-variations"),
    url("/fonts/Inter-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #115e59;
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.light {
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.12);
}

.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  text-wrap: balance;
}
.section-lead {
  color: var(--text-2);
  font-size: 1.075rem;
  margin-top: 16px;
  text-wrap: pretty;
}
.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.975rem;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.9rem;
}
.btn-primary {
  background: var(--primary-600);
  color: #fff;
  box-shadow: 0 6px 16px rgba(17, 94, 89, 0.28);
}
.btn-primary:hover {
  background: #0d4f4a;
  transform: translateY(-1px);
}
.btn-ghost {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  flex: none;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-name {
  font-size: 1.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.nav a:hover {
  color: var(--text);
}
.nav a.active,
.nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

.nav-item--services {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item--services .nav-parent--services {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.nav-item--services .nav-parent--services:hover,
.nav-item--services.is-open .nav-parent--services {
  color: var(--text);
}
.nav-item--services .nav-parent--services.active {
  color: var(--primary);
  font-weight: 600;
}
.nav-parent-chevron {
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.15s ease;
}
.nav-item--services.is-open .nav-parent-chevron,
.nav-item--services:hover .nav-parent-chevron {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 120;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  transform: translateX(-50%);
}
/* Invisible hover bridge above the panel (keeps pointer from falling into a gap) */
.nav-dropdown::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown[hidden] {
  display: none;
}
.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-dropdown a:hover,
.nav-dropdown a[aria-current="page"] {
  background: rgba(15, 118, 110, 0.08);
  color: var(--primary);
}
/* Desktop: hover / focus opens even before click toggle */
@media (hover: hover) and (pointer: fine) {
  .nav-item--services:hover .nav-dropdown[hidden],
  .nav-item--services:focus-within .nav-dropdown[hidden] {
    display: block;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-copy h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.85rem);
  font-weight: 800;
  text-wrap: balance;
  max-width: min(42rem, 100%);
}
.hero-copy .lead {
  color: var(--text-2);
  font-size: clamp(1.1rem, 1.35vw, 1.25rem);
  margin-top: 22px;
  max-width: min(36rem, 100%);
  line-height: 1.65;
  text-wrap: pretty;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 40px;
  color: var(--text-2);
  font-size: 0.95rem;
}
.hero-meta li {
  position: relative;
  padding-left: 20px;
}
.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--secondary);
}
.hero-meta strong {
  color: var(--text);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  margin-right: 8px;
}
.dash-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
  position: relative;
  z-index: 2;
}
.dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.dash-label {
  font-size: 0.88rem;
  color: var(--text-2);
  font-weight: 500;
}
.dash-value {
  font-size: clamp(1.9rem, 2.4vw, 2.35rem);
  font-weight: 800;
  margin-top: 4px;
}
.dash-value.sm {
  font-size: 1.45rem;
}
.dash-value .muted {
  color: var(--text-2);
  font-weight: 600;
  font-size: 1.05rem;
}
.pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.pill-up {
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
}

.chart {
  height: 168px;
  margin: 22px 0 18px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.chart .bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--chart-primary-end));
  min-height: 8px;
  transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.chart .bar.accent {
  background: linear-gradient(
    180deg,
    var(--secondary),
    var(--chart-secondary-end)
  );
}

.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-weight: 800;
  font-size: 1.25rem;
}
.stat-lbl {
  font-size: 0.82rem;
  color: var(--text-2);
}

.mini-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  z-index: 3;
  min-width: 168px;
}
.mini-a {
  top: -28px;
  right: -20px;
}
.mini-b {
  bottom: -32px;
  left: -24px;
}

@media (min-width: 1200px) {
  .hero-visual {
    min-height: 480px;
  }
  .dash-card {
    padding: 32px;
  }
  .chart {
    height: 188px;
  }
}

.cap-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.cap-inner span {
  position: relative;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.card p {
  color: var(--text-2);
}
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  margin-bottom: 18px;
}

.how-it-works {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hiw-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.js .hiw-steps:not(.is-visible) .hiw-card {
  opacity: 0;
  transform: translateY(24px);
}
.hiw-steps.is-visible .hiw-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}
.hiw-steps.is-visible .hiw-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}
.hiw-steps.is-visible .hiw-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.44s;
}
.hiw-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  opacity: 0.5;
  transition:
    opacity 0.22s ease,
    height 0.22s ease;
}
.hiw-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.hiw-steps.is-visible .hiw-card:hover {
  transform: translateY(-4px);
}
.hiw-card:hover::before {
  opacity: 1;
  height: 4px;
}
.hiw-num {
  display: inline-block;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.hiw-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.hiw-card > p {
  color: var(--text-2);
  margin-bottom: 18px;
}
@media (prefers-reduced-motion: reduce) {
  .js .hiw-steps:not(.is-visible) .hiw-card {
    opacity: 1;
    transform: none;
  }
  .hiw-card {
    transition:
      box-shadow 0.22s ease,
      border-color 0.22s ease;
  }
  .hiw-steps.is-visible .hiw-card:hover {
    transform: none;
  }
}

.ticks {
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 0.95rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.ticks.light li {
  color: #cbd5e1;
}
.ticks.light li::before {
  background-color: rgba(20, 184, 166, 0.22);
}

.services .service-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.services .service-card > p {
  margin-bottom: 18px;
}
.service-card-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease, gap 0.15s ease;
}
.service-card-link span {
  transition: transform 0.15s ease;
}
.service-card-link:hover {
  color: var(--primary-600);
  gap: 10px;
}
.service-card-link:hover span {
  transform: translateX(2px);
}

/* ===== Service pages ===== */
.service-page .section > .center {
  margin-bottom: 40px;
}
.service-hero {
  padding: 56px 0 52px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}
.service-hero-copy {
  padding: 36px 0;
}
.service-hero-topline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.service-hero-topline .eyebrow {
  margin-bottom: 0;
}
.service-hero-icon {
  margin-bottom: 0;
  flex: none;
}
.service-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.15rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.service-hero .lead {
  margin: 22px 0 0;
  max-width: 660px;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  text-wrap: pretty;
}
.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
/* Cross-links between service pages — keep them visibly "clickable" in body copy */
.service-page a[href^="/services/"] {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(15, 118, 110, 0.45);
  background: rgba(20, 184, 166, 0.1);
  padding: 0.05em 0.28em;
  margin: 0 -0.08em;
  border-radius: 5px;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    text-decoration-thickness 0.15s ease,
    text-decoration-color 0.15s ease;
}
.service-page a[href^="/services/"]:hover {
  color: var(--primary-600);
  background: rgba(20, 184, 166, 0.18);
  text-decoration-thickness: 2px;
  text-decoration-color: var(--primary-600);
}
.service-body.section {
  padding: 64px 0 40px;
}
.service-intro {
  text-align: left;
  margin: 0;
  max-width: none;
  font-size: 1.1rem;
  line-height: 1.7;
}
.service-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}
.service-included {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
}
.service-included li {
  transition: transform 0.15s ease;
}
.service-included li:hover {
  transform: translateX(3px);
}
.service-audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  counter-reset: audience;
}
.service-audience .card {
  margin: 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 24px;
}
.service-audience .card::before {
  counter-increment: audience;
  content: counter(audience, decimal-leading-zero);
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.1);
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.service-audience .card p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.55;
}
.service-why {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section.audit.service-cta {
  padding: 88px 0;
}
.service-cta-card {
  grid-template-columns: 1fr;
}
.service-cta-card .audit-copy {
  max-width: min(38rem, 100%);
}

.insights-preview {
  background: linear-gradient(180deg, #fff 0%, rgba(248, 250, 252, 0.92) 100%);
  border-top: 1px solid var(--border);
}
.insights-preview .section-lead {
  margin-bottom: 36px;
}
.insights-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.insights-panel-copy h3 {
  margin: 0 0 18px;
  font-size: 1.05rem;
}
.insights-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}
.insights-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.45;
}
.insights-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.insights-panel-cta {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(20, 184, 166, 0.1));
  border: 1px solid rgba(37, 99, 235, 0.16);
}
.insights-panel-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.insights-panel-cta p {
  margin: 0 0 18px;
  color: var(--text-2);
  line-height: 1.55;
}

.tools-section {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.calc-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-disclaimer {
  margin: 0;
  padding: 12px 14px;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #64748b;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 10px;
}

.calc {
  padding: 8px;
  background: var(--bg);
}
.calc-tabs {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.calc-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-2);
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.calc-tab.is-active {
  background: var(--primary);
  color: #fff;
}
.calc-body {
  padding: 22px 16px 12px;
}

.tool-list-wrap {
  display: grid;
  gap: 14px;
}
.tool-list-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.tool-list {
  display: grid;
  gap: 14px;
}
.tool-list > li {
  margin: 0;
}
.tool-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button.tool-item {
  appearance: none;
  -webkit-appearance: none;
}
.tool-item:hover {
  border-color: #cbd5e1;
  transform: translateX(2px);
}
.tool-item.is-active {
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.06);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1);
}
.tool-item-link {
  text-decoration: none;
}
.tool-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--secondary);
}
.tool-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.tool-item p {
  color: var(--text-2);
  font-size: 0.92rem;
  margin-top: 2px;
}

.insights-hero {
  padding: 56px 0 52px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}
.insights-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 40px;
  align-items: stretch;
}
.insights-hero-copy {
  padding: 36px 0;
}
.insights-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.15rem, 5vw, 4rem);
  font-weight: 800;
  text-wrap: balance;
}
.insights-hero-copy .lead {
  color: var(--text-2);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  margin-top: 22px;
  max-width: 660px;
  text-wrap: pretty;
}
.insights-microcopy {
  margin-top: 20px;
  max-width: min(35rem, 100%);
  color: var(--text-2);
  font-size: 0.94rem;
}
.insights-hero-panel {
  align-self: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.insights-route-list {
  display: grid;
  gap: 8px;
}
.insights-route {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}
.insights-route:first-child {
  border-top: none;
  padding-top: 4px;
}
.insights-route:hover {
  transform: translateX(2px);
  color: var(--primary);
}
.route-index {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(20, 184, 166, 0.1);
  color: #0f766e;
  font-size: 0.75rem;
  font-weight: 800;
}
.insights-route strong {
  display: block;
  color: var(--text);
  line-height: 1.25;
}
.insights-route em {
  display: block;
  margin-top: 4px;
  color: var(--text-2);
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.45;
}

.insights-subnav {
  position: sticky;
  top: 68px;
  z-index: 90;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.insights-subnav-inner {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: none;
}
.insights-subnav-inner::-webkit-scrollbar {
  display: none;
}
.insights-subnav a {
  color: var(--text-2);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.insights-subnav a:hover {
  color: var(--text);
}
.insights-subnav a.active {
  color: var(--primary);
}

.resource-grid .resource-card,
.checklist-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.resource-card h3,
.checklist-card h3 {
  margin-bottom: 0;
}
.resource-card p,
.checklist-card p {
  margin-bottom: 0;
}
.resource-tag {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.resource-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}
.resource-link::after {
  content: "->";
  margin-left: 8px;
  transition: transform 0.18s ease;
}
.resource-link:hover::after {
  transform: translateX(3px);
}

.frameworks-section,
.featured-guide-section {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.framework-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.framework-card {
  background: var(--bg);
}
.framework-card .best-for {
  margin-top: 18px;
  color: var(--text-2);
}
.framework-card .best-for strong {
  color: var(--text);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.checklist-card .ticks {
  margin-top: 4px;
}
.checklist-card .ticks li {
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 620px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner-copy {
  min-width: 0;
}
.cookie-banner-copy strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}
.cookie-banner-copy p {
  margin: 4px 0 0;
  color: var(--text-2);
  font-size: 0.84rem;
  line-height: 1.45;
}
.cookie-banner-copy a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  display: flex;
  flex: none;
  gap: 8px;
}
.cookie-banner-btn {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 12px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-banner-btn-primary {
  background: var(--primary-600);
  color: #fff;
}
.cookie-banner-btn-primary:hover {
  background: #0d4f4a;
}
.cookie-banner-btn-secondary {
  border-color: var(--border);
  background: #fff;
  color: var(--text-2);
}
.cookie-banner-btn-secondary:hover {
  border-color: #cbd5e1;
  color: var(--text);
}
@media (max-width: 640px) {
  .cookie-banner {
    right: 16px;
    bottom: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .cookie-banner-actions {
    flex-direction: column-reverse;
  }
  .cookie-banner-btn {
    width: 100%;
  }
}

.featured-guide-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 36px;
  align-items: start;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #eff6ff 52%, #f0fdfa 100%);
  box-shadow: var(--shadow-md);
}
.featured-guide-copy h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
}
.featured-guide-copy h3 {
  font-size: 1.2rem;
  margin-top: 30px;
}
.featured-guide-copy p {
  color: var(--text-2);
  margin-top: 18px;
  max-width: min(48rem, 100%);
}
.guide-callout {
  position: sticky;
  top: 132px;
}
.featured-guide-copy .ticks {
  margin: 18px 0 0;
}
.featured-guide-copy .btn {
  margin-top: 28px;
}
.guide-callout {
  padding: 28px;
  border-radius: 18px;
  background: var(--dark);
  color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}
.guide-callout span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.guide-callout p {
  color: #e2e8f0;
  font-size: 1.08rem;
  line-height: 1.65;
}

.insights-cta {
  padding-top: 88px;
}
.insights-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}
.btn-ghost-dark:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.audit {
  padding: 88px 0;
}
.audit-copy h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.audit-copy p {
  color: #cbd5e1;
  margin: 16px 0 22px;
  max-width: min(38rem, 100%);
}
.audit-copy .ticks {
  margin-bottom: 28px;
}

.audit-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px;
}
.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.95rem;
}
.panel-row:last-of-type {
  border-bottom: none;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.good {
  background: var(--secondary);
}
.dot.warn {
  background: #f59e0b;
}
.dot.bad {
  background: #ef4444;
}
.panel-summary {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-summary span {
  color: #94a3b8;
  font-size: 0.9rem;
}
.panel-summary strong {
  color: var(--secondary);
  font-size: 1.1rem;
}

.accordion {
  margin-top: 40px;
  display: grid;
  gap: 12px;
}
.acc-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.acc-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.acc-icon::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}
.acc-icon::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}
.acc-trigger[aria-expanded="true"] .acc-icon::after {
  transform: scaleY(0);
  opacity: 0;
}
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.acc-panel p {
  color: var(--text-2);
  padding: 0 22px 20px;
}

.contact-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.contact-copy p {
  color: var(--text-2);
  margin: 12px 0 22px;
  max-width: min(36rem, 100%);
}
.contact-copy .ticks {
  margin-top: 4px;
  gap: 12px;
}
.contact-copy .ticks li {
  font-size: 0.98rem;
}

.site-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 64px 0 32px;
  margin-top: 0;
}
.site-footer .brand-name {
  color: #fff;
}
.footer-brand p {
  margin-top: 16px;
  color: #94a3b8;
  max-width: min(20rem, 100%);
  font-size: 0.95rem;
}
.footer-legal-entity {
  display: block;
  margin: 18px 0 0;
  font-style: normal;
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: min(20rem, 100%);
}
.footer-legal-entity strong {
  display: block;
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.footer-col-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footer-col a {
  display: block;
  color: #94a3b8;
  padding: 6px 0;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.88rem;
  color: #94a3b8;
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a:hover {
  color: #fff;
}
.footer-legal a.is-active {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .insights-hero-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .insights-hero-copy {
    padding: 18px 0 0;
  }
  .insights-hero-panel {
    align-self: stretch;
  }
  .hero-copy h1 {
    max-width: none;
  }
  .hero-copy .lead {
    max-width: none;
  }
  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
    /* Outer padding = room for floating mini-cards around the dash */
    min-height: 0;
    padding: 36px 18px 40px;
    box-sizing: border-box;
  }
  .hero-visual .mini-card {
    min-width: 0;
    max-width: 46%;
    padding: 10px 12px;
    border-radius: 12px;
  }
  .hero-visual .mini-card .dash-label {
    font-size: 0.76rem;
    line-height: 1.25;
  }
  .hero-visual .mini-card .dash-value.sm {
    font-size: 1.15rem;
    margin-top: 2px;
  }
  /* Keep the desktop “float off the corners” feel, scaled down */
  .mini-a {
    top: -8px;
    right: 2px;
  }
  .mini-b {
    bottom: -8px;
    left: 2px;
  }
  .framework-grid,
  .featured-guide-card {
    grid-template-columns: 1fr;
  }
  .checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    line-height: 1.35;
    padding: 8px 14px;
    text-align: center;
  }
  .section {
    padding: 64px 0;
  }
  .insights-hero {
    padding: 48px 0;
  }
  .insights-hero-panel {
    padding: 24px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 24px 20px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav > a,
  .nav-item--services {
    padding: 10px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav > a:last-child {
    border-bottom: none;
  }
  .nav-item--services {
    flex-wrap: wrap;
    gap: 0;
  }
  .nav-item--services .nav-parent--services {
    flex: 1;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    text-align: left;
  }
  .nav-dropdown {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    padding: 8px;
    background: rgba(15, 118, 110, 0.04);
    border-radius: 12px;
    transform: none;
    box-shadow: none;
  }
  .nav-dropdown::before {
    display: none;
  }
  /* Touch / narrow: click only — no hover peek */
  .nav-item--services:hover .nav-dropdown[hidden],
  .nav-item--services:focus-within .nav-dropdown[hidden] {
    display: none;
  }
  .nav-dropdown a {
    white-space: normal;
  }
  .header-actions .btn-sm {
    display: none;
  }
  .service-hero {
    padding: 48px 0;
  }
  .service-hero-copy {
    padding: 18px 0 0;
  }
  .service-hero-topline {
    margin-bottom: 18px;
  }
  .service-hero-actions {
    margin-top: 28px;
  }
  .service-body.section {
    padding: 48px 0 24px;
  }
  .service-page .section > .center {
    margin-bottom: 28px;
  }
  .service-panel {
    padding: 24px;
  }
  .service-included,
  .service-audience {
    grid-template-columns: 1fr;
  }
  .section.audit.service-cta {
    padding: 64px 0;
  }
  .insights-panel {
    grid-template-columns: 1fr;
  }
  .insights-panel-cta {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .hero-visual {
    padding: 32px 10px 36px;
  }
  .hero-visual .mini-card {
    max-width: 48%;
    padding: 8px 10px;
  }
  .hero-visual .mini-card .dash-value.sm {
    font-size: 1.05rem;
  }
  .mini-a {
    top: -6px;
    right: 0;
  }
  .mini-b {
    bottom: -6px;
    left: 0;
  }
  .insights-hero-copy h1,
  .service-hero h1,
  .blog-hero:not(.blog-article-hero) h1 {
    font-size: clamp(2rem, 12vw, 2.75rem);
  }
  .insights-route {
    grid-template-columns: 1fr;
  }
  .insights-panel {
    padding: 24px 20px;
    gap: 24px;
  }
  .insights-list {
    grid-template-columns: 1fr;
  }
  .checklist-grid {
    grid-template-columns: 1fr;
  }
  .featured-guide-card {
    padding: 32px 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-bottom > p {
    order: 2;
  }
  .footer-legal {
    order: 1;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== Blog ===== */
.blog-hero {
  padding: 56px 0 52px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}
.blog-hero-copy {
  padding: 36px 0;
}
.blog-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.15rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.blog-hero .lead {
  margin: 22px 0 0;
  max-width: 660px;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  text-wrap: pretty;
}
.blog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
/* Article pages: compact reading header (not hub-scale) */
.blog-article-hero {
  padding: 40px 0 32px;
}
.blog-article-hero h1 {
  max-width: none;
  font-size: clamp(1.75rem, 3.6vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.blog-article-hero .lead {
  margin-top: 16px;
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.65;
}
.blog-back {
  margin: 0 0 18px;
  font-size: 0.92rem;
  font-weight: 600;
}
.blog-back a {
  color: var(--text-2);
}
.blog-back a:hover {
  color: var(--primary);
}
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 18px;
}
.blog-read-time {
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 600;
}
.blog-listing .blog-card-meta {
  margin-bottom: 0;
}
.blog-article-body {
  padding-top: 40px;
}
.blog-prose h2 {
  margin-top: 44px;
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  text-wrap: balance;
}
.blog-prose h2:first-child {
  margin-top: 0;
}
.blog-prose p {
  color: var(--text-2);
  margin-top: 16px;
  max-width: min(48rem, 100%);
}
.blog-prose a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-prose a:hover {
  color: var(--primary-600);
}
.blog-prose .accordion {
  margin-top: 24px;
}
.blog-prose .acc-trigger span:first-child {
  text-align: left;
}
.blog-adjacent {
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.blog-adjacent-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.blog-adjacent-inner.has-next-only {
  grid-template-columns: 1fr;
}
.blog-adjacent-inner.has-next-only .blog-adjacent-next {
  justify-self: end;
  width: min(100%, 28rem);
}
.blog-adjacent-inner.has-prev-only {
  grid-template-columns: 1fr;
}
.blog-adjacent-inner.has-prev-only .blog-adjacent-prev {
  width: min(100%, 28rem);
}
.blog-adjacent-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.blog-adjacent-link:hover {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.blog-adjacent-next {
  text-align: right;
  align-items: flex-end;
}
.blog-adjacent-label {
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-adjacent-title {
  max-width: 22rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}
.blog-adjacent-link:hover .blog-adjacent-title {
  color: var(--primary);
}
.blog-adjacent-prev .blog-adjacent-label::before {
  content: "← ";
}
.blog-adjacent-next .blog-adjacent-label::after {
  content: " →";
}

@media (max-width: 720px) {
  .blog-hero {
    padding: 48px 0;
  }
  .blog-hero-copy {
    padding: 18px 0 0;
  }
  .blog-article-hero {
    padding: 28px 0 24px;
  }
  .blog-adjacent {
    padding: 22px 0 28px;
  }
  .blog-adjacent-inner {
    grid-template-columns: 1fr;
  }
  .blog-adjacent-inner.has-next-only .blog-adjacent-next,
  .blog-adjacent-inner.has-prev-only .blog-adjacent-prev {
    width: 100%;
    justify-self: stretch;
  }
  .blog-adjacent-next {
    text-align: left;
    align-items: flex-start;
  }
}

.error-page {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 72px 0 96px;
}
.error-page-inner {
  max-width: 640px;
}
.error-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-wrap: balance;
}
.error-page .section-lead {
  max-width: 34rem;
}
.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
