/* iUchen — design system */
:root {
  --ink: #0b1220;
  --ink-2: #111a2c;
  --brand: #2e6bff;
  --brand-2: #0ea5e9;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --card: #ffffff;
  --text: #101828;
  --muted: #5b6472;
  --muted-2: #8a94a6;
  --border: #e7eaf0;
  --border-2: #d7dce6;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow-md: 0 6px 18px -6px rgba(16, 24, 40, .14);
  --shadow-lg: 0 18px 40px -12px rgba(16, 24, 40, .28);
  --radius: 12px;
  --radius-sm: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --maxw: 1200px;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; font-weight: 800; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Utility bar ---------- */
.utilbar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: 13px;
}
.utilbar .container { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.utilbar a { color: #cbd5e1; text-decoration: none; }
.utilbar a:hover { color: #fff; }
.utilbar .left { display: flex; gap: 18px; align-items: center; }
.utilbar .right { display: flex; gap: 18px; align-items: center; }
.utilbar .pulse { display:inline-block; width:7px; height:7px; border-radius:50%; background:#34d399; margin-right:6px; vertical-align:1px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.brand img { height: 30px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  color: var(--text); font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 8px;
  white-space: nowrap; text-decoration: none;
}
.main-nav a:hover { background: var(--bg-soft); text-decoration: none; color: var(--brand); }
.main-nav a.active { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.icon-btn {
  border: 1px solid var(--border); background: #fff; border-radius: 50%; width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text);
}
.icon-btn:hover { background: var(--bg-soft); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 14px; line-height: 1; border-radius: 10px; padding: 11px 18px;
  cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #1f56d6; text-decoration: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); text-decoration: none; }
.btn-outline { border-color: var(--border-2); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.hamburger { display: none; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; background: rgba(11,18,32,.55); backdrop-filter: blur(3px);
  z-index: 200; display: none; align-items: flex-start; justify-content: center; padding: 12vh 20px;
}
.search-overlay.open { display: flex; }
.search-box {
  width: 100%; max-width: 640px; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.search-box .row { display: flex; align-items: center; padding: 8px 8px 8px 20px; gap: 12px; border-bottom: 1px solid var(--border); }
.search-box input { flex: 1; border: none; outline: none; font-size: 18px; padding: 10px 0; font-family: var(--font); }
.search-results { max-height: 60vh; overflow-y: auto; padding: 8px; }
.search-results .res {
  display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--text);
}
.search-results .res:hover { background: var(--bg-soft); text-decoration: none; }
.search-results .res img { width: 72px; height: 48px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.search-results .res b { display: block; font-size: 14px; margin-bottom: 2px; }
.search-results .res span { font-size: 12px; color: var(--muted); }
.search-empty { padding: 28px; text-align: center; color: var(--muted); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 85vw;
  background: #fff; z-index: 300; box-shadow: var(--shadow-lg); transform: translateX(-105%);
  transition: transform .25s ease; padding: 20px; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mobile-nav a.mlink { display: block; padding: 12px 4px; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--border); text-decoration: none; }
.mobile-nav a.mlink:hover { color: var(--brand); }
.scrim { position: fixed; inset: 0; background: rgba(11,18,32,.5); z-index: 250; display: none; }
.scrim.open { display: block; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 12px; }
.hero-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; }
.hero-main { position: relative; border-radius: 16px; overflow: hidden; min-height: 380px; display: flex; }
.hero-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-main .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,0) 30%, rgba(11,18,32,.85) 100%); }
.hero-main .content { position: relative; margin-top: auto; padding: 28px; color: #fff; z-index: 2; }
.hero-main .content h2 { color: #fff; font-size: 30px; margin: 8px 0 6px; }
.hero-main .content p { color: #dbe2ee; margin: 0; font-size: 15px; }
.hero-side { display: grid; gap: 14px; }
.hero-side .mini {
  display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.hero-side .mini img { width: 120px; height: 100%; object-fit: cover; min-height: 82px; }
.hero-side .mini .t { padding: 10px 14px 10px 0; }
.hero-side .mini .t h3 { font-size: 15px; margin: 4px 0 2px; line-height: 1.3; }

/* ---------- Tags & meta ---------- */
.tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 6px; color: #fff; text-decoration: none;
}
.tag:hover { text-decoration: none; filter: brightness(.92); }
.byline { font-size: 13px; color: var(--muted); }
.byline a { color: var(--muted); font-weight: 600; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Sections / grids ---------- */
.section { padding: 22px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.section-head h2 { font-size: 22px; margin: 0; color: var(--ink); }
.section-head a { font-size: 14px; font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid.tri { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease; text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .body h3 { font-size: 17px; margin: 0; line-height: 1.3; }
.card .body h3 a { color: inherit; text-decoration: none; }
.card .body h3 a:hover { color: var(--brand); }
.card .excerpt { font-size: 14px; color: var(--muted); margin: 0; }
.card .meta { margin-top: auto; font-size: 12.5px; color: var(--muted-2); display: flex; gap: 8px; align-items: center; }
.dot { color: var(--border-2); }

/* ---------- Ticker / topic strip ---------- */
.topics { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.topics .container { display: flex; gap: 6px; overflow-x: auto; padding: 10px 20px; scrollbar-width: none; }
.topics::-webkit-scrollbar { display: none; }
.topics a { font-size: 13px; font-weight: 600; color: var(--muted); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); white-space: nowrap; text-decoration: none; }
.topics a:hover { color: #fff; background: var(--brand); border-color: var(--brand); text-decoration: none; }

/* ---------- Newsletter ---------- */
.newsletter { background: linear-gradient(120deg, #0b1220, #152342); color: #fff; padding: 44px 0; }
.newsletter .inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.newsletter h2 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.newsletter p { color: #cbd5e1; margin: 0; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input {
  flex: 1; padding: 13px 16px; border-radius: 10px; border: 1px solid #2c3a58; background: #14203a; color: #fff; font-size: 15px; outline: none;
}
.newsletter input::placeholder { color: #8796b3; }
.newsletter .form-msg { margin-top: 10px; font-size: 13px; color: #86efac; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa7bd; padding: 54px 0 30px; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.site-footer a { color: #9aa7bd; text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .about p { line-height: 1.7; color: #8b98ad; }
.site-footer .legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid #1d2940; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer .legal span { color: #6b7890; }

/* ---------- Article page ---------- */
.article { padding: 26px 0 40px; }
.article-head { max-width: 800px; margin: 0 auto 24px; }
.article-head .breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.article-head .breadcrumb a { color: var(--muted); }
.article-head h1 { font-size: 40px; line-height: 1.15; margin: 10px 0 16px; }
.article-head .dek { font-size: 18px; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; max-width: var(--maxw); margin: 0 auto; }
.article-body { max-width: 760px; }
.hero-fig { margin: 0 0 24px; }
.hero-fig img { border-radius: 16px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero-fig figcaption { font-size: 12.5px; color: var(--muted-2); margin-top: 8px; }
.article-body h2 { font-size: 26px; margin: 34px 0 12px; padding-top: 6px; }
.article-body h3 { font-size: 19px; margin: 24px 0 10px; }
.article-body p { font-size: 17px; line-height: 1.75; color: #2a3343; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 1.2em; }
.article-body li { font-size: 17px; line-height: 1.7; margin-bottom: 8px; color: #2a3343; }
.article-body li::marker { color: var(--brand); }
.disclosure {
  background: #fffaf0; border: 1px solid #fde7c4; border-left: 4px solid var(--accent);
  padding: 12px 16px; border-radius: 8px; font-size: 13.5px; color: #7c5a1e; margin: 18px 0 8px;
}
.disclosure a { color: var(--accent-dark); font-weight: 700; }
blockquote { margin: 24px 0; padding: 6px 0 6px 20px; border-left: 4px solid var(--brand); font-size: 20px; line-height: 1.5; color: var(--ink); font-style: italic; }

/* product picks */
.picks { display: grid; gap: 16px; margin: 20px 0; }
.pick {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: #fff;
}
.pick .rank { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.pick .info h4 { margin: 0 0 4px; font-size: 17px; }
.pick .info .brand { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .5px; }
.pick .info p { font-size: 14.5px; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }
.pick .cta { text-align: right; }
.pick .price { font-size: 12px; color: var(--muted-2); margin-bottom: 6px; }
.pick .cta .btn { white-space: nowrap; }

/* pros/cons, verdict */
.panel { border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin: 20px 0; }
.verdict { background: var(--bg-soft); border: 1px solid var(--border); border-left: 5px solid var(--brand); }
.verdict h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .5px; color: var(--brand); margin-bottom: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two-col .pro h4 { color: var(--brand); display: flex; gap: 6px; align-items: center; }
.two-col .con h4 { color: #dc2626; display: flex; gap: 6px; align-items: center; }
.two-col ul { list-style: none; padding: 0; }
.two-col li { font-size: 14.5px; padding-left: 20px; position: relative; line-height: 1.5; margin-bottom: 8px; }
.two-col .pro li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.two-col .con li::before { content: "✕"; position: absolute; left: 0; color: #dc2626; font-weight: 700; }

/* FAQ */
.faq { margin: 10px 0 24px; }
.faq .q { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.faq .q button {
  width: 100%; text-align: left; background: #fff; border: none; padding: 16px 18px; font-size: 16px; font-weight: 700;
  color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--font);
}
.faq .q button .chev { transition: transform .2s; color: var(--muted); }
.faq .q.open button .chev { transform: rotate(180deg); }
.faq .q .a { display: none; padding: 0 18px 16px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq .q.open .a { display: block; }

/* author box */
.author-box { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin: 30px 0; }
.author-box .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 19px; flex: 0 0 auto; }
.author-box h4 { margin: 0 0 4px; font-size: 16px; }
.author-box p { font-size: 14px; color: var(--muted); margin: 0; }

/* sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; }
.sidebar .widget { border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin-bottom: 20px; }
.sidebar .widget h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 14px; color: var(--muted); }
.sidebar .widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar .widget li { margin-bottom: 12px; }
.sidebar .widget li a { font-size: 14.5px; font-weight: 600; color: var(--text); text-decoration: none; line-height: 1.4; display: block; }
.sidebar .widget li a:hover { color: var(--brand); }
.sidebar .widget li .meta { font-size: 12px; color: var(--muted-2); }
.deal-widget { background: linear-gradient(140deg, #fff7ed, #ffedd5); border-color: #fed7aa !important; }

/* breadcrumb & category page */
.cat-header { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 30px 0; }
.cat-header h1 { font-size: 32px; margin: 6px 0 8px; }
.cat-header p { color: var(--muted); max-width: 720px; margin: 0; font-size: 16px; }

/* pagination-ish "view all" */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 34px 0 10px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border); color: var(--text); font-weight: 600; text-decoration: none; }
.pagination .cur { background: var(--brand); color: #fff; border-color: var(--brand); }

/* static / trust pages */
.static { max-width: 780px; margin: 0 auto; padding: 30px 20px 60px; }
.static h1 { font-size: 34px; margin-bottom: 20px; }
.static h2 { font-size: 22px; margin-top: 30px; }
.static p, .static li { font-size: 16.5px; color: #2a3343; }
.static .updated { color: var(--muted-2); font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
.contact-grid .form-group { margin-bottom: 16px; }
.contact-grid label { font-weight: 700; font-size: 14px; display: block; margin-bottom: 6px; }
.contact-grid input, .contact-grid textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border-2); border-radius: 10px; font-size: 15px; font-family: var(--font); outline: none;
}
.contact-grid input:focus, .contact-grid textarea:focus { border-color: var(--brand); }
.contact-grid textarea { min-height: 120px; resize: vertical; }
.form-success { display: none; background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; padding: 14px 16px; border-radius: 10px; margin-top: 14px; }
.form-success.show { display: block; }

/* cookie notice */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 400; background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(16,24,40,.16); padding: 18px 0; display: none;
}
.cookie-banner .container { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: 14px; color: var(--muted); flex: 1 1 400px; }
.cookie-banner .actions { display: flex; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .newsletter .inner { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .hamburger { display: inline-flex; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr; }
  .article-head h1 { font-size: 30px; }
  .pick { grid-template-columns: 1fr; text-align: left; }
  .pick .cta { text-align: left; }
  .two-col { grid-template-columns: 1fr; }
  .utilbar .right .hide-sm { display: none; }
  .newsletter form { flex-direction: column; }
  .cookie-banner .container { flex-direction: column; align-items: flex-start; }
  .site-footer .cols { grid-template-columns: 1fr; }
}

/* misc */
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 8px 14px; z-index: 500; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
.u-center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }