:root {
  --bg: #f4f0e8;
  --surface: #fffdf8;
  --ink: #1a1916;
  --muted: #5f5a52;
  --line: #e4ddd0;
  --accent: #c45c26;
  --ok: #2f7d4a;
  --warn: #d48a1c;
  --shadow: 0 18px 50px rgba(28, 26, 22, 0.08);
  --radius: 22px;
  --font: "Golos Text", "Segoe UI", sans-serif;
  --display: "Golos Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(196, 92, 38, 0.08), transparent 50%),
    var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  min-width: 360px;
}

a {
  color: inherit;
}

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

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex: none;
  object-fit: cover;
}

.langs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}

.langs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.langs button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}

.hero-copy {
  display: grid;
  gap: 22px;
  align-content: center;
}

.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

h1,
h2,
h3,
.legal h1 {
  font-family: var(--display);
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
  max-width: none;
  font-size: clamp(36px, 4.1vw, 54px);
  font-weight: 700;
  line-height: 1.065;
}

.hero-title-main,
.hero-title-sub {
  font-size: inherit;
  font-weight: inherit;
}

.lead {
  margin: 0;
  max-width: 38rem;
  font-size: 18px;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.btn-ico {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
}

.hero .btn-ghost {
  border-color: #444;
}

.cta .btn-ghost {
  border-color: #c9c0b2;
}

.btn-ghost:hover,
.btn-ghost:focus-visible,
.hero .btn-ghost:hover,
.hero .btn-ghost:focus-visible,
.cta .btn-ghost:hover,
.cta .btn-ghost:focus-visible {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--surface), var(--ink) 5%);
}

footer a,
.static-page-content a {
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

footer a:hover,
footer a:focus-visible {
  color: var(--accent);
}

.static-page-content a:hover,
.static-page-content a:focus-visible {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  footer a,
  .static-page-content a {
    transition: none;
  }
}

.btn-ico {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
}

.screen {
  padding: 0 0 40px;
}

.page-v2 .screen {
  padding: 0 0 64px;
}

.page-v2 .screen.screen-roles {
  padding-bottom: 24px;
}

.page-v2 .lead {
  max-width: 44rem;
}

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

.block-title {
  margin: 0 0 22px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.audience {
  padding: 28px 28px 32px;
}

.audience .role-art {
  margin-bottom: 8px;
}

.audience h2 {
  font-size: 26px;
  line-height: 1.22;
}

.points {
  --num-w: 24px;
  --num-gap: 10px;
  --num-pad: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  counter-reset: item;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.points li {
  display: flex;
  align-items: flex-start;
  gap: var(--num-gap);
  margin: 0;
  padding: 14px 0 14px var(--num-pad);
  counter-increment: item;
}

.points li:first-child {
  padding-top: 0;
}

.points li:last-child {
  padding-bottom: 0;
}

.points li + li {
  background: linear-gradient(var(--line), var(--line)) no-repeat;
  background-position: calc(var(--num-pad) + var(--num-w) + var(--num-gap)) 0;
  background-size: calc(100% - var(--num-pad) - var(--num-w) - var(--num-gap)) 1px;
}

.points li::before {
  content: counter(item, decimal-leading-zero);
  flex: none;
  width: var(--num-w);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: calc(16px * 1.45);
  color: var(--accent);
}

.cases {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 8px 0;
}

.case {
  --case-ico: 34px;
  --case-title: 18px;
  --case-title-lh: 1.3;
  display: grid;
  grid-template-columns: var(--case-ico) 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.case .ico {
  width: var(--case-ico);
  height: var(--case-ico);
  margin-top: calc((var(--case-title) * var(--case-title-lh) - var(--case-ico)) / 2 + 1px);
  margin-bottom: 0;
}

.case:last-child {
  border-bottom: 0;
}

.case h3 {
  margin: 0 0 4px;
  font-size: var(--case-title);
  line-height: var(--case-title-lh);
}

.case p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card.audience {
  padding: 28px 28px 32px;
}

.card h2,
.card h3,
.legal h1 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.card h2 {
  font-size: 26px;
}

.card.audience h2 {
  margin: 0 0 24px;
}

.card h3 {
  font-size: 18px;
}

.card p,
.legal p {
  margin: 0;
  color: var(--muted);
}

.role-art {
  width: 44px;
  height: 44px;
  margin: 0 0 14px;
}

.role-art svg {
  width: 100%;
  height: 100%;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ico {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

.ico svg {
  width: 100%;
  height: 100%;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 28px 32px;
}

.cta .actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: none;
}

.cta .actions-grid .btn {
  width: 100%;
}

.cta .actions-grid .btn:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.cta-copy {
  flex: 1;
  text-align: left;
}

.cta-copy h2 {
  margin-bottom: 6px;
}

.cta-art {
  width: 88px;
  height: 88px;
  flex: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.legal {
  padding: 48px 0 80px;
  max-width: 720px;
}

.legal h1 {
  font-size: 36px;
  line-height: 1.2;
}

.legal h2 {
  margin: 28px 0 8px;
  font-size: 18px;
  font-family: var(--display);
  font-weight: 500;
}

.page-v2 .screen.static-page {
  padding-top: 48px;
}

.static-page-content {
  padding: 36px 40px 40px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.static-page-content > :first-child {
  margin-top: 0;
}

.static-page-content > :last-child {
  margin-bottom: 0;
}

.static-page-content h2,
.static-page-content h3 {
  margin: 32px 0 10px;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.static-page-content h2 {
  font-size: 22px;
}

.static-page-content h3 {
  font-size: 18px;
}

.static-page-content p {
  margin: 0 0 14px;
}

.static-page-content ul,
.static-page-content ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.static-page-content li {
  margin: 6px 0;
}

.static-page-content li::marker {
  color: var(--accent);
}

.static-page-content a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.static-page-content strong {
  color: var(--ink);
  font-weight: 600;
}

.static-page-content hr {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: var(--line);
}

.static-page-content blockquote {
  margin: 20px 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent);
}

[hidden] {
  display: none !important;
}

.sprites {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 900px) {
  .grid,
  .audiences,
  .features,
  .cta,
  footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-art {
    display: none;
  }

  .cta .actions-grid {
    display: flex;
    flex-wrap: wrap;
  }

  .cta .actions-grid .btn {
    width: auto;
  }
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 60px 0;
  }

  .page-v2 .screen {
    padding-bottom: 48px;
  }

  .page-v2 .screen.screen-roles {
    padding-bottom: 40px;
  }

  .card.audience,
  .feature,
  .cta {
    padding: 22px;
  }

  .case {
    padding: 22px;
  }

  .block-title,
  .card h2,
  .card h3,
  .case h3 {
    line-height: 1.22;
  }

  .card.audience h2 {
    font-size: 20px;
  }

  .page-v2 .screen.static-page {
    padding-top: 28px;
  }

  .static-page-content {
    padding: 22px;
    font-size: 15px;
  }

  .static-page-content h2 {
    font-size: 19px;
  }
}
