:root {
  --primary: #07111f;
  --primary-hover: #0d1b2a;
  --accent: #00d4ff;
  --accent-hover: #6ee7ff;
  --signal: #47f5a9;
  --warning: #f59e0b;
  --danger: #ef4444;
  --bg: #07111f;
  --bg-soft: #0b1627;
  --surface: #0d1b2a;
  --surface-2: #10243a;
  --surface-3: #132c46;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-soft: #cbd5e1;
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(0, 212, 255, 0.32);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 212, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 8%, rgba(71, 245, 169, 0.08), transparent 24rem),
    linear-gradient(180deg, #07111f 0%, #081421 45%, #07111f 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

button, input, textarea, select {
  font: inherit;
}

.public-container,
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.public-main {
  padding-top: 74px;
}

.section-wrap {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 18px rgba(71, 245, 169, 0.55);
}

.section-title {
  margin: 8px 0 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--text-muted);
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(15, 23, 42, 0.72);
  font-weight: 800;
  font-size: 13px;
}

.btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  color: #04111f;
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(0, 212, 255, 0.18);
}

.btn-primary:hover {
  color: #04111f;
}

.btn-ghost {
  background: rgba(13, 27, 42, 0.72);
}

.public-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(7, 17, 31, 0.84);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.public-nav__inner {
  width: min(var(--container), calc(100% - 32px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
}

.public-brand__mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.16), rgba(71, 245, 169, 0.08));
  border: 1px solid var(--border-strong);
  flex: 0 0 auto;
}

.public-brand__logo {
  max-width: 160px;
  max-height: 40px;
  object-fit: contain;
}

.public-brand__name {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-brand__tag {
  display: block;
  margin-top: -2px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
}

.public-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.public-nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: var(--radius);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.public-nav__links a:hover,
.public-nav__links a.active {
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
}

.public-search {
  position: relative;
}

.public-search__button,
.public-menu-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(13, 27, 42, 0.82);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.public-menu-toggle {
  display: none;
}

.public-search__button:hover,
.public-menu-toggle:hover {
  border-color: var(--border-strong);
  color: var(--accent);
}

.public-search__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(340px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.98);
  box-shadow: var(--shadow);
}

.public-search__dropdown.active {
  display: block;
}

.public-search__dropdown input,
.field {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(15, 23, 42, 0.86);
  outline: none;
}

.public-search__dropdown input:focus,
.field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 14px 20px 20px;
  background: rgba(7, 17, 31, 0.98);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
  display: grid;
  gap: 6px;
}

.mobile-menu a {
  padding: 11px 12px;
  border-radius: var(--radius);
  color: var(--text-soft);
  font-weight: 800;
}

.mobile-menu a:hover {
  background: rgba(0, 212, 255, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 64px;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(0, 212, 255, 0.12), transparent 34%),
    radial-gradient(circle at 82% 36%, rgba(71, 245, 169, 0.15), transparent 18rem);
}

.hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -140px;
  top: -120px;
  opacity: 0.3;
  background-image:
    linear-gradient(60deg, transparent 48%, rgba(0, 212, 255, 0.45) 49%, rgba(0, 212, 255, 0.45) 51%, transparent 52%),
    linear-gradient(120deg, transparent 48%, rgba(71, 245, 169, 0.28) 49%, rgba(71, 245, 169, 0.28) 51%, transparent 52%);
  background-size: 92px 92px;
  transform: rotate(8deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  max-width: 820px;
  margin: 16px 0 18px;
  color: var(--text);
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero p {
  max-width: 680px;
  margin: 0 0 28px;
  color: var(--text-soft);
  font-size: clamp(16px, 2vw, 19px);
}

.hero-panel {
  position: relative;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(16, 36, 58, 0.82), rgba(13, 27, 42, 0.72));
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 6px;
  pointer-events: none;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.metric {
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.62);
}

.metric__value {
  display: block;
  color: var(--accent);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.metric__label {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 13px;
}

.signal-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 16px rgba(71, 245, 169, 0.7);
}

