@font-face {
  font-family: "Onest";
  src: url("fonts/onest-cyrillic-wght-normal.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin-wght-normal.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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;
  --bg: #061119;
  --surface: #0a1924;
  --surface-2: #102434;
  --line: rgba(162, 195, 216, 0.2);
  --line-strong: rgba(176, 213, 234, 0.34);
  --text: #f2f7fa;
  --muted: #a8bdcc;
  --teal: #00dfa2;
  --teal-ink: #05231c;
  --blue: #0093e7;
  --max: 1120px;
}

html {
  background: var(--bg);
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 10%, rgba(75, 139, 177, 0.12), transparent 30rem),
    radial-gradient(circle at 10% 42%, rgba(0, 223, 162, 0.05), transparent 34rem),
    var(--bg);
  font-family: "Onest", "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(rgba(6, 17, 25, 0.84), rgba(6, 17, 25, 0.96)), url("bg-aurora.webp") 72% top / min(92vw, 1400px) auto no-repeat;
  content: "";
  pointer-events: none;
}

::selection {
  color: var(--teal-ink);
  background: var(--teal);
}

a {
  color: #72e7c5;
}

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

.site-header {
  position: sticky;
  top: 0;
  padding-top: 14px;
  background: linear-gradient(var(--bg) 0%, rgba(6, 17, 25, 0.88) 72%, transparent 100%);
  border: 0;
  backdrop-filter: none;
}

.header-inner {
  width: min(calc(100% - 32px), 1180px);
  min-height: 64px;
  margin-inline: auto;
  padding: 9px 14px;
  background: rgba(5, 17, 25, 0.82);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 18px 70px rgba(0, 7, 12, 0.34);
  backdrop-filter: blur(20px) saturate(140%);
}

.brand,
.nav a {
  color: var(--text);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.nav a {
  color: var(--muted);
  font-weight: 700;
}

.nav a:hover {
  color: var(--text);
}

.breadcrumbs {
  padding-top: 2.6rem;
}

.breadcrumbs a {
  color: #72e7c5;
}

.hero {
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(4.5rem, 8vw, 7rem);
}

.eyebrow {
  display: none;
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: -0.04em;
}

h1 {
  max-width: 18ch;
  margin: 0 0 1.5rem;
  font-size: clamp(2.8rem, 6vw, 5.35rem);
  line-height: 0.98;
}

h2 {
  max-width: 20ch;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.03;
}

.lead {
  max-width: 48rem;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.3rem);
}

.review {
  color: #8299aa;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-color: var(--line);
}

.section-intro,
.card p,
details p {
  color: var(--muted);
}

.grid,
.grid.three {
  gap: 1rem;
}

.card {
  padding: 1.4rem;
  background: linear-gradient(145deg, rgba(16, 36, 52, 0.88), rgba(7, 22, 32, 0.72));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.callout,
.warning {
  color: var(--text);
  background: rgba(10, 25, 36, 0.9);
  border: 1px solid rgba(0, 223, 162, 0.38);
  border-radius: 16px;
}

.warning {
  border-color: rgba(255, 222, 0, 0.32);
}

.steps li {
  min-height: 92px;
  background: rgba(10, 25, 36, 0.82);
  border-color: var(--line);
  border-radius: 16px;
}

.steps li::before {
  color: var(--teal-ink);
  background: var(--teal);
}

.table-wrap,
details {
  background: rgba(10, 25, 36, 0.86);
  border-color: var(--line);
}

table {
  background: transparent;
}

th {
  color: #72e7c5;
}

.button {
  color: var(--teal-ink);
  background: var(--teal);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 223, 162, 0.12);
}

.button:hover {
  color: var(--teal-ink);
  background: #35e9b8;
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px);
}

.button.secondary {
  color: var(--text);
  background: rgba(16, 36, 52, 0.7);
  border-color: var(--line-strong);
  box-shadow: none;
}

.site-footer {
  color: var(--muted);
  background: #030a10;
  border-color: var(--line);
}

.site-footer a {
  color: rgba(242, 247, 250, 0.82);
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * {
    animation: content-rise 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero > :nth-child(2) {
    animation-delay: 80ms;
  }

  .hero > :nth-child(3) {
    animation-delay: 140ms;
  }
}

@keyframes content-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 8px;
  }

  .header-inner {
    min-height: auto;
    padding-block: 12px;
  }

  .nav {
    width: 100%;
    padding-top: 2px;
  }

  .hero {
    padding-top: 3.5rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .header-inner,
  .card,
  .callout,
  .warning,
  details {
    background: var(--surface);
    backdrop-filter: none;
  }
}
