/* ============================================================
   GMD — Global Macro Drivers  |  Design System
   ============================================================ */

:root {
  --bg:          #080B12;
  --bg-card:     #0b0f1a;
  --bg-elevated: #0f1520;
  --bg-hover:    #131824;
  --border:      rgba(148,163,184,0.10);
  --border-med:  rgba(148,163,184,0.16);
  --text-1:      #f1f5f9;
  --text-2:      #cdd8e8;
  --text-3:      #b0c4d8;
  --blue:        #3b82f6;
  --blue-light:  #60a5fa;
  --blue-glow:   rgba(59,130,246,0.15);
  --cyan:        #67e8f9;
  --emerald:     #6ee7b7;
  --amber:       #fcd34d;
  --red:         #f87171;
  --up:          #34d399;
  --down:        #f87171;
  --flat:        #94a3b8;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-2xl:  24px;
  --radius-3xl:  32px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }

/* ---- Utilities ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }
.section-sm { padding: 32px 0; }

.label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}

.label-blue { color: var(--blue-light); }
.label-cyan  { color: var(--cyan); }
.label-emerald { color: var(--emerald); }
.label-amber { color: var(--amber); }
.label-red   { color: var(--red); }

.section-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-top: 8px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 8px;
  max-width: 640px;
  line-height: 1.7;
}

/* ---- Card ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
}

.card-pad { padding: 24px; }
.card-pad-lg { padding: 32px; }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-blue   { background: rgba(59,130,246,0.12);  color: var(--blue-light); }
.badge-cyan   { background: rgba(103,232,249,0.10); color: var(--cyan); }
.badge-emerald{ background: rgba(110,231,183,0.10); color: var(--emerald); }
.badge-amber  { background: rgba(252,211,77,0.10);  color: var(--amber); }
.badge-red    { background: rgba(248,113,113,0.12); color: var(--red); border: 1px solid rgba(248,113,113,0.2); }
.badge-outline{ background: transparent; border: 1px solid var(--border-med); color: var(--text-2); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }

.btn-primary   { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-light); }

.btn-white     { background: #fff; color: #0a0f1e; }
.btn-white:hover { background: #e2e8f0; }

.btn-ghost     { background: transparent; color: var(--text-2); border: 1px solid var(--border-med); }
.btn-ghost:hover { background: var(--bg-elevated); color: var(--text-1); }

.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-full { width: 100%; }

/* ---- Change pills ---- */
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.pill-up    { background: rgba(52,211,153,0.12); color: var(--up); }
.pill-down  { background: rgba(248,113,113,0.12); color: var(--down); }
.pill-flat  { background: rgba(148,163,184,0.10); color: var(--flat); }

/* ============================
   HEADER
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(8,11,18,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.logo-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #60a5fa, var(--cyan), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(59,130,246,0.25);
  flex-shrink: 0;
}

.logo-icon::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 9px;
  background: var(--bg);
}

.logo-icon svg { position: relative; z-index: 1; }

.logo-dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.logo-text { line-height: 1; }
.logo-text .gmd { display: none; }
.logo-text .full { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-top: 0; }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
}
.site-nav a:hover { color: var(--text-1); background: rgba(255,255,255,0.07); }
.site-nav a.active { color: var(--text-1); background: rgba(255,255,255,0.05); }
.site-nav a.nav-premium {
  color: #fff;
  background: linear-gradient(135deg,#2563eb,#0ea5e9);
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 16px rgba(37,99,235,0.35);
  transition: box-shadow 0.2s, opacity 0.2s;
}
.site-nav a.nav-premium:hover, .site-nav a.nav-premium.active {
  opacity: 0.9;
  box-shadow: 0 0 28px rgba(37,99,235,0.55);
}

/* Pulsing live dot for breaking news */
@keyframes gmd-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(248,113,113,0.7); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(248,113,113,0); }
}
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: gmd-pulse 1.4s ease-in-out infinite;
  margin-right: 7px;
  vertical-align: middle;
  flex-shrink: 0;
}

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-shrink: 0; min-width: 170px; visibility: hidden; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-2);
  padding: 4px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 16px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ============================
   TICKER BAR
   ============================ */
.ticker-bar {
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  padding: 8px 0;
  user-select: none;
  -webkit-user-select: none;
}

.ticker-track {
  display: flex;
  gap: 32px;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}

/* Ticker scrolls continuously — prices are readable on the cross-asset board below */

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.ticker-label { color: var(--text-3); font-weight: 600; }
.ticker-value { color: var(--text-1); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--blue-light);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text-1);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 20px;
  max-width: 520px;
}

.why-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 28px;
}

