:root {
  --bg: #f6f7f4;
  --bg-soft: #ebece7;
  --ink: #0b0c0b;
  --ink-2: #1a1b19;
  --muted: #62645f;
  --muted-dark: rgba(255, 255, 255, 0.68);
  --line: rgba(11, 12, 11, 0.12);
  --line-strong: rgba(11, 12, 11, 0.2);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-dark: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.28);
  --lime: #dfff24;
  --coral: #ff6b5d;
  --teal: #0d6f65;
  --white: #ffffff;
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
  --section: clamp(84px, 11vw, 154px);
  --shadow-soft: 0 24px 80px rgba(11, 12, 11, 0.14);
  --shadow-glass: 0 20px 70px rgba(0, 0, 0, 0.22);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

#value,
#system,
#proof,
#contacts {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfcfa 0%, var(--bg) 38%, #ffffff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1220px, calc(100% - 24px));
  min-height: 64px;
  margin: 12px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(251, 252, 250, 0.72);
  color: var(--ink);
  box-shadow: 0 14px 50px rgba(11, 12, 11, 0.08);
  backdrop-filter: blur(22px) saturate(160%);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: calc(var(--radius) - 1px);
  border-top: 1px solid rgba(255, 255, 255, 0.78);
  pointer-events: none;
}

.site-header.is-scrolled {
  border-color: rgba(11, 12, 11, 0.1);
  background: rgba(251, 252, 250, 0.84);
  box-shadow: 0 18px 70px rgba(11, 12, 11, 0.12);
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 36px;
  border: 1px solid rgba(11, 12, 11, 0.16);
  border-radius: 6px;
  background: var(--ink);
  color: var(--lime);
  font-size: 16px;
  font-weight: 900;
}

.brand__copy {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  padding: 11px 14px;
  border-radius: 6px;
  color: rgba(11, 12, 11, 0.68);
  font-size: 14px;
  font-weight: 760;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(11, 12, 11, 0.06);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(11, 12, 11, 0.06);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  padding: clamp(54px, 8vw, 112px) 0 clamp(72px, 9vw, 130px);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.86fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0;
  text-transform: uppercase;
}

p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(56px, 7.4vw, 112px);
  line-height: 0.92;
}

h2 {
  max-width: 820px;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 0.96;
}

h3 {
  line-height: 1.04;
}

.hero__lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.42;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
  font-weight: 820;
  line-height: 1.1;
  text-align: center;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

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

.button--primary {
  border-color: rgba(11, 12, 11, 0.1);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(11, 12, 11, 0.18);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #000000;
}

.button--secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.92);
}

.button--wide {
  width: 100%;
}

.hero-visual {
  position: relative;
  min-height: clamp(520px, 58vw, 690px);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-soft);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 12, 11, 0.04), rgba(11, 12, 11, 0.42)),
    linear-gradient(90deg, rgba(11, 12, 11, 0.2), rgba(11, 12, 11, 0));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center right;
}

.hero-visual__caption,
.hero-visual__metrics {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(22px) saturate(160%);
}

.hero-visual__caption {
  top: 18px;
  left: 18px;
  right: 18px;
  padding: 16px;
}

.hero-visual__caption span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.hero-visual__caption strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
}

.hero-visual__metrics {
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 8px;
}

.hero-visual__metrics span {
  min-height: 74px;
  padding: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.hero-visual__metrics strong {
  display: block;
  color: var(--white);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  gap: 1px;
  border-block: 1px solid rgba(11, 12, 11, 0.1);
  background: rgba(11, 12, 11, 0.12);
  overflow-x: auto;
}

.proof-strip span {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(11, 12, 11, 0.72);
  font-size: 13px;
  font-weight: 820;
  white-space: nowrap;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: var(--section) 0;
}

.section__intro {
  display: grid;
  gap: 22px;
  max-width: 870px;
}

.section__intro p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.section__intro--dark p:not(.eyebrow) {
  color: var(--muted-dark);
}

.section__intro--dark .eyebrow,
.proof-section .eyebrow,
.final-cta .eyebrow {
  color: var(--lime);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 5vw, 58px);
}

.value-card,
.feature-card {
  min-height: 300px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 54px rgba(11, 12, 11, 0.06);
  backdrop-filter: blur(18px) saturate(140%);
}

.value-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 34px;
  margin-bottom: 72px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 12px;
  font-weight: 860;
}

.value-card h3,
.feature-card h3 {
  max-width: 330px;
  font-size: clamp(25px, 2.5vw, 38px);
}

.value-card p,
.feature-card p {
  max-width: 370px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.opportunity-section {
  padding-top: 0;
}

.opportunity-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 6vw, 84px);
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(11, 12, 11, 0.08);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.opportunity-panel .eyebrow {
  color: var(--lime);
}

