:root {
  /* Restrained palette: one dark ink, one accent, everything else neutral gray */
  --navy: #0b1220;
  --navy-2: #0e1728;
  --navy-3: #121e33;
  --ink: #0b1220;
  --muted: #636b78;
  --soft: #f7f7f8;
  --soft-2: #eef0f2;
  --line: #e4e6ea;

  --blue: #2454f2;        /* the one accent color, used deliberately */
  --blue-2: #1a3fd1;
  --steel: #4b5567;       /* neutral label tone, not a color accent */
  --steel-soft: #eef1f5;

  --bad: #a3402f;         /* text-only, never a filled panel */
  --ok: #1f7a56;          /* text-only, never a filled panel */
  --white: #ffffff;
  --shadow: 0 20px 48px rgba(11, 18, 32, 0.10);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
summary {
  font: inherit;
}

.page {
  overflow-x: hidden;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 60;
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 800;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 229, 238, 0.95);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.logo {
  width: 196px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Scoped to .nav-links so it outranks `.btn { display: inline-flex }` below.
   With a bare .nav-cta-mobile selector the two tie on specificity and .btn wins
   on source order, which showed the mobile CTA on desktop as a duplicate. */
.nav-links .nav-cta-mobile {
  display: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  max-width: 100%;
  text-align: center;
  white-space: normal;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-2);
}

.btn-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.section-dark .btn-secondary,
.trial-box .btn-secondary,
.final-box .btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--white);
}

.section-dark .btn-secondary:hover,
.trial-box .btn-secondary:hover,
.final-box .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-light {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #8fb4ff;
  outline-offset: 2px;
}

