@font-face {
  font-family: "Manrope";
  font-display: optional;
  src: url("/fonts/Manrope/Manrope-Cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-display: optional;
  src: url("/fonts/Manrope/Manrope-Latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Unbounded";
  font-display: optional;
  src: url("/fonts/Unbounded/Unbounded-Cyrillic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Unbounded";
  font-display: optional;
  src: url("/fonts/Unbounded/Unbounded-Latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --public-bg: #070a12;
  --public-surface: rgba(16, 24, 39, 0.86);
  --public-surface-strong: rgba(20, 30, 48, 0.96);
  --public-soft: rgba(255, 255, 255, 0.055);
  --public-line: rgba(255, 255, 255, 0.12);
  --public-text: #f6f8fb;
  --public-muted: #a8b3c7;
  --public-accent: #35a7ff;
  --public-accent-2: #8b5cf6;
  --public-good: #55d69e;
  --public-max: 1120px;
}

body.public-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--public-text);
  background:
    radial-gradient(circle at 50% -12%, rgba(53, 167, 255, 0.16), transparent 36%),
    radial-gradient(circle at 100% 22%, rgba(139, 92, 246, 0.09), transparent 30%),
    linear-gradient(160deg, #070a12 0%, #0a101a 52%, #060910 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.public-page *,
body.public-page *::before,
body.public-page *::after {
  box-sizing: border-box;
}

body.public-page a {
  color: #7dd3ff;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

body.public-page a:hover {
  text-decoration: underline;
}

body.public-page > .site-header {
  width: 100%;
  min-height: 0;
  margin: 0;
  display: block;
  border: 0;
  border-bottom: 1px solid var(--public-line);
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(22px);
}

.site-header__inner {
  width: min(var(--public-max), calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--public-text) !important;
  font-size: 18px;
  font-weight: 780;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-brand:hover {
  text-decoration: none !important;
}

.site-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
}

body.public-page .site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

body.public-page .site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  border: 1px solid var(--public-line);
  border-radius: 10px;
  color: var(--public-muted);
  background: var(--public-soft);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
}

body.public-page .site-nav a:hover,
body.public-page .site-nav a:focus-visible,
body.public-page .site-nav a[aria-current="page"] {
  border-color: rgba(53, 167, 255, 0.52);
  color: var(--public-text);
  background: rgba(53, 167, 255, 0.11);
  outline: 0;
  text-decoration: none;
}

body.public-page h1,
body.public-page h2,
body.public-page h3,
body.public-page .site-brand {
  font-family: "Unbounded", "Manrope", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

body.public-page > .public-main,
body.public-page > main.public-main {
  width: min(var(--public-max), calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 72px;
  flex: 1 0 auto;
}

body.public-page .hero {
  max-width: none;
  margin: 0 0 24px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--public-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 4%, rgba(53, 167, 255, 0.13), transparent 36%),
    linear-gradient(135deg, rgba(18, 27, 44, 0.97), rgba(9, 14, 24, 0.94));
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.26);
}

body.public-page .hero h1,
body.public-page .policy-hero h1 {
  margin: 8px 0 16px;
  color: var(--public-text);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

body.public-page .hero .lead,
body.public-page .hero > p,
body.public-page .policy-intro {
  max-width: 800px;
  margin: 0;
  color: var(--public-muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}

body.public-page .eyebrow,
body.public-page .page-kicker,
body.public-page .plan-label {
  color: var(--public-accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.public-page .panel,
body.public-page .plan,
body.public-page .details,
body.public-page .policy-card,
body.public-page .content,
body.public-page .toc,
body.public-page .metric-card,
body.public-page .tariff-section,
body.public-page .device-section {
  border-color: var(--public-line);
  border-radius: 18px;
  background: var(--public-surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

body.public-page .panel h2,
body.public-page .policy-card h2,
body.public-page .details h2 {
  color: var(--public-text);
  letter-spacing: -0.025em;
}

body.public-page .panel p,
body.public-page .panel li,
body.public-page .policy-card p,
body.public-page .policy-card li,
body.public-page .content p,
body.public-page .content li {
  color: var(--public-muted);
}

body.public-page .button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid var(--public-line);
  border-radius: 12px;
  color: var(--public-text);
  background: var(--public-soft);
  font-weight: 740;
}

body.public-page .button:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

body.public-page .button.primary {
  border-color: rgba(53, 167, 255, 0.48);
  color: var(--public-text);
  background: linear-gradient(135deg, rgba(53, 167, 255, 0.25), rgba(139, 92, 246, 0.2));
}

body.public-page > .site-footer {
  width: 100%;
  min-height: 0;
  margin: auto 0 0;
  display: block;
  border: 0;
  border-top: 1px solid var(--public-line);
  color: var(--public-muted);
  background: rgba(5, 8, 14, 0.72);
}

.site-footer__inner {
  width: min(var(--public-max), calc(100% - 40px));
  min-height: 116px;
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.7fr);
  align-items: center;
  gap: 24px;
}

.site-footer__identity {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--public-muted);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer__identity img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: contain;
}

body.public-page .site-footer__nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 16px;
}

body.public-page .site-footer__nav a {
  color: var(--public-muted);
  font-size: 12px;
  line-height: 1.4;
}

body.public-page .site-footer__nav a:hover,
body.public-page .site-footer__nav a:focus-visible {
  color: var(--public-text);
  outline: 0;
}

@media (max-width: 760px) {
  .site-header__inner {
    width: min(var(--public-max), calc(100% - 28px));
    min-height: 0;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-brand {
    font-size: 16px;
  }

  .site-brand img {
    width: 38px;
    height: 38px;
  }

  body.public-page .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  }

  body.public-page .site-nav a {
    padding-inline: 9px;
    text-align: center;
  }

  body.public-page > .public-main,
  body.public-page > main.public-main {
    width: min(var(--public-max), calc(100% - 28px));
    padding: 28px 0 52px;
  }

  body.public-page .hero {
    padding: 24px;
    border-radius: 18px;
  }

  body.public-page .hero h1,
  body.public-page .policy-hero h1 {
    font-size: clamp(34px, 11vw, 50px);
  }

  body.public-page .legal-hero h1 {
    font-size: clamp(24px, 7.2vw, 28px);
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .site-footer__inner {
    width: min(var(--public-max), calc(100% - 28px));
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.public-page .site-footer__nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.public-page *,
  body.public-page *::before,
  body.public-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
