/* Reference-inspired cosmic palette. Brand artwork and evidence states stay intact. */
:root{--bg:#f7f8fc;--surface:#fff;--surface2:#f0f2fa;--ink:#151a36;--muted:#515b76;--border:#e0e5f0;--border-strong:#78829b;--green:#4338a3;--green-dark:#312776;--green-soft:#eeecff;--shadow-sm:0 2px 6px #17214c08;--shadow-md:0 12px 30px #17214c0e;--serif:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
.banner{background:#eeedff;color:#403a76;border-color:#e0dcfb;font-size:12px}
.global-header{background:#fffffff5}.global-header .wm{font-weight:750;letter-spacing:-.045em}.global-header .nav .cta{background:#161a42;border-color:#161a42;color:#fff}.global-header .nav .cta:hover{background:#323263;color:#fff}
.global-home-hero{position:relative;isolation:isolate;overflow:hidden;margin:20px auto 0;width:calc(100% - 40px);max-width:1320px;border-radius:26px;padding:72px 0 50px;background:radial-gradient(ellipse at 70% 105%,#955ee9a6 0,transparent 43%),radial-gradient(ellipse at 93% 22%,#087ac76b 0,transparent 43%),radial-gradient(ellipse at 8% 10%,#3730a355 0,transparent 48%),#080d2a;color:#fff;border:1px solid #26345a}
.global-home-hero:before{content:'';position:absolute;inset:-160px 10% -220px;border:1px solid #8695ff35;border-radius:50%;box-shadow:0 0 80px 5px #4c62ff33,inset 0 0 80px #4c62ff20;transform:rotate(-20deg);z-index:-1;pointer-events:none}
.global-home-hero h1{font-family:var(--sans);font-size:clamp(34px,4.7vw,61px);line-height:1.13;letter-spacing:-.05em;color:#fff;max-width:930px;font-weight:750}.global-home-hero h1 span{color:#dddfff}.global-home-hero .eyebrow{color:#b6c9ff;letter-spacing:.15em;font-size:11px}.global-home-hero .hero-lead{color:#d0d8ef;max-width:770px;font-size:17px;line-height:1.7}.global-home-hero .hero-footnote{color:#b5bfd9;font-size:11px;max-width:740px}.global-home-hero .global-search{max-width:720px;background:#fff;border:1px solid #bfcaff;border-radius:999px;padding:7px;box-shadow:0 0 0 5px #8d9cff15,0 12px 45px #03051866}.global-search input{background:transparent;color:#151a36;padding-left:20px}.global-search input::placeholder{color:#65708a}.global-search .btn{border-radius:999px;background:#181c4b;border-color:#181c4b;min-height:46px}.global-home-hero :focus-visible{outline-color:#a8c8ff}.global-search:focus-within{outline:3px solid #9dbeff;outline-offset:3px}
.global-quick a{color:#e4eaff;border-color:#a1a5f56b;background:#7b72c72b}.global-quick a:nth-child(2){background:#0d9eae26;border-color:#65c8d16b;color:#d1fcff}.global-quick a:nth-child(3){background:#de73d926;border-color:#db96f36b;color:#ffe1fc}.global-quick a:hover{background:#ffffff24;color:#fff}.global-home-hero .global-trust{color:#c6d1ec;border-color:#ffffff24}.global-trust strong{color:#fff}
.cosmos-categories{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin:22px 0 4px}.cosmos-categories a{padding:8px 15px;border-radius:999px;font-size:12px;font-weight:600;text-decoration:none;border:1px solid #a4a3ff70;background:#7770e529;color:#e6e4ff}.cosmos-categories a:nth-child(2){background:#198ed72b;color:#d6efff;border-color:#60b4e780}.cosmos-categories a:nth-child(3){background:#da4c952b;color:#ffe1f2;border-color:#e37eae80}.cosmos-categories a:nth-child(4){background:#c48d242b;color:#ffeac0;border-color:#d7b15c80}.cosmos-categories a:nth-child(5){background:#0eab902b;color:#c6fff2;border-color:#5cceb780}.cosmos-categories a:hover{background:#ffffff24}
.catcard,.tcard,.adv-card,.row,.card{box-shadow:0 3px 12px #1a235406}.tcard,.adv-card,body[data-page='browse'] #list>.row{background:#fff;border-color:#e0e5f0;transition:box-shadow .18s ease,transform .18s ease}.tcard:hover,.catcard:hover,body[data-page='browse'] #list>.row:hover,#sf-results>.adv-card:hover{box-shadow:0 12px 26px #26336012;transform:translateY(-2px)}.catcard{border-top:3px solid #8b74e6}.catcard.accent-pink{border-top-color:#e16bae}.catcard.accent-teal{border-top-color:#29aaa3}.catcard.accent-neutral{border-top-color:#7791cc}.tcard h3,.row-name,#sf-results h3{font-weight:700;color:#171d3d}.btn-visit{background:#181c48!important;border-color:#181c48!important;color:#fff!important}.btn-visit:hover{background:#34336d!important}.global-footer{background:#eef0f9;border-top-color:#e0e4f0}.global-footer-grid h2{color:#4f4b85}.global-tool-action{background:#f3f3fc}.global-buying-notes{background:#fff8e5!important}
/* Status colours retain semantic meaning rather than inheriting the action palette. */
.t-verified,.chip.t-verified{background:#e1f4e9;color:#196247}.t-unverified{color:#805517;background:#fff2d6}
.cosmos-logo{position:relative;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#6155ce,#25a1b3);color:#fff;font:700 14px var(--sans);border:1px solid #5b62b61a;vertical-align:middle}.cosmos-logo[data-tone='1']{background:linear-gradient(135deg,#d34f96,#8856cf)}.cosmos-logo[data-tone='2']{background:linear-gradient(135deg,#078d92,#297cc0)}.cosmos-logo[data-tone='3']{background:linear-gradient(135deg,#b57423,#cb4b72)}.cosmos-logo[data-tone='4']{background:linear-gradient(135deg,#4d64cd,#9450c5)}.cosmos-logo.has-img{background:#fff}.cosmos-logo>img{position:absolute;inset:0;display:block;width:100%;height:100%;padding:5px;object-fit:contain;border-radius:inherit;background:#fff}.cosmos-logo>img.icon-loading{opacity:0}.cosmos-logo>span{line-height:1}.cosmos-title{display:flex;align-items:center;gap:11px;min-width:0}.cosmos-title>a{min-width:0;overflow-wrap:anywhere}
body[data-page='browse'] #list>.row>.cosmos-logo{display:inline-flex!important;align-self:flex-start}#sf-results h3{display:flex;gap:10px;align-items:center}#sf-results h3 .cosmos-logo{flex-basis:38px;width:38px;height:38px;border-radius:10px}.global-tool-identity .cosmos-logo{width:64px;height:64px;flex-basis:64px;font-size:21px}
@media(min-width:1100px){body[data-page='browse'] #list,#sf-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}
@media(max-width:700px){.global-home-hero{margin-top:10px;width:calc(100% - 20px);border-radius:20px;padding:42px 0 32px}.global-home-hero .wrap{padding:0 20px}.global-home-hero h1{font-size:35px}.global-home-hero .hero-lead{font-size:15px}.global-home-hero .global-search{border-radius:18px;align-items:stretch}.global-search input{padding-left:9px;width:100%;min-width:0}.global-search .btn{border-radius:12px}.cosmos-categories{gap:7px}.cosmos-categories a{font-size:11px;padding:7px 11px}.global-tool-identity .cosmos-logo{width:48px;height:48px;flex-basis:48px}.global-home-hero .global-trust{gap:12px 18px}}
@media(prefers-reduced-motion:reduce){.tcard,.catcard,.adv-card,.row{transition:none!important;transform:none!important}}

body[data-page='browse'] .row-title>.cosmos-logo{width:40px;height:40px;flex-basis:40px;margin-right:2px}.cosmos-logo{min-width:0;min-height:0;padding:0}
body h1,body h2,body h3,body .wm{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:-.035em}body h1{font-weight:750}body .global-header .wm{font-family:Inter,system-ui,sans-serif}

/* Give adjacent tool names and outbound actions comfortable separation. */
body .row-title .row-name + .btn-visit,body .name-row > a + .btn-visit{margin-inline-start:12px}