.topic-grid,
.trust-grid,
.article-grid,
.index-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.topic-grid {
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid {
  grid-template-columns: repeat(3, 1fr);
}

.article-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.topic-card,
.trust-card,
.article-card,
.index-card,
.panel,
.contact-card,
.author-card,
.cat-header,
.archive-header,
.gmr-toc,
.gmr-author-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(13, 27, 42, 0.78);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.topic-card,
.trust-card,
.index-card {
  padding: 22px;
}

.index-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  isolation: isolate;
}

.index-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.1), transparent 38%),
    radial-gradient(circle at 100% 0%, rgba(71, 245, 169, 0.11), transparent 10rem);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.topic-card:hover,
.index-card:hover,
.article-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.index-card:hover::before {
  opacity: 1;
}

.topic-icon,
.index-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.18);
  font-weight: 900;
}

.index-icon {
  width: 50px;
  height: 50px;
  background:
    linear-gradient(145deg, rgba(0, 212, 255, 0.16), rgba(71, 245, 169, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.index-icon svg {
  width: 25px;
  height: 25px;
}

.category-count {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 10px;
  border: 1px solid rgba(71, 245, 169, 0.24);
  border-radius: 999px;
  color: var(--signal);
  background: rgba(71, 245, 169, 0.08);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topic-card h3,
.trust-card h3,
.index-card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 17px;
}

.topic-card p,
.trust-card p,
.index-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.article-card {
  overflow: hidden;
  background: rgba(13, 27, 42, 0.82);
}

.article-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.14), rgba(71, 245, 169, 0.08)),
    #0b1627;
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.article-card:hover .article-card-img img {
  transform: scale(1.035);
  opacity: 0.9;
}

.article-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.card-cat,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #05111f;
  background: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card-img .card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
}

.article-card-body {
  padding: 18px;
}

.article-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.3;
}

.article-card p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 14px;
}

.card-meta,
.entry-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 12px;
}

.story-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 18px;
  padding: 16px;
}

.story-card .content-thumbnail {
  width: 100%;
}

.story-card .content-thumbnail img,
.story-card .content-thumbnail .article-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  background: #0b1627;
}

.entry-title {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.24;
}

.entry-content {
  color: var(--text-muted);
}

.entry-content p {
  margin: 0;
}

.archive-header,
.cat-header {
  margin: 24px 0 28px;
  padding: 26px;
}

.archive-header h1,
.cat-header h1 {
  margin: 8px 0 6px;
  color: var(--text);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
}

.archive-header p,
.cat-header p {
  max-width: 720px;
  margin: 0;
  color: var(--text-muted);
}

.gmr-breadcrumb {
  width: min(var(--container), calc(100% - 40px));
  margin: 22px auto 0;
  color: var(--text-muted);
  font-size: 12px;
}

.gmr-breadcrumb a {
  color: var(--text-soft);
}

.gmr-breadcrumb span {
  color: var(--accent);
}

.gmr-single {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 60px;
}

.gmr-single .entry-header {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.gmr-single .entry-title {
  color: var(--text);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.entry-content-single {
  color: #dbe7f5;
  font-size: 17px;
  line-height: 1.82;
}

.entry-content-single h2,
.entry-content-single h3,
.entry-content-single h4 {
  color: var(--text);
  line-height: 1.18;
  letter-spacing: 0;
}

.entry-content-single h2 {
  margin: 2em 0 0.7em;
  padding-bottom: 0.45em;
  border-bottom: 1px solid var(--border);
  font-size: 1.55em;
}

.entry-content-single h3 {
  margin: 1.6em 0 0.6em;
  font-size: 1.25em;
}

.entry-content-single p,
.entry-content-single ul,
.entry-content-single ol {
  margin-bottom: 1.2em;
}

.entry-content-single a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content-single blockquote {
  margin: 1.6em 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-soft);
  background: rgba(0, 212, 255, 0.08);
}

.entry-content-single code {
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-hover);
  background: rgba(0, 212, 255, 0.09);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
}

.entry-content-single pre {
  margin: 1.5em 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #020817;
}

