:root {
  --ink: #182232;
  --muted: #617086;
  --line: #dce4ef;
  --paper: #f5f7fb;
  --white: #ffffff;
  --blue: #1f3a5f;
  --blue-2: #2e5b8d;
  --burgundy: #781f25;
  --gold: #c99a3e;
  --green: #2f6f5f;
  --shadow: 0 22px 60px rgba(17, 31, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: TildaSans, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 228, 239, 0.8);
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand strong {
  color: var(--ink);
}

.footer-brand strong {
  color: var(--white);
}

.brand span,
.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: #2d3d52;
}

.nav a {
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
}

.btn-secondary {
  background: var(--blue);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: rgba(31, 58, 95, 0.35);
}

.btn-on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero {
  position: relative;
  min-height: 720px;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(15, 29, 47, 0.94) 0%, rgba(25, 44, 70, 0.85) 42%, rgba(25, 44, 70, 0.28) 100%),
    url("../images/tild3866-6539-4736-b164-666332366166__colleagues-discussin.webp") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(245, 247, 251, 0), var(--paper));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  gap: 46px;
  padding: 98px 0 138px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
}

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

h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 21px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-actions .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 780px;
}

.proof-item {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.proof-item strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
}

.proof-item span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-panel {
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel h2 {
  margin-bottom: 16px;
  font-size: 24px;
}

.status-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.status-list span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.section {
  padding: 86px 0;
}

.section.compact {
  padding: 56px 0;
}

.simple-hero {
  padding: 74px 0 62px;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(15, 29, 47, 0.94), rgba(31, 58, 95, 0.78)),
    url("../images/tild6639-3231-4735-b232-653436636137__business-team-two-co.webp") center/cover no-repeat;
}

.simple-hero h1 {
  max-width: 920px;
}

.simple-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.section.white {
  background: var(--white);
}

.section.dark {
  color: var(--white);
  background: var(--blue);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.42fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dark .section-kicker {
  color: #f2c96c;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.dark .section-head p,
.dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.dark .card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

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

.dark .card p,
.dark .card li {
  color: rgba(255, 255, 255, 0.72);
}

.card ul,
.document-card ul,
.timeline {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.card li,
.document-card li,
.timeline li {
  position: relative;
  padding-left: 20px;
}

.card li + li,
.document-card li + li,
.timeline li + li {
  margin-top: 8px;
}

.card li::before,
.document-card li::before,
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 34px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #36465d;
  font-size: 14px;
  font-weight: 700;
}

.registry-check {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.registry-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.registry-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.registry-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.registry-result {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.registry-result h3 {
  margin: 12px 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.registry-result p {
  margin-bottom: 0;
  color: var(--muted);
}

.registry-result.found {
  border-color: rgba(47, 111, 95, 0.32);
  background: rgba(47, 111, 95, 0.08);
}

.registry-result.not-found {
  border-color: rgba(120, 31, 37, 0.22);
  background: rgba(120, 31, 37, 0.06);
}

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

.registry-notes div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.registry-notes p {
  margin: 6px 0 0;
  color: var(--muted);
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.feature-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-row strong {
  color: var(--blue);
}

.feature-row p {
  margin: 0;
  color: var(--muted);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.page-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(47, 111, 95, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.badge.warn {
  background: rgba(201, 154, 62, 0.16);
  color: #8b651d;
}

.badge.danger {
  background: rgba(120, 31, 37, 0.12);
  color: var(--burgundy);
}

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

.document-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.document-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.document-card p,
.document-card li {
  color: var(--muted);
}

.document-card a {
  width: fit-content;
  margin-top: 18px;
  color: var(--burgundy);
  font-weight: 800;
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 16px;
}

.step {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.step::before {
  content: counter(steps, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  color: #f2c96c;
  font-weight: 900;
}

.step h3 {
  margin-bottom: 6px;
  font-size: 21px;
}

.step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.news-list,
.news-grid {
  display: grid;
  gap: 14px;
}

.compact-news {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-item {
  display: grid;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.news-item[hidden] {
  display: none;
}

.news-item time {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(120, 31, 37, 0.08);
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 800;
}

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

.news-item p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 15px;
}

.news-item p:last-child {
  margin-bottom: 0;
}

.news-item details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.news-item summary {
  cursor: pointer;
  color: var(--burgundy);
  font-weight: 800;
}

.news-item details p {
  margin-top: 12px;
}

.news-item-next {
  border-style: dashed;
  background: #f8fafc;
}

.news-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 0.48fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.contact-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-box span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-box strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

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

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.form textarea {
  min-height: 118px;
  padding-top: 12px;
  resize: vertical;
}

.form small {
  color: var(--muted);
}

.form-message {
  display: none;
  padding: 12px;
  border-radius: 8px;
  background: rgba(47, 111, 95, 0.1);
  color: var(--green);
  font-weight: 700;
}

.form-message.visible {
  display: block;
}

.site-footer {
  padding: 42px 0;
  background: #101a28;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

@media (max-width: 1040px) {
  .nav {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-inner,
  .section-head,
  .split,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    align-self: start;
    max-width: 620px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand > span > span {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 64px 0 96px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-proof,
  .grid-3,
  .grid-4,
  .compact-news,
  .document-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .registry-form,
  .registry-notes,
  .feature-row,
  .news-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .registry-check {
    padding: 20px;
  }

  .contact-band {
    padding: 22px;
  }

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