@font-face { font-family: "Inter"; src: url("inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --ink: #1d1d1f; --ink-2: #424245; --muted: #6e6e73; --line: #e5e5ea; --bg: #fff; --bg-alt: #f5f5f7; --accent: #0071e3; --code: #f4f4f6;
  --ok: #1e8e3e; --warn: #b26a00; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 56px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 650; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 22px; height: 22px; }
.brand span { color: var(--muted); font-weight: 500; }
.top nav { margin-left: auto; display: flex; gap: 20px; font-size: 14px; }
.top nav a { color: var(--ink-2); }
.hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.hero-in { max-width: 1180px; margin: 0 auto; padding: 56px 24px 44px; }
.hero h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 12px; }
.hero p { font-size: 19px; color: var(--muted); margin: 0; max-width: 760px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; }
.toc { position: sticky; top: 80px; align-self: start; font-size: 14px; max-height: calc(100vh - 100px); overflow: auto; }
.toc b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.toc a { display: block; color: var(--ink-2); padding: 5px 10px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--ink); text-decoration: none; border-color: var(--ink-2); }
.toc a.on { color: var(--accent); border-color: var(--accent); }
article { min-width: 0; }
article h2 { font-size: 27px; letter-spacing: -.02em; margin: 52px 0 12px; padding-top: 8px; }
article h2:first-child { margin-top: 0; }
article h3 { font-size: 18.5px; margin: 28px 0 8px; letter-spacing: -.01em; }
article p, article li { color: var(--ink-2); }
article ul, article ol { padding-left: 22px; } article li { margin: 4px 0; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .9em; background: var(--code); padding: 1px 6px; border-radius: 6px; }
pre { position: relative; background: #1d1d1f; color: #f5f5f7; border-radius: 14px; padding: 16px 78px 16px 18px; overflow-x: auto; font-size: 14px; line-height: 1.55; margin: 12px 0 18px; }
pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
pre .c { color: #8e8e93; }
.copy { position: absolute; top: 9px; right: 9px; font: 500 12px "Inter", sans-serif; color: #f5f5f7; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 4px 10px; cursor: pointer; }
.copy:hover { background: rgba(255,255,255,.22); }
table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
td:first-child { white-space: nowrap; font-weight: 550; color: var(--ink); }
.note, .tip, .warn { border-radius: 14px; padding: 14px 18px; margin: 16px 0; font-size: 15px; }
.note { background: var(--bg-alt); } .tip { background: #eaf6ee; } .warn { background: #fff5e6; }
.note b, .tip b, .warn b { color: var(--ink); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding-left: 44px; margin: 18px 0; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ink);
  color: #fff; font-weight: 650; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.card { display: block; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 20px; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.card:hover { text-decoration: none; box-shadow: 0 12px 34px -18px rgba(0,0,0,.35); transform: translateY(-2px); }
.card h3 { margin: 0 0 6px; font-size: 19px; } .card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .soon { color: var(--muted); font-size: 13px; }
.pagegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 10px 0 18px; }
.pagegrid div { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.pagegrid b { display: block; color: var(--ink); margin-bottom: 2px; } .pagegrid span { color: var(--muted); font-size: 14.5px; }
.pagegrid i { font-style: normal; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
footer { border-top: 1px solid var(--line); background: var(--bg-alt); color: var(--muted); font-size: 13.5px; }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 26px 24px; display: flex; gap: 18px; flex-wrap: wrap; }
.foot-in a { color: var(--muted); }
.home { max-width: 1180px; margin: 0 auto; padding: 44px 24px 80px; }
@media (max-width: 900px) { .wrap { grid-template-columns: 1fr; gap: 10px; } .toc { position: static; max-height: none; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .top nav { display: none; } }
@media print { .top, .toc, .copy { display: none; } .wrap { display: block; } pre { white-space: pre-wrap; } }
@media (max-width: 700px) {
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  td:first-child { white-space: normal; }
  td code, li code, p code { overflow-wrap: anywhere; word-break: break-word; }
  .pagegrid { grid-template-columns: 1fr; }
  .hero-in { padding: 36px 20px 28px; } .wrap, .home { padding-left: 20px; padding-right: 20px; }
  pre { font-size: 13px; }
}

/* the Guides menu in the top bar */
.menu { position: relative; }
.menu-btn { font: inherit; font-size: 14px; color: var(--ink-2); background: none; border: 0; padding: 0; cursor: pointer; }
.menu-btn:hover { color: var(--ink); }
.menu-list { position: absolute; right: 0; top: calc(100% + 14px); width: 300px; max-height: 70vh; overflow: auto; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 48px -20px rgba(0,0,0,.35); padding: 6px; z-index: 20; }
.menu-list a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); }
.menu-list a:hover, .menu-list a.on { background: var(--bg-alt); text-decoration: none; }
.menu-list a b { display: block; font-weight: 600; font-size: 14.5px; } .menu-list a span { color: var(--muted); font-size: 13px; }
.menu-list a.all { color: var(--accent); font-size: 14px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
/* a guide's side column: which product */
.toc-product { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 18px; }
.toc .toc-product span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.toc .toc-product b { display: block; color: var(--ink); font-size: 15px; text-transform: none; letter-spacing: 0; margin: 2px 0 6px; }
.toc .toc-product a { border: 0; padding: 0; color: var(--accent); }
@media (max-width: 900px) { .top nav { display: flex; } .top nav > a { display: none; } .menu-list { right: -8px; width: min(300px, 92vw); } }
