:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #657184;
  --line: #d6e0ea;
  --soft: #f3f7fb;
  --paper: #ffffff;
  --brand: #12385b;
  --brand-dark: #071f35;
  --success: #1d6f63;
  --success-dark: #135249;
  --accent: var(--brand);
  --accent-dark: var(--brand-dark);
  --blue: #22577a;
  --gold: #b7791f;
  --danger: #b42318;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow: 0 18px 48px rgba(13, 37, 60, 0.1);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, #eaf9fc 0%, #fffafe 46%, #fdeaf1 100%);
}

main {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(142, 199, 216, 0.28), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(215, 141, 170, 0.24), transparent 34%),
    linear-gradient(120deg, #eaf9fc 0%, #fffafe 46%, #fdeaf1 100%);
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.76;
  background: url("/assets/vu-page-bg.svg") top center / clamp(920px, 120vw, 1800px) auto repeat-y;
}

main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.36) 44%, rgba(255, 255, 255, 0.2)),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.58), transparent 34%);
}

main > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 225, 235, 0.88);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 820;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.28), transparent 32%),
    linear-gradient(145deg, var(--brand), var(--brand-dark));
  box-shadow: 0 10px 22px rgba(7, 31, 53, 0.16);
}

.brand-search {
  position: absolute;
  left: 10px;
  top: 9px;
  width: 15px;
  height: 15px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
}

.brand-search::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -6px;
  width: 9px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  transform: rotate(45deg);
  transform-origin: center;
}

.brand-doc-mini {
  position: absolute;
  right: 7px;
  bottom: 8px;
  width: 16px;
  height: 11px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.brand-doc-mini::before,
.brand-doc-mini::after {
  content: "";
  position: absolute;
  left: 5px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--brand-dark);
  opacity: 0.8;
}

.brand-doc-mini::before {
  top: 4px;
  width: 7px;
}

.brand-doc-mini::after {
  top: 7px;
  width: 5px;
}

.brand-name {
  font-size: 17px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 720;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.hero::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 1240px;
  min-height: 650px;
  margin: 0 auto;
  padding: 54px 32px 70px;
  color: var(--ink);
}

.hero:has(.license-result) .hero-inner {
  min-height: auto;
  padding-top: 28px;
  padding-bottom: 42px;
}

.hero:has(.license-result) .console-intro {
  display: none;
}

.console-shell {
  display: grid;
  gap: 24px;
}

