/* Soniqo discovery: visual-first gallery, system typography, restrained motion.
   Scoped to the public gallery; private template management keeps its layout. */
.discovery-page{--ink:#17161c;--muted:#6a6872;--paper:#fff;--line:#ecebf0;--orange:#7357a5;--soft:#f5f4f7;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-optical-sizing:auto;background:#fff}
.discovery-page .wrap{width:min(1360px,calc(100% - 96px))}
.discovery-page .header{height:96px;gap:48px;border:0}
.discovery-page .brand{font-size:29px;letter-spacing:-1.3px;font-weight:800;white-space:nowrap}
.discovery-page .brand-word{gap:10px}.discovery-page .brand .labs{margin:0;font-weight:400;letter-spacing:-1.2px}
.discovery-page .header nav{gap:28px;font-size:14px}.discovery-page .nav-active{border:0}.discovery-page .header nav a{position:relative}.discovery-page .header nav .nav-active:after{content:"";position:absolute;bottom:5px;left:0;width:5px;height:5px;border-radius:50%;background:#8c74b6}
.discovery-page .saved-nav{font-size:13px;gap:9px;min-height:44px}.discovery-page .saved-nav svg{width:18px;height:18px}.discovery-page .saved-nav>span:last-child{background:#f4f3f6;border:0;width:23px;height:23px}
.discovery-page .pill{min-height:48px;padding:13px 23px;gap:22px;font-size:13px;transition:background-color .18s,transform .18s}.discovery-page .pill svg{width:18px;height:18px}.discovery-page .dark:hover{background:#38343f}.discovery-page .header-cta{margin-left:-22px}
.discover-hero{text-align:center;padding:47px 0 52px;display:flex;align-items:center;flex-direction:column}
.collection-badge{display:inline-flex;align-items:center;gap:9px;background:#f3eef9;border:1px solid #eae2f3;color:#584474;border-radius:24px;font-size:12px;font-weight:550;padding:8px 13px;min-height:34px}
.badge-dot{width:6px;height:6px;border-radius:50%;background:#9473bf}.collection-badge svg{width:12px;height:12px}
.discover-hero h1{font-size:clamp(42px,4.4vw,66px);font-weight:600;letter-spacing:-2.8px;line-height:1.1;margin:23px 0 18px}
.discover-hero h1 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#81659f;letter-spacing:-2.5px}
.discover-hero>p{font-size:16px;line-height:1.65;color:#6a6872;margin:0 0 26px}
.hero-search{display:flex;align-items:center;gap:14px;width:min(620px,100%);border-radius:40px;background:#f5f4f7;border:1px solid #f0eef3;padding:8px 9px 8px 23px;transition:box-shadow .18s,border-color .18s}
.hero-search:focus-within{border-color:#ae96ce;box-shadow:0 0 0 4px #ad91ce20}.hero-search>svg{width:21px;height:21px;color:#77727e;flex:none}.hero-search input{width:100%;min-width:0;background:transparent;border:0;outline:0!important;font-size:15px;line-height:1.5;color:var(--ink);padding:10px 0}.hero-search input::placeholder{color:#75717c}.hero-search button{background:#19171f;color:white;border-radius:50%;width:44px;height:44px;flex:none;display:grid;place-items:center;transition:background-color .18s,transform .18s}.hero-search button svg{width:20px;height:20px}.hero-search button:hover{background:#51415e}
.quick-topics{display:flex;gap:9px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:15px;font-size:11px;color:#76717f}.quick-topics>span{margin-right:4px}.quick-topics button{padding:7px 12px;border-radius:18px;border:1px solid #eeecf1;font-size:11px;min-height:32px;transition:background-color .18s}.quick-topics button:hover,.quick-topics button.selected{background:#f2edf7;color:#5a427b}
.discovery-page .gallery{padding-block:0 55px;scroll-margin-top:24px}
.discovery-page .gallery-controls{border:0;gap:20px}.discovery-page .tabs{gap:7px}.discovery-page .tab{font-size:13px;padding:12px 17px;min-height:44px;border:1px solid transparent;border-radius:25px;transition:background-color .18s}.discovery-page .tab.active{background:#f3f1f6;border-color:#ede9f2;font-weight:600}.discovery-page .tab:hover{background:#f7f6f9}.discovery-page .tab span{background:transparent;font-size:10px;margin-left:3px;padding:0;color:#77717f}
.filter-toggle{display:flex;align-items:center;gap:8px;min-height:42px;border:1px solid #e6e3e9;border-radius:24px;font-size:12px;padding:10px 17px;transition:background-color .18s}.filter-toggle svg{height:17px;width:17px}.filter-toggle:hover,.filter-toggle[aria-expanded=true]{background:#f3f0f7}.filter-indicator{width:6px;height:6px;background:#81659f;border-radius:50%}
.discovery-page .filter-row{margin:19px 0 24px;gap:18px;padding-bottom:23px;border-bottom:1px solid var(--line)}.discovery-page .category-filters{gap:6px}.discovery-page .chip{font-size:12px;font-weight:500;padding:9px 14px;min-height:38px;border-color:transparent;color:#686370;transition:background-color .18s,color .18s}.discovery-page .chip.selected{background:#19171f;color:#fff}.discovery-page .chip:not(.selected):hover{background:#f3f1f6}.discovery-page .technology-filters{gap:4px}.discovery-page .technology-filters .chip{border-color:#eeebf1;font-size:11px;padding:8px 13px;min-height:35px}.discovery-page .technology-filters .chip.selected{border-color:#19171f}
#advanced-filters{padding:0 0 22px}.discovery-page .edition-filters{align-items:center;gap:7px}.edition-filters>span{font-size:12px;color:var(--muted);margin-right:10px}
.discovery-page .result-bar{margin-bottom:21px;align-items:center}.discovery-page .result-bar h2{margin:0;font-size:17px;font-weight:600;letter-spacing:-.4px}.discovery-page .result-bar>span{display:block;font-size:12px}
.discovery-page .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.discovery-page .card-visual{border:0;border-radius:15px;background:#eeedf1;aspect-ratio:4/3;isolation:isolate}.discovery-page .card-visual>a{position:relative;overflow:hidden}.discovery-page .card-visual>a:after{content:"↗";position:absolute;bottom:20px;left:20px;font-size:23px;color:#fff;background:#15121a7a;backdrop-filter:blur(10px);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;opacity:0;transform:translateY(5px);transition:opacity .2s,transform .25s}.discovery-page .card-visual img{object-fit:cover;object-position:top;transition:transform .35s cubic-bezier(.2,.8,.2,1),filter .25s}.discovery-page .card:hover .card-visual img{filter:none}.discovery-page .card-label{top:16px;left:16px;background:#ffffffed;border:1px solid #ffffffb3;font-size:9px;letter-spacing:.55px;padding:8px 11px;box-shadow:0 2px 12px #00000008}.discovery-page .save-button{width:40px;height:40px;bottom:17px;right:17px;background:#fffffff5;border:0;box-shadow:0 2px 12px #0000000d;transition:transform .18s,background-color .18s}.discovery-page .save-button svg{width:17px;height:17px}.discovery-page .save-button.saved{background:#eee5fa;color:#73529d}.discovery-page .save-button.saved svg{fill:#73529d}.discovery-page .card-info{padding-top:15px;gap:12px;align-items:center}.discovery-page .card-info>div{display:grid;grid-template-columns:28px auto;column-gap:9px;align-items:center}.discovery-page .card-info>div:before{content:"s";grid-row:1/3;background:#f1edf6;color:#7b5d9e;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:18px;font-weight:700;font-family:Georgia,serif;font-style:italic}.discovery-page .card-info h3{font-size:14px;margin:0 0 3px;font-weight:600;letter-spacing:-.2px}.discovery-page .card-info p{font-size:11px;color:#79737f}.discovery-page .edition-badge{font-size:10px;background:#f5f3f7;color:#66606d;padding:7px 10px;border-radius:6px}
.discovery-page .collection-note{border:0;background:#f8f7fa;border-radius:12px;padding:17px 20px;margin-top:28px;align-items:center}.discovery-page .collection-note p{font-size:12px;line-height:1.6;max-width:none}.discovery-page .note-icon{border-color:#b7a9c7;color:#81659f}
.discovery-page .approach{background:#f5f1fa;border:0;border-radius:24px;padding:50px 56px;gap:65px;grid-template-columns:1fr 1.25fr;margin-block:0 45px}.discovery-page .approach .eyebrow{font-size:9px;letter-spacing:1.6px;color:#81659f}.discovery-page .approach h2{font-size:44px;font-weight:550;letter-spacing:-1.8px;line-height:1.1;margin:20px 0 15px}.approach-title>p{font-size:13px;color:#7b7186;line-height:1.65;margin:0 0 22px}.discovery-page .principles{grid-template-columns:1fr;gap:23px}.discovery-page .principles>div{border:0;padding:0}.discovery-page .principles span{font-size:9px;letter-spacing:1px;color:#8b749e}.discovery-page .principles h3{font-size:15px;letter-spacing:-.25px;margin:7px 0 5px;font-weight:600}.discovery-page .principles p{font-size:12px;color:#776d81;max-width:420px}
.discovery-page .footer{padding-block:25px 45px;border:0}.discovery-page .footer .brand{font-size:26px;gap:10px}.discovery-page .footer>p{font-size:11px}.discovery-page .footer>span{font-size:11px}
.discovery-page dialog{background:#fff;border-radius:24px;padding:30px;max-height:90dvh}.discovery-page dialog::backdrop{background:#15111e80;backdrop-filter:blur(8px)}.discovery-page .icon-button{min-width:44px;min-height:44px;font-size:25px}.discovery-page .detail-grid{grid-template-columns:1.25fr 1fr;align-items:start;gap:30px}.discovery-page .detail-grid>img{border:0;border-radius:12px}.discovery-page .detail-grid h2{font-size:38px;letter-spacing:-1.3px}.discovery-page .detail-actions .pill{font-size:12px;padding:12px 18px;min-height:44px}.discovery-page .detail-status{font-size:9px}.discovery-page .empty{background:#f7f4fa;padding:50px 20px}.discovery-page .empty p{font-size:14px;max-width:480px;margin-inline:auto}.discovery-page .toast{bottom:30px;max-width:min(480px,calc(100% - 36px));font-size:13px;z-index:10000;box-shadow:0 10px 30px #17121e20}
.discovery-page .soniqo-language-switch{background:#ffffffed;border-color:#eeebf1;box-shadow:0 4px 20px #2015280a;backdrop-filter:blur(12px)}
.discovery-page button:active,.discovery-page .pill:active{transform:scale(.97);transition:transform 80ms}.discovery-page :focus-visible{outline-color:#9b7cbb}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.discovery-page .card:hover .card-visual img{transform:scale(1.025)}.discovery-page .card:hover .card-visual>a:after,.discovery-page .card:focus-within .card-visual>a:after{opacity:1;transform:translateY(0)}}
@media(min-width:1700px){.discovery-page .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.discovery-page .wrap{width:calc(100% - 64px)}.discovery-page .header{gap:30px}.discovery-page .header-cta{margin-left:-10px}.discovery-page .filter-row{align-items:flex-start;flex-wrap:wrap;gap:12px}.discovery-page .approach{padding:40px;gap:35px}}
@media(max-width:760px){.discovery-page .wrap{width:calc(100% - 40px)}.discovery-page .header{height:78px;gap:18px}.discovery-page .header .brand{font-size:25px}.discovery-page .header nav{margin-left:auto;font-size:12px}.discovery-page .header nav a:last-child{display:none}.discovery-page .saved-nav{margin-left:0}.discovery-page .saved-nav>span:first-of-type{display:none}.discovery-page .header-cta{display:none}.discover-hero{padding:30px 0 36px}.collection-badge{font-size:10px;padding:7px 11px}.discover-hero h1{font-size:clamp(37px,7.5vw,54px);letter-spacing:-1.8px;margin:23px 0 17px;line-height:1.12}.discover-hero h1 em{letter-spacing:-1.7px}.discover-hero>p{font-size:14px;margin-bottom:23px}.hero-search{padding-left:17px;gap:10px}.hero-search input{font-size:16px}.hero-search button{width:40px;height:40px}.quick-topics{gap:5px;font-size:10px}.quick-topics button{font-size:10px;padding:7px 9px}.discovery-page .gallery-controls{flex-direction:row;align-items:center;gap:8px}.discovery-page .tabs{order:0;gap:1px}.discovery-page .tab{font-size:11px;padding:11px 10px}.discovery-page .tab span{font-size:9px}.filter-toggle{padding:10px 12px;font-size:11px;gap:6px}.filter-toggle svg{width:15px;height:15px}.discovery-page .filter-row{margin:15px 0 20px;padding-bottom:18px;gap:11px}.discovery-page .category-filters{gap:2px;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-block:2px;scrollbar-width:none}.discovery-page .category-filters::-webkit-scrollbar{display:none}.discovery-page .chip{font-size:11px;padding:9px 12px;min-height:38px}.discovery-page .technology-filters .chip{font-size:10px;min-height:33px;padding:7px 12px}.discovery-page .result-bar h2{font-size:15px}.discovery-page .result-bar>span{font-size:11px}.discovery-page .grid{grid-template-columns:1fr;gap:27px}.discovery-page .card-info{flex-direction:row;padding-top:13px}.discovery-page .card-info h3{font-size:14px}.discovery-page .card-info p{font-size:11px}.discovery-page .edition-badge{font-size:9px}.discovery-page .card-label{font-size:8px;top:13px;left:13px}.discovery-page .collection-note{margin-top:26px;padding:15px;align-items:flex-start;gap:10px}.discovery-page .collection-note p{font-size:11px}.discovery-page .gallery{padding-bottom:35px}.discovery-page .approach{grid-template-columns:1fr;padding:29px 25px;border-radius:20px;gap:29px;margin-bottom:20px}.discovery-page .approach h2{font-size:38px}.discovery-page .approach .eyebrow{font-size:8px}.discovery-page .approach-title>p{font-size:12px}.discovery-page .principles{gap:22px}.discovery-page .principles h3{font-size:14px}.discovery-page .footer{flex-wrap:wrap;gap:20px;padding:23px 0 80px}.discovery-page .footer>p{display:none}.discovery-page .footer>span{font-size:10px;margin-left:auto}.discovery-page .detail-grid{grid-template-columns:1fr;gap:20px}.discovery-page dialog{padding:20px;border-radius:20px}.discovery-page .dialog-top .brand{font-size:23px}.discovery-page .toast{bottom:80px;width:max-content}}
@media(max-width:380px){.discovery-page .header nav{display:none}.discovery-page .saved-nav{margin-left:auto}.discovery-page .tab{font-size:10px;padding-inline:8px}.filter-toggle{padding-inline:9px}.discovery-page .category-filters .chip{padding-inline:10px}.discover-hero h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){.discovery-page *{animation:none!important;transition:none!important}.discovery-page{scroll-behavior:auto}}
@media(prefers-reduced-transparency:reduce){.discovery-page dialog::backdrop{backdrop-filter:none;background:#15111ed9}.discovery-page .soniqo-language-switch{background:#fff;backdrop-filter:none}}
@media(prefers-contrast:more){.discovery-page{--muted:#49424e;--line:#a99fb1}.discovery-page .collection-badge,.discovery-page .hero-search,.discovery-page .chip{border-color:#a99fb1}}
@media(min-width:761px){.discover-hero{padding-top:30px;padding-bottom:35px}.discover-hero h1{font-size:clamp(44px,4.1vw,62px);margin-top:19px;margin-bottom:14px}.discover-hero>p{margin-bottom:21px;font-size:15px}.quick-topics{margin-top:12px}}
@media(max-width:440px){.discovery-page .tabs{min-width:0;gap:0}.discovery-page .tab{font-size:10px;padding-inline:8px}.discovery-page .filter-toggle{width:40px;min-width:40px;min-height:40px;padding:10px;justify-content:center}.discovery-page .filter-toggle>span:not(.filter-indicator){display:none}.discovery-page .filter-toggle .filter-indicator{position:absolute;right:5px;top:5px}.discovery-page .filter-toggle{position:relative}}
@media(max-width:440px){.discovery-page .header nav{display:none}.discovery-page .saved-nav{margin-left:auto}}
.discovery-page .header nav a,.discovery-page .header-cta{white-space:nowrap}
@media(min-width:761px) and (max-width:1000px){.discovery-page .header-cta{display:none}.discovery-page .saved-nav{margin-left:auto}}
