
:root {
  --bg: #08080a;
  --bg-2: #0f0f12;
  --bg-3: #16161f;
  --bg-4: #1a1a24;
  --line: #1f1f2b;
  --line-2: #2a2a38;
  --gold: #d4af37;
  --gold-dim: #aa841a;
  --green: #22c55e;
  --white: #f8fafc;
  --silver: #94a3b8;
  --muted: #6b7688;
  --radius: 4px;
  --radius-lg: 8px;
  --max: 1280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--silver);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.fix-cover { width: 100%; height: 100%; object-fit: cover; }

/* ============ STATUS RIBBON ============ */
.status-ribbon {
  background: #050507;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
}
.status-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.status-label { color: var(--green); font-weight: 700; }
.status-sep { color: var(--line-2); }
.status-item b { color: var(--gold); font-weight: 700; margin-left: 4px; }

/* ============ MASTHEAD ============ */
.site-header {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: .35;
}

.masthead {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 2px;
  background: linear-gradient(135deg, #1a1a24, #0f0f12);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 2px;
  box-shadow: 0 0 24px rgba(212, 175, 55, .18), inset 0 0 12px rgba(212, 175, 55, .08);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--white);
}
.brand-sub {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold-dim);
  font-weight: 600;
}

.search-box {
  flex: 1;
  max-width: 460px;
  display: flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.search-box:focus-within { border-color: var(--gold-dim); }
.search-box input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  padding: 12px 18px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.search-box input::placeholder { color: var(--muted); }
.search-box button {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--gold);
  font-weight: 800;
  padding: 0 22px;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 2px;
  transition: background .2s ease;
}
.search-box button:hover { background: rgba(212, 175, 55, .08); }

.masthead-cta { display: flex; align-items: center; gap: 12px; }

.btn-solid, .btn-ghost {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 2px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-solid {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #0a0a0a;
  box-shadow: 0 6px 24px rgba(212, 175, 55, .28);
}
.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(212, 175, 55, .42);
}
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, .06);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 10px 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--gold);
  margin: 5px 0;
}

/* ============ MAIN NAV ============ */
.main-nav {
  border-top: 1px solid var(--line);
  background: #0a0a0d;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex !important;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
}
.main-nav > a {
  display: inline-block !important;
  padding: 15px 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all .2s ease;
}
.main-nav > a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(212, 175, 55, .04);
}

/* ============ PAGE WRAP ============ */
.page-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* ============ HERO ============ */
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 48px;
}
.hero-copy { min-width: 0; }
.hero-eyebrow {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 11px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 22px;
  color: var(--white);
  letter-spacing: -.8px;
  word-wrap: break-word;
}
.hero-lead {
  color: var(--silver);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 580px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b {
  font-size: 26px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: -.5px;
}
.hero-stats span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(212, 175, 55, .06);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 10, .9));
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-chip {
  padding: 6px 12px;
  background: rgba(0, 0, 0, .7);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--green);
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.hero-chip.gold { color: var(--gold); border-color: var(--gold-dim); }

/* ============ PILL RAIL ============ */
.pill-rail {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.pill-rail a {
  padding: 10px 18px;
  border-radius: 2px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--silver);
  white-space: nowrap;
  text-transform: uppercase;
  transition: all .2s ease;
}
.pill-rail a:hover {
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-color: var(--gold);
}

/* ============ LAYOUT ============ */
.layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.content-col { min-width: 0; }

/* ============ BLOCK ============ */
.block { margin-bottom: 52px; }
.block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  gap: 16px;
  flex-wrap: wrap;
}
.block-head h2 {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.block-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}

/* ============ DATA TABLE ============ */
.data-table {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.data-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  align-items: center;
}
.data-row:last-child { border-bottom: 0; }
.data-head {
  background: var(--bg-4);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}
.data-row span:first-child { color: var(--white); font-weight: 700; }
.state-ok { color: var(--green); font-weight: 800; font-size: 11px; letter-spacing: 1.5px; }
.state-warn { color: var(--gold); font-weight: 800; font-size: 11px; letter-spacing: 1.5px; }

/* ============ EVAL CARDS ============ */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.eval-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.eval-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-dim);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(212, 175, 55, .18);
}
.eval-thumb {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: #0a0a0d;
}
.eval-card.tall .eval-thumb { height: 200px; }
.eval-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 9px;
  background: rgba(0, 0, 0, .75);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
  border-radius: 2px;
  backdrop-filter: blur(6px);
}
.eval-badge.live {
  color: var(--green);
  border-color: var(--green);
  background: rgba(0, 0, 0, .8);
}
.eval-card h3 {
  font-size: 14px;
  font-weight: 800;
  padding: 16px 18px 6px;
  line-height: 1.4;
  color: var(--white);
  letter-spacing: .3px;
}
.eval-card h3 a:hover { color: var(--gold); }
.eval-card p {
  padding: 0 18px 14px;
  font-size: 12.5px;
  color: var(--silver);
  line-height: 1.6;
}
.eval-meta {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============ LOG GRID ============ */
.log-grid { display: flex; flex-direction: column; gap: 14px; }
.log-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 22px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s ease;
}
.log-row:hover { border-color: var(--gold-dim); }
.log-thumb { height: 100%; min-height: 160px; background: #0a0a0d; }
.log-body { padding: 22px 26px 22px 0; }
.log-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}
.log-body h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 8px 0 10px;
  color: var(--white);
  line-height: 1.35;
}
.log-body h3 a:hover { color: var(--gold); }
.log-body p { font-size: 13.5px; color: var(--silver); line-height: 1.7; }

/* ============ TRUST STRIP ============ */
.trust-strip { padding: 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.trust-cell {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}
.trust-cell:last-child { border-right: 0; }
.trust-icon {
  display: block;
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 12px;
}
.trust-cell h4 {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.trust-cell p { font-size: 12.5px; color: var(--silver); line-height: 1.7; }

/* ============ KNOWLEDGE HUB ============ */
.knowledge-hub .kb-article {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold-dim);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 22px;
}
.kb-article h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: .3px;
  line-height: 1.35;
}
.kb-article p {
  font-size: 14.5px;
  color: var(--silver);
  line-height: 1.85;
  margin-bottom: 16px;
}
.kb-article p:last-child { margin-bottom: 0; }

/* ============ SIDE COL ============ */
.side-col { display: flex; flex-direction: column; gap: 20px; }
.side-box {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.side-box h3 {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.winner-list li {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--silver);
}
.winner-list li:last-child { border-bottom: 0; }
.winner-list b { color: var(--gold); font-weight: 800; }
.quick-links li { padding: 9px 0; font-size: 13px; }
.quick-links a { color: var(--silver); transition: color .2s ease; }
.quick-links a:hover { color: var(--gold); }
.provider-list li {
  padding: 10px 0;
  font-size: 12.5px;
  color: var(--silver);
  border-bottom: 1px solid var(--line);
}
.provider-list li:last-child { border-bottom: 0; }

.status-box { background: #0a0a0d; }
.node-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
}
.node-list li:last-child { border-bottom: 0; }
.node-list span { color: var(--silver); }
.node-list b.ok { color: var(--green); }
.node-list b.warn { color: var(--gold); }

/* ============ PAGE HERO ============ */
.page-hero {
  padding: 52px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.page-hero h1 {
  font-size: 34px;
  font-weight: 900;
  margin: 16px 0 10px;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.page-hero p { color: var(--silver); max-width: 680px; font-size: 15px; }
.hero-chips { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.chip {
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--silver);
  text-transform: uppercase;
}
.chip.gold { color: var(--gold); border-color: var(--gold-dim); }
.chip.green { color: var(--green); border-color: var(--green); }

.breadcrumb {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--gold); }
.bc-sep { color: var(--line-2); }

/* ============ PAGER ============ */
.pager { margin-top: 36px; }
.pager ul { display: flex; gap: 6px; flex-wrap: wrap; }
.pager li a, .pager li span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 2px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--silver);
  text-transform: uppercase;
}
.pager li a:hover, .pager li span.current {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #0a0a0a;
  border-color: var(--gold);
}

/* ============ ARTICLE ============ */
.article-wrap { min-width: 0; }
.page-main > .layout > .article-wrap { padding-top: 44px; }

.article-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.article-head h1 {
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 16px;
  line-height: 1.22;
  color: var(--white);
  letter-spacing: -.4px;
}
.article-meta {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 26px;
  text-transform: uppercase;
  flex-wrap: wrap;
  align-items: center;
}
.article-meta .dot { color: var(--gold); }
.article-meta .verified { color: var(--green); }

