:root {
  --bg: #14131A; --bg-alt: #16151D; --card: #1B1A22; --line: #23222C; --line-2: #2E2D38; --line-3: #3A3945;
  --text: #F4F2EC; --text-2: #D9D6E0; --muted: #B3B0BC; --muted-2: #8E8B99;
  --accent: #F0A84B; --accent-hover: #F6BE78; --green: #5CD9A6;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Bricolage Grotesque', var(--sans);
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
header { position: sticky; top: 0; z-index: 10; background: rgba(20,19,26,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); display: inline-grid; place-items: center; }
header nav { display: flex; align-items: center; gap: 20px; }
header nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
header nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; border-radius: 12px; min-height: 48px; padding: 12px 22px; font-size: 16px; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-hover); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.post-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.post-head h1 { font-size: 48px; font-weight: 800; max-width: 860px; margin-top: 18px; }
.post-head .lead { font-size: 20px; color: var(--muted); max-width: 760px; margin-top: 20px; }
.post-head .meta { margin-top: 24px; color: var(--muted-2); font-size: 14px; font-family: var(--mono); }
.post { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 64px; padding: 48px 0 96px; }
article > * + * { margin-top: 20px; }
article h2 { font-size: 32px; font-weight: 800; margin-top: 56px; padding-top: 8px; }
article h3 { font-size: 22px; font-weight: 700; margin-top: 36px; }
article p { color: var(--text-2); }
article ul, article ol { color: var(--text-2); padding-left: 24px; }
article li + li { margin-top: 8px; }
article strong { color: var(--text); }
article .answer { background: var(--card); border: 1px solid var(--line-2); border-left: 4px solid var(--accent); border-radius: 14px; padding: 22px 24px; }
article .answer p { color: var(--text); font-size: 18px; }
article .note { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; color: var(--muted); font-size: 15px; }
article table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 20px; }
article th, article td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line-2); color: var(--text-2); }
article th { color: var(--text); font-weight: 600; background: var(--bg-alt); }
.table-scroll { overflow-x: auto; }
article .faq details { background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 4px 20px; }
article .faq details + details { margin-top: 10px; }
article .faq summary { cursor: pointer; font-weight: 600; color: var(--text); padding: 12px 0; list-style: none; }
article .faq summary::-webkit-details-marker { display: none; }
article .faq details p { padding-bottom: 14px; margin-top: 0; }
.cta { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 28px; margin-top: 56px; }
.cta h3 { font-size: 24px; margin-top: 0; }
.cta p { margin-top: 10px; }
.cta .btn { margin-top: 18px; }
aside { position: sticky; top: 92px; align-self: start; }
aside .box { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 22px; }
aside h4 { margin: 0 0 12px; font-family: var(--display); font-size: 16px; letter-spacing: -0.01em; }
aside ol { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
aside li + li { margin-top: 8px; }
aside .box + .box { margin-top: 16px; }
aside .box p { color: var(--muted); font-size: 14px; margin: 0; }
.index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 40px 0 96px; }
.index-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.index-card h3 { color: var(--text); font-size: 22px; }
.index-card p { color: var(--muted); font-size: 15px; margin: 0; }
.index-card:hover { border-color: var(--line-3); }
footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted-2); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; margin-left: 18px; }
@media (max-width: 900px) {
  .post { grid-template-columns: 1fr; gap: 40px; }
  aside { position: static; }
  .post-head h1 { font-size: 36px; }
  article h2 { font-size: 26px; }
  .index-grid { grid-template-columns: 1fr; }
  header nav a:not(.btn) { display: none; }
}
article figure.diagram { margin: 28px 0 0; background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 20px; }
article figure.diagram svg { width: 100%; height: auto; display: block; }
article figure.diagram figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }
