:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --ink: #111418;
  --ink-muted: #5a6270;
  --border: #e2e6ed;
  --accent: #2563eb;
  --accent-soft: #eff6ff;
  --coral: #e11d48;
  --coral-soft: #fff1f2;
  --emerald: #059669;
  --emerald-soft: #ecfdf5;
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1280px;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  background-color: #eef2f7;
  background-image:
    radial-gradient(62% 48% at 14% 0%, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 70%),
    radial-gradient(54% 44% at 88% 8%, rgba(6, 182, 212, 0.14) 0%, rgba(6, 182, 212, 0) 68%),
    radial-gradient(58% 50% at 50% 44%, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0) 72%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 42%, rgba(37, 99, 235, 0.05) 100%);
  background-attachment: fixed;
  transition: background-color 0.4s ease;
}

body[data-page-cat="zakony"] {
  background-color: #ecf0fa;
  background-image:
    radial-gradient(64% 50% at 12% 0%, rgba(37, 99, 235, 0.20) 0%, rgba(37, 99, 235, 0) 72%),
    radial-gradient(52% 46% at 90% 10%, rgba(79, 70, 229, 0.16) 0%, rgba(79, 70, 229, 0) 68%),
    radial-gradient(50% 45% at 72% 62%, rgba(56, 189, 248, 0.10) 0%, rgba(56, 189, 248, 0) 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 48%, rgba(79, 70, 229, 0.06) 100%);
}

body[data-page-cat="auto"] {
  background-color: #f6eff2;
  background-image:
    radial-gradient(64% 50% at 14% 0%, rgba(225, 29, 72, 0.16) 0%, rgba(225, 29, 72, 0) 70%),
    radial-gradient(52% 46% at 88% 12%, rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0) 68%),
    radial-gradient(48% 44% at 45% 58%, rgba(244, 63, 94, 0.07) 0%, rgba(244, 63, 94, 0) 70%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 46%, rgba(225, 29, 72, 0.05) 100%);
}

body[data-page-cat="scam"] {
  background-color: #f5f1ea;
  background-image:
    radial-gradient(64% 50% at 14% 0%, rgba(217, 119, 6, 0.18) 0%, rgba(217, 119, 6, 0) 70%),
    radial-gradient(52% 46% at 88% 10%, rgba(234, 88, 12, 0.12) 0%, rgba(234, 88, 12, 0) 68%),
    radial-gradient(50% 45% at 62% 55%, rgba(245, 158, 11, 0.09) 0%, rgba(245, 158, 11, 0) 72%),
    linear-gradient(130deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0) 46%, rgba(217, 119, 6, 0.06) 100%);
}

body[data-page-cat="tech"] {
  background-color: #e9f5f2;
  background-image:
    radial-gradient(64% 50% at 12% 0%, rgba(5, 150, 105, 0.18) 0%, rgba(5, 150, 105, 0) 70%),
    radial-gradient(54% 46% at 90% 10%, rgba(6, 182, 212, 0.17) 0%, rgba(6, 182, 212, 0) 68%),
    radial-gradient(52% 46% at 50% 56%, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0) 72%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 45%, rgba(6, 182, 212, 0.06) 100%);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--surface);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 16px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header + scroll progress bar */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(14px)) {
  header {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}
.scroll-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: var(--accent);
  transition: width 0.08s linear;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.nav-links {
  display: flex;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  color: var(--ink-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--bg); }
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--bg);
  font-weight: 700;
}

/* Полоса рубрик + быстрый поиск */
.top-band {
  background: transparent;
  border-bottom: 1px solid rgba(17, 20, 24, 0.07);
  padding: 24px 0 36px;
}
.controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.rubric-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tab-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  padding: 9px 16px;
  min-height: 42px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tab-btn:hover { background: var(--bg); border-color: var(--ink-muted); }
.tab-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}
.search-wrap {
  position: relative;
  min-width: 240px;
  flex: 0 1 300px;
}
.search-input {
  width: 100%;
  min-height: 44px;
  padding: 8px 36px 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
}
.search-kbd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--ink-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.search-input:focus + .search-kbd,
.search-input:not(:placeholder-shown) + .search-kbd {
  opacity: 0;
}

