:root {
  --ink: #0f1d23;
  --muted: #5a6a72;
  --brand: #5d35ff;
  --brand-2: #8f6dff;
  --brand-soft: #f1ecff;
  --mint: #7ee3c3;
  --surface: #ffffff;
  --surface-alt: #f6fafb;
  --stroke: #dbe7eb;
  --radius: 16px;
  --shadow-lg: 0 20px 45px rgba(12, 25, 32, 0.1);
  --shadow-sm: 0 8px 20px rgba(16, 34, 44, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 10%, #fbfdff, #f5f9fc 46%, #eff5f8 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 46vw;
  height: 46vw;
  min-width: 280px;
  min-height: 280px;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.3;
  animation: drift 22s ease-in-out infinite;
}

body::before {
  top: -18vw;
  left: -10vw;
  background: linear-gradient(140deg, rgba(93, 53, 255, 0.52), rgba(126, 227, 195, 0.38));
}

body::after {
  right: -14vw;
  bottom: -18vw;
  background: linear-gradient(140deg, rgba(143, 109, 255, 0.48), rgba(127, 199, 255, 0.35));
  animation-delay: -10s;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2vw, -3vh, 0) scale(1.06);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

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

iframe {
  max-width: 100%;
}

a {
  color: #2b29aa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 250, 252, 0.9);
  border-bottom: 1px solid rgba(208, 224, 230, 0.9);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 14px;
}

.logo {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #10232b;
}

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

.nav-toggle {
  border: 1px solid #c6dce3;
  border-radius: 10px;
  background: #fff;
  color: #1d3340;
  padding: 8px 11px;
  font-weight: 700;
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  background: #f7fbfc;
  border-bottom: 1px solid #dce8ec;
  display: none;
}

.site-nav.open {
  display: block;
}

.site-nav a {
  display: block;
  padding: 12px 4vw;
  color: #16303b;
  font-weight: 700;
}

.site-nav a:last-child {
  background: linear-gradient(125deg, #4f2eef, #6e48ff 60%, #8b6aff);
  color: #fff;
  margin: 10px 4vw 14px;
  border-radius: 999px;
  text-align: center;
  padding: 12px 18px;
}

.site-nav a:last-child:hover {
  text-decoration: none;
  filter: saturate(1.05) brightness(1.02);
}

.hero {
  padding: 32px 0 8px;
}

.hero-grid {
  display: grid;
  gap: 14px;
}

.hero-intro {
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.92), rgba(245, 250, 252, 0.94));
  border: 1px solid #d7e7ec;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}

.hero h1 {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: clamp(2rem, 9vw, 3.7rem);
  line-height: 1.03;
  margin: 8px 0 12px;
  color: #102730;
}

.hero p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cbe1e8;
  border-radius: 999px;
  padding: 5px 10px;
  color: #1d3642;
  background: #fff;
  font-weight: 700;
  font-size: 0.82rem;
}

.hero-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--mint), var(--brand));
}

.hero-ticker {
  display: flex;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px dashed #c8dae0;
  padding-top: 12px;
  margin-top: 12px;
}

.hero-ticker-track {
  display: inline-flex;
  gap: 24px;
  min-width: 100%;
  animation: marquee 28s linear infinite;
  color: #304b56;
  font-weight: 700;
  font-size: 0.92rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.hero-media {
  border-radius: var(--radius);
  min-height: 220px;
  position: relative;
  overflow: hidden;
  border: 1px solid #d0e2e7;
  box-shadow: var(--shadow-sm);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 650ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(27, 52, 67, 0.7), rgba(93, 53, 255, 0.5), rgba(126, 227, 195, 0.26));
}