.article-hero {
  position: relative;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  margin-bottom: 32px;
}
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 8, 10, .85));
  pointer-events: none;
}
.article-hero .hero-chip {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
}

.article-body {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  font-size: 15px;
  color: var(--silver);
}
.article-body p { margin-bottom: 20px; line-height: 1.85; }
.article-body h2, .article-body h3 {
  color: var(--gold);
  margin: 28px 0 14px;
  font-weight: 900;
  letter-spacing: .3px;
}
.article-body img { border-radius: var(--radius); margin: 20px 0; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body a { color: var(--gold); }

.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}
.article-pager div {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--silver);
}
.article-pager a { color: var(--gold); font-weight: 700; }

.article-side { display: flex; flex-direction: column; gap: 20px; padding-top: 44px; }

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--line);
  background: #060608;
  margin-top: 48px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: .5;
}
.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 36px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand .brand-mark {
  display: inline-grid;
  margin-bottom: 16px;
}
.footer-brand .brand-text { display: flex; flex-direction: column; margin-bottom: 14px; }
.footer-brand .brand-name {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--white);
}
.footer-brand .brand-sub {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold-dim);
  font-weight: 700;
}
.footer-brand p {
  color: var(--silver);
  font-size: 13px;
  max-width: 340px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.footer-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-chips li {
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}
.footer-col h4 {
  font-size: 11px;
  margin-bottom: 18px;
  color: var(--white);
  letter-spacing: 2.5px;
  font-weight: 900;
  text-transform: uppercase;
}
.footer-col li { padding: 7px 0; }
.footer-col a {
  color: var(--silver);
  font-size: 13px;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

/* ============ RESPONSIVE 1240 ============ */
@media (max-width: 1240px) {
  .hero h1 { font-size: 40px; }
  .layout { grid-template-columns: 1fr 300px; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-cell { border-right: 1px solid var(--line); }
  .trust-cell:nth-child(2n) { border-right: 0; }
  .trust-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============ RESPONSIVE 1024 ============ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 36px; }
  .hero-visual { height: 320px; }
  .hero h1 { font-size: 38px; }
  .layout { grid-template-columns: 1fr; }
  .side-col { flex-direction: row; flex-wrap: wrap; }
  .side-box { flex: 1 1 260px; }
  .article-side { flex-direction: row; flex-wrap: wrap; padding-top: 0; }
  .article-side .side-box { flex: 1 1 280px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .log-row { grid-template-columns: 1fr; }
  .log-thumb { min-height: 200px; }
  .log-body { padding: 22px 26px; }
  .data-row { grid-template-columns: 1.6fr 1fr 1fr 1fr; font-size: 12px; }
  .article-wrap { padding-top: 32px; }
}

/* ============ RESPONSIVE 768 ============ */
@media (max-width: 768px) {
  .status-inner { font-size: 10px; gap: 10px; padding: 8px 18px; }
  .status-sep { display: none; }
  .masthead { flex-wrap: wrap; gap: 16px; padding: 18px; }
  .search-box { order: 3; max-width: 100%; width: 100%; }
  .nav-toggle { display: block; }
  .main-nav { display: none !important; flex-direction: column; padding: 10px 18px; }
  .main-nav.open { display: flex !important; }
  .main-nav > a { border-bottom: 0; padding: 12px 0; border-left: 2px solid transparent; padding-left: 12px; display: block; }
  .main-nav > a:hover { border-left-color: var(--gold); border-bottom-color: transparent; }
  .page-main { padding: 0 18px 44px; }
  .hero { padding: 34px 0 26px; }
  .hero h1 { font-size: 28px; letter-spacing: -.4px; }
  .hero-stats { gap: 26px; }
  .hero-visual { height: 240px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-cell:last-child { border-bottom: 0; }
  .kb-article { padding: 22px; }
  .kb-article h3 { font-size: 17px; }
  .data-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
    font-size: 12px;
  }
  .data-head { display: none; }
  .data-row span:first-child { font-size: 14px; margin-bottom: 4px; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 36px 18px 24px; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .article-head h1 { font-size: 26px; }
  .article-body { padding: 22px; }
  .article-pager { grid-template-columns: 1fr; }
  .article-hero { height: 220px; }
  .page-hero h1 { font-size: 24px; }
  .footer-bottom { font-size: 9px; letter-spacing: 1.5px; }
}