:root{
  --bg:#060a16;
  --ink:#f6f7fb;
  --muted:#a9b2c5;
  --line:#94a1bc;
  --panel:#0d1425;
  --panel2:#111a2d;
  --button:#697488;
  --button-hi:#7c8799;
  --shadow:#050913;
  --green:#79d1ae;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;min-height:100vh;color:var(--ink);background:var(--bg);font-family:"Press Start 2P",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit}
.shell{width:min(1450px,calc(100% - 72px));margin-inline:auto;position:relative;z-index:2}
.site-bg{position:fixed;inset:0;background-image:linear-gradient(to bottom,rgba(2,5,14,.03) 0 62%,rgba(2,5,14,.54) 82%,rgba(2,5,14,.78) 100%),url("assets/pixel-bg.jpg");background-size:cover;background-position:center top;image-rendering:pixelated;z-index:0}
.site-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 39%,transparent 0 43%,rgba(0,0,0,.12) 66%,rgba(0,0,0,.68) 100%);pointer-events:none}
.scanlines{position:fixed;inset:0;z-index:1;pointer-events:none;opacity:.16;background:repeating-linear-gradient(to bottom,rgba(255,255,255,.05) 0 1px,transparent 1px 5px);mix-blend-mode:soft-light}

.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;padding-top:4px}
.brand,.footer-brand{display:flex;align-items:center;gap:14px;font-size:24px;letter-spacing:-1px;text-shadow:3px 3px 0 #11182b}
.brand img,.footer-brand img{image-rendering:pixelated;border-radius:3px}
.nav{display:flex;align-items:center;gap:43px;font-size:15px}
.nav a{padding:10px 1px 11px;position:relative;text-shadow:2px 2px 0 #11182b;opacity:.95}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#f4f6fb;transform:scaleX(0);transform-origin:left;transition:transform .15s steps(2,end)}
.nav a:hover::after,.nav a.active::after{transform:scaleX(1)}

.hero{min-height:650px;text-align:center;padding-top:0}
.hero-art{position:relative;height:402px;display:grid;place-items:start center;margin-top:-4px;pointer-events:none}
.halo{position:absolute;top:-46px;left:50%;translate:-50% 0;width:min(1060px,78vw);height:550px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(173,180,194,.18) 0 32%,rgba(74,85,108,.14) 49%,rgba(17,28,52,.02) 70%,transparent 74%);filter:blur(.2px)}
.character{position:relative;width:430px;max-height:398px;object-fit:contain;object-position:center top;image-rendering:pixelated;filter:drop-shadow(7px 8px 0 rgba(4,8,17,.95));transform:translateY(-2px)}
.hero-title-wrap{position:relative;margin-top:-18px;z-index:4}
h1{margin:0;font-size:88px;line-height:.9;letter-spacing:-7px;text-shadow:7px 7px 0 #0a1020,10px 10px 0 rgba(0,0,0,.26)}
.link-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;width:min(970px,100%);margin:22px auto 0}
.pixel-button{height:72px;padding:0 24px;display:flex;align-items:center;justify-content:center;gap:18px;background:linear-gradient(#7b8597,#606b7d);border:4px solid #e4e9f3;outline:5px solid #11182a;clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px);box-shadow:0 7px 0 #050916,inset 0 2px 0 rgba(255,255,255,.15);font-size:16px;letter-spacing:.3px;text-shadow:2px 2px 0 rgba(20,25,40,.45);transition:transform .08s steps(2,end),filter .08s steps(2,end),background .08s steps(2,end)}
.pixel-button:hover{filter:brightness(1.12);transform:translateY(-3px);background:linear-gradient(#8792a4,#6c778a)}
.pixel-button:active{transform:translateY(4px);box-shadow:0 2px 0 #050916}
.icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto}
.icon svg{width:100%;height:100%;fill:none;stroke:#f7f8fb;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;filter:drop-shadow(2px 2px 0 #10182b)}
.icon-pill svg{fill:#f7f8fb;stroke:#11182a;stroke-width:3}
.icon-pill .accent{fill:var(--green)}
.x-icon{font-family:Arial,sans-serif;font-size:38px;line-height:1;font-weight:400}
.ca-wrap{width:min(660px,94%);margin:22px auto 0;position:relative}
.ca-caption{font-size:12px;letter-spacing:1.4px;margin-bottom:9px;text-shadow:2px 2px 0 #10172a}
.ca-box{display:grid;grid-template-columns:1fr 58px;align-items:center;height:58px;border:3px solid #abb6cb;background:rgba(13,19,35,.88);box-shadow:0 0 0 3px #1a2236,inset 0 0 0 1px rgba(255,255,255,.08);text-align:left}
.ca-box code{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 19px;font:15px/1.1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:1.1px;color:#f3f5fa}
.copy-button{height:100%;border:0;border-left:2px solid #556078;background:#414b60;color:#fff;cursor:pointer;display:grid;place-items:center;transition:filter .1s steps(2,end),transform .1s steps(2,end)}
.copy-button:hover{filter:brightness(1.22)}
.copy-button:active{transform:translate(2px,2px)}
.copy-button svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2.3}
.copy-status{display:block;position:absolute;right:0;top:100%;font-size:8px;color:#dfe5f0;margin-top:8px;min-height:10px}

.section{padding-top:22px;scroll-margin-top:20px}
.section-heading{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;margin-bottom:12px}
.section-heading span{height:2px;background:#a9b4c8;box-shadow:0 2px 0 rgba(6,10,20,.7)}
.section-heading h2{font-size:26px;margin:0;letter-spacing:1px;text-shadow:3px 3px 0 #0d1325}
.faq-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.faq-card{min-height:95px;background:rgba(10,16,31,.86);border:2px solid #65718a;box-shadow:0 0 0 1px rgba(255,255,255,.04),inset 0 0 0 2px rgba(0,0,0,.18);padding:13px 16px 12px;text-align:left;transition:transform .1s steps(2,end),background .1s steps(2,end),border-color .1s steps(2,end)}
.faq-card:hover{transform:translateY(-2px);border-color:#9aa7bf;background:rgba(14,21,40,.94)}
.faq-toggle{width:100%;display:flex;align-items:start;justify-content:space-between;gap:10px;color:#fff;background:transparent;border:0;padding:0;cursor:pointer;text-align:left;font-size:11px;line-height:1.45}
.faq-toggle b{font-size:17px;line-height:12px;transition:transform .12s steps(2,end)}
.faq-card p{font:16px/1.35 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;margin:8px 0 0;color:#eef1f8;letter-spacing:.2px}
.faq-more{font:14px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#bcc5d7;max-height:0;opacity:0;overflow:hidden;transition:max-height .18s ease,opacity .18s ease,margin .18s ease}
.faq-card.open .faq-more{max-height:80px;opacity:1;margin-top:8px}
.faq-card.open .faq-toggle b{transform:rotate(45deg)}
.disclaimer-section{padding-top:16px;padding-bottom:4px}
.disclaimer-section .section-heading{margin-bottom:8px}
.disclaimer-section .section-heading h2{font-size:18px}
.disclaimer-box{border:2px solid #59647d;background:rgba(9,14,27,.86);padding:10px 24px;text-align:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.disclaimer-box p{font:12px/1.35 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;margin:1px 0;color:#e3e7ef;letter-spacing:.45px}
.footer{height:70px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding-bottom:8px}
.footer-brand{justify-self:start;font-size:12px;gap:10px}
.footer small{font:12px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#6f7894;letter-spacing:1px}
.footer-links{justify-self:end;display:flex;align-items:center;gap:24px;font:28px Arial,sans-serif}
.footer-links a{transition:transform .1s steps(2,end),opacity .1s steps(2,end)}
.footer-links a:hover{transform:translateY(-2px);opacity:.78}
.toast{position:fixed;left:50%;bottom:26px;translate:-50% 20px;z-index:20;background:#eef2f8;color:#0b1020;border:4px solid #11182a;box-shadow:5px 5px 0 #02040a;padding:13px 18px;font-size:10px;opacity:0;pointer-events:none;transition:opacity .15s steps(2,end),translate .15s steps(2,end)}
.toast.show{opacity:1;translate:-50% 0}

@media (max-width:1100px){
  .shell{width:min(960px,calc(100% - 38px))}
  .topbar{height:76px}
  .brand{font-size:18px}.brand img{width:40px;height:40px}.nav{font-size:11px;gap:28px}
  .hero-art{height:340px}.character{width:370px;max-height:340px}.hero-title-wrap{margin-top:-8px}h1{font-size:72px}
  .link-row{gap:12px}.pixel-button{height:64px;font-size:12px;padding:0 14px;gap:12px}.icon{width:34px;height:34px}
  .faq-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:720px){
  .shell{width:min(100% - 26px,620px)}
  .topbar{height:70px}.brand{font-size:14px;gap:9px}.brand img{width:34px;height:34px}.nav{gap:15px;font-size:8px}.nav a{padding:8px 0}
  .hero{padding-top:4px}.hero-art{height:286px}.halo{width:130vw;height:410px;top:-30px}.character{width:300px;max-height:286px}.hero-title-wrap{margin-top:-6px}
  h1{font-size:48px;letter-spacing:-5px;text-shadow:5px 5px 0 #0a1020}
  .link-row{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}.pixel-button{height:58px;font-size:10px;outline-width:3px;border-width:3px}.icon{width:29px;height:29px}.x-icon{font-size:30px}
  .ca-wrap{margin-top:20px}.ca-caption{font-size:8px}.ca-box{height:52px;grid-template-columns:1fr 50px}.ca-box code{font-size:11px;padding-left:12px}
  .section{padding-top:27px}.section-heading h2{font-size:18px}.faq-grid{grid-template-columns:1fr}.faq-card{min-height:0}.disclaimer-section .section-heading h2{font-size:13px}.disclaimer-box{padding:12px}.disclaimer-box p{font-size:10px}
  .footer{height:auto;min-height:105px;grid-template-columns:1fr auto;grid-template-areas:"brand social" "copy copy";row-gap:16px;padding:17px 0 24px}.footer-brand{grid-area:brand}.footer-links{grid-area:social}.footer small{grid-area:copy;justify-self:center;font-size:10px}
}
@media (max-width:420px){
  .nav a:first-child{display:none}.nav{gap:12px}.brand span{font-size:12px}
  .hero-art{height:250px}.character{width:265px;max-height:250px}.hero-title-wrap{margin-top:-2px}h1{font-size:39px}
  .link-row{grid-template-columns:1fr 1fr}.pixel-button{padding:0 8px;gap:8px;font-size:9px}.icon{width:25px;height:25px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
