:root {
  --brand-950: #032d2f;
  --brand-900: #054345;
  --brand-800: #07595a;
  --brand-700: #087572;
  --brand-600: #0b8b84;
  --brand-100: #dcece8;
  --brand-50: #eff6f4;
  --ink: #10282b;
  --ink-soft: #294347;
  --muted: #667a7d;
  --line: #cad9d6;
  --line-strong: #9ebbb6;
  --surface: #ffffff;
  --surface-alt: #f3f7f6;
  --warm: #f3bc55;
  --warm-hover: #ffca68;
  --coral: #e96e5b;
  --blue: #4f7fbd;
  --mint: #54b99d;
  --shadow: 0 24px 70px rgba(2, 35, 37, 0.15);
  --shell: 1260px;
  --header-height: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
strong {
  line-height: 1.14;
}

h1 {
  margin-bottom: 12px;
  font-size: 78px;
  font-weight: 760;
}

h2 {
  margin-bottom: 18px;
  font-size: 46px;
  font-weight: 720;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--brand-900);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.nav-shell,
.hero__inner {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.band {
  position: relative;
  padding: 108px 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #a9d7ce;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 720;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.demo-tab:focus-visible,
.menu-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
}

.button--small {
  min-height: 40px;
  padding-inline: 17px;
  font-size: 13px;
}

.button--header {
  color: #ffffff;
  background: var(--brand-900);
}

.button--header:hover {
  background: var(--brand-800);
}

.button--accent {
  color: #172729;
  background: var(--warm);
  border-color: var(--warm);
}

.button--accent:hover {
  background: var(--warm-hover);
  border-color: var(--warm-hover);
}

.button--ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.5);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: #ffffff;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(202, 217, 214, 0.9);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(4, 42, 44, 0.08);
}

