:root {
  --bg: #0a0d16;
  --bg2: #0d1120;
  --surface: #121828;
  --surface2: #161d33;
  --ink: #eef1f8;
  --muted: #9aa3b8;
  --faint: #6b7490;
  --line: rgba(255,255,255,.09);
  --accent: #818cf8;
  --accent2: #22d3ee;
  --grad: linear-gradient(135deg, #818cf8, #22d3ee);
  --radius: 16px;
  --max: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #0a0d16;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; color: #0a0d16;
}
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 700px) { .nav { display: none; } }

/* hero */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 70px;
  background:
    radial-gradient(800px 400px at 15% -80px, rgba(129,140,248,.16), transparent 60%),
    radial-gradient(700px 380px at 85% 0px, rgba(34,211,238,.10), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.badge {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent2); border: 1px solid rgba(34,211,238,.35); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 20px; background: rgba(34,211,238,.07);
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.12; letter-spacing: -.032em; margin: 0 0 20px; font-weight: 800; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18.5px; color: var(--muted); margin: 0 0 30px; max-width: 560px; }
.btn {
  display: inline-block; background: var(--grad); color: #0a0d16 !important;
  padding: 13px 28px; border-radius: 12px; font-weight: 800; font-size: 16px;
  box-shadow: 0 8px 30px rgba(129,140,248,.35);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); box-shadow: none; margin-left: 12px; }
.btn.ghost:hover { border-color: rgba(255,255,255,.25); }
.hero .meta { margin-top: 24px; font-size: 13.5px; color: var(--faint); }

/* terminal mockup */
.terminal {
  background: #0d1222; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(129,140,248,.08);
  overflow: hidden; font-size: 14px;
}
.term-bar { display: flex; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.term-body { padding: 20px 22px 24px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; line-height: 1.9; }
.term-body .p { color: var(--accent2); }
.term-body .c { color: var(--faint); }
.term-body .ok { color: #4ade80; }
.term-body .dim { color: var(--muted); }

/* sections */
section.block { padding: 64px 0; }
section.block.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); margin-bottom: 12px; }
h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.025em; margin: 0 0 14px; font-weight: 800; }
.section-sub { color: var(--muted); max-width: 780px; margin: 0 0 34px; font-size: 17px; }
h3 { font-size: 20px; margin: 28px 0 10px; letter-spacing: -.01em; }