.section {
  padding: 128px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.section-dark .eyebrow {
  color: #7fa0ff;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  color: inherit;
}

p {
  margin: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero-grid,
.hero .container {
  position: relative;
  z-index: 1;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy > * {
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-copy > .eyebrow { animation-delay: 0.05s; }
.hero-copy > h1 { animation-delay: 0.12s; }
.hero-copy > .subheadline { animation-delay: 0.2s; }
.hero-copy > .hero-cta { animation-delay: 0.28s; }
.hero-copy > .trust-copy { animation-delay: 0.34s; }
.hero-copy > .hero-proof { animation-delay: 0.4s; }

.hero-visual {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *,
  .hero-visual {
    opacity: 1;
    animation: none;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
  padding: 108px 0 116px;
}

.hero-grid > *,
.section-head > *,
.problem-band > *,
.versus > *,
.calculator > *,
.flow > *,
.trial-box > *,
.final-box > * {
  min-width: 0;
}

.hero h1 {
  margin-top: 20px;
  font-weight: 700;
  overflow-wrap: break-word;
}

.h1-hook {
  display: block;
  font-size: 68px;
  line-height: 1.01;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.h1-key {
  display: block;
  margin-top: 18px;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--muted);
}

.hero .subheadline {
  max-width: 600px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
  font-weight: 500;
  overflow-wrap: break-word;
}

.hero-cta {
  margin-top: 34px;
}

.trust-copy {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.metric {
  padding: 0;
}

.metric strong {
  display: block;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  max-width: 15ch;
}

/* ---------- Industry paths ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 28px 26px 26px;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.industry-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--steel-soft);
  color: var(--blue);
}

.industry-icon svg {
  width: 23px;
  height: 23px;
}

.industry-card h3 {
  margin-top: 18px;
  font-size: 21px;
  line-height: 1.22;
}

.industry-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.62;
}

.industry-link {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 800;
}

.industry-card:hover .industry-link {
  gap: 10px;
}

.industry-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.22s ease;
}

.industry-card:hover .industry-link svg {
  transform: translateX(2px);
}

/* ---------- Console / dashboard mockup ---------- */
.console {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, #0c1f38, #081a2e);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.console-title {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12.5px;
  font-weight: 700;
}

.console-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.console-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
  animation: livePulse 2.2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .console-live::before {
    animation: none;
  }
}

.console-body {
  padding: 18px;
}

.call-incoming {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(10, 147, 240, 0.42);
  border-radius: 12px;
  background: rgba(0, 98, 226, 0.14);
  padding: 14px;
}

.call-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 98, 226, 0.22);
  color: #cfe0f5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.call-incoming b {
  display: block;
  color: #fff;
  font-size: 14px;
}

.call-incoming > div span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  font-weight: 600;
}

.call-timer {
  font-family: "Space Grotesk", sans-serif;
  color: #9fc0ec;
  font-size: 13px;
  font-weight: 700;
}

.console-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.console-steps li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.console-steps li.active {
  border-color: rgba(10, 147, 240, 0.5);
  background: rgba(0, 98, 226, 0.16);
}

.console-steps .tick {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  position: relative;
}

.console-steps li.done .tick {
  border-color: #34d399;
  background: #34d399;
}

.console-steps li.done .tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #06281f;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.console-steps li.active .tick {
  border-color: var(--blue);
}

.console-steps b {
  display: block;
  color: #fff;
  font-size: 13.5px;
}

.console-steps li > div span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill-alert {
  background: rgba(163, 64, 47, 0.18);
  color: #ff9c86;
  border: 1px solid rgba(163, 64, 47, 0.45);
}

.pill-ok {
  background: rgba(16, 143, 121, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(16, 143, 121, 0.4);
}

/* ---------- Section head ---------- */
.section-head {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 38px;
}

.section-head.center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  margin-top: 18px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 500;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Cards ---------- */
.cards-3,
.cards-4,
.cards-5 {
  display: grid;
  gap: 18px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-5 {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 26px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.section-dark .card {
  border-color: rgba(255, 255, 255, 0.14);
  background: transparent;
}

.section-dark .card:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.card-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.section-dark .card-label {
  color: rgba(255, 255, 255, 0.5);
}

.card h3 {
  margin-top: 12px;
  font-size: 21px;
  line-height: 1.18;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.62;
}

.section-dark .card p {
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- Problem ---------- */
.problem-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: stretch;
}

.problem-score {
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  padding: 34px;
}

.problem-score strong {
  display: block;
  margin-top: 20px;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 48px;
  line-height: 1.02;
}

.problem-score p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.65;
}

.problem-list {
  display: grid;
  gap: 12px;
}

.problem-row {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 20px;
}

.problem-row b {
  color: var(--muted);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.problem-row span {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
}

/* ---------- Same caller, two outcomes ---------- */
.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.vs-col {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
}

.vs-bad {
  border-style: dashed;
}

.vs-good {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
}

.vs-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vs-bad .vs-tag {
  color: var(--bad);
}

.vs-good .vs-tag {
  color: #9fb3ff;
}

.vs-col h3 {
  margin-top: 16px;
  font-size: 24px;
  line-height: 1.18;
}

.vs-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.vs-steps li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.vs-bad .vs-steps li {
  color: var(--muted);
}

.vs-good .vs-steps li {
  color: rgba(255, 255, 255, 0.82);
}

.vs-steps li::before {
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 14px;
  font-weight: 900;
}

.vs-bad .vs-steps li::before {
  content: "\00d7";
  color: var(--bad);
}

.vs-good .vs-steps li::before {
  content: "\2713";
  color: #6ee7b7;
}

.vs-foot {
  margin-top: auto;
  padding-top: 24px;
  font-size: 15px;
  font-weight: 700;
}

.vs-bad .vs-foot {
  color: var(--bad);
}

.vs-good .vs-foot {
  color: #6ee7b7;
}

/* ---------- Feature / handles grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 24px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}

.feature-card:hover .feature-icon {
  background: var(--blue);
  color: var(--white);
}

.feature-icon {
  transition: background 0.22s ease, color 0.22s ease;
}

.feature-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--steel-soft);
  color: var(--steel);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin-top: 16px;
  font-size: 17.5px;
  line-height: 1.25;
}

.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

/* ---------- Calculator ---------- */
.calculator {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: start;
}

.calc-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 30px;
}

.calc-panel h3 {
  font-size: 24px;
}

.calc-intro {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
}

.field-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.calc-field label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 800;
}

.calc-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
  padding: 10px 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  outline: none;
}

.calc-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 92, 230, 0.12);
}

.result-panel {
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  padding: 30px;
}

.result-main {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 22px;
}

.result-main span {
  color: #9fc0ec;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.result-main strong {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 54px;
  line-height: 1;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.result-box {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
}

.result-box b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  line-height: 1;
}

.result-box span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.calc-note {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
}

/* ---------- Call flow steps ---------- */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.flow-step {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 26px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.flow-step:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}

.flow-step:hover .flow-num {
  transform: scale(1.08);
}

.flow-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--navy);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.28s ease;
}

.flow-step h3 {
  margin-top: 16px;
  font-size: 18.5px;
  line-height: 1.2;
}

.flow-step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
}

/* ---------- Integrations ---------- */
.integration-wrap {
  display: grid;
  gap: 22px;
}

.integration-block h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.integration-block p {
  margin-top: 10px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.65;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  transition: border-color 0.22s ease;
}

.tool-pill:hover {
  border-color: var(--blue);
}

.tool-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--steel);
}

