:root {
  --ink: #111a24;
  --ink-2: #192838;
  --paper: #f4f1eb;
  --white: #ffffff;
  --orange: #e7622a;
  --orange-dark: #bd431a;
  --mint: #5fd1ae;
  --muted: #64717d;
  --line: #dce1e5;
  --max: 1120px;
  --text: 760px;
  --radius: 24px;
  --shadow: 0 22px 60px rgba(2, 10, 18, .14);
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.68;
}

a { color: inherit; }

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  color: var(--paper);
  background: rgba(17, 26, 36, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
}

.nav__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 900;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--ink);
  background: var(--orange);
  font-size: 18px;
}

.brand small {
  display: block;
  color: #a9b6c3;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 750;
}

.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--mint); }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn--main { color: #fff; background: var(--orange); box-shadow: 0 12px 34px rgba(231, 98, 42, .25); }
.btn--main:hover { background: var(--orange-dark); }
.btn--ghost { color: var(--ink); border-color: #aab4bd; background: rgba(255, 255, 255, .72); }
.btn--dark { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.btn--small { min-height: 42px; padding: 9px 15px; border-radius: 11px; font-size: 14px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 66px;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 22%, rgba(231, 98, 42, .24), transparent 24rem),
    linear-gradient(145deg, #111a24 0%, #14283a 65%, #101820 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.hero__inner {
  position: relative;
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 { max-width: 900px; font-size: clamp(40px, 6vw, 68px); }
h2 { margin-top: 54px; font-size: clamp(29px, 4vw, 42px); }
h3 { margin-top: 30px; font-size: 23px; }

.hero__lead {
  max-width: 760px;
  margin: 24px 0 28px;
  color: #cad4de;
  font-size: clamp(18px, 2vw, 21px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, var(--text)) 280px;
  gap: 50px;
  align-items: start;
  padding: 64px 0 84px;
}

.article {
  min-width: 0;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.article p, .article li { font-size: 18px; }
.article p { margin: 16px 0; }
.article ul, .article ol { padding-left: 25px; }
.article li + li { margin-top: 9px; }
.article a:not(.btn) { color: #a93d17; text-underline-offset: 3px; }

.lead-answer {
  margin: 0 0 34px;
  padding: 24px 26px;
  border-left: 5px solid var(--orange);
  border-radius: 0 18px 18px 0;
  background: #fff0e9;
}

.lead-answer p { margin: 0; }

.notice {
  margin: 28px 0;
  padding: 23px 25px;
  border-radius: 18px;
  color: #173d33;
  background: #e3f4ee;
}

.notice--warning {
  color: #5f3424;
  background: #f8e5dc;
}

.notice b { display: block; margin-bottom: 5px; }

.steps {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
  counter-reset: order;
}

.steps li {
  position: relative;
  min-height: 70px;
  padding: 18px 18px 18px 70px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fbfaf7;
  counter-increment: order;
}

.steps li::before {
  content: counter(order);
  position: absolute;
  left: 17px;
  top: 17px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
}

.check-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 16px;
}

.check-table th, .check-table td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.check-table th { background: #ece8e1; }

.aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.aside__card {
  padding: 23px;
  border-radius: 22px;
  color: var(--paper);
  background: var(--ink-2);
  box-shadow: var(--shadow);
}

.aside__card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.aside__card p, .aside__card li { color: #c4cfda; font-size: 15px; }
.aside__card ul { margin: 0; padding-left: 20px; }
.aside__card .btn { width: 100%; margin-top: 12px; }

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

.related a {
  min-width: 0;
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink) !important;
  background: #fbfaf7;
  font-weight: 800;
  text-decoration: none;
}

.related a:hover { border-color: var(--orange); }

.faq {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.faq details {
  padding: 3px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfaf7;
}

.faq summary {
  padding: 16px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
}

.faq details p { margin: 0 0 17px; color: var(--muted); }

.editorial {
  margin-top: 44px;
  padding-top: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.editorial p { font-size: 14px; }

.final-cta {
  margin-top: 42px;
  padding: 30px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #172b3e, #0d151d);
}

.final-cta h2 { margin: 0; font-size: 32px; }
.final-cta p { color: #c6d1db; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

footer {
  padding: 34px 0 105px;
  color: #a9b6c3;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.mobile-cta { display: none; }

@media (max-width: 940px) {
  .article-shell { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav__inner { min-height: 64px; }
  .nav__links a:not(.btn) { display: none; }
  .nav__links .btn { display: none; }
  .hero { padding: 46px 0 50px; }
  h1 { font-size: 42px; }
  .article-shell { padding: 32px 0 58px; }
  .article { padding: 24px; border-radius: 22px; }
  .article p, .article li { font-size: 17px; }
  .aside { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .check-table { font-size: 14px; }
  .check-table th, .check-table td { padding: 10px; }
  .hero__actions .btn, .final-cta__actions .btn { width: 100%; }
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(17, 26, 36, .96);
    border-top: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(12px);
  }
  .mobile-cta .btn { min-width: 0; padding-inline: 8px; font-size: 14px; }
}