.console-intro {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 680;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.console-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.single-tool-grid {
  display: block;
}

.check-panel,
.result-panel {
  display: grid;
  align-content: start;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.check-panel {
  grid-template-rows: auto 1fr;
}

.tool-panel {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 30px;
  scroll-margin-top: 86px;
}

.tool-panel:has(.license-result) {
  width: min(100%, 900px);
  padding: 26px;
}

.tool-panel:has(.state-result),
.tool-panel:has(.captcha-result) {
  width: min(100%, 620px);
  padding: 28px;
}

.tool-panel-title {
  align-items: center;
  width: min(100%, 760px);
  margin: 0 auto 18px;
}

.tool-panel-title > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.tool-panel-title h2 {
  min-width: 0;
}

.header-status {
  flex: 0 0 auto;
  padding: 8px 13px;
  font-size: 14px;
}

.header-status[hidden] {
  display: none;
}

.tool-panel:has(.state-result) .tool-panel-title,
.tool-panel:has(.captcha-result) .tool-panel-title {
  width: 100%;
  margin-bottom: 14px;
}

.tool-stage {
  position: relative;
  z-index: 2;
  min-height: 0;
}

.check-form[hidden],
.result[hidden] {
  display: none;
}

.result-panel {
  justify-self: stretch;
}

.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-title h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.micro-label {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-badge {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--brand-dark);
  background: rgba(18, 56, 91, 0.1);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.form-note {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.check-form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.tool-panel .check-form {
  width: min(100%, 760px);
  max-width: 760px;
  margin: 0 auto;
}

.form-intro {
  max-width: 620px;
  margin: -4px 0 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.form-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
}

.field {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 14px;
  font-weight: 680;
}

.field input {
  position: relative;
  z-index: 2;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  line-height: 1.3;
  background: #fff;
  cursor: text;
  pointer-events: auto;
  touch-action: manipulation;
}

.field input:focus {
  outline: 3px solid rgba(18, 56, 91, 0.16);
  border-color: var(--brand);
}

.field input:disabled {
  color: var(--muted);
  background: #f7f9fb;
}

.field input.has-error {
  border-color: rgba(180, 35, 24, 0.62);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  padding: 12px 18px;
  color: #fff;
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(135deg, var(--brand), var(--brand-dark));
  font: inherit;
  font-weight: 740;
  cursor: pointer;
}

.button:hover {
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #174568, var(--brand-dark));
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 2px;
}

.form-actions .button {
  width: auto;
  min-width: 260px;
  max-width: 340px;
}

.privacy-line {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.progress-line {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 620px;
  margin: 0;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 680;
  line-height: 1.45;
}

.progress-line::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(18, 56, 91, 0.08);
}

.form-error {
  border: 1px solid rgba(180, 35, 24, 0.24);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: 0;
  color: var(--danger);
  background: rgba(180, 35, 24, 0.06);
  font-size: 13px;
  line-height: 1.45;
}

.form-error[hidden],
.progress-line[hidden],
.captcha-error[hidden] {
  display: none;
}

.form-helper {
  display: grid;
  align-self: end;
  gap: 11px;
  margin-top: 10px;
  border: 1px solid rgba(217, 225, 235, 0.9);
  border-radius: var(--radius-md);
  padding: 15px;
  background:
    linear-gradient(135deg, rgba(226, 246, 248, 0.55), rgba(255, 255, 255, 0.86) 58%, rgba(231, 241, 252, 0.58)),
    rgba(255, 255, 255, 0.78);
}

.form-helper h3 {
  margin: 0;
  font-size: 17px;
}

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

.helper-grid span {
  border: 1px solid rgba(18, 56, 91, 0.14);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 740;
}

.form-helper p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.result {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(24, 33, 47, 0.08), rgba(18, 56, 91, 0.055)),
    rgba(255, 255, 255, 0.82);
}

.result.is-visible {
  display: block;
}

.tool-panel .result {
  border: 0;
  padding: 0;
  background: transparent;
}

.result.is-empty {
  min-height: 300px;
  display: grid;
  place-items: center;
  border-style: dashed;
  background:
    linear-gradient(135deg, rgba(34, 87, 122, 0.06), rgba(18, 56, 91, 0.055)),
    #fbfcfe;
}

.state-result {
  min-height: 0;
}

.tool-panel .state-result {
  min-height: 0;
}

.empty-result {
  max-width: 320px;
  text-align: center;
}

.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: var(--brand-dark);
  background: rgba(18, 56, 91, 0.12);
  font-weight: 800;
}

.empty-result h3 {
  margin-bottom: 8px;
}

.empty-result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.state-card,
.captcha-card {
  display: grid;
  gap: 12px;
}

.state-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 14px;
  min-height: 0;
  align-content: start;
  max-width: 100%;
  border: 1px solid rgba(217, 225, 235, 0.9);
  border-radius: 18px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(244, 249, 252, 0.72)),
    rgba(255, 255, 255, 0.88);
}

.tool-panel .state-card {
  min-height: 0;
}

.state-card .state-icon {
  grid-row: 1 / span 2;
}

.state-card h3,
.state-card p,
.state-card .link-button,
.state-card .loader-line {
  grid-column: 2;
}

.state-card h3,
.captcha-card h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.state-card p,
.captcha-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.captcha-card h3 {
  font-size: 20px;
}

.state-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--brand-dark);
  background: rgba(18, 56, 91, 0.12);
  font-weight: 820;
}

.is-checking .state-icon {
  background:
    radial-gradient(circle closest-side, rgba(18, 56, 91, 0.95) 92%, transparent) center / 9px 9px no-repeat,
    rgba(18, 56, 91, 0.12);
}

.is-error .state-icon,
.is-not-found .state-icon,
.is-invalid .state-icon {
  color: #fff;
  background: var(--danger);
}