.why-box p { font-size: 16px; color: var(--text-2); line-height: 1.75; margin-top: 8px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.sponsor-strip {
  margin-top: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 480px;
}

/* Hero brief card */
.brief-card { }

.brief-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.brief-breaking {
  background: rgba(248,113,113,0.10);
  border: 1px solid rgba(248,113,113,0.35);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(248,113,113,0.08), inset 0 1px 0 rgba(248,113,113,0.15);
}

.brief-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.meta-box {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.meta-box .meta-label { font-size: 10px; color: var(--text-3); margin-bottom: 4px; }
.meta-box .meta-value { font-size: 14px; font-weight: 700; }

/* ============================
   MARKET BOARD
   ============================ */
.market-board { }

.market-group { margin-bottom: 28px; }
.market-group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}

.market-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: border-color 0.15s;
}

.market-card:hover { border-color: var(--border-med); }

/* Persistent card direction colouring — set via data-dir on every data refresh */
.market-card[data-dir="up"]   { border-color: rgba(52,211,153,0.45);  background: rgba(52,211,153,0.04); }
.market-card[data-dir="down"] { border-color: rgba(248,113,113,0.45); background: rgba(248,113,113,0.04); }
.market-card[data-dir="flat"] { border-color: rgba(148,163,184,0.30); }
.market-card[data-dir="up"]:hover   { border-color: rgba(52,211,153,0.65); }
.market-card[data-dir="down"]:hover { border-color: rgba(248,113,113,0.65); }

.market-card .mc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.market-card .mc-label { font-size: 12px; color: var(--text-2); font-weight: 500; }
.market-card .mc-value { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }

.mc-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mc-range-box {
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 5px 8px;
  min-width: 0;
}

.mc-range-box .rl { font-size: 9px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.mc-range-box .rv { font-size: 11px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: visible; }

/* ============================
   BRIEF SECTIONS
   ============================ */
.brief-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.brief-main { display: flex; flex-direction: column; gap: 24px; }

.brief-section-card { }

.bs-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bs-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

/* Themes grid */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.theme-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(59,130,246,0.40);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 0 34px rgba(59,130,246,0.45), 0 0 80px rgba(59,130,246,0.24), 0 0 150px rgba(59,130,246,0.12), 0 10px 30px rgba(0,0,0,0.45);
}

.theme-card h3 { font-size: 15px; font-weight: 700; margin: 10px 0 6px; }
.theme-card p  { font-size: 15px; color: var(--text-2); line-height: 1.7; }

/* Headlines list */
.headline-list { display: flex; flex-direction: column; }

.headline-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  border-radius: 0;
  transition: background 0.15s, padding 0.15s, border-radius 0.15s, margin 0.15s, border-color 0.15s;
}

.headline-item:last-child { border-bottom: none; }
.headline-item:hover {
  background: var(--bg-elevated);
  padding: 18px 14px;
  border-radius: var(--radius-md);
  border-bottom-color: transparent;
  margin: 0 -14px;
}

.hl-outlet {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 6px;
}

.hl-title { font-size: 16px; font-weight: 600; color: var(--text-1); margin-bottom: 4px; }
.hl-summary { font-size: 16px; color: var(--text-3); line-height: 1.6; }

.hl-arrow { color: var(--text-3); flex-shrink: 0; margin-top: 2px; font-size: 16px; }
.headline-item:hover .hl-arrow { color: var(--text-1); }

/* Earnings table */
.earnings-table { width: 100%; border-collapse: collapse; }

.earnings-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.earnings-table td {
  padding: 12px 16px 12px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.earnings-table tr:last-child td { border-bottom: none; }

@media (max-width: 600px) {
  .earnings-table th, .earnings-table td { font-size: 12px; padding-right: 10px; }
  .earnings-table .col-guidance { display: none; }
  .earnings-table .co-name { font-size: 13px; }
}

.earnings-table .co-name { font-weight: 700; }
.earnings-table .co-ticker { font-size: 11px; color: var(--text-3); margin-top: 1px; }

.beat-badge  { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; background: rgba(52,211,153,0.12); color: var(--up); }
.miss-badge  { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; background: rgba(248,113,113,0.12); color: var(--down); }
.na-badge    { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; background: var(--bg-elevated); color: var(--text-3); }

/* Macro backdrop prose */
.macro-prose p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-2);
  margin-bottom: 14px;
}
.macro-prose p:last-child { margin-bottom: 0; }
.macro-prose strong { color: var(--text-1); font-weight: 600; }

