:root {
  --indigo: #1f2a44;
  --seafoam: #5fb8b2;
  --cool-gray: #a7b3c2;
  --silver-blue: #eaf1f6;
  --bg: #f8fbfd;
  --surface: #ffffff;
  --surface-soft: #f2f7fb;
  --text: var(--indigo);
  --muted: #687386;
  --line: rgba(31, 42, 68, .14);
  --line-strong: rgba(31, 42, 68, .24);
  --shadow: 0 18px 46px rgba(31, 42, 68, .1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0, var(--bg) 360px, var(--silver-blue) 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAV --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(31, 42, 68, .06);
  backdrop-filter: blur(18px);
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 292px;
  height: 52px;
  object-fit: cover;
  object-position: center;
}

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

.links a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color .2s;
}

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

.links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--seafoam);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .2s, transform .2s;
}

.links a:not(.btn):hover::after {
  opacity: 1;
  transform: translateY(0);
}

.links .btn {
  min-height: 38px;
  padding: 9px 14px;
  color: var(--indigo);
  background: rgba(95, 184, 178, .14);
  border-color: rgba(95, 184, 178, .42);
  box-shadow: none;
}

.links .btn:hover {
  color: #16383a;
  background: rgba(95, 184, 178, .22);
  border-color: rgba(95, 184, 178, .66);
  box-shadow: none;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--indigo);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 12px 24px 20px;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 12px 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color .2s;
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile a:hover {
  color: var(--seafoam);
}

/* --- BUTTONS --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  background: var(--indigo);
  border: 1px solid var(--indigo);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(31, 42, 68, .12);
  transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
}

.btn:hover {
  background: #17223a;
  border-color: #17223a;
  box-shadow: 0 14px 28px rgba(31, 42, 68, .18);
  transform: translateY(-1px);
}

.btn.secondary {
  color: var(--indigo);
  background: var(--surface);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn.secondary:hover {
  color: var(--seafoam);
  background: #ffffff;
  border-color: rgba(95, 184, 178, .55);
}

/* --- HERO --- */

.hero {
  padding: 78px 0 64px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--seafoam);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
  gap: 44px;
  align-items: center;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p.lead {
  max-width: 760px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 21px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0, var(--surface-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--indigo), var(--seafoam), var(--cool-gray));
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.metric {
  min-height: 112px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric b {
  display: block;
  color: var(--indigo);
  font-size: 28px;
  letter-spacing: 0;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

/* --- SECTIONS --- */

.section {
  padding: 72px 0;
  background: rgba(255, 255, 255, .38);
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: 0;
}

.section .intro {
  max-width: 820px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
}

/* --- GRIDS --- */

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: start;
}

/* --- CARDS --- */

.card {
  min-height: 100%;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 42, 68, .06);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.card:hover {
  border-color: rgba(95, 184, 178, .55);
  box-shadow: 0 16px 34px rgba(31, 42, 68, .1);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

/* --- PROCESS STEPS --- */

.process {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 62px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 24px;
  left: 20px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  background: var(--seafoam);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(95, 184, 178, .22);
}

/* --- CTA BAND --- */

.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--indigo), #2f456b);
  border: 1px solid rgba(31, 42, 68, .22);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.band h2 {
  margin: 0 0 10px;
  color: #ffffff;
}

.band p {
  max-width: 720px;
  margin: 0;
  color: var(--silver-blue);
}

.band .btn {
  color: #073a3d;
  background: var(--seafoam);
  border-color: var(--seafoam);
  box-shadow: none;
}

.band .btn:hover {
  color: var(--indigo);
  background: #79cbc6;
  border-color: #79cbc6;
}

/* --- CONTACT FORM --- */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 680px;
}

.contact-direct {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.contact-direct a {
  color: var(--seafoam);
  font-weight: 700;
  text-decoration: none;
}

.contact-direct a:hover {
  text-decoration: underline;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field textarea {
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8d98a8;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(95, 184, 178, .7);
  box-shadow: 0 0 0 4px rgba(95, 184, 178, .13);
}

.form-notice {
  max-width: 680px;
  margin-bottom: 6px;
  padding: 14px 18px;
  font-size: 15px;
  border-radius: 8px;
}

.form-notice.success {
  color: #185a58;
  background: rgba(95, 184, 178, .14);
  border: 1px solid rgba(95, 184, 178, .36);
}

.form-notice.error {
  color: #8f2c2c;
  background: rgba(185, 76, 76, .08);
  border: 1px solid rgba(185, 76, 76, .28);
}

.form-notice.error a {
  color: #8f2c2c;
}

/* --- FOOTER --- */

.footer {
  padding: 36px 0 50px;
  color: var(--muted);
  font-size: 14px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer strong {
  color: var(--indigo);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

/* --- UTILITIES --- */

.tag {
  display: inline-flex;
  margin: 4px 6px 4px 0;
  padding: 6px 10px;
  color: var(--indigo);
  font-size: 13px;
  font-weight: 700;
  background: var(--silver-blue);
  border: 1px solid rgba(167, 179, 194, .55);
  border-radius: 8px;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.list-clean {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-clean li {
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.list-clean li:last-child {
  border-bottom: none;
}

/* --- RESPONSIVE --- */

@media (max-width: 860px) {
  .hero-grid,
  .grid3,
  .grid2 {
    grid-template-columns: 1fr;
  }

  .links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 54px 0 52px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .section {
    padding: 56px 0;
  }

  .section h2 {
    font-size: 32px;
  }

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

  .band {
    display: block;
  }

  .band .btn {
    width: 100%;
    margin-top: 20px;
  }

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

@media (max-width: 560px) {
  .wrap {
    padding: 0 18px;
  }

  .nav-inner {
    height: 70px;
  }

  .brand-logo {
    width: 230px;
    height: 44px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p.lead {
    font-size: 18px;
  }

  .actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .hero-card,
  .card,
  .band {
    padding: 22px;
  }

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