:root {
  --contentWidth: 52rem;
  --extendedContentWidth: 76rem;
  --primaryColor: #E2231A;
  --backgroundColor: #000000;
  --textColor: #ffffff;
  --headerColor: hsla(0, 0%, 4%, 0.7);
  --lineColor: rgba(255, 255, 255, 0.1);
}
*, *:before, *:after { box-sizing: inherit; }
html { box-sizing: border-box; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: 'SF Pro Text', 'SF Pro Icons', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  background: var(--backgroundColor);
  color: var(--textColor);
  line-height: 1.6;
  margin: 0;
}
a { color: var(--textColor); word-wrap: break-word; }
.nav-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 0.85rem 1rem;
  z-index: 1;
  background: var(--headerColor);
  backdrop-filter: saturate(120%) blur(20px);
}
.nav-bar .icon-wrap { width: 36px; height: 36px; border-radius: 8px; margin: 0 0.6rem 0 0; overflow: hidden; }
.icon-wrap img { width: 100%; height: 100%; display: block; }
.nav-inner {
  max-width: var(--extendedContentWidth);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand {
  display: flex;
  align-items: center;
  font-size: clamp(18px, calc(18px + (24 - 18) * ((100vw - 320px) / (1200 - 320))), 24px);
  white-space: nowrap;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: -0.03rem;
  text-decoration: none;
}
.nav-actions { display: flex; align-items: center; gap: 0 0.75rem; }
.nav-link {
  background: var(--primaryColor);
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.4rem 1.25rem;
}
.page-content {
  max-width: var(--contentWidth);
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}
.eyebrow {
  color: var(--primaryColor);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}
h1 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02rem;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}
.subtitle {
  font-size: 1.12rem;
  opacity: 0.76;
  margin: 0 0 1rem;
}
.language-switch {
  color: var(--primaryColor);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 2.5rem;
  text-decoration: none;
}
.post-list {
  display: grid;
  gap: 1.25rem;
}
.post-card {
  border-top: 1px solid var(--lineColor);
  padding-top: 1.25rem;
}
.post-card time {
  color: var(--primaryColor);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0 0 0.45rem;
}
.post-card h2 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
.post-card p {
  margin: 0 0 0.75rem;
  opacity: 0.82;
}
.post-card a,
.article-body a {
  color: var(--primaryColor);
  font-weight: 800;
  text-decoration: none;
}
.article-meta {
  color: var(--primaryColor);
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0 0 2rem;
}
.article-body h2 {
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 2.2rem 0 0.75rem;
}
.article-body p {
  font-size: 1.06rem;
  margin: 0 0 1rem;
  opacity: 0.9;
}
.article-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.article-body li {
  font-size: 1.06rem;
  margin: 0.4rem 0;
  opacity: 0.9;
}
.article-nav {
  border-top: 1px solid var(--lineColor);
  margin-top: 3rem;
  padding-top: 1.25rem;
}
.site-footer {
  padding: 4rem 2rem;
  margin: 0 auto;
  max-width: var(--contentWidth);
}
.footer-links {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  justify-content: center;
}
.footer-links a {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.03rem;
  font-size: 0.9rem;
  padding: 0.4rem 1.25rem;
  border-radius: 40px;
  transition: background 0.15s;
}
.footer-links a:hover { background: var(--lineColor); }
.footer-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
  font-size: 0.85rem;
  opacity: 0.65;
}
.footer-copy a { text-decoration: none; }
@media (max-width: 520px) {
  .page-content { padding: 5.5rem 1.25rem 3rem; }
  h1 { font-size: 2.15rem; }
  .nav-actions { display: none; }
}
