/* Site theme layered over style.css: large type, pill navigation and pill buttons, full-height hero, two-tone
   headings, stats band, glow backgrounds. Desktop rules first, then tablet/phone overrides. */
:root{--ink:#000;--soft:rgba(255,255,255,.62);--copy:#a9adba;--pill:rgba(255,255,255,.08);--pill-line:rgba(255,255,255,.14);--violet:#8f5cff}
html,body{overflow-x:clip}
body{background:#000}

/* Header: sticky, translucent, pill links */
header{position:sticky;top:0;height:68px;padding:0 max(24px,calc((100vw - 1480px)/2));background:rgba(0,0,0,.72);backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);border-bottom:1px solid rgba(255,255,255,.08);z-index:50}
header .brand{font-size:24px}
header .mark{font-size:40px}
nav{gap:4px;font-size:16px;color:var(--soft)}
nav a{padding:8px 15px;border-radius:999px;transition:background .15s,color .15s}
nav a:hover{color:#fff;background:var(--pill)}
.header-actions{display:flex;gap:10px;align-items:center}
.small-button{display:inline-flex;align-items:center;height:44px;padding:0 20px;border-radius:999px!important;font-size:15px;font-weight:550;background:#fff;color:#000}
.small-button.buy-swyrm{background:linear-gradient(135deg,#a0eacb,#8f5cff);color:#04110b}
.small-button:hover{transform:none;filter:brightness(1.08)}

/* Buttons: pills, no arrows */
.button{height:54px;padding:0 28px;border-radius:999px!important;font-size:17px;font-weight:550;gap:10px;border:1px solid var(--pill-line);transition:background .15s,transform .15s}
.button.light{background:#fff;color:#000;border-color:#fff}
.button.dark{background:rgba(255,255,255,.06);color:#fff}
.button:hover{transform:translateY(-1px);background:#e9fff5;color:#000}
.button.dark:hover{background:rgba(255,255,255,.14);color:#fff}
.text-link{gap:12px;font-size:16px;border-bottom-color:rgba(255,255,255,.25)}
/* Card actions share one complete pill shape and sit on the same baseline. */
.model-card{display:flex;flex-direction:column}
.model-art{flex-shrink:0}
.model-body{display:flex;flex-direction:column;flex:1}
.model-prices{margin-bottom:24px}
.model-body .model-try{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:48px;margin:auto 0 0;padding:13px 20px;border:1px solid var(--pill-line);border-radius:999px!important;background:var(--pill);color:#fff;font-family:inherit;font-size:15px;font-weight:550;line-height:1.4;letter-spacing:normal;text-align:center;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.model-body .model-try:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.3);color:#fff}
.model-body .model-try:focus-visible{outline:2px solid #a0eacb;outline-offset:4px}

/* Type: big, tight, two-tone */
h1,h2{font-weight:550;letter-spacing:-.035em}
h1 .soft,h2 .soft{font-weight:400;color:rgba(255,255,255,.78)}
.section-intro p,.architecture-copy p,.api-simple p,.token-section .section-intro p{font-size:20px;line-height:1.45;color:var(--copy);max-width:560px}
.section h3{letter-spacing:-.02em}
.payment-steps p,.feature-grid p,.roadmap-track p,.token-facts p,.faq p{color:var(--copy)}

/* Hero: full viewport, heading top-left over the moving art */
.hero{min-height:calc(100vh - 68px);padding:clamp(110px,14vh,180px) max(24px,calc((100vw - 1480px)/2)) 70px;display:flex;flex-direction:column}
.hero-art{inset:0;height:auto;opacity:1;background:radial-gradient(55% 70% at 78% 30%,rgba(123,61,255,.34),transparent 70%),radial-gradient(45% 55% at 20% 95%,rgba(61,245,167,.16),transparent 70%),radial-gradient(35% 40% at 95% 90%,rgba(182,155,255,.14),transparent 70%),#000}
#hero-gl{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity 1.2s ease}
#hero-gl.ready{opacity:1}
.hero-art::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.35) 38%,transparent 62%),linear-gradient(0deg,#000 0%,transparent 28%),linear-gradient(180deg,rgba(0,0,0,.5) 0%,transparent 18%)}
.hero-content{max-width:none;margin:0;flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:48px}
.hero h1{font-size:clamp(56px,6vw,104px);line-height:1;max-width:1150px;margin:0}
.hero-bottom{align-items:flex-end}
.hero p{font-size:22px;line-height:1.45;color:var(--copy);max-width:620px}

/* Stats band */
.stats-band{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1);padding:0 max(24px,calc((100vw - 1480px)/2))}
.stats-band div{padding:44px 28px 40px 0;border-right:1px solid rgba(255,255,255,.1);margin-right:28px}
.stats-band div:last-child{border-right:0}
.stats-band b{display:block;font-size:clamp(40px,3.6vw,60px);font-weight:500;letter-spacing:-.04em;line-height:1}
.stats-band span{display:block;margin-top:12px;font-size:16px;color:var(--copy)}

/* Sections: wider container, softer separators, glow accents */
.section{max-width:1480px;padding-left:24px;padding-right:24px}
.section h2{font-size:clamp(42px,4.4vw,72px);line-height:1.04}
.token-section{position:relative}
.token-section::before{content:"";position:absolute;inset:-10% 0;background:radial-gradient(40% 50% at 80% 30%,rgba(143,92,255,.22),transparent 70%),radial-gradient(35% 45% at 10% 80%,rgba(160,234,203,.14),transparent 70%);pointer-events:none;z-index:-1}
.token-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:10px 0 36px}
.token-facts article{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.1);border-radius:22px;padding:30px}
.token-facts b{display:block;font-size:56px;font-weight:500;letter-spacing:-.04em;line-height:1;background:linear-gradient(135deg,#a0eacb,#b69bff);-webkit-background-clip:text;background-clip:text;color:transparent}
.token-facts h3{font-size:22px;margin:16px 0 8px}
.token-facts p{font-size:16px;margin:0}
.token-note{margin-top:16px;color:var(--copy);font-size:15px}
.visual-card,.model-card,.roadmap-track article{border-radius:22px!important;overflow:hidden}
/* Text-only steps have no rounded clipping frame: preserve the leading glyphs. */
.payment-steps article{border-radius:0!important;overflow:visible}
.closing{border-color:rgba(255,255,255,.1)}
.closing h2{font-size:clamp(48px,6vw,104px)}
footer{padding-left:max(24px,calc((100vw - 1480px)/2));padding-right:max(24px,calc((100vw - 1480px)/2))}
footer div a{font-size:15px}


/* Tablet and phone */
@media(max-width:1100px){
 header{height:62px;padding:0 20px}
 .header-actions .small-button:not(.buy-swyrm){display:none}
 .small-button{height:40px;padding:0 16px;font-size:14px}
 nav{font-size:18px;gap:0}
 nav a{padding:12px 4px;border-radius:0}
 .hero{min-height:auto;padding:90px 20px 50px}
 .hero h1{font-size:clamp(42px,10vw,72px)}
 .hero p{font-size:18px}
 .hero-bottom{flex-direction:column;align-items:flex-start}
 .stats-band{grid-template-columns:repeat(2,1fr);padding:0 20px}
 .stats-band div{padding:28px 16px 26px 0;margin-right:16px}
 .stats-band div:nth-child(2){border-right:0}
 .stats-band div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.1)}
 .section{padding-left:20px;padding-right:20px}
 .section h2{font-size:clamp(34px,8vw,52px)}
 .section-intro p,.architecture-copy p,.api-simple p{font-size:17px}
 .token-facts{grid-template-columns:1fr}
 .button{height:50px;padding:0 22px;font-size:16px;margin-left:0}
 .actions{flex-wrap:wrap}
}
@media(max-width:600px){
 header .brand{font-size:21px}
 header .mark{font-size:34px}
 .small-button.buy-swyrm{height:36px;padding:0 13px;font-size:13px}
 .hero{padding-top:64px}
 .stats-band b{font-size:36px}
 .stats-band span{font-size:14px}
 .actions .button{flex:1 1 100%}
}

/* Card copy readable at desktop distance */
html{background:#000}
@media(min-width:1101px){
 .payment-steps h3,.roadmap-track h3,.feature-grid h3{font-size:26px;line-height:1.15}
 .payment-steps p,.roadmap-track p,.feature-grid p,.faq p,.model-comparison p,.model-note{font-size:17px;line-height:1.55}
 .faq summary{font-size:20px}
 .model-comparison h3{font-size:32px}
 footer div a{font-size:16px}
}
@media(max-width:1100px){.header-actions{margin-left:auto;margin-right:12px}.header-actions .buy-swyrm{display:inline-flex!important}}



/* Hero without visible copy: only the animation and the two buttons, bottom right */
.hero-content{justify-content:flex-start;gap:0}
.hero-actions{margin-top:40px}
.hero-bottom{justify-content:flex-end}
.hero-bottom .actions{margin-left:auto}
@media(max-width:1100px){.hero{min-height:calc(100svh - 62px)}.hero-bottom{align-items:stretch}.hero-bottom .actions{margin-left:0;width:100%}}
/* SWYRM unlock schedule: scrolls inside its own frame on phones, never the page */
.token-table{position:relative;overflow-x:auto;margin:0 0 36px;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.015))}
.token-table:focus-visible{outline:2px solid #a0eacb;outline-offset:3px}
.token-table table{width:100%;min-width:640px;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:16px}
.token-table th,.token-table td{padding:12px 18px;text-align:right;white-space:nowrap}
.token-table th[scope=row]{text-align:left;font-weight:500;color:#fff}
.token-table thead th{color:var(--soft);font-weight:500;font-size:14px;border-bottom:1px solid rgba(255,255,255,.1)}
.token-table thead th:first-child{text-align:left}
.token-table tbody td{color:var(--copy)}
.token-table tbody tr+tr{border-top:1px solid rgba(255,255,255,.05)}
.token-table tfoot tr:first-child{border-top:1px solid rgba(255,255,255,.14)}
.token-table tfoot td{color:#fff;font-weight:500}
.token-table caption{caption-side:bottom;text-align:left;padding:12px 18px 16px;color:var(--copy);font-size:14px}
[data-positions]{display:grid;gap:14px}

/* Hero: title, subtitle and actions a little right of the logo and lower, toward the centre (desktop only). */
@media(min-width:1101px){.hero-content{padding-left:clamp(32px,4.5vw,96px);padding-top:clamp(40px,9vh,120px)}}

/* Give the hero actions more breathing room on phones only. */
@media(max-width:600px){.hero .hero-actions{margin-top:72px}}

/* Official Qwen artwork is displayed intact, without the decorative wave mask. */
.model-art-qwen{display:grid;place-items:center;background:radial-gradient(ellipse at center,rgba(82,78,255,.15),transparent 70%);mask-image:none}
.model-art-qwen img{display:block;width:128px;height:128px;object-fit:contain;border-radius:24px}

/* A complete gaming GPU, balanced with the Qwen mark in the neighbouring card. */
.model-art-gpu{display:grid;place-items:center;background:#070b08;mask-image:none}
.model-art-gpu img{display:block;box-sizing:border-box;width:100%;max-width:420px;height:100%;min-height:0;padding:12px;object-fit:contain;mix-blend-mode:lighten}
/* Built to stay: the live three.js ring (orbit3d.js) replaces the still picture once it draws. */
.orbit .orbit-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.orbit.orbit-live{background:none}
.orbit.orbit-live svg{opacity:.35}

/* Header buy button: one line, centred, never pressed against the logo; on very narrow phones it gives way to the menu
   (the token section below has the same button). */
.small-button.buy-swyrm{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;text-align:center}
@media(max-width:360px){.header-actions .buy-swyrm{display:none!important}}

/* ---- UI polish, 14 Nov 2026 ---- */
/* Numbers band on tablets and phones: the divider under the right-hand number reaches the edge, like the left one. */
@media(max-width:1100px){.stats-band div:nth-child(2n){margin-right:0}}
/* Long addresses (the test mint) wrap instead of running off the screen. */
.token-note{overflow-wrap:anywhere}
/* The unlock table scrolls sideways on phones; its caption stays in view and wraps instead of being cut. */
@media(max-width:600px){.token-table caption{display:block;position:sticky;left:0;width:calc(100vw - 72px);white-space:normal}}
/* Roadmap on phones: no column divider left over from the tablet layout. */
@media(max-width:600px){.roadmap-track article:nth-child(n){border-left:0}}
/* Small print that stayed readable: model card notes and the footer. */
.model-card small{font-size:12px;line-height:1.45}
.footer-bottom{font-size:12px}
.model-id{font-size:12px}
/* Every large button centres its label (the quickstart one was aligned left). */
.quickstart-button{justify-content:center}
/* Phone crops of the payment illustrations: the next picture of the sprite no longer peeks in at the sides. */
@media(max-width:600px){.payment-steps article:before{-webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}}
/* Docs and downloads header: logo and "Back to website" never touch. */
header{gap:16px}
header .text-link{white-space:nowrap}
@media(max-width:360px){header .text-link{font-size:12px}}
/* Code examples in the docs: readable on every screen (they were 7-9px), scrolling sideways when long. */
.docs-content pre{font-size:13px!important;line-height:1.7;overflow-x:auto}
.docs-content pre code{font-size:inherit}
@media(max-width:600px){.docs-content pre{font-size:12px!important;padding:16px}}
/* Docs menu on phones: one row that scrolls sideways (it took four rows before every page). */
@media(max-width:600px){
 .docs-sidebar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-padding:0 20px;
  -webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
 .docs-sidebar::-webkit-scrollbar{display:none}
 .docs-sidebar a{flex:0 0 auto;white-space:nowrap}
 .docs-sidebar .eyebrow{display:none}
}
/* Downloads page: the installer link is a real button (its style lived only in the dashboards' stylesheet). */
.docs-content .c-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:999px;font-size:15px;font-weight:550;text-decoration:none;border:1px solid rgba(255,255,255,.18);color:#fff;transition:background .15s}
.docs-content .c-btn.primary{background:#fff;color:#000;border-color:#fff}
.docs-content .c-btn.primary:hover{background:#dfe7e2}
.download-line{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin:18px 0 26px}
.download-line .sha{font-size:14px;color:var(--copy,#a9adba);border-bottom:1px solid #3c4640;padding-bottom:2px}
/* Code inside docs sentences: readable (never under 12px) and long values wrap instead of overflowing. */
.docs-content code{font-size:max(.9em,12px)}
.docs-content :not(pre)>code{overflow-wrap:anywhere}
/* Model card labels stay readable on tablets. */
@media(max-width:1100px){.model-card dt{font-size:11.5px}}
/* ---- TGE countdown in the hero ---- */
/* Plain and typographic, like the numbers band: a hairline, a label, then the time left. No glow, no tiles. */
.tge-countdown{display:inline-flex;flex-direction:column;gap:14px;align-self:flex-start;margin-top:56px;padding-top:18px;border-top:1px solid rgba(255,255,255,.18);color:#fff;text-decoration:none}
.tge-countdown:focus-visible{outline:2px solid #a0eacb;outline-offset:6px}
.tge-label{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.tge-title{font-size:16px;font-weight:550;letter-spacing:-.01em}
.tge-when{font-size:15px;color:var(--copy)}
.tge-clock{display:flex;align-items:baseline;gap:22px}
.tge-clock>span{display:inline-flex;align-items:baseline;gap:3px}
.tge-clock b{font-size:48px;line-height:1;font-weight:500;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.tge-clock small{font-size:18px;color:var(--copy);letter-spacing:0}
.tge-countdown:hover .tge-title{color:#a0eacb}
.tge-countdown.live .tge-clock{display:none}
.tge-countdown.live .tge-when:after{content:" →"}
@media(max-width:1100px){.tge-countdown{margin-top:44px}}
@media(max-width:600px){
 .hero .hero-actions{margin-top:48px}
 .tge-countdown{display:flex;align-self:stretch;margin-top:36px;gap:12px}
 .tge-title{font-size:15px}.tge-when{font-size:14px}
 .tge-clock{justify-content:space-between;gap:0}
 .tge-clock b{font-size:40px}
 .tge-clock small{font-size:16px}
}

/* ---- Hero lead: one plain sentence that says what the site is ---- */
.hero .hero-lead{margin:26px 0 0;max-width:600px;font-size:21px;line-height:1.45;color:var(--copy)}
.hero .hero-lead + .hero-actions{margin-top:30px}
@media(max-width:600px){.hero .hero-lead{font-size:17px;margin-top:20px}.hero .hero-lead + .hero-actions{margin-top:28px}}

/* ---- Token unlock table on phones: one card per allocation (no sideways scrolling) ---- */
@media(max-width:600px){
 .token-table{overflow:visible;border:0;background:none;border-radius:0}
 .token-table table,.token-table tbody,.token-table tfoot,.token-table tr{display:block;min-width:0;width:auto}
 .token-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .token-table caption{display:block;position:static;width:auto;padding:0 2px 14px;caption-side:top;white-space:normal}
 .token-table tr{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 6px;padding:14px 16px;margin:0 0 8px;border:1px solid rgba(255,255,255,.1)!important;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.015))}
 .token-table th[scope=row]{grid-column:1 / span 4;grid-row:1;padding:0;white-space:normal;font-size:16px;line-height:1.3}
 .token-table td{display:flex;flex-direction:column;align-items:center;gap:3px;padding:0;text-align:center;font-size:15px}
 .token-table td::before{content:attr(data-l);font:10px 'Geist Mono',monospace;letter-spacing:.04em;text-transform:uppercase;color:#8d9590}
 .token-table td[data-l="Launch"]{grid-area:2/1}.token-table td[data-l="Year 1"]{grid-area:2/2}.token-table td[data-l="Year 2"]{grid-area:2/3}.token-table td[data-l="Year 3"]{grid-area:2/4}.token-table td[data-l="Year 4"]{grid-area:2/5}
 .token-table td.tt-total{grid-column:5;grid-row:1;align-items:flex-end;text-align:right;color:#fff;font-weight:600}
 .token-table td.tt-total::before{content:'Total'}
 .token-table td.tt-total:empty{display:none}
 .token-table tfoot tr{background:rgba(160,234,203,.06);border-color:rgba(160,234,203,.3)!important}
 .token-table tfoot td{color:#fff}
}

/* Images with width/height attributes (for layout stability) keep their CSS aspect ratio. */
.feature-image,.payment-image{height:auto}
.volume-cta{margin:32px 0 0}
@media(min-width:1001px){#main-nav .nav-mobile{display:none}}
.faq-more{margin:28px 0 0;font-size:17px;color:var(--copy)}
