/*
Theme Name: Ecomargix Studio
Author: Ecomargix
Description: Lightweight software discovery theme for AI, SaaS, hosting, affiliate deals and coupons.
Version: 1.0.0
Text Domain: ecomargix-studio
*/
:root{--navy:#0b1426;--teal:#14b8a6;--ink:#0f172a;--muted:#56647a;--line:#dfe6ed;--paper:#f8fafc}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:"Trebuchet MS",Verdana,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #6366f1;outline-offset:4px}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.12;letter-spacing:-.045em}h2{font-size:clamp(28px,3vw,43px)}h3{font-size:21px}p{overflow-wrap:anywhere}em{font-style:normal;color:#08796f}.wrap{width:min(1200px,calc(100% - 48px));margin-inline:auto}.site-header{background:var(--navy);color:#fff;border-bottom:1px solid #ffffff16}.header-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:90px}.brand{font-size:27px;font-weight:800;letter-spacing:-1.3px;display:inline-flex;align-items:center}.brand-dot{color:var(--teal)}.brand-mark{width:36px;height:36px;margin-right:10px;background:var(--teal);color:var(--navy);border-radius:9px;display:inline-flex;align-items:center;justify-content:center;position:relative;font-size:26px}.brand-mark span{font-size:16px;margin-top:-13px}.desktop-nav{display:flex;gap:24px;font-size:13px;font-weight:bold}.desktop-nav a{padding:16px 0}.desktop-nav a:hover{color:#5eead4}.mobile-nav{display:none}.hero{background:var(--navy);color:#fff;padding:80px 0 88px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:76px;align-items:center}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#86e7dc;display:flex;align-items:center;gap:9px;margin-bottom:24px}.eyebrow span,.status-dot{width:7px;height:7px;border-radius:50%;background:var(--teal);display:inline-block}.eyebrow.dark{color:#08796f}.hero h1{font-size:clamp(40px,4.8vw,65px);line-height:1.06;letter-spacing:-3px;margin-bottom:26px}.hero h1 em{color:#5eead4}.hero-sub{max-width:550px;color:#b4c1d4;font-size:17px;line-height:1.75}.search-form{display:flex;padding:6px;background:#fff;border:1px solid var(--line);border-radius:12px;gap:6px;max-width:620px;margin-top:28px}.search-form input{border:0;background:transparent;color:var(--ink);width:100%;min-width:0;padding:11px;font-size:14px}.search-form button{background:var(--teal);border:0;border-radius:8px;padding:11px 20px;font-size:14px;font-weight:bold;color:var(--navy);cursor:pointer;white-space:nowrap}.hero-tags{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:18px;color:#a9b8cb;font-size:11px}.hero-tags span:before{content:"✓";color:#5eead4;margin-right:6px}.hero-board{background:#142238;border:1px solid #ffffff20;border-radius:24px;padding:25px;box-shadow:20px 25px 0 #14b8a608;transform:rotate(2deg)}.board-top{display:flex;align-items:center;gap:8px;color:#a7b9ce;font-size:9px;letter-spacing:1.5px}.board-top>span:last-child{margin-left:auto;font-size:20px}.board-title{font-size:35px;font-weight:bold;line-height:1.2;letter-spacing:-1.5px;padding:25px 0}.board-title span{color:#64daca}.stack-list{display:grid;gap:10px}.stack-item{display:flex;align-items:center;gap:15px;background:#1c2e47;border:1px solid #ffffff0d;padding:17px;border-radius:13px}.stack-item small{display:block;font-size:11px;color:#b6c3d4}.stack-item strong{font-size:15px}.icon{display:inline-flex;width:49px;height:49px;align-items:center;justify-content:center;border-radius:13px;color:#08796f;background:#e5f7f3;flex-shrink:0}.stack-item .icon{background:#14b8a619;color:#5eead4}.arrow{margin-left:auto;color:#5eead4}.board-bottom{font-size:10px;color:#a7b9ce;margin-top:20px}.section{padding-top:76px;padding-bottom:76px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:34px}.section-heading h2{margin-bottom:0}.section-heading p:not(.eyebrow){font-size:13px;color:var(--muted);margin-bottom:0}.section-heading .eyebrow{margin-bottom:14px}.category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.category-card{display:flex;flex-direction:column;position:relative;border:1px solid var(--line);padding:25px 19px 20px;border-radius:16px;transition:transform .2s,border-color .2s}.category-card:hover{transform:translateY(-5px);border-color:var(--teal)}.category-number{position:absolute;right:16px;top:18px;color:#64748b;font-size:11px}.category-card h3{font-size:19px;margin:22px 0 12px;letter-spacing:-.7px}.category-card p{font-size:12px;line-height:1.8;color:var(--muted);flex:1}.card-link{border-top:1px solid var(--line);padding-top:16px;font-size:11px;font-weight:bold;display:flex;justify-content:space-between;gap:6px}.card-link b{color:#08796f}.latest{background:var(--paper)}.pill{padding:8px 13px;background:#e5f7f3;color:#096d63;font-size:11px;border-radius:30px;white-space:nowrap}.empty-state{border:1px dashed #c7d4de;border-radius:16px;padding:30px;display:flex;align-items:center;gap:23px;background:#fff}.empty-state h3{font-size:22px;margin-bottom:10px}.empty-state p{font-size:14px;color:var(--muted);max-width:640px;margin:0}.empty-state .text-link{margin-left:auto;flex-shrink:0}.text-link{font-size:13px;font-weight:bold;color:#08796f}.decision-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:90px}.muted{color:var(--muted);max-width:360px;font-size:14px}.checklist article{display:flex;gap:24px;padding:24px 0;border-bottom:1px solid var(--line)}.checklist article:first-child{padding-top:0}.checklist article>span{font-size:13px;color:#08796f;font-weight:bold}.checklist h3{font-size:21px;margin-bottom:12px}.checklist p{font-size:14px;color:var(--muted);margin:0}.faq{background:var(--paper)}.faq-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:90px}.faq details{border-bottom:1px solid var(--line);padding:20px 0}.faq summary{font-weight:bold;cursor:pointer;font-size:15px;min-height:30px}.faq details p{color:var(--muted);font-size:14px;padding-top:16px;margin-bottom:0}.site-footer{background:var(--navy);color:#fff;padding:50px 0 28px}.footer-grid{display:flex;justify-content:space-between;gap:40px}.footer-grid p{color:#a9b8cb;font-size:13px;margin-top:12px}.footer-links{display:flex;flex-wrap:wrap;gap:24px;align-items:start;font-size:12px}.footer-note{border-top:1px solid #ffffff20;margin-top:30px;padding-top:24px;color:#a9b8cb;font-size:11px}.footer-note p{max-width:900px}.listing-main{min-height:60vh;padding-block:70px}.listing-main h1{font-size:clamp(32px,5vw,52px);overflow-wrap:anywhere}.archive-description{max-width:750px;color:var(--muted);margin-bottom:30px}.browse-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:40px}.browse-links a{background:#e5f7f3;color:#08695f;padding:12px 16px;border-radius:8px;font-size:13px}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.post-card{padding:24px;border:1px solid var(--line);border-radius:14px;background:#fff}.post-card img{aspect-ratio:16/10;object-fit:cover;border-radius:8px;margin-bottom:18px}.post-card h2{font-size:24px}.post-card p{font-size:14px;color:var(--muted)}.prose{max-width:820px;line-height:1.8}.prose a{text-decoration:underline;color:#08796f}.sr-only,.skip{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{width:auto;height:auto;clip-path:none;top:10px;left:10px;padding:12px;background:#fff;color:#000;z-index:100}
@media(max-width:1050px){.desktop-nav{gap:14px;font-size:11px}.hero-grid{gap:35px}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.decision-grid,.faq-grid{gap:45px}.hero h1{letter-spacing:-2px}.empty-state{flex-wrap:wrap}.empty-state .text-link{margin-left:0}}
@media(max-width:767px){.wrap{width:calc(100% - 36px)}.header-row{min-height:76px}.desktop-nav{display:none}.mobile-nav{display:block;position:relative}.mobile-nav summary{cursor:pointer;list-style:none;padding:12px;border:1px solid #ffffff30;border-radius:8px;font-size:13px;min-height:46px}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-nav summary span{margin-left:12px}.mobile-nav nav{position:absolute;right:0;top:56px;width:min(260px,calc(100vw - 36px));padding:12px;background:#142238;border:1px solid #ffffff30;border-radius:12px;z-index:50;box-shadow:0 15px 40px #0005}.mobile-nav nav a{display:block;padding:12px;font-size:14px}.hero{padding:48px 0 55px}.hero-grid{grid-template-columns:1fr;gap:38px}.hero h1{font-size:clamp(36px,8vw,58px)}.hero-sub{font-size:15px}.hero-board{transform:none;max-width:520px;width:100%;padding:20px}.board-title{font-size:31px}.section{padding-block:48px}.section-heading{display:block}.section-heading>p,.section-heading>.pill{display:inline-block;margin-top:16px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-card{padding:20px 15px}.category-card:last-child{grid-column:1/-1}.category-card h3{font-size:18px}.decision-grid,.faq-grid{grid-template-columns:1fr;gap:25px}.footer-grid{display:block}.footer-links{gap:10px 22px;margin-top:25px}.footer-links a{padding-block:8px}.post-grid{grid-template-columns:1fr}.empty-state{padding:22px}.search-form button{padding:10px 13px}.hero-tags{font-size:10px}.brand{font-size:24px}.brand-mark{width:32px;height:32px}.listing-main{padding-block:45px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Footer refinement */
.emx-footer{padding:56px 0 24px;border-top:3px solid #14b8a6}
.footer-intro{padding-bottom:36px;border-bottom:1px solid #ffffff20;margin-bottom:40px}
.footer-intro .eyebrow{margin-bottom:16px;font-size:10px}
.footer-intro>p{font-size:clamp(28px,3.4vw,44px);line-height:1.18;font-weight:700;letter-spacing:-1.5px;margin:0}
.footer-intro>p span{color:#5eead4}
.footer-columns{display:grid;grid-template-columns:1.3fr .8fr 1fr;gap:56px}
.footer-about>p{color:#bac6d8;font-size:14px;max-width:350px;margin:18px 0 24px;line-height:1.8}
.footer-label{font-size:10px;letter-spacing:1.7px;color:#aebdd2;font-weight:700}
.social-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.social{display:flex;align-items:center;gap:7px;min-height:46px;padding:9px 10px;border:1px solid #ffffff26;border-radius:10px;background:#142238;transition:background .2s,border-color .2s}
.social svg{height:21px;width:21px;flex-shrink:0}.social span{font-size:11px;font-weight:700;color:#e8eef7}
.youtube svg{color:#ff5656}.instagram svg{color:#f58ac1}.tiktok svg{color:#5eead4}
.social:hover{border-color:#5eead4;background:#1c3049}
.footer-columns h2{font-size:16px;letter-spacing:0;margin:5px 0 18px;color:#fff}
.footer-explore a{display:flex;justify-content:space-between;align-items:center;min-height:44px;font-size:13px;color:#bdcadd;border-bottom:1px solid #ffffff0d;gap:12px}
.footer-explore a span{color:#5eead4}.footer-explore a:hover{color:#5eead4}
.footer-principles p{position:relative;padding-left:16px;color:#bdcadd;font-size:13px;line-height:1.7;margin-bottom:14px}
.footer-principles p:before{content:"";position:absolute;left:0;top:9px;width:5px;height:5px;background:#14b8a6;border-radius:50%}
.footer-home{display:inline-flex;gap:20px;align-items:center;min-height:44px;color:#5eead4;font-size:13px;font-weight:700}
.footer-disclosure{display:grid;grid-template-columns:170px 1fr;gap:22px;background:#132037;border:1px solid #ffffff14;border-radius:12px;padding:22px 24px;margin-top:38px}
.disclosure-label{color:#5eead4;font-size:10px;font-weight:700;letter-spacing:1px;padding-top:4px}
.footer-disclosure p{font-size:12px;color:#bdcadd;line-height:1.85;margin:0}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;color:#b3c2d6}
.footer-bottom small{font-size:11px}.footer-bottom>a{min-height:44px;display:flex;align-items:center;gap:10px;font-size:12px;color:#e8eef7}
@media(max-width:900px){.footer-columns{gap:28px;grid-template-columns:1.2fr 1fr}.footer-about{grid-column:1/-1}.footer-about>p{max-width:540px}}
@media(max-width:480px){.emx-footer{padding-top:36px}.footer-intro{padding-bottom:26px;margin-bottom:28px}.footer-columns{grid-template-columns:1fr;gap:28px}.footer-about{grid-column:auto}.social-links{gap:7px}.social{padding:10px 8px;gap:6px}.social span{font-size:11px}.footer-explore{display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.footer-explore h2{grid-column:1/-1;margin-bottom:10px}.footer-explore a{font-size:12px}.footer-disclosure{grid-template-columns:1fr;gap:10px;padding:19px;margin-top:28px}.footer-bottom{align-items:flex-start;gap:10px}.footer-bottom small{max-width:185px;padding-top:12px;line-height:1.7}.footer-bottom>a{white-space:nowrap}}
