:root {
  --bg: #000000;
  --ink: #ededed;
  --mute: #a1a1aa;
  --dim: #71717a;
  --pill: #1a1a1a;
  --pill-on: #2a2a2a;
  --accent: #e36a12;
  --focus: #ffffff;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
}

img, video { max-width: 100%; height: auto; display: block; }

a {
  color: var(--ink);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--accent); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--bg);
  padding: 0.4rem 0.6rem;
  z-index: 20;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
}

.landing .top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  justify-content: flex-end;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.brand img {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 22%;
  background: #000;
}

.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.lang {
  display: flex;
  background: var(--pill);
  border-radius: 999px;
  padding: 0.15rem;
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--dim);
  padding: 0.4rem 0.85rem;
  min-height: 2.2rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

html[lang="ru"] .lang [data-set-lang="ru"],
html[lang="en"] .lang [data-set-lang="en"] {
  background: var(--pill-on);
  color: var(--ink);
  cursor: default;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4.5rem 1.5rem 2rem;
}

.mascot {
  width: 11.5rem;
  margin: 0 0 0.9rem;
}

.mascot img {
  width: 100%;
  height: auto;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  color: var(--mute);
  font-size: 1.05rem;
}

.lede span {
  display: block;
}

.lede span + span {
  margin-top: 0.55rem;
}

.badge {
  display: inline-block;
  line-height: 0;
}

.badge img {
  height: 3.6rem;
  width: auto;
}

.phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 2.6rem 0 0;
  width: 100%;
  max-width: 44rem;
}

.phone {
  margin: 0;
  width: 12.4rem;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.55));
}

.phone img {
  width: 100%;
}

.tilt-a {
  transform: rotate(-8deg) translate(2.1rem, 1.1rem);
  z-index: 1;
}

.tilt-b {
  z-index: 3;
}

.tilt-c {
  transform: rotate(8deg) translate(-2.1rem, 1.1rem);
  z-index: 2;
}

.foot {
  padding: 0.4rem 1.5rem 2.4rem;
  font-size: 0.75rem;
  color: var(--dim);
  text-align: center;
  display: grid;
  gap: 0.65rem;
  max-width: 40rem;
  margin: 0 auto;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.foot a { color: var(--mute); }

.legal-page,
.privacy-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
  color: #d4d4d8;
}

.legal-page h1,
.privacy-page h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
}

.legal-page h2,
.privacy-page h2 {
  font-size: 1.05rem;
  margin-top: 1.6rem;
  color: var(--ink);
}

.legal-page a,
.privacy-page a { color: var(--ink); }

[hidden] { display: none !important; }

@media (max-width: 720px) {
  .hero { padding-top: 4rem; }
  .mascot { width: 8.5rem; }
  .hero h1 { font-size: 1.85rem; }
  .phones {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 0.7rem;
    padding: 0.4rem 1.5rem 1.4rem;
    scroll-padding-inline: 1.5rem;
    max-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .phone {
    width: 10rem;
    flex: 0 0 auto;
  }
  .tilt-a,
  .tilt-b,
  .tilt-c {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .tilt-a, .tilt-c { transform: none; }
}
