:root {
  --bg: #07070a;
  --bg-2: #0e0e13;
  --surface: #14141c;
  --surface-2: #1c1c27;
  --ink: #f6f0e4;
  --muted: #a59c8c;
  --gold: #e8b423;
  --gold-2: #f6d56b;
  --gold-dim: rgba(232, 180, 35, 0.14);
  --line: rgba(232, 180, 35, 0.2);
  --red: #c7142e;
  --red-hover: #a10f24;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --header: 72px;
  --max: 1080px;
  --copy: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(232, 180, 35, 0.08), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-2);
  text-underline-offset: 3px;
}

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

h1,
h2,
h3 {
  font-family: Cinzel, Georgia, serif;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.display-name {
  margin: 0 0 0.35rem;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 0.95;
  color: var(--gold-2);
}

h1 {
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  margin: 0 0 0.7rem;
}

h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  margin: 2.4rem 0 0.8rem;
  scroll-margin-top: calc(var(--header) + 16px);
}

p {
  margin: 0 0 1rem;
  color: #d8d0c3;
}

code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.05em 0.4em;
  color: var(--gold-2);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 80;
  background: var(--gold);
  color: #111;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}

.skip:focus {
  left: 8px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 10, 0.88);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand img {
  height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold-2);
  background: var(--gold-dim);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--gold-2);
  border-radius: 12px;
  cursor: pointer;
}

.banner {
  background: #000;
  border-bottom: 1px solid var(--line);
}

.banner img {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.cta-bar {
  padding: 22px 0 8px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(640px, calc(100% - 32px));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

a.btn-login,
a.btn-login:hover {
  background: linear-gradient(180deg, #e1263d, var(--red));
  color: #fff;
  box-shadow: 0 8px 24px rgba(199, 20, 46, 0.35);
}

a.btn-download,
a.btn-download:hover {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #16120a;
  box-shadow: 0 8px 24px rgba(232, 180, 35, 0.28);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: min(720px, calc(100% - 32px));
  margin: 18px auto 8px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  padding: 12px 8px;
}

.stat small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat b,
.stat time {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--gold-2);
}

.article {
  padding: 36px 0 72px;
}

.kicker {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 28px;
}

.toc p {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--ink);
}

.toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  color: var(--muted);
}

.steps {
  margin: 0 0 1.2rem;
  padding-left: 20px;
}

.steps li {
  margin-bottom: 12px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 0 1.2rem;
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--surface-2);
  color: var(--gold-2);
}

td {
  color: #d8d0c3;
}

tr:last-child td {
  border-bottom: 0;
}

.cards {
  display: grid;
  gap: 12px;
  margin: 0 0 1.4rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 8px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

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

.note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 2rem;
}

.crumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.crumb a {
  color: var(--muted);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--gold-2);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 28px 16px 36px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 10px 0 14px;
}

.site-footer nav a {
  color: var(--muted);
  font-weight: 600;
}

.site-footer nav a:hover {
  color: var(--gold-2);
}

@media (max-width: 760px) {
  .brand img {
    height: 40px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(7, 7, 10, 0.97);
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .nav {
    display: flex;
  }

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

  .cta-grid {
    gap: 10px;
  }

  .btn {
    font-size: 0.82rem;
    min-height: 50px;
  }
}
