* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  min-height: 100vh; font-family: var(--font-sans); font-size: 15px; line-height: 1.7;
  color: var(--text);
  background: radial-gradient(circle at 80% 10%, rgba(74,124,111,0.10), transparent 28rem),
              radial-gradient(circle at 16% 84%, rgba(91,74,138,0.08), transparent 26rem),
              var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a.text-link { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color 0.15s; }
a.text-link:hover { border-bottom-color: var(--accent); }
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 44px); background: rgba(248,250,249,0.82);
  border-bottom: 1px solid var(--border); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Archivo', var(--font-sans); font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: -.012em;}
.brand img { width: 30px; height: auto; }
.topnav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link { padding: 7px 12px; border-radius: 8px; color: var(--text2); font-size: 13px; transition: all 0.15s; }
.nav-link:hover { background: var(--bg-warm); color: var(--text); }
.nav-link.active { color: var(--text); background: var(--bg-warm); }
.app-link { padding: 8px 16px; border-radius: 20px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600; margin-left: 6px; }
.app-link:hover { opacity: 0.86; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 128px clamp(18px, 4vw, 32px) 96px;
  display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.sidebar { position: sticky; top: 96px; align-self: start; }
.sidebar h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); margin-bottom: 12px; }
.sidebar ul { list-style: none; margin: 0 0 24px 0; padding: 0; }
.sidebar li { margin-bottom: 4px; }
.sidebar a { display: block; padding: 6px 12px; border-radius: 6px; font-size: 13.5px; color: var(--text2); }
.sidebar a:hover { background: var(--bg-warm); color: var(--text); }
main { min-width: 0; }
.page-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); margin-bottom: 14px; }
.page-title { font-family: var(--font-serif); font-size: clamp(38px, 5.5vw, 52px); line-height: 1.05; margin-bottom: 22px; color: var(--text); }
.page-lede { font-size: 18px; line-height: 1.55; color: var(--text2); margin-bottom: 56px; max-width: 640px; }
section { margin-bottom: 64px; scroll-margin-top: 96px; }
h2 { font-family: var(--font-serif); font-size: 28px; line-height: 1.2; margin-bottom: 20px; color: var(--text); border-top: 1px solid var(--border); padding-top: 40px; }
h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; margin-top: 28px; color: var(--text); }
p { margin-bottom: 14px; color: var(--text2); }
ul, ol { margin: 12px 0 14px 22px; color: var(--text2); }
li { margin-bottom: 6px; }
code { font-family: var(--font-mono); font-size: 13px; background: var(--bg-warm); padding: 1px 6px; border-radius: 4px; color: var(--text); }
pre { font-family: var(--font-mono); font-size: 13px; background: var(--bg-warm); padding: 16px 20px; border-radius: var(--radius); border: 1px solid var(--border); overflow-x: auto; margin: 16px 0; color: var(--text); line-height: 1.5; }
strong { color: var(--text); font-weight: 600; }
em { color: var(--text); font-style: italic; }
.step { display: flex; gap: 16px; margin-bottom: 20px; }
.step-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.step-body { padding-top: 3px; }
.step-body p { margin-bottom: 6px; }
.callout { border-left: 3px solid var(--accent); background: var(--accent-light); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0; color: var(--text2); }
.callout strong { display: block; color: var(--text); margin-bottom: 4px; }
.footer { border-top: 1px solid var(--border); padding: 40px clamp(18px, 4vw, 44px); text-align: center; color: var(--text3); font-size: 12px; }
.footer a { color: var(--text2); margin: 0 6px; transition: color 0.15s; }
.footer a:hover { color: var(--accent); }
.footer-links { margin-top: 12px; }
@media (max-width: 780px) {
  .wrap { grid-template-columns: 1fr; gap: 0; }
  .sidebar { position: static; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
}
