:root {
  color-scheme: dark;
  --bg: #030509;
  --bg-soft: #080b10;
  --surface: #0d1117;
  --surface-raised: #11151b;
  --surface-soft: #0a0e14;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.11);
  --title: #d2d6dc;
  --heading: #c7cdd5;
  --text: #929ba9;
  --muted: #6f7987;
  --blue: #477acb;
  --violet: #7665c5;
  --magenta: #a15991;
  --brand-gradient: linear-gradient(100deg, var(--blue) 0%, var(--violet) 58%, var(--magenta) 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 48% at 50% -10%, rgba(74, 86, 112, 0.18), transparent 67%),
    radial-gradient(ellipse 50% 38% at 100% 42%, rgba(73, 83, 102, 0.1), transparent 72%),
    linear-gradient(180deg, #030509 0%, #070a0f 48%, #05080c 100%);
  pointer-events: none;
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 62%, rgba(255, 255, 255, 0.018) 62.1% 62.25%, transparent 62.35%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.12) 0.7px, transparent 0.8px);
  background-size: auto, 38px 38px;
  opacity: 0.18;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 36%, transparent 0%, rgba(3, 5, 9, 0.12) 55%, rgba(3, 5, 9, 0.72) 100%);
}

.aurora-layer {
  position: fixed;
  inset: 0;
  z-index: -9;
  overflow: hidden;
  pointer-events: none;
}

.aurora-layer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(780px, 82vw);
  height: 1px;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  box-shadow:
    0 0 18px rgba(76, 112, 203, 0.32),
    0 0 34px rgba(118, 101, 197, 0.18);
  opacity: 0.88;
}

.aurora-layer::after {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: min(780px, 90vw);
  height: 360px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(80, 95, 138, 0.12), transparent 68%);
  filter: blur(54px);
}

a {
  color: #9da8c5;
  text-decoration-color: rgba(118, 101, 197, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

a:hover {
  color: #d2d6dc;
  text-decoration-color: rgba(161, 89, 145, 0.9);
}

a:focus-visible {
  outline: 2px solid rgba(92, 126, 208, 0.9);
  outline-offset: 4px;
  border-radius: 5px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding:
    max(26px, env(safe-area-inset-top))
    max(22px, env(safe-area-inset-right))
    max(74px, env(safe-area-inset-bottom))
    max(22px, env(safe-area-inset-left));
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  margin-bottom: 28px;
  padding: 0 4px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e0e3e8;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-decoration: none;
}

.logo-box {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
}

.logo-box img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: saturate(0.72) brightness(0.92);
}

.home-link {
  position: relative;
  z-index: 0;
  white-space: nowrap;
  padding: 11px 18px;
  border: 0;
  border-radius: 13px;
  background: #0c1016;
  color: #b9bec7;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.home-link::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: var(--brand-gradient);
  opacity: 0.72;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.home-link:hover {
  color: #e0e3e8;
  background: #11161e;
}

.card {
  position: relative;
  min-width: 0;
  padding: clamp(26px, 5vw, 50px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(22px, 4vw, 30px);
  background:
    radial-gradient(ellipse 58% 26% at 70% 0%, rgba(78, 91, 117, 0.08), transparent 74%),
    linear-gradient(155deg, rgba(17, 21, 28, 0.98), rgba(10, 14, 20, 0.99));
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.028);
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(28px, 8vw, 94px);
  width: min(520px, 64%);
  height: 2px;
  background: var(--brand-gradient);
  box-shadow: 0 0 20px rgba(93, 99, 204, 0.32);
}

.card::after {
  content: "";
  position: absolute;
  top: -130px;
  right: -110px;
  width: 360px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 96, 142, 0.08), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: #818c9b;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li,
dd,
dt,
span,
strong {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 850px;
  margin: 0 0 14px;
  color: var(--title);
  font-size: clamp(32px, 6.4vw, 48px);
  font-weight: 710;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 42px 0 13px;
  color: var(--heading);
  font-size: clamp(20px, 3.8vw, 25px);
  font-weight: 690;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h2::before {
  content: "";
  flex: 0 0 3px;
  width: 3px;
  height: 1.15em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--violet) 58%, var(--magenta));
  box-shadow: 0 0 10px rgba(104, 97, 194, 0.24);
}

h3 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 17px;
  font-weight: 690;
}

p,
li,
dd {
  color: var(--text);
  line-height: 1.72;
}

p {
  margin: 12px 0;
}

strong {
  color: #b9c0ca;
  font-weight: 690;
}

ul,
ol {
  margin: 12px 0;
  padding-left: 1.4rem;
}

li + li {
  margin-top: 7px;
}

li::marker {
  color: #7771bd;
}

.lead {
  max-width: 780px;
  color: #a4acb8;
  font-size: 17px;
  line-height: 1.65;
}

.review-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin: 10px 0 28px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #858f9d;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-note::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 10px rgba(107, 98, 198, 0.58);
}

.notice {
  position: relative;
  margin: 20px 0;
  padding: 17px 19px 17px 21px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0d1219;
}

.notice::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--violet), var(--magenta));
}

.notice p {
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 18px;
}

.panel,
.tariff,
.data-card {
  position: relative;
  min-width: 0;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(17, 22, 29, 0.96), rgba(10, 14, 20, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.panel::before,
.tariff::before,
.data-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 78px;
  height: 1px;
  background: var(--brand-gradient);
  opacity: 0.78;
}

.tariff:hover,
.data-card:hover {
  border-color: rgba(126, 125, 157, 0.2);
  background: linear-gradient(145deg, rgba(19, 24, 32, 0.98), rgba(11, 15, 21, 0.98));
  transform: translateY(-1px);
}

.tariff .price {
  margin: 11px 0 0;
  color: #bfc5ce;
  font-weight: 730;
}

.tariff .price span {
  display: block;
  margin-top: 6px;
}

.meta-list {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr);
  gap: 10px 18px;
  margin: 18px 0 0;
}

.meta-list dt {
  color: var(--muted);
  font-weight: 690;
}

.meta-list dd {
  min-width: 0;
  margin: 0;
}

.footer {
  position: relative;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 70%);
  height: 1px;
  background: var(--brand-gradient);
  opacity: 0.62;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
}

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

@media (max-width: 680px) {
  .wrap {
    padding-top: max(18px, env(safe-area-inset-top));
    padding-right: max(13px, env(safe-area-inset-right));
    padding-left: max(13px, env(safe-area-inset-left));
  }

  .header {
    min-height: 46px;
    margin-bottom: 20px;
  }

  .card {
    border-radius: 22px;
  }

  .card::before {
    left: 26px;
    width: 54%;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .meta-list {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .meta-list dd + dt {
    margin-top: 10px;
  }

  .lead {
    font-size: 16px;
  }

  h2 {
    margin-top: 36px;
  }
}

@media (max-width: 390px) {
  .card {
    padding: 24px 18px;
  }

  .logo {
    gap: 8px;
    letter-spacing: 0.16em;
  }

  .logo-box {
    width: 34px;
    height: 34px;
  }

  .logo-box img {
    width: 27px;
    height: 27px;
  }

  .home-link {
    padding: 10px 13px;
    font-size: 12px;
  }

  .review-note {
    align-items: flex-start;
    border-radius: 14px;
    line-height: 1.35;
  }

  .review-note::before {
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
