:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #5c6a78;
  --line: #dce7ee;
  --sky: #08bfe6;
  --sky-dark: #027fb8;
  --blue: #0b68d8;
  --navy: #082e4d;
  --wash: #f3fbfd;
  --white: #ffffff;
  --warning: #fff7df;
  --danger: #d64242;
  --shadow: 0 24px 70px rgba(7, 58, 87, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 2%, rgba(8, 191, 230, 0.16), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f7fcfd 70%, #eef8fa 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--sky-dark); }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: .75rem;
  background: var(--navy);
  color: white;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 231, 238, .85);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
}

.nav-shell,
.page-shell,
.hero,
.section-shell,
.footer-shell {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 850;
  font-size: 1.25rem;
  letter-spacing: -.03em;
}

.brand img { width: 42px; height: 42px; border-radius: 12px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-left: auto;
}

.main-nav a {
  color: #294154;
  font-size: .93rem;
  font-weight: 680;
  text-decoration: none;
}

.main-nav a:hover { color: var(--sky-dark); }

.language-switch {
  display: inline-flex;
  padding: .2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}

.language-switch button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: .4rem .65rem;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
}

.language-switch button[aria-pressed="true"] {
  color: white;
  background: var(--navy);
}

.menu-button { display: none; }

.hero {
  padding: clamp(5rem, 10vw, 8.5rem) 0 5rem;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding: .42rem .75rem;
  border: 1px solid rgba(8, 191, 230, .28);
  border-radius: 999px;
  color: #056c90;
  background: rgba(8, 191, 230, .08);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 .3rem rgba(8, 191, 230, .13);
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -.045em;
}

h1 { margin: 0; font-size: clamp(3rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: 1.35rem; }

.hero p {
  max-width: 42rem;
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.15rem;
  border: 1px solid var(--navy);
  border-radius: 14px;
  color: white;
  background: var(--navy);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(8, 46, 77, .18);
}

.button:hover { color: white; background: #0d416a; }
.button.secondary { color: var(--navy); background: white; box-shadow: none; }
.button.secondary:hover { background: var(--wash); }

.email-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0 .35rem; }
.email-actions button { appearance: none; border: 1px solid var(--line); cursor: pointer; font: inherit; }
.copy-status { min-height: 1.4rem; margin: .25rem 0 .75rem; color: var(--sky-dark) !important; font-weight: 750; }

.product-visual {
  position: relative;
  min-height: 470px;
  border-radius: 38px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 191, 230, .2), rgba(11, 104, 216, .08)),
    #eefbfe;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.product-visual::before {
  width: 240px;
  height: 240px;
  right: -40px;
  top: -20px;
  background: rgba(8, 191, 230, .25);
}

.product-visual::after {
  width: 180px;
  height: 180px;
  left: -60px;
  bottom: -30px;
  background: rgba(11, 104, 216, .16);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: .3;
  background-image:
    linear-gradient(rgba(8, 46, 77, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 46, 77, .12) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: rotate(-10deg) scale(1.2);
}

.map-pin {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 5px solid white;
  border-radius: 50% 50% 50% 0;
  background: var(--sky);
  box-shadow: 0 8px 18px rgba(8, 46, 77, .22);
  transform: rotate(-45deg);
}

.pin-a { top: 22%; left: 27%; }
.pin-b { top: 48%; left: 70%; background: var(--blue); }
.pin-c { top: 72%; left: 35%; }

.event-card {
  position: absolute;
  z-index: 2;
  left: 10%;
  right: 10%;
  bottom: 9%;
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 22px 48px rgba(8,46,77,.14);
  backdrop-filter: blur(14px);
}

.event-card small { color: var(--sky-dark); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.event-card h3 { margin: .5rem 0 .4rem; }
.event-card p { margin: 0; color: var(--muted); }

.section-shell { padding: 5rem 0; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0 0 1rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 38px rgba(8,46,77,.055);
}

.card-number {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  font-weight: 900;
}

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

.safety-band {
  margin: 2rem auto 5rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 32px;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.safety-band h2, .safety-band h3 { color: white; }
.safety-band p { color: #c8d9e4; max-width: 46rem; }
.safety-band .button { border-color: white; color: var(--navy); background: white; box-shadow: none; }

.page-shell { padding: 4.5rem 0 6rem; }

.document-header {
  max-width: 800px;
  margin-bottom: 2.5rem;
}

.document-header h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
.document-header p { color: var(--muted); font-size: 1.08rem; }

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.2rem;
}

.meta-pill {
  padding: .38rem .68rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #3d5365;
  background: white;
  font-size: .82rem;
  font-weight: 720;
}

.document-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 3rem;
  align-items: start;
}

.document-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: .45rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
}

.document-nav a { color: #3e5466; font-size: .88rem; font-weight: 700; text-decoration: none; }

.document {
  padding: clamp(1.25rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  box-shadow: 0 18px 55px rgba(8,46,77,.07);
}

.document section + section { margin-top: 2.7rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.document h2 { margin: 0 0 1rem; font-size: clamp(1.55rem, 3vw, 2.05rem); }
.document h3 { margin-top: 1.7rem; letter-spacing: -.025em; }
.document p, .document li { color: #33495b; }
.document ul, .document ol { padding-left: 1.25rem; }
.document li + li { margin-top: .55rem; }

.notice {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--sky);
  border-radius: 0 14px 14px 0;
  background: var(--wash);
}

.notice.warning { border-color: #e0a100; background: var(--warning); }

[data-lang="en"] { display: none; }
html[data-site-lang="en"] [data-lang="ru"] { display: none; }
html[data-site-lang="en"] [data-lang="en"] { display: revert; }

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}

.footer-shell {
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 2rem;
}

.footer-copy p { max-width: 25rem; color: var(--muted); font-size: .9rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.footer-links strong { display: block; margin-bottom: .55rem; color: var(--navy); }
.footer-links a { display: block; margin: .35rem 0; color: var(--muted); font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: var(--sky-dark); }
.copyright { grid-column: 1 / -1; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

@media (max-width: 880px) {
  .main-nav {
    position: absolute;
    display: none;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 1rem;
    align-items: stretch;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    background: white;
  }
  .main-nav[data-open="true"] { display: flex; }
  .menu-button {
    display: inline-flex;
    margin-left: auto;
    padding: .55rem .7rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--navy);
    background: white;
    font: inherit;
    font-weight: 800;
  }
  .hero { grid-template-columns: 1fr; }
  .product-visual { min-height: 400px; }
  .cards { grid-template-columns: 1fr; }
  .document-layout { grid-template-columns: 1fr; }
  .document-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-shell { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .nav-shell, .page-shell, .hero, .section-shell, .footer-shell { width: min(100% - 1.2rem, 1160px); }
  .hero { padding-top: 3.5rem; }
  .product-visual { min-height: 340px; border-radius: 26px; }
  .event-card { left: 6%; right: 6%; }
  .document-nav { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .language-switch button { padding-inline: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
