:root {
  --ink: #082a32;
  --muted: #536771;
  --line: #dfe7e8;
  --paper: #ffffff;
  --mist: #f4f8f8;
  --teal: #005b63;
  --teal-dark: #003f47;
  --amber: #e59d1c;
  --coral: #d9634f;
  --blue: #2b78a0;
  --shadow: 0 24px 70px rgba(8, 42, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(8, 42, 50, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 50px rgba(8, 42, 50, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--teal);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
}

.header-cta {
  padding: 0 18px;
  color: #ffffff;
  background: var(--ink);
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.25fr);
  align-items: center;
  min-height: 100vh;
  padding: 128px max(24px, calc((100vw - 1180px) / 2)) 62px;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 19%, rgba(229, 157, 28, 0.18), transparent 31%),
    linear-gradient(115deg, #f7fbfa 0%, #ffffff 52%, #e8f3f3 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 7vw, 6.1rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.24rem;
}

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

.button {
  padding: 0 22px;
  border: 1px solid transparent;
}

.button.primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 15px 34px rgba(0, 91, 99, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin-top: 38px;
}

.hero-stats div,
.feature-card,
.metric,
.team-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.hero-stats div {
  padding: 18px;
}

.hero-stats strong {
  display: block;
  color: var(--teal);
  font-size: 2rem;
  line-height: 1;
}

.hero-stats span,
.feature-card p,
.metric span,
.split-copy p,
.section-heading p,
.timeline-step p,
.team-card span,
.contact p,
.site-footer p,
.problem-band p {
  color: var(--muted);
}

.hero-visual {
  width: min(930px, 64vw);
  margin: 0 -15vw 0 0;
  filter: drop-shadow(0 34px 64px rgba(8, 42, 50, 0.22));
}

.hero-visual img {
  border-radius: 8px;
}

.problem-band,
.section,
.split-section,
.workflow,
.team-section,
.contact,
.site-footer {
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
}

.problem-band {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 60px;
  align-items: end;
  padding-top: 78px;
  padding-bottom: 78px;
  color: #ffffff;
  background: var(--ink);
}

.problem-band .eyebrow,
.problem-band p {
  color: #b6d3d4;
}

.problem-band h2 {
  margin-bottom: 0;
  color: #ffffff;
}

.section,
.workflow {
  padding-top: 104px;
  padding-bottom: 104px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

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

.feature-card {
  min-height: 270px;
  padding: 28px;
  box-shadow: 0 10px 34px rgba(8, 42, 50, 0.06);
}

.icon {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 70px;
  align-items: center;
  padding-top: 104px;
  padding-bottom: 104px;
  background: var(--mist);
}

.metric-panel {
  display: grid;
  gap: 14px;
}

.metric {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
}

.metric strong {
  color: var(--teal);
  font-size: 3.3rem;
  line-height: 1;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.timeline-step {
  min-height: 260px;
  padding: 28px;
  background: #ffffff;
}

.timeline-step span {
  display: block;
  width: 40px;
  height: 5px;
  margin-bottom: 58px;
  border-radius: 99px;
  background: var(--teal);
}

.timeline-step:nth-child(2) span {
  background: var(--blue);
}

.timeline-step:nth-child(3) span {
  background: var(--amber);
}

.timeline-step:nth-child(4) span {
  background: var(--coral);
}

.team-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 70px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal-dark), #12282d);
}

.team-section .eyebrow,
.team-card p,
.team-card span {
  color: #c5dddd;
}

.team-section h2,
.team-card h3 {
  color: #ffffff;
}

.team-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  padding: 26px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.avatar {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 900;
}

.team-card p {
  margin-bottom: 12px;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.45fr);
  gap: 36px;
  align-items: center;
  padding-top: 86px;
  padding-bottom: 86px;
}

.contact div {
  max-width: 760px;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.contact-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
}

.contact-form input:focus {
  outline: 3px solid rgba(0, 91, 99, 0.16);
  border-color: var(--teal);
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto auto;
    width: min(100% - 28px, 720px);
  }

  .nav-toggle {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .nav-links.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding-top: 10px;
  }

  .nav-links.is-open a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .hero,
  .problem-band,
  .split-section,
  .team-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 124px;
  }

  .hero-visual {
    width: 100%;
    margin: 20px 0 0;
  }

  .feature-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}

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

  h2 {
    font-size: 2.25rem;
  }

  .hero-stats,
  .feature-grid,
  .timeline,
  .metric {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .problem-band,
  .section,
  .split-section,
  .workflow,
  .team-section,
  .contact {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

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