/* Fastizi.blog v3 — 高质感科技门户与量化评测视觉 CSS 系统（零外部框架，支持 file:// 本地极速加载） */
:root {
  --bg-page: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-muted: #f8fafc;
  --bg-dark: #0f172a;
  --bg-indigo-deep: #1e1b4b;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-soft: #eef2ff;
  --primary-border: #c7d2fe;
  --cyan: #0891b2;
  --cyan-soft: #ecfeff;
  --emerald: #059669;
  --emerald-soft: #ecfdf5;
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --rose: #e11d48;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(79, 70, 229, 0.08), 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.14);
  --container-max: 1240px;
  --article-max: 820px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  background-image:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(79, 70, 229, 0.09), transparent),
    radial-gradient(circle at 92% 20%, rgba(8, 145, 178, 0.07), transparent 45%);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--text-primary);
  line-height: 1.28;
  margin-top: 0;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(1.75rem, 3.2vw, 2.45rem); margin-bottom: 0.8rem; }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }

p { margin-top: 0; margin-bottom: 0.95rem; color: var(--text-secondary); }
ul, ol { margin-top: 0; margin-bottom: 1rem; padding-left: 1.35rem; color: var(--text-secondary); }
li { margin-bottom: 0.4rem; }

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--primary-soft);
  color: var(--primary-hover);
  padding: 0.14rem 0.42rem;
  border-radius: 5px;
  border: 1px solid var(--primary-border);
}

pre {
  background: #0f172a;
  color: #f8fafc;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: 0.875rem;
}
pre code { background: transparent; border: none; color: inherit; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* Top Utility Bar + Vibrant Glass Sticky Header */
.top-strip {
  background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  color: #cbd5e1;
  font-size: 0.78rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.top-strip a { color: #a5b4fc; font-weight: 600; }

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 66px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  color: var(--text-primary);
  white-space: nowrap;
}
.brand-logo:hover { text-decoration: none; color: var(--primary); }

.brand-title-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}
.brand-logo:hover .brand-name { color: var(--primary); }

.brand-domain {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
  flex-shrink: 0;
}

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

.nav-links a {
  display: inline-block;
  padding: 0.42rem 0.62rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--primary-soft);
  color: var(--primary);
  text-decoration: none;
}

.header-actions { display: flex; align-items: center; gap: 0.55rem; }

/* Header Contact Us Button + Professional Dropdown Popover */
.contact-dropdown {
  position: relative;
}

