:root {
  color-scheme: light;
  --bg: #edf3f7;
  --surface: #ffffff;
  --surface-soft: #e6eef4;
  --ink: #10151d;
  --muted: #5f6c78;
  --line: #c6d3dd;
  --line-dark: #25313d;
  --brand: #10151d;
  --brand-dark: #070b10;
  --search-action: #007f8c;
  --search-action-dark: #006873;
  --workspace-action: #6f7479;
  --workspace-action-dark: #555b60;
  --accent: #007f8c;
  --gold: #0a8794;
  --shadow: 0 28px 70px rgba(16, 21, 29, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(90deg, rgba(0, 127, 140, .09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 21, 29, .055) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  margin: 0;
}

a {
  color: inherit;
}

.skip-link {
  background: var(--brand);
  border-radius: 0 0 8px 0;
  color: #fff;
  font-weight: 800;
  left: 0;
  padding: 10px 14px;
  position: fixed;
  text-decoration: none;
  top: 0;
  transform: translateY(-120%);
  transition: transform .16s ease;
  z-index: 100;
}

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

main:focus {
  outline: none;
}

.site-header {
  align-items: center;
  background: rgba(247, 251, 253, .9);
  border-bottom: 1px solid rgba(37, 49, 61, .14);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

@supports (backdrop-filter: blur(18px)) {
  .site-header {
    backdrop-filter: blur(18px);
  }
}

.brand,
.site-nav,
.header-auth,
.hero-actions,
.section-head,
.contacts-section,
.site-footer {
  align-items: center;
  display: flex;
}

.brand {
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  display: inline-flex;
  flex: 0 0 auto;
  height: 46px;
  overflow: hidden;
  width: 46px;
}

.brand-mark img {
  filter: grayscale(1);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.site-nav {
  gap: 16px;
  justify-content: center;
  min-width: 0;
}

.site-nav a,
.text-link {
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  min-height: 36px;
  padding: 8px 6px;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.text-link:hover {
  border-color: currentColor;
  color: var(--brand);
}

.header-auth {
  gap: 8px;
  justify-content: flex-end;
}

.header-cta,
.header-login,
.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 820;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
}

.button.primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.header-cta {
  background: #f8fbfd;
  border: 1px solid var(--line-dark);
  color: var(--brand);
}

.header-cta:hover {
  background: var(--surface-soft);
  border-color: var(--brand);
  color: var(--brand);
}

.header-login,
.button.secondary,
.button.dark {
  background: transparent;
  border: 1px solid transparent;
  color: var(--brand);
}

.button.secondary {
  background: rgba(255, 255, 255, .7);
  border-color: var(--line);
}

.button.dark {
  background: transparent;
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
}

.header-login {
  color: var(--muted);
  padding-left: 6px;
  padding-right: 6px;
}

.header-login:hover {
  color: var(--brand);
}

.header-login.language-switch {
  background: rgba(255, 255, 255, .78);
  border-color: var(--line);
  color: var(--brand);
  gap: 6px;
  padding-left: 8px;
  padding-right: 8px;
}

.header-login.language-switch:hover {
  border-color: var(--brand);
}

.flag-icon {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 2px;
  box-shadow: none;
  flex: 0 0 auto;
  height: 16px;
  width: 24px;
}

.flag-ru {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath fill='%23fff' d='M0 0h24v16H0z'/%3E%3Cpath fill='%230039a6' d='M0 5.333h24V16H0z'/%3E%3Cpath fill='%23d52b1e' d='M0 10.667h24V16H0z'/%3E%3C/svg%3E");
}

.flag-uk {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cpath fill='%23012169' d='M0 0h60v30H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23c8102e' stroke-width='4' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/%3E%3Cpath stroke='%23c8102e' stroke-width='6' d='M30 0v30M0 15h60'/%3E%3C/svg%3E");
}

.button.secondary:hover {
  border-color: var(--brand);
}

.button.dark:hover {
  background: rgba(255, 255, 255, .08);
}

.hero {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding: 56px max(20px, calc((100vw - 1360px) / 2)) 42px;
}

.hero-copy {
  align-self: center;
  margin-bottom: -132px;
  max-width: 1360px;
  transform: translateY(-132px);
}

.hero-intro {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(760px, 1fr) minmax(320px, 538px);
  padding-bottom: 0;
}

.hero-intro h1 {
  margin-bottom: 0;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-mascot {
  filter: grayscale(1);
  justify-self: end;
  max-width: min(45vw, 538px);
  object-fit: contain;
  transform: translateY(116px);
  width: 100%;
}

.en-hero-mascot {
  max-width: min(45vw, 538px);
  mix-blend-mode: normal;
  transform: translateY(116px);
}

.en-hero {
  padding-bottom: 42px;
  padding-top: 56px;
}

.en-hero-copy {
  margin-bottom: -132px;
  transform: translateY(-132px);
}

.en-hero-intro {
  grid-template-columns: minmax(760px, 1fr) minmax(320px, 538px);
}

.en-hero .hero-offers {
  margin-top: -82px;
  max-width: 980px;
}

.en-hero .en-hero-mascot {
  max-width: min(45vw, 538px);
  transform: translateY(116px);
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 860;
  letter-spacing: 0;
  margin: 0 0 12px;
}

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

h1 {
  font-size: 64px;
  line-height: 1.02;
  margin-bottom: 24px;
  max-width: 980px;
}

h2 {
  font-size: 42px;
  line-height: 1.08;
  margin-bottom: 20px;
}

h3 {
  font-size: 20px;
  line-height: 1.22;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  max-width: 860px;
}

.hero-offers {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: -82px;
  max-width: 980px;
}

.hero-path {
  grid-template-columns: minmax(0, 1fr);
  max-width: 780px;
}

.hero-offers article {
  align-content: stretch;
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 190px;
  padding: 20px;
}

.hero-path article {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(230, 238, 244, .68));
  border-color: rgba(0, 127, 140, .28);
  box-shadow: 0 18px 46px rgba(16, 21, 29, .1);
  min-height: 0;
}

.hero-offers p {
  color: var(--ink);
  font-size: 20px;
  font-weight: 760;
  line-height: 1.35;
  margin: 0;
}

.hero-offers .button {
  align-self: end;
  justify-self: start;
}

.hero-path-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.hero-secondary-link {
  border-bottom: 1px solid rgba(0, 127, 140, .38);
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.hero-secondary-link:hover {
  border-color: currentColor;
  color: var(--brand);
}

.hero-offers .button.secondary,
.hero-offers .button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.hero-offers .button.secondary:hover,
.hero-offers .button.primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.hero-offers article:first-child .button.primary,
.public-search-actions .button.primary,
a.button.primary[href="#search"],
a.button.primary[href="/#search"],
a.button.primary[href="/en/#search"] {
  background: var(--search-action);
  border-color: var(--search-action);
  color: #fff;
}

.hero-offers article:first-child .button.primary:hover,
.public-search-actions .button.primary:hover,
a.button.primary[href="#search"]:hover,
a.button.primary[href="/#search"]:hover,
a.button.primary[href="/en/#search"]:hover {
  background: var(--search-action-dark);
  border-color: var(--search-action-dark);
}

.header-login[href="/login"],
.button.cabinet-button,
a.button[href="/login"] {
  background: var(--workspace-action);
  border-color: var(--workspace-action);
  color: #fff;
}

.header-login.cabinet-button {
  padding-left: 16px;
  padding-right: 16px;
}

.header-login[href="/login"]:hover,
.button.cabinet-button:hover,
a.button[href="/login"]:hover {
  background: var(--workspace-action-dark);
  border-color: var(--workspace-action-dark);
  color: #fff;
}

.contact-action-note .button.cabinet-button {
  color: #fff;
  margin-left: 6px;
  min-height: 36px;
  padding: 8px 12px;
}

.contact-action-note .button.cabinet-button:hover {
  border-bottom-color: transparent;
}

.hero-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  max-width: 900px;
}

.hero-metrics span {
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 86px;
  padding: 13px;
}

.hero-metrics strong,
.hero-metrics small {
  display: block;
}

.hero-metrics strong {
  font-size: 15px;
  line-height: 1.2;
}

.hero-metrics small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 8px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.hero-console {
  align-self: center;
  background: var(--brand);
  border: 1px solid #2b2b2b;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
  display: grid;
  gap: 16px;
  min-height: 520px;
  padding: 22px;
}

.console-topline,
.console-footer,
.identity-strip,
.workflow-step {
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 8px;
}

.console-topline,
.console-footer {
  align-items: center;
  color: rgba(255, 255, 255, .64);
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
}

.console-topline strong {
  color: #d8d8d8;
  font-size: 13px;
}

.identity-strip {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr;
  padding: 16px;
}

.identity-strip span,
.identity-strip strong {
  display: block;
}

.identity-strip span {
  color: rgba(255, 255, 255, .62);
  font-size: 15px;
  line-height: 1.35;
  margin-top: 8px;
}

.identity-strip strong {
  color: #fff;
  font-size: 28px;
  line-height: 1.12;
}

.workflow-table {
  display: grid;
  gap: 10px;
}

.workflow-step {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 78px 34px minmax(118px, .34fr) minmax(0, 1fr);
  min-height: 128px;
  padding: 12px;
}

.workflow-icon {
  align-self: center;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 8px;
  display: block;
  height: 72px;
  object-fit: contain;
  padding: 3px;
  width: 72px;
}

.step-number {
  color: #d8d8d8;
  font-weight: 880;
}

.workflow-step strong {
  min-width: 0;
}

.workflow-step em {
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
  font-style: normal;
  grid-column: 4;
  margin-top: -10px;
}

.console-footer strong {
  color: #fff;
}

.mascot-scene {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  display: grid;
  height: 80px;
  justify-items: center;
  overflow: hidden;
  position: relative;
}

.mascot-icon {
  display: block;
  height: 78px;
  width: 114px;
}

.mascot-image {
  border-radius: 6px;
  filter: grayscale(1);
  object-fit: contain;
}

.mascot-body,
.scene-paper,
.scope-body {
  fill: #fff;
  stroke: var(--brand);
  stroke-linejoin: round;
  stroke-width: 3;
}

.mascot-eye {
  fill: var(--brand);
}

.scene-line {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.paper-line {
  fill: none;
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-width: 2;
}

.paper-seal {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
}

.scope-ring {
  fill: none;
  stroke: var(--brand);
  stroke-width: 3;
}

.scope-glass {
  fill: var(--brand);
}

.section {
  padding: 76px max(20px, calc((100vw - 1180px) / 2));
}

.service-section,
.process-section,
.faq-section,
.pricing-section,
.search-section,
.workspace-section,
.expert-proof-section,
.articles-section {
  background: var(--surface);
}

.workspace-section {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr);
}

.workspace-section > div:first-child p {
  color: var(--muted);
  max-width: 560px;
}

.workspace-actions,
.public-search-lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.application-workspace {
  background: linear-gradient(135deg, #d9e1e4 0%, #c9dde1 100%);
  border-color: #aebdc4;
  color: var(--brand);
  min-height: 0;
}

.application-workspace .identity-strip {
  background: #cbd5d9;
  border-color: #aab8bf;
}

.application-workspace .identity-strip strong,
.application-workspace .workflow-step strong {
  color: var(--brand);
}

.application-workspace .identity-strip span,
.application-workspace .workflow-step em {
  color: #43515a;
}

.application-workspace .workflow-step {
  border-color: #aebcc3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .44);
  min-height: 92px;
}

.application-workspace .workflow-step:nth-child(1),
.application-workspace .workflow-step:nth-child(3) {
  background: #c8d0d5;
}

.application-workspace .workflow-step:nth-child(2),
.application-workspace .workflow-step:nth-child(4) {
  background: #add0d7;
  border-color: #85b5be;
}

.application-workspace .workflow-step:nth-child(4) {
  background: #9fc6ce;
}

.application-workspace .step-number {
  color: #27343b;
}

.application-workspace .workflow-step:nth-child(2) .step-number,
.application-workspace .workflow-step:nth-child(4) .step-number {
  color: #006873;
}

.application-workspace .workflow-icon {
  border: 1px solid rgba(39, 52, 59, .15);
}

.expert-proof-section {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, .62fr) minmax(240px, .38fr);
}

.expert-proof-section p {
  color: var(--muted);
  max-width: 760px;
}

.expert-proof-links {
  align-content: start;
  display: grid;
  gap: 8px;
  justify-items: start;
}

.expert-proof-links .text-link {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand);
  min-height: 40px;
  padding: 8px 12px;
}

.expert-proof-links .text-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.service-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(240px, .48fr) 1fr;
}

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

.service-grid article,
.article-card,
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 22px;
}

.service-grid article {
  min-height: 238px;
}

.service-grid span,
.article-date {
  color: var(--gold);
  display: block;
  font-size: 13px;
  font-weight: 820;
  margin-bottom: 16px;
}

.service-grid p,
.article-card p,
.faq-list p,
.search-section p,
.pricing-section p,
.contacts-section p,
.legal-document p {
  color: var(--muted);
}

.search-section {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(240px, .45fr) minmax(0, 1fr);
}

.search-copy {
  max-width: 520px;
}

.search-copy h2 {
  color: var(--brand-dark);
}

.search-mascot {
  margin: 24px 0 18px;
  max-width: 240px;
  width: min(72vw, 240px);
}

.search-mascot img {
  aspect-ratio: 1 / 1;
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.search-mascot-inline {
  display: none;
}

.search-mascot .search-mascot-animated {
  display: none;
}

.search-mascot.is-loading .search-mascot-static {
  display: none;
}

.search-mascot.is-loading .search-mascot-animated {
  display: block;
}

.public-search-tool {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .1);
  min-width: 0;
  padding: 22px;
}

.public-search-topline,
.public-search-group-title,
.public-search-result-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.public-search-topline {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.public-search-form {
  display: grid;
  gap: 18px;
}

.public-search-form label {
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.public-search-form strong,
.public-search-form span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
}

.public-search-topline strong {
  color: var(--ink);
  display: block;
  font-size: 18px;
  font-weight: 860;
}

.public-search-topline span,
.public-search-form .field-hint {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.35;
}

.public-search-form input[type="search"],
.public-file-field input {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  min-width: 0;
  padding: 10px 12px;
}

.public-search-actions {
  display: grid;
}

.public-search-results {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.public-search-message,
.public-search-result-head {
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  margin: 0;
  padding: 12px 14px;
}

.public-search-result-head a {
  color: var(--brand);
  font-weight: 820;
  text-decoration: none;
}

.public-search-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.public-search-group-title {
  background: #f7f7f7;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
}

.public-search-group-title h3 {
  font-size: 18px;
  margin: 0;
}

.public-search-group-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
  text-align: right;
}

.public-search-limit {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  margin: 0;
  padding: 10px 14px;
}

.public-search-list {
  display: grid;
}

.public-search-item {
  display: grid;
  gap: 14px;
  grid-template-columns: 82px minmax(0, 1fr);
  min-width: 0;
  padding: 14px;
}

.public-search-item + .public-search-item {
  border-top: 1px solid var(--line);
}

.public-search-preview {
  align-self: start;
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  font-size: 12px;
  height: 82px;
  object-fit: contain;
  overflow: hidden;
  place-items: center;
  text-align: center;
  width: 82px;
}

.public-search-item h4 {
  font-size: 17px;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}

.public-search-item p {
  font-size: 14px;
  margin: 4px 0;
  overflow-wrap: anywhere;
}

.public-search-status {
  color: var(--brand);
  font-weight: 820;
}

.public-search-status.is-ended {
  color: #8c8c8c;
}

.public-search-item a {
  color: var(--brand);
  display: inline-flex;
  font-size: 14px;
  font-weight: 820;
  margin-top: 6px;
  text-decoration: none;
}

.public-search-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.public-search-icon-button {
  align-items: center;
  background: #eeeeec;
  border: 1px solid #cfd3d1;
  border-radius: 8px;
  color: #111111;
  cursor: pointer;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  margin-top: 0;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  width: 38px;
}

.public-search-item a.public-search-icon-button {
  color: #111111;
  font-size: 0;
  margin-top: 0;
}

.public-search-icon-button:hover,
.public-search-icon-button:focus-visible,
.public-search-icon-button.is-copied {
  background: #d9e5e3;
  border-color: #9bb3ae;
  color: #213f3b;
}

.public-search-icon-button svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 18px;
}

.public-search-pagination {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
}

.trademark-card-page {
  background: #f4f6f5;
  color: var(--ink);
  min-height: 100vh;
}

.trademark-card-shell {
  margin: 0 auto;
  max-width: 1100px;
  padding: clamp(18px, 4vw, 46px);
}

.trademark-card-top {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.trademark-card-brand {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}

.trademark-card-actions,
.trademark-card-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trademark-card-action {
  align-items: center;
  background: #74797c;
  border: 1px solid #74797c;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 820;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  text-decoration: none;
}

.trademark-card-action:hover,
.trademark-card-action:focus-visible,
.trademark-card-action.is-copied {
  background: #4f6765;
  border-color: #4f6765;
}

.trademark-card-action-primary {
  background: #111111;
  border-color: #111111;
}

.trademark-card-action svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 18px;
}

.trademark-card-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.08);
  padding: clamp(18px, 3vw, 30px);
}

