:root {
  --ink: #172634;
  --navy: #142b43;
  --teal: #0b8aa0;
  --copper: #d66f2f;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --mist: #dbe9ea;
  --steel: #5d6972;
  --line: rgba(23, 38, 52, .16);
  --shadow: 0 24px 60px rgba(23, 38, 52, .14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 12px 34px rgba(23, 38, 52, .12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  width: auto;
  min-height: 46px;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .16));
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.brand small {
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
}

.site-header.is-scrolled .brand img {
  filter: none;
}

.site-header.is-scrolled .brand strong {
  color: var(--navy);
}

.site-header.is-scrolled .brand small {
  color: var(--steel);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: .94rem;
  font-weight: 750;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  content: "";
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.header-action {
  padding: 0 18px;
  color: #fff;
  background: var(--copper);
}

.site-header.is-scrolled .header-action {
  box-shadow: 0 12px 22px rgba(199, 103, 43, .22);
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 18, 26, .84) 0%, rgba(10, 18, 26, .62) 42%, rgba(10, 18, 26, .16) 100%),
    linear-gradient(0deg, rgba(10, 18, 26, .42) 0%, rgba(10, 18, 26, 0) 34%);
}

.hero-content {
  width: min(680px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 90px);
  padding-top: 92px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.maintenance-band h2,
.integrations h2,
.contact-section h2 {
  margin: 0;
  font-weight: 900;
  line-height: .98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(2.55rem, 5.2vw, 4.7rem);
  line-height: 1.01;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-width: 156px;
  padding: 0 22px;
}

.button-primary {
  color: #fff;
  background: var(--copper);
  box-shadow: 0 18px 32px rgba(199, 103, 43, .28);
}

.button-primary:hover,
.button-primary:focus-visible,
.header-action:hover,
.header-action:focus-visible {
  background: #a95120;
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, .2);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  min-height: 124px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--cream);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1rem;
}

.trust-strip span {
  color: var(--steel);
  line-height: 1.55;
}

.section,
.integrations,
.contact-section {
  padding: clamp(70px, 9vw, 126px) clamp(18px, 5vw, 70px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(260px, .95fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
}

.section h2,
.maintenance-band h2,
.integrations h2,
.contact-section h2 {
  max-width: 850px;
  color: var(--navy);
  font-size: clamp(2.1rem, 4.4vw, 4.8rem);
}

.intro > p,
.integration-copy p,
.contact-copy p {
  margin: 0;
  color: var(--steel);
  font-size: 1.08rem;
  line-height: 1.7;
}

.section-heading {
  display: flex;
  max-width: 1180px;
  margin: 0 auto clamp(30px, 5vw, 56px);
  flex-direction: column;
}

.service-grid {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 254px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(23, 38, 52, .06);
}

.service-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.service-card:nth-child(even) .service-icon {
  background: var(--copper);
}

.service-card h3,
.process-steps h3 {
  margin: 22px 0 10px;
  color: var(--navy);
  font-size: 1.22rem;
}

.service-card p,
.process-steps p {
  margin: 0;
  color: var(--steel);
  line-height: 1.65;
}

.maintenance-band {
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(260px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 70px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 47, 69, .98), rgba(14, 124, 134, .92)),
    var(--navy);
}

.maintenance-band h2,
.maintenance-band .eyebrow {
  color: #fff;
}

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

.maintenance-list span {
  min-height: 58px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  font-weight: 800;
}

.process-steps {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-steps > div {
  padding: 26px 0;
  border-top: 2px solid var(--line);
}

.process-steps span {
  color: var(--copper);
  font-weight: 950;
}

.integrations {
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(280px, .85fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  background: var(--cream);
}

.integration-copy p {
  max-width: 640px;
  margin-top: 22px;
}

.integration-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.integration-panel div {
  padding: 26px;
  background: #fff;
}

.integration-panel strong,
.integration-panel span {
  display: block;
}

.integration-panel strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.integration-panel span {
  margin-top: 8px;
  color: var(--steel);
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(320px, .9fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-copy p {
  margin-top: 22px;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
}

.contact-details div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.contact-details dt {
  color: var(--steel);
  font-size: .82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 850;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row-full {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-size: .88rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(23, 38, 52, .18);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 124, 134, .14);
}

.lead-form .button {
  width: fit-content;
  min-width: 164px;
}

.form-status {
  align-self: center;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(260px, 680px);
  gap: clamp(22px, 5vw, 80px);
  align-items: center;
  padding: 40px clamp(18px, 5vw, 70px);
  color: rgba(255, 255, 255, .8);
  background: var(--ink);
}

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

.footer-brand img {
  width: 58px;
  height: 58px;
}

.footer-brand span {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  color: #fff;
  font-size: 1.34rem;
  font-weight: 950;
  line-height: 1;
}

.footer-brand small {
  color: rgba(255, 255, 255, .68);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-content {
    margin-inline: 18px;
  }

  .trust-strip,
  .intro,
  .maintenance-band,
  .integrations,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: .66rem;
  }

  .header-action {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-image {
    object-position: 68% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(10, 18, 26, .88), rgba(10, 18, 26, .58)),
      linear-gradient(0deg, rgba(10, 18, 26, .45), rgba(10, 18, 26, .08));
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.6rem);
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .process-steps,
  .maintenance-list,
  .lead-form {
    grid-template-columns: 1fr;
  }

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

  .lead-form .button {
    width: 100%;
  }
}
