:root {
  --void: #050302;
  --ember: #100703;
  --flame: #e85d04;
  --flame-hot: #ff6a00;
  --gold: #ffc857;
  --ink: #fff6ea;
  --muted: #c9a78e;
  --line: rgba(255, 120, 40, 0.2);
  --shell: 1120px;
  --pad-x: clamp(1.15rem, 4vw, 2rem);
  --nav-h: 4.25rem;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 55% 35% at 100% 0%, rgba(255, 90, 0, 0.16), transparent 55%),
    linear-gradient(180deg, #050302 0%, #0e0704 55%, #050302 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--flame-hot);
  outline-offset: 3px;
}

.shell {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.mark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1rem;
  color: var(--ink);
}

.mark span {
  color: var(--flame-hot);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 3, 2, 0.9);
  backdrop-filter: blur(14px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--shell), 100%);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--muted);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav__ghost,
.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.45rem 1rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav__ghost {
  color: var(--muted);
  border: 1px solid transparent;
}

.nav__ghost:hover {
  color: var(--ink);
  border-color: var(--line);
}

.nav__cta {
  color: #1a0900;
  background: var(--flame-hot);
  border: 1px solid var(--flame-hot);
}

.nav__cta:hover {
  background: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 720px) {
  .nav__links,
  .nav__ghost {
    display: none;
  }
}

.doc {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) var(--pad-x) 3.5rem;
}

.doc__crumb {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--muted);
}

.doc__crumb a {
  color: var(--flame-hot);
}

.doc__crumb a:hover {
  color: var(--ink);
}

.doc h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.doc__meta {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.doc__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.doc__nav a {
  color: #b8957e;
}

.doc__nav a.is-active,
.doc__nav a:hover {
  color: var(--flame-hot);
}

.doc h2 {
  margin: 1.85rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffe8d2;
}

.doc p,
.doc li {
  color: #e8d5c4;
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 500;
}

.doc p {
  margin: 0 0 0.85rem;
}

.doc ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}

.doc li + li {
  margin-top: 0.35rem;
}

.doc strong {
  color: var(--ink);
  font-weight: 700;
}

.doc a {
  color: var(--flame-hot);
  font-weight: 650;
}

.doc a:hover {
  color: var(--ink);
}

.doc__note {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.doc__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
}

.doc__table th,
.doc__table td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
  color: #e8d5c4;
}

.doc__table th {
  color: #ffe8d2;
  font-weight: 700;
  background: rgba(255, 106, 0, 0.08);
}

.doc__support {
  margin: 1.4rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 106, 0, 0.06);
}

.doc__support h2 {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #080402;
  margin-top: auto;
}

.site-footer__inner {
  padding-top: 2.4rem;
  padding-bottom: 2rem;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.site-footer__brand-block {
  max-width: 22rem;
}

.site-footer__brand-block .mark {
  font-size: 1.15rem;
}

.site-footer__text {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 600;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.3rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8d5c4;
}

.site-footer__nav a:hover {
  color: var(--flame-hot);
}

.site-footer__bottom {
  margin-top: 1.7rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.4rem;
}

.site-footer__copy {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: 0.86rem;
  font-weight: 650;
}

.site-footer__legal a {
  color: #b8957e;
}

.site-footer__legal a:hover {
  color: var(--flame-hot);
}
