:root {
    --navy: #0f1220;
    --navy-2: #171b2e;
    --ink: #1a1e2e;
    --ink-soft: #4a5163;
    --ink-dim: #8a91a3;
    --line: #e6e8ef;
    --bg: #ffffff;
    --bg-alt: #f5f6fa;
    --panel: #ffffff;
    --accent: #14b8a6;
    --teal: #14b8a6;
    --display: "Space Grotesk", system-ui, sans-serif;
    --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
    font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15,18,32,.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; font-family: var(--display); font-weight: 700; font-size: 19px; }
.brand-mark { font-size: 20px; }
.brand-accent { color: var(--teal); }
.top-nav { display: flex; gap: 22px; }
.top-nav a { color: #c7ccda; text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s; }
.top-nav a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 400px at 70% -10%, #1d2748 0%, var(--navy) 55%); color: #fff; padding: 62px 0 54px; text-align: center; }
.hero h1 { font-family: var(--display); font-size: clamp(32px, 5vw, 52px); font-weight: 700; margin: 0 0 16px; letter-spacing: -.02em; line-height: 1.05; }
.hero .hl { color: var(--teal); }
.hero-sub { max-width: 620px; margin: 0 auto 26px; color: #b8becd; font-size: 17px; }
.hero-jump { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero-jump a { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; padding: 8px 16px; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 14px; transition: background .15s; }
.hero-jump a:hover { background: rgba(255,255,255,.16); }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { margin: 0 0 26px; }
.section-head h2 { font-family: var(--display); font-size: 28px; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.section-head p { margin: 6px 0 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Console cards ---------- */
.con-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.con-card { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.con-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,18,32,.1); }
.cc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cc-brand { font-family: var(--display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.cc-type { font-size: 11px; color: var(--ink-dim); background: var(--bg-alt); padding: 2px 8px; border-radius: 20px; margin-left: auto; }
.cc-name { margin: 0 0 6px; font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.cc-name a { text-decoration: none; color: var(--ink); }
.cc-name a:hover { color: var(--accent); }
.cc-price { font-size: 15px; color: var(--ink-soft); margin-bottom: 10px; }
.cc-price b { color: var(--ink); font-size: 18px; }
.cc-tagline { margin: 0 0 12px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.cc-bestfor { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-soft); }
.cc-bestfor span { display: block; font-family: var(--display); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim); font-weight: 600; margin-bottom: 2px; }
.cc-specs { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line); }
.cc-specs li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink); display: flex; gap: 8px; }
.cc-specs li span { color: var(--ink-dim); min-width: 78px; font-weight: 500; }
.cc-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 14px; transition: filter .15s, background .15s, border-color .15s; text-align: center; }
.btn-buy { background: var(--accent); color: #fff; }
.btn-buy:hover { filter: brightness(1.07); }
.btn-buy.lg { padding: 13px 24px; font-size: 15px; }
.btn-more { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-more:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Compare table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.compare th { text-align: left; padding: 12px 14px; background: var(--bg-alt); font-family: var(--display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: middle; }
.compare tr:last-child td { border-bottom: 0; }
.ct-name { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 600; }
.ct-name:hover { color: var(--accent); }
.ct-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.ct-best { max-width: 340px; }
.ct-buy { color: var(--accent); text-decoration: none; font-weight: 600; white-space: nowrap; }
.ct-buy:hover { text-decoration: underline; }

/* ---------- Detail page ---------- */
.detail-hero { background: radial-gradient(1000px 340px at 78% -20%, #1d2748 0%, var(--navy) 60%); color: #fff; padding: 22px 0 40px; border-bottom: 4px solid var(--accent); }
.back { color: #b8becd; text-decoration: none; font-size: 14px; }
.back:hover { color: #fff; }
.dh-top { display: flex; align-items: center; gap: 10px; margin: 22px 0 8px; }
.dh-top .cc-brand { color: var(--accent); }
.dh-top .cc-type, .dh-top .cc-year { color: #b8becd; background: rgba(255,255,255,.08); }
.cc-year { font-size: 11px; padding: 2px 8px; border-radius: 20px; }
.detail-hero h1 { font-family: var(--display); font-size: clamp(28px, 4.5vw, 42px); font-weight: 700; margin: 0; letter-spacing: -.02em; }
.dh-tagline { color: #c7ccda; font-size: 17px; margin: 10px 0 22px; max-width: 640px; }
.dh-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dh-price { color: #fff; font-size: 16px; } .dh-price b { font-size: 24px; }

.detail-body { padding: 34px 20px 50px; }
.dh-bestfor { background: var(--bg-alt); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: 15.5px; color: var(--ink); margin: 0 0 30px; }
.dh-bestfor span { display: block; font-family: var(--display); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim); font-weight: 600; margin-bottom: 2px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.d-specs h2, .d-verdict h3 { font-family: var(--display); letter-spacing: -.01em; }
.d-specs h2 { font-size: 20px; margin: 0 0 12px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th { text-align: left; padding: 10px 0; width: 40%; color: var(--ink-dim); font-weight: 500; font-size: 13.5px; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table td { padding: 10px 0; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--line); }
.d-verdict { display: flex; flex-direction: column; gap: 18px; }
.d-verdict h3 { font-size: 16px; margin: 0 0 8px; }
.d-verdict ul { margin: 0; padding-left: 20px; }
.d-verdict li { margin-bottom: 6px; font-size: 14.5px; color: var(--ink-soft); }
.pros { background: #f0faf7; border: 1px solid #cdeee6; border-radius: 10px; padding: 16px 18px; }
.cons { background: #fdf3f3; border: 1px solid #f3d6d6; border-radius: 10px; padding: 16px 18px; }

.buy-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: 14px; padding: 22px 26px; margin: 34px 0; }
.buy-cta strong { display: block; font-family: var(--display); font-size: 18px; }
.buy-cta span { color: #b8becd; font-size: 14px; }

.related h2 { font-family: var(--display); font-size: 22px; margin: 0 0 16px; }
.con-grid.mini { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.rel-card { display: flex; flex-direction: column; gap: 3px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 10px; padding: 14px 16px; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.rel-card:hover { transform: translateY(-2px); }
.rc-name { font-family: var(--display); font-weight: 600; font-size: 15px; }
.rc-price { color: var(--ink-soft); font-size: 13px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b8becd; padding: 40px 0 24px; margin-top: 20px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-brand { font-family: var(--display); font-weight: 700; color: #fff; font-size: 17px; }
.footer-brand p { font-family: var(--sans); font-weight: 400; font-size: 14px; color: #9aa1b3; margin: 10px 0 0; max-width: 360px; }
.footer-disclosure strong { color: #fff; font-size: 14px; }
.footer-disclosure p { font-size: 13px; color: #9aa1b3; margin: 8px 0 0; }
.footer-legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: #7a8194; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
    .top-nav { display: none; }
    .detail-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
}
