/* NoScope — site styles */
:root {
  --red: #ed1c24;
  --red-dark: #c4121a;
  --ink: #15171c;
  --ink-2: #1d2027;
  --muted: #5b616e;
  --line: #e6e8ec;
  --soft: #f5f6f8;
  --bg: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 18, 25, .10);
  --display: 'Audiowide', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--red-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.eyebrow {
  font-family: var(--display);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .6rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: var(--ink);
  font-weight: 600; font-size: .92rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav-links a:hover { background: var(--soft); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--red-dark); }
.nav-links a.btn { color: #fff; padding: 8px 16px; margin-left: 8px; }
.nav-links a.btn:hover { background: var(--red-dark); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(237, 28, 36, .35); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-light { background: #fff; color: var(--red-dark); }
.badge-link img { display: block; height: 56px; width: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(237, 28, 36, .30), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(237, 28, 36, .14), transparent 60%),
    var(--ink);
  color: #fff;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding: 84px 0 92px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: .01em;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lede { font-size: 1.15rem; color: #cfd3db; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li {
  font-size: .85rem; font-weight: 600; color: #e7e9ee;
  padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
}
.hero-shot {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  background: #000;
}
.hero-shot img { display: block; width: 100%; }

/* page hero (inner pages) */
.page-hero {
  background: radial-gradient(800px 300px at 90% 0%, rgba(237, 28, 36, .28), transparent 60%), var(--ink);
  color: #fff; padding: 56px 0 52px;
}
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 .3em; }
.page-hero p { color: #cfd3db; margin: 0; max-width: 40em; font-size: 1.1rem; }

/* ---------- sections ---------- */
section { padding: 84px 0; }
section.alt { background: var(--soft); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 1px 2px rgba(15, 18, 25, .04);
}
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(237, 28, 36, .1); color: var(--red); margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.1rem; margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--display); font-size: 1.1rem; color: #fff; background: var(--red);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.split h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.split p { color: var(--muted); }

.game-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; list-style: none; }
.game-list li {
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 600; font-size: .95rem;
}

.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.cta {
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  color: #fff; text-align: center; padding: 72px 0;
}
.cta h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.cta p { opacity: .92; margin-bottom: 26px; }

/* ---------- prose / content pages ---------- */
.prose { padding: 64px 0 84px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.callout {
  background: var(--soft); border-left: 4px solid var(--red);
  border-radius: 8px; padding: 16px 20px; margin: 1.4em 0;
}
.warning { color: var(--red-dark); font-weight: 600; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel h2, .panel h3 { margin-top: 0; }
.keys { list-style: none; padding: 0 !important; margin: 0; }
.keys li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
.keys li:last-child { border: 0; }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; border: 2px solid rgba(0, 0, 0, .25); }
.dot.yellow { background: #ffe600; }
.dot.blue { background: #1f3bff; }
.dot.red { background: #ff1a1a; }
.dot.green { background: #14a05a; }
.dot.pad { background: conic-gradient(#999 0 25%, #ccc 0 50%, #999 0 75%, #ccc 0); }
.figure { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); margin: 20px 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary {
  cursor: pointer; font-weight: 600; padding: 16px 52px 16px 20px; position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--red); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: '\2212'; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { padding: 16px 20px 4px; margin: 0 0 12px; color: var(--muted); }

/* models */
.models > h2 { grid-column: 1 / -1; margin-bottom: 0; }
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 18px; }
.grp { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.grp h3 { margin: 0 0 8px; font-size: 1rem; color: var(--red-dark); }
.grp ul { list-style: none; padding: 0 !important; margin: 0; font-size: .92rem; color: var(--ink-2); }
.grp li { padding: 3px 0; margin: 0; border-bottom: 1px dashed var(--line); }
.grp li:last-child { border: 0; }
.grp li a { font-weight: 600; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; display: block; border-radius: 12px; border: 1px solid var(--line); cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
.gallery img:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; }
.compare-title { margin: 56px 0 18px; font-size: 1.4rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.pair figure { margin: 0; text-align: center; }
.pair img { width: 100%; border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in; display: block; }
.pair figcaption { font-size: .85rem; font-weight: 600; color: var(--muted); margin-top: 6px; }
.pair figure.with figcaption { color: var(--red-dark); }

.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.videos h3 { font-size: 1rem; margin: 12px 0 0; }
.videos .featured { grid-column: 1 / -1; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(8, 9, 12, .92); align-items: center; justify-content: center; flex-direction: column; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; }
.lightbox p { color: #d6d9e0; margin: 14px 0 0; text-align: center; }
.lightbox button {
  position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #aab0bc; padding: 56px 0 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: #d6d9e0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .fine { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 22px; font-size: .8rem; color: #8a909c; }
.site-footer .fine p { margin: 0 0 6px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { padding: 56px 0 64px; }
  .hero-shot { transform: none; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 0; }
}
@media (max-width: 640px) {
  .nav { flex-wrap: wrap; gap: 4px 12px; padding: 8px 0; }
  .brand img { height: 44px; }
  .nav-links { margin-left: 0; width: 100%; }
  .nav-links a.btn { display: none; }
  .cards, .steps, .footer-grid, .pair { grid-template-columns: 1fr; }
  .gallery, .videos { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
