:root {
  color-scheme: light;
  --ink: #142126;
  --muted: #5e6a70;
  --paper: #f7f8f6;
  --white: #ffffff;
  --line: #d9dfdc;
  --dark: #071115;
  --cyan: #18b7c8;
  --amber: #f3a712;
  --green: #3f8f68;
  --shadow: 0 24px 70px rgba(7, 17, 21, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(7, 17, 21, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.18));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.language-switch button {
  min-width: 34px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button.is-active {
  color: #031012;
  background: var(--amber);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 112px clamp(18px, 5vw, 72px) 54px;
  color: var(--white);
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 9, 11, 0.92) 0%, rgba(3, 9, 11, 0.78) 34%, rgba(3, 9, 11, 0.18) 78%),
    linear-gradient(180deg, rgba(3, 9, 11, 0.25), rgba(3, 9, 11, 0.42));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

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

.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  font-weight: 800;
  line-height: 1;
}

.hero h1 {
  font-size: clamp(3.35rem, 10vw, 8.6rem);
}

.hero-copy {
  width: min(660px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions,
.product-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 transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #031012;
  background: var(--amber);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button.text-link {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(700px, 100%);
  margin: 44px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

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

.hero-metrics dt {
  font-weight: 800;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.section {
  padding: clamp(66px, 9vw, 110px) clamp(18px, 5vw, 72px);
}

.intro-band {
  background: var(--white);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto 38px;
}

.section h2,
.contact-section h2 {
  font-size: clamp(2rem, 4vw, 4.25rem);
}

.section-grid p,
.product-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
}

.icon {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--green);
  font-weight: 800;
}

.service-card h3,
.feature-strip h3,
.process-list h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.service-card p,
.feature-strip p,
.process-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-section {
  color: var(--white);
  background: var(--dark);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.product-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(2.1rem, 4.5vw, 4.7rem);
  line-height: 1.02;
}

.product-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.product-section .button.text-link {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.api-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: #0d1d22;
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.panel-header span:nth-child(2) {
  background: var(--cyan);
}

.panel-header span:nth-child(3) {
  background: var(--green);
}

pre {
  margin: 0;
  padding: clamp(18px, 4vw, 34px);
  overflow-x: auto;
  color: #d7f6f6;
  font: 500 0.94rem/1.75 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 56px auto 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-strip div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.feature-strip p {
  color: rgba(255, 255, 255, 0.68);
}

.process-section {
  background: #eef3f1;
}

.section-heading {
  max-width: 840px;
  margin: 0 auto 36px;
  text-align: center;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 26px;
  border-left: 3px solid var(--cyan);
  background: rgba(255, 255, 255, 0.72);
}

.process-list span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--amber);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
  padding: clamp(66px, 9vw, 110px) clamp(18px, 5vw, 72px);
  background: var(--white);
}

.contact-copy,
.contact-form {
  max-width: 620px;
}

.contact-form {
  display: grid;
  gap: 16px;
  width: 100%;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfcfa;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(24, 183, 200, 0.18);
  border-color: var(--cyan);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--dark);
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 980px) {
  .section-grid,
  .product-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .feature-strip,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-copy,
  .contact-form {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 10px;
    padding: 14px 18px;
  }

  .nav-toggle {
    display: grid;
    order: 3;
  }

  .language-switch {
    margin-left: auto;
    order: 2;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
    margin-left: 0;
    order: 4;
  }

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

  .site-nav a {
    padding: 15px;
  }

  .hero {
    min-height: 94vh;
    padding-top: 104px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 9, 11, 0.94) 0%, rgba(3, 9, 11, 0.66) 58%, rgba(3, 9, 11, 0.9) 100%);
  }

  .hero-metrics,
  .service-grid,
  .feature-strip,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 15px;
  }

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

  .icon,
  .process-list span {
    margin-bottom: 24px;
  }

  pre {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