/* Hero split */
.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.feature-story {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feature-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 230px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.feature-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.07) translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.25s ease-out;
}
.feature-story:hover .feature-cover {
  transition: none;
  will-change: transform;
}
.feature-body {
  padding: 24px 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.tag-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 14px;
}
.tag-dom, .tag-zakony { background: var(--accent-soft); color: #1d4ed8; }
.tag-auto { background: var(--coral-soft); color: #be123c; }
.tag-dolg, .tag-scam { background: var(--amber-soft); color: #92400e; }
.tag-bank, .tag-tech { background: var(--emerald-soft); color: #065f46; }

.feature-story h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 800;
}
.feature-story p {
  margin: 0 0 22px;
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 56ch;
}
.feature-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.feature-note {
  font-size: 13px;
  color: var(--ink-muted);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--surface);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.btn-primary:hover { background: #1d4ed8; }

/* Интерактивный тест с прогрессом */
.quiz-box {
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quiz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #a1aab8;
  margin-bottom: 10px;
}
.quiz-prog {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}
.quiz-prog-fill {
  height: 100%;
  width: 33%;
  background: #34d399;
  transition: width 0.3s ease;
}
.quiz-box h2,
.quiz-box .quiz-question {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.32;
}
.quiz-opts {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.quiz-opt {
  appearance: none;
  text-align: left;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--surface);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  min-height: 44px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.quiz-opt:hover { background: rgba(255, 255, 255, 0.13); }
.quiz-opt.is-right { background: rgba(5, 150, 105, 0.3); border-color: #34d399; }
.quiz-opt.is-wrong { background: rgba(225, 29, 72, 0.25); border-color: #fb7185; }
.quiz-answer {
  font-size: 13px;
  color: #d1d5db;
  min-height: 40px;
  margin: 0 0 12px;
}
.quiz-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.quiz-next {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: var(--surface);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.quiz-next:hover { background: rgba(255, 255, 255, 0.25); }
.quiz-score { font-size: 12px; color: #9ca3af; font-variant-numeric: tabular-nums; }

/* Интерактивный модуль «Календарь изменений: что и когда вступает в силу» */
.sim-band {
  padding: 40px 0;
  background: transparent;
  border-bottom: 1px solid rgba(17, 20, 24, 0.07);
}
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 28px;
  align-items: stretch;
}
.season-list {
  display: grid;
  gap: 10px;
}
.season-btn {
  appearance: none;
  text-align: left;
  width: 100%;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(17, 20, 24, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
@supports (backdrop-filter: blur(8px)) {
  .season-btn {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
.season-btn:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-1px);
}
.season-btn.active {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}
.season-btn strong { display: block; font-size: 15px; margin-bottom: 2px; }
.season-btn span { font-size: 13px; color: var(--ink-muted); }
.season-sum {
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: var(--accent-soft);
  color: #1d4ed8;
}
.season-sum.live { background: var(--emerald-soft); color: #065f46; }
.season-sum.soon { background: var(--amber-soft); color: #92400e; }
.season-sum.plan { background: var(--coral-soft); color: #be123c; }

.sim-stage {
  background: linear-gradient(150deg, #11151d 0%, #192233 100%);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transform: perspective(1000px) scale(var(--scroll-scale, 1)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.24s ease-out, box-shadow 0.25s ease;
  box-shadow: 0 18px 42px rgba(17, 20, 24, 0.18);
}
.sim-stage.is-scrolling {
  transition: box-shadow 0.25s ease;
}
.sim-stage:hover {
  will-change: transform;
  box-shadow: 0 24px 56px rgba(17, 20, 24, 0.26);
}
.sim-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.sim-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.25);
}
.sim-date-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
}
.sim-big {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.sim-detail {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #cbd5e1;
}
.sim-points {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: #e2e8f0;
}
.sim-points li {
  position: relative;
  padding-left: 18px;
}
.sim-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
}
.sim-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

/* Секция «Персональная шпаргалка: что проверить именно вам» */
.radar-band { padding: 40px 0; }
.radar-box {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
  box-shadow: 0 14px 36px rgba(17, 20, 24, 0.06);
}
@supports (backdrop-filter: blur(12px)) {
  .radar-box {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
.check-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tile-toggle {
  appearance: none;
  border: 1px solid rgba(17, 20, 24, 0.09);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  padding: 14px;
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  min-height: 70px;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.tile-toggle:hover {
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}
.tile-toggle strong { display: block; font-size: 14px; margin-bottom: 2px; }
.tile-toggle span { font-size: 12px; color: var(--ink-muted); line-height: 1.35; display: block; }
.tile-toggle.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.1);
}
.radar-actions {
  display: grid;
  gap: 10px;
}
.radar-action-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.radar-action-item:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(17, 20, 24, 0.06);
}
.radar-action-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}
.radar-action-item span {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.4;
}
.radar-action-arrow {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.radar-summary {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
}

/* Лента историй */
.feed-band { padding: 36px 0; }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.sec-head h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.sec-head span { font-size: 14px; color: var(--ink-muted); }

.feed-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.story {
  grid-column: span 4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.story.wide { grid-column: span 8; }
.story:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 22, 25, 0.08);
  border-color: var(--ink-muted);
}
.feed-grid.is-filtered .story,
.feed-grid.is-filtered .story.wide {
  grid-column: span 6;
}
.feed-empty {
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.feed-empty p {
  margin: 0 0 14px;
  color: var(--ink-muted);
}
.story-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 230px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.story:hover .story-media img {
  transform: scale(1.04);
}
.story-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.story h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.story.wide h3 { font-size: 22px; }
.story p { margin: 0 0 16px; font-size: 14px; color: var(--ink-muted); }
.story-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Правда или миф */
.myth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.myth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.myth-card h3 { margin: 0 0 12px; font-size: 17px; line-height: 1.35; }
.myth-btns { display: flex; gap: 8px; margin-bottom: 10px; }
.myth-btn {
  flex: 1;
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  padding: 8px 10px;
  min-height: 40px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.myth-btn:hover { border-color: var(--ink-muted); }
.myth-btn.picked-ok { background: var(--emerald-soft); border-color: var(--emerald); color: var(--emerald); }
.myth-btn.picked-no { background: var(--coral-soft); border-color: var(--coral); color: var(--coral); }
.myth-res { font-size: 13px; color: var(--ink-muted); margin: 0; min-height: 38px; }

/* Детальный блок + FAQ */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ink-muted);
}
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.detail-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.detail-panel h2 { margin: 0 0 12px; font-size: 22px; }
.detail-panel p { margin: 0 0 14px; }
.detail-panel a { color: var(--accent); }
.article-wrap {
  padding: 28px 0 44px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: start;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 380px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
}
.article-inner {
  padding: 28px 32px 32px;
}
.article-inner h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.article-lead {
  margin: 0 0 20px;
  font-size: 17px;
  color: var(--ink-muted);
}
.article-inner p { margin: 0 0 14px; }
.article-side {
  display: grid;
  gap: 14px;
}
.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.side-card h2 { margin: 0 0 12px; font-size: 17px; }
.side-link {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.side-link:hover { color: var(--accent); }
.side-link span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 2px;
}
.check-list { margin: 14px 0 0; padding: 0; list-style: none; }
.check-list li {
  padding: 10px 0 10px 24px;
  border-top: 1px solid var(--border);
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.faq-card h3 { margin: 0 0 6px; font-size: 16px; }
.faq-card p { margin: 0; font-size: 14px; color: var(--ink-muted); }

/* Footer */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--ink-muted);
  font-size: 13px;
}
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.foot-links a { color: var(--ink); font-weight: 500; text-decoration: none; }
.foot-links a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 960px) {
  .hero-split, .sim-grid, .radar-box, .myth-grid, .faq-grid, .foot-grid, .article-wrap { grid-template-columns: 1fr; }
  .story, .story.wide, .feed-grid.is-filtered .story, .feed-grid.is-filtered .story.wide { grid-column: span 12; }
  .check-tiles { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .feature-body { padding: 18px; }
  .search-wrap { flex: 1 1 100%; min-width: 0; }
  .sim-chart { height: auto; aspect-ratio: 360 / 160; }
}