/* Geopolitical section */
.geo-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 12px;
}
.geo-item:last-child { margin-bottom: 0; }
.geo-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.geo-item p  { font-size: 15px; color: var(--text-2); line-height: 1.75; }

/* Sidebar */
.brief-sidebar { display: flex; flex-direction: column; gap: 16px; }

.sidebar-card { }

.calendar-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.calendar-item:last-child { border-bottom: none; }
.calendar-time { color: var(--text-3); font-variant-numeric: tabular-nums; flex-shrink: 0; width: 72px; }
.calendar-event { color: var(--text-2); }

.ad-slot {
  border: 1px dashed var(--border-med);
  border-radius: var(--radius-xl);
  padding: 20px;
  text-align: center;
}

/* ============================
   REGIONAL BRIEFS
   ============================ */
.regional-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.regional-card { }
.regional-card h3 { font-size: 18px; font-weight: 800; margin: 8px 0 12px; }
.regional-card .r-focus { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }

/* ============================
   HEAT MAP PAGE
   ============================ */
.hm-score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.hm-score-box {
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
}

.hm-score-box .score-num {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hm-score-box .score-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 8px;
}

.hm-risk-off  { background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.18); }
.hm-risk-off  .score-num { color: var(--red); }
.hm-risk-off  .score-label { color: rgba(248,113,113,0.7); }

.hm-risk-on   { background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.18); }
.hm-risk-on   .score-num { color: var(--up); }
.hm-risk-on   .score-label { color: rgba(52,211,153,0.7); }

.hm-neutral   { background: rgba(148,163,184,0.06); border: 1px solid var(--border-med); }
.hm-neutral   .score-num { color: var(--text-2); }
.hm-neutral   .score-label { color: var(--text-3); }

.hm-net-tone {
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hm-net-tone.risk-off {
  background: rgba(248,113,113,0.06);
  border: 1px solid rgba(248,113,113,0.20);
}

.net-tone-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.net-tone-value { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.net-tone-value.risk-off { color: var(--red); }

.hm-dev-table { width: 100%; border-collapse: collapse; }

.hm-dev-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--border);
}

.hm-dev-table td {
  padding: 14px 16px 14px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.hm-dev-table tr:last-child td { border-bottom: none; }

.hm-dev-table .dev-source { font-size: 11px; color: var(--text-3); font-weight: 600; }
.hm-dev-table .dev-why    { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-top: 4px; }

.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.signal-risk-off { background: rgba(248,113,113,0.12); color: var(--red); }
.signal-risk-on  { background: rgba(52,211,153,0.12); color: var(--up); }
.signal-neutral  { background: rgba(148,163,184,0.10); color: var(--text-2); }

/* ============================
   PREMIUM & PRICING
   ============================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.price-card {
  border-radius: var(--radius-2xl);
  padding: 28px;
}

.price-card.free {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.price-card.premium {
  background: linear-gradient(135deg, var(--bg-card), rgba(30,58,138,0.15));
  border: 1px solid rgba(59,130,246,0.2);
}

.price-name { font-size: 26px; font-weight: 900; margin: 8px 0 20px; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: var(--text-2);
}
.feature-list li::before {
  content: '✓';
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-card.free    .feature-list li::before { color: var(--emerald); }
.price-card.premium .feature-list li::before { color: var(--blue-light); }

/* Premium upsell banner */
.premium-banner {
  background: linear-gradient(135deg, var(--bg-card), rgba(15,23,42,0.8));
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: var(--radius-3xl);
  padding: 40px;
}

.premium-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.premium-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(15,21,32,0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.premium-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(59,130,246,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  flex-shrink: 0;
  font-size: 16px;
}

.premium-item p { font-size: 15px; font-weight: 600; color: var(--text-1); }

/* ============================
   ADVERTISE SECTION
   ============================ */
.ad-placements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.ad-placement-box {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.ad-placement-box h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.ad-placement-box p  { font-size: 14px; color: var(--text-3); }

/* ============================
   ABOUT
   ============================ */
.about-box {
  border-radius: var(--radius-3xl);
  padding: 40px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.about-box p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-2);
  margin-bottom: 20px;
  max-width: 760px;
}
.about-box p:last-child { margin-bottom: 0; }

/* ============================
   ADMIN / PUBLISHING FORM
   ============================ */
.admin-header {
  background: rgba(252,211,77,0.06);
  border-bottom: 1px solid rgba(252,211,77,0.15);
  padding: 14px 0;
  margin-bottom: 32px;
}

.admin-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-form-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.form-section {
  margin-bottom: 32px;
}

.form-section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-1);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--blue);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

