:root {
  color-scheme: dark;
  --bg: #090909;
  --surface: #111113;
  --surface-2: #18181b;
  --text: #f5f3ed;
  --muted: #aaa8a0;
  --line: #2b2a26;
  --gold: #e5b94d;
  --gold-2: #ffdc79;
  --gold-ink: #1d1605;
  --shadow: 0 18px 50px rgba(0, 0, 0, .25);
  --radius: 18px;
  --shell: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f6ef;
  --surface: #fff;
  --surface-2: #f1eee4;
  --text: #17140d;
  --muted: #625e53;
  --line: #ddd6c6;
  --shadow: 0 18px 50px rgba(62, 48, 15, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.7; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 10px 14px; background: var(--gold); color: var(--gold-ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 720; letter-spacing: -.02em; }
.brand b { color: var(--gold); }
.brand-logo { flex: 0 0 auto; width: 42px; height: 42px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.main-nav a:hover { color: var(--text); }
.mobile-nav-link { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-button, .menu-button { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; }
.theme-button { width: 40px; height: 40px; }
.menu-button { display: none; padding: 8px 12px; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); color: var(--text); font-weight: 750; line-height: 1.2; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); border-color: var(--gold); }
.button-gold { border-color: var(--gold); background: linear-gradient(135deg, var(--gold-2), #c38a1b); color: var(--gold-ink); box-shadow: 0 10px 28px rgba(197, 142, 28, .16); }
.button-small { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 25px; }
.text-link { color: var(--gold-2); font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.breadcrumbs { padding-block: 18px 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line); }
.breadcrumbs a { text-decoration: none; }

.hero { position: relative; overflow: hidden; padding: clamp(55px, 8vw, 100px) 0 65px; }
.hero::before { content: ""; position: absolute; inset: -20% auto auto 55%; width: 500px; height: 500px; border-radius: 50%; background: rgba(215, 161, 37, .1); filter: blur(90px); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr); align-items: center; gap: 60px; }
.hero-grid:has(.product-figure:empty), .hero-grid:not(:has(.product-figure)) { grid-template-columns: minmax(0, 800px); }
.eyebrow { margin: 0 0 13px; color: var(--gold); font-size: 12px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: ui-sans-serif, system-ui, sans-serif; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 950px; margin-bottom: 22px; font-size: clamp(2.5rem, 6vw, 5.1rem); }
h2 { margin-bottom: 18px; font-size: clamp(1.75rem, 3vw, 2.65rem); }
h3 { font-size: 1.23rem; }
.lede { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.27rem); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.product-figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.product-figure img { aspect-ratio: 16/10; width: 100%; object-fit: cover; object-position: top; }
.product-figure figcaption { padding: 12px 15px; color: var(--muted); font-size: 12px; }

.content-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: space-between; gap: 70px; padding-block: 40px 90px; }
.toc { position: sticky; top: 98px; align-self: start; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 14px; }
.toc strong { display: block; margin-bottom: 10px; }
.toc ol { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: var(--muted); }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--gold); }
.article-body { min-width: 0; }
.content-section { padding-block: 35px; border-top: 1px solid var(--line); }
.content-section:first-child { border-top: 0; }
.content-section p { color: var(--muted); }
.content-section p + p { margin-top: 16px; }
.check-list, .step-list { display: grid; gap: 11px; margin: 24px 0; padding-left: 23px; }
.check-list li::marker, .step-list li::marker { color: var(--gold); font-weight: 800; }
.table-scroll { margin-top: 26px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 14px; }
caption { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); text-align: left; font-weight: 650; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { color: var(--gold-2); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
tbody tr:last-child > * { border-bottom: 0; }
.page-facts h2 { font-size: 1.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.topic-card { display: flex; min-height: 260px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.topic-card > span, .related a > span { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.topic-card h3 { margin: 10px 0 8px; }
.topic-card h3 a { text-decoration: none; }
.topic-card p { font-size: 14px; }
.topic-card .text-link { margin-top: auto; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 20px 0 35px; padding: 24px; border: 1px solid #6e5420; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 13%, var(--surface)), var(--surface)); }
.inline-cta strong { font-size: 1.15rem; }
.inline-cta p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.inline-cta .cta-row { margin: 0; white-space: nowrap; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 17px 0; cursor: pointer; font-weight: 750; }
.faq details p { margin: 0 0 18px; }

.related { padding: 80px 0; background: var(--surface); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related a { display: flex; min-height: 200px; flex-direction: column; gap: 10px; padding: 23px; border: 1px solid var(--line); border-radius: 15px; background: var(--bg); text-decoration: none; }
.related a:hover { border-color: var(--gold); }
.related small { color: var(--muted); }
.lead-section { padding: 90px 0; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 70px; }
.lead-grid > div > p:not(.eyebrow) { color: var(--muted); }
.lead-form { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.lead-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.lead-form input, .lead-form select { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--text); }
.lead-form .consent { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-weight: 500; }
.lead-form .consent input { width: 18px; min-height: 18px; margin-top: 3px; }
.site-footer { padding: 55px 0 20px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-grid p { max-width: 430px; color: var(--muted); }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-grid nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (max-width: 900px) {
  .nav-actions .theme-button, .nav-actions .button { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .main-nav { position: absolute; inset: 72px 20px auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
  .main-nav[data-open] { display: flex; }
  .main-nav a { padding: 11px; }
  .main-nav .mobile-nav-link { display: block; }
  .main-nav .mobile-nav-cta { margin-top: 6px; border: 1px solid var(--gold); border-radius: 9px; background: var(--gold); color: var(--gold-ink); text-align: center; }
  .hero-grid, .lead-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 35px; }
  .content-layout { grid-template-columns: 1fr; gap: 25px; }
  .toc { position: static; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  h1 { font-size: 2.5rem; }
  .hero { padding-top: 45px; }
  .card-grid { grid-template-columns: 1fr; }
  .inline-cta { align-items: flex-start; flex-direction: column; }
  .inline-cta .cta-row { align-items: flex-start; flex-direction: column; }
  .footer-grid, .footer-bottom { flex-direction: column; }
  .lead-form { padding: 20px; }
}
