/* Public landing page (`/` snapshot and the committed `/ru/` document).
   Scoped under .lp-root so it never leaks into the React app that replaces it.
   Palette mirrors src/utils/newDesignSystem.ts (light + dark). System fonts
   by default; the export step prepends @font-face rules for Raleway / Nunito /
   Instrument Serif so the snapshot matches the React screen that takes over. */
.lp-root {
  --ink: #362848;
  --muted: #645578;
  --brand: #5e27f7;
  --cta: #5e27f7;
  --cta-ink: #fff;
  --bg: #fcf4ff;
  --bg2: #f8edff;
  --card: #fff;
  --line: #ecdfff;
  --shadow: 0 1px 2px rgba(94, 39, 247, 0.06), 0 8px 24px rgba(94, 39, 247, 0.1);
  --plate: linear-gradient(135deg, #5e27f7 0%, #7a3ff2 55%, #362848 100%);
  --aurora: linear-gradient(135deg, #ffe3d3 0%, #e9daff 50%, #d7f3ea 100%);
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.6 Raleway,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-text-size-adjust: 100%;
  min-height: 100%;
}
@media (prefers-color-scheme: dark) {
  .lp-root {
    --ink: #f3eafd;
    --muted: #c9beda;
    --brand: #a98bff;
    --cta: #6b40d6;
    --bg: #120a24;
    --bg2: #1a1030;
    --card: #1f1636;
    --line: #3b2d62;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(0, 0, 0, 0.45);
    --aurora: linear-gradient(135deg, #31205c 0%, #48307f 50%, #1a1038 100%);
  }
}
.lp-root * {
  box-sizing: border-box;
}
.lp-root h1,
.lp-root h2,
.lp-root h3,
.lp-root p,
.lp-root ul {
  margin: 0;
}
.lp-root ul {
  list-style: none;
  padding: 0;
}
.lp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
}
.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-family:
    Nunito,
    Raleway,
    -apple-system,
    sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.5px;
}
.lp-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.lp-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.lp-nav a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.lp-nav .lp-navbtn {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 14px;
  font-weight: 700;
}
.lp-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lp-hero {
  background: var(--plate);
  color: #fff;
  border-radius: 28px;
  padding: 48px 48px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lp-hero-row {
  display: flex;
  align-items: center;
  gap: 32px;
}
.lp-hero-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-hero h1 {
  font-family:
    Nunito,
    Raleway,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1.14;
  letter-spacing: -0.5px;
}
.lp-sub {
  font-size: 18px;
  line-height: 1.6;
  max-width: 560px;
}
.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 18px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.lp-btn-primary {
  background: #fff;
  color: #5e27f7;
  border-color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.lp-btn-solid {
  background: var(--cta);
  color: var(--cta-ink);
  border-color: var(--cta);
  box-shadow: var(--shadow);
}
.lp-btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.lp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.lp-stats li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 14px;
}
.lp-stats strong {
  font-family: Nunito, Raleway, sans-serif;
  font-weight: 800;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.lp-phone {
  flex: none;
  padding: 10px;
  border-radius: 40px;
  background: #15101f;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  align-self: center;
}
.lp-phone img {
  display: block;
  width: 200px;
  height: auto;
  border-radius: 30px;
}
.lp-phone-hero {
  transform: rotate(-4deg);
}
.lp-phone-hero img {
  width: 240px;
}
.lp-phone-about img {
  width: 170px;
}
.lp-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 0;
}
.lp-section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-section h2 {
  font-family: Nunito, Raleway, sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.lp-section h3 {
  font-family: Nunito, Raleway, sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
}
.lp-section a {
  color: var(--brand);
  font-weight: 600;
}
.lp-about {
  flex-direction: row;
  align-items: center;
  gap: 32px;
}
.lp-about-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.lp-tracks li {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-tracks p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.lp-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 24px;
  margin: 4px 0;
}
.lp-links a {
  font-family: 'InstrumentSerif-Regular', 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  color: var(--ink);
  text-decoration: none;
}
.lp-links a::before {
  content: '◎';
  color: var(--brand);
  font-family: Raleway, sans-serif;
  font-size: 18px;
  margin-right: 8px;
}
.lp-faq h3 {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.lp-faq h3:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.lp-final {
  background: var(--aurora);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
}
.lp-final strong {
  font-family: Nunito, Raleway, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.lp-footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 24px;
}
.lp-footer a {
  color: var(--muted);
}
.lp-legal a + a {
  margin-left: 20px;
}
@media (max-width: 767px) {
  .lp-main {
    padding: 16px 16px 48px;
  }
  .lp-hero {
    padding: 32px 20px;
  }
  .lp-hero-row {
    flex-direction: column;
    align-items: stretch;
  }
  .lp-hero h1 {
    font-size: 32px;
  }
  .lp-phone-hero {
    transform: none;
  }
  .lp-phone-hero img {
    width: 210px;
  }
  .lp-gallery .lp-phone img {
    width: 150px;
  }
  .lp-section {
    padding: 20px 20px;
  }
  .lp-about {
    flex-direction: column;
    align-items: stretch;
  }
  .lp-phone-about {
    display: none;
  }
  .lp-header {
    padding: 12px 16px;
  }
}
