:root {
  --bg: #080302;
  --bg2: #210806;
  --panel: #170807;
  --panel2: #30130d;
  --text: #fff0de;
  --muted: #e0bda2;
  --gold: #f5bc5e;
  --accent: #e14a35;
  --line: rgba(245,188,94,.30);
  --glow-a: rgba(225,74,53,.18);
  --glow-b: rgba(245,188,94,.16);
  --radius: 4px;
  --media-radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 18% 12%, var(--glow-a), transparent 30%),
    radial-gradient(circle at 86% 10%, var(--glow-b), transparent 28%),
    linear-gradient(145deg, var(--bg), var(--bg2));
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1220px, calc(100% - 34px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 3px solid var(--gold);
  background: color-mix(in srgb, var(--bg) 90%, black);
}
.brand { color: var(--gold); text-decoration: none; font-weight: 1000; line-height: .92; }
.brand span { display: block; font-size: clamp(22px, 3vw, 32px); }
.brand small { display: block; color: var(--text); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
nav { display: flex; align-items: center; gap: 20px; font-weight: 900; }
nav a { text-decoration: none; opacity: .92; }
nav a:hover { color: var(--gold); }
.menu { display: none; border: 1px solid var(--line); background: transparent; color: var(--text); padding: 10px 14px; border-radius: 8px; font-weight: 900; }
.top-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 1000;
}
.top-cta, .btn.ghost { color: var(--gold); border: 1px solid var(--gold); background: rgba(0,0,0,.22); }
.btn.primary {
  color: #100b03;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold), color-mix(in srgb, var(--accent) 45%, white));
  box-shadow: 0 22px 52px color-mix(in srgb, var(--gold) 24%, transparent);
}
main { width: min(1220px, calc(100% - 34px)); margin: 0 auto; }
.hero {
  min-height: 710px;
  padding: 58px 0;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: clamp(30px, 5vw, 66px);
}
.eyebrow { margin: 0 0 14px; color: var(--gold); font-weight: 1000; text-transform: uppercase; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 6.2vw, 86px); line-height: .98; margin-bottom: 24px; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.07; margin-bottom: 16px; }
h3 { font-size: 23px; line-height: 1.12; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; max-width: 760px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-media {
  display: block;
  padding: 10px;
  border-radius: var(--media-radius);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
  box-shadow: 0 30px 90px rgba(0,0,0,.48);
  overflow: hidden;
}
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--media-radius) - 10px); }
.hero-media.small { max-width: 460px; justify-self: end; }
.feature-panel, .scenario-panel, .content-block, .faq-preview {
  margin: 34px 0;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-left: 7px solid var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.018));
  box-shadow: 0 18px 55px rgba(0,0,0,.30);
}
.feature-panel { display: grid; grid-template-columns: .72fr 1.28fr; gap: 30px; align-items: center; }
.feature-panel p, .scenario-panel p, .content-block p, .module-card p, .article-grid p, details p { color: var(--muted); line-height: 1.72; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 34px 0; }
.module-card, .article-grid article {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 92%, black);
  box-shadow: 0 12px 38px rgba(0,0,0,.25);
}
.module-card span { color: var(--gold); font-weight: 1000; text-transform: uppercase; font-size: 13px; }
.module-card a { color: var(--gold); font-weight: 1000; text-decoration: none; }
.scenario-panel { display: grid; grid-template-columns: .86fr 1.14fr; gap: 30px; }
.scenario-panel ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.scenario-panel li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); background: rgba(0,0,0,.20); border-radius: calc(var(--radius) - 4px); }
.scenario-panel li b { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #130c02; background: var(--gold); }
.scenario-panel li span { color: var(--muted); line-height: 1.55; }
.faq-preview { display: grid; grid-template-columns: .65fr 1.35fr; gap: 28px; }
.faq-list { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: calc(var(--radius) - 2px); padding: 16px 18px; background: rgba(0,0,0,.18); }
summary { cursor: pointer; font-weight: 1000; color: var(--gold); }
details p { margin: 12px 0 0; }
.subhero { padding: 58px 0 28px; display: grid; grid-template-columns: 1fr 430px; gap: 42px; align-items: center; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.content-block.compact { margin-bottom: 70px; }
.footer {
  width: min(1220px, calc(100% - 34px));
  margin: 70px auto 0;
  padding: 30px 0 48px;
  border-top: 2px solid var(--gold);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}
.footer strong { color: var(--gold); }
.footer p { max-width: 680px; margin: 8px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; font-weight: 900; }
.footer-links a { color: var(--gold); text-decoration: none; }
.layout-luxe .hero { text-align: center; grid-template-columns: 1fr; }
.layout-luxe .hero-copy { margin: 0 auto; }
.layout-luxe .hero-media { max-width: 760px; justify-self: center; }
.layout-poster .hero-media { transform: rotate(.5deg); }
.layout-magazine .feature-panel { align-items: start; }
.layout-ticket .module-card { clip-path: polygon(0 0,100% 0,100% 42%,97% 50%,100% 58%,100% 100%,0 100%,0 58%,3% 50%,0 42%); }
.layout-terminal .module-card, .layout-terminal .article-grid article { font-family: Consolas, 'Courier New', monospace; }
.layout-clean .hero-media, .layout-clean .module-card { box-shadow: none; }
.layout-dashboard .module-card { border-top: 5px solid var(--gold); }
.layout-soft .module-card, .layout-soft .article-grid article { background: color-mix(in srgb, var(--panel2) 55%, var(--panel)); }
.layout-score .module-grid { transform: skewX(-1deg); }
@media (max-width: 960px) {
  .menu { display: inline-flex; }
  nav { display: none; position: absolute; left: 16px; right: 16px; top: 78px; padding: 18px; flex-direction: column; align-items: stretch; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
  nav.is-open { display: flex; }
  .topbar { flex-wrap: wrap; }
  .hero, .feature-panel, .scenario-panel, .faq-preview, .subhero { grid-template-columns: 1fr; }
  .module-grid, .article-grid { grid-template-columns: 1fr; }
  .hero-media.small { max-width: 560px; justify-self: start; }
  .hero { min-height: auto; padding-top: 34px; }
  h1 { font-size: clamp(38px, 12vw, 60px); }
}