/* Legal pages (/privacy, /terms): lit-navy reading layout, same palette as the homepages. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  min-height: 100vh;
  background-color: #12264f;
  color: rgba(255,255,255,.86);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px; font-weight: 400; line-height: 1.7;
}
/* fixed light pool behind the logo (a pseudo-element, since background-attachment:fixed is unreliable on phones) */
body::before {
  content: ''; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 120px 40px, #23498f 0%, #12264f 45%, #0c1a38 100%);
}

.lg-top, .lg-doc, .lg-foot { max-width: 760px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }

.lg-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.lg-logo { width: 150px; height: auto; display: block; }
.lg-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.lg-nav a {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28); color: #fff;
  font-size: 14px; font-weight: 500; line-height: 1.4; text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.lg-nav a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.lg-nav a[aria-current="page"] { background: #fff; color: #12264f; border-color: #fff; }

.lg-doc { padding-top: 12px; padding-bottom: 40px; }
.lg-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #8fbcff; }
.lg-doc h1 { margin: 0; font-size: clamp(28px, 6vw, 38px); font-weight: 700; line-height: 1.2; color: #fff; }
.lg-date { margin: 10px 0 32px; font-size: 14px; color: rgba(255,255,255,.62); }
.lg-lead { font-size: 17px; color: rgba(255,255,255,.92); }

/* kicker row with the EN / RU / UA switch (English is the main version) */
.lg-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 6px; }
.lg-head .lg-kicker { margin: 0; }
.lg-lang { display: flex; gap: 4px; }
.lg-doc .lg-lang a {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: .04em;
  color: rgba(255,255,255,.72); text-decoration: none; border: 1px solid transparent;
}
.lg-doc .lg-lang a:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.lg-doc .lg-lang a[aria-current="page"] { color: #12264f; background: #fff; }

/* translated pages: points back to the English original */
.lg-note {
  margin: -12px 0 28px; padding: 10px 14px; border-left: 3px solid #8fbcff; border-radius: 0 10px 10px 0;
  background: rgba(143,188,255,.08); font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.8);
}

.lg-doc h2 {
  margin: 40px 0 12px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 21px; font-weight: 500; line-height: 1.35; color: #fff;
}
.lg-doc p { margin: 0 0 14px; }
.lg-doc strong { color: #fff; font-weight: 500; }

/* SMS section: the part carriers review, kept easy to find */
.lg-panel {
  margin: 0 0 8px; padding: 22px 24px 10px; border-radius: 14px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(143,188,255,.28);
}
.lg-panel h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.lg-terms { list-style: none; margin: 0; padding: 0; }
.lg-terms li { margin: 0 0 14px; }

.lg-address { font-style: normal; }

.lg-doc a, .lg-foot a { color: #8fbcff; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.lg-doc a:hover, .lg-foot a:hover { color: #fff; }
a:focus-visible { outline: none; border-radius: 4px; box-shadow: 0 0 0 2px #12264f, 0 0 0 4px #8fbcff; }
.lg-nav a:focus-visible { border-radius: 999px; }

.lg-foot {
  padding-top: 24px; padding-bottom: 40px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.62);
}

@media (max-width: 480px) {
  body { font-size: 15.5px; }
  .lg-top, .lg-doc, .lg-foot { padding-left: 18px; padding-right: 18px; }
  .lg-top { padding-top: 20px; padding-bottom: 20px; }
  .lg-logo { width: 130px; }
  .lg-nav a { padding: 6px 13px; font-size: 13px; }
  .lg-panel { padding: 18px 16px 6px; }
}
@media (prefers-reduced-motion: reduce) { .lg-nav a { transition: none; } }

@media print {
  body { background: #fff; color: #000; }
  body::before, .lg-nav, .lg-lang, .lg-foot { display: none; }
  .lg-logo { filter: invert(1); }
  .lg-doc h1, .lg-doc h2, .lg-doc strong, .lg-lead { color: #000; }
  .lg-kicker, .lg-date { color: #333; }
  .lg-doc a { color: #000; }
  .lg-panel { background: none; border-color: #999; }
}