.trademark-card-main {
  display: grid;
  gap: 22px;
  grid-template-columns: 140px minmax(0, 1fr);
}

.trademark-card-preview {
  align-self: start;
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  min-height: 140px;
  object-fit: contain;
  overflow: hidden;
  place-items: center;
  text-align: center;
  width: 140px;
}

.trademark-card-preview-empty {
  padding: 12px;
}

.trademark-card-main h1 {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.96;
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}

.trademark-card-notice,
.trademark-card-empty {
  color: var(--muted);
  margin: 0;
}

.trademark-card-meta {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.trademark-card-meta div {
  background: #f4f6f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.trademark-card-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  margin-bottom: 4px;
}

.trademark-card-meta dd {
  font-size: 15px;
  font-weight: 820;
  margin: 0;
  overflow-wrap: anywhere;
}

.trademark-card-goods {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 22px;
}

.trademark-card-goods h2 {
  font-size: 28px;
  margin: 0 0 12px;
}

.trademark-card-goods-list {
  display: grid;
  gap: 8px;
}

.trademark-card-goods-list p {
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #3f474d;
  line-height: 1.55;
  margin: 0;
  padding: 10px 12px;
}

.trademark-card-footer-actions {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}

@media (max-width: 700px) {
  .trademark-card-top,
  .trademark-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .trademark-card-action {
    justify-content: center;
    width: 100%;
  }

  .trademark-card-main,
  .trademark-card-meta {
    grid-template-columns: 1fr;
  }

  .trademark-card-preview {
    min-height: 120px;
    width: 120px;
  }
}

.public-search-pagination button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 820;
  height: 38px;
  min-width: 38px;
}