.state-label {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.captcha-image-wrap {
  display: grid;
  gap: 10px;
  justify-items: start;
  border: 1px solid rgba(217, 225, 235, 0.9);
  border-radius: var(--radius-md);
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.captcha-image {
  display: block;
  max-width: 100%;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.turnstile-wrap {
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 76px;
  border: 1px solid rgba(217, 225, 235, 0.9);
  border-radius: var(--radius-md);
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.turnstile-widget {
  min-height: 65px;
}

.captcha-field {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 680;
}

.captcha-field input {
  width: min(260px, 100%);
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.captcha-field input:focus {
  outline: 3px solid rgba(18, 56, 91, 0.16);
  border-color: var(--brand);
}

.captcha-error {
  margin: 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 680;
}

.captcha-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.tool-panel .captcha-card {
  width: min(100%, 520px);
  max-width: 520px;
  margin: 0 auto;
}

.text-button {
  border: 0;
  padding: 0;
  color: var(--brand-dark);
  background: transparent;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.text-button:hover {
  text-decoration: underline;
}

.text-button:disabled {
  cursor: wait;
  opacity: 0.58;
  text-decoration: none;
}

.loader-line {
  position: relative;
  overflow: hidden;
  width: min(360px, 100%);
  height: 7px;
  border-radius: 999px;
  background: rgba(18, 56, 91, 0.12);
}

.loader-line span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  animation: loader-line 1.25s ease-in-out infinite;
}

@keyframes loader-line {
  0% {
    transform: translateX(-105%);
  }

  100% {
    transform: translateX(245%);
  }
}

.result-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.license-result {
  display: grid;
  gap: 14px;
}

.tool-panel .license-result {
  gap: 14px;
}

.premium-result {
  color: var(--ink);
  padding-top: 0;
}

.document-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 8px;
  color: #fff;
  background: var(--success);
  font-size: 11px;
  font-weight: 820;
  white-space: nowrap;
}

.document-chip.warning {
  background: var(--gold);
}

.document-chip.danger {
  background: var(--danger);
}

.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 13px;
  color: #fff;
  background: var(--success);
  font-size: 15px;
  font-weight: 820;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.85);
}

.status.warning {
  background: var(--gold);
}

.status.danger {
  background: var(--danger);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fact {
  border-radius: var(--radius-sm);
  padding: 12px;
  background: var(--soft);
}

.fact span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.fact strong {
  font-size: 15px;
}

.license-card {
  container-type: inline-size;
  display: block;
  aspect-ratio: 1.72;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(18, 56, 91, 0.18);
  border-radius: 22px;
  padding: 0;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    url("/assets/license-card-bg.svg?v=cardbg2") center / cover no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 18px 46px rgba(24, 33, 47, 0.12);
}

.tool-panel .license-card {
  width: min(100%, 760px);
  margin: 0 auto;
}

.license-card::before {
  content: "";
  position: absolute;
  inset: -30% -18% 46%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.28) 42%, transparent 63%);
  transform: rotate(-4deg);
}

.license-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.28), transparent 24%, rgba(255, 255, 255, 0.2) 58%, transparent 86%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.38), transparent 18%);
  mix-blend-mode: screen;
}

.license-card-media {
  position: absolute;
  z-index: 2;
  left: 4.6%;
  top: 20%;
  width: 24%;
  height: 68%;
}

.license-card-media::before {
  content: "RUS";
  position: absolute;
  left: 50%;
  top: -15%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: clamp(54px, 10.6cqw, 128px);
  height: clamp(32px, 6.1cqw, 74px);
  transform: translateX(-50%);
  border: max(2px, 0.28cqw) solid rgba(172, 32, 132, 0.98);
  border-radius: 50%;
  padding: 0;
  color: #fff;
  background:
    radial-gradient(ellipse at 38% 28%, rgba(255, 255, 255, 0.2), transparent 36%),
    linear-gradient(180deg, #eb54b7 0%, #d33f9d 54%, #a71f82 100%);
  text-align: center;
  font-size: clamp(13px, 2.45cqw, 30px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  box-shadow:
    inset 0 0 0 max(3px, 0.46cqw) rgba(255, 255, 255, 0.96),
    inset 0 0 0 max(6px, 0.76cqw) rgba(191, 37, 145, 0.94),
    inset 0 0 14px rgba(58, 15, 48, 0.16),
    0 5px 12px rgba(211, 63, 157, 0.14);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.avatar-placeholder {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 8%;
  height: 74%;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.avatar-placeholder::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2%;
  bottom: 0;
  border-radius: 18% / 12%;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.46), transparent 34%),
    rgba(255, 255, 255, 0.56);
  box-shadow:
    inset 0 0 26px rgba(142, 199, 216, 0.08),
    0 10px 22px rgba(18, 56, 91, 0.035);
}

.avatar-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(97, 110, 128, 0.75) 0 16%, transparent 16.8%),
    radial-gradient(ellipse 44% 48% at 50% 82%, rgba(97, 110, 128, 0.75) 0 70%, transparent 70.8%);
}

