@font-face{font-family:"Fraunces";font-weight:600;font-style:normal;font-display:swap;src:url(fonts/fraunces-600.woff2) format("woff2")}
@font-face{font-family:"Fraunces";font-weight:700;font-style:normal;font-display:swap;src:url(fonts/fraunces-700.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-weight:400;font-style:normal;font-display:swap;src:url(fonts/manrope-400.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-weight:600;font-style:normal;font-display:swap;src:url(fonts/manrope-600.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-weight:700;font-style:normal;font-display:swap;src:url(fonts/manrope-700.woff2) format("woff2")}

:root{
  --bg:#F1F5FD;--ink:#0F1A33;--muted:#4F5C79;--primary:#2350AD;--rule:#D3DDF1;--gold:#9A6200;--panel:#FFFFFF;
  --g1:#2D63CF;--g2:#14347A;--wash1:rgba(45,99,207,.13);--wash2:rgba(245,196,81,.16);--pat:.05;
  --bricks:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22144%22 height=%2296%22 viewBox=%220 0 144 96%22%3E%3Cg fill=%22%23000%22%3E%3Crect x=%22-72%22 y=%226%22 width=%2260%22 height=%2220%22 rx=%226%22/%3E%3Crect x=%220%22 y=%226%22 width=%2260%22 height=%2220%22 rx=%226%22/%3E%3Crect x=%2272%22 y=%226%22 width=%2260%22 height=%2220%22 rx=%226%22/%3E%3Crect x=%22144%22 y=%226%22 width=%2260%22 height=%2220%22 rx=%226%22/%3E%3Crect x=%22-36%22 y=%2236%22 width=%2260%22 height=%2220%22 rx=%226%22/%3E%3Crect x=%2236%22 y=%2236%22 width=%2260%22 height=%2220%22 rx=%226%22/%3E%3Crect x=%22108%22 y=%2236%22 width=%2260%22 height=%2220%22 rx=%226%22/%3E%3Crect x=%22180%22 y=%2236%22 width=%2260%22 height=%2220%22 rx=%226%22/%3E%3Crect x=%22-72%22 y=%2266%22 width=%2260%22 height=%2220%22 rx=%226%22/%3E%3Crect x=%220%22 y=%2266%22 width=%2260%22 height=%2220%22 rx=%226%22/%3E%3Crect x=%2272%22 y=%2266%22 width=%2260%22 height=%2220%22 rx=%226%22/%3E%3Crect x=%22144%22 y=%2266%22 width=%2260%22 height=%2220%22 rx=%226%22/%3E%3C/g%3E%3C/svg%3E");
}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){
  --bg:#000;--ink:#F3F5FA;--muted:#A9AEBD;--primary:#7FA5F7;--rule:#27272F;--gold:#F5C451;--panel:#0C0C0F;
  --g1:#1B3F8F;--g2:#0B1E4A;--wash1:rgba(60,110,230,.20);--wash2:rgba(245,196,81,.07);--pat:.07}}
:root[data-theme=dark]{--bg:#000;--ink:#F3F5FA;--muted:#A9AEBD;--primary:#7FA5F7;--rule:#27272F;--gold:#F5C451;--panel:#0C0C0F;
  --g1:#1B3F8F;--g2:#0B1E4A;--wash1:rgba(60,110,230,.20);--wash2:rgba(245,196,81,.07);--pat:.07}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;background:var(--bg);color-scheme:light dark;scroll-behavior:smooth}
html[data-theme=light]{color-scheme:light}
html[data-theme=dark]{color-scheme:dark}
body{margin:0;position:relative;min-height:100vh;color:var(--ink);font:400 17px/1.75 "Manrope",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;overflow-wrap:break-word;
  background:
    radial-gradient(640px 420px at 100% 520px,var(--wash1),transparent 70%),
    radial-gradient(560px 420px at 0% 1500px,var(--wash2),transparent 70%),
    radial-gradient(700px 480px at 100% 2600px,var(--wash1),transparent 70%),
    var(--bg)}
/* faint bricks (the motif of the app icon) behind the whole page */
body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--primary);opacity:var(--pat);
  -webkit-mask:var(--bricks) 0 0/144px 96px;mask:var(--bricks) 0 0/144px 96px}
a{color:var(--primary);text-underline-offset:3px;text-decoration-thickness:1px}
.wrap{max-width:720px;margin:0 auto;padding:0 22px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* hero: the brand gradient */
.hero{position:relative;color:#fff;background:linear-gradient(135deg,var(--g1),var(--g2));border-radius:0 0 30px 30px;padding-bottom:40px;box-shadow:0 14px 40px -18px rgba(20,52,122,.55)}
.hero-bg{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none}
.hero-bg:before{content:"";position:absolute;inset:0;background:#fff;opacity:.065;-webkit-mask:var(--bricks) 0 0/144px 96px;mask:var(--bricks) 0 0/144px 96px;
  -webkit-mask-image:linear-gradient(#000,transparent),var(--bricks);-webkit-mask-composite:source-in;mask-image:linear-gradient(#000,transparent),var(--bricks);mask-composite:intersect}
.hero-bg:after{content:"";position:absolute;right:-90px;top:-90px;width:330px;height:330px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%,rgba(245,196,81,.32),rgba(245,196,81,0) 68%)}
.hero .wrap{position:relative;z-index:1}
.topbar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;padding-bottom:6px}
.brand{display:inline-flex;align-items:center;gap:11px;color:#fff;text-decoration:none;font:700 23px "Fraunces",Georgia,serif;letter-spacing:.2px}
.brand img{width:44px;height:44px;border-radius:12px;display:block;box-shadow:0 4px 14px rgba(0,0,0,.28)}
.menu-btn{display:none;align-items:center;gap:10px;height:44px;padding:0 16px;border:1px solid rgba(255,255,255,.35);border-radius:999px;
  background:rgba(255,255,255,.12);color:#fff;font:700 14.5px "Manrope",sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.bars,.bars:before,.bars:after{display:block;width:18px;height:2px;border-radius:2px;background:#fff;transition:transform .2s,opacity .2s}
.bars{position:relative}
.bars:before,.bars:after{content:"";position:absolute;left:0}
.bars:before{top:-6px}.bars:after{top:6px}
.menu-btn[aria-expanded=true] .bars{background:transparent}
.menu-btn[aria-expanded=true] .bars:before{transform:translateY(6px) rotate(45deg)}
.menu-btn[aria-expanded=true] .bars:after{transform:translateY(-6px) rotate(-45deg)}
.menu{display:flex;gap:4px}
.menu a{color:#fff;opacity:.88;text-decoration:none;font-weight:600;font-size:14.5px;padding:8px 14px;border-radius:999px}
.menu a:hover{opacity:1;background:rgba(255,255,255,.14)}
.menu a[aria-current]{opacity:1;background:rgba(255,255,255,.2)}

.title{padding:38px 0 0}
.eyebrow{margin:0 0 12px;font-weight:700;font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:#F5C451}
h1{margin:0;font:700 clamp(31px,8.6vw,48px)/1.12 "Fraunces",Georgia,serif;letter-spacing:-.4px}
.lead{margin:16px 0 0;font-size:18px;line-height:1.6;opacity:.9;max-width:34em}
.updated{display:inline-block;margin:22px 0 0;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:13.5px;font-weight:600}

/* mobile menu: a dropdown panel instead of links glued together */
@media (max-width:759px){
  html.js .menu-btn{display:inline-flex}
  html.js .menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:20;flex-direction:column;gap:2px;padding:8px;
    background:var(--panel);border-radius:18px;box-shadow:0 18px 44px rgba(8,18,48,.4);border:1px solid var(--rule)}
  html.js .menu.open{display:flex}
  html.js .menu a{color:var(--ink);opacity:1;font-size:16.5px;padding:15px 16px;border-radius:12px;display:flex;align-items:center;gap:12px}
  html.js .menu a:before{content:"";width:8px;height:8px;border-radius:2px;background:var(--rule)}
  html.js .menu a[aria-current]{background:var(--rule);color:var(--ink)}
  html.js .menu a[aria-current]:before{background:var(--gold)}
  html:not(.js) .menu{flex-wrap:wrap;position:static;margin-top:10px}
  html:not(.js) .topbar{flex-wrap:wrap}
}

/* contents */
.toc{margin:34px 0 6px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.toc summary{cursor:pointer;list-style:none;padding:16px 0;font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;display:flex;justify-content:space-between;align-items:center}
.toc summary::-webkit-details-marker{display:none}
.toc summary:after{content:"+";font:600 24px/1 "Manrope",sans-serif;color:var(--primary)}
.toc[open] summary:after{content:"\2212"}
.toc ol{margin:0;padding:0 0 16px;list-style:none;counter-reset:t}
.toc li{counter-increment:t;border-top:1px solid var(--rule)}
.toc li:first-child{border-top:0}
.toc li a{display:flex;gap:14px;padding:10px 0;color:var(--ink);text-decoration:none;font-size:15.5px;line-height:1.4}
.toc li a:before{content:counter(t);flex:none;min-width:22px;color:var(--gold);font-weight:700}
.toc li a:hover{color:var(--primary)}

/* text */
article{padding-bottom:28px}
section{padding:34px 0 4px;border-top:1px solid var(--rule);margin-top:34px;scroll-margin-top:12px}
article section:first-of-type{border-top:0;margin-top:20px}
section h2{margin:0 0 16px;font:700 clamp(22px,5.6vw,27px)/1.25 "Fraunces",Georgia,serif;letter-spacing:-.2px}
section h2 .n{display:flex;align-items:center;gap:10px;margin-bottom:8px;font:700 12px "Manrope",sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
section h2 .n:after{content:"";height:1px;width:34px;background:var(--gold);opacity:.55}
section p{margin:0 0 16px}
.step{border-left:3px solid var(--primary);padding-left:16px;font-weight:600}
.contact-btn{display:inline-block;margin:2px 0 14px;padding:13px 24px;border-radius:999px;background:linear-gradient(135deg,var(--g1),var(--g2));color:#fff;text-decoration:none;font-weight:700;font-size:15.5px;box-shadow:0 8px 20px -8px rgba(35,80,173,.7)}

/* index list */
.docs{max-width:680px;margin:34px 0 40px;border-top:1px solid var(--rule)}
.docs a{display:block;padding:24px 0;border-bottom:1px solid var(--rule);text-decoration:none;color:var(--ink)}
.docs b{display:block;font:700 22px/1.25 "Fraunces",Georgia,serif;margin-bottom:6px}
.docs span{display:block;color:var(--muted);font-size:16px;line-height:1.6}
.docs em{display:inline-block;margin-top:10px;font-style:normal;font-weight:700;font-size:15px;color:var(--primary);text-decoration:underline;text-underline-offset:3px}

/* footer: the brand gradient again */
footer{position:relative;margin-top:30px;color:#fff;background:linear-gradient(135deg,var(--g1),var(--g2));border-radius:30px 30px 0 0;padding:34px 0 30px;overflow:hidden}
footer:before{content:"";position:absolute;inset:0;background:#fff;opacity:.05;-webkit-mask:var(--bricks) 0 0/144px 96px;mask:var(--bricks) 0 0/144px 96px;pointer-events:none}
footer .wrap{position:relative;display:grid;gap:24px}
.f-brand{display:flex;align-items:center;gap:13px}
.f-brand img{width:52px;height:52px;border-radius:14px;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.f-brand b{display:block;font:700 22px "Fraunces",Georgia,serif;line-height:1.2}
.f-brand span{display:block;font-size:14px;opacity:.82;line-height:1.4}
.f-links{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}
.f-links a{color:#fff;font-weight:600;font-size:15px;text-decoration:none;padding:4px 0;border-bottom:1px solid rgba(255,255,255,.25)}
.f-links a:hover{border-bottom-color:#F5C451}
.f-copy{margin:0;padding-top:18px;border-top:1px solid rgba(255,255,255,.22);font-size:13.5px;opacity:.85}

@media (min-width:760px){
  .hero{border-radius:0 0 40px 40px;padding-bottom:52px}
  footer{border-radius:40px 40px 0 0}
  .title{padding-top:54px}
  .f-links{display:flex;flex-wrap:wrap;gap:8px 30px}
  footer .wrap{grid-template-columns:1fr auto;align-items:center}
  .f-copy{grid-column:1/-1}
}
/* desktop: contents as a sticky sidebar */
@media (min-width:1040px){
  .wrap{max-width:1000px}
  .page{display:grid;grid-template-columns:250px minmax(0,680px);gap:0 56px;align-items:start}
  .toc{position:sticky;top:20px;margin-top:34px;border:0}
  .toc summary{cursor:default;pointer-events:none;padding-top:0}
  .toc summary:after{content:none}
  .toc li a{font-size:14.5px;padding:7px 0}
  .docs{grid-column:1/-1}
}
@media (max-width:380px){body{font-size:16.5px}.wrap{padding:0 18px}.brand{font-size:21px}.menu-btn{padding:0 13px}}

/* inside the app: the app already shows its own header */
html.app{--pat:0}
html.app body{background:var(--bg)}
html.app .hero{background:none;box-shadow:none;border-radius:0;padding:0;color:var(--ink)}
html.app .hero-bg,html.app .topbar,html.app footer,html.app .eyebrow,html.app h1,html.app .lead{display:none}
html.app .title{padding:20px 22px 0;max-width:720px;margin:0 auto}
html.app .updated{margin:0;background:none;border:0;padding:0;color:var(--muted)}
html.app .wrap.in-hero{padding:0}
html.app .toc{margin-top:18px}

/* pull down to refresh (inside the app only) */
html.app{overscroll-behavior-y:contain}
.ptr{position:fixed;left:50%;top:0;z-index:50;width:42px;height:42px;margin-left:-21px;border-radius:50%;display:none;align-items:center;justify-content:center;
  background:var(--panel);border:1px solid var(--rule);box-shadow:0 6px 18px rgba(8,18,48,.25);transform:translateY(-60px);opacity:0;pointer-events:none}
html.app .ptr{display:flex}
.ptr i{display:block;width:20px;height:20px;border-radius:50%;border:3px solid var(--rule);border-top-color:var(--primary)}
.ptr.spin i{animation:ptr-spin .7s linear infinite}
@keyframes ptr-spin{to{transform:rotate(360deg)}}

@media print{.hero-bg,.topbar,footer,.toc{display:none}.hero{background:none;color:#000}body{background:#fff;color:#000}body:before{display:none}section{break-inside:avoid}}