.nav-shell {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand__mark {
  flex: 0 0 auto;
  border-radius: 7px;
}

.brand__name {
  font-size: 19px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.main-nav a {
  color: #425a5d;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a:hover {
  color: var(--brand-700);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  height: min(760px, calc(100svh - 136px));
  min-height: 650px;
  overflow: hidden;
  color: #ffffff;
  background: var(--brand-950);
}

.hero-product {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 36%;
  overflow: hidden;
  background: #eaf2f0;
}

.hero-product img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1320px;
  max-width: none;
  transform: translate(-46%, -8%);
}

.hero-veil {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 58%;
  background: var(--brand-950);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero__inner > * {
  max-width: 620px;
}

.hero__promise {
  margin-bottom: 14px;
  color: var(--warm);
  font-size: 26px;
  font-weight: 720;
  line-height: 1.25;
}

.hero__lead {
  margin-bottom: 28px;
  color: #d7e5e2;
  font-size: 20px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  gap: 12px;
}

.hero__note {
  max-width: 540px;
  margin: 28px 0 0;
  padding-top: 18px;
  color: #a9c5c0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

.outcomes {
  position: relative;
  z-index: 3;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.outcome-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.outcome-strip > div {
  min-width: 0;
  padding: 27px 28px 25px 0;
}

.outcome-strip > div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.outcome-strip span,
.outcome-strip strong {
  display: block;
}

.outcome-strip span {
  margin-bottom: 13px;
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 760;
}

.outcome-strip strong {
  margin-bottom: 6px;
  font-size: 15px;
}

.outcome-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: 86px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2 {
  max-width: 790px;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 17px;
}

.product-section {
  background: var(--surface-alt);
}

.product-demo {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-demo__tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 9px;
  background: #e8f1ef;
  border-bottom: 1px solid var(--line);
}

.demo-tab {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  color: #536a6d;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.demo-tab:hover {
  color: var(--brand-800);
  background: rgba(255, 255, 255, 0.6);
}

.demo-tab[aria-selected="true"] {
  color: var(--brand-900);
  background: #ffffff;
  border-color: #b9ceca;
  box-shadow: 0 4px 12px rgba(5, 67, 69, 0.08);
}

.demo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.7fr);
  min-height: 600px;
}

.product-screen {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #e7efed;
  border-right: 1px solid var(--line);
}

.product-screen::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 7px 10px;
  color: #ffffff;
  background: rgba(3, 45, 47, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  content: "Реальный интерфейс · v1.55.1";
  font-size: 10px;
  font-weight: 700;
}

.product-screen img {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  max-width: none;
}

.product-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 42px 36px;
  background: #ffffff;
}

.product-copy__label {
  margin-bottom: 13px;
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.product-copy h3 {
  font-size: 30px;
}

.product-copy > p:not(.product-copy__label) {
  color: var(--muted);
}

.product-copy blockquote {
  margin: 12px 0 21px;
  padding: 16px 0 16px 18px;
  color: var(--ink-soft);
  border-left: 3px solid var(--warm);
  font-size: 15px;
  font-weight: 650;
}

.product-copy ul {
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.product-copy li {
  position: relative;
  padding: 6px 0 6px 17px;
  color: #405b5f;
  font-size: 13px;
}

.product-copy li::before {
  position: absolute;
  top: 14px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 50%;
  content: "";
}

.workflow {
  color: #ffffff;
  background: var(--brand-950);
}

.workflow__heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 60px;
  align-items: start;
}

.workflow__heading .eyebrow {
  margin-top: 13px;
}

.workflow__heading h2 {
  max-width: 900px;
  margin-bottom: 34px;
  font-size: 48px;
}

.workflow__request {
  max-width: 1000px;
  margin: 0 0 52px auto;
  padding: 24px 30px;
  color: #ffffff;
  background: #075254;
  border-left: 4px solid var(--warm);
  font-size: 21px;
  font-weight: 650;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}

.workflow-steps li {
  min-width: 0;
  padding: 30px 26px 0 0;
}

.workflow-steps li + li {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.workflow-steps span,
.workflow-steps strong {
  display: block;
}

.workflow-steps span {
  margin-bottom: 36px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 760;
}

.workflow-steps li:nth-child(2) span { color: #79a8df; }
.workflow-steps li:nth-child(3) span { color: #6ed0b4; }
.workflow-steps li:nth-child(4) span { color: #f08a78; }

.workflow-steps strong {
  margin-bottom: 10px;
  font-size: 18px;
}

.workflow-steps p {
  margin: 0;
  color: #b9d0cc;
  font-size: 14px;
}

.team {
  background: #ffffff;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.role {
  min-width: 0;
  padding: 34px 34px 36px 0;
}

.role + .role {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.role > span {
  display: block;
  margin-bottom: 68px;
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.role:nth-child(2) > span { color: var(--blue); }
.role:nth-child(3) > span { color: var(--coral); }

.role h3 {
  font-size: 25px;
}

.role p {
  min-height: 88px;
  color: var(--muted);
}

.role strong {
  display: block;
  padding-top: 20px;
  color: var(--brand-800);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.control {
  background: var(--surface-alt);
}

.control__layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 100px;
}

.control__intro {
  align-self: start;
}

.control__intro h2 {
  font-size: 42px;
}

.control__intro > p:last-child {
  color: var(--muted);
}

.control-list {
  border-top: 1px solid var(--line-strong);
}

.control-list article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.control-list article > span {
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.control-list h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.control-list p {
  margin: 0;
  color: var(--muted);
}

.final-cta {
  color: #ffffff;
  background: var(--brand-900);
  border-top: 7px solid var(--warm);
}

.final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 90px;
  align-items: end;
}

.final-cta h2 {
  max-width: 800px;
  margin-bottom: 12px;
}

.final-cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: #cfe0dd;
}

.final-cta__actions {
  display: grid;
  gap: 10px;
}

.site-footer {
  padding: 44px 0;
  color: #b6ccc8;
  background: #061f21;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.brand--footer {
  color: #ffffff;
}

.site-footer p {
  margin: 9px 0 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
}

.footer-links a:hover {
  color: #ffffff;
}

.site-footer__meta {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.reveal {
  transform: translateY(12px);
  transition: transform 420ms ease;
}

.reveal.is-visible,
.no-js .reveal {
  transform: none;
}

@media (max-width: 1100px) {
  h1 { font-size: 68px; }
  h2 { font-size: 40px; }

  .hero-product { left: 42%; }
  .hero-veil { width: 63%; }
  .hero-product img { width: 1220px; }
  .hero__inner > * { max-width: 560px; }
  .section-heading { gap: 54px; }
  .demo-panel { grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.75fr); min-height: 560px; }
  .product-copy { padding: 34px 28px; }
  .product-copy h3 { font-size: 26px; }
  .control__layout { gap: 58px; }
}

@media (max-width: 840px) {
  :root { --header-height: 64px; }

  .section-shell,
  .nav-shell,
  .hero__inner { width: min(calc(100% - 32px), var(--shell)); }
  .band { padding: 80px 0; }
  h1 { font-size: 56px; }
  h2 { font-size: 35px; }

  .main-nav,
  .button--header { display: none; }
  .nav-shell { justify-content: space-between; }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    padding: 12px 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 40px rgba(3, 40, 42, 0.12);
  }

  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 13px 4px; font-weight: 680; border-bottom: 1px solid #e3ecea; }

  .hero {
    height: auto;
    min-height: 730px;
  }

  .hero-product {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    height: 292px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-product img {
    top: 0;
    left: 50%;
    width: 690px;
    transform: translate(-50%, -7%);
  }

  .hero-veil {
    right: 0;
    bottom: auto;
    width: auto;
    height: 450px;
  }

  .hero__inner {
    min-height: 730px;
    justify-content: flex-start;
    padding-top: 45px;
  }

  .hero__inner > * { max-width: 680px; }
  .hero__promise { font-size: 23px; }
  .hero__lead { max-width: 620px; font-size: 18px; }
  .hero__note { display: none; }

  .outcome-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcome-strip > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .outcome-strip > div:nth-child(4) { border-top: 1px solid var(--line); }

  .section-heading,
  .workflow__heading,
  .control__layout,
  .final-cta__inner {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .workflow__heading,
  .control__layout,
  .final-cta__inner { gap: 36px; }
  .section-heading { align-items: start; margin-bottom: 36px; }
  .section-heading > p { max-width: 680px; }

  .product-demo__tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .demo-tab { flex: 0 0 108px; }
  .demo-panel { grid-template-columns: 1fr; min-height: 0; }
  .product-copy { order: 1; padding: 32px 28px; }
  .product-screen { order: 2; height: 460px; border-top: 1px solid var(--line); border-right: 0; }
  .product-screen img { top: -13%; width: 820px; }
  .product-screen--chat img { left: auto; right: 0; }

  .workflow__heading .eyebrow { margin-top: 0; }
  .workflow__heading h2 { margin-bottom: 0; font-size: 39px; }
  .workflow__request { margin: 0 0 38px; }
  .workflow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-steps li:nth-child(3) { padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.22); border-left: 0; }
  .workflow-steps li:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.22); }
  .workflow-steps span { margin-bottom: 22px; }
  .workflow-steps li { padding-bottom: 28px; }

  .role-grid { grid-template-columns: 1fr; }
  .role { padding: 28px 0; }
  .role + .role { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .role > span { margin-bottom: 26px; }
  .role p { min-height: 0; }
  .control__intro { max-width: 720px; }
  .final-cta__actions { max-width: 440px; }
}

@media (max-width: 560px) {
  .band { padding: 66px 0; }
  h1 { font-size: 48px; }
  h2 { font-size: 31px; }
  h3 { font-size: 19px; }

  .brand__name { font-size: 17px; }
  .hero { min-height: 748px; }
  .hero__inner { min-height: 748px; padding-top: 38px; }
  .hero-veil { height: 508px; }
  .hero-product { height: 240px; }
  .hero-product img { width: 720px; transform: translate(-38%, -10%); }
  .hero__promise { font-size: 21px; }
  .hero__lead { font-size: 17px; }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .button { width: 100%; }

  .outcome-strip { grid-template-columns: 1fr; }
  .outcome-strip > div { padding: 22px 0; }
  .outcome-strip > div + div,
  .outcome-strip > div:nth-child(4) { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .outcome-strip span { margin-bottom: 8px; }

  .product-demo { margin-inline: -4px; }
  .product-demo__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding: 7px;
  }
  .demo-tab { min-height: 42px; }
  .product-copy { padding: 28px 22px; }
  .product-copy h3 { font-size: 25px; }
  .product-copy blockquote { padding-left: 15px; }
  .product-screen { height: 360px; }
  .product-screen img { top: -14%; width: 700px; }
  .product-screen--chat img { right: -16%; }
  .product-screen::after { right: 10px; bottom: 10px; }

  .workflow__heading h2 { font-size: 32px; }
  .workflow__request { padding: 20px; font-size: 17px; }
  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-steps li,
  .workflow-steps li + li,
  .workflow-steps li:nth-child(3) {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }
  .workflow-steps li:first-child { border-top: 0; }
  .workflow-steps span { margin-bottom: 12px; }

  .control__intro h2 { font-size: 31px; }
  .control-list article { grid-template-columns: 1fr; gap: 7px; }
  .final-cta__actions { max-width: none; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { transform: none; }
}
