
:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202124;
  background: #f8f9fa;
  line-height: 1.55;
  --border: #dadce0;
  --muted: #5f6368;
  --surface: #fff;
  --accent: #1a73e8;
}
* { box-sizing: border-box; }
body { margin: 0; background: #f8f9fa; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.topbar { min-height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.25rem; font-weight: 750; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #202124; color: white; font-size: .9rem; }
.profile-nav { display: flex; align-items: center; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.profile-nav::-webkit-scrollbar { display: none; }
.nav-link { padding: 8px 11px; border-radius: 8px; text-decoration: none; white-space: nowrap; color: #3c4043; }
.nav-link:hover { background: #f1f3f4; }
.language-switcher { display: flex; gap: 3px; flex: 0 0 auto; }
.language-link { padding: 6px 8px; color: var(--muted); text-decoration: none; border-radius: 7px; font-size: .85rem; }
.language-link.active { color: #202124; background: #f1f3f4; font-weight: 650; }
.page { min-height: calc(100vh - 125px); padding-bottom: 56px; }
.home-hero { padding: 68px 0 48px; max-width: 760px; }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { letter-spacing: -.025em; }
.home-hero h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.02; }
.hero-copy, .feed-description { color: var(--muted); font-size: 1.05rem; max-width: 720px; }
.section-heading { margin: 0 0 14px; }
.section-heading h2 { margin: 0; font-size: 1.15rem; }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 14px; }
.profile-card { position: relative; display: block; min-height: 170px; padding: 23px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.profile-card:hover { transform: translateY(-2px); box-shadow: 0 5px 18px rgba(60,64,67,.10); }
.profile-card h3 { margin: 7px 0; font-size: 1.35rem; }
.profile-card p { color: var(--muted); margin: 0; max-width: 32ch; }
.card-kicker { color: var(--muted); font-size: .75rem; }
.card-arrow { position: absolute; right: 20px; bottom: 18px; color: var(--accent); font-size: 1.25rem; }
.feed-header { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 48px 0 20px; border-bottom: 1px solid var(--border); }
.feed-header h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); }
.history-link, .back-link, .read-more { color: var(--accent); text-decoration: none; font-weight: 650; white-space: nowrap; }
.notice, .empty-state { margin: 20px 0; padding: 13px 16px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.notice.stale { color: #7a4d00; background: #fff8e1; border-color: #f1dfad; }
.notice.error { color: #8a1c1c; background: #fff5f5; border-color: #e7b5b5; }
.news-list { display: grid; gap: 0; }
.news-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 24px 4px; border-bottom: 1px solid var(--border); }
.news-card:hover { background: rgba(255,255,255,.55); }
.news-card-main { min-width: 0; }
.article-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; flex-wrap: wrap; }
.dot { color: #9aa0a6; }
.news-card h2 { margin: 7px 0 8px; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.25; }
.news-card h2 a { text-decoration: none; }
.news-card h2 a:hover { color: var(--accent); }
.news-card p { margin: 0 0 11px; color: #4a4d51; max-width: 82ch; }
.read-more { font-size: .86rem; }
.importance { align-self: start; min-width: 44px; text-align: right; color: #8a8d91; font-size: .78rem; padding-top: 3px; }
.deprioritized { opacity: .68; }
.status-pill { padding: 2px 7px; border-radius: 999px; background: #f1f3f4; }
.article-page { max-width: 850px; margin: 48px auto; padding-bottom: 50px; }
.back-link { display: inline-block; margin-bottom: 28px; }
.article-page h1 { margin: 14px 0 20px; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; }
.article-lead { font-size: 1.22rem; line-height: 1.7; color: #4a4d51; }
.article-body { margin-top: 28px; font-size: 1.05rem; line-height: 1.85; white-space: pre-wrap; }
.article-sources { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.simple-page { padding: 48px 0 24px; }
.simple-page h1 { margin: 0 0 10px; }
.subscription-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.subscription-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.subscription-card h2 { margin-top: 0; }
.subscription-card p { color: var(--muted); }
code { display: block; padding: 9px 11px; background: #f1f3f4; border-radius: 7px; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--border); color: var(--muted); background: #fff; }
.footer-inner { min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: .78rem; }
@media (max-width: 760px) {
  .wrap { width: min(100% - 24px, 1180px); }
  .topbar { flex-wrap: wrap; gap: 8px 12px; padding: 9px 0; }
  .profile-nav { order: 3; flex-basis: 100%; }
  .language-switcher { margin-left: auto; }
  .home-hero { padding: 46px 0 34px; }
  .feed-header { align-items: start; flex-direction: column; }
  .news-card { grid-template-columns: 1fr; gap: 6px; }
  .importance { display: none; }
  .footer-inner { flex-direction: column; justify-content: center; padding: 14px 0; align-items: flex-start; }
}
