:root {
  --bg: #08090c;
  --surface: #11141a;
  --surface-2: #171b23;
  --text: #f3f5f7;
  --muted: #aab2bf;
  --line: #2a303b;
  --red: #e53935;
  --red-2: #ff6b5f;
  --amber: #f5b942;
  --blue: #79a8ff;
  --green: #47d18c;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(0,0,0,.38);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif; color: var(--text); background: radial-gradient(circle at 20% 0%, rgba(229,57,53,.18), transparent 32rem), linear-gradient(180deg, #090a0e 0%, #0d1016 45%, #08090c 100%); line-height: 1.65; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #111; padding: 8px 12px; z-index: 99; }
.skip-link:focus { left: 8px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8,9,12,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-shell { min-height: 68px; display: flex; align-items: center; gap: 18px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: 0; }
.brand span { white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { text-decoration: none; color: var(--muted); padding: 8px 10px; border-radius: var(--radius); font-weight: 700; font-size: .95rem; }
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(229,57,53,.16); }
.menu-button, .search-button, button, .button { border: 0; border-radius: var(--radius); font-weight: 800; cursor: pointer; }
.menu-button { display: none; margin-left: auto; background: var(--surface-2); color: var(--text); padding: 8px 10px; }
.search-button { background: var(--amber); color: #14100a; padding: 8px 12px; }
.search-panel { border-top: 1px solid var(--line); padding: 14px 0 18px; }
.search-box input { width: 100%; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #0c0f14; color: var(--text); font-size: 1rem; }
.search-results { display: grid; gap: 8px; margin-top: 10px; }
.search-results a { padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.hero { border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgba(229,57,53,.2), rgba(121,168,255,.07)); }
.hero-inner { padding: 76px 0 56px; max-width: 900px; }
.eyebrow, .section-kicker { color: var(--amber); text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; font-weight: 900; }
h1 { font-size: clamp(2.4rem, 5vw, 5.2rem); line-height: 1; margin: 12px 0 18px; letter-spacing: 0; }
h2 { font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.2; margin: 0 0 14px; letter-spacing: 0; }
h3 { margin: 0 0 8px; }
p { color: var(--muted); margin: 0 0 14px; }
.hero p { font-size: 1.15rem; max-width: 780px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 11px 14px; min-height: 42px; }
.primary { background: var(--red); color: white; }
.secondary { background: var(--amber); color: #14100a; }
.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.adsterra-native-slot { padding: 18px 0 0; background: rgba(8, 9, 12, .92); }
.adsterra-native-inner { min-height: 120px; display: grid; align-items: center; background: rgba(17,20,26,.84); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ad-label { padding: 8px 12px 0; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
#container-9fcf5772db8c376d173dcf01a34f2873 { min-height: 96px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; padding: 28px 0 56px; align-items: start; }
.content-card, .rail-card { background: rgba(17,20,26,.84); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.content-card { padding: clamp(18px, 3vw, 34px); }
.section-block { margin-bottom: 34px; }
.section-block:last-child { margin-bottom: 0; }
.side-rail { position: sticky; top: 92px; display: grid; gap: 16px; }
.rail-card { padding: 18px; }
.rail-card a, .site-footer a { display: block; color: var(--muted); text-decoration: none; margin: 8px 0; }
.rail-card a:hover, .site-footer a:hover { color: var(--text); }
.warning { border-color: rgba(245,185,66,.45); }
.code-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.code-card, .feature-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; min-height: 118px; }
.code-card.high { border-color: rgba(71,209,140,.55); }
.copy-code { width: 100%; background: #0b0e13; color: var(--amber); border: 1px solid var(--line); padding: 10px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.05rem; }
.code-card span, .code-card small { display: block; margin-top: 8px; color: var(--muted); }
.feature-card p { margin-bottom: 0; }
.strategy-list, .timeline { display: grid; gap: 12px; }
.strategy-list div, .timeline div, details { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.strategy-list span, .timeline span { display: block; color: var(--muted); margin-top: 4px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--surface-2); }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--amber); font-size: .86rem; text-transform: uppercase; letter-spacing: .06em; }
.steps { padding-left: 22px; color: var(--muted); }
.steps li { margin: 8px 0; }
.video-shell { aspect-ratio: 16 / 9; width: 100%; background: #050608; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-shell iframe { width: 100%; height: 100%; border: 0; }
details summary { cursor: pointer; font-weight: 800; }
details + details { margin-top: 10px; }
.tool-panel { border: 1px solid rgba(229,57,53,.4); border-radius: var(--radius); padding: 18px; background: rgba(229,57,53,.08); }
.tool-form { display: grid; gap: 12px; }
.tool-form label { display: grid; gap: 6px; color: var(--muted); font-weight: 700; }
.tool-form input, .tool-form select { width: 100%; padding: 11px; border-radius: var(--radius); border: 1px solid var(--line); background: #090c11; color: var(--text); }
.tool-output, .timer-box { margin-top: 14px; padding: 16px; border-radius: var(--radius); background: #090c11; border: 1px solid var(--line); color: var(--text); font-weight: 800; }
.timer-box { min-height: 88px; display: grid; place-items: center; font-size: 1.7rem; color: var(--amber); }
.site-footer { background: #07080b; border-top: 1px solid var(--line); padding: 38px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.footer-grid h2 { font-size: 1rem; }
.footer-bottom { color: var(--muted); font-size: .9rem; padding-top: 22px; }
@media (max-width: 900px) {
  .menu-button { display: inline-flex; }
  .search-button { margin-left: 0; }
  .nav-shell { flex-wrap: wrap; padding: 10px 0; }
  .nav-links { display: none; width: 100%; margin-left: 0; flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px; }
  .page-grid { grid-template-columns: 1fr; }
  .side-rail { position: static; }
  .code-grid, .feature-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 22px, 1160px); }
  .hero-inner { padding: 52px 0 38px; }
  .hero-actions .button { width: 100%; }
  .brand span { font-size: .92rem; }
}