.license-photo {
  position: absolute;
  left: 13%;
  right: 13%;
  top: 8%;
  width: 74%;
  height: 53%;
  border: 0;
  border-radius: 5.6cqw;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.58);
}

.signature-line {
  position: absolute;
  left: 3%;
  right: -19%;
  top: 91%;
  height: 12%;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg width='240' height='54' viewBox='0 0 240 54' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 34 C34 18 39 18 46 34 S68 36 82 25 96 18 101 31 119 39 138 26 158 13 170 29 196 39 226 22' fill='none' stroke='%2318212f' stroke-opacity='.42' stroke-width='3.6' stroke-linecap='round'/%3E%3C/svg%3E")
      center / contain no-repeat;
}

.license-card-title-row {
  position: absolute;
  z-index: 3;
  top: 5.6%;
  left: 27%;
  right: 5%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.license-card-title-row .document-chip {
  position: absolute;
  top: -6%;
  right: 0;
}

.license-card-title {
  display: grid;
  gap: 0.14cqw;
  margin: 0;
  max-width: 100%;
  color: #d33f9d;
  font-size: clamp(15px, 2.78cqw, 36px);
  font-weight: 900;
  line-height: 0.98;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.license-card-title span {
  display: block;
}

.license-card-content {
  position: absolute;
  z-index: 2;
  left: 32%;
  top: 28.2%;
  right: 7.5%;
  bottom: 16.5%;
}

.license-fields {
  position: relative;
  width: 100%;
  height: 100%;
}

.license-field {
  display: grid;
  gap: 0;
}

.document-field {
  position: absolute;
  grid-template-columns: clamp(32px, 4.1cqw, 52px) minmax(0, 1fr);
  column-gap: clamp(7px, 0.95cqw, 12px);
  align-items: center;
}

.document-field.owner-name {
  top: 0;
  left: 0;
  width: 72%;
}

.document-field.owner-patronymic {
  top: 15%;
  left: 0;
  width: 72%;
}

.document-field.owner-birth {
  top: 30.5%;
  left: 0;
  width: 54%;
}

.document-field.issue-date-field {
  top: 48.5%;
  left: 0;
  width: 45%;
}

.document-field.expires-field {
  top: 48.5%;
  left: 51%;
  width: 47%;
}

.document-field.license-number-field {
  top: 66%;
  left: 0;
  width: 50%;
}

.document-field.categories-field {
  top: 83%;
  left: 0;
  width: 48%;
}

.document-index {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: rgba(123, 58, 128, 0.9);
  font-size: clamp(10px, 2.24cqw, 27px);
  font-weight: 900;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.license-field span,
.restriction-note span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.document-field span {
  display: none;
}

.license-field strong {
  display: block;
  color: var(--ink);
  font-size: clamp(13px, 2.62cqw, 32px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.license-field.owner-name strong,
.license-field.owner-patronymic strong {
  font-size: clamp(13px, 2.62cqw, 32px);
}

.category-list {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(5px, 0.8cqw, 10px);
}

.category-list b {
  min-width: clamp(30px, 4.65cqw, 56px);
  border: max(1px, 0.18cqw) solid rgba(24, 33, 47, 0.88);
  border-radius: 2px;
  padding: clamp(4px, 0.58cqw, 7px) clamp(6px, 0.8cqw, 10px);
  color: var(--ink);
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: clamp(14px, 2.55cqw, 30px);
  line-height: 1;
}

@container (max-width: 680px) {
  .license-card-title-row {
    top: 5.8%;
    left: 27%;
    right: 5%;
  }

  .license-card-title-row .document-chip {
    top: 0;
    padding: 2px 5px;
    font-size: clamp(7px, 1.7cqw, 11px);
  }

  .license-card-title {
    max-width: 100%;
    font-size: clamp(9px, 2.8cqw, 16px);
    white-space: nowrap;
  }

  .license-card-content {
    left: 32%;
    top: 30.5%;
    right: 5.8%;
    bottom: 11.5%;
  }

  .license-card-media {
    left: 5%;
    top: 21%;
    width: 23.5%;
    height: 68%;
  }

  .license-card-media::before {
    top: -14%;
    width: clamp(40px, 10.8cqw, 64px);
    height: clamp(23px, 6.2cqw, 36px);
    font-size: clamp(9px, 2.55cqw, 15px);
  }

  .avatar-placeholder,
  .license-photo {
    left: 7%;
    right: 7%;
    width: 86%;
    height: 74%;
  }

  .signature-line {
    left: 3%;
    right: -20%;
    top: 91%;
  }

  .document-field {
    grid-template-columns: clamp(20px, 4.9cqw, 30px) minmax(0, 1fr);
    column-gap: clamp(5px, 1.2cqw, 8px);
    align-items: center;
  }

  .document-field.owner-name,
  .document-field.owner-patronymic,
  .document-field.owner-birth {
    width: 100%;
  }

  .document-field.owner-name {
    top: 0;
  }

  .document-field.owner-patronymic {
    top: 16%;
  }

  .document-field.owner-birth {
    top: 32%;
  }

  .document-field.issue-date-field,
  .document-field.expires-field {
    top: 50%;
  }

  .document-field.expires-field {
    left: 50%;
    width: 49%;
  }

  .document-field.license-number-field {
    top: 68%;
  }

  .document-field.categories-field {
    top: 86%;
    width: 58%;
  }

  .document-index {
    font-size: clamp(8px, 2.45cqw, 15px);
  }

  .license-field strong,
  .license-field.owner-name strong,
  .license-field.owner-patronymic strong {
    font-size: clamp(8px, 2.8cqw, 17px);
    white-space: nowrap;
  }

  .category-list {
    gap: clamp(3px, 0.85cqw, 5px);
  }

  .category-list b {
    min-width: clamp(22px, 5.8cqw, 35px);
    border-radius: 2px;
    padding: clamp(2px, 0.55cqw, 4px) clamp(4px, 0.95cqw, 6px);
    font-size: clamp(10px, 3.2cqw, 17px);
  }
}

.restriction-note {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  width: min(100%, 760px);
  justify-self: center;
  border: 1px solid rgba(18, 56, 91, 0.16);
  border-radius: 18px;
  padding: 14px 18px 14px 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 251, 0.78)),
    rgba(18, 56, 91, 0.035);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    0 12px 30px rgba(18, 56, 91, 0.045);
}

.restriction-note::before {
  content: "";
  position: absolute;
  inset: 13px auto 13px 0;
  width: 4px;
  border-radius: 999px;
  background: rgba(18, 56, 91, 0.34);
}

.restriction-note.warning {
  border-color: rgba(183, 121, 31, 0.34);
}

.restriction-note.danger {
  border-color: rgba(180, 35, 24, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 246, 0.82)),
    rgba(180, 35, 24, 0.04);
}

.restriction-note.danger::before {
  background: rgba(180, 35, 24, 0.72);
}

.restriction-note strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.restriction-content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.restriction-decision {
  display: grid;
  gap: 8px;
}

.restriction-decision strong {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 850;
}

.restriction-decision dl {
  display: grid;
  gap: 5px;
  margin: 0;
}

.restriction-decision dl div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.24;
}

.restriction-decision dt {
  margin: 0;
  color: var(--muted);
  font-weight: 820;
  text-align: left;
}

.restriction-decision dd {
  min-width: 0;
  margin: 0;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.restriction-note span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mobile-result-facts {
  display: none;
}

.link-button {
  justify-self: start;
  border: 0;
  padding: 0;
  color: var(--brand);
  background: transparent;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.link-button:hover {
  text-decoration: underline;
}

.premium-result > .link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border: 1px solid rgba(18, 56, 91, 0.16);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.64);
  text-decoration: none;
}

.premium-result > .link-button:hover {
  border-color: rgba(18, 56, 91, 0.28);
  background: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

@media (min-width: 1181px) {
  .tool-panel .document-chip {
    padding: 8px 12px;
    font-size: 13px;
  }

  .tool-panel .restriction-note {
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: center;
    padding: 16px 18px;
  }

  .tool-panel .restriction-note strong {
    font-size: 18px;
  }

  .hero:has(.license-result) .hero-inner {
    padding-top: 22px;
  }
}

.section {
  position: relative;
  overflow: hidden;
  padding: 54px 22px;
  background: transparent;
}

.section.alt {
  background: transparent;
}

.section:not(.alt) {
  background: transparent;
}

.section:nth-of-type(3) {
  background: transparent;
}

.section:nth-of-type(4) {
  background: transparent;
}

.section:nth-of-type(5) {
  background: transparent;
}

.section:nth-of-type(6) {
  background: transparent;
}


.section::before {
  content: "";
  position: absolute;
  top: -34px;
  right: 0;
  width: min(58vw, 760px);
  height: 150px;
  pointer-events: none;
  opacity: 0.52;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='900' height='180' viewBox='0 0 900 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M-20 118 C120 44 213 143 354 83 S577 5 742 72 914 93 950 56' stroke='%2379a8c9' stroke-opacity='.44' stroke-width='1.4'/%3E%3Cpath d='M-20 137 C122 62 218 158 360 103 S584 25 744 91 910 113 950 76' stroke='%238ec7d8' stroke-opacity='.38' stroke-width='1.4'/%3E%3Cpath d='M-20 156 C123 82 220 176 362 124 S584 50 743 112 908 133 950 99' stroke='%2312385b' stroke-opacity='.16' stroke-width='1.2'/%3E%3Cpath d='M110 131 L148 111 L190 111 L226 136' stroke='%2312385b' stroke-opacity='.20' stroke-width='1.3'/%3E%3Ccircle cx='142' cy='138' r='8' stroke='%2312385b' stroke-opacity='.20' stroke-width='1.3'/%3E%3Ccircle cx='203' cy='138' r='8' stroke='%2312385b' stroke-opacity='.20' stroke-width='1.3'/%3E%3C/g%3E%3C/svg%3E");
}

.section:nth-of-type(even)::before {
  right: auto;
  left: 0;
  transform: scaleX(-1);
  opacity: 0.42;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
}

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

.compact-info {
  padding-top: 22px;
}

.compact-info .container {
  max-width: 960px;
}

.compact-info::before {
  display: none;
}

.compact-head {
  margin-bottom: 14px;
}

.section-group {
  margin-bottom: 36px;
}

.source-group {
  margin-bottom: 42px;
}

.compact-head .eyebrow {
  margin-bottom: 8px;
}

.section h2 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.16;
}

.section p {
  color: var(--muted);
  line-height: 1.72;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.65;
}

.card ul {
  padding-left: 18px;
  margin: 0;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}

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

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

.compact-faq {
  max-width: 900px;
  margin: 0 auto;
  gap: 0;
  border-top: 1px solid rgba(18, 56, 91, 0.14);
}

.compact-faq details {
  border: 0;
  border-bottom: 1px solid rgba(18, 56, 91, 0.14);
  border-radius: 0;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

.compact-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  color: var(--ink);
  list-style: none;
}

.compact-faq summary::-webkit-details-marker {
  display: none;
}

.compact-faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(18, 56, 91, 0.2);
  border-radius: 7px;
  color: var(--brand);
  background: rgba(18, 56, 91, 0.05);
  font-weight: 760;
}