.public-search-pagination button[aria-current="page"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.public-search-lead {
  background: #f7f7f7;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  padding: 16px 14px;
}

.public-search-lead h3,
.public-search-lead p {
  margin-bottom: 0;
}

.public-search-lead label {
  display: grid;
  gap: 6px;
}

.public-search-lead span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}

.public-search-lead input,
.public-search-lead textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
}

.public-search-lead-message {
  color: var(--muted);
  font-size: 14px;
}

.supporting-links,
.price-next-step {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 18px;
}

.supporting-links a,
.price-next-step a,
.contact-action-note a {
  color: var(--brand);
  font-weight: 820;
  text-decoration: none;
}

.supporting-links a:hover,
.price-next-step a:hover,
.contact-action-note a:hover {
  border-bottom: 1px solid currentColor;
}

.pricing-section {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
}

.pricing-section h2,
.pricing-section p {
  max-width: 760px;
}

.price-panel {
  background: var(--brand);
  border: 1px solid #2b2b2b;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
  padding: 30px;
}

.price-panel p {
  color: rgba(255, 255, 255, .72);
}

.price-panel .price-note {
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  margin-top: 22px;
  padding-top: 18px;
}

.price-value {
  display: block;
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 20px;
}

.price-panel .button.primary {
  background: #fff;
  border-color: #fff;
  color: var(--brand);
  width: 100%;
}