.integration-note {
  margin-top: 8px;
  border-left: 3px solid var(--line);
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

/* ---------- Trial / risk reversal ---------- */
.trial-box,
.final-box {
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  padding: 48px;
}

.trial-box {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 36px;
  align-items: center;
}

.trial-box h2,
.final-box h2 {
  margin-top: 16px;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.trial-box p,
.final-box p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.68;
}

.trial-list {
  display: grid;
  gap: 10px;
}

.trial-list div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
}

.trial-list div::before {
  content: "\2713";
  color: #6ee7b7;
  font-weight: 900;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 19px 22px;
}

details[open] {
  border-color: var(--ink);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 800;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--steel);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

details[open] summary::after {
  content: "\2212";
}

details p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.65;
}

/* ---------- Final CTA ---------- */
.final-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 178px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--blue);
}

.mobile-sticky {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-grid > .reveal:nth-child(2),
.flow-steps > .reveal:nth-child(2),
.cards-5 > .reveal:nth-child(2),
.industry-grid > .reveal:nth-child(2) { transition-delay: 0.06s; }
.feature-grid > .reveal:nth-child(3),
.flow-steps > .reveal:nth-child(3),
.cards-5 > .reveal:nth-child(3),
.industry-grid > .reveal:nth-child(3) { transition-delay: 0.12s; }
.feature-grid > .reveal:nth-child(4),
.flow-steps > .reveal:nth-child(4),
.cards-5 > .reveal:nth-child(4) { transition-delay: 0.18s; }
.feature-grid > .reveal:nth-child(5),
.flow-steps > .reveal:nth-child(5),
.cards-5 > .reveal:nth-child(5) { transition-delay: 0.24s; }
.feature-grid > .reveal:nth-child(6),
.flow-steps > .reveal:nth-child(6) { transition-delay: 0.3s; }
.feature-grid > .reveal:nth-child(7) { transition-delay: 0.36s; }
.feature-grid > .reveal:nth-child(8) { transition-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
  .feature-grid > .reveal,
  .flow-steps > .reveal,
  .cards-5 > .reveal,
  .industry-grid > .reveal {
    transition-delay: 0s !important;
  }
}

/* ---------- Social proof / logo strip ---------- */
/* White band, not a tinted one: the logo files are JPEGs with baked-in white
   backgrounds, so any tint would frame each mark in a visible white box. */
.proof {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 26px 0;
  overflow: hidden;
}

/* Label sits on the container's left edge; the marquee runs on to the
   viewport edge so the strip reads as continuous rather than boxed in. */
.proof-inner {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-left: max(20px, calc((100% - 1160px) / 2));
}

.proof-label {
  flex: none;
  width: 16ch;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* The strip mixes non-HVAC clients, so the label carries a qualifier and a link
   through to the About page where the track record is explained honestly. */
.proof-label a {
  display: inline-block;
  margin-top: 4px;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 680px) {
  .proof-label {
    width: auto;
  }
}

.proof-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 120px), transparent 100%);
}

@keyframes proofScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Two identical sets sit side by side, so shifting exactly -50% loops
   seamlessly. Spacing lives on the items (not gap) to keep that math exact. */
.proof-track {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: proofScroll 46s linear infinite;
}

.proof-marquee:hover .proof-track,
.proof-marquee:focus-within .proof-track {
  animation-play-state: paused;
}

.proof-item {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
  margin-right: 60px;
}

.proof-logo {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
}

/* Uniform square box + contain: every mark keeps its exact proportions
   while occupying the same optical footprint on the line. */
