:root {
  --navy: #0d1b2a;
  --navy2: #13263a;
  --yellow: #ffcc00;
  --yellow-soft: #fff6cc;
  --bg: #f5f7fa;
  --text: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --shadow: 0 14px 38px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 28px 80px rgba(13, 27, 42, 0.16);
  --radius: 22px;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--yellow);
  color: #111;
  border-radius: 12px;
  font-weight: 900;
}
.skip:focus {
  left: 12px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.05;
  font-size: 13px;
}
.logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--yellow);
  box-shadow: var(--shadow);
}
.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
}
.menu a:hover {
  background: var(--yellow-soft);
}
.menu .contact {
  background: var(--yellow);
  color: #111;
  box-shadow: 0 10px 24px rgba(255, 204, 0, 0.25);
}
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  color: var(--navy);
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 66px;
  background:
    radial-gradient(
      circle at 88% 16%,
      rgba(255, 204, 0, 0.25),
      transparent 28%
    ),
    linear-gradient(135deg, #071421 0%, var(--navy) 58%, var(--navy2) 100%);
  color: #fff;
}
.breadcrumbs {
  padding-bottom: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumbs a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.7fr);
  gap: 44px;
  align-items: center;
}
.badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.14);
  border: 1px solid rgba(255, 204, 0, 0.32);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero h1 {
  margin: 18px 0;
  font-size: clamp(40px, 5.6vw, 66px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.lead {
  margin: 0;
  max-width: 820px;
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}
.meta span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.hero-card {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}
.hero-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 24px;
}
.hero-card p,
.hero-card li {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}
.hero-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}
.btn--yellow {
  background: var(--yellow);
  color: #111 !important;
}
.btn--dark {
  background: var(--navy);
  color: #fff !important;
}
.btn--light {
  background: #fff;
  color: var(--navy) !important;
}
.hero__cta,
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.section {
  padding: 68px 0;
  background: linear-gradient(180deg, #fff 0%, #fff 56%, var(--bg) 100%);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.article-content {
  min-width: 0;
}
.article-content section,
.side-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.article-content section {
  padding: 30px;
  margin-bottom: 24px;
}
.article-content h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.article-content h3 {
  margin: 24px 0 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.3;
}
.article-content p,
.article-content li {
  font-size: 17px;
  line-height: 1.78;
  color: #334155;
}
.article-content p {
  margin: 0 0 14px;
}
.article-content ul,
.article-content ol {
  margin: 12px 0 0;
  padding-left: 22px;
}
.article-content a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 204, 0, 0.75);
  text-underline-offset: 4px;
}
.note,
.warning {
  padding: 18px 20px;
  border-radius: 18px;
  margin: 20px 0;
}
.note {
  background: var(--yellow-soft);
  border: 1px solid rgba(255, 204, 0, 0.48);
}
.warning {
  background: #fff1f2;
  border: 1px solid #fecdd3;
}
.note p,
.warning p {
  margin: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.card {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 18px;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
  color: #334155;
}
th {
  background: #f8fafc;
  color: var(--navy);
  font-weight: 900;
}
tr:last-child td {
  border-bottom: 0;
}
.steps {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.step__no {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: var(--yellow);
  font-weight: 900;
}
.step h3 {
  margin: 0 0 5px;
  font-size: 19px;
}
.step p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 11px 0;
}
.faq summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.45;
}
.faq details p {
  margin: 12px 0 0;
}
.cta-box {
  padding: 30px !important;
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(255, 204, 0, 0.26),
      transparent 30%
    ),
    linear-gradient(135deg, #071421, var(--navy2)) !important;
  color: #fff;
}
.article-content .cta-box h2 {
  color: #fff;
}
.article-content .cta-box p {
  color: rgba(255, 255, 255, 0.78);
}
.related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.related a {
  display: block;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
}
.related span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.author {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 17px;
  align-items: center;
}
.author img {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  object-fit: cover;
}
.author h2 {
  margin-bottom: 7px;
}
.author p {
  margin: 0;
  font-size: 15px;
}
.sidebar {
  position: sticky;
  top: 98px;
}
.side-card {
  padding: 21px;
  margin-bottom: 17px;
}
.side-card h2,
.side-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 19px;
}
.side-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}
.toc {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc li + li {
  margin-top: 6px;
}
.toc a {
  display: block;
  padding: 8px 9px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}
.toc a:hover {
  background: var(--yellow-soft);
  color: var(--navy);
}
.side-card--dark {
  background: var(--navy);
  border-color: var(--navy);
}
.side-card--dark h3 {
  color: #fff;
}
.side-card--dark p {
  color: rgba(255, 255, 255, 0.74);
}
.footer {
  background: #071421;
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 30px;
}
.footer h4 {
  margin: 0 0 12px;
  color: #fff;
}
.footer p,
.footer li {
  line-height: 1.7;
  font-size: 14px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 28px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.56);
}
.cookie {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: none;
}
.cookie__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-radius: 18px;
  background: rgba(7, 20, 33, 0.97);
  color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}
.cookie p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
.cookie a {
  color: var(--yellow);
}
.cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .hero__grid,
  .article-layout,
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    order: -1;
  }
}
@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--max));
  }
  .hamburger {
    display: inline-grid;
    place-items: center;
  }
  .menu {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-lg);
  }
  .menu.active,
  .menu.is-open {
    display: flex;
  }
  .menu a {
    display: block;
  }
  .hero {
    padding: 52px 0;
  }
  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }
  .lead {
    font-size: 18px;
  }
  .grid,
  .related {
    grid-template-columns: 1fr;
  }
  .article-content section {
    padding: 22px;
  }
  .step {
    grid-template-columns: 1fr;
  }
  .author {
    grid-template-columns: 1fr;
  }
  .cookie__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie__actions,
  .cookie__actions .btn {
    width: 100%;
  }
}