/* table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); background: rgba(255,255,255,.02); }
table.compare tr:last-child td { border-bottom: none; }
table.compare tr:hover td { background: rgba(129,140,248,.05); }
table.compare td:first-child { font-weight: 700; white-space: nowrap; }
table.compare a { font-weight: 600; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; background: rgba(129,140,248,.14); color: #b9c0ff; border: 1px solid rgba(129,140,248,.25); border-radius: 999px; padding: 2px 10px; margin: 1px 2px; white-space: nowrap; }
.tag.green { background: rgba(74,222,128,.1); color: #86efac; border-color: rgba(74,222,128,.25); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; margin-top: 8px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: var(--surface); display: flex; flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(129,140,248,.4); box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.card:hover a.go { text-decoration: none; }
.card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.avatar {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 19px; color: #fff;
}
.card h3 { margin: 0; font-size: 18.5px; }
.card .kicker { font-size: 13px; color: var(--faint); font-weight: 600; }
.card p { font-size: 15px; color: var(--muted); margin: 0 0 16px; flex: 1; }
.card ul { margin: 0 0 18px; padding-left: 20px; font-size: 14.5px; color: #c9cfdf; }
.card ul li { margin-bottom: 6px; }
.card ul li::marker { color: var(--accent2); }
.card .go { font-weight: 700; font-size: 15px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 10px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step .n { font-size: 13px; font-weight: 800; letter-spacing: .08em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 8px 0 8px; font-size: 17px; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* faq */
details.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 12px; }
details.faq summary { cursor: pointer; padding: 19px 24px; font-weight: 700; font-size: 16.5px; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--accent2); font-size: 22px; line-height: 1.1; font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq .a { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* pros cons */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
@media (max-width: 640px) { .pc { grid-template-columns: 1fr; } }
.pc .pros, .pc .cons { border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line); }
.pc .pros { background: rgba(74,222,128,.05); }
.pc .cons { background: rgba(248,113,113,.05); }
.pc h4 { margin: 0 0 12px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.pc .pros h4 { color: #86efac; } .pc .cons h4 { color: #fca5a5; }
.pc ul { margin: 0; padding-left: 20px; font-size: 15px; color: #c9cfdf; }
.pc li { margin-bottom: 7px; }

/* fact box */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 26px 0; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.fact .k { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 700; }
.fact .v { font-size: 15.5px; font-weight: 700; margin-top: 3px; }

/* note / cta */
.note { background: rgba(129,140,248,.08); border: 1px solid rgba(129,140,248,.25); border-radius: 12px; padding: 16px 22px; font-size: 14.5px; color: #c3c9fb; margin-top: 28px; }
.cta-box {
  background: var(--grad); border-radius: 20px; padding: 44px 40px; text-align: center; margin-top: 40px;
  color: #0a0d16;
}
.cta-box h2 { color: #0a0d16; margin-bottom: 10px; }
.cta-box p { color: rgba(10,13,22,.75); margin: 0 0 24px; font-size: 17px; }
.cta-box .btn { background: #0a0d16; color: #fff !important; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.breadcrumb { font-size: 14px; color: var(--faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.page-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: radial-gradient(700px 300px at 20% -60px, rgba(129,140,248,.14), transparent 60%); }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -.03em; margin: 0 0 14px; font-weight: 800; }
.page-hero .lede { color: var(--muted); font-size: 18px; max-width: 760px; margin: 0; }
.article { max-width: 800px; }
.article p, .article li { color: #c9cfdf; }
.article p.lead2 { font-size: 18.5px; color: var(--ink); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--faint); font-size: 14px; background: var(--bg2); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer strong { color: var(--ink); }
.updated { font-size: 13.5px; color: var(--faint); }

/* logos */
.avatar-img {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: #1c2338; object-fit: contain; padding: 7px;
  border: 1px solid var(--line);
}
.avatar-img.lg { width: 56px; height: 56px; border-radius: 15px; }

/* search + filters */
.searchbar {
  display: flex; gap: 12px; margin: 6px 0 18px; flex-wrap: wrap;
}
.searchbar input {
  flex: 1; min-width: 220px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 18px; font-size: 16px; color: var(--ink); outline: none;
}
.searchbar input:focus { border-color: var(--accent); }
.searchbar input::placeholder { color: var(--faint); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all .15s ease;
}
.chip:hover { border-color: rgba(129,140,248,.5); color: var(--ink); }
.chip.on { background: var(--grad); color: #0a0d16; border-color: transparent; }
.count-note { font-size: 14px; color: var(--faint); margin: 14px 0 4px; }
.card.hide { display: none; }
.cat-block.hide { display: none; }
.card .meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

/* compare page */
.compare-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 30px; }
@media (max-width: 700px) { .compare-pick { grid-template-columns: 1fr; } }
.compare-pick select {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; font-size: 15px; color: var(--ink); width: 100%;
}
.compare-table td:first-child { color: var(--faint); font-weight: 700; width: 170px; white-space: normal; }
.compare-table td { vertical-align: top; }
.compare-logo { width: 40px; height: 40px; border-radius: 11px; background: #1c2338; padding: 6px; object-fit: contain; border: 1px solid var(--line); vertical-align: middle; margin-right: 10px; }

/* news */
.news-list { display: grid; gap: 14px; margin-top: 6px; }
.news-item {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px;
  background: var(--surface); transition: border-color .15s ease;
}
.news-item:hover { border-color: rgba(129,140,248,.4); }
.news-item .date { font-size: 13px; color: var(--faint); font-weight: 700; letter-spacing: .04em; }
.news-item h3 { margin: 6px 0 6px; font-size: 17px; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--accent2); text-decoration: none; }
.news-item p { margin: 0; font-size: 14.5px; color: var(--muted); }
.news-item .src { font-size: 13px; color: var(--faint); margin-top: 8px; }

/* pricing on cards */
.price-line { font-size: 13.5px; font-weight: 700; color: var(--accent2); margin: 2px 0 10px; letter-spacing: .01em; }