.proof-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.proof-name {
  color: var(--steel);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    padding: 0 20px;
    box-shadow: 0 24px 48px rgba(11, 18, 32, 0.14);
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
  }

  .nav-links.is-open {
    max-height: 520px;
    opacity: 1;
    pointer-events: auto;
    padding: 10px 20px 20px;
  }

  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--soft-2);
    font-size: 15.5px;
  }

  .nav-links .nav-cta-mobile {
    display: inline-flex;
    margin-top: 12px;
  }

  .hero-grid,
  .section-head,
  .problem-band,
  .versus,
  .calculator,
  .flow,
  .trial-box,
  .final-box,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 32px;
    padding: 56px 0 60px;
  }

  .section {
    padding: 88px 0;
  }

  .proof-inner {
    gap: 30px;
  }

  .h1-hook {
    font-size: 50px;
  }

  .cards-3,
  .cards-4,
  .flow-steps {
    grid-template-columns: 1fr 1fr;
  }

  .result-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .final-box .btn-row {
    justify-content: flex-start;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 28px);
    max-width: 1160px;
  }

  .logo {
    width: 154px;
  }

  .section {
    padding: 64px 0;
  }

  .proof {
    padding: 20px 0 22px;
  }

  .proof-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-left: 14px;
  }

  .proof-marquee {
    flex: none;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 70px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 70px), transparent 100%);
  }

  .proof-item {
    gap: 11px;
    margin-right: 40px;
  }

  .proof-logo {
    width: 38px;
    height: 38px;
  }

  .proof-name {
    font-size: 15px;
  }

  .h1-hook {
    font-size: 33px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .h1-key {
    font-size: 17px;
  }

  .hero .subheadline {
    font-size: 15.5px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .btn-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-proof {
    flex-direction: column;
    gap: 18px;
  }

  .cards-3,
  .cards-4,
  .cards-5,
  .feature-grid,
  .versus,
  .flow-steps,
  .result-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .section-head h2,
  .trial-box h2,
  .final-box h2 {
    font-size: 30px;
  }

  .problem-row {
    grid-template-columns: 1fr;
  }

  .problem-score strong,
  .result-main strong {
    font-size: 40px;
  }

  .trial-box,
  .final-box {
    padding: 28px;
  }

  .call-incoming {
    grid-template-columns: 40px 1fr;
  }

  .call-timer {
    display: none;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .mobile-sticky {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: block;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    padding: 12px 14px;
    box-shadow: 0 -14px 32px rgba(7, 20, 35, 0.12);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky .btn {
    min-height: 46px;
    width: calc(100vw - 56px);
    margin: 0 auto;
  }

  body {
    padding-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* No auto-scroll; the strip becomes a normal swipeable row instead. */
  .proof-track {
    animation: none;
  }

  .proof-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .btn {
    transition: none;
  }
}

/* ==========================================================================
   Multi-page additions — sub-page hero, article prose, data tables, and the
   column footer shared by every generated page. Uses the tokens defined at the
   top of this file so sub-pages inherit the homepage design language.
   ========================================================================== */

.page-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.page-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.page-hero .standfirst {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 500;
}

.page-hero .btn-row {
  margin-top: 28px;
}

.breadcrumb {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* Article body ---------------------------------------------------------- */

.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.7;
  color: #26303f;
}

.prose.prose-wide {
  max-width: 92ch;
}

.prose h2 {
  margin: 52px 0 14px;
  font-size: clamp(23px, 2.8vw, 31px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.prose h3 {
  margin: 34px 0 10px;
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
}

.prose p {
  margin: 0 0 18px;
}

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 9px;
}

.prose a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Buttons inside .prose are still anchors, so the rule above outranks the
   .btn-* variants on specificity and was painting the primary CTA blue text on
   a blue background. Restore each variant's own presentation. */
.prose a.btn {
  text-decoration: none;
}

.prose a.btn-primary {
  color: var(--white);
}

.prose a.btn-secondary,
.prose a.btn-light {
  color: var(--ink);
}

.prose strong {
  color: var(--ink);
  font-weight: 800;
}

.prose > :first-child {
  margin-top: 0;
}

.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--steel);
  font-weight: 600;
}

/* Table of contents ----------------------------------------------------- */

.toc {
  margin: 0 0 40px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.toc h2 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
}

.toc li {
  margin-bottom: 7px;
}

.toc a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.toc a:hover {
  color: var(--blue);
  text-decoration: underline;
}

/* Data tables ----------------------------------------------------------- */

.table-wrap {
  margin: 0 0 26px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table th,
.data-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table thead th {
  background: var(--soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table th[scope="row"] {
  font-weight: 800;
  color: var(--ink);
}

/* Callouts and sources -------------------------------------------------- */

.callout {
  margin: 0 0 26px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: var(--soft);
  font-size: 15.5px;
  line-height: 1.65;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout .callout-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--steel);
}

.source-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 0 0 30px;
}

.stat {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.stat strong {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 28px;
  line-height: 1.1;
  color: var(--ink);
}

.stat span {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 600;
}

/* Related links --------------------------------------------------------- */

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.related a {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.related a:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.related b {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--ink);
}

.related span {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 600;
}

/* Column footer --------------------------------------------------------- */

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 28px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-heading {
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--steel);
}

.footer-col a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--blue);
}

/* The column footer is taller than the original single-row footer, so stop the
   brand block from vertically centring against it. */
.site-footer .footer-inner:has(.footer-cols) {
  align-items: flex-start;
}

.footer-inner .footer-cols {
  flex: 1 1 auto;
  max-width: 640px;
}

@media (max-width: 860px) {
  .site-footer .footer-inner:has(.footer-cols) {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-inner .footer-cols {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .page-hero {
    padding: 44px 0 32px;
  }

  .prose {
    font-size: 16.5px;
  }
}
