
/* ---------- the onboarding page (fourth pass, 17 Nov 2026) ----------
   Figma: page Website and ads, section "Demo after Build it" (6842:1728). Every number here is that section's.
   Its own page (/onboarding), opened by Build it on the home page. A top bar with three step buttons, then one window
   (the home film's own frame: 1180 wide, corners 28, panes 8 in with corners 20): the chat on the left, the server on the
   right (a list of everything in it, and beside it what PeakBot does, each message as a card).
   CORNERS, two kinds only (frame "Onboarding, corners"): anything pressed or a small label is fully round; a box is 28,
   then 20, then 12 as it nests. MOTION (frame "Onboarding, how it moves"): things arrive from their own middle, one thing
   becomes the next, the old leaves before the new arrives.
   Every class starts with d- so nothing here can collide with the home page's or the tools page's names. */
.d-steps{position:absolute;left:50%;top:8px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;margin:0;padding:0;list-style:none}
.d-steps[hidden]{display:none}
.d-step{height:40px;padding:0 14px 0 8px;border:0;border-radius:20px;background:#232323;display:flex;align-items:center;gap:8px;font:500 14px/20px "Inter",system-ui,sans-serif;color:var(--faint);white-space:nowrap;cursor:pointer;will-change:transform;transition:background-color .15s var(--ease),color .15s var(--ease),transform .12s ease}
.d-step b{width:24px;height:24px;border-radius:12px;background:#2E2E2E;display:grid;place-items:center;font-size:12px;line-height:16px;font-weight:600;color:var(--faint);font-variant-numeric:tabular-nums;transition:background-color .15s var(--ease),color .15s var(--ease)}
.d-step:hover:enabled{background:#2A2A2A;color:#F2F2F2}
.d-step:active:enabled{transform:scale(.97)}
.d-step:enabled:not([aria-current]){color:var(--soft)}
.d-step[aria-current],.d-step[aria-current]:hover{background:#2E2E2E;color:#F2F2F2;cursor:default;transform:none}
.d-step[aria-current] b{background:#F5F5F5;color:#0A0A0A}
.d-step:disabled{cursor:default}
/* a step that is done: a tick where its number was */
.d-step.d-done,.d-step.d-done b{color:var(--soft)}
.d-step b svg{display:block}
.d-join{width:12px;height:2px;border-radius:1px;background:#333333}
.d-ring[hidden],.d-pop[hidden],.d-state[hidden],.d-facts:empty,.d-demo[hidden],.d-win[hidden],.d-fun[hidden],.d-quiet[hidden]{display:none}
/* on the home page, once Build it is pressed, only the bar and this window are left */
html.demoing,html.demoing body{height:100%;overflow:hidden}
html.demoing .hero,html.demoing .foot,html.demoing .links,html.demoing .menu,html.demoing .cta{display:none}

.d-demo{position:absolute;z-index:40;top:128px;left:50%;transform:translateX(-50%);width:min(1180px,calc(100vw - 48px));height:min(calc(100vh - 160px),960px);min-height:560px}
.d-win{height:100%;padding:8px;border-radius:28px;background:var(--bar);box-shadow:0 8px 24px rgba(0,0,0,.4);display:grid;grid-template-columns:380px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:8px}
.d-demo button,.d-pop button,.d-steps button{font-family:"Inter",system-ui,sans-serif;-webkit-tap-highlight-color:transparent}
.d-demo button:focus-visible,.d-pop button:focus-visible,.d-steps button:focus-visible{outline:2px solid #8B5CF6;outline-offset:2px}
.d-demo img,.d-pop img{display:block}
:where(.d-demo) :where(p,h3,dl,dd,ul){margin:0}

/* ---- the chat pane: 380 wide, 20 in */
.d-chat{min-width:0;min-height:0;padding:20px;border-radius:20px;background:var(--page);display:flex;flex-direction:column}
.d-chead{flex:none;height:28px;display:flex;align-items:center;gap:10px;font-size:14px;line-height:20px;font-weight:600;color:#F2F2F2;white-space:nowrap}
.d-ai{flex:none;width:28px;height:28px;border-radius:10px;background:var(--bar);display:grid;place-items:center}
/* the count of messages left: the number is its own badge beside fixed words */
.d-left{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:12px;line-height:16px;font-weight:500;color:var(--faint)}
.d-num{min-width:24px;height:24px;padding:0 8px;border-radius:12px;background:var(--bar);display:grid;place-items:center;overflow:hidden;font-size:13px;line-height:16px;font-weight:600;color:#F2F2F2;font-variant-numeric:tabular-nums}
.d-num span,.d-roll span{grid-area:1/1}
.d-roll{display:inline-grid;overflow:hidden;vertical-align:bottom}
.d-msgs{flex:1;min-height:0;margin-top:24px;overflow-y:auto;scrollbar-width:none;display:flex;flex-direction:column;align-items:flex-start}
.d-msgs::-webkit-scrollbar,.d-list::-webkit-scrollbar,.d-vb::-webkit-scrollbar{display:none}
.d-msgs.d-cut{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 24px);mask-image:linear-gradient(to bottom,transparent 0,#000 24px)}
.d-me{align-self:flex-end;flex:none;max-width:280px;padding:14px 18px;border-radius:20px;background:var(--bar);font-size:14px;line-height:22px;color:#FFFFFF;overflow-wrap:anywhere;white-space:pre-wrap;will-change:transform}   /* its own layer always, so its words look the same flying and landed */
.d-say + .d-me,.d-ans + .d-me,.d-todo + .d-me,.d-retry + .d-me{margin-top:24px}
.d-wk{flex:none;position:relative;margin-top:24px;height:20px;padding:0;border:0;background:none;display:flex;align-items:center;gap:6px;font:400 13px/20px "Inter",system-ui,sans-serif;color:var(--faint);cursor:default}
button.d-wk{cursor:pointer}
button.d-wk::before{content:"";position:absolute;inset:-6px -8px}
.d-wk img{width:8px;height:6px;transition:transform .2s var(--ease)}
.d-wk[aria-expanded="true"] img{transform:rotate(180deg)}
.d-hr{flex:none;align-self:stretch;height:1px;margin:16px 0;background:#1F1F1F}
.d-say{flex:none;font-size:14px;line-height:22px;color:#FFFFFF}
.d-say b{font-weight:600}
.d-say + .d-say{margin-top:12px}
.d-now,.d-did li{display:flex;align-items:center;gap:8px;font-size:13px;line-height:20px;color:var(--faint)}
.d-now{flex:none;margin-top:12px}
.d-wk + .d-now{margin-top:12px}
.d-now img,.d-did img{width:16px;height:16px}
.d-did{flex:none;padding:0;list-style:none;overflow:hidden}
.d-did li{height:20px;margin-top:8px}
.d-did li:first-child{margin-top:10px}
.d-todo{flex:none;margin-top:8px;font-size:14px;line-height:22px;color:var(--faint)}
.d-retry{flex:none;margin-top:16px;height:32px;font-family:"Inter",system-ui,sans-serif;will-change:transform;padding:0 14px;border:0;border-radius:16px;background:#262626;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:400;color:#FFFFFF;cursor:pointer;transition:background-color .15s var(--ease),transform .12s ease}
.d-retry:hover{background:#303030}
.d-retry:active{transform:scale(.97)}
.d-retry img{width:18px;height:18px}
/* the answers sit right under the question they answer */
.d-ans{flex:none;margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}
.d-qa{height:36px;padding:0 14px;border:0;border-radius:18px;background:var(--bar);font-family:"Inter",system-ui,sans-serif;will-change:transform;font-size:13px;line-height:20px;font-weight:500;color:#F2F2F2;white-space:nowrap;cursor:pointer;transition:background-color .12s var(--ease),transform .12s ease}
.d-qa:hover{background:#262626}
.d-qa:active{transform:scale(.97)}
/* the chat box: the home page's prompt box at chat size, a pill 56 tall with the round button 8 in */
.d-box{position:relative;flex:none;margin-top:12px;min-height:56px;padding:8px 8px 8px 20px;border-radius:28px;background:var(--bar);display:flex;align-items:flex-end;gap:12px;cursor:text;transition:background-color .15s ease}
.d-box:hover{background:#222222}
.d-box:focus-within{background:var(--bar)}
/* the violet edge is its own piece on top, so a bubble lifting out of the box never covers it */
.d-box::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;box-shadow:inset 0 0 0 1.5px #8B5CF6;opacity:0;transition:opacity .15s ease;pointer-events:none}
.d-box:focus-within::after{opacity:1}
/* the words in the box are the bubble's size and wrap at the bubble's width (244), so nothing changes when they lift out */
.d-box textarea{flex:1;min-width:0;display:block;height:20px;max-height:80px;margin:10px 0;padding:0 16px 0 0;border:0;outline:0;resize:none;background:none;color:var(--white);caret-color:var(--white);font:400 14px/20px "Inter",system-ui,sans-serif;overflow-y:auto}
.d-box textarea::-webkit-scrollbar{width:10px;background:transparent}
.d-box textarea::-webkit-scrollbar-button{display:none;width:0;height:0}
.d-box textarea::-webkit-scrollbar-thumb{min-height:20px;border:3px solid transparent;border-radius:5px;background:#3A3A3A;background-clip:content-box}
@supports not selector(::-webkit-scrollbar){.d-box textarea{scrollbar-width:thin;scrollbar-color:#3A3A3A transparent}}
.d-box textarea::placeholder{color:var(--example);opacity:1}
.d-send{flex:none;width:40px;height:40px;border-radius:20px;border:0;will-change:transform;background:#2A2A2A;color:#8A8A8A;display:grid;place-items:center;cursor:pointer;transition:background-color .15s var(--ease),color .15s var(--ease),transform .12s ease}
.d-send:hover{background:#333333;color:#ADADAD}
.d-send:active{transform:scale(.94)}
/* the arrow leaves, then the stop square grows from its middle */
.d-send svg,.d-send i{grid-area:1/1;transition:transform .22s var(--out),opacity .09s ease}
.d-send i{width:12px;height:12px;border-radius:3px;background:#0A0A0A;transform:scale(.4);opacity:0}
.d-box.d-filled .d-send,.d-box.d-working .d-send{background:#F5F5F5;color:#0A0A0A}
.d-box.d-filled .d-send:hover,.d-box.d-working .d-send:hover{background:#FFFFFF}
.d-box.d-working .d-send svg{transform:scale(.5);opacity:0}
.d-box.d-working .d-send i{transform:scale(1);opacity:1;transition-delay:.09s}
.d-plans{flex:none;height:40px;will-change:transform;padding:0 18px;border:0;border-radius:20px;background:#F5F5F5;font-size:13px;line-height:20px;font-weight:600;color:#0A0A0A;cursor:pointer;transition:background-color .15s var(--ease),transform .12s ease}
.d-plans:hover{background:#FFFFFF}
.d-plans:active{transform:scale(.97)}
.d-box.d-locked,.d-box.d-locked:hover{cursor:default;background:var(--bar)}
.d-box.d-locked textarea::placeholder{color:var(--faint)}
.d-plans[hidden],.d-box.d-locked .d-send{display:none}

/* ---- after "Add it to my server": out of the builder, a funnel. The screen is the home page's own first screen, retold:
   the two-line headline with word pills at 200, a 760 x 88 bar at 424 holding their build and the one white button (where
   Build it sits on the home page), the trust row at 538, and the builder's window dropped to 592 (where the film sits) as
   the picture of what comes with them. Frames "Funnel, add to Discord", "Funnel, opening Discord", "Funnel, you are in". */
.d-win.d-low{transform:translateY(464px)}
html.d-funnel .d-demo{cursor:pointer}
html.d-funnel .d-add{visibility:hidden}   /* one white button on the screen: the bar's */
.d-fun{position:absolute;left:0;right:0;top:72px;pointer-events:none}
.d-fcol{position:relative;display:flex;flex-direction:column;align-items:center;cursor:default}
.d-fcol > *{pointer-events:auto}
/* the headline: 60 on 80, and a word pill 68 tall holding a 56 picture 6 in */
.d-h1{margin:0;font-size:60px;line-height:80px;font-weight:500;letter-spacing:-.03em;color:var(--white);text-align:center}
.d-ln{display:block;height:80px;white-space:nowrap}
.d-tok{position:relative;display:inline-block;vertical-align:top;height:68px;margin:6px 11px 0;padding:0 11px 0 66px;border-radius:34px;background:#1F1F1F;line-height:68px}
.d-tok i{position:absolute;left:6px;top:6px;width:56px;height:56px;border-radius:50%;background:#000;box-shadow:inset 0 0 0 1px #333333;display:grid;place-items:center;font-style:normal;font-size:20px;line-height:24px;font-weight:600;letter-spacing:0;color:#D4D4D4}
.d-tok i img{width:34px;height:28px;object-fit:contain}
.d-tokd,.d-toks{padding-left:78px}
.d-tokd > img{position:absolute;left:-5.7px;top:-5.7px;width:79.41px;height:79.41px}
.d-toks i{background:#333333;box-shadow:none}
/* the bar: their build on the left, the way on at the right */
.d-fbar{margin-top:64px;width:760px;max-width:calc(100vw - 48px);height:88px;padding:16px 16px 16px 20px;border-radius:44px;background:var(--bar);box-shadow:0 8px 24px rgba(0,0,0,.4);display:flex;align-items:center;gap:14px}
.d-fbar .d-pic{width:48px;height:48px;border-radius:12px;background:#262626}
.d-fbar .d-pic img{width:24px;height:24px}
.d-fw{flex:1;min-width:0;display:flex;flex-direction:column}
.d-fw b{display:flex;align-items:center;gap:8px;font-size:17px;line-height:24px;font-weight:500;color:#F2F2F2;white-space:nowrap}
.d-fw b span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.d-fw small{font-size:13px;line-height:20px;color:var(--faint);white-space:nowrap;font-variant-numeric:tabular-nums}
.d-fw .d-t{margin-left:0;background:#262626;color:var(--soft)}
.d-big{flex:none;height:56px;padding:0 19.6px 0 22.4px;border:0;border-radius:28px;background:#F5F5F5;display:flex;align-items:center;gap:8.4px;font:600 19.6px/28px "Inter",system-ui,sans-serif;color:#0A0A0A;white-space:nowrap;cursor:pointer;will-change:transform;transition:background-color .15s var(--ease),color .15s var(--ease),transform .12s ease}
.d-big:hover{background:#FFFFFF}
.d-big:active{transform:scale(.97)}
.d-big:disabled{background:#262626;color:#6B6B6B;cursor:default;transform:none}
.d-big img{width:22px;height:22px}
.d-big .d-ring{width:16px;height:16px}
/* it costs nothing to add: said once, inside the button, at the moment of deciding */
.d-free{padding:3px 8px;border-radius:11px;background:#0A0A0A;font-size:12px;line-height:16px;font-weight:600;color:#F5F5F5}
/* the home page's own line */
.d-trust{margin:26px 0 0;height:28px;display:flex;align-items:center;gap:12px;font-size:15px;line-height:20px;letter-spacing:-.01em;color:var(--soft);white-space:nowrap}
.d-trust > span:first-child{display:flex}
.d-trust img{width:28px;height:28px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px var(--page)}
.d-trust img + img{margin-left:-8px}
.d-trust b{font-weight:600;color:var(--white)}
/* the home page's handwritten note, here pointing at their server */
.d-note{position:absolute;left:50%;top:0;width:0;height:0;pointer-events:none}
.d-note span{position:absolute;left:-689px;top:302px;font-size:16px;line-height:20px;font-weight:500;letter-spacing:-.01em;color:var(--white);white-space:nowrap;transform:rotate(-6deg);transform-origin:50% 100%}
.d-note img{position:absolute;left:-644px;top:316px;width:85px;height:85px}
@media (max-width:1480px){.d-note{display:none}}
/* in the funnel the bar offers no other way out: Add to Discord is the sign-in (the logo and Build still go back) */
html.d-funnel .d-login,html.d-funnel .login{visibility:hidden}

/* ---- the server pane */
.d-srv{min-width:0;min-height:0;border-radius:20px;background:var(--page);overflow:hidden;display:flex;flex-direction:column}
.d-top{flex:none;height:65px;padding:0 12px 0 16px;border-bottom:1px solid #1F1F1F;display:flex;align-items:center;gap:12px}
.d-pic{flex:none;width:36px;height:36px;border-radius:12px;background:var(--bar);display:grid;place-items:center}
.d-pic img{width:20px;height:20px}
.d-id{min-width:0;position:relative;top:-1px}
.d-id:has(.d-facts:empty){top:0}   /* one line alone sits dead centre, 22 down */
.d-name{display:flex;align-items:center;gap:8px;font-size:15px;line-height:20px;font-weight:600;color:#FAFAFA;white-space:nowrap}
.d-name.d-none > span:first-child{color:var(--faint)}
.d-state{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border-radius:9px;background:var(--bar);font-size:11px;line-height:14px;font-weight:500;color:#A3A3A3}
.d-ring{width:12px;height:12px;border-radius:50%;background:conic-gradient(#FAFAFA 0 141deg,#333333 0);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 1.7px),#000 calc(100% - 1.7px));mask:radial-gradient(farthest-side,transparent calc(100% - 1.7px),#000 calc(100% - 1.7px));animation:d-spin .8s linear infinite}
@keyframes d-spin{to{transform:rotate(360deg)}}
.d-facts{margin-top:2px;font-size:12px;line-height:16px;color:var(--faint);white-space:nowrap;font-variant-numeric:tabular-nums}
.d-add{flex:none;margin-left:auto;height:40px;padding:0 16px 0 18px;border:0;border-radius:20px;background:#F5F5F5;color:#0A0A0A;display:flex;align-items:center;gap:6px;font-size:14px;line-height:20px;font-weight:600;white-space:nowrap;cursor:pointer;will-change:transform;transition:background-color .15s var(--ease),color .15s var(--ease),transform .12s ease}
.d-add:hover{background:#FFFFFF}
.d-add:active{transform:scale(.97)}
.d-add:disabled{background:var(--bar);color:#6B6B6B;cursor:default;transform:none}
.d-cols{flex:1;min-height:0;display:grid;grid-template-columns:224px minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
/* the list: Features on top, the channels by group, the roles. Group heads 28, rows 30 with a 16 picture, the name 32 in */
.d-list{position:relative;min-height:0;padding:8px;overflow-y:auto;scrollbar-width:none}
.d-list.d-more,.d-vb.d-more{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 24px),transparent)}
.d-list.d-less,.d-vb.d-less{-webkit-mask-image:linear-gradient(to bottom,transparent,#000 24px);mask-image:linear-gradient(to bottom,transparent,#000 24px)}
.d-list.d-less.d-more,.d-vb.d-less.d-more{-webkit-mask-image:linear-gradient(to bottom,transparent,#000 24px,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(to bottom,transparent,#000 24px,#000 calc(100% - 24px),transparent)}
.d-g{height:28px;margin-top:8px;padding:8px 8px 0;font-size:12px;line-height:16px;font-weight:500;color:var(--faint);white-space:nowrap}
.d-r{position:relative;z-index:1;width:100%;height:30px;padding:0 8px;border:0;border-radius:15px;background:none;display:flex;align-items:center;gap:8px;font-size:13px;line-height:20px;font-weight:400;color:var(--soft);text-align:left;white-space:nowrap;cursor:pointer;transition:background-color .12s var(--ease),color .12s var(--ease)}
.d-r:hover{background:#141414;color:#F2F2F2}
/* the picked row never paints its own fill: one highlight (.d-hl) sits behind it and slides to the next one picked */
.d-r[aria-current="true"],.d-r[aria-current="true"]:hover{background:none;color:#F2F2F2;font-weight:500}
.d-hl{position:absolute;z-index:0;left:8px;top:0;width:calc(100% - 16px);height:30px;border-radius:15px;background:#1F1F1F;pointer-events:none}
.d-r img{flex:none;width:16px;height:16px}
.d-n{min-width:0;overflow:hidden;text-overflow:ellipsis}
.d-dot{flex:none;width:16px;height:16px;display:grid;place-items:center}
.d-dot i{width:10px;height:10px;border-radius:50%}
.d-t{flex:none;margin-left:auto;padding:2px 6px;border:0;border-radius:9px;background:var(--bar);font-size:11px;line-height:14px;font-weight:500;color:var(--faint);white-space:nowrap}
.d-r[aria-current="true"] .d-t{background:#2A2A2A;color:var(--soft)}
button.d-t{position:relative;cursor:pointer;transition:color .12s var(--ease)}
button.d-t::before{content:"";position:absolute;inset:-4px -2px}   /* 26 tall to the pointer, 18 drawn */
button.d-t:hover{color:#F2F2F2}
.d-ph{display:flex;align-items:center;gap:8px;height:30px;padding:0 8px}
.d-ph b,.d-phh b,.d-sk b{display:block;border-radius:4px;background:var(--bar)}
.d-ph b,.d-phh b{height:8px}
.d-ph i{flex:none;width:16px;height:16px;border-radius:8px;background:var(--bar)}
.d-phh{height:28px;margin-top:8px;padding:10px 8px 0}
/* beside the list: what PeakBot does (or the row that was clicked) */
.d-view{min-width:0;min-height:0;border-left:1px solid #1F1F1F;display:flex;flex-direction:column}
.d-vh{flex:none;height:49px;padding:0 16px;border-bottom:1px solid #1F1F1F;display:flex;align-items:center;gap:8px;font-size:15px;line-height:20px;font-weight:600;color:#F2F2F2;white-space:nowrap}
.d-vh img{width:16px;height:16px}
.d-vh .d-t{margin-left:0}
.d-vb{flex:1;min-height:0;padding:16px;overflow-y:auto;scrollbar-width:none}
.d-f + .d-f{margin-top:24px}
.d-fh{height:20px;display:flex;align-items:center;gap:8px;font-size:14px;line-height:20px;font-weight:600;color:#F2F2F2;white-space:nowrap}
.d-fh img{width:16px;height:16px}
.d-fl{margin-top:8px;font-size:13px;line-height:20px;color:var(--faint)}
.d-card{margin-top:10px;padding:14px 16px 14px 14px;border-radius:12px;background:#141414;display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:12px}
.d-card + .d-card{margin-top:8px}
.d-av{width:36px;height:36px;border-radius:18px;background:#1F1F1F;display:grid;place-items:center}
.d-av img{width:20px;height:17px;object-fit:contain}
.d-mh{display:flex;align-items:center;font-size:14px;line-height:20px;font-weight:500;color:#F2F2F2;white-space:nowrap}
.d-app{margin-left:6px;padding:1px 4px;border-radius:8px;background:#5865F2;font-size:10px;line-height:13px;font-weight:600;color:#FFFFFF}
.d-mh time{margin-left:8px;font-size:11px;line-height:16px;font-weight:400;color:#6B6B6B}
.d-mb{margin-top:2px;font-size:14px;line-height:22px;color:#E5E5E5}
.d-mb b{font-weight:600;color:#FAFAFA}
.d-at{font-weight:500;color:#A5B4FC;white-space:nowrap}
.d-bs{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}
.d-b{height:32px;padding:0 14px 0 12px;border-radius:16px;background:#1F1F1F;display:flex;align-items:center;gap:8px;font-size:13px;line-height:18px;font-weight:500;color:#F2F2F2;white-space:nowrap}
.d-b i{width:8px;height:8px;border-radius:50%}
.d-b img{width:16px;height:16px;margin-left:-2px}
.d-sk{opacity:.9}
.d-sk + .d-sk{margin-top:24px;opacity:.54}
.d-sk p{height:20px;display:flex;align-items:center;gap:8px}
.d-sk p b:first-child{width:16px;height:16px;border-radius:8px}
.d-sk p b:last-child{width:128px;height:10px;border-radius:5px}
.d-sk > b{margin-top:10px;height:104px;border-radius:12px;background:#111111}
.d-info{display:grid;grid-template-columns:144px minmax(0,1fr)}
.d-info dt,.d-info dd{height:32px;padding:6px 0;font-size:13px;line-height:20px}
.d-info dt{color:var(--faint)}
.d-info dd{color:#E5E5E5}
.d-pg{font-size:12px;line-height:16px;font-weight:500;color:var(--faint)}
.d-info + .d-pg{margin-top:16px}
.d-pg + .d-card{margin-top:8px}
.d-pg + .d-pl{margin-top:8px}
.d-pl{padding:0;list-style:none}
.d-pl li{height:32px;display:flex;align-items:center;gap:8px;font-size:13px;line-height:20px;color:#E5E5E5}
.d-pl svg{flex:none}
.d-pl.d-no li{color:var(--faint)}
.d-pl + .d-pg{margin-top:16px}
.d-none-yet{flex:1;display:grid;place-items:center;font-size:13px;line-height:18px;font-weight:500;color:var(--faint)}
/* nothing built: no list, no divider, one tile and one line in the middle of the pane */
.d-cols.d-blank{grid-template-columns:minmax(0,1fr)}
.d-cols.d-blank .d-list{display:none}
.d-cols.d-blank .d-view{border-left:0}
.d-yet{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;font-size:13px;line-height:18px;font-weight:500;color:var(--faint)}
.d-yet span{width:40px;height:40px;border-radius:12px;background:#141414;display:grid;place-items:center}

/* ---- the log-in popup: always centred, 440 wide, corners 28 */
.d-pop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:rgba(0,0,0,.6)}
.d-sheet{width:440px;max-width:calc(100vw - 32px);padding:32px 32px 24px;border-radius:28px;background:#1C1C1C;box-shadow:0 24px 64px rgba(0,0,0,.5);display:flex;flex-direction:column;align-items:center}
.d-theirs{display:flex;align-items:center;gap:10px;padding:6px 14px 6px 6px;border-radius:22px;background:#262626;font-size:14px;line-height:20px;font-weight:500;color:#F2F2F2;white-space:nowrap}
.d-theirs span:first-child{width:32px;height:32px;border-radius:10px;background:#333333;display:grid;place-items:center}
.d-theirs img{width:18px;height:18px}
.d-sheet h2{margin:24px 0 0;font-size:24px;line-height:32px;font-weight:500;letter-spacing:-.01em;color:#FAFAFA;text-align:center}
.d-dbtn{margin-top:28px;width:100%;height:48px;will-change:transform;border:0;border-radius:24px;background:#F5F5F5;color:#0A0A0A;display:flex;align-items:center;justify-content:center;gap:10px;font-size:15px;line-height:20px;font-weight:600;cursor:pointer;transition:background-color .15s var(--ease),transform .12s ease}
.d-dbtn:hover{background:#FFFFFF}
.d-dbtn:active{transform:scale(.98)}
.d-dbtn img{width:20px;height:20px}
.d-notnow{margin-top:8px;width:100%;height:40px;border:0;border-radius:20px;background:none;font-size:14px;line-height:20px;font-weight:500;color:#ADADAD;cursor:pointer;transition:color .15s var(--ease)}
.d-notnow:hover{color:#F2F2F2}

/* ---- motion. Most of it is in demo.js (it needs to know where things are); this is what CSS can do alone. */
/* a surface that travels and becomes the bubble, while the real bubble waits where it will land */
.d-fly{position:fixed;z-index:60;margin:0;background:var(--bar);overflow:hidden;pointer-events:none}
.d-fly span{position:absolute;left:18px;top:14px;font:400 14px/22px "Inter",system-ui,sans-serif;color:#FFFFFF;overflow-wrap:anywhere;white-space:pre-wrap}
.d-wait{visibility:hidden}
@media (prefers-reduced-motion:no-preference){
  .d-in{animation:d-in .3s var(--out) backwards}
  .d-breathe{animation:d-breathe 1.2s ease-in-out infinite}
}
@keyframes d-in{from{opacity:0;transform:scale(.97)}30%{opacity:1}}
@keyframes d-breathe{50%{opacity:.45}}
@media (prefers-reduced-motion:reduce){.d-ring{animation:none}.d-send svg,.d-send i{transition:none}}
@media (max-width:1100px){.d-win{grid-template-columns:320px minmax(0,1fr)}.d-cols{grid-template-columns:200px minmax(0,1fr)}.d-steps{position:static;transform:none}}
@media (max-width:820px){.d-win{grid-template-columns:minmax(0,1fr)}.d-srv{display:none}.d-steps .d-step:not([aria-current]),.d-join{display:none}}

/* ---------- a phone (under 760 wide): Figma section "Phone" ----------
   The bar is the phone header's: 12 from the top, the window less 24 wide. The window starts 24 under it, 20 from each
   side. The funnel's heading is the phone heading, small enough for its longer line ("Your Discord Server" is 11.5 of
   the type wide); its pills are written in em here, so they follow the type. The bar under it is ONE panel: what comes
   with them on the first row, the white button as wide as the panel on the second. */
@media (max-width:759px){
  .d-bar{top:12px;width:calc(100vw - 24px)}
  .d-demo{top:92px;width:calc(100vw - 40px);height:calc(100vh - 112px);height:calc(100svh - 112px);min-height:420px}
  html.d-funnel .d-demo{height:auto;min-height:0}
  .d-fun{top:24px}
  .d-h1{font-size:min(36px,calc((100vw - 40px) / 11.7));line-height:1.33333}
  .d-ln{height:1.33333em}
  .d-tok{height:1.13333em;margin:.1em .18333em 0;padding:0 .18333em 0 1.1em;border-radius:.56667em;line-height:1.13333em}
  .d-tok i{left:.3em;top:.3em;width:2.8em;height:2.8em;font-size:.33333em;line-height:1.2}
  .d-tok i img{width:1.7em;height:1.4em}
  .d-tokd,.d-toks{padding-left:1.3em}
  .d-tokd > img{left:-.095em;top:-.095em;width:1.3235em;height:1.3235em}
  .d-fbar{flex-wrap:wrap;gap:12px 14px;margin-top:32px;width:100%;max-width:none;height:auto;padding:16px}
  .d-fbar .d-big{flex:1 1 100%;justify-content:center;font-size:17px;line-height:24px}
  .d-trust{margin-top:24px}
  .d-box textarea{font-size:16px}   /* under 16 a phone zooms the page in when the field is pressed */
}
/* the narrowest screens: the trust line fits the column, and in the bar the name gives way so Log in stays inside it */
@media (max-width:359px){
  .d-trust{gap:8px;font-size:13px}
  .d-brand{gap:0;padding-right:0;font-size:0}
}
