:root {
  --color-ink: #07153a;
  --color-muted: #53617a;
  --color-primary: #1557ff;
  --color-primary-dark: #0b3ec6;
  --color-line: #dfe7f4;
  --color-soft: #f6f9ff;
  --color-surface: #ffffff;
  --shadow-soft: 0 18px 48px rgba(7, 21, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--color-ink);
  background: var(--color-surface);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell,
.section-inner,
.footer-inner {
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 3.1rem;
  height: 2.25rem;
  color: var(--color-primary);
}

.brand-mark svg,
.hero-bg-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-text {
  font-size: 0.96rem;
  letter-spacing: 0;
}

.header-tools {
  display: flex;
  align-items: center;
}

.language-switcher {
  display: inline-flex;
  gap: 0.125rem;
  padding: 0.2rem;
  border: 1px solid rgba(21, 87, 255, 0.2);
  border-radius: 999px;
  background: var(--color-soft);
}

.language-switcher a {
  min-width: 2.35rem;
  padding: 0.35rem 0.52rem;
  border-radius: 999px;
  color: var(--color-ink);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.language-switcher a[aria-current="page"] {
  color: #ffffff;
  background: var(--color-primary);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
  background:
    radial-gradient(circle at 85% 32%, rgba(21, 87, 255, 0.1), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: 68vh;
  padding: 5.75rem 0 4.5rem;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: 4rem;
  line-height: 0.98;
}

.hero-statement {
  max-width: 680px;
  margin-bottom: 1.2rem;
  color: var(--color-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1.14;
}

.hero-body {
  max-width: 620px;
  margin-bottom: 2rem;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.2rem;
  border: 1px solid var(--color-primary);
  border-radius: 0.45rem;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

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

.button-secondary {
  background: #ffffff;
  color: var(--color-primary);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--color-soft);
  color: var(--color-primary-dark);
}

.service-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.service-line li {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(21, 87, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.hero-bg-mark {
  position: absolute;
  right: -7rem;
  top: 4.25rem;
  width: 48rem;
  max-width: 62vw;
  color: var(--color-primary);
  opacity: 0.1;
}

.section {
  border-bottom: 1px solid var(--color-line);
  background: #ffffff;
}

.section-soft {
  background: var(--color-soft);
}

.section-inner {
  padding: 4.75rem 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.section-header h2 {
  margin-bottom: 0;
  font-size: 2.2rem;
  line-height: 1.12;
}

.section-header p {
  margin-bottom: 0;
  color: var(--color-muted);
}

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

.service-card {
  min-height: 12rem;
  padding: 1.35rem;
  border: 1px solid var(--color-line);
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(21, 87, 255, 0.22);
  border-radius: 999px;
  color: var(--color-primary);
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1rem;
  line-height: 1.25;
}

.service-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.93rem;
}

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

.step {
  padding-top: 1rem;
  border-top: 2px solid rgba(21, 87, 255, 0.32);
}

.step-number {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.step h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.step p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.7fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid rgba(21, 87, 255, 0.22);
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.contact-panel h2 {
  margin-bottom: 0.7rem;
  font-size: 2rem;
}

.contact-panel p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.contact-details {
  display: grid;
  gap: 0.55rem;
  color: var(--color-ink);
  font-weight: 750;
}

.contact-details a {
  color: var(--color-primary);
  text-decoration: none;
}

.site-footer {
  background: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: 1.5rem;
  padding: 2rem 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.footer-brand {
  color: var(--color-ink);
  font-weight: 850;
}

.footer-legal {
  text-align: right;
}

.footer-operator {
  display: block;
}

.footer-register {
  display: block;
  margin-top: 0.25rem;
}

.footer-legal a {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: none;
}

.legal-main {
  background: var(--color-soft);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  padding: 5rem 0;
}

.legal-intro h1 {
  margin-bottom: 1rem;
  font-size: 3.25rem;
}

.legal-intro p {
  color: var(--color-muted);
}

.legal-card {
  padding: 2rem;
  border: 1px solid var(--color-line);
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.legal-card h2 {
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
}

.legal-list {
  display: grid;
  gap: 1.35rem;
  margin: 0;
}

.legal-list div {
  display: grid;
  gap: 0.2rem;
}

.legal-list dt {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.legal-list dd {
  margin: 0;
  color: var(--color-ink);
}

.legal-list a {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 880px) {
  .nav-shell {
    flex-wrap: wrap;
    padding: 0.85rem 0;
  }

  .hero-inner {
    min-height: auto;
    padding: 4.25rem 0 3.25rem;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-statement {
    font-size: 1.65rem;
  }

  .hero-bg-mark {
    right: -9rem;
    top: 6rem;
    max-width: none;
    width: 34rem;
    opacity: 0.07;
  }

  .section-header,
  .contact-panel,
  .legal-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .section-inner,
  .footer-inner {
    width: min(100% - 1.25rem, 1120px);
  }

  .header-tools {
    width: 100%;
  }

  .language-switcher {
    flex: 1;
    justify-content: space-between;
  }

  .language-switcher a {
    flex: 1;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

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

  .section-inner {
    padding: 3.35rem 0;
  }

  .contact-panel,
  .legal-card {
    padding: 1.25rem;
  }

  .legal-intro h1 {
    font-size: 2.45rem;
  }
}