.opportunity-list {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.opportunity-list article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.opportunity-list span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 860;
  text-transform: uppercase;
}

.opportunity-list p {
  margin: 12px 0 0;
  color: var(--muted-dark);
  font-size: clamp(16px, 1.7vw, 20px);
}

.system-section {
  padding: var(--section) 0;
  background: var(--ink);
  color: var(--white);
}

.system-section__inner {
  width: var(--container);
  margin: 0 auto;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(38px, 6vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.workflow article {
  min-height: 310px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(140%);
}

.workflow span {
  display: inline-block;
  margin-bottom: 86px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
}

.workflow h3 {
  font-size: clamp(24px, 2.6vw, 38px);
}

.workflow p {
  margin: 16px 0 0;
  color: var(--muted-dark);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 5vw, 58px);
}

.feature-card {
  min-height: 260px;
}

.proof-section {
  padding: var(--section) 0;
  background:
    linear-gradient(180deg, #10110f 0%, #0b0c0b 100%);
  color: var(--white);
  overflow: hidden;
}

.proof-section__inner {
  width: var(--container);
  margin: 0 auto;
}

.proof-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: var(--glass-dark);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.icon-button span {
  font-size: 32px;
  line-height: 1;
}

.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(223, 255, 36, 0.5);
  background: rgba(223, 255, 36, 0.12);
}

.work-carousel {
  display: grid;
  grid-auto-columns: minmax(282px, 360px);
  grid-auto-flow: column;
  gap: 14px;
  padding: 2px 0 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--lime) rgba(255, 255, 255, 0.14);
}

.work-card {
  position: relative;
  display: grid;
  grid-template-rows: 390px auto auto auto;
  min-height: 590px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  overflow: hidden;
  scroll-snap-align: start;
  backdrop-filter: blur(18px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(223, 255, 36, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card span,
.work-card h3,
.work-card p {
  margin-inline: 22px;
}

.work-card span {
  margin-top: 22px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card h3 {
  margin-top: 10px;
  font-size: clamp(25px, 2.4vw, 34px);
}

.work-card p {
  margin-top: 14px;
  margin-bottom: 24px;
  color: var(--muted-dark);
}

.work-card::after {
  content: "Открыть";
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(223, 255, 36, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 500px);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.contact-channels a {
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(16px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.contact-channels a:hover,
.contact-channels a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(150%);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(11, 12, 11, 0.82);
  font-size: 14px;
  font-weight: 780;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(13, 111, 101, 0.62);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 111, 101, 0.12);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 760;
}

.final-cta {
  width: var(--container);
  margin: 0 auto var(--section);
}

.final-cta__inner {
  display: grid;
  justify-items: center;
  gap: 26px;
  padding: clamp(46px, 7vw, 86px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.final-cta h2 {
  max-width: 880px;
}

.final-cta .button--primary {
  background: var(--lime);
  color: var(--ink);
}

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

.site-footer div {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(13, 111, 101, 0.34);
  outline-offset: 3px;
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero__inner,
  .opportunity-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

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

@media (max-width: 820px) {
  :root {
    --container: min(100% - 32px, 1180px);
    --section: clamp(72px, 15vw, 110px);
  }

  .site-header {
    min-height: 60px;
    margin-top: 8px;
  }

  .brand__copy {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 12px auto;
    display: grid;
    gap: 2px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: var(--radius);
    background: rgba(251, 252, 250, 0.92);
    box-shadow: 0 24px 70px rgba(11, 12, 11, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    backdrop-filter: blur(22px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 48px;
    padding: 14px 12px;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(45px, 12vw, 72px);
  }

  h2 {
    font-size: clamp(34px, 10vw, 56px);
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 520px;
  }

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

  .hero-visual__metrics span {
    min-height: auto;
  }

  .proof-strip {
    grid-template-columns: repeat(7, 142px);
  }

  .value-grid,
  .feature-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .value-card,
  .feature-card,
  .workflow article {
    min-height: auto;
  }

  .value-card span,
  .workflow span {
    margin-bottom: 44px;
  }

  .proof-section__heading {
    display: grid;
    align-items: start;
  }

  .work-carousel {
    grid-auto-columns: minmax(282px, 86vw);
  }

  .work-card {
    grid-template-rows: 360px auto auto auto;
    min-height: 548px;
  }

  .contact-channels a {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .hero__lead,
  .section__intro p:not(.eyebrow),
  .contact-copy p:not(.eyebrow) {
    font-size: 18px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-visual__caption,
  .hero-visual__metrics {
    left: 12px;
    right: 12px;
  }

  .hero-visual__caption {
    top: 12px;
  }

  .hero-visual__metrics {
    bottom: 12px;
  }

  .opportunity-panel,
  .final-cta__inner {
    padding: 28px 20px;
  }

  .work-card {
    grid-template-rows: 330px auto auto auto;
  }
}
