:root {
  --navy: #101826;
  --navy-soft: #172235;
  --charcoal: #20242b;
  --ink: #1a2535;
  --muted: #5d6b7d;
  --line: #d9e2ed;
  --paper: #fbfaf7;
  --white: #ffffff;
  --blue: #1f6feb;
  --blue-dark: #1b63d9;
  --green: #24a66a;
  --green-soft: #e7f7ef;
  --amber: #f4b44f;
  --shadow: 0 20px 55px rgba(16, 24, 38, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

::selection {
  color: var(--white);
  background: var(--blue-dark);
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 1.25rem;
  font-size: 5.4rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: 3.25rem;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 226, 237, 0.7);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 10px 24px rgba(47, 128, 255, 0.28);
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a,
.footer-links a,
.footer-contact a {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--blue-dark);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(47, 128, 255, 0.45);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(47, 128, 255, 0.24);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--navy);
  border-color: #c6d4e5;
  background: var(--white);
}

.button-secondary:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(16, 24, 38, 0.1);
}

.button-light {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.button-small {
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  font-size: 0.9rem;
}

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4.5rem, 9vw, 8rem);
  background:
    radial-gradient(circle at top right, rgba(47, 128, 255, 0.13), transparent 34%),
    linear-gradient(180deg, var(--paper), #eef5fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.72fr);
  align-items: center;
  gap: clamp(2.2rem, 5vw, 5rem);
}

.hero-copy {
  padding-bottom: 1.8rem;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-subtitle,
.section-lede,
.section-heading p {
  color: #425064;
  font-size: 1.22rem;
}

.hero-subtitle {
  max-width: 720px;
  margin-bottom: 1.8rem;
}

.hero-note {
  max-width: 720px;
  margin: -0.6rem 0 1.7rem;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.85rem 1rem;
  color: #314157;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.clarity-line {
  max-width: 760px;
  margin: 1rem 0 0;
  color: #425064;
  font-size: 0.98rem;
  font-weight: 700;
}

.cta-note {
  max-width: 620px;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.workflow-panel {
  position: relative;
  border: 1px solid rgba(198, 212, 229, 0.85);
  border-radius: var(--radius);
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.workflow-panel::before {
  content: "";
  position: absolute;
  inset: 1.25rem auto auto -1.2rem;
  width: 4px;
  height: 72%;
  border-radius: 999px;
  background: linear-gradient(var(--blue), var(--green));
}

.panel-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e6edf5;
}

.panel-label,
.lead-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.panel-title {
  margin: 0.1rem 0 0;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 850;
}

.status-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  color: #0b6b42;
  background: var(--green-soft);
  font-size: 0.8rem;
  font-weight: 850;
}

.inbox-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin: 1rem 0;
}

.inbox-strip span,
.status-strip span,
.mini-card-row span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e3f0;
  border-radius: 999px;
  color: #314157;
  background: #f6f9fc;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.status-strip span {
  justify-content: flex-start;
  border-color: #e0e8f2;
  color: #3a485a;
  background: var(--white);
  font-size: 0.78rem;
}

.lead-list {
  display: grid;
  gap: 0.7rem;
}

.lead-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #e1e9f3;
  border-radius: 14px;
  padding: 0.9rem;
  background: var(--white);
}

.lead-card span {
  min-width: 58px;
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  color: var(--blue-dark);
  background: #edf4ff;
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

.lead-hot {
  border-color: rgba(36, 166, 106, 0.38);
  background: linear-gradient(90deg, rgba(231, 247, 239, 0.88), var(--white));
}

.lead-name {
  margin: 0 0 0.15rem;
  color: var(--navy);
  font-weight: 850;
}

.mini-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 1rem;
}

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

.mini-dashboard div {
  border-radius: 14px;
  padding: 0.9rem 0.75rem;
  background: var(--navy);
}

.mini-dashboard strong,
.mini-dashboard span {
  display: block;
}

.mini-dashboard strong {
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1;
}

.mini-dashboard span {
  margin-top: 0.35rem;
  color: #cbd8e8;
  font-size: 0.78rem;
  font-weight: 700;
}

.mockup-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.problem-section {
  background: var(--white);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 2.2rem;
}

.section-heading.compact {
  max-width: 720px;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

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

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

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-grid.stacked {
  grid-template-columns: 1fr;
}

.info-card,
.feature-card,
.operator-card,
.process-step,
.flow-card,
.product-card,
.framework-item,
.replace-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 24, 38, 0.06);
}

