:root {
  --bg-dark: #071120;
  --bg-dark-2: #0c1830;
  --bg-light: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --text: #0e172a;
  --muted: #5c677d;
  --muted-dark: #a9b6ce;
  --line: rgba(15, 23, 42, 0.1);
  --line-dark: rgba(148, 163, 184, 0.18);
  --shadow: 0 22px 50px rgba(7, 17, 32, 0.12);
  --shadow-soft: 0 12px 28px rgba(7, 17, 32, 0.08);
  --radius: 24px;
  --radius-sm: 18px;
  --accent: #5b7cfa;
  --accent-2: #14b8a6;
  --accent-3: #8b5cf6;
  --gradient: linear-gradient(135deg, #5b7cfa 0%, #14b8a6 48%, #8b5cf6 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding-left: 1.1rem; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 17, 32, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 80px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.brand-mark svg { width: 22px; color: #d8e4ff; }
.brand-text strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}
.brand-text small {
  display: block;
  color: var(--muted-dark);
  font-size: 0.8rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.site-nav > a:not(.btn) {
  color: #d9e4f7;
  font-size: 0.98rem;
}
.site-nav > a:not(.btn):hover,
.site-nav > a:not(.btn).active { color: #fff; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 44px;
  height: 44px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 999px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 18px 30px rgba(91,124,250,0.28);
}
.btn-secondary {
  color: #fff;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.btn-light {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-small { padding: 0.8rem 1rem; }
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(91,124,250,0.24), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(20,184,166,0.16), transparent 24%),
    linear-gradient(180deg, #071120 0%, #0b1833 100%);
  color: #fff;
}
.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
  pointer-events: none;
}
.home-hero { padding: 4.5rem 0 3rem; }
.page-hero { padding: 3.6rem 0 2.6rem; }
.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.kicker,
.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: #b8c7e6;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero h1,
.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.55rem, 5vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.hero-lead {
  color: #d4ddf1;
  font-size: 1.08rem;
  max-width: 61ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0;
}
.hero-points,
.feature-points {
  display: grid;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
  color: #d7e1f5;
}
.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
}
.hero-strip article,
.stat-card {
  padding: 1.15rem 1rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.hero-strip strong,
.stat-card strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.15rem;
}
.hero-strip span,
.stat-card span { color: #d4ddf1; }
.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.jump-links a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.94rem;
}
.dashboard-preview,
.form-panel {
  position: relative;
  z-index: 2;
  padding: 1.3rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  box-shadow: 0 32px 60px rgba(0,0,0,0.22), inset 0 0 0 1px rgba(255,255,255,0.1);
}
.dashboard-toolbar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 1rem;
}
.dashboard-toolbar > span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.3);
}
.dashboard-pills {
  margin-left: auto;
  text-align: right;
}
.dashboard-pills b { display: block; font-size: 0.92rem; }
.dashboard-pills small { color: #d4ddf1; }
.dashboard-body {
  border-radius: 24px;
  background: rgba(7,17,32,0.68);
  padding: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.mini-metrics article,
.chart-card,
.score-card,
.table-snippet {
  border-radius: 22px;
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.mini-metrics article {
  padding: 1rem;
}
.mini-metrics p,
.chart-card small,
.score-card small,
.table-snippet small { color: #afbfdf; font-size: 0.86rem; }
.mini-metrics strong { display: block; font-size: 1.6rem; margin: 0.3rem 0; }
.trend { font-size: 0.88rem; font-weight: 700; }
.trend.up { color: #5eead4; }
.trend.down { color: #fcd34d; }
.mini-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.8rem;
  margin-top: 0.8rem;
}
.chart-card,
.score-card,
.table-snippet { padding: 1rem; }
.chart-card header,
.score-card header,
.table-snippet header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1rem;
}
.chart-card h3,
.score-card h3,
.table-snippet h3,
.form-panel h2,
.tool-card h3,
.article-card h3,
.info-card h3,
.mini-card h3,
.policy-content h2,
.policy-content h3,
.contact-card h3 {
  margin: 0;
  font-size: 1.08rem;
}
.bars {
  height: 160px;
  display: grid;
  align-items: end;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
}
.bars span {
  border-radius: 18px 18px 6px 6px;
  background: var(--gradient);
}
.score-ring {
  width: 108px;
  aspect-ratio: 1;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#5b7cfa 0 75%, rgba(255,255,255,0.12) 75% 100%);
}
.score-ring span {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0e1a32;
  font-size: 1.6rem;
  font-weight: 800;
}
.compact-list { color: #d9e4fb; font-size: 0.92rem; }
.table-snippet { margin-top: 0.8rem; }
.snippet-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}
.section { padding: 5rem 0; }
.section-tight { padding: 3.8rem 0; }
.section-contrast { background: linear-gradient(180deg, #eef3ff 0%, #f8faff 100%); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.section-copy { max-width: 58ch; color: var(--muted); }
.tool-grid,
.info-grid,
.article-grid,
.mini-card-grid,
.contact-grid,
.footer-grid,
.report-grid,
.metrics-grid,
.toc-grid,
.compare-columns,
.two-col,
.use-case-grid {
  display: grid;
  gap: 1.2rem;
}
.tool-grid { grid-template-columns: repeat(3, 1fr); }
.article-grid { grid-template-columns: repeat(3, 1fr); }
.info-grid.three-up,
.use-case-grid { grid-template-columns: repeat(3, 1fr); }
.mini-card-grid { grid-template-columns: repeat(4, 1fr); }
.compare-columns,
.two-col,
.page-copy-grid { grid-template-columns: repeat(2, 1fr); }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.contact-grid { grid-template-columns: 1.1fr 0.9fr; }
.tool-card,
.info-card,
.article-card,
.mini-card,
.metric-card,
.contact-card,
.comparison-card,
.note-box,
.policy-shell,
.toc-card,
.form-panel,
.report-shell,
.callout,
.team-card {
  background: var(--surface);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.tool-card,
.info-card,
.article-card,
.mini-card,
.contact-card,
.comparison-card,
.note-box,
.toc-card,
.team-card { padding: 1.4rem; }
.tool-card-top,
.metric-card,
.contact-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.icon-box,
.mini-card-icon,
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(91,124,250,0.09);
}
.icon-box svg,
.mini-card-icon svg,
.contact-icon svg { width: 22px; }
.tool-card p,
.info-card p,
.article-card p,
.mini-card p,
.contact-card p,
.metric-card span,
.comparison-card p,
.team-card p { color: var(--muted); }
.tool-card-footer,
.footer-bottom,
.form-actions,
.breadcrumb,
.tool-meta { display: flex; align-items: center; gap: 1rem; }
.tool-card-footer { justify-content: space-between; margin-top: 1rem; }
.tool-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(91,124,250,0.12);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}
.text-link { color: var(--accent); font-weight: 700; }
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.comparison-card.good { background: linear-gradient(180deg, #ffffff 0%, #f6fffd 100%); }
.comparison-card.bad { background: linear-gradient(180deg, #ffffff 0%, #fff9f2 100%); }
.check-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.15rem;
}
.check-list li::marker { color: var(--accent-2); }
.check-list.negative li::marker { color: #f59e0b; }
.timeline {
  display: grid;
  gap: 1rem;
}
.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
.step-index {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
}
.timeline-step h3 { margin: 0 0 0.35rem; font-size: 1.06rem; }
.metric-card {
  flex-direction: column;
  align-items: flex-start;
  padding: 1.2rem;
}
.metrics-grid,
.report-grid { grid-template-columns: repeat(4, 1fr); }
.metric-card p { margin: 0 0 0.35rem; color: var(--muted); }
.metric-card strong { font-size: 1.85rem; line-height: 1; }
.breadcrumb {
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  color: #c8d5ee;
  font-size: 0.92rem;
}
.breadcrumb a { color: #fff; }
.form-panel {
  color: var(--text);
  background: #fff;
}
.form-panel p { color: var(--muted); }
.form-panel .btn-primary { width: 100%; }
.tool-form {
  display: grid;
  gap: 1rem;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.field,
.checkbox-row {
  display: grid;
  gap: 0.45rem;
}
.field label,
.form-note,
.checkbox-row label,
.field small { font-size: 0.9rem; color: var(--muted); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f9fbff;
  color: var(--text);
}
.field textarea { min-height: 130px; resize: vertical; }
.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
}
.form-note {
  margin-top: 0.4rem;
}
.report-shell {
  padding: 1.3rem;
}
.report-shell.is-flash { box-shadow: 0 0 0 3px rgba(91,124,250,0.18), var(--shadow); }
.report-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.2rem;
}
.report-head h2 { margin: 0; font-size: 1.35rem; }
.report-head p { margin: 0.3rem 0 0; color: var(--muted); }
.report-head .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.84rem;
  background: rgba(91,124,250,0.1);
  color: var(--accent);
  font-weight: 700;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
th,
td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.96rem;
}
th { background: #f7f9ff; color: var(--muted); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
.callout,
.note-box,
.policy-shell {
  padding: 1.4rem;
}
.callout {
  background: linear-gradient(135deg, rgba(91,124,250,0.1), rgba(20,184,166,0.08));
}
.callout h3,
.note-box h3,
.toc-card h3,
.team-card h3 { margin: 0 0 0.6rem; }
.faq-wrap {
  display: grid;
  gap: 1rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border: 0;
  border-radius: 22px;
  background: transparent;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.faq-icon {
  width: 16px;
  height: 16px;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  border-radius: 999px;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-button[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-panel {
  display: none;
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
}
.faq-item.open .faq-panel { display: block; }
.footer-grid h2,
.policy-content h1,
.contact-hero h1,
.not-found h1 { margin: 0 0 1rem; }
.footer-grid {
  padding: 3.5rem 0 2rem;
  align-items: start;
}
.footer-links {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.site-footer {
  margin-top: 0;
  background: #09111f;
  color: #fff;
}
.footer-copy,
.footer-links a,
.footer-bottom p { color: #c5d0e7; }
.footer-bottom {
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0 2rem;
}
.page-shell,
.policy-content {
  padding: 4rem 0 5rem;
}
.policy-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.05;
}
.policy-content .lead,
.contact-hero .lead,
.about-hero .lead { color: var(--muted); max-width: 65ch; }
.policy-content h2 { margin-top: 2rem; }
.policy-content h3 { margin-top: 1.4rem; }
.policy-content ul { margin: 0 0 1rem; }
.toc-card {
  position: sticky;
  top: 108px;
}
.toc-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.toc-card a { color: var(--accent); }
.contact-form {
  display: grid;
  gap: 1rem;
}
.admin-note {
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.95rem;
}
.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}
.not-found .shell {
  width: min(720px, 100%);
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
@media (max-width: 1080px) {
  .tool-grid,
  .article-grid,
  .use-case-grid,
  .metrics-grid,
  .report-grid,
  .mini-card-grid,
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid,
  .page-hero-grid,
  .compare-columns,
  .contact-grid,
  .page-copy-grid,
  .comparison-grid,
  .two-col { grid-template-columns: 1fr; }
  .hero-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 840px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(7,17,32,0.97);
    border: 1px solid var(--line-dark);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav .nav-cta { width: 100%; }
  .section-head,
  .report-head,
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .field-grid,
  .mini-metrics,
  .mini-grid,
  .hero-strip,
  .info-grid.three-up,
  .tool-grid,
  .article-grid,
  .use-case-grid,
  .metrics-grid,
  .report-grid,
  .mini-card-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .toc-card { position: static; }
  .home-hero { padding-top: 3.5rem; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 1rem, 1180px); }
  .home-hero, .page-hero, .section, .section-tight, .page-shell, .policy-content { padding-left: 0; padding-right: 0; }
  .hero h1, .page-hero h1, .policy-content h1 { letter-spacing: -0.03em; }
  .dashboard-preview,
  .form-panel,
  .tool-card,
  .info-card,
  .article-card,
  .mini-card,
  .contact-card,
  .comparison-card,
  .note-box,
  .policy-shell,
  .callout,
  .team-card,
  .report-shell,
  .toc-card { border-radius: 22px; }
  th, td { padding: 0.8rem 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
/* Blog section styles */
.blog-page-grid,
.article-hero-shell,
.article-layout,
.blog-grid {
  display: grid;
  gap: 1.35rem;
}
.blog-page-grid,
.article-hero-shell { grid-template-columns: 1.08fr 0.92fr; align-items: start; }
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-card h3 a,
.blog-hero-card h2 a { color: inherit; }
.blog-hero-card,
.article-prose,
.author-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}
.blog-hero-card {
  padding: 1.6rem;
  color: var(--text);
}
.hero-aside-card {
  align-self: stretch;
}
.article-hero-meta,
.post-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
.article-hero-meta { color: #d7e1f5; margin-top: 1rem; }
.post-meta { color: var(--muted); font-size: 0.94rem; margin: 1rem 0; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(91,124,250,0.1);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}
.tag.dark {
  background: rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.compact-grid { grid-template-columns: repeat(3, 1fr); }
.blog-card.compact h3 { font-size: 1.1rem; }
.article-layout { grid-template-columns: minmax(0, 2fr) minmax(280px, 0.88fr); align-items: start; }
.article-prose {
  padding: 1.75rem;
}
.article-prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.15;
}
.article-prose h3 { margin: 1.4rem 0 0.6rem; }
.article-prose ul,
.article-prose ol { margin: 0 0 1rem 1.15rem; }
.article-prose blockquote {
  margin: 1.2rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent);
  border-radius: 18px;
  background: #f7f9ff;
}
.article-aside {
  display: grid;
  gap: 1rem;
}
.article-summary-box {
  margin-bottom: 1.2rem;
}
.key-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}
.key-points li {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
.inline-resource-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
}
.author-card {
  padding: 1.4rem;
}
.hero-strip.mini {
  margin-top: 1.1rem;
  grid-template-columns: repeat(3, 1fr);
}
.hero-strip.mini article {
  padding: 0.95rem 0.85rem;
  background: rgba(91,124,250,0.08);
  box-shadow: inset 0 0 0 1px rgba(91,124,250,0.12);
  color: var(--text);
}
.hero-strip.mini span {
  color: var(--muted);
}
@media (max-width: 1080px) {
  .blog-page-grid,
  .article-hero-shell,
  .article-layout,
  .blog-grid,
  .compact-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
}
@media (max-width: 840px) {
  .blog-page-grid,
  .article-hero-shell,
  .blog-grid,
  .compact-grid { grid-template-columns: 1fr; }
  .article-prose { padding: 1.35rem; }
  .hero-strip.mini { grid-template-columns: 1fr; }
}
