:root {
  --bg: #f6f6f8;
  --surface: #ffffff;
  --text: #1b1b1f;
  --muted: #5f6368;
  --border: #e2e2e8;
  --accent: #6d28d9;
  --accent-text: #ffffff;
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121216;
    --surface: #1c1c22;
    --text: #ececf1;
    --muted: #a1a1aa;
    --border: #2e2e36;
    --accent: #a78bfa;
    --accent-text: #121216;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
main { padding-top: 24px; padding-bottom: 48px; }
h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 12px; }
.lead { font-size: 18px; color: var(--muted); }

.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.logo { font-weight: 700; color: var(--text); text-decoration: none; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; padding: 16px 0 32px; }

.grid { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; }
.card a:hover { border-color: var(--accent); }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 339 / 180; object-fit: cover; }
.card-title { display: block; font-weight: 600; padding: 10px 12px 0; }
.card-meta { display: block; font-size: 14px; color: var(--muted); padding: 2px 12px 12px; }

.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.slot-hero { display: grid; gap: 20px; grid-template-columns: minmax(0, 339px) 1fr; align-items: center; }
.slot-hero img { width: 100%; height: auto; border-radius: var(--radius); }
.badges { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 2px 12px; font-size: 14px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-text); border: 0; border-radius: 10px; padding: 10px 18px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.notice { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); padding: 12px 16px; color: var(--muted); }

.demo-frame { position: relative; aspect-ratio: 16 / 9; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-frame p { margin: 0; color: var(--muted); font-size: 14px; }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--border); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { font-weight: 600; }
.specs th { width: 40%; color: var(--muted); font-weight: 500; }
.orig { color: var(--muted); font-size: 14px; }

.proscons { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 32px; }
.proscons > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 18px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 600; }

@media (max-width: 640px) {
  .slot-hero, .proscons { grid-template-columns: 1fr; }
}
