:root {
  --bg: #070b14;
  --bg-2: #0e1524;
  --panel: #121a2b;
  --panel-2: #182235;
  --line: rgba(255,255,255,.08);
  --text: #e8eef8;
  --muted: #94a0b8;
  --soft: #c5cee0;
  --red: #ff3b4a;
  --red-deep: #c8102e;
  --cream: #f4ebe0;
  --blue: #5b8cff;
  --green: #3dd68c;
  --r: 22px;
  --shadow: 0 24px 60px rgba(0,0,0,.35);
  --wrap: 1120px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255,59,74,.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(91,140,255,.12), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7,11,20,.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -.02em;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--red), #ff7a59);
  box-shadow: 0 8px 24px rgba(255,59,74,.35);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 8px;
  border: 2px solid rgba(255,255,255,.85); border-radius: 6px;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.nav-links a {
  padding: 8px 12px; border-radius: 999px; color: var(--muted);
  font-size: 14px; font-weight: 500;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff; background: rgba(255,255,255,.06);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 18px; border-radius: 999px;
  border: 0; font-weight: 600; font-size: 14px; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #ff5562; }
.btn-ghost {
  background: rgba(255,255,255,.06); color: #fff;
  border: 1px solid var(--line);
}
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px;
  padding: 48px 0 28px; align-items: end;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px;
}
.kicker i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 4px rgba(255,59,74,.2);
}
h1 {
  font-family: var(--display); font-weight: 560;
  font-size: clamp(36px, 6vw, 64px); line-height: 1.05;
  letter-spacing: -.03em; margin: 0 0 16px; max-width: 14ch;
}
.lede { color: var(--soft); font-size: 18px; max-width: 42ch; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-card {
  background: linear-gradient(160deg, rgba(255,59,74,.16), transparent 40%), var(--panel);
  border: 1px solid var(--line); border-radius: 28px;
  padding: 22px; box-shadow: var(--shadow); min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-card .tag {
  align-self: flex-start; font-size: 12px; font-weight: 600;
  color: var(--cream); background: rgba(255,255,255,.08);
  padding: 6px 10px; border-radius: 999px;
}
.hero-card h2 {
  font-family: var(--display); font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1; margin: 18px 0 10px; letter-spacing: -.02em;
}
.hero-card p { color: var(--muted); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.chip {
  font-size: 13px; font-weight: 500; color: var(--soft);
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  padding: 8px 12px; border-radius: 999px;
}
.section { padding: 18px 0 40px; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}
.section-head h2 {
  font-family: var(--display); font-size: clamp(26px, 3vw, 34px);
  margin: 0; letter-spacing: -.02em;
}
.section-head a { color: var(--muted); font-size: 14px; font-weight: 500; }
.section-head a:hover { color: #fff; }
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255,59,74,.35); }
.cover {
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 40%),
    var(--c, linear-gradient(135deg, #1d2a44, #0f1729));
  position: relative;
}
.cover .badge {
  position: absolute; left: 12px; top: 12px;
  background: rgba(0,0,0,.45); backdrop-filter: blur(8px);
  border: 1px solid var(--line); color: #fff;
  font-size: 11px; font-weight: 600; padding: 5px 8px; border-radius: 999px;
}
.card-body { padding: 16px 16px 18px; }
.card-body h3 {
  margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em; line-height: 1.3;
}
.meta { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.card-body p { margin: 0; color: var(--soft); font-size: 14px; }
.filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.filters button {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 13px;
  cursor: pointer;
}
.filters button.active, .filters button:hover {
  color: #fff; background: rgba(255,59,74,.15); border-color: rgba(255,59,74,.4);
}
.page-hero { padding: 42px 0 10px; }
.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px); max-width: 18ch; margin-bottom: 10px;
}
.page-hero .lede { margin-bottom: 8px; }
.article {
  max-width: 720px; margin: 0 auto; padding: 28px 0 60px;
}
.article .meta { margin-bottom: 18px; }
.article h1 { max-width: none; font-size: clamp(32px, 5vw, 48px); }
.article p { color: var(--soft); font-size: 17px; }
.article h2 {
  font-family: var(--display); font-size: 28px; margin: 28px 0 10px;
}
.note {
  color: var(--muted); font-size: 13px; border-top: 1px solid var(--line);
  padding-top: 18px; margin-top: 28px;
}
.cta {
  margin: 10px 0 50px; padding: 28px;
  border-radius: 28px; border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255,59,74,.14), transparent 45%),
    var(--panel);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  justify-content: space-between;
}
.cta h2 { font-family: var(--display); margin: 0 0 6px; font-size: 28px; }
.cta p { margin: 0; color: var(--muted); }
.site-footer {
  border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted);
  font-size: 13px;
}
.footer-grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; width: 100%; }
  .nav { flex-wrap: wrap; }
}

/* Article media */
.article .hero-img {
  margin: 8px 0 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.article .hero-img img { width: 100%; height: auto; }
.article figure {
  margin: 28px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.article figure img { width: 100%; height: auto; }
.article figcaption {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  padding: 12px 14px 14px;
}
.article .lede-graf {
  font-size: 19px;
  color: var(--cream);
  line-height: 1.5;
}
