:root {
  --brand: #a855f7;
  --brand-dark: #7e22ce;
  --shade: #0a0612;
  --paper: #110a1c;
  --paper-soft: #1a1029;
  --rule: rgba(168,85,247,.18);
  --ink: #f0e9ff;
  --ink-soft: rgba(255,255,255,.6);
  --space: 80px;
  --corner: 14px;
  --glow: 0 0 32px rgba(168,85,247,.18);
  --type-head: 'Manrope', system-ui, -apple-system, sans-serif;
  --type-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --hue-shift: 20deg;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--type-body);
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--type-head);
  margin: 0 0 1rem 0;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .2s;
}

a:hover { color: var(--brand-dark); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.sec {
  padding: var(--space) 0;
}

.sec-dark { background: var(--shade); }
.sec-soft { background: var(--paper-soft); }

.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color .2s;
}

.nav-link:hover { color: var(--ink); }

.nav-link-cta {
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: var(--corner);
  font-size: 0.9rem;
}

.nav-link-cta:hover { background: var(--brand-dark); }

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-chips {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper-soft);
  padding: 0.75rem 1.25rem;
  border-radius: var(--corner);
  font-size: 0.9rem;
  color: var(--ink);
}

.rating { font-weight: 600; }
.rating-big { font-size: 1.5rem; font-weight: 700; margin: 1.5rem 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-num { font-size: 2.5rem; font-weight: 700; color: var(--brand); }
.stat-lbl { font-size: 0.9rem; color: var(--ink-soft); }

.tbl-cmp {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--corner);
  overflow: hidden;
}

.tbl-cmp thead {
  background: var(--shade);
  font-weight: 600;
}

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

.tbl-cmp tbody tr:last-child td { border-bottom: none; }

.tbl-name { color: var(--brand); font-weight: 600; position: relative; }

.tbl-badge {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  font-weight: 600;
}

.top-pick {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--corner);
  padding: 2rem;
  box-shadow: var(--glow);
}

.pick-bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.pick-bullets li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.proc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.proc-card {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--corner);
  padding: 1.5rem;
  box-shadow: var(--glow);
}

.proc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 1rem;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.guide-card {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--corner);
  padding: 1.5rem;
  box-shadow: var(--glow);
}

.guide-card h3 { margin-top: 0; }

.guide-card a { color: var(--brand); }

.qa-list { display: flex; flex-direction: column; gap: 1rem; }

.qa-item {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--corner);
  overflow: hidden;
}

.qa-q {
  padding: 1.25rem;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: var(--paper-soft);
  border: none;
  color: var(--ink);
  font-size: 1.1rem;
  width: 100%;
  text-align: left;
}

.qa-q:hover { background: var(--shade); }

.qa-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.qa-item.open .qa-a {
  max-height: 500px;
  padding: 1rem 1.25rem;
}

.qa-item.open .qa-q i {
  transform: rotate(180deg);
}

.edit-big {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--corner);
  padding: 2rem;
  box-shadow: var(--glow);
  margin: 2rem 0;
}

.edit-big h3 { margin-top: 0; color: var(--brand); }

.role { color: var(--ink-soft); font-style: italic; }

.foot {
  background: var(--shade);
  border-top: 1px solid var(--rule);
  margin-top: var(--space);
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: var(--space) 0;
}

.foot-col h4, .foot-col h5 { margin-top: 0; color: var(--ink); }

.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.foot-col li { margin: 0.5rem 0; }

.foot-col a { color: var(--ink-soft); }

.foot-col a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--corner);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}

.btn-acc {
  background: var(--brand);
  color: #fff;
}

.btn-acc:hover { background: var(--brand-dark); }

.btn-outline {
  border: 1px solid var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn-outline:hover { background: rgba(168,85,247,.1); }

.ck {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--corner);
  padding: 1.5rem;
  box-shadow: var(--glow);
  z-index: 999;
  max-width: 360px;
}

.ck-prefs { display: flex; flex-direction: column; gap: 0.75rem; margin: 1rem 0; }

.ck-row label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.ck-btns {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.ck-reopen {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--brand);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.inline-logo { width: 20px; height: 20px; margin-right: 0.25rem; vertical-align: middle; }

.breadcrumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.breadcrumb a { color: var(--brand); }

.spec-table { width: 100%; }
.spec-table td { padding: 0.75rem; border-bottom: 1px solid var(--rule); }
.spec-table td:first-child { font-weight: 600; width: 30%; }

.score-table { width: 100%; border-collapse: collapse; }
.score-table th { background: var(--shade); padding: 1rem; text-align: left; border: 1px solid var(--rule); }
.score-table td { padding: 1rem; border: 1px solid var(--rule); }

.pros-list, .cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros-list li, .cons-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.brand-hero {
  text-align: center;
  padding: 2rem;
}

.brand-hero-logo { width: 80px; height: 80px; margin-bottom: 1rem; }
.brand-hero-cap { font-size: 0.95rem; color: var(--ink-soft); }

.card {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--corner);
  padding: 1.5rem;
  box-shadow: var(--glow);
}

.card h3 { margin-top: 0; }

@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--shade); padding: 1rem; }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
  h1 { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .tbl-cmp { font-size: 0.9rem; }
  .tbl-cmp th, .tbl-cmp td { padding: 0.75rem; }
  .ck { max-width: calc(100vw - 40px); }
}