.price-panel .price-next-step {
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin: 22px 0 0;
  padding-top: 18px;
}

.price-panel .price-next-step a {
  color: #fff;
}

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

.timeline {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.timeline div {
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 178px;
  padding: 20px;
}

.timeline span {
  color: var(--gold);
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 26px;
}

.timeline p {
  margin-bottom: 0;
}

.articles-section,
.faq-section {
  border-top: 1px solid var(--line);
}

.section-head {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.article-card {
  min-height: 245px;
}

.article-card h3 {
  overflow-wrap: anywhere;
}

.article-card a {
  color: var(--brand);
  font-weight: 820;
  text-decoration: none;
}

.article-card a:hover {
  border-bottom: 1px solid currentColor;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 820;
}

.faq-list p {
  margin: 12px 0 0;
}

.contacts-section {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  color: var(--ink);
  gap: 32px;
  justify-content: space-between;
}

.contacts-section .eyebrow {
  color: var(--muted);
}

.contacts-section p {
  color: var(--muted);
  max-width: 680px;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-list > a,
.contact-list > span {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 820;
  line-height: 1.35;
  max-width: min(100%, 720px);
  padding: 10px 12px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list > a {
  background: #eeeeee;
  border-color: #d8d8d8;
}

.contact-list .contact-item-telegram {
  gap: 5px;
}

.contact-title-row {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.contact-icon {
  border-radius: 7px;
  display: block;
  flex: 0 0 auto;
  height: 24px;
  object-fit: contain;
  width: 24px;
}

.contact-list .contact-item-email {
  background: transparent;
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.contact-email-text {
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
  line-height: 1.35;
}

.contact-list .contact-item-address {
  background: transparent;
  border-color: transparent;
  display: block;
  flex-basis: 100%;
  max-width: 720px;
  padding: 0;
}

.contact-address-text {
  color: var(--muted);
  display: block;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.5;
}

.contact-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: lowercase;
}

.contacts-section .button.primary {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  flex: 0 0 auto;
}

.contact-actions {
  align-items: stretch;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
  min-width: 230px;
}

.contact-action-note {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

.contact-action-note a {
  color: var(--brand);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  justify-content: space-between;
  padding: 24px max(20px, calc((100vw - 1180px) / 2));
}

.site-footer a {
  color: inherit;
  font-weight: 760;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand);
}

.footer-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  max-width: 620px;
}

.footer-cluster a {
  font-size: 13px;
  font-weight: 720;
  line-height: 1.35;
}

.legal-page {
  padding: 54px max(20px, calc((100vw - 980px) / 2)) 76px;
}

.legal-document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 auto;
  max-width: 980px;
  padding: 52px;
}

.legal-document h1 {
  font-size: 48px;
}

.legal-document h2 {
  font-size: 22px;
  margin-top: 34px;
}

.legal-document dl {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 24px 0 0;
  overflow: hidden;
}

.legal-document dl div {
  display: grid;
  gap: 16px;
  grid-template-columns: 190px 1fr;
  padding: 12px 16px;
}

.legal-document dl div + div {
  border-top: 1px solid var(--line);
}

.legal-document dt {
  color: var(--muted);
  font-weight: 760;
}

.legal-document dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.seo-page {
  padding: 34px max(20px, calc((100vw - 980px) / 2)) 76px;
}

.breadcrumbs {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px;
  margin: 0 0 28px;
}

.breadcrumbs a {
  color: var(--muted);
  font-weight: 760;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.seo-hero {
  max-width: 880px;
  padding: 32px 0 44px;
}

.seo-hero h1 {
  font-size: 58px;
}

.page-updated {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 0;
}

.page-updated span {
  color: var(--brand);
}

.seo-content {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.seo-main-copy,
.article-document,
.article-row,
.seo-demo-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seo-main-copy,
.article-document {
  padding: 34px;
}

.seo-main-copy section + section {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 28px;
}

.seo-main-copy h2 {
  font-size: 28px;
}

.expert-trust {
  border-left: 3px solid var(--brand);
  padding-left: 18px;
}

.expert-trust .eyebrow {
  margin-bottom: 8px;
}

.related-link-list {
  display: grid;
  gap: 0;
  margin-top: 14px;
}

.related-link {
  border-top: 1px solid var(--line);
  color: var(--text);
  display: grid;
  gap: 4px;
  padding: 12px 0;
  text-decoration: none;
}

.related-link:first-child {
  border-top: 0;
}

.related-link span {
  font-weight: 780;
}

.related-link small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.related-link:hover span {
  color: var(--brand);
}

.article-list-page + .related-links {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 14px;
  padding: 24px;
}

.seo-main-copy li,
.seo-demo-panel li {
  margin-bottom: 8px;
}

.seo-demo-panel {
  padding: 22px;
  position: sticky;
  top: 116px;
}

.seo-demo-panel ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.panel-next-link {
  display: inline-flex;
  min-height: auto;
  padding: 0;
}

.button.panel-next-link {
  min-height: 42px;
  padding: 10px 16px;
}

.article-list-page {
  display: grid;
  gap: 14px;
}

.article-row {
  padding: 24px;
}

.article-row h2 {
  font-size: 26px;
}

.article-row h2 a,
.article-source a {
  text-decoration: none;
}

.article-document {
  max-width: 860px;
}

.article-document h1 {
  font-size: 50px;
}

.article-document p {
  color: var(--muted);
  font-size: 18px;
}

.article-source {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .search-section,
  .workspace-section,
  .expert-proof-section,
  .service-section,
  .pricing-section,
  .seo-content {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
    min-height: auto;
  }

  .hero-copy {
    margin-bottom: 0;
    transform: none;
  }

  h1 {
    font-size: 56px;
  }

  .hero-intro {
    grid-template-columns: minmax(0, 1fr) minmax(288px, 425px);
  }

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

  .en-hero .hero-title-line {
    white-space: normal;
  }

  .en-hero .en-hero-mascot {
    justify-self: center;
    max-width: min(54vw, 360px);
  }

  .hero-mascot {
    max-width: 413px;
    transform: translateY(108px);
  }

  .hero-offers {
    margin-top: 48px;
  }

  .hero-path {
    grid-template-columns: minmax(0, 1fr);
    max-width: 780px;
  }

  .timeline,
  .service-grid,
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }

  .seo-demo-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: start;
    gap: 0;
    grid-template-columns: 1fr;
    padding: 4px 14px 5px;
  }

  .brand,
  .site-nav,
  .header-auth {
    grid-column: 1 / -1;
  }

  .site-nav {
    margin-top: 0;
    padding-bottom: 0;
  }

  .site-nav a {
    min-height: 16px;
    padding-bottom: 0;
    padding-top: 0;
  }

  .header-auth {
    justify-content: space-between;
    margin-top: 1px;
    width: 100%;
  }

  .header-login {
    flex: 0 0 auto;
  }

  .header-cta {
    flex: 1;
  }

  .header-cta,
  .header-login {
    min-height: 32px;
    padding-bottom: 5px;
    padding-top: 5px;
  }

  .brand-mark {
    height: 40px;
    width: 40px;
  }

  .hero {
    overflow-x: clip;
    padding: 32px 14px 8px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.04;
    margin-bottom: 18px;
    max-width: 100%;
  }

  .hero-intro {
    gap: 0;
    grid-template-columns: 1fr;
  }

  .hero-intro h1 {
    margin-bottom: 0;
  }

  .hero-mascot {
    justify-self: center;
    max-width: min(80vw, 313px);
    transform: translateY(8px);
  }

  .en-hero-mascot {
    max-width: min(52vw, 220px);
    transform: translateY(0);
  }

  .en-hero {
    padding-bottom: 32px;
    padding-top: 24px;
  }

  .en-hero .hero-offers {
    margin-top: 16px;
  }

  .en-hero .en-hero-mascot {
    max-width: min(72vw, 250px);
    transform: none;
  }

  .hero-title-line {
    white-space: normal;
  }

  .hero-offers {
    margin-top: -44px;
  }

  .search-section {
    gap: 14px;
    padding-bottom: 30px;
    padding-top: 30px;
  }

  .search-copy {
    align-items: center;
    column-gap: 12px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    row-gap: 12px;
  }

  .search-copy h2 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .search-copy p {
    font-size: 16px;
    grid-column: 2;
    line-height: 1.35;
    margin-bottom: 0;
  }

  .search-mascot-copy {
    align-self: center;
    display: block;
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    max-width: 96px;
    width: 96px;
  }

  .search-mascot-inline {
    display: none;
  }

  .public-search-form {
    gap: 10px;
  }

  .public-search-form label {
    gap: 7px;
    padding: 10px;
  }

  .public-search-form strong,
  .public-search-form span {
    font-size: 16px;
  }

  .public-search-form .field-hint {
    font-size: 12px;
    line-height: 1.3;
  }

  .public-search-form input[type="search"],
  .public-file-field input {
    min-height: 40px;
    padding: 8px 10px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 19px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .hero-offers {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .hero-path {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-offers article {
    min-height: 0;
    padding: 16px;
  }

  .hero-offers p {
    font-size: 17px;
  }

  .hero-offers .button {
    justify-self: stretch;
  }

  .hero-path-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-secondary-link {
    align-self: flex-start;
  }

  .hero-metrics span {
    min-height: 0;
  }

  .hero-actions {
    align-items: stretch;
    display: grid;
    gap: 12px;
    margin-top: 22px;
  }

  .workspace-actions,
  .public-search-lead-actions {
    display: grid;
  }

  .hero-console {
    min-height: 0;
    padding: 16px;
  }

  .identity-strip {
    grid-template-columns: 1fr;
  }

  .identity-strip strong {
    font-size: 23px;
  }

  .workflow-step {
    gap: 10px;
    grid-template-columns: 62px 30px minmax(0, 1fr);
    min-height: 0;
  }

  .workflow-icon {
    grid-row: 1 / span 2;
    height: 58px;
    padding: 2px;
    width: 58px;
  }

  .workflow-step em {
    grid-column: 2 / -1;
    margin-top: -4px;
  }

  .mascot-scene {
    height: 62px;
  }

  .mascot-icon {
    height: 60px;
    width: 84px;
  }

  .section {
    padding: 50px 14px;
  }

  .seo-page {
    padding: 24px 14px 50px;
  }

  .seo-hero h1,
  .article-document h1 {
    font-size: 36px;
  }

  .seo-main-copy,
  .article-document,
  .article-row,
  .seo-demo-panel {
    padding: 18px;
  }

  .public-search-tool {
    justify-self: center;
    padding: 10px;
    width: calc(100% - 20px);
  }

  .public-search-topline,
  .public-search-group-title,
  .public-search-result-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-search-group-title span {
    text-align: left;
  }

  .public-search-actions {
    display: grid;
  }

  .public-search-actions .button {
    min-height: 46px;
  }

  .public-search-item {
    grid-template-columns: 68px minmax(0, 1fr);
    padding: 12px;
  }

  .public-search-preview {
    height: 68px;
    width: 68px;
  }

  .timeline,
  .service-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .timeline div,
  .service-grid article,
  .article-card {
    min-height: 0;
  }

  .price-panel,
  .service-grid article,
  .article-card,
  .faq-list details {
    padding: 18px;
  }

  .price-value {
    font-size: 38px;
  }

  .section-head,
  .contacts-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .contact-actions {
    min-width: 0;
    width: 100%;
  }

  .legal-page {
    padding: 32px 14px 50px;
  }

  .legal-document {
    padding: 24px 18px;
  }

  .legal-document h1 {
    font-size: 34px;
  }

  .legal-document dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  h1,
  .seo-hero h1,
  .article-document h1,
  .legal-document h1 {
    font-size: 32px;
  }
}
