:root {
  --bg-deep: #0a0e14;
  --bg-card: #121a24;
  --bg-elevated: #1a2633;
  --text: #e8eef4;
  --text-muted: #9aa8b8;
  --accent: #3dff6e;
  --accent-dim: #2bc955;
  --accent-glow: rgba(61, 255, 110, 0.25);
  --border: #2a3a4d;
  --danger: #ff4d6a;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Segoe UI", system-ui, sans-serif;
  --max-w: 52rem;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow), transparent),
    radial-gradient(circle at 100% 0%, rgba(45, 120, 255, 0.08), transparent 40%);
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-dim);
}

a.btn-play,
a.btn-play:visited,
a.btn-demo,
a.btn-demo:visited {
  text-decoration: none;
}

a.btn-play,
a.btn-play:visited,
a.btn-play:hover,
.toc a.btn-play,
.toc a.btn-play:hover,
.site-footer a.btn-play,
.site-footer a.btn-play:hover {
  color: var(--bg-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  height: 2.35rem;
  width: auto;
  max-width: min(42vw, 11rem);
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  border: none;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 24px var(--accent-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px var(--accent-glow);
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-demo:hover {
  color: var(--bg-deep);
  background: var(--accent);
  transform: translateY(-1px);
}

.hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0.75rem;
}

.hero-inner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr minmax(280px, 44%);
    gap: 1.75rem;
  }
}

.hero h1 {
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  line-height: 1.22;
  margin: 0 0 0.85rem;
  font-weight: 700;
}

.hero-usp {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.hero-usp li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-usp li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.hero-usp strong {
  color: var(--text);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0;
}

.hero-media .figure {
  margin: 0;
}

.hero-media .figure img {
  border-radius: var(--radius);
}

@media (max-width: 767px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
  }

  .hero-content {
    display: contents;
  }

  .hero h1 {
    order: 1;
  }

  .hero-cta {
    order: 2;
  }

  .hero-usp {
    order: 3;
    margin-bottom: 0.25rem;
  }

  .hero-media {
    order: 4;
  }
}

.toc-cta {
  margin-top: 1.25rem;
}

.intro-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.play-demo {
  margin: 0 0 2rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.play-demo h2 {
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  padding: 0;
  border: none;
  color: var(--text);
}

.play-demo .play-demo-note {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.demo-frame-wrap {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem;
}

.demo-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.play-demo-cta {
  text-align: center;
}

.toc-cta .btn-play {
  width: 100%;
}

.layout {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .layout {
    grid-template-columns: 1fr 16rem;
    align-items: start;
  }

  .toc {
    position: sticky;
    top: 5rem;
  }
}

.article {
  min-width: 0;
}

.article h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.article h2:first-of-type {
  border-top: none;
  margin-top: 0;
}

.article h3 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--accent-dim);
}

.article p {
  margin: 0 0 1rem;
  color: var(--text);
}

.article ul,
.article ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

.article li {
  margin-bottom: 0.4rem;
}

.article li p {
  margin: 0;
}

.figure {
  margin: 1.75rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.figure img {
  width: 100%;
}

.figure figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

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

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

th {
  background: var(--bg-elevated);
  font-weight: 600;
}

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

.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.toc h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.toc nav {
  font-size: 0.88rem;
  line-height: 1.5;
}

.toc a {
  display: block;
  padding: 0.35rem 0;
  color: var(--text-muted);
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent);
}

.pros-cons {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

@media (min-width: 600px) {
  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }
}

.pros-cons section {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.pros-cons h3 {
  margin-top: 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  margin-top: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.notice-responsible {
  padding: 1rem 1.15rem;
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer .btn-play {
  margin-top: 1rem;
}