/* Robtic services: the home page's service cards and the two service landing pages (/hosting, /discord).
   Every class starts with rx- so nothing here can clash with site.css's short names. */

.rx-kicker { display: inline-block; margin-bottom: 14px; color: #6cc0ff; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.rx-kicker-c { display: block; text-align: center; }
.rx-center { margin: 36px 0 0; text-align: center; }
.rx-center .btn svg, .rx-svc-links .btn svg { vertical-align: -3px; }

/* home: the two services, rising out of the sky */
.rx-services { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 64px; }
.rx-svc { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(16, 28, 52, 0.92), rgba(9, 15, 28, 0.96)); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); transition: transform 0.25s, border-color 0.25s; }
.rx-svc:hover { transform: translateY(-4px); border-color: rgba(23, 147, 255, 0.4); }
.rx-svc-shot { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.rx-svc-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rx-svc:hover .rx-svc-shot img { transform: scale(1.035); }
.rx-svc-body { display: flex; flex: 1; flex-direction: column; padding: 26px 26px 24px; }
.rx-svc-body .rx-kicker { margin-bottom: 8px; }
.rx-svc-body h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -0.01em; }
.rx-svc-body h2 a { color: inherit; text-decoration: none; }
.rx-svc-body p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.rx-svc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px; }
.rx-svc-discord .rx-kicker { color: #a5b4fc; }

/* points (home "your account", discord "every bot") */
.rx-band { background: var(--bg-2); }
.rx-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.rx-point { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
.rx-point h3 { margin: 14px 0 6px; font-size: 17px; }
.rx-point p { margin: 0; color: var(--muted); font-size: 15px; }
.rx-point-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(23, 147, 255, 0.14); color: #6cc0ff; }

/* steps (hosting, discord) */
.rx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.rx-step { position: relative; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)); }
.rx-step-n { position: absolute; top: 18px; right: 20px; color: rgba(255, 255, 255, 0.12); font-size: 44px; font-weight: 800; line-height: 1; }
.rx-step h3 { margin: 14px 0 6px; font-size: 18px; }
.rx-step p { margin: 0; color: var(--muted); font-size: 15px; }
.rx-points-4 { margin-top: 16px; }

/* discord: the four bots */
.rx-bots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.rx-bot { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); background: var(--glass); }
.rx-bot-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent); }
.rx-bot h3 { margin: 16px 0 4px; font-size: 19px; }
.rx-bot b { color: #dbe4f5; font-size: 14px; font-weight: 600; }
.rx-bot p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }
.rx-bot-legal { margin-top: auto; padding-top: 16px; color: var(--muted); font-size: 13px; }
.rx-bot-legal a { color: var(--muted); }
.rx-bot-legal a:hover { color: var(--text); }

