@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800&display=swap");

* {
  box-sizing: border-box;
}

:root {
  --canvas: #f3f7f8;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.66);
  --ink: #17232b;
  --text: #33454f;
  --muted: #738188;
  --line: #e0e7ea;
  --line-strong: #c9d5da;
  --accent-bg: #e3f0ef;
  --accent: #27675f;
  --blue-bg: #e6eef7;
  --blue: #315f8c;
  --warn-bg: #f2ead8;
  --warn: #8a6428;
  --page-max: 1680px;
  --page-gutter: 72px;
  --hero-title: 78px;
  --section-title: 50px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--ink);
  font-family: "Golos Text", "Golos UI", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

.page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 64px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(var(--page-gutter), 1fr) minmax(0, var(--page-max)) minmax(var(--page-gutter), 1fr);
  align-items: center;
  column-gap: 0;
  min-height: 56px;
  padding: 32px 0 18px;
  border-bottom: 1px solid rgba(174, 188, 204, 0.5);
  background: rgba(243, 247, 248, 0.9);
  backdrop-filter: blur(14px);
}

.top-left {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  gap: 12px;
  min-width: 0;
  justify-self: start;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 54px;
  color: var(--ink);
  text-decoration: none;
}

.mark {
  display: block;
  flex: 0 0 auto;
  width: 56px;
  height: 43px;
}

.mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
}

.nav {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  justify-self: end;
  gap: 4px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.nav a:hover {
  color: var(--ink);
  background: rgba(23, 35, 43, 0.04);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  gap: 44px;
  align-items: center;
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-max));
  margin: 0 auto;
  min-height: clamp(620px, calc(100dvh - 210px), 780px);
  padding: 54px 0 50px;
}

.hero-copy {
  justify-self: center;
  min-width: 0;
  max-width: 980px;
  text-align: center;
  animation: enter 700ms var(--ease) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 22px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: var(--hero-title);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  color: var(--text);
  font-size: 21px;
  line-height: 1.64;
  text-wrap: pretty;
}

.actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
  font-size: 17px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 180ms var(--ease);
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

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

.button:focus-visible,
.nav a:focus-visible,
.brand:focus-visible,
.footer a:focus-visible {
  outline: 3px solid rgba(39, 103, 95, 0.28);
  outline-offset: 2px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.tag {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 5px;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.tag.blue {
  background: var(--blue-bg);
  color: var(--blue);
}

.tag.warn {
  background: var(--warn-bg);
  color: var(--warn);
}

.hero-visual {
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  text-align: left;
  animation: enter 780ms var(--ease) 80ms both;
}

.product-screen {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border: 1px solid #aebccc;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 56px rgba(31, 48, 73, 0.12);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.product-screen:hover,
.feature-card:hover,
.cta-band:hover {
  transform: translateY(-3px);
  border-color: #bfced7;
  box-shadow: 0 22px 44px rgba(31, 48, 73, 0.1);
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.screen-top b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.screen-top span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.screen-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.data-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 14px;
  border: 1px solid #d7dfe8;
  border-radius: 6px;
  background: #ffffff;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.data-row:hover,
.bot-table:hover {
  transform: translateY(-2px);
  border-color: #bfced7;
  box-shadow: 0 14px 28px rgba(31, 48, 73, 0.08);
}

.data-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.data-row b {
  display: block;
  margin-bottom: 4px;
  color: #22313a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.data-row span {
  color: #6b7a83;
  font-size: 12px;
  line-height: 1.45;
}

.chat-window {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #d7dfe8;
  border-radius: 6px;
  background: #f8fafb;
}

.message {
  max-width: 82%;
  padding: 10px 12px;
  border: 1px solid #d7dfe8;
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.message.user {
  justify-self: end;
  border-color: #c9d8df;
  background: #eef4f7;
  color: var(--ink);
}

.bot-summary {
  display: grid;
  gap: 12px;
}

.bot-table {
  overflow: hidden;
  border: 1px solid #d7dfe8;
  border-radius: 6px;
  background: #ffffff;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.bot-row {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) 74px minmax(0, 0.88fr);
  gap: 10px;
  align-items: center;
  min-height: 40px;
  padding: 9px 10px;
  border-bottom: 1px solid #e6edf1;
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}

.bot-row:last-child {
  border-bottom: 0;
}

.bot-row.head {
  min-height: 34px;
  background: #f5f8f9;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.bot-row span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.bot-action {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid #d7dfe8;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 760;
  text-align: center;
}

.bot-action.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.section {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-max));
  margin: 0 auto;
  padding-top: 96px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: var(--section-title);
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-head p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.68;
  text-wrap: pretty;
}

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

.feature-card {
  min-width: 0;
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.feature-card b {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

.process {
  display: grid;
  border-top: 1px solid var(--line);
}

.process-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.process-row:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 14px 28px rgba(31, 48, 73, 0.06);
}

.process-row strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
}

.process-row span {
  color: var(--text);
  font-size: 16px;
  line-height: 1.62;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(31, 48, 73, 0.08);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

.cta-band p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.62;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-max));
  margin-right: auto;
  margin-left: auto;
  margin-top: 96px;
  padding-top: 18px;
  border-top: 1px solid rgba(174, 188, 204, 0.5);
  color: var(--muted);
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer a {
  text-decoration: none;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1120px) {
  :root {
    --page-gutter: 32px;
    --hero-title: 64px;
    --section-title: 44px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .product-screen {
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 760px) {
  :root {
    --page-gutter: 20px;
    --hero-title: 44px;
    --section-title: 36px;
  }

  .page {
    padding-bottom: 44px;
  }

  .top {
    align-items: flex-start;
    row-gap: 14px;
    padding-top: 20px;
  }

  .top-left {
    grid-row: 1;
    width: 100%;
    flex-wrap: wrap;
  }

  .nav {
    display: grid;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav a {
    justify-content: flex-start;
    min-width: 0;
    padding: 0 8px;
    overflow: hidden;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  h1 {
    line-height: 1.06;
    text-wrap: wrap;
  }

  .hero {
    gap: 38px;
    padding: 42px 0 48px;
  }

  .hero-copy,
  .hero-visual,
  .product-screen,
  .section,
  .section-head,
  .feature-grid,
  .process,
  .cta-band,
  .footer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .lead {
    font-size: 18px;
    line-height: 1.58;
  }

  .actions,
  .product-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .screen-top {
    display: grid;
    gap: 4px;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .screen-top span {
    white-space: normal;
  }

  .data-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .bot-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .bot-row span {
    white-space: normal;
  }

  .bot-actions {
    grid-template-columns: 1fr;
  }

  .process-row,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  :root {
    --page-gutter: 16px;
    --hero-title: 38px;
    --section-title: 32px;
  }
}