.hero-slide span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  color: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.hero-slide.a {
  background: radial-gradient(circle at 15% 30%, #3f5f70, #203b49 44%, #152834 100%);
}

.hero-slide.b {
  background: radial-gradient(circle at 80% 25%, #7c62ff, #4a30c8 48%, #2a2272 100%);
}

.hero-slide.c {
  background: radial-gradient(circle at 45% 80%, #56a6a2, #2d5f70 50%, #16343f 100%);
}

.hero-form {
  background: #ffffff;
  border: 1px solid #cfe1e7;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px;
}

.hero-form h2 {
  margin: 4px 0 6px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
}

.hero-form .meta {
  margin-bottom: 12px;
}

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

.form-row {
  display: grid;
  gap: 11px;
}

.form label {
  font-weight: 700;
  font-size: 0.92rem;
  color: #17313c;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #c8dde4;
  border-radius: 11px;
  min-height: 46px;
  padding: 10px 12px;
  font: inherit;
  color: #132a34;
  background: #fbfeff;
}

.form textarea {
  min-height: 100px;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  padding: 11px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button.primary {
  background: linear-gradient(125deg, #4f2eef, #6e48ff 60%, #8b6aff);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: #27355f;
  border-color: #cdd4ff;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(18, 31, 40, 0.12);
}

.section {
  padding: 20px 0;
}

.section[id] {
  scroll-margin-top: 88px;
}

.section h2 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: clamp(1.45rem, 5vw, 2.1rem);
  margin: 0 0 10px;
}

.section p.lead {
  color: var(--muted);
  margin-top: 0;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(12, 25, 32, 0.12);
  border-color: rgba(93, 53, 255, 0.28);
}

.steps .step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #1a2f3a;
  background: linear-gradient(160deg, #ffffff, #f0f3ff);
  border: 1px solid rgba(109, 125, 255, 0.32);
  box-shadow: 0 12px 22px rgba(25, 36, 50, 0.08);
}

.section:not(:first-of-type),
.card,
.faq-group {
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}

.card h3 {
  margin: 0 0 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.card p,
.card li {
  color: #2d4752;
}

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

.kpi {
  background: linear-gradient(160deg, #fff, #f6fbfd);
  border: 1px solid #d4e5ea;
  border-radius: 14px;
  padding: 13px;
}

.kpi .value {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #182f3a;
}

.notice {
  border-left: 4px solid var(--brand);
  padding: 11px 12px;
  background: #f5f1ff;
  border-radius: 8px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.badge {
  border-radius: 999px;
  border: 1px solid #d2defb;
  color: #2e317f;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 9px;
  background: #f3f6ff;
}

.list {
  padding-left: 20px;
  color: #29414b;
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.article {
  max-width: 820px;
}

.article h1,
.article h2,
.article h3 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.breadcrumb {
  font-size: 0.9rem;
  color: #4b6570;
  margin-top: 0;
}

.language-switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.language-switch a {
  border: 1px solid #cce0e6;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.84rem;
  color: #25414d;
  background: #fff;
}

.faq-group {
  background: linear-gradient(170deg, #fff, #f8fcfd);
  border: 1px solid #d6e7eb;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 14px;
}

.faq-item {
  border-top: 1px solid #e0ecef;
  padding: 10px 0;
}

.faq-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.faq-item h3 {
  font-size: 1.03rem;
  margin: 0 0 6px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #17303b;
}

.faq-item summary::marker {
  color: #48607b;
}

.pulse-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2ad596;
  box-shadow: 0 0 0 rgba(42, 213, 150, 0.4);
  animation: pulse 2s infinite;
  margin-right: 7px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(42, 213, 150, 0.45);
  }
  70% {
    box-shadow: 0 0 0 11px rgba(42, 213, 150, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(42, 213, 150, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 430ms ease, transform 430ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  margin-top: 32px;
  padding: 28px 0 84px;
  border-top: 1px solid #d2e4e9;
  color: #3b545f;
  background: linear-gradient(180deg, rgba(247, 251, 252, 0.9), rgba(241, 248, 250, 0.95));
}

.footer-grid {
  display: grid;
  gap: 12px;
}

.sticky-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: rgba(247, 252, 253, 0.95);
  border-top: 1px solid #d8e7ec;
  z-index: 60;
}

.sticky-mobile-cta .button {
  width: 100%;
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    gap: 10px;
    border: 0;
    background: transparent;
  }

  .site-nav a {
    padding: 8px 10px;
    border-radius: 999px;
  }

  .site-nav a:hover {
    background: rgba(186, 208, 216, 0.26);
    text-decoration: none;
  }

  .site-nav a:last-child {
    margin: 0;
    padding: 10px 16px;
  }

  .site-nav a:last-child:hover {
    background: linear-gradient(125deg, #4f2eef, #6e48ff 60%, #8b6aff);
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: start;
  }

  .hero-intro,
  .hero-form {
    padding: 22px;
  }

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

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

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

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

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

  .sticky-mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  body::before,
  body::after {
    display: none;
  }

  .button:hover,
  .card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
}
