:root {
  color-scheme: dark;
  --bg: #080d10;
  --panel: #10181d;
  --ink: #eef5f3;
  --muted: #96a7aa;
  --line: rgba(238, 245, 243, 0.14);
  --accent: #20c7b8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 16, 0.94);
}

.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--accent);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}

.language-button {
  width: 30px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.language-button.active {
  border-color: var(--accent);
}

.language-button img {
  width: 22px;
  height: 14px;
  display: block;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(238, 245, 243, 0.25);
}

.hero {
  min-height: calc(100svh - 68px);
  display: grid;
  align-items: center;
  padding: 56px 0;
  background:
    linear-gradient(rgba(32, 199, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 199, 184, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: 34px 34px;
}

.hero-grid,
.split,
.contact-box {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 5vw, 4.65rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.lead,
.section p,
.contact p,
footer {
  color: var(--muted);
}

.lead {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.tech {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.tech-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  min-width: 0;
}

.tech-logos img {
  max-width: min(460px, 100%);
  max-height: 148px;
  object-fit: contain;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #061012;
  text-decoration: none;
  font-weight: 850;
  overflow-wrap: anywhere;
  text-align: center;
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.hero-media {
  overflow: hidden;
  border: 1px solid rgba(32, 199, 184, 0.24);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-benefits article {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.hero-benefits strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.05rem;
}

.hero-benefits span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.section.compact {
  padding-top: 54px;
}

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

.saving {
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.saving p {
  margin-bottom: 0;
}

.list article,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.list article {
  padding: 18px;
}

.list article h3:last-child {
  margin-bottom: 0;
}

.list p {
  margin-bottom: 0;
}

.pie {
  flex: 0 0 auto;
  width: 82px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(
      var(--accent) 0 58%,
      #5dd39e 58% 78%,
      #f3a33c 78% 91%,
      rgba(238, 245, 243, 0.16) 91% 100%
    );
  box-shadow: inset 0 0 0 12px #10181d;
}

.contact {
  padding: 64px 0 78px;
}

.contact-box {
  padding: 26px;
}

.contact-box p {
  margin-bottom: 0;
}

footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .hero-grid,
  .split,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topbar {
    min-height: 0;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    width: 100%;
    gap: 10px 16px;
  }

  .hero {
    min-height: auto;
    padding: 44px 0;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 1120px);
  }

  nav {
    font-size: 0.9rem;
  }

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

  .hero {
    padding: 34px 0 42px;
  }

  h1 {
    font-size: clamp(2rem, 13vw, 3rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.55rem, 9vw, 2.2rem);
  }

  .lead {
    font-size: 1rem;
  }

  .tech {
    padding: 14px;
  }

  .tech-logos img {
    max-width: min(100%, 260px);
    max-height: 96px;
  }

  .hero-media img {
    aspect-ratio: 4 / 3;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .section.compact {
    padding-top: 44px;
  }

  .saving {
    align-items: flex-start;
  }

  .pie {
    width: 66px;
    box-shadow: inset 0 0 0 10px #10181d;
  }

  .contact {
    padding: 48px 0 58px;
  }

  .contact-box {
    padding: 20px;
  }
}

@media (max-width: 380px) {
  nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .language-switch {
    margin-left: 0;
  }

  .saving {
    flex-direction: column;
  }
}
