:root {
  --bg: #0c0f14;
  --surface: #141a24;
  --surface2: #1c2433;
  --text: #e8edf5;
  --muted: #9aa8bc;
  --accent: #e63946;
  --accent2: #ff6b6b;
  --gold: #f4a261;
  --border: #2a3548;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.skip {
  position: absolute; left: -9999px; top: 0;
}
.skip:focus { left: 1rem; z-index: 99; background: #fff; color: #000; padding: .5rem; }

.ticker {
  background: linear-gradient(90deg, #8b0000, var(--accent));
  color: #fff;
  font-size: .85rem;
  padding: .45rem 1rem;
  display: flex;
  gap: .75rem;
  align-items: center;
  overflow: hidden;
}
.ticker-label {
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
}
.ticker-text { opacity: .95; }

.site-header {
  background: rgba(12, 15, 20, .92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.logo-mark {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #111;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 900;
}
.logo-text { font-size: 1.05rem; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  align-items: center;
}
.nav a { color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-weight: 600;
}

.hero {
  padding: 3rem 0 2.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% -20%, rgba(230, 57, 70, .25), transparent),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(244, 162, 97, .12), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.hero-lead { color: var(--muted); font-size: 1.1rem; max-width: 42rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.badge {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .8rem;
  color: var(--muted);
}

.section { padding: 2.5rem 0; }
.section h2 {
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
  border-left: 4px solid var(--accent);
  padding-left: .75rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: border-color .2s, transform .2s;
}
.news-card:hover {
  border-color: rgba(230, 57, 70, .5);
  transform: translateY(-2px);
}
.news-meta { font-size: .8rem; color: var(--muted); margin: 0; }
.news-meta span { color: var(--gold); font-weight: 600; }
.news-card h3 { margin: 0; font-size: 1.1rem; line-height: 1.35; }
.news-card h3 a { color: var(--text); text-decoration: none; }
.news-card h3 a:hover { color: var(--accent2); }
.read-more { font-size: .85rem; font-weight: 600; margin-top: auto; }

.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.sidebar-box h3 { margin-top: 0; font-size: 1rem; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li {
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.sidebar-list li:last-child { border-bottom: 0; }

.newsletter {
  background: linear-gradient(145deg, var(--surface2), #0f1520);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}
.newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}
.newsletter input[type="email"] {
  flex: 1 1 220px;
  padding: .75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}
.newsletter button {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: .75rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}
.newsletter button:hover { filter: brightness(1.08); }

.article-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}
.article-page h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.article-body { color: #c5d0e0; }
.article-body p { margin: 1rem 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; }
.tag {
  font-size: .75rem;
  background: var(--surface2);
  padding: .25rem .55rem;
  border-radius: 6px;
  color: var(--muted);
}

.page-intro { color: var(--muted); max-width: 40rem; margin-bottom: 2rem; }

.prose { max-width: 720px; }
.prose h2 { margin-top: 2rem; }

.site-footer {
  border-top: 1px solid var(--border);
  background: #080a0e;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.footer-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.footer-links { list-style: none; padding: 0; margin: .5rem 0 0; }
.footer-links a { color: var(--muted); }
.footer-disclaimer { font-size: .8rem; color: var(--muted); margin-top: .75rem; }
.copy { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 2rem; }
