.tester-sub{color:#c9c9d6;max-width:980px;margin:4px auto 12px}
.tester-steps{max-width:980px;margin:0 auto 14px;color:#c9c9d6}
.tester-steps li{margin:4px 0}
.tester-hero{max-width:980px;margin:0 auto 16px;padding:16px;border:1px solid var(--card-border);border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,0.03),rgba(255,255,255,0.015))}
.tester-title{font-weight:800;color:#fff;margin-bottom:6px}
.tester-steps .num{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:999px;border:1px solid var(--border);background:#0e0e15;color:#e7e7ef;font-size:12px;margin-right:8px}
/* Invoke section */
.invoke .invoke-sub{color:#c9c9d6;max-width:900px;margin:4px auto 16px;text-align:center}
.code-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:1200px;margin:0 auto}
.code-card{background:linear-gradient(180deg,rgba(255,255,255,0.035),rgba(255,255,255,0.02));border:1px solid var(--card-border);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:10px}
.code-header{display:flex;align-items:center;justify-content:space-between}
.code-title{font-weight:800;color:#fff}
.code-meta{display:flex;align-items:center;gap:8px}
.code-badge{font-size:11px;color:#c9c9d6;border:1px solid var(--border);padding:4px 8px;border-radius:999px;background:rgba(255,255,255,0.02)}
.copy-btn{border:1px solid var(--border);background:var(--panel-2);color:#e7e7ef;padding:6px 10px;border-radius:8px;cursor:pointer}
.copy-btn:hover{background:#222236;border-color:#2e3350}
.code-card pre{margin:0;background:#0b0b10;border:1px solid var(--border);padding:12px;border-radius:12px;color:#c9c9d6;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12.5px}
/* custom scrollbar for code blocks */
.code-card pre{scrollbar-color:#484c6b #0f1119;scrollbar-width:thin}
.code-card pre::-webkit-scrollbar{height:10px;background:transparent}
.code-card pre::-webkit-scrollbar-track{background:#0f1119;border-radius:999px}
.code-card pre::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#3b3f5e,#2c304d);border-radius:999px;border:2px solid #0b0b10}
.code-card pre::-webkit-scrollbar-thumb:hover{background:linear-gradient(90deg,#4b4f73,#3a3f62)}
@media (max-width: 1024px){.code-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 640px){.code-grid{grid-template-columns:1fr}}
/* show three code cards in invoke */

/* Tech stack */
.stack{max-width:1100px;margin:24px auto 0;text-align:center}
.stack-title{font-weight:800;color:#fff;margin:4px 0 12px}
.stack-list{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.stack-item{display:flex;align-items:center;gap:8px;border:1px solid var(--border);background:var(--panel-2);padding:10px 14px;border-radius:999px}
.stack-item img{width:20px;height:20px}
.stack-item span{color:#e7e7ef;font-weight:600}
/* Tester terminal */
.terminal{max-width:980px;margin:0 auto;border:1px solid var(--card-border);border-radius:16px;overflow:hidden;background:#0b0b10}
.term-head{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--card-border);background:#0e0e15;position:relative}
.term-head .dot{width:10px;height:10px;border-radius:999px;display:inline-block}
.dot-red{background:#ef4444}.dot-yellow{background:#f59e0b}.dot-green{background:#22c55e}
.term-title{position:absolute;left:50%;transform:translateX(-50%);color:#a3a3b2;font-size:12px}
.term-body{height:220px;padding:12px;overflow:auto;color:#c9c9d6;font-family:ui-monospace,Menlo,Monaco,Consolas,monospace}
.term-body .line{margin:0}
.term-body .ok{color:#22c55e}
.term-body .err{color:#ef4444}
.term-body pre.code{background:#0e0e15;border:1px solid var(--border);padding:10px;border-radius:10px;color:#c9c9d6}
.term-input{display:flex;gap:10px;padding:10px;border-top:1px solid var(--card-border);background:#0e0e15}
.term-input input{flex:1;background:#0b0b10;border:1px solid var(--border);color:#e7e7ef;border-radius:10px;padding:10px}
.term-input .search-btn{padding:10px 14px}
/* Base */
:root{
    --bg:#000000;
    --bg-elev:#121219;
    --panel:#161622;
    --panel-2:#1b1b2a;
    --text:#e7e7ef;
    --muted:#a3a3b2;
    --brand:#ff7a00;
    --accent:#2dd4bf;
    --border:#232336;
    --card-border:#23253a;
    --green:#22c55e; --red:#ef4444; --blue:#60a5fa; --yellow:#f59e0b; --purple:#a78bfa; --teal:#14b8a6; --cyan:#22d3ee; --orange:#fb923c;
    --radius:14px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
    margin:0;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
    background:#000000;
    color:var(--text);
    line-height:1.5;
}
/* glow overlay above page background so it won't be hidden by solid blocks */
body::before{
    content:"";
    position:fixed; inset:-10% -10% -10% -10%;
    background:
        radial-gradient(900px 420px at 50% -120px, rgba(255,180,120,0.18), rgba(0,0,0,0) 60%),
        radial-gradient(620px 320px at 12% 18%, rgba(255,122,0,0.22), rgba(0,0,0,0) 62%),
        radial-gradient(720px 360px at 88% 22%, rgba(45,211,191,0.18), rgba(0,0,0,0) 60%);
    pointer-events:none; z-index:0;
}
/* lift main content above glow overlay */
.site-header, main, .site-footer{position:relative; z-index:1}
a{color:inherit;text-decoration:none}

/* Header */
.site-header{
    position:sticky;top:0;z-index:10;
    display:flex;align-items:center;justify-content:center;gap:28px;
    padding:16px 24px; background:rgba(11,11,15,.7); backdrop-filter:blur(8px);
    border-bottom:1px solid var(--border);
}
.brand{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:700}
.brand-logo{height:32px;width:auto;display:block}
.profiles-btn{display:none}
.header-nav{display:none}
.nav-left,.nav-right{display:flex;align-items:center;gap:16px;justify-content:center}
.nav-link{padding:8px 10px;color:var(--muted)}
.nav-link:hover{color:var(--text)}
.nav-link.solid{display:none}
.menu-toggle{display:none;background:transparent;border:0;width:36px;height:36px}
.menu-toggle span{display:block;height:2px;background:var(--text);margin:6px 0}

/* Hero */
.hero{max-width:1200px;margin:96px auto 56px;padding:0 20px;text-align:center}
.hero-title{font-size:48px;line-height:1.1;margin:0 0 12px;font-weight:800}
.hero-subtitle{margin:0 0 22px;color:var(--muted)}
.hero-actions{margin:6px 0 12px}
.hero-btn{display:inline-block;padding:10px 16px;border-radius:10px;border:1px solid var(--border);background:linear-gradient(135deg,#ff7a00,#ff4d00);color:#0b0b0f;font-weight:800}
.hero-btn:hover{filter:brightness(1.05)}
.search{display:flex;gap:10px;justify-content:center}
.search input{width:min(760px,100%);padding:16px 18px;border-radius:14px;border:1px solid var(--border);background:var(--panel);color:var(--text);outline:none}
.search input::placeholder{color:#80809a}
.search-btn{padding:14px 18px;border-radius:12px;border:1px solid var(--border);background:var(--panel-2);color:var(--text)}
.search-btn:disabled{opacity:.6;cursor:default}
/* apply animation */
.apply-anim{animation:applyGlow .8s ease}
@keyframes applyGlow{0%{box-shadow:0 0 0 rgba(255,122,0,0)}60%{box-shadow:0 0 40px rgba(255,122,0,.25)}100%{box-shadow:0 0 0 rgba(255,122,0,0)}}
/* hero animated lines */
.hero-lines{position:relative;height:180px;margin:16px auto 0;max-width:980px;pointer-events:none}
.hero-lines svg{width:100%;height:100%;display:block;filter:drop-shadow(0 1px 0 rgba(255,255,255,0.05))}
.hero-lines path{fill:none;stroke:rgba(255,122,0,0.9);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.95;mix-blend-mode:screen}
.hero-lines path.glow{stroke:rgba(255,122,0,0.3);stroke-width:7;filter:blur(3px)}
.hero-lines path.trace{stroke-dasharray:var(--dash,600);stroke-dashoffset:var(--dash,600);animation:line-draw .8s ease forwards, line-flow 3s linear infinite .8s}
.hero-lines path.trace.delay-1{animation-delay:.05s,.05s}
.hero-lines path.trace.delay-2{animation-delay:.15s,.15s}
.hero-lines path.trace.delay-3{animation-delay:.25s,.25s}
.hero-lines path.trace.delay-4{animation-delay:.35s,.35s}
.hero-lines path.trace.delay-5{animation-delay:.45s,.45s}
@keyframes line-draw{to{stroke-dashoffset:0}}
@keyframes line-flow{to{stroke-dashoffset:calc(var(--dash,600)*-1)}}
/* inline feature video (no border/background) */
.feature-video{max-width:760px;margin:12px auto 0;padding:0 20px}
.feature-video video{width:100%;height:auto;display:block}
.hero-vid{max-width:640px}
.hero-logo{width:120px;height:auto;margin:8px auto 0;display:block;opacity:.9}

/* Modal */
.modal{position:fixed;inset:0;display:none}
.modal.show{display:block}
.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.6);backdrop-filter:blur(3px)}
.modal-content{position:relative;max-width:520px;margin:14vh auto 0;background:linear-gradient(180deg,rgba(255,255,255,0.03),rgba(255,255,255,0.015));border:1px solid var(--card-border);border-radius:16px;padding:20px;text-align:center;z-index:1;animation:modal-pop .25s ease}
.modal-title{margin:0 0 8px;font-size:18px;font-weight:800;color:#fff}
.modal-text{color:#c9c9d6;margin:0 0 12px}
.modal-key{font-family:ui-monospace,Menlo,Monaco,Consolas,monospace;background:#0b0b10;border:1px solid var(--border);color:#ffd28a;padding:10px;border-radius:12px;user-select:all;margin-bottom:12px}
.modal-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.modal-btn,.modal-close{border:1px solid var(--border);background:var(--panel-2);color:#e7e7ef;padding:10px 14px;border-radius:10px;cursor:pointer;text-decoration:none}
.modal-btn:hover,.modal-close:hover{background:#222236;border-color:#2e3350}
.copy-tip{color:#22c55e;font-weight:700;min-width:120px;text-align:center}
@keyframes modal-pop{from{transform:scale(.96);opacity:0}to{transform:scale(1);opacity:1}}

/* Sections */
.section{max-width:1200px;margin:80px auto;padding:0 20px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:20px}
.section-title{font-size:24px;margin:0;font-weight:800;letter-spacing:.3px}
.section-title::after{content:"";display:block;width:60px;height:3px;background:linear-gradient(90deg,#ff7a00,#ffb800);border-radius:6px;margin-top:8px;opacity:.9}
.view-all{color:var(--muted)}
.mcp-container{display:grid;gap:24px}
.filter-bar{display:flex;align-items:center;gap:10px}
.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}
.mcp-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:var(--panel);color:var(--text);border:1px solid var(--border);padding:10px 36px 10px 12px;border-radius:10px;position:relative}
.mcp-select{background-image:linear-gradient(45deg,transparent 50%,#aaa 50%),linear-gradient(135deg,#aaa 50%,transparent 50%);background-position:calc(100% - 18px) 53%, calc(100% - 12px) 53%;background-size:6px 6px; background-repeat:no-repeat}
.mcp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
/* Centered card layout for catalog */
.mcp-grid .card-top{flex-direction:column;align-items:center;text-align:center;gap:10px}
.mcp-grid .logo{width:72px;height:72px;border-radius:16px}
.mcp-grid .meta{align-items:center}
.mcp-grid .card-title{text-align:center}
.mcp-grid .card-sub{color:#c9c9d6;text-align:center;max-width:64ch}
.mcp-grid .card{height:360px}
.mcp-grid .card-foot{justify-content:center;flex-wrap:wrap;margin-top:auto}
.mcp-grid .card-sub{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
/* usage line */
.card-usage{display:flex;align-items:center;justify-content:center;margin:6px 0 4px;color:#ffd28a;font-weight:600}
.card-usage .star{color:#ffd28a;margin-right:6px;font-size:14px;line-height:1}
/* price line */
.card-price{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:6px auto 10px;padding:8px 14px;border:1px solid var(--border);border-radius:999px;background:var(--panel-2);cursor:default}
.card-price img{width:16px;height:16px;display:block}
.card-price .amount{color:#ffd28a;font-weight:700;letter-spacing:.2px}
.card-price:hover{background:var(--panel-2);border-color:var(--border)}
@media (max-width: 1024px){.mcp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 640px){.mcp-grid{grid-template-columns:1fr}}

/* Cards */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));border:1px solid var(--card-border);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:12px;transition:transform .2s ease, border-color .2s ease}
.card:hover{transform:translateY(-2px);border-color:#2e3350}
.card-top{display:flex;gap:12px;align-items:center}
.logo{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-weight:700}
.logo img{width:100%;height:100%;object-fit:cover;border-radius:8px;display:block}
.bg-green{background:linear-gradient(135deg,#16a34a,#22c55e)}
.bg-red{background:linear-gradient(135deg,#ef4444,#f97316)}
.bg-blue{background:linear-gradient(135deg,#3b82f6,#60a5fa)}
.bg-yellow{background:linear-gradient(135deg,#eab308,#f59e0b)}
.bg-purple{background:linear-gradient(135deg,#8b5cf6,#a78bfa)}
.bg-teal{background:linear-gradient(135deg,#0ea5e9,#14b8a6)}
.bg-cyan{background:linear-gradient(135deg,#06b6d4,#22d3ee)}
.bg-orange{background:linear-gradient(135deg,#fb923c,#f59e0b)}
.meta{display:flex;flex-direction:column}
.card-title{font-size:16px;margin:0 0 2px}
.card-sub{font-size:12px;color:var(--muted)}
.card-desc{margin:0;color:#c9c9d6}
.card-foot{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;gap:10px}
.price{color:#ffd28a;background:rgba(255,122,0,0.1);border:1px solid rgba(255,122,0,0.25);padding:4px 8px;border-radius:999px}
.tag{background:#0f172a;border:1px solid var(--border);padding:4px 8px;border-radius:999px}

/* Contribute section */
.contribute .contrib-hero{text-align:center;max-width:980px;margin:0 auto 26px}
.contribute .contrib-sub{color:#c9c9d6;margin:8px 0 16px}
.contrib-cta{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border:1px solid #2e3350;border-radius:999px;background:var(--panel-2);cursor:pointer;transition:transform .15s ease,border-color .2s ease, background .2s ease}
.contrib-cta img{width:16px;height:16px}
.contrib-cta span{color:#ffd28a;font-weight:800}
.contrib-cta:hover{transform:translateY(-1px);border-color:#3a3f6e;background:#222236}
.contrib-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:1200px;margin:0 auto}
.contrib-card{background:linear-gradient(180deg,rgba(255,255,255,0.03),rgba(255,255,255,0.015));border:1px solid var(--card-border);border-radius:16px;padding:18px;text-align:center}
.contrib-icon{font-size:28px;margin-bottom:8px}
.contrib-title{font-weight:800;color:#fff;margin-bottom:6px}
.contrib-desc{color:#c9c9d6}
@media (max-width: 1024px){.contrib-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 640px){.contrib-grid{grid-template-columns:1fr}}

/* How-to steps */
.howto .steps{position:relative;margin-top:18px;max-width:980px;margin-left:auto;margin-right:auto}
.howto .step{display:grid;grid-template-columns:36px 1fr;gap:14px;align-items:start;margin:16px 0}
.howto .step-num{width:28px;height:28px;border-radius:99px;border:1px solid #2e3350;display:grid;place-items:center;color:#e5e5f0;font-size:13px;margin-top:2px;background:rgba(255,255,255,0.03)}
.howto .step-card{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(180deg,rgba(255,255,255,0.03),rgba(255,255,255,0.015));border:1px solid var(--card-border);border-radius:14px;padding:16px 18px;box-shadow:0 2px 10px rgba(0,0,0,0.25)}
.howto .step-title{font-weight:800;color:#ffffff;margin-bottom:6px;font-size:16px;letter-spacing:.2px}
.howto .step-desc{color:#c9c9d6;max-width:70ch;font-size:13.5px}
.howto .step-icon{display:grid;place-items:center}
.howto .step-icon img,.howto .step-icon span{width:36px;height:36px}
.token-cta{display:inline-flex;align-items:center;gap:10px;margin-top:10px;padding:10px 14px;border-radius:999px;border:1px solid #2e3350;background:var(--panel-2);cursor:pointer;transition:transform .15s ease, background .2s ease, border-color .2s ease}
.token-cta img{width:16px;height:16px}
.token-cta span{color:#ffd28a;font-weight:800}
.token-cta:hover{background:#222236;border-color:#3a3f6e;transform:translateY(-1px)}
.howto .steps:before{content:"";position:absolute;left:16px;top:0;bottom:0;width:3px;background:#24243a;border-radius:2px}
@media (max-width: 768px){.howto .step-card{flex-wrap:wrap}.howto .step-desc{max-width:unset}.howto .steps{padding-left:6px;padding-right:6px}}

/* Footer */
.site-footer{border-top:1px solid var(--border);margin-top:40px;padding:28px 20px;background:#000000}
.footer-grid{display:none}
.brand-footer{display:none}
.muted{color:var(--muted)}
.site-footer h4{display:none}
.site-footer ul{display:none}
.footer-bottom{text-align:center;color:var(--muted);margin-top:0;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.footer-link{color:#e7e7ef;display:inline-flex;align-items:center;gap:8px}
.footer-link img{width:18px;height:18px;display:block}
.footer-link:hover{color:#ffd28a}
.sep{color:#3a3a4d;margin:0 6px}

/* Responsive */
@media (max-width: 1024px){
    .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
    .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 640px){
    .site-header{padding:12px 16px}
    .nav-left,.nav-right{display:none}
    .hero{margin:40px auto 16px}
    .hero-title{font-size:28px}
    .hero-lines{height:120px}
    .cards{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:1fr}
}


