:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --paper: #ffffff;
  --wash: #f8fafc;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #10b981;
  --navy: #0f172a;
  --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  --hero-bg: #f1f5f9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue-dark);
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.55);
  outline-offset: 4px;
  border-radius: 8px;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 236, 0.85);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.nav-links .nav-cta {
  padding: 10px 16px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

.nav-links .nav-cta:hover {
  color: #ffffff;
  background: var(--blue);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.2);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.button:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.button.secondary {
  color: var(--navy);
  background: var(--paper);
  border: 2px solid var(--line);
}

.button.secondary:hover {
  background: var(--wash);
  border-color: var(--muted);
}

.bg-photo .button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.bg-photo .button.secondary:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Type */

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 3.2rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

p {
  margin: 16px 0 0;
}

.lead {
  margin: 22px 0 0;
  color: #44566a;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow,
.kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 14px;
  border: 1px solid #cde7f5;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #eef9ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker {
  margin-bottom: 18px;
}

/* Sections */

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--wash);
}

.section-head {
  max-width: 760px;
  margin: 0 0 44px;
}

.section-head.center {
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.section-actions.center {
  justify-content: center;
}

/* Hero (centered text on photo) */

.hero {
  padding: 120px 0 110px;
  text-align: center;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 880px;
}

.hero-stack > * {
  margin: 0;
}

.hero-tagline {
  max-width: 720px;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.55;
}

.hero-tagline strong {
  color: #ffffff;
  font-weight: 900;
}

.hero-sub {
  max-width: 720px;
  margin-top: 10px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 80px 0;
  background-color: var(--hero-bg);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
}

.hero-copy .hero-tagline {
  font-size: 1.25rem;
  color: var(--muted);
  margin: 0;
  max-width: 500px;
}

.hero-visual {
  background: var(--paper);
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-visual img {
  border-radius: 8px;
  display: block;
  width: 100%;
}

.hero-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.hero-flow li {
  position: relative;
  padding: 8px 12px 8px 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-flow li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  transform: translateY(-50%);
}

.final-cta {
  padding: 96px 0;
  text-align: center;
}

/* Photo background treatment */

.bg-photo {
  position: relative;
  isolation: isolate;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
}

.bg-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 31, 49, 0.78), rgba(7, 31, 49, 0.62));
}

.bg-primary {
  background-image: url("/assets/img/bg-primary.jpg");
}

.bg-secondary {
  background-image: url("/assets/img/bg-secondary.jpg");
}

.bg-photo h1,
.bg-photo h2,
.bg-photo h3,
.bg-photo .on-photo {
  color: #ffffff;
}

.bg-photo a {
  color: #ffffff;
}

.bg-photo .eyebrow,
.bg-photo .kicker,
.eyebrow.on-photo,
.kicker.on-photo {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}

/* Split (image + copy) */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.split.reverse > .split-image {
  order: 2;
}

.split-image {
  margin: 0;
}

.split-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.split-image.badge-frame img {
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(12, 49, 74, 0.1);
}

/* Workflow */

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.workflow-step {
  position: relative;
  min-height: 250px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.7), rgba(255, 255, 255, 0.96)),
    var(--paper);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.workflow-step p {
  color: var(--muted);
}

/* Blurb cards (Why Use, Contact info) */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blurb {
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blurb:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blurb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 12px;
  color: var(--blue);
  background: #eff6ff;
  box-shadow: none;
}

.blurb-icon svg {
  width: 28px;
  height: 28px;
}

.blurb p {
  color: var(--muted);
}

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

/* Trust */

.trust-strip {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.trust-panel {
  display: grid;
  grid-template-columns: auto minmax(220px, 1.5fr) repeat(2, minmax(160px, 1fr));
  align-items: center;
  gap: 24px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.trust-proof,
.trust-metric {
  display: grid;
  gap: 4px;
}

.trust-proof strong,
.trust-metric strong {
  color: var(--navy);
  line-height: 1.15;
}

.trust-proof span,
.trust-metric span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.trust-metric strong {
  font-size: 1.15rem;
}

.trust-badge.compact {
  width: 148px;
  padding: 8px 10px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

/* Legacy trust row */

.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.trust-copy {
  flex: 1 1 360px;
  font-size: 1.1rem;
}

.trust-badge {
  flex: 0 0 auto;
  width: clamp(220px, 32vw, 320px);
  height: auto;
  border-radius: 14px;
  background: #fff;
  padding: 12px 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

/* Check list (Streamline these tasks) */

.check-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, var(--blue), var(--green));
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* Stats (contact reliability section) */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}

.stat {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

/* Contact: message card */

.message-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 28px 0 0;
}

.contact-meta dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-meta dd {
  margin: 6px 0 0;
  color: var(--navy);
  font-weight: 800;
}

/* Footer */

.site-footer {
  padding: 36px 0;
  color: #7990a3;
  background: #071f31;
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer a {
  color: #d7edf8;
  text-decoration: none;
}

/* Responsive */

@media (max-width: 980px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 0;
  }

  .hero-copy {
    align-items: center;
  }

  .split,
  .grid-3,
  .stat-row,
  .contact-grid,
  .check-list {
    grid-template-columns: 1fr;
  }

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

  .split.reverse > .split-image {
    order: 0;
  }

  .check-list {
    gap: 12px;
  }

  .trust-panel {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
    gap: 14px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-links .nav-cta {
    order: 3;
  }

  .hero {
    padding: 80px 0 70px;
  }

  .section,
  .final-cta {
    padding: 64px 0;
  }

  .message-card {
    padding: 28px;
  }

  .button {
    width: 100%;
  }

  .hero-flow {
    justify-content: center;
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .trust-badge.compact {
    margin: 0 auto;
  }

  .footer-row {
    flex-direction: column;
  }
}