.compact-faq details[open] summary::after {
  content: "-";
}

.compact-faq p {
  max-width: 760px;
  margin: -4px 0 18px;
  line-height: 1.65;
}

.source-faq {
  border-top: 0;
}

.source-faq details {
  border: 1px solid rgba(18, 56, 91, 0.12);
  border-radius: var(--radius-md);
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.source-faq summary {
  padding: 16px 0;
}

.source-faq p {
  max-width: none;
}

.source-panel {
  max-width: 900px;
  margin: 10px auto 0;
  border: 1px solid rgba(18, 56, 91, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
}

.source-panel span {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 780;
}

.source-panel p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.article-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.article-hero .container {
  padding: 70px 22px 46px;
}

.article-hero h1 {
  color: var(--ink);
  font-size: 46px;
}

.article-hero .lead {
  color: var(--muted);
}

.article {
  max-width: 820px;
  padding: 56px 22px 80px;
}

.article h2 {
  margin: 34px 0 12px;
  font-size: 28px;
}

.article p,
.article li {
  color: var(--muted);
  line-height: 1.78;
}

.article .button {
  margin-top: 12px;
  text-decoration: none;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(18, 56, 91, 0.12);
  padding: 26px 22px;
  color: var(--muted);
  background:
    linear-gradient(120deg, rgba(234, 249, 252, 0.82), rgba(255, 250, 254, 0.74) 46%, rgba(253, 234, 241, 0.82)),
    url("/assets/vu-page-bg.svg") bottom center / clamp(920px, 120vw, 1800px) auto repeat-y;
  font-size: 14px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.footer-inner strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
}

.footer-inner p {
  max-width: 430px;
  margin: 0;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(18, 56, 91, 0.13);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-weight: 760;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.46);
}

.telegram-support {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  border: 0 !important;
  padding: 8px 13px;
  color: #fff !important;
  background: linear-gradient(135deg, #2aa8ea, #1d8ed0) !important;
  box-shadow: 0 10px 20px rgba(39, 167, 231, 0.2);
}

.telegram-support svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-note {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1160px;
  margin: 18px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(18, 56, 91, 0.12);
  line-height: 1.55;
}

@media (min-width: 901px) {
  .console-intro {
    margin: 0 auto;
    text-align: center;
  }

  h1 {
    margin: 0 auto 20px;
  }

  .compact-head {
    margin: 0 auto 14px;
    text-align: center;
  }
}

@media (max-width: 1180px) {
  .console-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .check-panel {
    grid-template-rows: none;
  }

  .check-form {
    min-height: 0;
  }

  .form-helper {
    align-self: auto;
  }

  .result-panel {
    justify-self: stretch;
  }
}

@media (max-width: 900px) {
  .console-grid,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 52px 22px 70px;
  }

  h1,
  .article-hero h1 {
    font-size: 40px;
  }

  .nav {
    align-items: center;
    flex-direction: row;
    padding: 14px 22px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .brand-search {
    left: 9px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-width: 2.5px;
  }

  .brand-doc-mini {
    right: 6px;
    bottom: 7px;
  }
}

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

  .panel-title {
    gap: 10px;
  }

  .hero-inner {
    padding: 48px 22px 58px;
  }

  .tool-panel {
    padding: 24px 28px 28px;
  }

  .hero:has(.license-result) .hero-inner {
    padding-top: 20px;
    padding-bottom: 54px;
  }

  .tool-panel:has(.license-result) {
    padding: 18px;
  }

  .tool-panel .license-card {
    width: 100%;
  }

  .tool-panel-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel-title h2 {
    font-size: 22px;
    line-height: 1.15;
  }

  .panel-badge {
    padding: 5px 8px;
    font-size: 11px;
  }

  .section h2 {
    font-size: 27px;
  }

  .result-grid,
  .footer-inner,
  .footer-note,
  .form-row,
  .form-actions,
  .helper-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

  .form-actions {
    align-items: stretch;
  }

  .form-actions .button {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .privacy-line {
    font-size: 12.5px;
  }

  .field input {
    min-height: 52px;
    padding: 13px 14px;
    font-size: 16px;
  }

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

  .captcha-actions .button,
  .captcha-field input {
    width: 100%;
  }

  .turnstile-wrap {
    overflow-x: auto;
    justify-items: center;
  }

  .state-card {
    min-height: 0;
  }

  .premium-result {
    gap: 12px;
  }

  .status {
    padding: 7px 10px;
    font-size: 12px;
  }

  .mobile-result-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mobile-result-facts div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(18, 56, 91, 0.13);
    border-radius: 15px;
    padding: 11px 12px;
    background: rgba(255, 255, 255, 0.66);
  }

  .mobile-result-facts span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 760;
  }

  .mobile-result-facts strong {
    max-width: 58%;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.25;
    text-align: right;
  }

  .license-result .restriction-note {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    border-radius: 16px;
    padding: 13px 14px 13px 18px;
  }

  .restriction-note::before {
    inset: 11px auto 11px 0;
    width: 3px;
  }

  .restriction-note strong {
    font-size: 14px;
    line-height: 1.32;
  }

  .restriction-content {
    gap: 8px;
  }

  .restriction-decision {
    gap: 7px;
  }

  .restriction-decision strong {
    font-size: 14px;
    line-height: 1.28;
  }

  .restriction-decision dl {
    gap: 4px;
  }

  .restriction-decision dl div {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 6px;
    font-size: 12.5px;
    line-height: 1.22;
  }

  .document-chip {
    padding: 2px 5px;
    font-size: 8px;
  }

  .license-field span {
    font-size: 7.5px;
    line-height: 1.08;
  }

  .restriction-note span {
    font-size: 11px;
    line-height: 1.15;
  }

  .license-card {
    border-radius: 14px;
  }

  .premium-result > .link-button {
    justify-self: stretch;
    justify-content: center;
    text-align: center;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .footer-inner {
    align-items: stretch;
  }

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

  .footer-links a {
    justify-content: center;
  }
}
