:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #eef3f7;
  --surface-strong: #101820;
  --ink: #111827;
  --muted: #5b6472;
  --muted-strong: #344054;
  --line: rgba(17, 24, 39, 0.12);
  --line-strong: rgba(17, 24, 39, 0.2);
  --accent: #0f766e;
  --accent-dark: #0b5e58;
  --blue: #1d4ed8;
  --amber: #b7791f;
  --shadow: 0 22px 54px rgba(20, 31, 43, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  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;
  font-size: 16px;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  max-width: calc(var(--max) + 96px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 48px);
}

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

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: #ffffff;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

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

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
}

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

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

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:not(.nav-cta) {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent-dark);
}

.nav a:not(.nav-cta):hover,
.nav a:not(.nav-cta):focus-visible {
  border-color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 8px 15px;
  background: var(--ink);
  color: #fff;
  transition: background-color 160ms ease, transform 160ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

main {
  overflow: hidden;
}

.section,
.hero,
.detail-hero,
.page-hero {
  padding-right: clamp(20px, 4vw, 48px);
  padding-left: clamp(20px, 4vw, 48px);
}

.section-inner,
.hero-inner,
.detail-hero-inner,
.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #eef4f6 100%);
}

.hero-inner {
  display: grid;
  min-height: min(86vh, 760px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
  padding-top: 64px;
  padding-bottom: 48px;
}

.hero-copy,
.detail-copy {
  max-width: 760px;
}

.eyebrow,
.item-label {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.detail-hero h1,
.page-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-lede,
.detail-lede,
.page-lede {
  max-width: 680px;
  color: #344054;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 11px 18px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button.primary:hover,
.button.primary:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button.secondary {
  background: #ffffff;
  color: var(--ink);
}

.button.text {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  box-shadow: none;
}

.button.text:hover,
.button.text:focus-visible {
  transform: none;
  box-shadow: none;
  color: var(--blue);
}

.hero-visual,
.detail-media,
.media-frame {
  position: relative;
}

.hero-visual::before,
.media-frame::before {
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: 0;
  border-radius: var(--radius);
  background: #d8e7e5;
  content: "";
}

.hero-visual img,
.detail-media img,
.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.metric {
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.section.alt {
  background: #ffffff;
}

.section.dark {
  background: var(--surface-strong);
  color: #ffffff;
}

.section.dark .eyebrow {
  color: #86d8d0;
}

.section.dark p,
.section.dark .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 36px;
}

.section-heading.compact {
  display: block;
  max-width: 780px;
}

.section-heading p:not(.eyebrow),
.card p,
.split-copy p,
.detail-grid p,
.page-content p,
.check-list,
.bullet-list {
  color: var(--muted);
}

.kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag,
.status-label {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e1f3f1;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.status-label {
  background: #fff4dd;
  color: #7c4a03;
}

.grid-3,
.grid-2,
.product-grid,
.service-grid,
.use-case-grid,
.process-grid,
.capability-grid {
  display: grid;
  gap: 18px;
}

.grid-3,
.product-grid,
.use-case-grid,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card,
.product-card,
.service-card,
.use-case-card,
.process-card,
.capability-card,
.info-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.section.dark .info-card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.section.dark .info-card p {
  color: rgba(255, 255, 255, 0.72);
}

.card,
.service-card,
.use-case-card,
.process-card,
.capability-card,
.info-card {
  padding: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-card img,
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card img {
  background: #dce5e8;
}

.product-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-card p,
.service-card p,
.use-case-card p,
.process-card p,
.capability-card p,
.info-card p {
  color: var(--muted);
}

.product-card .button,
.service-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.service-card,
.capability-card,
.process-card,
.use-case-card,
.info-card {
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover,
.capability-card:hover,
.process-card:hover,
.use-case-card:hover {
  border-color: rgba(29, 78, 216, 0.28);
  box-shadow: 0 16px 38px rgba(20, 31, 43, 0.1);
  transform: translateY(-1px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.check-list,
.bullet-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.bullet-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before,
.bullet-list li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.process-card span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: #e1f3f1;
  color: var(--accent-dark);
  font-weight: 900;
}

.detail-hero,
.page-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f0f5f7 100%);
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding-top: 62px;
  padding-bottom: 62px;
}

.page-hero-inner {
  padding-top: 72px;
  padding-bottom: 58px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 78px);
}

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

.spec {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.spec span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spec strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}

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

.gallery img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e5ebef;
}

.cta-band {
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 52px);
  background: var(--surface-strong);
  color: #fff;
}

.cta-band p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
}

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

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
  outline: none;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

address {
  color: var(--muted-strong);
  font-style: normal;
}

.page-content {
  max-width: 900px;
}

.page-content h2 {
  margin-top: 36px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.site-footer {
  background: #0f1720;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: grid;
  max-width: calc(var(--max) + 96px);
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.2fr);
  gap: 36px;
  margin: 0 auto;
  padding: 42px clamp(20px, 4vw, 48px);
}

.footer-brand {
  color: #fff;
  font-weight: 800;
}

.footer-address {
  max-width: 430px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.62);
}

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

.footer-links h3 {
  color: #fff;
  font-size: 0.95rem;
}

.footer-links a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.footer-bottom {
  max-width: calc(var(--max) + 96px);
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 48px) 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 980px) {
  .hero-inner,
  .detail-hero-inner,
  .section-heading,
  .split,
  .detail-grid,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .product-grid,
  .use-case-grid,
  .process-grid,
  .grid-2,
  .service-grid,
  .capability-grid,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .header-inner {
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 8px;
  }

  .site-header.nav-open .nav {
    display: flex;
  }

  .nav a,
  .nav-cta {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 0;
  }

  .nav-cta {
    margin-top: 8px;
    justify-content: center;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-inner,
  .detail-hero-inner,
  .page-hero-inner {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 14vw, 4.1rem);
  }

  .hero-actions,
  .section-actions,
  .not-found-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-metrics,
  .grid-3,
  .product-grid,
  .use-case-grid,
  .process-grid,
  .grid-2,
  .service-grid,
  .capability-grid,
  .gallery,
  .spec-grid,
  .form-row,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-visual::before,
  .media-frame::before {
    inset: 12px -10px -10px 12px;
  }
}