.info-card {
  padding: 1.3rem;
}

.info-card p,
.product-card p,
.framework-item p,
.replace-card p,
.process-step p,
.custom-section p,
.site-footer p {
  color: var(--muted);
}

.icon-dot {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.94), rgba(36, 166, 106, 0.94)),
    var(--blue);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.split-section.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.feature-card {
  position: relative;
  min-height: 112px;
  padding: 1.15rem 1.15rem 1.15rem 3rem;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 1.28rem;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px var(--green-soft);
}

.feature-card h3,
.operator-card h3 {
  margin-bottom: 0;
}

.section-tint {
  background: #eef5fb;
}

.product-section {
  background: var(--white);
}

.product-card {
  padding: 1.35rem;
}

.product-card h3 {
  max-width: 560px;
}

.product-label {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin: 0 0 1rem;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  color: var(--blue-dark);
  background: #edf4ff;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.operator-card {
  min-height: 138px;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.96)),
    linear-gradient(135deg, rgba(47, 128, 255, 0.18), rgba(36, 166, 106, 0.14));
}

.fit-note {
  margin: 1.2rem 0 0;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.1rem;
  color: var(--navy);
  background: var(--white);
  font-weight: 750;
}

.audit-steps {
  display: grid;
  gap: 0.85rem;
}

.audit-promise {
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.85rem 1rem;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
}

.replace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.replace-card {
  padding: 1.35rem;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: #425064;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--blue);
}

.before-card .check-list li::before {
  background: var(--amber);
}

.after-card .check-list li::before {
  background: var(--green);
}

.why-section .section-heading {
  margin-bottom: 0;
}

.workflow-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.flow-card {
  padding: 1.35rem;
}

.flow-card h3 {
  margin-bottom: 1rem;
}

.flow-chain {
  display: grid;
  gap: 0.55rem;
}

.flow-chain span {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  color: var(--navy);
  background: #f6f9fc;
  font-weight: 800;
}

.flow-chain span + span::before {
  content: "->";
  width: 26px;
  color: var(--muted);
  font-weight: 850;
}

.flow-before .flow-chain span:last-child {
  border-color: rgba(244, 180, 79, 0.45);
  color: #6f4100;
  background: #fff6e6;
}

.flow-after .flow-chain span {
  background: #f4fbf8;
}

.flow-after .flow-chain span:last-child {
  color: #0b6b42;
  background: var(--green-soft);
}

.custom-section {
  background: var(--white);
}

.system-map {
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.map-node,
.map-row span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
  text-align: center;
}

.map-node.primary {
  margin-bottom: 1rem;
  padding: 1.15rem;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.map-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.map-row span {
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.mini-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.mini-card-row span {
  padding-inline: 1rem;
  background: var(--paper);
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.framework-item {
  padding: 1rem;
}

.framework-item h3 {
  margin-bottom: 0.35rem;
  color: var(--blue-dark);
  font-size: 1rem;
}

.framework-item p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.process-step {
  padding: 1.35rem;
}

.step-number {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-weight: 850;
}

.final-cta {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.18), rgba(36, 166, 106, 0.16)),
    var(--navy);
}

.final-cta h2,
.final-cta .eyebrow {
  color: var(--white);
}

.final-cta p {
  max-width: 700px;
  color: #d8e3ef;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer {
  padding: 2.4rem 0;
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(190px, auto);
  gap: 2rem;
  align-items: start;
}

.site-footer p {
  margin: 0.45rem 0 0;
}

.footer-note {
  font-weight: 750;
}

.footer-links {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-contact p {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-weight: 850;
}

.footer-contact a {
  color: var(--blue-dark);
  font-weight: 750;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.9rem 0;
  }

  .brand {
    margin-right: auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 0.9rem;
  }

  .hero-grid,
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .process-grid,
  .workflow-comparison,
  .replace-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-subtitle,
  .section-lede,
  .section-heading p {
    font-size: 1.05rem;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    align-items: stretch;
  }

  .brand {
    width: 100%;
    justify-content: center;
    margin: 0;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .nav-links a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
  }

  .header-inner > .button {
    width: 100%;
  }

  .hero-actions,
  .final-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .workflow-panel::before {
    display: none;
  }

  .panel-topbar,
  .lead-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .inbox-strip,
  .status-strip,
  .mini-dashboard,
  .mini-dashboard.four,
  .feature-grid,
  .product-grid,
  .framework-grid,
  .card-grid.four,
  .map-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .operator-card {
    min-height: 104px;
  }
}
