@import url('/assets/design-system.css');

:root {
  --surface: var(--panel);
  --surface2: var(--bg2);
  --line: var(--border);
  --max: 1200px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15.5px/1.65 var(--font-sans);
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, .brand {
  font-family: var(--font-sans);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 850;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin: 0.25em 0; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { color: var(--muted); }
.container { max-width: var(--max); padding: 0 24px; margin: auto; }
.skip { position: absolute; top: -100px; left: 20px; background: var(--accent); color: #001722; padding: 10px 14px; border-radius: 8px; z-index: 999; font-weight: 700; }
.skip:focus { top: 10px; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; font-size: 1.05rem; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { text-decoration: none; font-size: 0.88rem; font-weight: 600; color: var(--muted); transition: color .15s ease; }
.nav-links a:hover { color: var(--accent); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--border); color: var(--text); padding: 7px 11px; border-radius: 9px; }

.eyebrow { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 1.15rem; max-width: 680px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--border); border-radius: 11px;
  padding: 10px 18px; text-decoration: none; font-weight: 700; font-size: 0.9rem;
  background: var(--panel); color: var(--text); transition: all .18s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); border-color: transparent; color: #041322; }
.btn.primary:hover { filter: brightness(1.1); color: #041322; }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: 0.88rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.article { max-width: 860px; margin: auto; padding: 56px 24px 90px; }
.article h2 { margin-top: 48px; }
.article ul { color: var(--muted); }
.article li { margin: 8px 0; }
.callout { border-left: 3.5px solid var(--accent); padding: 16px 22px; background: var(--panel); border-radius: 0 14px 14px 0; border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.breadcrumbs { font-size: 0.84rem; color: var(--muted); font-family: var(--font-mono); }
.breadcrumbs a:hover { color: var(--accent); }
.article figure { margin: 32px 0; }
.article figure img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border); background: var(--panel-solid); }
.article figcaption { color: var(--muted); font-size: 0.84rem; margin-top: 8px; }
.pill { border: 1px solid var(--border); background: var(--bg2); border-radius: 7px; padding: 4px 10px; font-size: 0.78rem; font-weight: 600; color: var(--muted); font-family: var(--font-mono); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--panel-solid); border-bottom: 1px solid var(--border); padding: 18px 24px; flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
}