.entry-content-single pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.entry-content-single img {
  border-radius: var(--radius);
}

.gmr-toc {
  padding: 18px;
  margin-bottom: 26px;
}

.gmr-toc h4 {
  margin: 0 0 10px;
  color: var(--text);
}

.gmr-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gmr-toc li {
  margin: 6px 0;
}

.gmr-toc a {
  color: var(--text-muted);
  font-size: 14px;
}

.gmr-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.gmr-share a {
  padding: 9px 14px;
  border-radius: var(--radius);
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(13, 27, 42, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.tags-links a,
.tag-chip {
  display: inline-flex;
  align-items: center;
  margin: 3px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(13, 27, 42, 0.72);
  font-size: 12px;
}

.gmr-author-box {
  display: flex;
  gap: 18px;
  margin-top: 30px;
  padding: 22px;
}

.author-avatar img,
.author-initial {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
}

.author-initial {
  display: grid;
  place-items: center;
  color: #04111f;
  background: var(--accent);
  font-size: 28px;
  font-weight: 900;
}

.author-name {
  color: var(--text);
  font-weight: 900;
}

.author-title,
.author-desc {
  color: var(--text-muted);
  font-size: 14px;
}

.gmr-related {
  margin-top: 38px;
}

.gmr-related h3 {
  color: var(--text);
  font-size: 22px;
}

.gmr-related ul {
  padding: 0;
  list-style: none;
}

.gmr-related li {
  margin-bottom: 10px;
}

.related-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 50%;
  color: #04111f;
  background: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.research-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.1), rgba(71, 245, 169, 0.05)),
    rgba(7, 17, 31, 0.72);
}

.research-inner {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: center;
}

.research-inner h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 44px);
}

.research-inner p {
  margin: 0;
  color: var(--text-soft);
}

.research-note {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(2, 8, 23, 0.42);
}

.contact-layout {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.contact-card,
.panel {
  padding: 24px;
}

.contact-card h1,
.panel h1 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(34px, 5vw, 52px);
}

.contact-card h2,
.contact-card h3,
.panel h2,
.panel h3 {
  color: var(--text);
}

.contact-card p,
.panel p,
.contact-card li,
.panel li {
  color: var(--text-muted);
}

.info-box {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.52);
}

.info-box .label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-stack {
  display: grid;
  gap: 11px;
}

.form-button {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  color: #04111f;
  background: var(--accent);
  font-weight: 900;
  cursor: pointer;
}

.gmr-pagination {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.gmr-pagination .page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gmr-pagination a,
.gmr-pagination .page-current,
.gmr-pagination .page-dots {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(13, 27, 42, 0.72);
  color: var(--text-soft);
  font-weight: 800;
}

.gmr-pagination .page-current,
.gmr-pagination a:hover {
  color: #04111f;
  background: var(--accent);
  border-color: var(--accent);
}

.empty-state,
.ad-top,
.ad-mid,
.acms-ad {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: rgba(13, 27, 42, 0.42);
}

.empty-state {
  width: min(var(--container), calc(100% - 40px));
  margin: 34px auto;
  padding: 44px 20px;
  text-align: center;
  color: var(--text-muted);
}

.ad-top-wrap,
.ad-mid-wrap {
  width: min(var(--container), calc(100% - 40px));
  margin: 22px auto;
}

.ad-top,
.ad-mid {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.site-footer {
  margin-top: 56px;
  padding: 50px 0 0;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
  background: rgba(2, 8, 23, 0.74);
}

.ft-grid {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 30px;
}

.ft-heading {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ft-brand p,
.ft-grid a,
.ft-grid li {
  color: var(--text-muted);
  font-size: 13px;
}

.ft-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.ft-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ft-social a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-soft);
  background: rgba(13, 27, 42, 0.62);
}

.ft-social svg {
  width: 15px;
  height: 15px;
}

.ft-bottom {
  width: min(var(--container), calc(100% - 40px));
  margin: 34px auto 0;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 12px;
}

#cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 920px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-soft);
  background: rgba(7, 17, 31, 0.98);
  box-shadow: var(--shadow);
  font-size: 13px;
}

