:root {
  --bg: #f4f7fb;
  --paper: #ffffff;
  --ink: #122033;
  --muted: #526174;
  --line: #dce5ef;
  --accent: #1769aa;
  --accent-2: #0f766e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.page {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

header { background: #13263d; color: #fff; }
header .container { max-width: 980px; margin: 0 auto; padding: 1rem; display: flex; align-items: center; justify-content: space-between; }
header .logo { color: #fff; font: 800 1.2rem/1 Arial, sans-serif; text-decoration: none; letter-spacing: .08em; }
header ul { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
header li a { color: #fff; font: 600 .9rem/1.2 Arial, sans-serif; text-decoration: none; }
footer { margin-top: 2rem; padding: 1.5rem 0; background: #13263d; color: #dbe7f2; font: .9rem/1.5 Arial, sans-serif; }
footer .container { max-width: 980px; margin: 0 auto; padding: 0 1rem; }
footer a { color: #fff; }

.eyebrow {
  margin: 0 0 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  font: 600 0.85rem/1.2 "Helvetica Neue", Arial, sans-serif;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font: 600 0.95rem/1.2 "Helvetica Neue", Arial, sans-serif;
  text-decoration: none;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.96;
}

.lede {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.meta {
  margin-top: 1rem;
  color: var(--muted);
  font: 500 0.95rem/1.6 "Helvetica Neue", Arial, sans-serif;
}

.grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.panel {
  padding: 1.35rem 1.4rem 1.45rem;
  background: rgba(255, 250, 241, 0.88);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(23, 55, 91, 0.08);
}

.panel h2 {
  margin: 0 0 0.65rem;
  font-size: 1.4rem;
  line-height: 1.2;
}

.panel p,
.panel li {
  line-height: 1.75;
}

.panel ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

.callout {
  font: 600 1rem/1.7 "Helvetica Neue", Arial, sans-serif;
  color: var(--accent-2);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.links a {
  display: inline-block;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  font: 600 0.95rem/1.2 "Helvetica Neue", Arial, sans-serif;
}

.live-feed {
  margin-top: 2rem;
  padding: 1.3rem;
  background: rgba(255, 250, 241, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(23, 55, 91, 0.08);
}

.live-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.live-feed-header h2 {
  margin: 0;
}

.channel-link {
  display: inline-block;
  padding: 0.7rem 1rem;
  background: var(--accent-2);
  color: #fff;
  text-decoration: none;
  font: 600 0.95rem/1.2 "Helvetica Neue", Arial, sans-serif;
}

.feed-shell {
  max-height: 38rem;
  overflow: auto;
  padding-right: 0.35rem;
  scroll-behavior: smooth;
}

.feed-list {
  display: grid;
  gap: 1rem;
}

.feed-item {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(23, 55, 91, 0.05);
}

.feed-item img {
  width: calc(100% + 2.4rem);
  margin: -1.15rem -1.2rem 1rem;
  height: 220px;
  object-fit: cover;
  display: block;
}

.feed-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.18rem;
  line-height: 1.3;
}

.feed-item p {
  margin: 0 0 0.8rem;
}

.feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font: 600 0.8rem/1.3 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feed-item .source-link {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  text-decoration: none;
  font: 600 0.92rem/1.2 "Helvetica Neue", Arial, sans-serif;
}

.feed-item .source-link:hover,
.links a:hover,
.back-link:hover { background: #eef6ff; }

@media (max-width: 640px) {
  .page {
    width: min(100% - 1.25rem, 980px);
  }

  .panel {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .live-feed {
    padding: 1rem;
  }

  .live-feed-header {
    align-items: start;
    flex-direction: column;
  }

  header .container { align-items: flex-start; flex-direction: column; gap: .9rem; }
  header ul { flex-wrap: wrap; }
}