.form-hint {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 4px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.market-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.market-row:last-child { border-bottom: none; }
.market-row-label { font-size: 13px; font-weight: 600; color: var(--text-2); }

.publish-bar {
  position: sticky;
  bottom: 0;
  background: rgba(8,11,18,0.95);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(12px);
}

.publish-status { font-size: 13px; color: var(--text-3); }
.publish-status.success { color: var(--emerald); }
.publish-status.error   { color: var(--red); }

/* ============================
   FOOTER
   ============================ */
/* ---- Disclaimer bar ---- */
.disclaimer-bar {
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  padding: 16px 0;
}

.disclaimer-text {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.7;
}

.disclaimer-text strong {
  color: var(--text-2);
  font-weight: 600;
}

/* ---- Inline disclaimer notice (on brief/premium pages) ---- */
.disclaimer-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(148,163,184,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 20px;
}

.disclaimer-notice svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--text-3);
}

.disclaimer-notice p {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.65;
  margin: 0;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 20px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy { font-size: 12px; color: var(--text-3); }

.footer-nav { display: flex; gap: 28px; }
.footer-nav a { font-size: 13px; font-weight: 600; color: var(--text-2); transition: color 0.15s; }
.footer-nav a:hover { color: var(--text-1); }

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--text-3); transition: color 0.15s; }
.footer-legal a:hover { color: var(--text-2); }

.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--text-3); transition: color 0.15s; }
.footer-links a:hover { color: var(--text-2); }

/* ============================
   RESPONSIVE
   ============================ */

/* Mid-range: nav tightens before it collapses */
@media (max-width: 1100px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 12px; }
  .header-inner { padding: 14px 16px; }
}

/* Mobile nav premium link colour */
.mobile-nav a.nav-premium { color: var(--blue-light); }

/* Mobile-only hero elements — hidden on desktop */
.hero-suite    { display: none; }
.hero-card-cta { display: none; }

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

  /* Mobile hero order: brand → tagline → credibility line → suite strip → brief card → promo.
     display:contents lets the first column's children participate in the grid order.
     Grid gap zeroed on mobile — spacing comes from each element's own margins. */
  .hero-grid          { gap: 0; }
  .hero-grid > div:first-child { display: contents; }
  .hero-brand         { order: 1; }
  .hero-tagline       { order: 2; }
  .hero-desc          { order: 3; margin-bottom: 12px !important; }
  .hero-desc-more     { display: none; }
  .hero-suite         { display: block; order: 4; font-size: 12.5px; font-weight: 600; color: var(--text-3); letter-spacing: 0.02em; margin-bottom: 20px; }
  .hero-grid > div:last-child { order: 5; }
  .hero-actions       { display: none; }
  #hero-trial-promo   { order: 7; margin-top: 20px; }
  .hero-card-cta      { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

  /* Slimmer brief card on mobile: tighter padding, softer glow, no breaking/summary.
     !important needed: card glow is set inline, and JS re-shows .brief-breaking inline. */
  .hero-grid > div:last-child .card { padding: 18px; box-shadow: 0 0 24px rgba(59,130,246,0.45), 0 0 60px rgba(59,130,246,0.25), 0 10px 30px rgba(0,0,0,0.6) !important; }
  .hero-grid .brief-breaking { display: none !important; }
  .hero-grid #hero-brief-summary { display: none; }
  .brief-layout       { grid-template-columns: 1fr; }
  .regional-grid      { grid-template-columns: 1fr; }
  .pricing-grid       { grid-template-columns: 1fr; }
  .premium-banner-grid{ grid-template-columns: 1fr; }
  .hm-score-grid      { grid-template-columns: 1fr 1fr 1fr; }
  .ad-placements-grid { grid-template-columns: 1fr; }
  .form-grid-2        { grid-template-columns: 1fr; }
  .form-grid-3        { grid-template-columns: 1fr 1fr; }
  .site-nav           { display: none; }
  .header-actions     { display: none; }
  .menu-toggle        { display: block; }
  .brief-sidebar      { display: none; }
}

@media (max-width: 600px) {
  .hm-score-grid      { grid-template-columns: 1fr; }
  .form-grid-3        { grid-template-columns: 1fr; }
  .market-grid        { grid-template-columns: 1fr 1fr; }
  .hero-title         { font-size: 26px; }
  .section            { padding: 40px 0; }
  .card-pad-lg        { padding: 20px; }
  .premium-banner     { padding: 24px; }
  .about-box          { padding: 24px; }
  .hm-net-tone        { flex-direction: column; align-items: flex-start; }
  .market-row         { grid-template-columns: 1fr 1fr; }
  .market-row-label   { grid-column: 1 / -1; }
}
