/*
Theme Name: ComPwnie
Theme URI: https://compwnie.com/
Author: ComPwnie
Description: The editorial home for ComPwnie and ChatPwnie.
Version: 1.0.0
Text Domain: compwnie
*/

:root{color-scheme:dark;--bg:#070707;--panel:#1d1d1d;--ink:#f5f3ed;--muted:#aaa9a5;--line:#343432;--accent:#d5fa70;--max:1460px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:4px}
button{font:inherit}
.site-wrap{max-width:var(--max);margin:auto;padding:0 32px}
.skip-link{position:absolute;left:-9999px;top:8px;background:#fff;color:#000;padding:12px;z-index:30}
.skip-link:focus{left:8px}
.site-header{position:relative;z-index:5;background:var(--bg)}
.header-inner{height:72px;display:flex;align-items:center;gap:38px}
.brand{font-size:23px;font-weight:700;letter-spacing:-1.4px;white-space:nowrap}
.brand-mark{display:inline-block;color:var(--accent);transform:rotate(-12deg);margin-right:2px}
.primary-nav{display:flex;align-items:center;gap:30px;font-size:13px}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:13px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;min-height:39px;padding:0 19px;font-size:13px;font-weight:600;transition:transform .18s,background .18s}
.button:hover{text-decoration:none;transform:translateY(-2px)}
.button-muted{background:#202020;color:#fff}
.button-light{background:#f5f3ed;color:#080808}
.button-accent{background:var(--accent);color:#10130a}
.mobile-menu{display:none;margin-left:auto}
.mobile-menu summary{cursor:pointer;list-style:none;border:1px solid var(--line);border-radius:999px;padding:9px 16px}
.mobile-menu summary::-webkit-details-marker{display:none}
.mobile-links{position:absolute;top:64px;right:20px;left:20px;display:grid;gap:0;padding:12px;background:#1b1b1b;border:1px solid var(--line);border-radius:12px}
.mobile-links a{padding:12px;border-bottom:1px solid var(--line)}
.mobile-links a:last-child{border:0}
.hero{min-height:505px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px 78px;text-align:center}
.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.16em;color:var(--muted)}
.hero h1{font-weight:500;font-size:clamp(34px,4vw,60px);letter-spacing:-.055em;line-height:1.05;margin:18px 0 32px}
.prompt-link{width:min(770px,100%);height:104px;background:#222;border:1px solid #2b2b2b;border-radius:22px;display:flex;align-items:flex-start;justify-content:space-between;text-align:left;padding:22px 18px 20px 25px;color:#acacac;font-size:16px}
.prompt-link:hover{text-decoration:none;background:#292929}
.prompt-send{background:#555;color:#fff;align-self:flex-end;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:23px}
.quick-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px}
.quick-links a{font-size:13px;color:#c9c9c9;border:1px solid #454545;border-radius:999px;padding:11px 15px}
.quick-links a:hover{background:#252525;text-decoration:none}
.feature-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}
.feature-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:370px;overflow:hidden;border-radius:4px;padding:25px;background:#1c1c1c}
.feature-card:hover{text-decoration:none}
.feature-card::after{content:'↗';position:absolute;right:23px;bottom:21px;font-size:22px}
.feature-card h2{position:relative;z-index:1;font-size:clamp(28px,3vw,48px);line-height:1.04;letter-spacing:-.045em;max-width:520px;margin:18px 0 48px;font-weight:500}
.feature-card span{position:relative;z-index:1;font-size:12px}
.feature-card.card-big{background:radial-gradient(circle at 60% 130%,#769d50 0,transparent 42%),radial-gradient(circle at 90% 15%,#294832 0,transparent 48%),#111c13}
.feature-card.card-orange{background:radial-gradient(circle at 65% 120%,#f5ab68,transparent 55%),#633e29}
.feature-card.card-blue{background:radial-gradient(circle at 30% 100%,#7e98ff,transparent 55%),#283a6b}
.feature-card.card-orange h2,.feature-card.card-blue h2{font-size:clamp(24px,2.4vw,34px)}
.section-block{padding:100px 0 0}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;border-top:1px solid var(--line);padding:20px 0 38px}
.section-heading h2{font-weight:500;font-size:clamp(29px,3vw,46px);letter-spacing:-.045em;margin:0}
.section-heading a{font-size:13px;border-bottom:1px solid var(--muted);padding-bottom:4px}
.story-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.story-card{display:block}
.story-art{height:220px;border-radius:3px;margin-bottom:19px;position:relative;overflow:hidden}
.story-art::after{content:'◯';position:absolute;right:10%;top:8%;font-size:140px;line-height:1;opacity:.22}
.art-lime{background:linear-gradient(145deg,#b8cf85,#32644b)}
.art-blue{background:linear-gradient(145deg,#b1d5ed,#273e8e)}
.art-peach{background:linear-gradient(145deg,#f5cba4,#ac5e56)}
.art-purple{background:linear-gradient(145deg,#b4a4e5,#3e355f)}
.story-card h3{font-size:20px;line-height:1.14;letter-spacing:-.02em;font-weight:500;margin:0 0 13px}
.story-card:hover h3{text-decoration:underline;text-underline-offset:4px}
.meta{font-size:12px;color:var(--muted)}
.split-feature{display:grid;grid-template-columns:1fr 1fr;gap:20px;min-height:480px}
.split-copy{background:#1a1a1a;padding:40px;display:flex;flex-direction:column;justify-content:space-between}
.split-copy h2{font-size:clamp(36px,4vw,66px);line-height:1;letter-spacing:-.05em;font-weight:500;margin:0}
.split-copy p{max-width:500px;font-size:18px;line-height:1.4;color:#d0d0cc}
.split-visual{display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 55%,#dfecbf,#5c865a 42%,#19372f 85%)}
.split-visual::before{content:'P';font-weight:700;font-size:300px;line-height:1;opacity:.48;transform:rotate(-12deg)}
.final-cta{margin-top:110px;background:#d2f777;color:#111;padding:70px 32px 80px;text-align:center}
.final-cta h2{font-size:clamp(38px,5vw,78px);font-weight:500;letter-spacing:-.055em;margin:0 0 28px}
.final-cta .button{background:#111;color:#fff}
.site-footer{padding:60px 0 26px}
.footer-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}
.footer-col h2{font-size:13px;font-weight:600;margin:0 0 18px}
.footer-col a{display:block;font-size:13px;line-height:1.9;color:#bcbcb8}
.footer-bottom{border-top:1px solid var(--line);margin-top:70px;padding-top:22px;display:flex;justify-content:space-between;color:var(--muted);font-size:12px}
.page-hero{padding:115px 0 95px;border-bottom:1px solid var(--line)}
.page-hero h1{font-size:clamp(56px,9vw,140px);letter-spacing:-.065em;line-height:.93;font-weight:500;margin:16px 0 42px;max-width:1120px}
.page-lead{font-size:clamp(20px,2.5vw,34px);line-height:1.25;letter-spacing:-.025em;color:#d0d0cd;max-width:850px;margin:0}
.page-body{max-width:1000px;min-height:300px;margin:0 auto;padding:80px 0 130px}
.page-body h2{font-size:clamp(30px,4vw,52px);letter-spacing:-.04em;line-height:1.1;font-weight:500;margin:68px 0 20px}
.page-body h2:first-child{margin-top:0}
.page-body p,.page-body li{font-size:20px;line-height:1.58;color:#cfcfca;max-width:820px}
.page-body li{margin-bottom:10px}
.page-body a{text-decoration:underline;text-underline-offset:3px}
.page-body a.button{text-decoration:none}
.page-body .product-list{display:grid;grid-template-columns:1fr 1fr;gap:0 30px;margin-top:60px}
.product-list article{border-top:1px solid var(--line);padding-bottom:25px}
.product-list article h2{font-size:27px;margin:24px 0 5px}
.product-list article p{font-size:16px;margin:0}
.post-article .page-hero{padding-bottom:65px}
.post-article .page-hero h1{font-size:clamp(48px,7vw,100px)}
.post-article .page-body{max-width:820px}
.post-article .page-body p{font-size:22px}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:50px 20px;padding-bottom:110px}
.news-grid .story-art{height:250px}
.empty-message{padding:80px 0}
@media(max-width:1100px){.primary-nav{gap:16px}.feature-grid{grid-template-columns:1fr 1fr}.card-big{grid-column:1/-1}.story-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.site-wrap{padding:0 20px}.header-inner{height:64px}.primary-nav,.header-actions{display:none}.mobile-menu{display:block}.hero{min-height:470px;padding:80px 10px}.hero h1{font-size:40px}.prompt-link{height:95px;font-size:15px}.feature-grid,.split-feature,.news-grid,.page-body .product-list{grid-template-columns:1fr}.card-big{grid-column:auto}.feature-card{min-height:290px}.section-block{padding-top:70px}.story-grid{grid-template-columns:1fr 1fr;gap:28px 12px}.story-art{height:145px}.story-card h3{font-size:17px}.split-visual{min-height:300px}.footer-grid{grid-template-columns:1fr 1fr}.footer-bottom{display:block;line-height:1.7}.page-hero{padding:75px 0 60px}.page-body{padding:45px 0 90px}.page-body p,.page-body li{font-size:18px}}
@media(max-width:420px){.story-grid{grid-template-columns:1fr}.story-art{height:210px}}