/* hosting: its own hero, a console instead of the sky */
.rx-h-hero { position: relative; overflow: hidden; padding: calc(var(--bar) + 72px) 0 0; background: radial-gradient(900px 480px at 85% 10%, rgba(16, 185, 129, 0.16), transparent 60%), radial-gradient(1000px 520px at 10% 0%, rgba(23, 147, 255, 0.22), transparent 60%), linear-gradient(180deg, #06101f 0%, var(--bg) 100%); }
.rx-h-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.rx-h-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.rx-h-copy h1 { margin: 0; font-size: clamp(36px, 5.2vw, 62px); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; }
.rx-h-copy h1 span { background: linear-gradient(90deg, #5eead4, #10b981); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rx-h-copy .rx-kicker { color: #5eead4; }
.rx-h-copy .lead { margin: 20px 0 0; max-width: 560px; color: var(--muted); font-size: 18px; }
.rx-h-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rx-stack { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.rx-stack li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); color: #c9d4e8; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.rx-term { overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; background: #050a14; box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(16, 185, 129, 0.08); }
.rx-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); }
.rx-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.rx-term-bar i:nth-child(2) { background: #fbbf24; }
.rx-term-bar i:nth-child(3) { background: #34d399; }
.rx-term-bar span { margin-left: 8px; color: var(--muted); font-size: 12.5px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.rx-term pre { display: grid; gap: 6px; margin: 0; padding: 20px 20px 24px; color: #dbe4f5; font-size: 14px; line-height: 1.5; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }
.rx-term .l { opacity: 0; transform: translateY(4px); animation: rx-line 0.4s ease forwards; }
.rx-term .l b { color: #5eead4; font-weight: 700; }
.rx-term .ok { color: #86efac; }
.rx-term .dim { color: var(--muted); }
.rx-term .live { color: #34d399; font-weight: 700; }
.rx-term .l1 { animation-delay: 0.2s; } .rx-term .l2 { animation-delay: 0.7s; } .rx-term .l3 { animation-delay: 1.2s; }
.rx-term .l4 { animation-delay: 1.8s; } .rx-term .l5 { animation-delay: 2.3s; } .rx-term .l6 { animation-delay: 2.8s; } .rx-term .l7 { animation-delay: 3.5s; }
@keyframes rx-line { to { opacity: 1; transform: none; } }

.rx-h-shot { position: relative; margin-top: 64px; }
.rx-h-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -20px 80px -30px rgba(23, 147, 255, 0.45); }

/* hosting: plans preview */
.rx-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 36px; }
.rx-plan { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); color: var(--text); text-decoration: none; transition: transform 0.2s, border-color 0.2s; }
.rx-plan:hover { transform: translateY(-3px); border-color: rgba(16, 185, 129, 0.45); text-decoration: none; }
.rx-plan b { font-size: 19px; }
.rx-plan-price { margin-top: 4px; color: #5eead4; font-size: 14px; font-weight: 600; }
.rx-plan ul { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; }
.rx-plan li { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.rx-plan li span:last-child { color: #dbe4f5; }

@media (max-width: 960px) {
    .rx-h-in { grid-template-columns: 1fr; gap: 36px; }
    .rx-points, .rx-bots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .rx-services, .rx-steps, .rx-points, .rx-bots { grid-template-columns: 1fr; }
    .rx-services { margin-top: 44px; }
    .rx-term pre { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .rx-term .l { animation: none; opacity: 1; transform: none; }
    .rx-svc, .rx-plan, .rx-svc-shot img { transition: none; }
}

/* hosting hero visual: a workspace canvas (cards joined by wires, a console in front) */
.rx-canvas { position: relative; height: 400px; }
.rx-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rx-wires path { fill: none; stroke: rgba(94, 234, 212, 0.35); stroke-width: 1.6; stroke-dasharray: 6 7; animation: rx-flow 1.6s linear infinite; }
@keyframes rx-flow { to { stroke-dashoffset: -26; } }
.rx-node { position: absolute; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; min-width: 150px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; background: rgba(10, 18, 34, 0.92); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.8); animation: rx-float 6s ease-in-out infinite; }
.rx-node i { grid-row: span 2; width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15); }
.rx-node i.wait { background: #fbbf24; box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.15); }
.rx-node b { font-size: 13.5px; }
.rx-node small { color: var(--muted); font-size: 11.5px; }
.rx-spark { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 3px; height: 18px; margin-top: 8px; }
.rx-spark s { flex: 1; border-radius: 2px; background: linear-gradient(180deg, #5eead4, #10b981); transform-origin: bottom; animation: rx-bar 1.8s ease-in-out infinite; }
.rx-spark s:nth-child(1) { height: 40%; } .rx-spark s:nth-child(2) { height: 70%; animation-delay: .2s; } .rx-spark s:nth-child(3) { height: 55%; animation-delay: .4s; }
.rx-spark s:nth-child(4) { height: 90%; animation-delay: .6s; } .rx-spark s:nth-child(5) { height: 60%; animation-delay: .8s; } .rx-spark s:nth-child(6) { height: 75%; animation-delay: 1s; } .rx-spark s:nth-child(7) { height: 45%; animation-delay: 1.2s; }
@keyframes rx-bar { 50% { transform: scaleY(0.6); } }
@keyframes rx-float { 50% { transform: translateY(-6px); } }
.n-bot { left: 0; top: 54px; border-color: rgba(94, 234, 212, 0.45); }
.n-api { left: 56%; top: 30px; animation-delay: -1s; }
.n-db { left: 52%; top: 172px; animation-delay: -2s; }
.n-cache { left: 72%; top: 104px; min-width: 128px; animation-delay: -3s; }
.n-backup { left: 0; top: 250px; animation-delay: -4s; }
.n-domain { left: 66%; top: 252px; animation-delay: -5s; }
.rx-canvas .rx-term { position: absolute; left: 22%; right: 18%; bottom: -40px; z-index: 2; }
.rx-canvas .rx-term pre { padding: 14px 16px 16px; font-size: 13px; }

/* discord hero: blurple, a Discord channel where the bots work */
.rx-d-hero { position: relative; overflow: hidden; padding: calc(var(--bar) + 64px) 0 80px; background: linear-gradient(160deg, #3b2fb8 0%, #5865f2 38%, #2c3a9e 70%, var(--bg) 100%); }
.rx-d-glow { position: absolute; top: -20%; right: -10%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%); pointer-events: none; }
.rx-d-in { position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 44px; align-items: center; }
.rx-d-copy .rx-kicker { color: #dfe2ff; }
.rx-d-copy h1 { margin: 0; color: #fff; font-size: clamp(36px, 5.2vw, 62px); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; }
.rx-d-copy h1 span { color: #fde68a; }
.rx-d-copy .lead { margin: 20px 0 0; max-width: 540px; color: rgba(255, 255, 255, 0.84); font-size: 18px; }
.rx-d-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rx-d-ctas .btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.rx-d-add { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 12px; background: #fff; color: #404eed; font-size: 17px; font-weight: 800; text-decoration: none; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.5); transition: transform 0.2s, box-shadow 0.2s; }
.rx-d-add:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.55); text-decoration: none; }
.rx-d-facts { display: flex; gap: 28px; margin: 30px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.8); font-size: 14px; }
.rx-d-facts b { display: block; color: #fff; font-size: 26px; line-height: 1.1; }

.rx-dc { display: grid; grid-template-columns: 56px 150px minmax(0, 1fr); height: 400px; overflow: hidden; border-radius: 14px; background: #313338; box-shadow: 0 40px 90px -30px rgba(10, 10, 40, 0.75); color: #dbdee1; font-size: 13.5px; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.rx-dc-rail { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; background: #1e1f22; }
.rx-dc-rail i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #2b2d31; color: #23a55a; font-style: normal; font-weight: 700; }
.rx-dc-rail i.me { border-radius: 12px; background: #5865f2; }
.rx-dc-rail i.act { border-radius: 12px; background: linear-gradient(135deg, #8b5cf6, #1793ff); }
.rx-dc-side { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; background: #2b2d31; color: #949ba4; }
.rx-dc-side b { margin-bottom: 8px; color: #f2f3f5; font-size: 13.5px; }
.rx-dc-side span { padding: 4px 8px; border-radius: 6px; font-size: 13px; white-space: nowrap; }
.rx-dc-side span.on { background: #404249; color: #f2f3f5; }
.rx-dc-chat { display: flex; flex-direction: column; gap: 12px; padding: 0 16px 16px; overflow: hidden; }
.rx-dc-head { margin: 0 -16px 2px; padding: 12px 16px; border-bottom: 1px solid #1f2023; color: #f2f3f5; font-weight: 700; }
.rx-msg { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; opacity: 0; transform: translateY(10px); animation: rx-line 0.5s ease forwards; }
.rx-msg.m1 { animation-delay: 0.3s; } .rx-msg.m2 { animation-delay: 1.3s; } .rx-msg.m3 { animation-delay: 2.3s; } .rx-msg.m4 { animation-delay: 3.3s; }
.rx-msg .av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; }
.rx-msg .who { margin: 0 0 4px; color: #f2f3f5; font-weight: 700; font-size: 13.5px; }
.rx-msg .who em { margin-left: 4px; padding: 1px 4px; border-radius: 3px; background: #5865f2; color: #fff; font-size: 9.5px; font-style: normal; font-weight: 700; vertical-align: 1px; }
.rx-msg .txt { margin: 0; }
.rx-msg .emb { display: grid; gap: 3px; padding: 8px 12px; border-left: 4px solid var(--accent); border-radius: 4px; background: #2b2d31; }
.rx-msg .emb b { color: #f2f3f5; font-size: 13px; }
.rx-msg .emb span { color: #b5bac1; font-size: 12.5px; }
.rx-msg .emb .rx-prog { display: block; height: 5px; margin-top: 4px; border-radius: 3px; background: #1e1f22; overflow: hidden; }
.rx-msg .emb .rx-prog s { display: block; width: 68%; height: 100%; background: var(--accent); }
.rx-msg .btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.rx-msg .btns i { padding: 3px 9px; border-radius: 4px; background: #4e5058; color: #fff; font-size: 11.5px; font-style: normal; }

@media (max-width: 960px) {
    .rx-d-in { grid-template-columns: 1fr; }
    .rx-dc { transform: none; }
    .rx-canvas { height: 380px; margin-bottom: 40px; }
}
@media (max-width: 720px) {
    .rx-dc { grid-template-columns: minmax(0, 1fr); height: 380px; }
    .rx-dc-rail, .rx-dc-side { display: none; }
    .rx-node { min-width: 0; padding: 8px 10px; }
    .n-cache, .n-domain { display: none; }
    .n-api, .n-db { left: auto; right: 0; }
    .rx-canvas .rx-term { left: 4%; right: 4%; }
}
@media (prefers-reduced-motion: reduce) {
    .rx-wires path, .rx-node, .rx-spark s { animation: none; }
    .rx-msg { animation: none; opacity: 1; transform: none; }
}

/* /faq: one heading per group */
.rx-faq-h { margin: 0 0 22px; font-size: clamp(24px, 3vw, 32px); }
.rx-d-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.rx-dc-head { position: relative; z-index: 1; background: #313338; }
.rx-canvas .rx-term { bottom: -56px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* discord: the scroll story. The section is one screen per step tall; .rx-ds-pin stays on screen while it scrolls. */
.rx-ds { position: relative; height: calc(var(--steps) * 100vh); height: calc(var(--steps) * 100svh); background: var(--bg); }
/* svh: the phone's screen with its address bar shown, so the story doesn't jump when the bar slides away. */
.rx-ds-pin { position: sticky; top: 0; display: flex; flex-direction: column; align-items: center; height: 100vh; height: 100svh; overflow: hidden; padding: calc(var(--bar) + 28px) 24px 24px; }
.rx-ds-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(1100px 520px at 50% -8%, rgba(88, 101, 242, 0.55), transparent 62%), linear-gradient(180deg, #171a4a 0%, #0c1030 45%, var(--bg) 100%); }
.rx-ds-bg i { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: 0.35; background-color: var(--accent); transition: background-color 0.8s ease, transform 1.2s ease; animation: rx-orb 14s ease-in-out infinite; }
.rx-ds-bg i:nth-child(1) { top: 10%; left: -8%; }
.rx-ds-bg i:nth-child(2) { top: 40%; right: -10%; animation-delay: -5s; background-color: #5865f2; }
.rx-ds-bg i:nth-child(3) { bottom: -20%; left: 35%; animation-delay: -9s; opacity: 0.2; }
@keyframes rx-orb { 50% { transform: translate(40px, -30px) scale(1.1); } }

.rx-ds-title { position: relative; z-index: 1; max-width: 900px; text-align: center; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rx-ds-title h1 { margin: 0; color: #fff; font-size: clamp(36px, 5.6vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: -0.025em; transition: font-size 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rx-ds-title h1 span { background: linear-gradient(90deg, #c7d2fe, #fde68a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rx-ds-title .rx-kicker { color: #c7d2fe; }
.rx-ds-title .lead { margin: 16px auto 0; max-width: 620px; color: rgba(255, 255, 255, 0.8); font-size: 18px; transition: opacity 0.4s, max-height 0.6s, margin 0.6s; max-height: 120px; overflow: hidden; }
.rx-ds-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; transition: opacity 0.4s, max-height 0.6s, margin 0.6s; max-height: 80px; overflow: hidden; }
.rx-ds-ctas .btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.rx-ds-title.is-small h1 { font-size: clamp(24px, 3vw, 34px); }
.rx-ds-title.is-small .rx-kicker { margin-bottom: 6px; }
.rx-ds-title.is-small .lead, .rx-ds-title.is-small .rx-ds-ctas { opacity: 0; max-height: 0; margin-top: 0; pointer-events: none; }

/* the server card: straight, centered, under the title */
.rx-ds-card { position: relative; z-index: 1; display: grid; grid-template-columns: 72px 220px minmax(0, 1fr) 230px; width: calc(min(1180px, 100%) + (100% - min(1180px, 100%)) * var(--open, 0)); flex: 1; min-height: 0; max-height: calc(600px + 200px * var(--open, 0)); margin-top: 28px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; background: #313338; color: #dbdee1; font-size: 14px; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(88, 101, 242, 0.15), 0 0 80px -20px color-mix(in srgb, var(--accent) 45%, transparent); transition: box-shadow 0.8s ease; animation: rx-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes rx-rise { from { opacity: 0; transform: translateY(40px) scale(0.98); } }

.rx-ds-rail { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; background: #1e1f22; }
.rx-ds-rail i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #313338; color: #23a55a; font-size: 13px; font-style: normal; font-weight: 800; transition: border-radius 0.3s, background 0.3s; }
.rx-ds-rail i.home { border-radius: 14px; background: #5865f2; }
.rx-ds-rail .sep { width: 30px; height: 2px; border-radius: 1px; background: #35363c; }
.rx-ds-rail i.srv { color: #fff; background: #3a3c43; }
.rx-ds-rail i.srv.on { border-radius: 14px; background: linear-gradient(135deg, #8b5cf6, #1793ff); box-shadow: -8px 0 0 -4px #fff; }

.rx-ds-side { display: flex; flex-direction: column; gap: 2px; padding: 0 8px 12px; overflow: hidden; background: #2b2d31; color: #949ba4; }
.rx-ds-srv { display: grid; margin: 0 -8px 8px; padding: 14px 16px; border-bottom: 1px solid #1f2023; }
.rx-ds-srv b { color: #f2f3f5; font-size: 15px; }
.rx-ds-srv small { font-size: 12px; }
.rx-ds-cat { margin: 12px 8px 4px; color: #949ba4; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.rx-ds-ch { padding: 5px 10px; border-radius: 6px; font-size: 14px; white-space: nowrap; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.rx-ds-ch.on { background: #404249; color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.rx-ds-voice { display: grid; gap: 4px; max-height: 0; overflow: hidden; padding-left: 26px; opacity: 0; transition: max-height 0.5s ease, opacity 0.5s ease; }
.rx-ds-voice.live { max-height: 120px; opacity: 1; margin: 2px 0 6px; }
.rx-ds-voice span { display: flex; align-items: center; gap: 8px; color: #dbdee1; font-size: 13px; }
.rx-ds-voice span i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #4e5058; color: #fff; font-size: 9.5px; font-style: normal; font-weight: 800; }
.rx-ds-voice.live span:first-child i { box-shadow: 0 0 0 2px #23a55a; animation: rx-talk 1s ease-in-out infinite; }
@keyframes rx-talk { 50% { box-shadow: 0 0 0 3px #23a55a; } }

.rx-ds-chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.rx-ds-head { padding: 14px 18px; border-bottom: 1px solid #1f2023; color: #f2f3f5; font-weight: 700; }
.rx-ds-msgs { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 16px; min-height: 0; overflow: hidden; padding: 16px 18px; }
.rx-ds-input { margin: 0 18px 18px; padding: 12px 16px; border-radius: 10px; background: #383a40; color: #6d6f78; font-size: 14px; }
.rx-ds-msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; opacity: 0; transform: translateY(14px); animation: rx-msg-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; animation-delay: calc(var(--i, 0) * 0.35s + 0.15s); }
@keyframes rx-msg-in { to { opacity: 1; transform: none; } }
.rx-ds-msg .av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; }
.rx-ds-msg .who { margin: 0 0 4px; color: #f2f3f5; font-weight: 700; }
.rx-ds-msg .who em, .rx-ds-mem em, .rx-ds-profile em { margin-left: 4px; padding: 1px 5px; border-radius: 4px; background: #5865f2; color: #fff; font-size: 10px; font-style: normal; font-weight: 700; vertical-align: 1px; }
.rx-ds-line { margin: 0; color: #dbdee1; }
.rx-ds-emb { display: grid; gap: 4px; max-width: 460px; padding: 10px 14px; border-left: 4px solid var(--accent); border-radius: 6px; background: #2b2d31; }
.rx-ds-emb b { color: #f2f3f5; }
.rx-ds-emb div { color: #b5bac1; font-size: 13.5px; }
.rx-ds-prog { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: #1e1f22; overflow: hidden; }
.rx-ds-prog s { display: block; height: 100%; border-radius: 3px; background: var(--accent); animation: rx-grow 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both; }
@keyframes rx-grow { from { width: 0; } }
.rx-ds-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rx-ds-btns i { padding: 4px 10px; border-radius: 4px; background: #4e5058; color: #fff; font-size: 12.5px; font-style: normal; }
.rx-ds-top { display: grid; gap: 2px; margin: 4px 0 0; padding: 0; list-style: none; }
.rx-ds-sys { color: #949ba4; font-size: 13.5px; animation: rx-msg-in 0.5s ease both; }
.rx-ds-sys b { color: #23a55a; }

.rx-ds-invite { display: grid; justify-items: center; gap: 6px; align-self: center; margin: auto; padding: 26px 34px; border-radius: 14px; background: #2b2d31; text-align: center; animation: rx-msg-in 0.6s ease both; }
.rx-ds-inv-ic { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 20px; background: linear-gradient(135deg, #8b5cf6, #1793ff); color: #fff; font-size: 20px; font-weight: 800; }
.rx-ds-invite b { color: #b5bac1; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.rx-ds-invite strong { color: #fff; font-size: 20px; }
.rx-ds-invite small { display: flex; align-items: center; gap: 6px; color: #b5bac1; font-size: 13px; }
.rx-ds-invite small i { width: 8px; height: 8px; border-radius: 50%; background: #80848e; }
.rx-ds-invite small i.on { background: #23a55a; }
.rx-ds-invite button { margin-top: 12px; padding: 10px 40px; border: 0; border-radius: 6px; background: #248046; color: #fff; font: inherit; font-weight: 700; cursor: pointer; animation: rx-pulse 1.8s ease-in-out infinite; }
.rx-ds-invite em { margin-top: 6px; color: #80848e; font-size: 12px; font-style: normal; }
@keyframes rx-pulse { 50% { box-shadow: 0 0 0 8px rgba(36, 128, 70, 0.25); } }

.rx-ds-members { display: flex; flex-direction: column; gap: 2px; padding: 4px 10px 12px; overflow: hidden; background: #2b2d31; }
.rx-ds-mem { display: flex; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 6px; color: #949ba4; font-size: 14px; white-space: nowrap; transition: background 0.3s, color 0.3s; }
.rx-ds-mem i { position: relative; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #4e5058; color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
.rx-ds-mem i::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border: 3px solid #2b2d31; border-radius: 50%; background: #23a55a; }
.rx-ds-mem.bot i { background: var(--accent); }
.rx-ds-mem.bot { color: #dbdee1; }
.rx-ds-mem.on { background: #404249; color: #fff; }
.rx-ds-mem.you { color: #fff; animation: rx-msg-in 0.5s ease both; }
.rx-ds-mem.you i { background: #23a55a; }

/* the bot's profile card, opening over the member list */
.rx-ds-profile { position: absolute; top: 58px; right: 14px; z-index: 3; width: 320px; overflow: hidden; border-radius: 12px; background: #232428; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.75); animation: rx-pop 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.15) 0.25s both; }
@keyframes rx-pop { from { opacity: 0; transform: translateX(30px) scale(0.96); } }
.rx-ds-profile .banner { height: 70px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #0b1222)); }
.rx-ds-profile .pav { position: absolute; top: 30px; left: 16px; display: grid; place-items: center; width: 76px; height: 76px; border: 6px solid #232428; border-radius: 50%; background: var(--accent); color: #fff; font-size: 22px; font-weight: 800; }
.rx-ds-profile .pav i { position: absolute; right: 0; bottom: 2px; width: 16px; height: 16px; border: 4px solid #232428; border-radius: 50%; background: #23a55a; }
.rx-ds-profile .pbody { margin: 46px 12px 12px; padding: 12px; border-radius: 8px; background: #111214; }
.rx-ds-profile .pbody b { color: #fff; font-size: 18px; }
.rx-ds-profile .pbody small { display: block; margin-top: 2px; color: #b5bac1; font-size: 13px; }
.rx-ds-profile .ph { margin: 12px 0 4px; padding-top: 10px; border-top: 1px solid #2e2f34; color: #f2f3f5; font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.rx-ds-profile .pbody > p:not(.ph) { margin: 0; color: #dbdee1; font-size: 13.5px; line-height: 1.45; }
.rx-ds-profile .roles { display: flex; flex-wrap: wrap; gap: 5px; }
.rx-ds-profile .roles span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px; background: #2b2d31; color: #dbdee1; font-size: 12px; opacity: 0; animation: rx-msg-in 0.4s ease forwards; animation-delay: calc(0.6s + var(--i) * 0.07s); }
.rx-ds-profile .roles span i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* which bot, beside the card */

@media (max-width: 1100px) {
    .rx-ds-card { grid-template-columns: 72px 200px minmax(0, 1fr); }
    .rx-ds-members { display: none; }
}
@media (max-width: 760px) {
    /* phones: the chat on top, the bot's card as a strip under it (never over the messages) */
    .rx-ds-pin { padding: calc(var(--bar) + 16px) 12px 14px; }
    .rx-ds-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; margin-top: 18px; max-height: none; font-size: 13px; }
    .rx-ds-rail, .rx-ds-side { display: none; }
    .rx-ds-title .lead { font-size: 15px; margin-top: 12px; }
    .rx-ds-ctas { margin-top: 16px; }
    .rx-ds-ctas .btn-ghost { display: none; }
    .rx-ds-msgs { gap: 12px; padding: 12px; }
    .rx-ds-msg { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
    img.av { width: 32px; height: 32px; }
    .rx-ds-emb { padding: 8px 10px; }
    .rx-ds-input { margin: 0 12px 12px; padding: 10px 12px; }
    .rx-ds-invite { padding: 18px 20px; }
    img.rx-ds-inv-ic { width: 56px; height: 56px; }
    .rx-ds-profile { position: static; grid-row: 2; width: auto; margin: 0; border-radius: 0; border-top: 1px solid #1f2023; box-shadow: none; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px; animation-name: rx-msg-in; }
    .rx-ds-profile .banner { display: none; }
    .rx-ds-profile .pav { position: relative; top: auto; left: auto; width: 52px; height: 52px; border-width: 0; }
    .rx-ds-profile .pav i { border-width: 3px; width: 13px; height: 13px; }
    .rx-ds-profile .pbody { margin: 0; padding: 0; background: none; }
    .rx-ds-profile .pbody b { font-size: 15px; }
    .rx-ds-profile .pbody > p { display: none; }
    .rx-ds-profile .pbody { min-width: 0; }
    .rx-ds-profile .roles { margin-top: 8px; flex-wrap: wrap; }
    .rx-ds-profile .roles span:nth-child(n+6) { display: none; }
    .rx-ds-profile .roles span { font-size: 11px; padding: 2px 7px; }
}
/* Phones and touch screens: no blurred glow circles (very costly to draw), a lighter shadow, and no animated font
   sizes, so scrolling the story stays smooth. */
@media (max-width: 760px), (pointer: coarse) {
    .rx-ds-bg i { display: none; }
    .rx-ds-card { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(88, 101, 242, 0.15); transition: none; }
    .rx-ds-title, .rx-ds-title h1 { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
    .rx-ds-bg i, .rx-ds-invite button, .rx-ds-voice.live span:first-child i { animation: none; }
    .rx-ds-msg, .rx-ds-profile, .rx-ds-profile .roles span, .rx-ds-card { animation-duration: 0.01s; animation-delay: 0s; }
}

/* real pictures from the Robtic pack in the server card */
.rx-ds-rail i { overflow: hidden; }
.rx-ds-rail i img, .rx-ds-rail i svg { display: block; }
.rx-ds-rail i img { width: 100%; height: 100%; object-fit: cover; }
.rx-ds-rail i.home { color: #fff; }
.rx-ds-rail i.img { border-radius: 50%; transition: border-radius 0.3s; }
.rx-ds-rail i.img:hover { border-radius: 14px; }
.rx-ds-rail i.srv { padding: 0; background: #1e1f22; }
.rx-ds-rail i.srv.on { background: #1e1f22; }
.rx-ds-voice span img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.rx-ds-voice.live span:first-child img { box-shadow: 0 0 0 2px #23a55a; animation: rx-talk 1s ease-in-out infinite; }
img.av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #1e1f22; }
img.rx-ds-inv-ic { width: 72px; height: 72px; padding: 0; border-radius: 22px; object-fit: cover; }
.rx-ds-mem .mav { position: relative; flex: none; width: 32px; height: 32px; }
.rx-ds-mem .mav img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #1e1f22; }
.rx-ds-mem .mav::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border: 3px solid #2b2d31; border-radius: 50%; background: #23a55a; }
.rx-ds-mem.on .mav img { box-shadow: 0 0 0 2px var(--accent); }
.rx-ds-profile .banner { position: relative; overflow: hidden; }
.rx-ds-profile .banner img { width: 100%; height: 100%; object-fit: cover; }
.rx-ds-profile .banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%); }
.rx-ds-profile .pav { overflow: visible; padding: 0; background: #232428; }
.rx-ds-profile .pav img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* ======================================================================================================== discord (dl)
   Minimal and scroll-told (app/discord/DiscordLanding.tsx). Scrolling sets --flat, --pos, --fill and data-i; each has a
   resting default, so without JavaScript or under reduced motion every section shows its finished state. Motion is
   transform and opacity only, on strong ease-out curves; swaps are transitions (interruptible), never keyframes. */
.dl { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); }
.dl h1, .dl h2 { letter-spacing: -0.025em; }

/* Hero: one line, one fact, two actions, then the dashboard lying back under a soft blue glow. */
.dl-hero { --flat: 1; position: relative; padding: calc(var(--bar) + 88px) 20px 0; text-align: center; overflow: clip; }
.dl[data-motion] .dl-hero { --flat: 0; }
.dl-glow { position: absolute; inset: -20% -10% auto; height: 110vh; background: radial-gradient(60% 55% at 50% 0%, rgba(23, 147, 255, .38), rgba(23, 147, 255, .08) 55%, transparent 75%); pointer-events: none; }
.dl-hero-txt { position: relative; max-width: 820px; margin: 0 auto; }
.dl-hero h1 { margin: 0; font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; font-weight: 800; text-wrap: balance; }
.dl-hero h1 span { color: var(--blue); }
.dl-hero p { max-width: 560px; margin: 22px auto 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; text-wrap: balance; }
.dl-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.dl-add, .dl-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px;
    font-weight: 700; font-size: 16px; transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.dl-add { background: #fff; color: #070b14; box-shadow: 0 10px 30px -12px rgba(23, 147, 255, .7); }
.dl-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255, 255, 255, .03); }
@media (hover: hover) and (pointer: fine) {
    .dl-add:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(23, 147, 255, .85); }
    .dl-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .07); }
}
.dl-add:active, .dl-ghost:active { transform: scale(0.97); }
.dl-stage { position: relative; max-width: 1180px; margin: 64px auto 0; perspective: 1700px; }
.dl-frame {
    transform-origin: 50% 0%;
    transform: rotateX(calc((1 - var(--flat)) * 22deg)) scale(calc(0.9 + var(--flat) * 0.1));
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; overflow: hidden; background: #0a0e17;
    box-shadow: 0 50px 120px -40px rgba(23, 147, 255, .45), 0 30px 60px -30px rgba(0, 0, 0, .8);
    will-change: transform;
}
.dl-frame img { width: 100%; height: auto; }

/* Load: the words, then the dashboard, once (a short blur hides the crossfade). */
.dl[data-entered] .dl-hero-txt > * { animation: dl-rise 800ms var(--ease-out) both; }
.dl[data-entered] .dl-hero-txt > :nth-child(2) { animation-delay: 70ms; }
.dl[data-entered] .dl-hero-txt > :nth-child(3) { animation-delay: 130ms; }
.dl[data-entered] .dl-stage { animation: dl-rise 1000ms 200ms var(--ease-out) both; }
@keyframes dl-rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Shared pin: the section is tall, its content stays on screen while it scrolls. */
.dl-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }

/* The list: every feature as one big line; the current one lit, the rest falling away above and below. */
.dl-list { --pos: 0; height: calc(var(--n) * 34vh + 100vh); }
.dl-words { --row: clamp(58px, 9vw, 116px); position: absolute; inset: 50% 0 auto; margin: calc(var(--row) / -2) 0 0; padding: 0; list-style: none; transform: translateY(calc(var(--pos) * var(--row) * -1)); }
.dl-words li {
    --d: max(calc(var(--k) - var(--pos)), calc(var(--pos) - var(--k)));
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; height: var(--row); padding: 0 28px;
    opacity: max(0.08, calc(1 - var(--d) * 0.3)); transform: scale(max(0.72, calc(1 - var(--d) * 0.08)));
}
.dl-words b {
    font-size: calc(var(--row) * 0.74); line-height: 1; font-weight: 800; letter-spacing: -0.035em; white-space: nowrap;
    color: color-mix(in srgb, var(--blue) calc(max(0, 1 - var(--d) * 1.6) * 100%), #c9d3e6);
}
.dl-count, .dl-bot { font-size: 14px; color: var(--muted); opacity: max(0, calc(1 - var(--d) * 2.5)); white-space: nowrap; }
.dl-count { justify-self: end; font-variant-numeric: tabular-nums; }
.dl-bot { justify-self: start; }

/* How to start: the steps on the left, the matching screen on the right. */
.dl-steps { height: 380vh; }
.dl-steps-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.dl-steps h2 { margin: 0 0 30px; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; font-weight: 800; }
.dl-step-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dl-step-list li { display: grid; gap: 2px; padding: 14px 0 14px 20px; border-left: 2px solid var(--line); opacity: .38; transition: opacity 250ms ease, border-color 250ms ease; }
.dl-step-list b { font-size: 20px; font-weight: 700; }
.dl-step-list span { color: var(--muted); }
.dl-shot { position: relative; height: 380px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(80% 70% at 50% 100%, rgba(23, 147, 255, .18), transparent 70%), var(--bg-2); }
.dl-card {
    position: absolute; inset: 0; margin: auto; width: min(340px, 82%); height: fit-content; display: grid; justify-items: center; gap: 14px; padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: #0d1424; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
    opacity: 0; transform: translateY(12px) scale(0.97); filter: blur(4px);
    transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out), filter 280ms var(--ease-out);
}
.dl-card b { font-size: 17px; }
.dl-mini-logo { color: #fff; }
.dl-mini-btn { width: 100%; padding: 11px 0; border-radius: 999px; background: var(--blue); color: #fff; font-style: normal; font-weight: 700; text-align: center; font-size: 14px; }
.dl-mini-check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); }
.dl-mini-check i { position: relative; width: 18px; height: 18px; border-radius: 5px; background: #fff; }
.dl-mini-check i::after { content: ""; position: absolute; left: 5px; top: 3px; width: 5px; height: 9px; border: solid #070b14; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dl-mini-servers { display: flex; gap: 12px; }
.dl-mini-servers i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #1f2a40; font-style: normal; font-weight: 800; }
.dl-mini-servers i:first-child { background: var(--blue); }
.dl-mini-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.dl-mini-row:last-child { border-bottom: 0; }
.dl-mini-row i { width: 28px; height: 28px; border-radius: 8px; background: var(--blue); }
.dl-mini-row i.b1 { background: #6d5dfc; }
.dl-mini-row i.b2 { background: #10b981; }
.dl-mini-row em { margin-left: auto; padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; font-style: normal; font-size: 12.5px; color: var(--muted); }
.dl-mini-row:first-child em { border-color: transparent; color: #37d08a; }
.dl-steps[data-i="0"] .dl-step-list li:nth-child(1), .dl-steps[data-i="1"] .dl-step-list li:nth-child(2),
.dl-steps[data-i="2"] .dl-step-list li:nth-child(3), .dl-steps[data-i="3"] .dl-step-list li:nth-child(4) { opacity: 1; border-color: var(--blue); }
.dl-steps[data-i="0"] .dl-card:nth-child(1), .dl-steps[data-i="1"] .dl-card:nth-child(2),
.dl-steps[data-i="2"] .dl-card:nth-child(3), .dl-steps[data-i="3"] .dl-card:nth-child(4) { opacity: 1; transform: none; filter: none; }

/* The close: the line fills in word by word while a blue light rises behind it. */
.dl-close { --fill: 1; height: 230vh; }
.dl[data-motion] .dl-close { --fill: 0; }
.dl-close .dl-pin { align-content: center; gap: 40px; padding: 0 20px; text-align: center; }
.dl-close-glow { position: absolute; inset: auto -10% 0; height: 85%; background: radial-gradient(60% 70% at 50% 100%, rgba(23, 147, 255, .6), rgba(23, 147, 255, .16) 48%, transparent 74%); opacity: var(--fill); pointer-events: none; }
.dl-close h2 { position: relative; max-width: 1000px; margin: 0; font-size: clamp(44px, 7.4vw, 104px); line-height: 1.02; font-weight: 800; text-wrap: balance; }
.dl-close h2 span { color: color-mix(in srgb, #fff calc(clamp(0, (var(--fill) * 1.25 - var(--k)) * 7, 1) * 100%), rgba(255, 255, 255, .12)); }
.dl-close .dl-add { position: relative; justify-self: center; opacity: clamp(0, calc((var(--fill) - 0.7) * 4), 1); }

/* Resting state: no JavaScript, or reduced motion. Everything shows, nothing is pinned or moves. */
.dl:not([data-motion]) .dl-list, .dl:not([data-motion]) .dl-steps, .dl:not([data-motion]) .dl-close { height: auto; }
.dl:not([data-motion]) .dl-pin { position: relative; height: auto; padding: 96px 0; }
.dl:not([data-motion]) .dl-words { position: static; margin: 0; transform: none; }
.dl:not([data-motion]) .dl-words li { --d: 0; height: auto; padding: 6px 28px; transform: none; }
.dl:not([data-motion]) .dl-step-list li { opacity: 1; }
.dl:not([data-motion]) .dl-card:nth-child(4) { opacity: 1; transform: none; filter: none; }

@media (max-width: 860px) {
    .dl-hero { padding-top: calc(var(--bar) + 48px); }
    .dl-stage { margin-top: 44px; perspective: 900px; }
    .dl-frame { border-radius: 12px; }
    .dl-words { --row: clamp(52px, 12vw, 80px); }
    .dl-words li { grid-template-columns: 1fr; justify-items: center; gap: 4px; padding: 0 16px; }
    .dl-words b { font-size: calc(var(--row) * 0.62); }
    .dl-count, .dl-bot { display: none; }
    .dl-steps-in { grid-template-columns: 1fr; gap: 28px; }
    .dl-steps h2 { margin-bottom: 18px; }
    .dl-step-list li { padding: 8px 0 8px 16px; }
    .dl-shot { height: 300px; }
}
@media (max-width: 520px) {
    .dl-ctas a { width: 100%; }
    .dl-words b { white-space: normal; text-align: center; line-height: 1.02; }
}

/* The FAQ after the Discord page carries the closing glow on: the same ellipse, mirrored at the seam, so the light
   fades down into it instead of stopping at the section's edge. */
.dl + .faq-sec {
    background:
        radial-gradient(72% 59.5vh at 50% 0%, rgba(23, 147, 255, .6), rgba(23, 147, 255, .16) 48%, transparent 74%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg) 55%, var(--bg-2) 100%);
}

/* ========================================================================================================== home (hl)
   Minimal and scroll-told (app/HomeLanding.tsx), in the same language as the Discord page (.dl). Scrolling sets
   --spread, --fill and data-i; each has a resting default (the finished state) for no JavaScript or reduced motion. */
.hl { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
.hl h1, .hl h2 { letter-spacing: -0.025em; }
.hl-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }

/* Buttons: one white pill (the main action), one quiet ghost. Press shrinks; hover lifts on a mouse only. */
.hl-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hl-ctas .btn-primary, .hl-solid, .hl-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px;
    font-weight: 700; font-size: 16px; border: 0; transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.hl-ctas .btn-primary, .hl-solid { background: #fff; color: #070b14; box-shadow: 0 10px 30px -12px rgba(23, 147, 255, .7); }
.hl-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255, 255, 255, .03); }
@media (hover: hover) and (pointer: fine) {
    .hl-ctas .btn-primary:hover, .hl-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(23, 147, 255, .85); }
    .hl-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .07); }
}
.hl-ctas .btn-primary:active, .hl-solid:active, .hl-ghost:active { transform: scale(0.97); }

/* Hero: the line, then both products as two stacked screens that fan out and settle side by side. */
.hl-hero { --spread: 1; position: relative; padding: calc(var(--bar) + 92px) 20px 120px; text-align: center; overflow: clip; }
.hl[data-motion] .hl-hero { --spread: 0; }
.hl-glow { position: absolute; inset: -20% -10% auto; height: 120vh; background: radial-gradient(58% 52% at 50% 0%, rgba(23, 147, 255, .4), rgba(23, 147, 255, .08) 55%, transparent 76%); pointer-events: none; }
.hl-hero-txt { position: relative; max-width: 860px; margin: 0 auto; }
.hl-hero h1 { margin: 0; font-size: clamp(42px, 6.6vw, 88px); line-height: 1.02; font-weight: 800; text-wrap: balance; }
.hl-hero h1 span { color: var(--blue); }
.hl-hero-txt > p { max-width: 560px; margin: 22px auto 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; text-wrap: balance; }
.hl-stage { position: relative; width: min(1360px, calc(100vw - 40px)); aspect-ratio: 1360 / 720; margin: 34px auto 0; perspective: 1800px; }
.hl-screen {
    position: absolute; top: 0; left: 14%; width: 72%; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; overflow: hidden;
    background: #0a0e17; box-shadow: 0 50px 110px -40px rgba(23, 147, 255, .45), 0 30px 60px -30px rgba(0, 0, 0, .85);
    transform-origin: 50% 0%; will-change: transform;
}
.hl-screen img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.hl-screen.is-back {
    transform: translateX(calc(var(--spread) * -34%)) translateY(calc((1 - var(--spread)) * -26px))
        rotateX(calc((1 - var(--spread)) * 18deg)) rotateZ(calc((1 - var(--spread)) * -5deg)) scale(calc(0.94 - var(--spread) * 0.18));
}
.hl-screen.is-front {
    z-index: 1;
    transform: translateX(calc(var(--spread) * 34%)) translateY(calc((1 - var(--spread)) * 34px))
        rotateX(calc((1 - var(--spread)) * 18deg)) rotateZ(calc((1 - var(--spread)) * 4deg)) scale(calc(1 - var(--spread) * 0.22));
}
.hl-stage.swapping .hl-screen { transition: transform 520ms cubic-bezier(0.77, 0, 0.175, 1); }
.hl-fact { margin: 18px auto 0 !important; font-size: 14px !important; color: var(--muted); }
.hl-tabs { position: relative; display: inline-flex; gap: 4px; margin-top: 44px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); }
.hl-tabs button { min-height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.hl-tabs button.on { background: rgba(255, 255, 255, .1); color: var(--text); }
.hl-tabs button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .hl-tabs button:not(.on):hover { color: var(--text); } }
.hl[data-entered] .hl-hero-txt > * { animation: hl-rise 800ms var(--ease-out) both; }
.hl[data-entered] .hl-hero-txt > :nth-child(2) { animation-delay: 70ms; }
.hl[data-entered] .hl-hero-txt > :nth-child(3) { animation-delay: 130ms; }
.hl[data-entered] .hl-tabs { animation: hl-rise 900ms 160ms var(--ease-out) both; }
.hl[data-entered] .hl-stage { animation: hl-rise 1000ms 200ms var(--ease-out) both; }
@keyframes hl-rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Services: one pinned chapter per product, the words on the left, its screen on the right. */
.hl-svc { height: calc(var(--n) * 90vh + 100vh); }
.hl-svc-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.hl-svc-txt, .hl-svc-shot { display: grid; }
.hl-chap, .hl-svc-frame { grid-area: 1 / 1; }
.hl-chap { opacity: 0; transform: translateY(14px); filter: blur(4px); pointer-events: none; transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out), filter 320ms var(--ease-out); }
.hl-svc-n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.hl-chap h2 { margin: 12px 0 0; font-size: clamp(40px, 4.8vw, 66px); line-height: 1; font-weight: 800; }
.hl-svc-tag { margin: 14px 0 0; font-size: 20px; font-weight: 600; color: var(--blue); }
.hl-chap > p:not(.hl-svc-tag) { margin: 12px 0 0; max-width: 460px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.hl-svc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hl-svc-frame {
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; overflow: hidden; background: #0a0e17;
    box-shadow: 0 40px 90px -40px rgba(23, 147, 255, .4), 0 24px 50px -30px rgba(0, 0, 0, .8);
    opacity: 0; transform: scale(0.96) translateY(12px); transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out);
}
.hl-svc-frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.hl-svc[data-i="0"] .hl-chap:nth-child(1), .hl-svc[data-i="1"] .hl-chap:nth-child(2), .hl-svc[data-i="2"] .hl-chap:nth-child(3) { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.hl-svc[data-i="0"] .hl-svc-frame:nth-child(1), .hl-svc[data-i="1"] .hl-svc-frame:nth-child(2), .hl-svc[data-i="2"] .hl-svc-frame:nth-child(3) { opacity: 1; transform: none; }

/* Account: one line fills in word by word; the four points arrive under it once it's read. */
.hl-acc { --fill: 1; height: 210vh; }
.hl[data-motion] .hl-acc { --fill: 0; }
.hl-acc .hl-pin { align-content: center; gap: 56px; padding: 0 20px; text-align: center; }
.hl-acc h2 { position: relative; max-width: 1000px; margin: 0; font-size: clamp(44px, 7.4vw, 104px); line-height: 1.02; font-weight: 800; text-wrap: balance; }
.hl-acc h2 span { color: color-mix(in srgb, #fff calc(clamp(0, (var(--fill) * 1.6 - var(--k)) * 7, 1) * 100%), rgba(255, 255, 255, .12)); }
.hl-points { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; max-width: 1040px; margin: 0; padding: 0; list-style: none; text-align: start; }
.hl-points li {
    display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16);
    opacity: clamp(0, calc((var(--fill) - 0.62 - var(--k) * 0.04) * 6), 1);
    transform: translateY(calc((1 - clamp(0, calc((var(--fill) - 0.62 - var(--k) * 0.04) * 6), 1)) * 12px));
}
.hl-points b { font-size: 16px; }
.hl-points span { color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* The FAQ after the home page carries the account's glow on, with no seam. */
.hl + .faq-sec {
    background:
        radial-gradient(72% 59.5vh at 50% 0%, rgba(23, 147, 255, .6), rgba(23, 147, 255, .16) 48%, transparent 74%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg) 55%, var(--bg-2) 100%);
}

/* Resting state: no JavaScript, or reduced motion. Everything shows, nothing is pinned or moves. */
.hl:not([data-motion]) .hl-svc, .hl:not([data-motion]) .hl-acc { height: auto; }
.hl:not([data-motion]) .hl-pin { position: relative; height: auto; padding: 96px 0; }
.hl:not([data-motion]) .hl-svc-txt, .hl:not([data-motion]) .hl-svc-shot { gap: 64px; }
.hl:not([data-motion]) .hl-chap, .hl:not([data-motion]) .hl-svc-frame { grid-area: auto; opacity: 1; transform: none; filter: none; pointer-events: auto; }

@media (max-width: 860px) {
    .hl-hero { padding-top: calc(var(--bar) + 52px); padding-bottom: 72px; }
    .hl-stage { aspect-ratio: 16 / 10.6; margin-top: 44px; perspective: 1000px; }
    .hl-screen { left: 0; width: 100%; border-radius: 12px; }
    .hl-screen.is-back { opacity: 0; }
    .hl-screen.is-front { transform: translateY(calc((1 - var(--spread)) * 20px)) rotateX(calc((1 - var(--spread)) * 18deg)) scale(calc(0.94 + var(--spread) * 0.06)); }
    .hl-svc-in { grid-template-columns: 1fr; gap: 28px; }
    .hl-svc-shot { order: -1; }
    .hl-chap h2 { font-size: 40px; }
    .hl-svc-tag { font-size: 18px; }
    .hl-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 520px) {
    .hl-ctas a { width: 100%; }
    .hl-points { grid-template-columns: 1fr; }
}

/* The Discord chapter shows its bots. */
.hl-bots { display: flex; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.hl-bots img { width: 44px; height: 44px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .hl-bots img:hover { transform: translateY(-2px); } }

/* Tour: one framed Discord channel per bot; the list beside it marks where you are. */
.hl-tour { height: calc(var(--n) * 75vh + 100vh); }
.hl-tour-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.hl-tour h2, .hl-lang h2 { margin: 0; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.04; font-weight: 800; text-wrap: balance; }
.hl-tour-list { display: grid; gap: 4px; margin: 30px 0 0; padding: 0; list-style: none; }
.hl-tour-list li { display: grid; gap: 2px; padding: 10px 0 10px 18px; border-left: 2px solid var(--line); opacity: .4; transition: opacity 250ms ease, border-color 250ms ease; }
.hl-tour-list b { font-size: 18px; }
.hl-tour-list span { color: var(--muted); font-size: 14.5px; }
.hl-tour-stage { display: grid; }
.hl-frame {
    grid-area: 1 / 1; padding: 10px; border-radius: 22px; background: linear-gradient(160deg, rgba(23, 147, 255, .9), rgba(23, 147, 255, .45));
    box-shadow: 0 40px 90px -40px rgba(23, 147, 255, .6);
    opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.hl-chat { display: grid; gap: 14px; height: 420px; padding: 16px 20px 22px; border-radius: 14px; background: #313338; align-content: start; overflow: hidden; }
.hl-chat-head { padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #f2f3f5; font-weight: 700; }
.hl-msg { display: grid; grid-template-columns: 40px 1fr; gap: 12px; opacity: 0; transform: translateY(10px); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
.hl-msg img { width: 40px; height: 40px; border-radius: 50%; }
.hl-msg b { color: #f2f3f5; font-size: 15px; }
.hl-msg b em { margin-left: 6px; padding: 1px 5px; border-radius: 4px; background: #5865f2; color: #fff; font-size: 10px; font-style: normal; vertical-align: 2px; }
.hl-msg p { margin: 2px 0 0; color: #dbdee1; }
.hl-msg strong { color: #f2f3f5; }
.hl-emb { display: grid; gap: 8px; margin-top: 6px; padding: 12px 14px; max-width: 360px; border-radius: 6px; background: #2b2d31; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.hl-emb span { color: #f2f3f5; font-weight: 700; }
.hl-emb p { margin: 0; }
.hl-emb i { height: 8px; border-radius: 99px; background: #1e1f22; overflow: hidden; font-style: normal; }
.hl-emb s { display: block; width: 0; height: 100%; border-radius: 99px; background: var(--blue); transition: width 900ms var(--ease-out) 350ms; }
.hl-emb small { color: #b5bac1; font-size: 12.5px; }
.hl-emb-up { background: linear-gradient(135deg, rgba(23, 147, 255, .28), #2b2d31 70%); }
.hl-emb-warn { background: linear-gradient(135deg, rgba(245, 165, 36, .22), #2b2d31 70%); }
.hl-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.hl-btns i { height: auto; padding: 5px 10px; border-radius: 4px; background: #4e5058; color: #fff; font-size: 13px; font-style: normal; }
/* The current step: its frame shows, its messages arrive one after another, its line in the list is lit. */
.hl-tour[data-i="0"] .hl-frame:nth-child(1), .hl-tour[data-i="1"] .hl-frame:nth-child(2), .hl-tour[data-i="2"] .hl-frame:nth-child(3),
.hl-tour[data-i="3"] .hl-frame:nth-child(4), .hl-tour[data-i="4"] .hl-frame:nth-child(5) { opacity: 1; transform: none; }
.hl-tour[data-i="0"] .hl-frame:nth-child(1) .hl-msg, .hl-tour[data-i="1"] .hl-frame:nth-child(2) .hl-msg, .hl-tour[data-i="2"] .hl-frame:nth-child(3) .hl-msg,
.hl-tour[data-i="3"] .hl-frame:nth-child(4) .hl-msg, .hl-tour[data-i="4"] .hl-frame:nth-child(5) .hl-msg { opacity: 1; transform: none; transition-delay: calc(120ms + var(--m) * 220ms); }
.hl-tour[data-i="0"] .hl-frame:nth-child(1) .hl-emb s, .hl-tour[data-i="4"] .hl-frame:nth-child(5) .hl-emb s { width: 88%; }
.hl-tour[data-i="0"] .hl-tour-list li:nth-child(1), .hl-tour[data-i="1"] .hl-tour-list li:nth-child(2), .hl-tour[data-i="2"] .hl-tour-list li:nth-child(3),
.hl-tour[data-i="3"] .hl-tour-list li:nth-child(4), .hl-tour[data-i="4"] .hl-tour-list li:nth-child(5) { opacity: 1; border-color: var(--blue); }

/* Language: the same dashboard in English, then Arabic; the heading's second half arrives with it. */
.hl-lang { height: 220vh; }
.hl-lang-in { display: grid; justify-items: center; text-align: center; }
.hl-lang h2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .35em; }
.hl-lang h2 .ar { font-family: 'Noto Sans Arabic', 'Segoe UI', sans-serif; color: var(--blue); opacity: .14; transition: opacity 400ms var(--ease-out); }
.hl-lang[data-ar="1"] h2 .ar { opacity: 1; }
.hl-lang-in > p { margin-inline: auto; }
.hl-lang-shot { position: relative; width: min(820px, 100%, calc((100svh - 360px) * 1.6)); margin-top: 34px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(23, 147, 255, .45); }
.hl-lang-imgs { position: relative; aspect-ratio: 16 / 10; }
.hl-lang-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), filter 500ms var(--ease-out); }
.hl-lang-imgs .ar { opacity: 0; transform: scale(1.02); filter: blur(4px); }
.hl-lang[data-ar="1"] .hl-lang-imgs .ar { opacity: 1; transform: none; filter: none; }
.hl-lang[data-ar="1"] .hl-lang-imgs .en { opacity: 0; transform: scale(0.98); filter: blur(4px); }

/* Close: one line and the actions, in the light that leads into the FAQ. */
.hl-close { position: relative; display: grid; place-content: center; justify-items: center; gap: 8px; min-height: 100vh; min-height: 100svh; padding: 0 20px; text-align: center; overflow: hidden; }
.hl-close-glow { position: absolute; inset: auto -10% 0; height: 85%; background: radial-gradient(60% 70% at 50% 100%, rgba(23, 147, 255, .6), rgba(23, 147, 255, .16) 48%, transparent 74%); pointer-events: none; }
.hl-close h2 { position: relative; margin: 0; font-size: clamp(44px, 7vw, 100px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.hl-close .hl-ctas { position: relative; }

/* Resting state for the new sections. */
.hl:not([data-motion]) .hl-tour, .hl:not([data-motion]) .hl-lang { height: auto; }
.hl:not([data-motion]) .hl-tour-list li { opacity: 1; }
.hl:not([data-motion]) .hl-frame:nth-child(1), .hl:not([data-motion]) .hl-frame:nth-child(1) .hl-msg { opacity: 1; transform: none; }
.hl:not([data-motion]) .hl-lang h2 .ar { opacity: 1; }

@media (max-width: 860px) {
    .hl-tour-in { grid-template-columns: 1fr; gap: 20px; }
    .hl-tour-list { grid-template-columns: repeat(5, auto); gap: 0; margin-top: 18px; overflow-x: auto; }
    .hl-tour-list li { padding: 8px 12px; border-left: 0; border-bottom: 2px solid var(--line); }
    .hl-tour-list span { display: none; }
    .hl-chat { height: 400px; }
    .hl-tabs { margin-top: 32px; }
}

/* Before the entrance (eyes still showing) the hero waits invisible, so it never flashes in twice. */
.hl[data-motion]:not([data-entered]) .hl-hero-txt > *, .hl[data-motion]:not([data-entered]) .hl-tabs, .hl[data-motion]:not([data-entered]) .hl-stage,
.dl[data-motion]:not([data-entered]) .dl-hero-txt > *, .dl[data-motion]:not([data-entered]) .dl-stage { opacity: 0; }

/* ---- Cards: a window bar, a light under the pointer, a living border on the tour, icon tiles on the account. */
.hl-win { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #0d1322; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.hl-win i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.hl-win i:first-child { background: #ff5f57; } .hl-win i:nth-child(2) { background: #febc2e; } .hl-win i:nth-child(3) { background: #28c840; }
.hl-win span { margin: 0 auto; padding: 3px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); font-size: 11.5px; letter-spacing: .01em; transform: translateX(-21px); }

:where([data-spot]) { position: relative; }
[data-spot]::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(23, 147, 255, .16), transparent 60%);
    opacity: 0; transition: opacity 250ms ease;
}
@media (hover: hover) and (pointer: fine) { [data-spot]:hover::after { opacity: 1; } }

/* The tour frame: a light that slowly travels round its edge. */
@property --hl-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hl-frame {
    background: conic-gradient(from var(--hl-a), rgba(23, 147, 255, .25), #1793ff 18%, rgba(23, 147, 255, .25) 36%, rgba(23, 147, 255, .25) 64%, #8cc8ff 82%, rgba(23, 147, 255, .25));
    animation: hl-spin 9s linear infinite;
}
@keyframes hl-spin { to { --hl-a: 360deg; } }

.hl-points li { position: relative; gap: 6px; padding: 18px 16px 18px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: rgba(255, 255, 255, .02); }
.hl-points .hl-pt-ic { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 6px; border-radius: 10px; background: rgba(23, 147, 255, .14); color: #6cb8ff; }
.hl-points li > span:last-child { color: var(--muted); font-size: 14.5px; line-height: 1.45; }

@media (prefers-reduced-motion: reduce) { .hl-frame { animation: none; } }

/* Phones: grid children may shrink (the tour frame stays on screen), the account cards sit two by two. */
.hl-tour-in > *, .hl-tour-stage, .hl-frame { min-width: 0; }
@media (max-width: 520px) {
    .hl-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hl-points li { padding: 12px; }
    .hl-points .hl-pt-ic { width: 30px; height: 30px; margin-bottom: 2px; }
    .hl-points li > span:last-child { font-size: 13px; }
    .hl-acc .hl-pin { gap: 28px; }
    .hl-acc h2 { font-size: 40px; }
}

/* ================================================================================================== hosting (rh)
   Robtic Hosting's own world (app/hosting/HostingLanding.tsx): calm black, a serif voice (Instrument Serif) whose
   second half steps back in grey italics, and the product itself as the pictures. Loops are 2.5 to 4 s and rest under
   reduced motion; hover lifts only with a mouse; presses shrink. */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/rl/robtic/fonts/instrument-serif-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/rl/robtic/fonts/instrument-serif-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/rl/robtic/fonts/instrument-serif-400-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/rl/robtic/fonts/instrument-serif-400-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* The whole hosting page sits on black (the bar, the FAQ and the footer's wave follow it). */
:root:has(.rh) { --bg: #060607; --bg-2: #09090b; }
/* The footer on the hosting pages joins their black: same ground, the light white instead of blue. */
:root:has(.rh) { --foot: #060607; }
:root:has(.rh) footer.foot { background: radial-gradient(900px 400px at 50% 120%, rgba(255, 255, 255, .07), transparent 70%), var(--foot); }
:root:has(.rh) .wave .wl { stroke: rgba(255, 255, 255, .16); }
:root:has(.rh) .mark, :root:has(.rh) .mark .t { background-image: linear-gradient(180deg, rgba(244, 244, 245, .85), rgba(244, 244, 245, .18) 70%, rgba(244, 244, 245, 0)); }
/* The bar, its menus, the loader, back-to-top and the scrollbar join the hosting world too: black glass, white for
   what's active or pressable (the white pill), greys for the rest. No Robtic blue on these pages. */
:root:has(.rh) { scrollbar-color: #3f3f46 #060607; }
:root:has(.rh) ::-webkit-scrollbar-track { background: #060607; }
:root:has(.rh) ::-webkit-scrollbar-thumb { border-color: #060607; background: #3f3f46; }
:root:has(.rh) ::-webkit-scrollbar-thumb:hover { background: #71717a; }
:root:has(.rh) ::selection { background: rgba(255, 255, 255, .22); color: #fff; }
:root:has(.rh) .nav-links { border-color: rgba(255, 255, 255, .08); background: rgba(9, 9, 11, .6); }
:root:has(.rh) .bar .btn-primary { background: #f4f4f5; color: #09090b; }
:root:has(.rh) .bar .btn-primary:hover { background: #fff; }
:root:has(.rh) .btn-ghost, :root:has(.rh) .m-kebab { border-color: rgba(255, 255, 255, .1); background: rgba(9, 9, 11, .5); }
:root:has(.rh) .mega-in, :root:has(.rh) .me-menu, :root:has(.rh) .toast { border-color: rgba(255, 255, 255, .08); background: rgba(12, 12, 14, .9); }
:root:has(.rh) .mega-h, :root:has(.rh) .m-sub-h { color: #a1a1aa; }
:root:has(.rh) .mega-item:hover .mega-ic { color: #fff; border-color: rgba(255, 255, 255, .3); }
:root:has(.rh) .mega-card { border-color: rgba(255, 255, 255, .1); background: radial-gradient(340px 150px at 50% 0%, rgba(255, 255, 255, .08), transparent), #0b0b0d; }
:root:has(.rh) .m-panel { background: #09090b; border-color: rgba(255, 255, 255, .08); }
:root:has(.rh) .m-scrim { background: rgba(0, 0, 0, .7); }
:root:has(.rh) .top-progress::after { background: #f4f4f5; box-shadow: 0 0 10px rgba(255, 255, 255, .5); }
:root:has(.rh) .to-top { background: rgba(18, 18, 20, .8); }
:root:has(.rh) .to-top:hover { background: #f4f4f5; color: #09090b; }
:root:has(.rh) .to-top .ring .fill { stroke: #f4f4f5; }
:root:has(.rh) .to-top:hover .ring .fill { stroke: #09090b; }
:root:has(.rh) .to-top:focus-visible, :root:has(.rh) :focus-visible { outline-color: #f4f4f5; }
.rh {
    --rh-line: rgba(255, 255, 255, .08); --rh-mute: #8b9099; --rh-card: #0b0b0d; --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    color: #f4f4f5;
}
.rh h1, .rh-h2, .rh-close h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -0.015em; }
.rh h1 em, .rh-h2 em, .rh-close h2 em { color: var(--rh-mute); font-style: italic; }
.rh-h2 { margin: 0; max-width: 820px; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; text-wrap: balance; }
.rh-sub { margin: 18px 0 0; max-width: 560px; color: var(--rh-mute); font-size: 17px; line-height: 1.55; }
.rh-sec { padding: 150px 0 0; }

/* Actions: one white pill, one quiet text link with an arrow. */
.rh-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.rh-ctas .btn-primary {
    display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: #f4f4f5; color: #09090b;
    font-weight: 700; font-size: 15.5px; box-shadow: none; transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.rh-link { display: inline-flex; align-items: center; gap: 6px; color: #d4d4d8; font-weight: 600; font-size: 15.5px; transition: color 200ms ease, gap 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
    .rh-ctas .btn-primary:hover { background: #fff; transform: translateY(-2px); }
    .rh-link:hover { color: #fff; gap: 10px; }
}
.rh-ctas .btn-primary:active { transform: scale(0.97); }

/* Hero: the serif line on the left, a console bringing a bot online on the right, under a soft diagonal light. */
.rh-hero { position: relative; padding: calc(var(--bar) + 110px) 0 40px; overflow: clip; }
.rh-beam {
    position: absolute; inset: -30% -20% auto auto; width: 90vw; height: 120vh; pointer-events: none;
    background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .07) 48%, rgba(23, 147, 255, .08) 52%, transparent 62%);
    filter: blur(30px);
}
.rh-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 60px; align-items: center; min-height: calc(100svh - var(--bar) - 150px); }
.rh h1 { margin: 0; font-size: clamp(50px, 6.6vw, 96px); line-height: .98; text-wrap: balance; }
.rh h1 em { display: block; }
.rh-hero-txt > p { margin: 26px 0 0; max-width: 500px; color: var(--rh-mute); font-size: 18px; line-height: 1.55; }
.rh-term { border: 1px solid var(--rh-line); border-radius: 16px; background: linear-gradient(180deg, #0f0f12, #09090b); box-shadow: 0 50px 120px -50px rgba(255, 255, 255, .12), 0 30px 60px -30px rgba(0, 0, 0, .9); overflow: hidden; }
.rh-win { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--rh-line); }
.rh-win i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.rh-win span { margin-left: 10px; color: var(--rh-mute); font-size: 12.5px; }
.rh-term pre { display: grid; gap: 10px; min-height: 230px; margin: 0; padding: 24px 22px; font: 14px/1.5 ui-monospace, "JetBrains Mono", Consolas, monospace; color: #e4e4e7; }
.rh-term b { color: var(--rh-mute); font-weight: 400; }
.rh-term .dim { color: #71717a; }
.rh-term .ok { color: #4ade80; }
.rh-term-foot { display: flex; justify-content: space-between; padding: 12px 22px; border-top: 1px solid var(--rh-line); color: var(--rh-mute); font-size: 12.5px; }
.rh-term-foot i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .18); }
.caret::after { content: ""; display: inline-block; width: 8px; height: 16px; margin-left: 2px; vertical-align: -3px; background: #e4e4e7; animation: rh-blink 1s steps(1) infinite; }
@keyframes rh-blink { 50% { opacity: 0; } }
/* The console plays once, after the eyes: each line arrives in turn. */
.rh[data-motion] .rh-term .t { opacity: 0; transform: translateY(4px); }
.rh[data-entered] .rh-term .t { animation: rh-line 380ms var(--ease-out) forwards; }
.rh[data-entered] .rh-term .t2 { animation-delay: .7s; } .rh[data-entered] .rh-term .t3 { animation-delay: 1.4s; }
.rh[data-entered] .rh-term .t4 { animation-delay: 2.3s; } .rh[data-entered] .rh-term .t5 { animation-delay: 2.7s; }
@keyframes rh-line { to { opacity: 1; transform: none; } }
.rh[data-motion]:not([data-entered]) .rh-hero-txt > * { opacity: 0; }
.rh[data-entered] .rh-hero-txt > * { animation: rh-rise 800ms var(--ease-out) both; }
.rh[data-entered] .rh-hero-txt > :nth-child(2) { animation-delay: 80ms; }
.rh[data-entered] .rh-hero-txt > :nth-child(3) { animation-delay: 150ms; }
@keyframes rh-rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Code: the bot you have, in its language, with what it prints. */
.rh-editor { margin-top: 44px; border: 1px solid var(--rh-line); border-radius: 16px; background: #0a0a0c; overflow: hidden; }
.rh-tabs, .rh-ptabs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.rh-tabs { padding: 10px 12px; border-bottom: 1px solid var(--rh-line); }
.rh-tabs button, .rh-ptabs button {
    min-height: 34px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--rh-mute);
    font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
}
.rh-tabs button.on, .rh-ptabs button.on { background: rgba(255, 255, 255, .08); color: #fafafa; }
.rh-tabs button:active, .rh-ptabs button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .rh-tabs button:not(.on):hover, .rh-ptabs button:not(.on):hover { color: #e4e4e7; } }
.rh-file { margin-left: auto; color: #71717a; font-size: 13px; font-family: ui-monospace, Consolas, monospace; }
.rh-src { margin: 0; padding: 22px 0; min-height: 260px; overflow-x: auto; font: 14px/1.75 ui-monospace, "JetBrains Mono", Consolas, monospace; color: #d4d4d8; }
.rh-src > span { display: block; padding: 0 22px; white-space: pre; animation: rh-code 320ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); }
.rh-src em { display: inline-block; width: 34px; color: #3f3f46; font-style: normal; user-select: none; }
@keyframes rh-code { from { opacity: 0; transform: translateX(-4px); } }
.rh-src .k { color: #7cc4ff; } .rh-src .s { color: #86efac; } .rh-src .f { color: #fafafa; } .rh-src .v { color: #fcd34d; } .rh-src .c { color: #6b7280; }
.rh-out { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--rh-line); color: #a1a1aa; font: 13.5px ui-monospace, Consolas, monospace; }
.rh-out i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }

/* Live cards: each shows the thing itself, quietly moving. */
.rh-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.rh-card { padding: 18px 18px 26px; border: 1px solid var(--rh-line); border-radius: 18px; background: linear-gradient(180deg, #0d0d10, #09090b); transition: border-color 200ms ease, transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .rh-card:hover { border-color: rgba(255, 255, 255, .16); transform: translateY(-2px); } }
.rh-card h3 { margin: 22px 8px 0; font-size: 18px; font-weight: 700; }
.rh-card p { margin: 6px 8px 0; color: var(--rh-mute); font-size: 15px; line-height: 1.5; }
.rh-vis { position: relative; height: 210px; border-radius: 12px; background: #060607; border: 1px solid var(--rh-line); overflow: hidden; }
.rh-logs { -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.rh-logs-run { display: grid; gap: 12px; padding: 16px 18px; font: 13px ui-monospace, Consolas, monospace; color: #a1a1aa; animation: rh-scroll 4s linear infinite; }
.rh-logs-run span:nth-child(3n+1) { color: #4ade80; }
@keyframes rh-scroll { to { transform: translateY(-50%); } }
.rh-alerts { display: grid; align-content: center; gap: 8px; padding: 16px; }
.rh-alert { display: grid; gap: 2px; padding: 10px 12px 10px 14px; border-radius: 8px; background: #111114; box-shadow: inset 0 0 0 1px var(--rh-line); opacity: 0; transform: translateY(6px); animation: rh-alert 4s var(--ease-out) infinite; }
.rh-alert b { font-size: 13.5px; } .rh-alert small { color: #71717a; font-size: 12px; }
.rh-alert.bad b { color: #f87171; } .rh-alert.good b { color: #4ade80; }
.rh-alert:nth-child(2) { animation-delay: .5s; } .rh-alert:nth-child(3) { animation-delay: 1s; }
@keyframes rh-alert { 0% { opacity: 0; transform: translateY(6px); } 12%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
.rh-backups { display: grid; align-content: center; gap: 0; padding: 10px 18px; }
.rh-bk { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rh-line); font-size: 14px; }
.rh-bk:last-child { border-bottom: 0; }
.rh-bk small { color: #71717a; }
.rh-bk em { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--rh-line); color: #d4d4d8; font-style: normal; font-size: 12.5px; }
.rh-bk:first-child em { background: #f4f4f5; color: #09090b; border-color: transparent; }
.rh-deploy { display: grid; align-content: center; gap: 22px; padding: 18px 22px; }
.rh-commit { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.rh-commit small { margin-left: auto; color: #71717a; font-family: ui-monospace, Consolas, monospace; }
.rh-branch { padding: 2px 8px; border-radius: 6px; background: #18181b; color: #a1a1aa; font: 12px ui-monospace, Consolas, monospace; }
.rh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rh-steps span { position: relative; padding-top: 14px; color: #52525b; font-size: 13px; font-weight: 600; animation: rh-step 3.6s linear infinite; }
.rh-steps span::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: 99px; background: #27272a; }
.rh-steps span::after { content: ""; position: absolute; inset: 0 auto auto 0; height: 3px; width: 100%; border-radius: 99px; background: #fafafa; transform: scaleX(0); transform-origin: left; animation: rh-fill 3.6s var(--ease-out) infinite; }
.rh-steps .s2, .rh-steps .s2::after { animation-delay: .9s; } .rh-steps .s3, .rh-steps .s3::after { animation-delay: 1.8s; }
.rh-steps .s3::after { background: #4ade80; }
@keyframes rh-fill { 0% { transform: scaleX(0); } 22%, 88% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes rh-step { 0% { color: #52525b; } 22%, 88% { color: #e4e4e7; } 100% { color: #52525b; } }

/* The panel: the real workspace, and the console, editor and databases drawn as the panel draws them. */
.rh-ptabs { margin-top: 36px; }
.rh-panel { margin-top: 16px; border: 1px solid var(--rh-line); border-radius: 16px; background: #0a0a0c; overflow: hidden; box-shadow: 0 60px 140px -60px rgba(255, 255, 255, .1); }
.rh-panel-body { min-height: 440px; animation: rh-swap 360ms var(--ease-out) both; }
@keyframes rh-swap { from { opacity: 0; filter: blur(4px); transform: scale(0.99); } }
.rh-panel-body img { width: 100%; height: auto; }
.rh-pconsole { margin: 0; padding: 28px; min-height: 440px; font: 14.5px/1.8 ui-monospace, Consolas, monospace; color: #d4d4d8; }
.rh-pconsole .dim { color: #71717a; } .rh-pconsole .ok { color: #4ade80; } .rh-pconsole b { color: #71717a; font-weight: 400; }
.rh-peditor { display: grid; grid-template-columns: 220px 1fr; min-height: 440px; }
.rh-files { display: grid; align-content: start; gap: 2px; padding: 18px 12px; border-right: 1px solid var(--rh-line); font-size: 13.5px; color: #a1a1aa; }
.rh-files b { padding: 0 10px 8px; color: #71717a; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.rh-files span { padding: 7px 10px; border-radius: 6px; }
.rh-files .on { background: rgba(255, 255, 255, .07); color: #fafafa; }
.rh-pdb { display: grid; align-content: start; gap: 10px; padding: 28px; min-height: 440px; }
.rh-dbrow { display: grid; grid-template-columns: auto 120px 1fr auto auto; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--rh-line); border-radius: 12px; font-size: 14.5px; color: #a1a1aa; }
.rh-dbrow b { color: #fafafa; } .rh-dbrow small { color: #71717a; }
.rh-dbrow i { padding: 3px 10px; border-radius: 999px; background: rgba(74, 222, 128, .12); color: #4ade80; font-style: normal; font-size: 12.5px; }

/* The quiet parts: a grid of six, lines not boxes. */
.rh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rh-line); }
.rh-grid li { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--rh-line); }
.rh-grid li:not(:nth-child(3n)) { margin-right: 28px; }
.rh-grid svg { color: #e4e4e7; }
.rh-grid h3 { margin: 16px 0 0; font-size: 17px; }
.rh-grid p { margin: 6px 0 0; color: var(--rh-mute); font-size: 15px; line-height: 1.5; }

/* Plans. */
.rh-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.rh-plan { display: grid; align-content: start; gap: 6px; padding: 24px 22px; border: 1px solid var(--rh-line); border-radius: 16px; background: #0b0b0d; transition: border-color 200ms ease, transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .rh-plan:hover { border-color: rgba(255, 255, 255, .2); transform: translateY(-2px); } }
.rh-plan.free { border-color: rgba(255, 255, 255, .22); background: linear-gradient(180deg, #141417, #0b0b0d); }
.rh-plan b { font-size: 17px; }
.rh-price { font-family: "Instrument Serif", Georgia, serif; font-size: 30px; line-height: 1.1; }
.rh-plan ul { display: grid; gap: 8px; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--rh-line); list-style: none; font-size: 14px; }
.rh-plan li { display: flex; justify-content: space-between; color: var(--rh-mute); }
.rh-plan li span:last-child { color: #e4e4e7; }
.rh-more { margin-top: 24px; }

/* Close. */
.rh-close { display: grid; justify-items: center; padding: 200px 20px 140px; text-align: center; }
.rh-close h2 { margin: 0; max-width: 1000px; font-size: clamp(52px, 8vw, 120px); line-height: .98; text-wrap: balance; }
.rh-close h2 em { display: block; }
.rh-close .rh-ctas { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
    .rh-logs-run, .rh-alert, .rh-steps span, .rh-steps span::after, .caret::after { animation: none !important; }
    .rh-alert { opacity: 1; transform: none; }
    .rh-steps span { color: #e4e4e7; } .rh-steps span::after { transform: scaleX(1); }
}
@media (max-width: 900px) {
    .rh-hero { padding-top: calc(var(--bar) + 56px); }
    .rh-hero-in { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
    .rh-sec { padding-top: 110px; }
    .rh-cards { grid-template-columns: 1fr; }
    .rh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rh-grid li:not(:nth-child(3n)) { margin-right: 0; }
    .rh-grid li:nth-child(odd) { margin-right: 24px; }
    .rh-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rh-peditor { grid-template-columns: 1fr; }
    .rh-files { display: none; }
    .rh-dbrow { grid-template-columns: auto 1fr auto; }
    .rh-dbrow span, .rh-dbrow small { display: none; }
}
@media (max-width: 520px) {
    .rh-grid, .rh-plans { grid-template-columns: 1fr; }
    .rh-grid li:nth-child(odd) { margin-right: 0; }
    .rh-ctas { gap: 16px; }
    .rh-ctas .btn-primary { width: 100%; justify-content: center; }
    .rh-close { padding: 140px 20px 100px; }
}

/* Robtic Hosting plans (app/hosting/plans/PlansView.tsx), in the hosting page's world: the serif title under the same
   diagonal light, the same tabs, cards like the landing's plan cards with everything in them, then a side-by-side table. */
.rhp-hero { padding-bottom: 34px; }
.rhp h1 { margin: 0; max-width: 900px; font-size: clamp(48px, 7vw, 96px); line-height: .98; text-wrap: balance; }
.rhp h1 em { display: block; }
.rhp .rh-ptabs { margin-top: 34px; }
.rhp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rhp-cards.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.rhp-card {
    display: flex; flex-direction: column; gap: 6px; padding: 24px 22px 26px; border: 1px solid var(--rh-line); border-radius: 18px;
    background: linear-gradient(180deg, #0d0d10, #09090b); scroll-margin-top: calc(var(--bar) + 24px);
    transition: border-color 200ms ease, transform 200ms var(--ease-out);
    animation: rhp-in .5s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms);
}
@keyframes rhp-in { from { opacity: 0; transform: translateY(10px); } }
@media (hover: hover) and (pointer: fine) { .rhp-card:hover { border-color: rgba(255, 255, 255, .2); transform: translateY(-2px); } }
.rhp-card.pick { border-color: rgba(255, 255, 255, .24); background: linear-gradient(180deg, #151518, #0b0b0d); }
.rhp-card.is-mine { border-color: rgba(255, 255, 255, .5); }
.rhp-card:target { border-color: #f4f4f5; }
.rhp-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rhp-card h2 { margin: 0; font-size: 17px; font-weight: 700; }
.rhp-tag { flex: none; white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #d4d4d8; font-size: 12px; font-weight: 600; }
.rhp-tag.is-mine { background: #f4f4f5; color: #09090b; }
.rhp-price { margin: 4px 0 14px; font-family: "Instrument Serif", Georgia, serif; font-size: 38px; line-height: 1.05; }
.rhp-price small { font-family: var(--font, inherit); color: var(--rh-mute); font-size: 14px; }
.rhp-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px; color: #f4f4f5; font-weight: 700; font-size: 14.5px; text-decoration: none;
    transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.rhp-btn:hover { border-color: rgba(255, 255, 255, .36); text-decoration: none; }
.rhp-btn:active { transform: scale(.97); }
.rhp-btn.main { border-color: transparent; background: #f4f4f5; color: #09090b; }
.rhp-btn.main:hover { background: #fff; }
.rhp-btn.current { opacity: .55; cursor: default; }
/* Plans bought here are <button>s: same look as the links. */
button.rhp-btn { background: transparent; font-family: inherit; cursor: pointer; }
button.rhp-btn[disabled] { opacity: .6; cursor: default; transform: none; }
.rhp-pay-err { margin: 14px 0 0; text-align: center; color: #f87171; font-size: 14px; }
.rhp-limits, .rhp-feats { display: grid; gap: 9px; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rh-line); list-style: none; font-size: 14px; }
.rhp-limits li { display: flex; justify-content: space-between; gap: 10px; color: var(--rh-mute); }
.rhp-limits b { color: #e4e4e7; font-weight: 600; text-align: end; }
.rhp-feats li { display: flex; align-items: flex-start; gap: 9px; color: #d4d4d8; }
.rhp-feats li svg { flex: none; margin-top: 2px; color: #f4f4f5; }
.rhp-feats li small { color: var(--rh-mute); font-size: 13px; }
.rhp-feats li.no { color: #52525b; }
.rhp-feats li.no svg { color: #3f3f46; }

/* Side by side. */
.rhp-compare-sec { padding-top: 130px; }
.rhp-scroll { margin-top: 40px; overflow-x: auto; border: 1px solid var(--rh-line); border-radius: 16px; background: #0a0a0c; }
.rhp-scroll:focus-visible { outline: 2px solid #f4f4f5; outline-offset: 2px; }
.rhp-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
/* The feature names get a wider column; every plan gets the same width, so the columns line up. */
.rhp-table thead th:first-child { width: 28%; }
.rhp-table th, .rhp-table td { padding: 13px 18px; border-bottom: 1px solid var(--rh-line); text-align: start; vertical-align: top; }
.rhp-table thead th { position: sticky; top: 0; padding-top: 20px; padding-bottom: 16px; background: #0a0a0c; color: #f4f4f5; font-size: 15px; }
.rhp-table thead th small { display: block; margin-top: 4px; font-family: "Instrument Serif", Georgia, serif; font-size: 22px; font-weight: 400; }
.rhp-table thead th small small { display: inline; margin: 0; font-family: inherit; font-size: 13px; color: var(--rh-mute); }
.rhp-table tbody th { color: var(--rh-mute); font-weight: 500; }
.rhp-table td { color: #e4e4e7; }
.rhp-table td svg { color: #f4f4f5; }
.rhp-table td.no svg { color: #3f3f46; }
.rhp-group th { padding-top: 22px; color: #f4f4f5 !important; font-size: 12px; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; }
.rhp-table tr:last-child th, .rhp-table tr:last-child td { border-bottom: 0; }
/* The feature names stay put while the plans scroll sideways. */
.rhp-table tbody tr:not(.rhp-group) th, .rhp-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: #0a0a0c; }
.rhp-table thead th:first-child { z-index: 2; }

@media (max-width: 1000px) { .rhp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .rhp-cards, .rhp-cards.n2 { grid-template-columns: 1fr; }
    .rhp-compare-sec { padding-top: 96px; }
    .rhp-table th, .rhp-table td { padding: 11px 14px; }
}
@media (prefers-reduced-motion: reduce) { .rhp-card { animation: none; } }

/* Closing sections that hold still and type with the scroll (app/TypeOnce.tsx). Without the script (or with reduced
   motion) the section is ordinary; with it, the section is several screens tall and its content stays pinned in the
   middle while the scroll types the heading. Letters keep their place, hidden until typed; the actions appear when the
   sentence is whole (and whenever they hold keyboard focus). */
.tw-c { position: relative; }
.tw-off { visibility: hidden; }
.tw-caret { position: absolute; right: -0.06em; top: 0.12em; width: 0.06em; height: 0.82em; background: currentColor; }
.tw-caret-start { position: relative; display: inline-block; right: auto; vertical-align: -0.05em; }
.tw-pin[data-pin] { height: 300vh; padding: 0; }
.tw-pin[data-pin] .tw-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; justify-items: center; padding: 0 20px; }
.tw-pin[data-pin] .rh-ctas { opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.tw-pin[data-pin][data-done] .rh-ctas, .tw-pin[data-pin] .rh-ctas:focus-within { opacity: 1; transform: none; pointer-events: auto; }
.tw-stick { display: grid; justify-items: center; }
@media (max-width: 600px) { .tw-pin[data-pin] { height: 240vh; } }

/* The Workspaces tab (HostingLanding.tsx Workspace): a live workspace on a dotted canvas. */
.rh-ws { min-height: 440px; display: flex; flex-direction: column; }
.rh-ws-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--rh-line); }
.rh-panel-body .rh-ws-head img { flex: none; width: 30px; height: 30px; }
.rh-ws-head div { display: grid; line-height: 1.25; }
.rh-ws-head small { color: var(--rh-mute); font-size: 12px; }
.rh-ws-head b { font-size: 15px; }
.rh-ws-sum { margin-left: auto; color: var(--rh-mute); font-size: 13px; }
.rh-ws-new { padding: 6px 12px; border-radius: 999px; background: #f4f4f5; color: #09090b; font-size: 13px; font-weight: 700; }
.rh-ws-canvas { position: relative; flex: 1; padding: 26px 24px 22px; background: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px) 0 0 / 18px 18px; }
.rh-ws-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rh-ws-links path { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; animation: rh-flow 1.2s linear infinite; }
@keyframes rh-flow { to { stroke-dashoffset: -20; } }
.rh-ws-apps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rh-app { display: grid; gap: 12px; padding: 14px 14px 12px; border: 1px solid var(--rh-line); border-radius: 12px; background: #0e0e11; font-size: 13px; transition: border-color .3s ease; }
.rh-app.on { border-color: rgba(74, 222, 128, .28); }
.rh-app-top { display: flex; align-items: center; gap: 8px; }
.rh-app-top svg { color: #a1a1aa; }
.rh-app-top b { font-size: 14px; }
.rh-app-st { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--rh-mute); font-size: 12px; }
.rh-app-st i { width: 7px; height: 7px; border-radius: 50%; background: #52525b; }
.rh-app.on .rh-app-st { color: #4ade80; }
.rh-app.on .rh-app-st i { background: #4ade80; animation: rh-pulse 1.8s ease-out infinite; }
.rh-app.busy .rh-app-st { color: #fbbf24; }
.rh-app.busy .rh-app-st i { background: #fbbf24; }
@keyframes rh-pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .5); } 70%, 100% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); } }
.rh-app-meters { display: grid; grid-template-columns: 30px 1fr 54px; align-items: center; gap: 6px 8px; color: var(--rh-mute); font-size: 11.5px; }
.rh-app-meters em { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.rh-app-meters em i { display: block; height: 100%; border-radius: 2px; background: #e4e4e7; transition: width .9s var(--ease-out); }
.rh-app-meters small { color: #d4d4d8; text-align: right; font-variant-numeric: tabular-nums; }
.rh-app-foot { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--rh-line); color: var(--rh-mute); font-size: 11.5px; }
.rh-app-add { place-content: center; justify-items: center; border-style: dashed; background: transparent; color: var(--rh-mute); }
.rh-app-add span { font-size: 26px; line-height: 1; color: #a1a1aa; }
.rh-ws-nodes { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 90px; }
.rh-node { display: grid; justify-items: center; gap: 4px; color: #a1a1aa; text-align: center; }
.rh-node b { color: #e4e4e7; font-size: 13.5px; }
.rh-node small { font-size: 11.5px; color: var(--rh-mute); }
@media (max-width: 900px) {
    .rh-ws-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rh-ws-links, .rh-ws-nodes, .rh-ws-sum { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rh-ws-links path, .rh-app.on .rh-app-st i { animation: none; } }

/* The FAQ under the hosting page speaks in the page's voice. */
.rh + .faq-sec .faq-head h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(40px, 5.2vw, 64px); letter-spacing: -0.015em; }
.rh + .faq-sec .pill { background: rgba(255, 255, 255, .08); color: #d4d4d8; }
