/* Spectre appearance controls are part of both themes. */
:root{color-scheme:light;--chart-line:#54748b;--chart-area:#829baf;--chart-grid:#dbe2e9;--chart-label:#697d90;--chart-up:#4d857b;--chart-down:#b77f7d;--chart-crosshair:#506c81}
.site-theme-toggle{width:40px;height:40px;min-width:40px;display:grid;place-items:center;padding:0;flex-shrink:0;border-radius:50%;border:1px solid #d6dfe9;background:#f8fafd;color:#4b6078}
.site-theme-toggle svg{width:19px;height:19px;display:block}.site-theme-toggle:hover{opacity:1;background:#e9eff7}.site-theme-toggle:focus-visible{outline:3px solid #668aba;outline-offset:3px}
.site-appearance{display:flex;align-items:center;gap:14px;font:400 12px/1.4 DM,-apple-system,BlinkMacSystemFont,sans-serif;color:#63738a}
.site-appearance>div{display:flex;gap:3px;padding:4px;border:1px solid #d7e0eb;border-radius:30px;background:#f1f5fa}
.site-appearance button{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;min-height:36px;border-radius:22px;background:transparent;color:#55687f;font:inherit;cursor:pointer}
.site-appearance button[aria-pressed=true]{background:#fff;color:#21364e;box-shadow:0 2px 8px #1d314c12}
.site-menu>.site-appearance{justify-content:space-between;padding:14px 30px;border-bottom:1px solid #d7e0eb;margin:0}
.footer-colophon>.site-appearance{margin-left:auto}.standalone-appearance{justify-content:center;padding:18px}.form-only>.standalone-appearance{margin-top:0}
@media(max-width:900px){.navigation .site-theme-toggle{display:none}.site-menu>.site-appearance{padding:12px 20px}.site-appearance button{min-height:44px;padding-inline:15px}.footer-colophon>.site-appearance{margin-left:0;flex-basis:100%;justify-content:space-between;margin-top:10px}.site-appearance{max-width:100%;gap:8px}.site-appearance>div{flex-shrink:0}}

/* Midnight: cool navy materials and silver controls, with the original geometry. */
html[data-site-theme=dark]{color-scheme:dark;background:#0b0b0c;--chart-line:#d0d0d5;--chart-area:#afafb6;--chart-grid:#3b3b42;--chart-label:#bbbbc1;--chart-up:#92d0b8;--chart-down:#f0aba4;--chart-crosshair:#ccccd1}
html[data-site-theme=dark] body,
html[data-site-theme=dark] body[data-concept=clarity],
html[data-site-theme=dark] body[data-concept=observatory]{--bg:#0b0b0c;--ink:#f4f4f5;--muted:#babac1;--panel:#141416;--line:#3f3f46;--nav:rgba(20,20,22,0.87);--button:#e9e9ec;--button-ink:#141416;background:#0b0b0c;color:#f4f4f5}
html[data-site-theme=dark] ::selection{background:#676772;color:#fff}
html[data-site-theme=dark] :focus-visible{outline-color:#d4d4d9}
html[data-site-theme=dark] :is(input,textarea,select){color-scheme:dark;caret-color:#e0e0e3;accent-color:#d2d2d6}
html[data-site-theme=dark] :is(input,textarea)::placeholder{color:#9797a0;opacity:1}
html[data-site-theme=dark] .navigation{background:rgba(17,17,19,0.91);border-color:rgba(220,220,223,0.11);box-shadow:inset 0 1px rgba(232,232,234,0.075),0 16px 42px -25px #000d}
html[data-site-theme=dark] .navigation .brand{color:#f6f6f7}
html[data-site-theme=dark] .navigation nav{color:#c2c2c8}
html[data-site-theme=dark] .navigation nav a:hover,html[data-site-theme=dark] .navigation nav a[aria-current]{color:#fff;opacity:1}
html[data-site-theme=dark] .hero-clarity{background:radial-gradient(ellipse 58% 36% at 50% 14%,rgba(62,62,68,0.141),transparent 100%)}
html[data-site-theme=dark] .hero-copy h1{color:#f7f7f7;text-shadow:0 3px 40px rgba(151,151,160,0.082)}
html[data-site-theme=dark] .hero-copy p{color:#c2c2c8}
html[data-site-theme=dark] .button{background:linear-gradient(145deg,#f6f6f7,#d9d9dd)!important;color:#141416!important;border-color:#e3e3e5!important;box-shadow:inset 0 1px #fff9,0 8px 24px -13px #000c}
html[data-site-theme=dark] .button:hover{opacity:1;background:linear-gradient(145deg,#fff,#ededee)!important}
html[data-site-theme=dark] .button.secondary{background:#202023!important;color:#e5e5e8!important;border-color:#55555e!important;box-shadow:inset 0 1px rgba(235,235,237,0.075)}
html[data-site-theme=dark] .button:disabled{opacity:.55}
html[data-site-theme=dark] :is(.buy-nav,.contract-copy,.hero-contract-copy,.footer-copy,.see-chart,.chart-toolbar button,.market-refresh,.catalog-filters button,.utility-selector button,.tour-toggle){color:#d7d7db;border-color:#484850}
html[data-site-theme=dark] .buy-nav{background:#1c1c1f;border-color:#505058}
html[data-site-theme=dark] :is(.hero-social-action,.hero-contract-action){background:linear-gradient(145deg,#212124,#151517);border-color:#494951;box-shadow:inset 0 1px rgba(235,235,236,0.094),0 12px 24px -20px #000e}
html[data-site-theme=dark] .hero-social-action:hover{background:linear-gradient(145deg,#36363b,#222225);opacity:1;border-color:#72727f}
html[data-site-theme=dark] .hero-social-action strong{color:#eeeeef}
html[data-site-theme=dark] .hero-social-action small{color:#b9b9c0}
html[data-site-theme=dark] .hero-contract-text :is(strong,a){color:#e9e9ec}
html[data-site-theme=dark] .hero-contract-text strong span{color:#b9b9c0}
html[data-site-theme=dark] .hero-contract-action .eth-symbol{color:#c6c6cb}
html[data-site-theme=dark] .hero-contract-copy{background:#37373d;border-color:#62626d;color:#f0f0f2}
html[data-site-theme=dark] body[data-concept] .hero-contract-copy.is-copied{background:rgba(74,222,128,.14);border-color:rgba(74,222,128,.42);color:#86efac}
html[data-site-theme=dark] body[data-concept] .hero-copy-status.is-ok{color:#86efac}
html[data-site-theme=dark] body[data-concept] .hero-copy-status.is-error{color:#f1aaa2}
html[data-site-theme=dark] .hero-contract-action .see-chart{background:#26262a;color:#ededef;border-color:#595962}
html[data-site-theme=dark] .hero-view-tabs{background:#141416;border-color:#424249;box-shadow:inset 0 1px rgba(234,234,236,0.047)}
html[data-site-theme=dark] .hero-view-tabs button{color:#bcbcc2}
html[data-site-theme=dark] .hero-view-tabs button[aria-selected=true]{background:linear-gradient(145deg,#46464d,#37373d);color:#f7f7f8;box-shadow:inset 0 1px rgba(236,236,238,0.141),0 4px 14px #0003}
html[data-site-theme=dark] .mode-comparison{background:linear-gradient(140deg,#313136,#151518);border-color:#515159;box-shadow:inset 0 1px rgba(237,237,238,0.208),0 30px 65px -40px #000}
html[data-site-theme=dark] .mode-chrome{color:#bdbdc4}
html[data-site-theme=dark] .mode-chrome :is(a,span:first-child){color:#e9e9eb}
html[data-site-theme=dark] .mode-images{background:#0b0b0c}
html[data-site-theme=dark] .mode-footer{background:transparent;color:#d0d0d5}
html[data-site-theme=dark] .mode-footer strong{color:#f6f6f6}
html[data-site-theme=dark] .mode-footer button span{color:#b7b7be}
html[data-site-theme=dark] :is(.mode-divider>span,.divider>span){background:linear-gradient(145deg,rgba(110,110,121,0.91),rgba(58,58,65,0.91));border-color:rgba(211,211,215,0.478);color:#fff;box-shadow:inset 0 2px rgba(240,240,241,0.333),0 10px 28px #0005}
html[data-site-theme=dark] .mode-atmosphere{background:#151517;border-color:#44444b;color:#bebec4}
html[data-site-theme=dark] .mode-atmosphere button{background:#252529;border-color:#55555e;color:#e2e2e4}
html[data-site-theme=dark] .mode-atmosphere button[aria-pressed=true]{background:#dadadd;color:#212124;border-color:#e6e6e8}
html[data-site-theme=dark] .touch-comparison-control{background:#18181a;border-color:#4b4b52;color:#cbcbd0}
html[data-site-theme=dark] .touch-comparison-range{accent-color:#d2d2d6}
html[data-site-theme=dark] :is(.app-shell,.app-preview-shell,.utility-viewer,.chapter-visual,.phone-frame,.phone-device,.desktop-device){background:linear-gradient(145deg,#36363b,#141416);border-color:#515159;box-shadow:inset 0 1px rgba(232,232,235,0.161),0 24px 55px -34px #000}
html[data-site-theme=dark] :is(.app-chrome,.app-window-bar,.utility-browserbar,.chapter-caption,.device-caption){color:#d1d1d5;background:#171719;border-color:#45454c}
html[data-site-theme=dark] .chapter-caption :is(a,strong){color:#f4f4f5}
html[data-site-theme=dark] .chapter-list button[aria-selected=true]{border-color:#b4b4bc;color:#f6f6f6}
html[data-site-theme=dark] .chapter-list button[aria-selected=true] :is(p,.chapter-detail){color:#d0d0d5}
html[data-site-theme=dark] .product-pin .chapter-list button[aria-selected=true]>span:first-child{color:#f2f2f4}
html[data-site-theme=dark] .phone-frame{background:#141416}
html[data-site-theme=dark] .phone-reel figcaption{color:#f4f4f5}
html[data-site-theme=dark] .phone-reel figcaption p{color:#bcbcc2}
html[data-site-theme=dark] :is(.support-card,.support-popover,.difference-center){background:linear-gradient(145deg,#202023,#121214);border-color:#47474e;box-shadow:inset 0 1px rgba(232,232,234,0.082),0 20px 44px -32px #000}
html[data-site-theme=dark] :is(.support-brand i,.connection-brand i,.social-brand i){background:#f2f2f4;border-color:#d3d3d7;box-shadow:0 4px 16px #0002}
html[data-site-theme=dark] .support-card summary{color:#ececed}
html[data-site-theme=dark] .support-popover p{color:#c8c8cd}
html[data-site-theme=dark] .brand-names{color:#e6e6e8}
html[data-site-theme=dark] :is(.voice-card,.voice-caption,.film-card){color:#efeff1;border-color:#494950}
html[data-site-theme=dark] .voice-caption p{color:#bfbfc5}
html[data-site-theme=dark] .utility-selector{background:#171719;border-color:#484850}
html[data-site-theme=dark] :is(.utility-selector,.catalog-filters) button[aria-pressed=true]{background:#d1d1d5;color:#222225;border-color:#e7e7e9}
html[data-site-theme=dark] .catalog-search{background:#171719;border-color:#515159;color:#ededee}
html[data-site-theme=dark] .catalog-tool :is(strong,small){color:#d1d1d5}
html[data-site-theme=dark] :is(.intelligence-lens,.lens-glass,.lens-output,.mcp-art,.mcp-lens){border-color:#4f4f57}
html[data-site-theme=dark] .intelligence-lens{background:radial-gradient(ellipse at 50% 50%,rgba(52,52,58,0.278),transparent 68%),#0f0f11}
html[data-site-theme=dark] .lens-glass{background:linear-gradient(140deg,rgba(66,66,73,0.502),rgba(32,32,35,0.722));box-shadow:inset 0 2px rgba(220,220,224,0.18),0 35px 85px -45px #000}
html[data-site-theme=dark] .lens-wires{color:#777783}
html[data-site-theme=dark] .api-interlude{background:linear-gradient(140deg,#131315,#0d0d0e);border-color:#43434a}
html[data-site-theme=dark] :is(.api-tabs button[aria-selected=true],.social-view-controls button[aria-pressed=true]){background:#4c4c55;color:#f6f6f6;border-color:#7b7b88}
html[data-site-theme=dark] .availability-soon{color:#b2b2b9}
html[data-site-theme=dark] .theme-composer{border-color:#505059;background:#171719;box-shadow:inset 0 1px rgba(236,236,238,0.09),0 24px 60px -36px #000}
html[data-site-theme=dark] .theme-controls{background:linear-gradient(145deg,#26262a,#18181a);color:#f0f0f1;border-color:#505059}
html[data-site-theme=dark] .theme-controls :is(legend,small,label,.theme-state,.theme-range-label){color:#c4c4ca}
html[data-site-theme=dark] .theme-controls h3{color:#f7f7f7}
html[data-site-theme=dark] .theme-segment{background:#111113;border-color:#4a4a52}
html[data-site-theme=dark] .theme-segment button{color:#cacacf}
html[data-site-theme=dark] .theme-segment button[aria-pressed=true]{background:#d8d8db;color:#242428}
html[data-site-theme=dark] .theme-swatches button[aria-pressed=true]>span{border-color:#e8e8eb;box-shadow:0 0 0 3px #71717c}
html[data-site-theme=dark] .theme-focus i{background:#4b4b52;border-color:#686872}
html[data-site-theme=dark] .theme-focus input:checked+i{background:#d1d1d5}
html[data-site-theme=dark] :is(.theme-reset,.theme-help,.theme-demo-tag){color:#ceced3}
html[data-site-theme=dark] :is(.tier-card,.subscription-panel,.token-teaser,.access-ladder,.access-page>.market-contract){background:linear-gradient(145deg,#212124,#141416);border-color:#494951;color:#efeff0;box-shadow:inset 0 1px rgba(236,236,237,0.078)}
html[data-site-theme=dark] .tier-grid.revised-tiers .tier-card:nth-child(3){background:linear-gradient(140deg,#494951,#303036);border-color:#8d8d97;box-shadow:inset 0 1px rgba(239,239,240,0.212),0 20px 50px -34px rgba(183,183,190,0.4)}
html[data-site-theme=dark] .tier-grid.revised-tiers .tier-card:nth-child(3) :is(p,span){color:#d9d9dc}
html[data-site-theme=dark] .tier-card :is(h2,strong){color:#f6f6f6}
html[data-site-theme=dark] .tier-card p{color:#c6c6cc}
html[data-site-theme=dark] .access-ladder>a{border-color:#494951}
html[data-site-theme=dark] .access-ladder>a:hover{background:#36363b;opacity:1}
html[data-site-theme=dark] :is(.token-market,.token-object){background:linear-gradient(145deg,#1f1f22,#131315);border-color:#515159;box-shadow:inset 0 1px rgba(235,235,236,0.125),0 24px 60px -40px #000}
html[data-site-theme=dark] .quote-row>div>strong{color:#f7f7f7}
html[data-site-theme=dark] :is(.market-status,.chart-axis,.chart-provenance,.market-facts dt){color:#b3b3bb}
html[data-site-theme=dark] .market-status{background:#1a1a1d;border-color:#4b4b52}
html[data-site-theme=dark] .market-status[data-state=error]{color:#f1aaa2;border-color:#874f56}
html[data-site-theme=dark] .market-status[data-state=stale]{color:#e3cb9c;border-color:#7c6748}
html[data-site-theme=dark] :is(.quote-row [data-direction=up],.change-up){color:#93d3b9}
html[data-site-theme=dark] :is(.quote-row [data-direction=down],.change-down){color:#f1aaa2}
html[data-site-theme=dark] :is(.chart-toolbar button[aria-pressed=true],.token-tier-picker button[aria-pressed=true]){background:#dadadd;color:#232327;box-shadow:inset 0 1px #fff5,0 4px 14px #0003}
html[data-site-theme=dark] .chart-tooltip{background:#26262a;border-color:#757581;color:#f6f6f6;box-shadow:0 8px 28px #0008}
html[data-site-theme=dark] .chart-empty{color:#c9c9cf}
html[data-site-theme=dark] .token-tier-picker button{background:#202024;border-color:#56565e;color:#dadadd}
html[data-site-theme=dark] .market-facts dd{color:#f2f2f4}
html[data-site-theme=dark] .token-market .market-contract{background:linear-gradient(110deg,#39393e,#222226);border-color:#6e6e7a;box-shadow:inset 0 1px rgba(235,235,236,0.149)}
html[data-site-theme=dark] .token-market .market-contract .contract-network{background:linear-gradient(145deg,#4e4e56,#37373c);border-color:#73737f}
html[data-site-theme=dark] .token-market .market-contract code{color:#f1f1f2}
html[data-site-theme=dark] .token-market .contract-address span{color:#cfcfd3}
html[data-site-theme=dark] .token-market .market-contract>a{color:#dddde1}
html[data-site-theme=dark] :is(.contract-result,.copy-status,.footer-copy-status){color:#a5dfc7}
html[data-site-theme=dark] :is(.horizon,.road-stage,.timeline-content,.document-shelf>a){background:linear-gradient(145deg,#222225,#141416);border-color:#4b4b53;box-shadow:inset 0 1px rgba(239,239,240,0.075)}
html[data-site-theme=dark] .road-stage{background:radial-gradient(ellipse at 50% 45%,rgba(86,86,95,0.267),transparent 65%),#141416}
html[data-site-theme=dark] .road-stage-year{color:#f1f1f2;text-shadow:0 0 65px rgba(185,185,192,0.169)}
html[data-site-theme=dark] .road-dots a[aria-current=true]{background:#dddde1;box-shadow:0 0 20px rgba(178,178,185,0.4)}
html[data-site-theme=dark] .milestone-filters button[aria-pressed=true]{background:#d7d7db;color:#202024}
html[data-site-theme=dark] .timeline-content:after{border-color:#8b8b96}
html[data-site-theme=dark] .timeline-milestone.is-in-view .timeline-content{border-color:#757581}
html[data-site-theme=dark] .milestone-status.current{background:#19382f;color:#a5d6bd;border-color:#416d57}
html[data-site-theme=dark] .document-mark{background:#3a3a41;border-color:#70707b;color:#e7e7e9}
/* Team cards: flat near-black card with a crisp border, a light monogram tile that reads as an avatar, clear text hierarchy and a visible link arrow. body[data-concept] keeps these ahead of the generated observatory overrides. */
html[data-site-theme=dark] body[data-concept] .person-tile{background:linear-gradient(165deg,#19191d,#111113);border-color:#2b2b31;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 14px 34px -22px #000;transition:background .2s,border-color .2s,box-shadow .2s}
html[data-site-theme=dark] body[data-concept] .person-tile:hover{background:linear-gradient(165deg,#212126,#151518);border-color:#4a4a53;box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 22px 44px -22px #000}
html[data-site-theme=dark] body[data-concept] .person-monogram{background:linear-gradient(135deg,#fff,#dcdce1);border-color:#fff;color:#141416;box-shadow:inset 0 1px 0 #fff,0 10px 22px -12px #000;font-weight:500}
html[data-site-theme=dark] body[data-concept] .person-tile h3{color:#f7f7f8}
html[data-site-theme=dark] body[data-concept] .person-tile p{color:#a6a6ae}
html[data-site-theme=dark] body[data-concept] .person-discipline{color:#c3c3c9;border-top-color:#2b2b31}
html[data-site-theme=dark] body[data-concept] .person-link{color:#8b8b94;transition:color .2s}
html[data-site-theme=dark] body[data-concept] .person-tile:hover .person-link{color:#f4f4f5}
html[data-site-theme=dark] .docs-index{border-color:#44444c}
html[data-site-theme=dark] .docs-index a{color:#ceced3}
html[data-site-theme=dark] .docs-index a:hover{color:#f6f6f7;background:#252529}
html[data-site-theme=dark] .docs-body :is(code,pre){background:#17171a;color:#dcdce0;border-color:#52525b}
html[data-site-theme=dark] .docs-body blockquote{background:#212124;border-color:#8e8e98;color:#d7d7da}
html[data-site-theme=dark] .docs-upcoming{background:#202024;color:#cdcdd1;border-color:#56565f}
html[data-site-theme=dark] .journal-story{background:linear-gradient(140deg,#26262b,#17171a);border-color:#505059;box-shadow:inset 0 1px rgba(241,241,243,0.082)}
html[data-site-theme=dark] .journal :is(h1,h2,h3){color:#f5f5f6}
html[data-site-theme=dark] .journal p{color:#c7c7cd}
html[data-site-theme=dark] .article-body :is(p,li){color:#d3d3d8}
html[data-site-theme=dark] .article-body a:not(.button),html[data-site-theme=dark] .journal-note a{color:#d5d5d9}
html[data-site-theme=dark] .sentiment-art{color:#c6c6cc}
html[data-site-theme=dark] .sentiment-line{background:linear-gradient(90deg,#d38e87,#cdbf9c,#86bca8)}
html[data-site-theme=dark] .sentiment-line i{background:#ededef;border-color:#c6c6cb;box-shadow:0 4px 20px #0006}
html[data-site-theme=dark] .beta-invitation{border-color:#505059}
html[data-site-theme=dark] .beta-meter{background:#18181a;border-color:#55555e;color:#ebebed}
html[data-site-theme=dark] .seat-track{background:#3c3c42}
html[data-site-theme=dark] .seat-track i{background:linear-gradient(90deg,#94949f,#d9d9dc)}
html[data-site-theme=dark] .form-only{background:transparent}
html[data-site-theme=dark] .application-card{background:linear-gradient(145deg,#252529,#17171a);border-color:#5c5c65;color:#f2f2f4;box-shadow:inset 0 1px rgba(235,235,236,0.122),0 20px 50px -34px #000}
html[data-site-theme=dark] .application-card label{color:#e0e0e3}
html[data-site-theme=dark] .application-card input{background:#121214;color:#f7f7f8;border-color:#5c5c65;box-shadow:inset 0 1px 3px #0003}
html[data-site-theme=dark] .application-card input:focus{border-color:#c8c8cd;outline-color:#b7b7be}
html[data-site-theme=dark] .application-card input:-webkit-autofill{-webkit-text-fill-color:#f2f2f4;box-shadow:0 0 0 1000px #1d1d20 inset;caret-color:#ececee}
html[data-site-theme=dark] .application-result[data-state=error]{color:#f3ada5}
html[data-site-theme=dark] .application-result[data-state=success]{color:#a5ddc3}
html[data-site-theme=dark] .form-consent{color:#babac0}
html[data-site-theme=dark] footer.site-footer{background:transparent;border-color:#404047;color:#e1e1e3}
html[data-site-theme=dark] .footer-community{background:linear-gradient(135deg,#28282c,#171719);border-color:#4c4c54;box-shadow:inset 0 1px rgba(233,233,235,0.102)}
html[data-site-theme=dark] .footer-social{background:#202023;border-color:#53535c;color:#ededef}
html[data-site-theme=dark] .footer-social:hover{background:#3c3c42;border-color:#84848f;opacity:1}
html[data-site-theme=dark] .footer-social small{color:#c1c1c6}
html[data-site-theme=dark] .footer-orbit{background:radial-gradient(circle,rgba(102,102,113,0.2),#1d1d20 68%);border-color:#62626d}
html[data-site-theme=dark] .footer-navigation h3{color:#f5f5f6}
html[data-site-theme=dark] .footer-navigation a{color:#bfbfc5}
html[data-site-theme=dark] .footer-navigation a:hover{color:#f7f7f8;opacity:1}
html[data-site-theme=dark] .footer-token{background:linear-gradient(140deg,#333339,#1e1e21);border-color:#65656f;box-shadow:inset 0 1px rgba(234,234,236,0.118)}
html[data-site-theme=dark] .footer-ca-row code{color:#efeff0}
html[data-site-theme=dark] .footer-copy{background:#d8d8db;color:#28282c;border-color:#e7e7ea}
html[data-site-theme=dark] .footer-colophon{border-color:#43434a;color:#b3b3ba}
html[data-site-theme=dark] :is(.site-menu,.spectre-window,.screenshot-dialog,#product-dialog,.coverage-dialog,#film-dialog){background:#131315;color:#eeeef0;border-color:#63636e;box-shadow:0 40px 120px #000b}
html[data-site-theme=dark] :is(.dialog-header,.spectre-window-head,.product-dialog-footer){background:#1e1e21;border-color:#4d4d56;color:#e2e2e4}
html[data-site-theme=dark] .spectre-window-head button{background:#37373c;border-color:#666670;color:#f1f1f2}
html[data-site-theme=dark] .spectre-window-body{background:#121214}
html[data-site-theme=dark] .chart-window-page{background:#111113}
html[data-site-theme=dark] .site-menu-grid>a{border-color:#45454c}
html[data-site-theme=dark] .site-menu-grid>a:hover{background:#313136;opacity:1}
html[data-site-theme=dark] .site-menu-grid strong{color:#f2f2f4}
html[data-site-theme=dark] .site-menu-grid span{color:#bcbcc3}
html[data-site-theme=dark] .site-menu-grid :is(small,i){color:#a6a6ae}
html[data-site-theme=dark] :is(dialog)::backdrop{background:rgba(7,7,8,0.722);backdrop-filter:blur(12px)}
html[data-site-theme=dark] .original-film-options button{background:#1c1c1f;border-color:#55555e;color:#cdcdd2}
html[data-site-theme=dark] .original-film-options button[aria-pressed=true]{background:#d6d6d9;color:#222225}
html[data-site-theme=dark] :is(.preview-embedded .preview-footnote,.preview-footnote){background:#171719;color:#c7c7cd}
html[data-site-theme=dark] .preview-footnote a{color:#eaeaec}
html[data-site-theme=dark] .preview-status-panel{background:rgba(29,29,32,0.929);border-color:rgba(108,108,120,0.369);color:#f5f5f6}
html[data-site-theme=dark] .preview-status-panel p{color:#cdcdd2}
/* Community dock: same glass as the header, a quiet uppercase label row, rows that light up with the brand colour. */
html[data-site-theme=dark] body[data-concept] .side-social-dock{background:rgba(20,20,22,.88);border-color:#2b2b31;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 18px 40px -18px #000}
html[data-site-theme=dark] body[data-concept] .side-social-dock a,html[data-site-theme=dark] body[data-concept] .social-dock-toggle{color:#c9c9cf}
html[data-site-theme=dark] body[data-concept] .social-dock-toggle{color:#8b8b94;border-bottom-color:#2b2b31}
html[data-site-theme=dark] body[data-concept] .side-social-dock a:hover,html[data-site-theme=dark] body[data-concept] .social-dock-toggle:hover{background:rgba(255,255,255,.07);color:#f4f4f5}
html[data-site-theme=dark] body[data-concept] .side-social-dock a[data-brand=x]:hover .dock-symbol{color:#fff}
html[data-site-theme=dark] body[data-concept] .side-social-dock a[data-brand=telegram]:hover .dock-symbol{color:#4db4e6}
html[data-site-theme=dark] body[data-concept] .side-social-dock a[data-brand=youtube]:hover .dock-symbol{color:#ff5a5f}
html[data-site-theme=dark] body[data-concept] .side-social-dock a[data-brand=linkedin]:hover .dock-symbol{color:#4aa3d8}
html[data-site-theme=dark] .site-theme-toggle{background:#252529;border-color:#53535c;color:#e7e7ea}
html[data-site-theme=dark] .site-theme-toggle:hover{background:#43434a;border-color:#90909a}
html[data-site-theme=dark] .site-appearance{color:#bfbfc5}
html[data-site-theme=dark] .site-appearance>div{background:#141416;border-color:#56565e}
html[data-site-theme=dark] .site-appearance button{color:#c1c1c6}
html[data-site-theme=dark] .site-appearance button[aria-pressed=true]{background:#dbdbdf;color:#222226;box-shadow:inset 0 1px #fff5}
html[data-site-theme=dark] .site-menu>.site-appearance{border-color:#46464d}
@media(max-width:900px){html[data-site-theme=dark] .navigation{background:#111113;backdrop-filter:none;-webkit-backdrop-filter:none}html[data-site-theme=dark] :is(.divider>span,.mode-divider>span){backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){.site-theme-toggle,.site-appearance button{transition:none}}
/* Brand marks sit on neutral light plates; their inherited SVG ink remains dark. */
html[data-site-theme=dark] :is(.connection-brand i,.support-brand i,.social-brand i){color:#323238}
@media(max-width:1180px){.navigation .site-theme-toggle{display:none}}

/* Surface audit: only bounded cards get a material; layout wrappers stay clear. */
html[data-site-theme=dark]{--surface-radius:28px;--section-radius:40px}
html[data-site-theme=dark] .support-details{background:transparent;box-shadow:none}
html[data-site-theme=dark] .support-card{border:1px solid #47474e;border-radius:24px;background-clip:padding-box;min-width:0}
html[data-site-theme=dark] .support-card summary{padding:22px 16px 34px;border-radius:inherit}
html[data-site-theme=dark] .support-card summary i{right:16px;bottom:13px}
html[data-site-theme=dark] .support-card[open]{z-index:9}
html[data-site-theme=dark] .support-popover{margin-top:10px}
html[data-site-theme=dark] .access-ladder.revised-tiers{padding:10px;gap:8px;border:1px solid #494951;border-radius:var(--surface-radius)}
html[data-site-theme=dark] .access-ladder.revised-tiers>a{padding:26px 22px!important;border:0;border-radius:20px;min-width:0;transition:background .2s}
html[data-site-theme=dark] .access-ladder.revised-tiers>a:is(:hover,:focus-visible){background:#36363b;opacity:1}
html[data-site-theme=dark] .contract-block{background:transparent;box-shadow:none;border:0}
html[data-site-theme=dark] .contract-block code{overflow-wrap:anywhere}
html[data-site-theme=dark] .beta-intro .beta-meter{padding:26px;border:1px solid #494950;border-radius:var(--surface-radius);background:linear-gradient(145deg,#1f1f22,#141416);box-shadow:inset 0 1px rgba(232,232,234,0.082)}
html[data-site-theme=dark] .intelligence-lens{border:1px solid #3a3a40;border-radius:var(--section-radius);padding-inline:clamp(20px,3vw,44px);background-clip:padding-box}
html[data-site-theme=dark] .token-teaser{padding-inline:clamp(22px,3vw,40px);border:1px solid #494951;border-radius:var(--surface-radius)}
html[data-site-theme=dark] .reading-room{background:transparent;box-shadow:none}
html[data-site-theme=dark] .docs-upcoming{padding:24px;border:1px solid #56565f;border-radius:24px;flex-wrap:wrap}
html[data-site-theme=dark] .docs-body blockquote{border-radius:0 20px 20px 0}
html[data-site-theme=dark] .docs-index a{border-radius:12px;padding-inline:10px}
html[data-site-theme=dark] .site-menu-grid>a{border-radius:18px}
html[data-site-theme=dark] :is(.app-chrome,.app-window-bar,.utility-browserbar){border-radius:24px 24px 0 0}
html[data-site-theme=dark] :is(.chapter-caption,.device-caption,.product-dialog-footer){border-radius:0 0 24px 24px}
html[data-site-theme=dark] .preview-footnote{border-radius:0 0 20px 20px}
/* A discovery action stays on this website; Buy $SPECTRE still opens Uniswap. */
.navigation nav a.token-discover-nav{display:inline-flex;align-items:center;gap:7px}
/* The link for wherever the visitor IS - subpages by path, the homepage by
   the section on screen (site.js). Was hard-coded onto Token & chart. */
.navigation nav a[aria-current]{color:var(--ink);font-weight:500}
.navigation nav a.token-discover-nav span{transition:transform .2s}
.navigation nav a.token-discover-nav:hover span{transform:translateY(3px)}
#market{scroll-margin-top:110px}
@media(max-width:760px){
 html[data-site-theme=dark]{--surface-radius:24px;--section-radius:28px}
 html[data-site-theme=dark] .support-card summary{padding:20px 13px 32px}
 html[data-site-theme=dark] .access-ladder.revised-tiers{padding:7px;gap:6px}
 html[data-site-theme=dark] .access-ladder.revised-tiers>a{padding:22px 16px!important;border-radius:17px}
 html[data-site-theme=dark] .beta-intro .beta-meter{padding:22px}
 html[data-site-theme=dark] .docs-upcoming{padding:20px;gap:20px}
 #market{scroll-margin-top:90px}
}
@media(prefers-reduced-motion:reduce){.navigation nav a.token-discover-nav span,html[data-site-theme=dark] .access-ladder.revised-tiers>a{transition:none}}

/* Aligned product navigation and the original Spectre wordmark. */
.social-brand.instagram i{color:#bd3987}
.social-brand.reddit i{color:#e54b22}
.social-brand.whatsapp i{color:#138a50}
.social-brand.facebook i{color:#1877e8}
/* The social tiles stay light in dark mode (app-icon look, same as the data tiles), so their glyphs keep the real brand colours. */
html[data-site-theme=dark] .social-brand.x i{color:#111114}
html[data-site-theme=dark] .social-brand.telegram i{color:#279ed5}
html[data-site-theme=dark] .social-brand.youtube i{color:#dc3036}
html[data-site-theme=dark] .social-brand.linkedin i{color:#147ab3}
html[data-site-theme=dark] .social-brand.instagram i{color:#bd3987}
html[data-site-theme=dark] .social-brand.reddit i{color:#e54b22}
html[data-site-theme=dark] .social-brand.whatsapp i{color:#138a50}
html[data-site-theme=dark] .social-brand.facebook i{color:#1877e8}
.navigation{align-items:center}
.navigation nav{align-items:center}
.navigation .brand{flex-shrink:0;gap:11px;user-select:none;-webkit-user-select:none}
.navigation .brand-wordmark{display:block;width:145px;height:40px;background:url("nav-wordmark-dark.webp") left center / contain no-repeat}
.navigation .nav-actions{align-items:center}
.nav-api-soon{display:flex;flex-direction:column;justify-content:center;gap:3px;padding-right:10px;color:#647187;font-size:10px;line-height:1.2;white-space:nowrap}
.nav-api-soon small{font-size:9px;color:#8b7797}
.navigation .buy-nav{background:linear-gradient(120deg,#f8d7e6,#e9dcfa);border-color:#e7bfd8;color:#58334f;box-shadow:inset 0 1px #fff9;transition:background .2s,box-shadow .2s}
.navigation .buy-nav:hover{opacity:1;background:linear-gradient(120deg,#f4c3db,#decbf8);box-shadow:0 5px 18px #b5639420}
.hero-signature{display:flex;align-items:baseline;justify-content:center;gap:9px;margin:17px auto 20px;font-size:16px;color:#8b8190;letter-spacing:0}
.hero-signature span{font-family:'Helvetica Neue',DM,sans-serif;font-weight:300;font-size:33px;letter-spacing:-1.3px;color:#a35d89}
html[data-site-theme=dark] .navigation .brand-wordmark{background-image:url("")}
html[data-site-theme=dark] .navigation .buy-nav{background:linear-gradient(120deg,#efd0e2,#d6c0eb);color:#43273f;border-color:#e5bddb}
html[data-site-theme=dark] .nav-api-soon{color:#c6c6cc}
html[data-site-theme=dark] .nav-api-soon small{color:#d3afd0}
html[data-site-theme=dark] .hero-signature{color:#b5a9bd}
html[data-site-theme=dark] .hero-signature span{color:#e4b5d6}
@media(max-width:1400px){.navigation .nav-api-soon{display:none}.navigation nav{gap:16px}}
@media(max-width:1200px){.navigation nav a.token-discover-nav{display:none}}
@media(max-width:1180px){.navigation nav{gap:14px}}
@media(max-width:760px){.navigation .brand .brand-wordmark{display:block;width:120px;height:34px}.navigation .brand{gap:8px}.hero-signature{margin-top:15px;font-size:14px}.hero-signature span{font-size:29px}}
/* Keep the complete brand and both actions readable on narrow phones. */
@media(max-width:620px){
 .navigation{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 8px;padding:8px 12px}
 .navigation .brand{grid-column:1/-1;grid-row:1;justify-self:start;gap:8px;padding-right:44px}
 .navigation .brand .brand-wordmark{display:block}
 .navigation .nav-actions{display:contents}
 .navigation .explore-toggle{grid-column:2;grid-row:1;justify-self:end;width:44px;height:44px;margin:0}
 .navigation .nav-actions>.buy-nav{grid-column:1;grid-row:2}
 .navigation .nav-actions>.button{grid-column:2;grid-row:2}
 .navigation .nav-actions>a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;margin:0;padding:10px 8px;font-size:12px;box-sizing:border-box}
}