.contact-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--primary-border);
  border-radius: 999px;
  background: linear-gradient(135deg, #eef2ff 0%, #ecfeff 100%);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.contact-trigger:hover,
.contact-dropdown.is-open .contact-trigger {
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.contact-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 356px;
  max-width: calc(100vw - 1.5rem);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.05rem;
  z-index: 60;
}

.contact-pop-head {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.8rem;
}

.contact-pop-badge {
  display: inline-block;
  padding: 0.14rem 0.52rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-pop-head strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-pop-head p {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.48;
  color: var(--text-muted);
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-channel-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.75rem 0.82rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact-channel-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-channel-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.contact-icon-gmail { background: linear-gradient(135deg, #ea4335 0%, #c5221f 100%); }
.contact-icon-tg { background: linear-gradient(135deg, #0088cc 0%, #0284c7 100%); }

.contact-channel-title {
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-channel-val {
  font-size: 0.89rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-all;
}

.contact-channel-btns {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-ch {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.81rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: opacity 0.14s ease;
}
.btn-ch:hover { opacity: 0.9; }
.btn-ch-gmail { background: #dc2626; }
.btn-ch-tg { background: #0284c7; }

.btn-ch-copy {
  padding: 0.38rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-ch-copy:hover { border-color: var(--primary); color: var(--primary); }
.btn-ch-copy.is-copied {
  border-color: var(--success);
  color: var(--success);
  background: var(--success-bg);
}

.contact-pop-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--text-muted);
}
.contact-pop-foot a { font-weight: 700; white-space: nowrap; }

.contact-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
@media (max-width: 640px) {
  .contact-page-grid { grid-template-columns: 1fr; }
}

.header-search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-muted);
  padding-left: 0.35rem;
  overflow: hidden;
}
.header-search-form input {
  border: none; background: transparent; padding: 0.4rem 0.6rem;
  font-size: 0.84rem; width: 138px; color: var(--text-primary); outline: none;
}
.header-search-form button {
  border: none; background: var(--primary); color: #ffffff;
  padding: 0.42rem 0.8rem; font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
.header-search-form button:hover { background: var(--primary-hover); }

.search-btn-mobile {
  display: none;
  padding: 0.42rem 0.72rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  padding: 0.42rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1040px) {
  .header-search-form { display: none; }
  .search-btn-mobile { display: inline-flex; }
  .menu-toggle { display: inline-flex; }
  .nav-wrap {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--bg-surface); border-bottom: 1px solid var(--border);
    padding: 0.8rem 1.25rem 1rem; box-shadow: var(--shadow-lg);
  }
  .nav-wrap.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .nav-links a { padding: 0.6rem 0.75rem; }
}

@media (max-width: 640px) {
  .contact-trigger { padding: 0.38rem 0.65rem; font-size: 0.8rem; }
  .contact-popover { position: fixed; top: 72px; left: 0.75rem; right: 0.75rem; width: auto; max-width: none; }
}

/* Breadcrumbs */
.breadcrumb { padding: 0.85rem 0 0; font-size: 0.84rem; color: var(--text-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumb li + li::before { content: "/"; color: var(--border-strong); }

/* Sections */
.section { padding: 2.5rem 0; }
.section-surface {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--cyan-soft) 100%);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  flex-shrink: 0;
}

.section-title-wrap h2 { margin: 0; }
.section-subtitle { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* Vibrant Portal Hero Banner */
.hero-portal {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 52%, #0e7490 100%);
  color: #f8fafc;
  padding: 2.75rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-portal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 20%, rgba(56, 189, 248, 0.22), transparent 48%),
              radial-gradient(circle at 18% 85%, rgba(99, 102, 241, 0.25), transparent 45%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: center;
}

@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-portal h1 { color: #ffffff; margin-bottom: 0.85rem; }
.hero-portal .hero-lead { color: #cbd5e1; font-size: 1.04rem; margin-bottom: 1.25rem; }
.hero-portal .hero-note { color: #94a3b8; font-size: 0.83rem; margin-top: 0.95rem; margin-bottom: 0; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(165, 180, 252, 0.4);
  color: #e0e7ff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.95rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.35rem;
}

@media (max-width: 640px) { .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hero-stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
}
.hero-stat-box strong { display: block; color: #ffffff; font-size: 1.15rem; }
.hero-stat-box span { color: #cbd5e1; font-size: 0.76rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

/* Glass Spotlight Dock on Right of Hero */
.spotlight-dock {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(165, 180, 252, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-lg);
}

.spotlight-dock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.spotlight-dock h2 { color: #ffffff; font-size: 1.05rem; margin: 0; }

/* Interactive Global Node SVG Map inside Hero Dock */
.node-map-box {
  background: radial-gradient(circle at 55% 45%, rgba(14, 165, 233, 0.14), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-md);
  padding: 0.55rem;
  margin-bottom: 0.75rem;
}

.node-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-land {
  fill: #1e293b;
  stroke: #334155;
  stroke-width: 0.9;
}

.map-grid-line {
  stroke: rgba(148, 163, 184, 0.1);
  stroke-width: 0.6;
  stroke-dasharray: 3 3;
}

.map-arc {
  fill: none;
  stroke: url(#arcGrad);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.78;
}

.map-node { cursor: pointer; }
.map-node circle.dot { fill: #38bdf8; stroke: #ffffff; stroke-width: 1.2; transition: r 0.15s ease, fill 0.15s ease; }
.map-node.is-origin circle.dot { fill: #34d399; }
.map-node.is-active circle.dot { fill: #f59e0b; }
.map-node text { fill: #e2e8f0; font-size: 9px; font-weight: 700; pointer-events: none; }

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(2.2); opacity: 0; }
}
.map-pulse {
  fill: none;
  stroke: #38bdf8;
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulseRing 2.4s ease-out infinite;
}

.map-region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.map-pill {
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.map-pill:hover,
.map-pill.is-active {
  background: #4f46e5;
  border-color: #818cf8;
  color: #ffffff;
}

.map-readout {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(165, 180, 252, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  font-size: 0.82rem;
  color: #e2e8f0;
}

.map-readout strong { color: #38bdf8; display: block; font-size: 0.88rem; margin-bottom: 0.15rem; }
.map-readout a { color: #a5b4fc; font-weight: 600; }

.spotlight-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.55rem;
}
.spotlight-item:hover { background: rgba(255, 255, 255, 0.1); }
.spotlight-tag { font-size: 0.74rem; color: #38bdf8; font-weight: 700; display: block; }
.spotlight-name { color: #ffffff; font-weight: 700; font-size: 0.95rem; }
.spotlight-name:hover { color: #a5b4fc; }
.spotlight-price { text-align: right; font-size: 0.82rem; color: #e2e8f0; white-space: nowrap; }
.spotlight-price strong { color: #34d399; font-size: 0.96rem; display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.38rem;
  padding: 0.58rem 1.12rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}
.btn-primary:hover { background: linear-gradient(135deg, #4338ca 0%, #1d4ed8 100%); color: #ffffff; }

.btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  color: #ffffff;
}
.btn-emerald:hover { background: #047857; color: #ffffff; }

.btn-secondary {
  background: var(--bg-surface); color: var(--text-primary); border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--bg-muted); color: var(--primary); border-color: var(--primary-border); }

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-hero-outline:hover { background: rgba(255, 255, 255, 0.2); color: #ffffff; }

.btn-sm { padding: 0.38rem 0.78rem; font-size: 0.83rem; }

/* Grids & Elevated Cards */
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 980px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-border); }

.card-spotlight {
  border: 1px solid var(--primary-border);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
  position: relative;
}

.card-muted { background: var(--bg-muted); }
.card-title { font-size: 1.08rem; font-weight: 700; margin: 0; color: var(--text-primary); }
.card-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.8rem; color: var(--text-muted); align-items: center; }

/* Decision Cards with Colored Icon Headers */
.decision-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 3px solid var(--primary);
}
.decision-card.accent-cyan { border-top-color: var(--cyan); }
.decision-card.accent-emerald { border-top-color: var(--emerald); }
.decision-card.accent-amber { border-top-color: var(--amber); }

.decision-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary);
  font-weight: 800; font-size: 0.9rem;
}
.accent-cyan .decision-icon { background: var(--cyan-soft); color: var(--cyan); }
.accent-emerald .decision-icon { background: var(--emerald-soft); color: var(--emerald); }
.accent-amber .decision-icon { background: var(--amber-soft); color: var(--amber); }

/* Visual Progress Score Bar */
.score-meter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.score-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  min-width: 68px;
}
.score-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 100%);
}
.score-val {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

/* Promo Coupon Pill */
.promo-ticket {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  background: var(--amber-soft);
  border: 1px dashed var(--amber);
  color: #92400e;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Badges & Rank Medals */
.badge {
  display: inline-flex; align-items: center; padding: 0.18rem 0.58rem;
  border-radius: 999px; font-size: 0.76rem; font-weight: 600; line-height: 1.4;
}
.badge-info { background: var(--primary-soft); color: var(--primary); border: 1px solid var(--primary-border); }
.badge-success { background: var(--emerald-soft); color: #065f46; border: 1px solid #a7f3d0; }
.badge-warn { background: var(--amber-soft); color: #92400e; border: 1px solid #fde68a; }
.badge-neutral { background: #f1f5f9; color: var(--text-secondary); }

.rank-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; padding: 0.2rem 0.5rem; border-radius: 8px;
  font-weight: 800; font-size: 0.86rem; background: #f1f5f9; color: var(--text-primary);
}
.rank-1 { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; border: 1px solid #f59e0b; }
.rank-2 { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); color: #1e293b; border: 1px solid #94a3b8; }
.rank-3 { background: linear-gradient(135deg, #ffedd5, #fed7aa); color: #9a3412; border: 1px solid #fb923c; }

/* Key-Value Specs & Pros/Cons */
.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
  padding: 0.78rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
}
.spec-item strong { display: block; font-size: 0.74rem; color: var(--text-muted); font-weight: 600; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; font-size: 0.86rem; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }

.pros-box, .cons-box { padding: 0.78rem; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.pros-box { background: var(--emerald-soft); border-color: #a7f3d0; }
.cons-box { background: var(--amber-soft); border-color: #fde68a; }
.pros-box ul, .cons-box ul { margin-bottom: 0; padding-left: 1.1rem; }

/* Scenario Colored Cards */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 900px) { .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .scenario-grid { grid-template-columns: 1fr; } }

.scenario-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.scenario-card:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-md); text-decoration: none; }
.scenario-card strong { font-size: 1.02rem; color: var(--text-primary); }
.scenario-card p { font-size: 0.85rem; margin: 0; color: var(--text-muted); }

/* Visual Scorecard Banner on Review Pages */
.scorecard-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-bottom: 1.35rem;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1.25rem;
  align-items: center;
}
@media (max-width: 640px) { .scorecard-banner { grid-template-columns: 1fr; } }

.scorecard-total {
  text-align: center;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(165, 180, 252, 0.25);
}
.scorecard-total .big-num { font-size: 2.25rem; font-weight: 800; color: #38bdf8; line-height: 1.1; display: block; }
.scorecard-total span { font-size: 0.78rem; color: #cbd5e1; }

.scorecard-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem 1rem; }
@media (max-width: 560px) { .scorecard-bars { grid-template-columns: 1fr; } }
.sub-bar-head { display: flex; justify-content: space-between; font-size: 0.8rem; color: #e2e8f0; margin-bottom: 0.25rem; }

/* Compare Contrast Banner */
.compare-banner {
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 55%, #0891b2 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.85rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
}
.compare-banner h2 { color: #ffffff; margin-bottom: 0.35rem; }
.compare-banner p { color: #e0e7ff; margin: 0; max-width: 680px; }

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { padding: 0.72rem 0.8rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; overflow-wrap: anywhere; }
th { background: #f8fafc; color: var(--text-primary); font-weight: 700; white-space: normal; line-height: 1.35; }
.article-body table { font-size: 0.84rem; }
.article-body th, .article-body td { padding: 0.65rem 0.68rem; }
.table-sub { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.18rem; line-height: 1.35; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #f8fafc; }
@media (max-width: 680px) {
  .table-wrap table { min-width: 520px; }
}

/* Digest & Hub Layouts */
.digest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 960px) { .digest-grid { grid-template-columns: 1fr; } }

.digest-col {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.digest-col-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 0.65rem; margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}
.digest-col-head h2 { font-size: 1.08rem; margin: 0; }
.digest-list { list-style: none; padding: 0; margin: 0; }
.digest-list li {
  padding: 0.55rem 0; border-bottom: 1px solid var(--border); margin: 0;
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; font-size: 0.9rem;
}
.digest-list li:last-child { border-bottom: none; }
.digest-tag { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }

.hub-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.75rem; align-items: start; }
@media (max-width: 900px) { .hub-layout { grid-template-columns: 1fr; } }

.hub-sidebar {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.1rem; box-shadow: var(--shadow-sm);
  position: sticky; top: 84px;
}
@media (max-width: 900px) { .hub-sidebar { position: static; } }
.hub-sidebar h2 { font-size: 0.96rem; margin-bottom: 0.65rem; padding-bottom: 0.45rem; border-bottom: 1px solid var(--border); }
.hub-cat-list { list-style: none; padding: 0; margin: 0; }
.hub-cat-list li { margin-bottom: 0.35rem; }
.hub-cat-list a {
  display: flex; justify-content: space-between; padding: 0.42rem 0.6rem;
  border-radius: var(--radius-sm); font-size: 0.87rem; color: var(--text-secondary); font-weight: 500;
}
.hub-cat-list a:hover { background: var(--primary-soft); color: var(--primary); text-decoration: none; }

/* Article Layout */
.article-layout {
  display: grid; grid-template-columns: minmax(0, var(--article-max)) minmax(250px, 1fr);
  gap: 2rem; align-items: start; padding: 1.5rem 0 2.5rem;
}
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }

.article-body {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.85rem; box-shadow: var(--shadow-sm); min-width: 0;
}
@media (max-width: 640px) { .article-body { padding: 1.15rem; } }

.article-meta {
  display: flex; flex-wrap: wrap; gap: 0.65rem 1.25rem;
  padding: 0.72rem 1rem; margin-bottom: 1.35rem;
  background: var(--bg-muted); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.84rem; color: var(--text-secondary);
}

.callout {
  padding: 1rem 1.15rem; border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary); background: var(--primary-soft); margin-bottom: 1.25rem;
}
.callout-warn { border-left-color: var(--amber); background: var(--amber-soft); }

.sidebar { display: flex; flex-direction: column; gap: 1.1rem; position: sticky; top: 84px; }
@media (max-width: 960px) { .sidebar { position: static; } }

.sidebar-box {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.15rem; box-shadow: var(--shadow-sm);
}
.sidebar-box h3 { font-size: 0.96rem; margin-bottom: 0.65rem; padding-bottom: 0.45rem; border-bottom: 1px solid var(--border); }
.sidebar-box ul { list-style: none; padding-left: 0; margin-bottom: 0; font-size: 0.88rem; }
.sidebar-box li { margin-bottom: 0.45rem; }

/* FAQ & Controls */
.faq-split { display: grid; grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.6fr); gap: 1.75rem; align-items: start; }
@media (max-width: 860px) { .faq-split { grid-template-columns: 1fr; } }

.faq-list { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.95rem 1.15rem; box-shadow: var(--shadow-sm);
}
.faq-item summary { font-weight: 700; cursor: pointer; color: var(--text-primary); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { margin-bottom: 0.55rem; color: var(--primary); }

.control-bar {
  display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center;
  padding: 1rem 1.15rem; background: var(--bg-surface);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  margin-bottom: 1.25rem; box-shadow: var(--shadow-sm);
}
.input, .select {
  padding: 0.52rem 0.85rem; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); font-size: 0.92rem; font-family: inherit;
  background: var(--bg-surface); color: var(--text-primary);
}
.input { flex: 1 1 240px; }

.empty-state {
  padding: 2rem 1.25rem; text-align: center; background: var(--bg-surface);
  border: 1px dashed var(--border-strong); border-radius: var(--radius-md); color: var(--text-muted);
}

/* Sequential Prev / Next Article Navigation & Internal Linking Strip */
.post-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 2px solid var(--border);
}

@media (max-width: 640px) {
  .post-pager { grid-template-columns: 1fr; }
}

.pager-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.12s ease;
}

.pager-card:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  text-decoration: none;
  transform: translateY(-1px);
}

.pager-card.pager-next {
  text-align: right;
  background: linear-gradient(135deg, var(--primary-soft) 0%, #f8fafc 100%);
  border-color: var(--primary-border);
}

@media (max-width: 640px) {
  .pager-card.pager-next { text-align: left; }
}

.pager-dir {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.pager-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.quick-hub-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.86rem;
}

/* Brand Deep-Dive Editorial Grids */
.carrier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0.9rem 0 1.25rem;
}

@media (max-width: 780px) {
  .carrier-grid { grid-template-columns: 1fr; }
}

.carrier-card {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
}

.carrier-card strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0.9rem 0 1.35rem;
}

@media (max-width: 900px) {
  .scenario-grid { grid-template-columns: 1fr; }
}

.scenario-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.scenario-card h3 {
  font-size: 0.98rem;
  margin: 0;
  color: var(--text-primary);
}

.scenario-meta {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
}

.rival-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0.85rem 0 1.35rem;
}

@media (max-width: 860px) {
  .rival-grid { grid-template-columns: 1fr; }
}

.rival-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  font-size: 0.89rem;
}

.rival-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 2.75rem 0 1.85rem;
  margin-top: 2rem;
  border-top: 3px solid var(--primary);
}
.site-footer a { color: #e2e8f0; }
.site-footer a:hover { color: #a5b4fc; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 1.75rem; margin-bottom: 1.85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-title { color: #ffffff; font-size: 0.96rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer-links { list-style: none; padding: 0; margin: 0; font-size: 0.87rem; }
.footer-links li { margin-bottom: 0.44rem; }
.footer-bottom {
  border-top: 1px solid #1e293b; padding-top: 1.2rem; font-size: 0.82rem; color: #94a3b8;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
}
