:root {
  --background: #f5f7f9;
  --foreground: #16212d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

img {
  max-width: 100%;
}

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

main {
  background: #f5f7f9;
  color: #16212d;
}

.wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem; /* max-w-7xl */
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #071522;
  color: #fff;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(7, 21, 34, 0.97) 0%,
    rgba(7, 21, 34, 0.9) 38%,
    rgba(7, 21, 34, 0.42) 74%,
    rgba(7, 21, 34, 0.2) 100%
  );
}

.header {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  width: 100%;
  max-width: 80rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: block;
  height: 2.75rem;
  width: 2.75rem;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 0.375rem;
  background: #fff;
  padding: 0.25rem;
  font-size: 1rem;
  font-weight: 900;
  color: #0b4e8a;
}

.brand-text {
  min-width: 0;
}

.brand-name {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25rem;
}

.brand-sub {
  display: block;
  font-size: 0.75rem;
  color: #c4e0ef;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  color: #d7e7ee;
}

.nav a {
  transition: color 0.15s ease;
}

.nav a:hover {
  color: #fff;
}

.cta-outline {
  flex-shrink: 0;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  transition: all 0.15s ease;
}

.cta-outline:hover {
  border-color: #fff;
  background: #fff;
  color: #0b2236;
}

.hero-inner {
  margin-left: auto;
  margin-right: auto;
  display: grid;
  min-height: 72svh;
  max-width: 80rem;
  align-content: center;
  padding: 3rem 1.25rem 3.5rem;
}

.hero-content {
  max-width: 48rem;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #65c1d3;
}

.hero h1 {
  max-width: 48rem;
  margin: 0;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: normal;
  color: #fff;
}

.hero-lead {
  margin: 1.5rem 0 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 2rem;
  color: #d9e6ed;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn {
  border-radius: 0.375rem;
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.15s ease;
}

.btn-primary {
  background: #36c6d3;
  color: #052131;
}

.btn-primary:hover {
  background: #69dce5;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Proof points ---------- */
.proof-section {
  position: relative;
  background: #f5f7f9;
  padding: 0 1.25rem 2.5rem;
}

.proof-grid {
  position: relative;
  z-index: 10;
  margin: -2rem auto 0;
  display: grid;
  max-width: 80rem;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.proof-card {
  border-radius: 0.375rem;
  border: 1px solid #dce5ea;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 14px 35px rgba(16, 38, 54, 0.08);
}

.proof-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.proof-num {
  display: grid;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 0.375rem;
  background: #e8f7fa;
  font-size: 0.875rem;
  font-weight: 900;
  color: #0b6f8f;
}

.proof-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0b6f8f;
}

.proof-value {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: #263746;
}

/* ---------- Generic section pieces ---------- */
section {
  padding: 0;
}

.section-pad {
  padding: 5rem 0;
}

.section-inner {
  margin: 0 auto;
  max-width: 80rem;
  padding: 0 1.25rem;
}

.kicker {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #0b6f8f;
}

.kicker-light {
  color: #8de3ed;
}

.kicker-dark {
  color: #65c1d3;
}

h2 {
  margin: 1rem 0 0;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: normal;
  color: #16212d;
}

.h2-white {
  color: #fff;
}

.lead {
  margin: 1.25rem 0 0;
  font-size: 1rem;
  line-height: 2rem;
  color: #536677;
}

.lead-light {
  color: #d9e6ed;
}

/* services */
.services-grid {
  display: grid;
  gap: 2.5rem;
}

.services-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.plan-card {
  border-radius: 0.375rem;
  border: 1px solid #dce5ea;
  background: #f8fafb;
  padding: 1.25rem;
}

.plan-card h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #16212d;
}

.plan-card p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.75rem;
  color: #536677;
}

.plan-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #263746;
}

.plan-list li {
  display: flex;
  gap: 0.5rem;
}

.dot {
  margin-top: 0.5rem;
  height: 0.375rem;
  width: 0.375rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #f0a63a;
}

/* automation/workflow examples */
.automation-section {
  background: #eef5f7;
}

.automation-head {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.examples-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.example-card {
  border-radius: 0.375rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.example-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.example-tag {
  border-radius: 0.375rem;
  background: #123b52;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #dff7fb;
}

.example-bullet {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 999px;
  background: #f0a63a;
}

.example-card h3 {
  margin: 1.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #16212d;
}

.example-dl {
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.example-dl dt {
  font-weight: 700;
  color: #0b6f8f;
}

.example-dl dd {
  margin: 0.25rem 0 0;
  color: #536677;
}

/* control band */
.control-section {
  background: #123b52;
  color: #fff;
}

.control-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.stage-list {
  display: grid;
  gap: 0.75rem;
}

.stage-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

.stage-num {
  display: grid;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 0.375rem;
  background: #f0a63a;
  font-size: 0.875rem;
  font-weight: 900;
  color: #102636;
}

.stage-row p:first-of-type {
  margin: 0;
  font-weight: 600;
}

.stage-row p:last-of-type {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #d9e6ed;
}

/* approach */
.steps-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.step-card {
  border-radius: 0.375rem;
  border: 1px solid #dce5ea;
  padding: 1.5rem;
}

.step-num {
  font-size: 0.875rem;
  font-weight: 900;
  color: #f0a63a;
}

.step-card h3 {
  margin: 1rem 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #16212d;
}

.step-card p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.75rem;
  color: #536677;
}

/* contact */
.contact-section {
  background: #081927;
  color: #fff;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.contact-section h2 {
  margin-top: 0.75rem;
}

.contact-lead {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 2rem;
  color: #d9e6ed;
}

.contact-card {
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
}

.contact-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}

.contact-dl dt {
  font-weight: 700;
  color: #8de3ed;
}

.contact-dl dd {
  margin: 0.25rem 0 0;
}

.contact-dl a:hover {
  color: #8de3ed;
}

.contact-btn {
  margin-top: 1.5rem;
  display: block;
  border-radius: 0.375rem;
  background: #fff;
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #081927;
  transition: background 0.15s ease;
}

.contact-btn:hover {
  background: #dff7fb;
}

/* footer */
footer {
  background: #06121d;
  padding: 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: #9bb1bf;
}

.footer-inner {
  margin: 0 auto;
  display: flex;
  max-width: 80rem;
  flex-direction: column;
  gap: 0.5rem;
}

/* ---------- Responsive: sm (>=640px) ---------- */
@media (min-width: 640px) {
  .header,
  .hero-inner,
  .proof-section,
  .section-inner,
  footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-inner {
    min-height: 76vh;
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .hero-lead {
    font-size: 1.125rem;
  }

  .hero-actions {
    flex-direction: row;
  }

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

  h2 {
    font-size: 2.25rem;
  }

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

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- Responsive: lg (>=1024px) ---------- */
@media (min-width: 1024px) {
  .nav {
    display: flex;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .services-grid {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .automation-head {
    grid-template-columns: 0.78fr 1.22fr;
  }

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

  .control-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr 0.8fr;
  }
}

/* ---------- Responsive: md (>=768px) for approach steps (2 col before lg) ---------- */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Responsive: xl (>=1280px) ---------- */
@media (min-width: 1280px) {
  .proof-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
