:root {
  --bg: #f8faf8;
  --surface: #ffffff;
  --ink: #10201b;
  --muted: #5e6c67;
  --line: #dfe7e2;
  --accent: #1f7665;
  --accent-dark: #14594d;
  --accent-soft: #e7f1ee;
  --warm: #f4efe8;
  --shadow: 0 24px 70px rgba(16, 32, 27, 0.08);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px max(24px, calc((100vw - var(--max-width)) / 2));
  background: rgba(248, 250, 248, 0.9);
  border-bottom: 1px solid rgba(223, 231, 226, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: var(--ink);
  border-radius: 7px;
  font-size: 0.92rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 8px 12px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-dark);
  outline: none;
}

.nav-toggle {
  display: none;
}

.section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 64px;
  align-items: center;
  min-height: calc(100svh - 72px);
}

.hero-content {
  max-width: 660px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1;
}

h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.04;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 34px;
  padding: 0 22px;
  color: #ffffff;
  background: var(--accent);
  border-radius: var(--radius);
  font-weight: 800;
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
  box-shadow: 0 14px 36px rgba(31, 118, 101, 0.22);
  outline: none;
  transform: translateY(-1px);
}

.hero-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 24px;
  min-height: 480px;
  padding: 34px;
  background: linear-gradient(145deg, #ffffff 0%, #f2f7f5 58%, var(--warm) 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(31, 118, 101, 0.16);
  border-radius: 6px;
  pointer-events: none;
}

.panel-kicker {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-panel h2 {
  max-width: 360px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.direction-list {
  display: grid;
  gap: 12px;
}

.direction-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(223, 231, 226, 0.92);
  border-radius: 8px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.direction-item:hover {
  background: #ffffff;
  border-color: rgba(31, 118, 101, 0.28);
  box-shadow: 0 16px 42px rgba(16, 32, 27, 0.07);
  transform: translateY(-2px);
}

.direction-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 850;
}

.direction-item h3 {
  margin-bottom: 6px;
  font-size: 1.04rem;
}

.direction-item p,
.panel-note {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.panel-note {
  max-width: 420px;
  padding-top: 2px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  border-top: 1px solid var(--line);
}

.section-copy {
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading {
  margin-bottom: 34px;
}

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

.product-card {
  min-height: 290px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 56px rgba(16, 32, 27, 0.04);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-card:hover {
  border-color: rgba(31, 118, 101, 0.36);
  box-shadow: 0 22px 64px rgba(16, 32, 27, 0.08);
  transform: translateY(-3px);
}

.product-card p:last-child {
  color: var(--muted);
}

.product-index {
  margin-bottom: 68px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.capabilities {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  list-style: none;
  overflow: hidden;
}

.capability-list li {
  min-height: 104px;
  padding: 24px;
  background: var(--bg);
  color: var(--ink);
  font-weight: 750;
}

.contact {
  max-width: 760px;
  text-align: center;
}

.contact p:not(.eyebrow) {
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent-dark);
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--accent);
  outline: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 24px;
  }

  .section {
    padding: 74px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding-top: 72px;
  }

  .hero-panel {
    min-height: auto;
  }

  .split,
  .product-grid,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 28px;
  }

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

  .product-index {
    margin-bottom: 42px;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    padding-block: 14px;
  }

  .nav-toggle {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
  }

  .nav-toggle-line,
  .nav-toggle-line::before,
  .nav-toggle-line::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
  }

  .nav-toggle-line {
    position: relative;
  }

  .nav-toggle-line::before,
  .nav-toggle-line::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-line::before {
    top: -6px;
  }

  .nav-toggle-line::after {
    top: 6px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 24px;
    left: 24px;
    display: none;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .site-nav a {
    text-align: center;
  }

  .section {
    width: min(100% - 32px, var(--max-width));
    padding: 62px 0;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.65rem);
  }

  .hero {
    padding-top: 58px;
  }

  .hero-panel {
    padding: 22px;
  }

  .hero-panel::before {
    inset: 12px;
  }

  .direction-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .product-card {
    padding: 24px;
  }

  .capability-list li {
    min-height: 86px;
  }

  .site-footer {
    width: min(100% - 32px, var(--max-width));
    padding-bottom: 34px;
  }
}

@media (max-width: 520px) {
  .site-nav.is-open {
    grid-template-columns: 1fr;
  }
}
