:root { color-scheme:light; --ink:#1c1c1e; --muted:#62666d; --blue:#0a84ff; --line:#e5e7eb; --wash:#f3f9ff; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:#fff; color:var(--ink); font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; }
a { color:inherit; }
button { font:inherit; }
.guide-header { position:sticky; top:0; z-index:10; background:rgb(255 255 255 / 95%); border-bottom:1px solid var(--line); backdrop-filter:blur(12px); }
.guide-header-inner { max-width:1240px; min-height:76px; padding:12px 24px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.guide-brand { display:inline-flex; align-items:center; gap:10px; color:#17394b; font-family:Outfit,sans-serif; font-size:25px; font-weight:500; letter-spacing:-.04em; text-decoration:none; white-space:nowrap; }
.guide-brand img { width:58px; height:40px; object-fit:contain; }
.guide-brand strong { font-weight:700; }
.guide-app-link { color:var(--ink); font-size:14px; font-weight:600; text-decoration:none; white-space:nowrap; }
.guide-app-link:hover, .guide-footer a:hover { color:#0874dc; }
.guide-main { max-width:1240px; padding:0 24px; margin:auto; }
.guide-sidebar { z-index:5; padding:4px 0 24px; }
.guide-content { min-width:0; }
.guide-intro { padding:76px 0 56px; }
.guide-eyebrow { display:flex; align-items:center; gap:9px; margin:0 0 18px; color:var(--muted); font-size:11px; font-weight:700; letter-spacing:.15em; text-transform:uppercase; }
.guide-eyebrow::before { width:6px; height:6px; background:var(--blue); border-radius:50%; content:""; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { font-family:Outfit,Inter,sans-serif; }
h1 { max-width:700px; margin-bottom:18px; font-size:clamp(40px,6vw,64px); font-weight:600; line-height:1.08; letter-spacing:-.045em; }
.guide-intro > p:not(.guide-eyebrow) { max-width:650px; color:var(--muted); font-size:18px; line-height:1.7; }
.guide-contents { display:flex; flex-direction:column; gap:3px; padding-left:14px; border-left:1px solid var(--line); }
.guide-contents-title { margin:0 0 10px; color:var(--muted); font-size:11px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.guide-contents a { position:relative; display:grid; grid-template-columns:25px minmax(0,1fr); gap:8px; align-items:center; min-height:36px; color:var(--muted); font-size:13px; font-weight:600; line-height:1.3; text-decoration:none; transition:color .16s ease; }
.guide-contents a::before { position:absolute; top:0; bottom:0; left:-15px; width:2px; border-radius:2px; background:var(--blue); content:""; opacity:0; transition:opacity .16s ease; }
.guide-contents-number { color:#99a0a8; font-size:11px; font-weight:700; letter-spacing:.05em; transition:color .16s ease; }
.guide-contents a:hover, .guide-contents a[aria-current="true"] { color:var(--ink); }
.guide-contents a:hover .guide-contents-number, .guide-contents a[aria-current="true"] .guide-contents-number { color:#0874dc; }
.guide-contents a[aria-current="true"]::before { opacity:1; }
.guide-section { padding:60px 0 70px; border-top:1px solid var(--line); scroll-margin-top:85px; }
.guide-section h2 { margin-bottom:30px; font-size:clamp(32px,4vw,46px); font-weight:600; line-height:1.16; letter-spacing:-.03em; }
.guide-copy-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; margin-bottom:42px; }
.guide-copy-grid h3,.guide-steps h3 { margin-bottom:8px; font-size:21px; font-weight:600; line-height:1.25; }
.guide-copy-grid p,.guide-steps p,.guide-section-lead { margin-bottom:0; color:var(--muted); font-size:15px; line-height:1.7; }
.guide-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 44px; padding:0; margin:0 0 42px; list-style:none; counter-reset:guide-step; }
.guide-steps-continue-three { margin-top:45px; counter-reset:guide-step 2; }
.guide-steps-continue-five { margin-top:45px; margin-bottom:0; counter-reset:guide-step 4; }
.guide-steps li { position:relative; min-height:78px; padding-left:43px; counter-increment:guide-step; }
.guide-steps li::before { position:absolute; left:0; top:2px; display:grid; place-items:center; width:29px; height:29px; border-radius:50%; background:#e8f4ff; color:#0874dc; content:counter(guide-step); font-size:13px; font-weight:700; }
.guide-steps strong { color:var(--ink); font-weight:600; }
.guide-section-lead { max-width:680px; margin:-12px 0 32px; }
.guide-embed-steps { margin-bottom:34px; }
.guide-note { max-width:720px; margin:0 0 28px; padding:18px 20px; border:1px solid #cce5fa; border-radius:12px; background:var(--wash); }
.guide-note strong { color:#17394b; font-family:Outfit,Inter,sans-serif; font-size:17px; font-weight:600; }
.guide-note p { margin:6px 0 0; color:var(--muted); font-size:14px; line-height:1.65; }
.guide-code-example { max-width:720px; overflow:auto; padding:16px 18px; border-radius:12px; background:#182b36; color:#e5f5ef; }
.guide-code-example > span { display:block; margin-bottom:9px; color:#a7c6d5; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.guide-code-example code { display:block; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:12px; line-height:1.7; white-space:nowrap; }
.guide-screenshot { max-width:720px; margin:38px auto 0; }
.guide-screenshot-button { position:relative; display:block; width:100%; padding:0; overflow:hidden; border:1px solid #d8e5f0; border-radius:16px; background:var(--wash); cursor:zoom-in; text-align:left; box-shadow:0 1px 2px rgb(0 0 0 / 4%); }
.guide-screenshot-preview { display:block; width:100%; aspect-ratio:16 / 9; }
.guide-screenshot-preview img { display:block; width:100%; height:100%; object-fit:contain; background:#fff; }
.guide-screenshot-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; width:100%; height:100%; padding:24px; background:linear-gradient(145deg,#f3f9ff,#e5f2ff); text-align:center; }
.guide-screenshot-placeholder-label { padding:6px 10px; border:1px solid #c8dcf0; border-radius:999px; color:#0874dc; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.guide-screenshot-placeholder strong { font-family:Outfit,sans-serif; font-size:clamp(22px,4vw,32px); font-weight:600; }
.guide-screenshot-placeholder > span:last-child { max-width:420px; color:var(--muted); font-size:14px; line-height:1.5; }
.guide-screenshot-zoom { position:absolute; right:14px; bottom:14px; display:grid; place-items:center; width:34px; height:34px; background:#fff; border:1px solid var(--line); border-radius:50%; font-size:19px; }
.guide-screenshot figcaption { display:flex; flex-wrap:wrap; gap:5px 9px; margin-top:10px; color:var(--muted); font-size:12px; line-height:1.5; }
.guide-screenshot figcaption strong { color:var(--ink); font-weight:600; }
.guide-footer { max-width:1120px; display:flex; justify-content:space-between; gap:20px; padding:28px 24px 38px; margin:auto; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
.guide-footer a { text-decoration:none; }
.guide-lightbox { width:min(1100px,94vw); max-width:none; max-height:94vh; padding:18px; border:1px solid var(--line); border-radius:18px; box-shadow:0 24px 70px rgb(0 0 0 / 20%); }
.guide-lightbox::backdrop { background:rgb(19 38 51 / 72%); }
.guide-lightbox-bar { display:flex; justify-content:space-between; gap:20px; align-items:start; padding:0 0 14px; }
.guide-lightbox h2 { margin:0 0 4px; font-size:20px; font-weight:600; }
.guide-lightbox p { margin:0; color:var(--muted); font-size:13px; line-height:1.5; }
.guide-lightbox-close { flex:none; width:32px; height:32px; padding:0; border:1px solid var(--line); border-radius:50%; background:#fff; color:var(--ink); font-size:24px; line-height:1; cursor:pointer; }
.guide-lightbox-preview .guide-screenshot-preview { max-height:calc(94vh - 105px); aspect-ratio:16 / 9; border-radius:10px; overflow:hidden; }
a:focus-visible,button:focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
@media(min-width:1401px) { .guide-main { display:grid; grid-template-columns:190px minmax(0,868px); align-items:start; column-gap:72px; justify-content:center; } .guide-sidebar { position:sticky; top:108px; } }
@media(max-width:1400px) and (min-width:701px) { .guide-main { display:grid; grid-template-columns:150px minmax(0,868px); align-items:start; column-gap:38px; justify-content:center; } .guide-sidebar { position:sticky; top:108px; } }
@media(max-width:700px) { .guide-header-inner { min-height:66px; } .guide-brand { font-size:20px; } .guide-brand img { width:44px; height:34px; } .guide-main { display:block; padding:0; } .guide-sidebar { position:sticky; top:66px; z-index:9; padding:10px 24px; background:rgb(255 255 255 / 96%); border-bottom:1px solid var(--line); backdrop-filter:blur(12px); } .guide-contents { flex-direction:row; gap:18px; overflow-x:auto; padding:0; border:0; scrollbar-width:none; } .guide-contents::-webkit-scrollbar { display:none; } .guide-contents-title { display:none; } .guide-contents a { display:block; flex:none; min-height:0; padding:3px 0 7px; font-size:12px; white-space:nowrap; } .guide-contents a::before { top:auto; right:0; bottom:0; left:0; width:auto; height:2px; } .guide-contents-number { margin-right:5px; } .guide-content { padding:0 24px; } .guide-intro { padding:56px 0 46px; } .guide-copy-grid,.guide-steps { grid-template-columns:1fr; gap:25px; } .guide-section { padding:50px 0 60px; scroll-margin-top:116px; } .guide-screenshot-placeholder > span:last-child { font-size:12px; } }
