
:root {
  --bg: #050608;
  --bg-elevated: #0e1015;
  --bg-soft: #141720;
  --border-subtle: rgba(255,255,255,0.06);
  --accent: #f5b756;
  --accent-soft: rgba(245,183,86,0.16);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-softer: #6b7280;
  --badge-bg: #111827;
  --badge-border: rgba(255,255,255,0.08);
  --card-radius: 18px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.65);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
  background: radial-gradient(900px 700px at 10% 0%, #1e293b 0, transparent 60%),
              radial-gradient(1100px 900px at 90% 120%, #111827 0, transparent 60%),
              var(--bg);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.page-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5,6,8,0.9), rgba(5,6,8,0.75), transparent);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
}

.brand-pill span.logo-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #22c55e, #15803d 70%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-pill span.logo-dot img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-icon {
  font-size: 15px;
  color: var(--text-softer);
}

.main-shell {
  flex: 1;
}

.page {
  max-width: 960px;
  margin: 0 auto 48px;
  padding: 24px 20px 40px;
}

.article-header {
  margin-top: 18px;
  margin-bottom: 26px;
}

.article-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 10px;
}

.article-title {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0 0 10px 0;
}

.article-subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.meta-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15,23,42,0.9);
  font-size: 12px;
  color: var(--text-softer);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(31,41,55,0.9);
  border: 1px solid var(--border-subtle);
  font-size: 11px;
  color: var(--text-softer);
}

.hero-cards {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: var(--card-radius);
  text-decoration: none;
  background: linear-gradient(120deg, #020617, #020617 40%, #020617 100%);
  border: 1px solid rgba(148,163,184,0.22);
  box-shadow: var(--shadow-soft);
  color: var(--text-main);
  transition: transform 0.12s ease-out, box-shadow 0.16s ease-out, border-color 0.16s ease-out, background 0.16s ease-out;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(250,204,21,0.6);
  background: radial-gradient(circle at 0% 0%, rgba(248,250,252,0.08), transparent 55%), #020617;
}

.link-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.link-left img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #020617;
  padding: 4px;
  flex-shrink: 0;
}

.link-title {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chevron {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  background: radial-gradient(circle at 30% 20%, rgba(250,204,21,0.14), transparent 70%);
}

.article-body {
  margin-top: 30px;
  padding: 22px 22px 26px;
  border-radius: var(--card-radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.article-body h2 {
  font-size: 22px;
  margin-top: 24px;
  margin-bottom: 10px;
}

.article-body h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.article-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-main);
  margin: 8px 0 10px;
}

.article-body ul {
  padding-left: 20px;
  margin: 6px 0 12px;
}

.article-body li {
  margin: 4px 0;
  color: var(--text-main);
}

.article-body strong {
  font-weight: 600;
}

.qa {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.qa details {
  background: var(--bg-soft);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  padding: 9px 11px;
}

.qa summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  list-style: none;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa p {
  margin: 8px 0 4px;
  color: var(--text-main);
  font-size: 14px;
}

.footer {
  margin-top: 22px;
  font-size: 12px;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 16px 20px 18px;
  color: var(--text-softer);
  font-size: 12px;
}

.site-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 14px;
  }
  .page {
    padding-inline: 14px;
  }
  .article-title {
    font-size: 24px;
  }
  .link-card {
    padding-inline: 14px;
  }
  .link-title {
    font-size: 15px;
  }
}