#cookie-banner a {
  color: var(--accent);
}

.cookie-btn {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 800;
}

.cookie-accept {
  color: #04111f;
  background: var(--accent);
}

.cookie-decline {
  color: var(--text-soft);
  background: rgba(13, 27, 42, 0.88);
}

.hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .hero-inner,
  .research-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 520px;
  }

  .topic-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid,
  .ft-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .public-nav__links {
    display: none;
  }

  .public-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .public-container,
  .container,
  .section-wrap,
  .gmr-breadcrumb,
  .gmr-single,
  .contact-layout,
  .empty-state {
    width: min(100% - 28px, var(--container));
  }

  .public-main {
    padding-top: 66px;
  }

  .public-nav__inner {
    height: 66px;
    width: calc(100% - 24px);
  }

  .mobile-menu {
    top: 66px;
  }

  .public-brand__tag {
    display: none;
  }

  .hero {
    padding: 62px 0 44px;
  }

  .hero-inner {
    width: min(100% - 28px, var(--container));
    gap: 28px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 30px;
    line-height: 1.03;
  }

  .hero p {
    max-width: 340px;
    font-size: 15px;
  }

  .hero .btn-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero .btn {
    width: 100%;
  }

  .topic-grid,
  .trust-grid,
  .article-grid,
  .index-grid,
  .ft-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .ft-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1180px) {
  .index-grid.category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) and (max-width: 1179px) {
  .index-grid.category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 721px) and (max-width: 899px) {
  .index-grid.category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.index-grid.category-grid .index-card {
  min-width: 0;
  min-height: 184px;
  height: 100%;
}

/* Editorial light theme override */
:root {
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --accent: #0b72b9;
  --accent-hover: #075985;
  --signal: #0f9f6e;
  --bg: #f4f7fb;
  --bg-soft: #eef3f8;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #eef6ff;
  --text: #172033;
  --text-muted: #64748b;
  --text-soft: #334155;
  --border: #d9e2ec;
  --border-strong: #8cc7ea;
  --shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  --container: 1680px;
}

body {
  color: var(--text);
  background: var(--bg);
}

body::before {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  opacity: 0.45;
}

.public-container,
.container,
.section-wrap,
.hero-inner,
.research-inner,
.gmr-breadcrumb,
.ad-top-wrap,
.ad-mid-wrap,
.ft-grid,
.ft-bottom {
  width: min(var(--container), calc(100% - 24px));
}

.public-main {
  padding-top: 68px;
}

.section-wrap {
  padding: 34px 0;
}

.public-nav {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.public-nav__inner {
  width: min(var(--container), calc(100% - 24px));
  height: 68px;
}

.public-brand,
.public-brand__name,
.section-title,
.topic-card h3,
.trust-card h3,
.index-card h3,
.article-card h3,
.entry-title,
.archive-header h1,
.cat-header h1,
.gmr-single .entry-title,
.gmr-toc h4,
.gmr-related h3,
.contact-card h1,
.panel h1,
.contact-card h2,
.contact-card h3,
.panel h2,
.panel h3 {
  color: var(--text);
}

.public-brand__mark {
  color: var(--accent);
  background: #eaf6ff;
  border-color: #b8ddf3;
}

.public-brand__tag,
.public-nav__links a {
  color: var(--text-muted);
}

.public-nav__links a:hover,
.public-nav__links a.active {
  color: var(--accent);
  background: #eaf6ff;
}

.public-search__button,
.public-menu-toggle {
  color: var(--text);
  background: #ffffff;
  border-color: var(--border);
}

.public-search__dropdown,
.mobile-menu {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.mobile-menu a {
  color: var(--text-soft);
}

.public-search__dropdown input,
.field {
  color: var(--text);
  background: #ffffff;
  border-color: var(--border);
}

.hero {
  padding: 54px 0 44px;
  background:
    linear-gradient(90deg, #ffffff 0%, #f7fbff 58%, #edf6ff 100%);
  border-bottom: 1px solid var(--border);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(11, 114, 185, 0.08), transparent 42%),
    radial-gradient(circle at 90% 18%, rgba(15, 159, 110, 0.09), transparent 18rem);
}

.hero::after {
  opacity: 0.08;
}

.hero-inner {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
}

.hero h1 {
  max-width: 860px;
  color: var(--text);
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.02;
}

.hero p {
  max-width: 790px;
  color: var(--text-soft);
}

.hero-panel,
.metric,
.card,
.topic-card,
.trust-card,
.article-card,
.index-card,
.panel,
.contact-card,
.author-card,
.cat-header,
.archive-header,
.gmr-toc,
.gmr-author-box,
.research-note,
.info-box,
.ad-top,
.ad-mid,
.acms-ad {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  border-color: #d9eaf6;
}

.metric__value,
.eyebrow,
.index-icon,
.topic-icon,
.entry-content-single a,
.gmr-breadcrumb span {
  color: var(--accent);
}

.metric__label,
.section-copy,
.topic-card p,
.trust-card p,
.index-card p,
.article-card p,
.card-meta,
.entry-meta,
.archive-header p,
.cat-header p,
.entry-content,
.gmr-breadcrumb,
.author-title,
.author-desc,
.contact-card p,
.panel p,
.contact-card li,
.panel li {
  color: var(--text-muted);
}

.signal-list li {
  color: var(--text-soft);
}

.signal-list li::before,
.eyebrow::before {
  background: var(--signal);
  box-shadow: none;
}

.btn {
  color: var(--text);
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.btn:hover {
  color: var(--accent);
  border-color: var(--border-strong);
}

.btn-primary,
.form-button,
.gmr-pagination .page-current,
.gmr-pagination a:hover {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(11, 114, 185, 0.18);
}

.btn-primary:hover {
  color: #ffffff;
  background: var(--accent-hover);
}

.btn-ghost {
  background: #ffffff;
}

.article-card {
  background: #ffffff;
}

.article-card-img,
.article-placeholder {
  background: #eaf0f6;
}

.card-cat,
.pill {
  color: #ffffff;
  background: var(--accent);
}

.category-count {
  color: #0b6b4b;
  background: #e9f8f2;
  border-color: #bfead8;
}

.index-icon,
.topic-icon {
  background: #edf7ff;
  border-color: #c7e4f6;
}

.index-card::before {
  background: linear-gradient(135deg, rgba(11, 114, 185, 0.06), transparent 48%);
}

.article-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.topic-grid,
.index-grid.category-grid {
  gap: 20px;
}

.story-card .content-thumbnail img,
.story-card .content-thumbnail .article-placeholder {
  background: #eaf0f6;
}

.entry-content-single {
  color: var(--text-soft);
}

.entry-content-single h2,
.entry-content-single h3,
.entry-content-single h4,
.entry-content-single strong {
  color: var(--text);
}

.entry-content-single blockquote {
  color: var(--text-soft);
  background: #eef7ff;
}

.entry-content-single code {
  color: #075985;
  background: #eaf6ff;
}

.entry-content-single pre {
  color: #dbeafe;
  background: #0f172a;
}

.research-band,
.site-footer {
  background: #ffffff;
  border-color: var(--border);
}

.research-inner h2,
.ft-heading {
  color: var(--text);
}

.research-inner p,
.ft-brand p,
.ft-grid a,
.ft-grid li,
.ft-bottom {
  color: var(--text-muted);
}

.ft-social a,
.gmr-pagination a,
.gmr-pagination .page-dots,
.tags-links a,
.tag-chip,
.gmr-share a {
  color: var(--text-soft);
  background: #ffffff;
  border-color: var(--border);
}

#cookie-banner {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--border);
}

.cookie-accept {
  color: #ffffff;
  background: var(--accent);
}

.cookie-decline {
  color: var(--text-soft);
  background: #f8fafc;
}

@media (min-width: 1320px) {
  .article-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (max-width: 720px) {
  .public-main {
    padding-top: 66px;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }
}
