/* V3 evolution: theme tokens also cover the existing interactive demos. */
html[data-theme="light"]{color-scheme:light;--bg:#f4f5f8;--bg-2:#e9edf4;--surface:#fff;--surface-2:#e2e8f2;--line:rgba(24,36,65,.12);--line-2:rgba(24,36,65,.22);--text:#111c32;--dim:#485670;--faint:#586781;--cyan:#006b83;--violet:#6644cc;--magenta:#ad2370;--lime:#486800;--coral:#b53a20;--amber:#8b5800;--on-color:#fff}
body{transition:background-color .3s,color .3s}
.header__cta{display:flex;align-items:center;gap:10px}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;height:42px;padding:0 13px;border:1px solid var(--line-2);border-radius:99px;background:var(--surface);color:var(--text);cursor:pointer;font-size:.85rem}
.theme-toggle span:first-child{font-size:22px}
.eyebrow{font:650 .72rem/1.5 var(--body);letter-spacing:.16em;color:var(--a1)}
.hero-kicker{margin-bottom:24px}
.stage:before{content:"";position:absolute;inset:0;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(110deg,transparent 30%,#000);opacity:.5}
.product-grid,.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.product-card,.price-card{overflow:hidden;border:1px solid var(--line-2);border-radius:24px;background:var(--surface);position:relative}
.product-card{transition:box-shadow .3s,translate .3s}
.product-card:hover{translate:0 -5px;box-shadow:0 20px 60px -35px var(--a1)}
.product-body{padding:28px}.product-body h3,.price-card h3{font:700 1.65rem/1.2 var(--display);letter-spacing:-.025em;margin:14px 0}
.product-body p,.price-card p{color:var(--dim);font-size:1rem}.product-body .btn{margin-top:26px}
.product-art,.future-art{height:215px;display:flex;align-items:center;justify-content:center;gap:18px;border-bottom:1px solid var(--line);background:radial-gradient(ellipse at center,color-mix(in srgb,var(--a1) 15%,var(--bg)),var(--bg))}
.api-hub{display:grid;place-items:center;width:96px;height:96px;border:1px solid var(--a1);border-radius:25px;font:800 4rem var(--display);color:var(--a1);box-shadow:0 0 60px -15px var(--a1);transform:rotate(-10deg);animation:hub-float 6s ease-in-out infinite}
.api-node{font-size:.7rem;letter-spacing:.08em;border:1px solid var(--line-2);padding:10px;border-radius:10px;position:relative}.api-node:first-child:after,.api-node:last-child:before{content:"";height:1px;width:19px;background:var(--a1);position:absolute;top:50%}.api-node:first-child:after{left:100%}.api-node:last-child:before{right:100%}
.future-art{font:350 5rem var(--display);color:var(--faint);position:relative;background-image:linear-gradient(135deg,transparent 48%,var(--line) 49%,transparent 50%);background-size:22px 22px}.future-art span{position:absolute;font:300 2rem var(--body);right:24px;top:18px}.coming-label{display:inline-block;margin-top:24px;font-size:.8rem;color:var(--dim);border:1px solid var(--line-2);border-radius:99px;padding:5px 12px}
.currency{display:inline-flex;padding:5px;border:1px solid var(--line-2);border-radius:99px;margin-bottom:28px;background:var(--surface)}.currency button{border:0;border-radius:99px;padding:11px 18px;background:transparent;color:var(--dim);cursor:pointer;font-size:.9rem}.currency button[aria-pressed="true"]{background:var(--a1);color:var(--on-color)}
.price-card{padding:30px;display:flex;flex-direction:column}.price-card.featured{border-color:var(--a1);background:linear-gradient(160deg,color-mix(in srgb,var(--a1) 9%,var(--surface)),var(--surface))}.price-card p{min-height:3.4em}.price{margin:28px 0;display:grid;gap:4px}.price small,.price span{color:var(--dim);font-size:.8rem}.price strong{font:750 clamp(2rem,3vw,3rem)/1.2 var(--display);letter-spacing:-.04em}.price-card ul{margin-bottom:30px;font-size:.92rem;color:var(--dim)}.price-card li{padding:9px 0;border-top:1px solid var(--line)}.price-card li:before{content:"↗";margin-right:10px;color:var(--a1)}.price-card .btn{margin-top:auto}.pricing-note{max-width:95ch;font-size:.85rem;color:var(--dim);margin-top:24px}
html[data-theme="light"] .header.solid{background:rgba(244,245,248,.9)}
html[data-theme="light"] .fact,html[data-theme="light"] .portrait figcaption{background:rgba(255,255,255,.88)}
html[data-theme="light"] .btn-solid:hover{background:var(--text);color:var(--bg)}
html[data-theme="light"] .btn-line{background:rgba(30,45,80,.04)}
html[data-theme="light"] .dash{background:var(--bg-2);color:var(--text)}
html[data-theme="light"] .panel{background:var(--surface)}
html[data-theme="light"] .dash__top,html[data-theme="light"] .panel .ph,html[data-theme="light"] .mini span,html[data-theme="light"] .reasons li{color:var(--dim)}
html[data-theme="light"] .lay{background:color-mix(in srgb,var(--c) 9%,#fff)}
html[data-theme="light"] .lay.on{background:color-mix(in srgb,var(--c) 25%,#fff)}
html[data-theme="light"] .form-error,html[data-theme="light"] .ferr{color:#a62039}
html[data-theme="light"] .band .btn-solid{background:#111c32}
html[data-theme="light"] .copy__state{background:#111c32}
html[data-theme="light"] .stage canvas{filter:saturate(1.6) brightness(.58)}
@keyframes hub-float{50%{transform:translateY(-10px) rotate(5deg)}}
@media(min-width:1000px){.hero__copy{max-width:710px}.hero h1{font-size:clamp(3.2rem,5.7vw,5.5rem)}.hero .lead{max-width:51ch}.stage{min-height:760px}}
@media(max-width:900px){.product-grid,.pricing-grid{grid-template-columns:1fr}.product-card{display:grid;grid-template-columns:1fr 1.3fr}.product-art,.future-art{height:100%;min-height:240px;border-bottom:0;border-right:1px solid var(--line)}.price-card p{min-height:0}.stage canvas{opacity:.5!important}.hero__copy{position:relative}.hero .lead{max-width:57ch}.header__cta .btn{display:none!important}}
@media(max-width:600px){.theme-label{display:none}.theme-toggle{padding:0;width:42px}.header__in{gap:8px}.switch a{padding:10px 12px}.product-card{display:block}.product-art,.future-art{height:190px;min-height:0}.hero-kicker{font-size:.61rem;max-width:30ch}.hero{padding-top:150px}.price-card{padding:25px}.product-body{padding:25px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}.product-card:hover{translate:none}}
@media(max-width:760px){.header__in{grid-template-columns:auto minmax(0,1fr) auto;height:72px}.header__cta{display:flex}.switch{justify-self:center}.switch a{padding:9px 11px;font-size:.8rem}.brand svg{width:30px;height:30px}.hero{padding-top:calc(100px + 32svh)}.stage canvas{opacity:.65!important}.stage:after{height:45%}}
