:root {
  color-scheme: dark;
  --bg: #080b10;
  --surface: #101720;
  --surface-strong: #162130;
  --text: #f4f7fb;
  --muted: #a9b5c7;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #41c7b9;
  --accent-strong: #7ee0a9;
  --warm: #f0b15d;
  --ink: #071015;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 60px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(8, 11, 16, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(65, 199, 185, 0.16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(244, 247, 251, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--accent-strong);
}

.language-switch {
  display: grid;
  grid-template-columns: repeat(2, 42px);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-button {
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.lang-button.is-active {
  background: var(--text);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 140px clamp(20px, 5vw, 72px) 46px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 16, 0.98) 0%, rgba(8, 11, 16, 0.88) 34%, rgba(8, 11, 16, 0.42) 72%, rgba(8, 11, 16, 0.68) 100%),
    linear-gradient(180deg, rgba(8, 11, 16, 0.14) 0%, rgba(8, 11, 16, 0.86) 100%);
}

.hero-content {
  align-self: center;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(44px, 7vw, 86px);
}

.hero-subtitle {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(244, 247, 251, 0.82);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--ink);
}

.button-secondary {
  border: 1px solid rgba(244, 247, 251, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-stats {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
  margin-top: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.58);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 26px;
  line-height: 1.1;
}

.hero-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 106px clamp(20px, 5vw, 72px);
  scroll-margin-top: 92px;
}

.section-grid,
.process-layout,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.section h2 {
  font-size: clamp(32px, 4.2vw, 58px);
}

.copy-stack p,
.process-layout p,
.feature-card p,
.contact p {
  color: var(--muted);
  font-size: 17px;
}

.copy-stack p:first-child {
  margin-top: 0;
}

.feature-band {
  background: #edf3f6;
  color: #0b1720;
}

.feature-band .section-kicker {
  color: #08796d;
}

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

.feature-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid rgba(8, 22, 32, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 54px rgba(12, 28, 39, 0.08);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #0b1720;
  color: var(--accent-strong);
  font-weight: 800;
}

.feature-card h3 {
  margin: 28px 0 12px;
  font-size: 25px;
  letter-spacing: 0;
}

.feature-card p {
  color: #526171;
}

.process {
  background:
    linear-gradient(180deg, rgba(65, 199, 185, 0.08), transparent 44%),
    var(--bg);
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-list li {
  position: relative;
  padding: 24px 24px 24px 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.process-list li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  font-size: 19px;
}

.process-list span {
  margin-top: 6px;
  color: var(--muted);
}

.contact {
  padding-top: 32px;
}

.contact-panel {
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(126, 224, 169, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(65, 199, 185, 0.14), rgba(240, 177, 93, 0.1));
}

.contact-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  max-width: 100%;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--text);
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
}

.footer-links a {
  color: var(--text);
}

.footer-links a:hover {
  color: var(--accent-strong);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 860px;
    padding-top: 118px;
  }

  .hero-media img {
    object-position: 72% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 11, 16, 0.98) 0%, rgba(8, 11, 16, 0.76) 48%, rgba(8, 11, 16, 0.92) 100%),
      linear-gradient(90deg, rgba(8, 11, 16, 0.82), rgba(8, 11, 16, 0.42));
  }

  .hero-stats,
  .section-grid,
  .process-layout,
  .contact-panel,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    max-width: none;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .contact-link {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 70px;
    padding-inline: 16px;
    gap: 12px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .language-switch {
    grid-template-columns: repeat(2, 36px);
  }

  .hero {
    min-height: 820px;
    padding-inline: 18px;
    padding-bottom: 28px;
  }

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

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 78px 18px;
  }

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