/*
Theme Name: Tech Mouse
Description: Landing page theme for techmouse.org. Brought to you by The MonkeyPC. Edit the words and links in Appearance > Customize > Tech Mouse home page.
Version: 1.6
Author: The MonkeyPC
Text Domain: tech-mouse
*/
:root{
  --bg:#f7efec; --card:#fffaf8; --ink:#3b2a33; --muted:#6b5862; --line:#ecd9de;
  --pink:#f69dcb; --pink-ink:#b3346f; --pink-soft:#fde8f2; --grey:#9a9a9a;
  --forest:#402408; --amber:#f6c945; --leaf:#48b01c;
}
@media (prefers-color-scheme:dark){:root{
  --bg:#211a1e; --card:#2b2227; --ink:#f4e9ee; --muted:#cbb7c1; --line:#45363e;
  --pink-ink:#f7a8d0; --pink-soft:#3a2430;
}
.btn--pink{color:#2b1420!important}
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.6 "Instrument Sans",system-ui,sans-serif}
a{color:var(--pink-ink)}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}
h1,h2,h3{font-family:"Bricolage Grotesque",system-ui,sans-serif;line-height:1.1;margin:0}
header{padding:22px 0}
header .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px}
.logo img{height:92px;width:auto;display:block}
.by{font-size:14px;color:var(--muted);text-decoration:none}
.by b{color:var(--ink)}
.hero{background:var(--card);border:1px solid var(--line);border-radius:28px;padding:64px 56px;display:grid;grid-template-columns:1.3fr .9fr;gap:40px;align-items:center;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;inset:auto -80px -120px auto;width:380px;height:380px;border-radius:50%;background:var(--pink-soft)}
.eyebrow{display:inline-block;background:var(--pink-soft);color:var(--pink-ink);border:1px solid var(--line);border-radius:999px;padding:5px 14px;font-weight:700;font-size:14px;margin-bottom:18px}
.hero h1{font-size:clamp(38px,5.2vw,62px);font-weight:800;letter-spacing:-.02em}
.hero h1 span{color:var(--pink-ink)}
.hero p{font-size:19px;color:var(--muted);margin:18px 0 28px;max-width:34em}
.btns{display:flex;flex-wrap:wrap;gap:12px}
.btn{display:inline-block;border-radius:999px;padding:14px 26px;font-weight:700;text-decoration:none}
.btn--pink{background:var(--pink-ink);color:#fff}
.btn--line{border:2px solid var(--line);color:var(--ink)}
.hero>*{position:relative;z-index:1}
.hero__mouse{justify-self:center;width:min(300px,100%);height:auto}
section{margin:56px 0}
.section-title{font-size:32px;margin-bottom:8px}
.sub{color:var(--muted);margin:0 0 24px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:26px;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;gap:8px;transition:transform .15s,border-color .15s}
.card:hover{transform:translateY(-3px);border-color:var(--pink)}
.card .ic{width:48px;height:48px;border-radius:14px;background:var(--pink-soft);color:var(--pink-ink);display:grid;place-items:center;margin-bottom:6px}
.card h3{font-size:21px}
.card p{margin:0;color:var(--muted)}
.card .go{margin-top:auto;padding-top:8px;color:var(--pink-ink);font-weight:700}
.promise{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;list-style:none;padding:0;margin:0}
.promise li{border-left:4px solid var(--pink);padding:4px 0 4px 16px}
.promise b{display:block;font-family:"Bricolage Grotesque";font-size:19px}
.monkey{background:var(--forest);color:#e9dcc3;border-radius:28px;padding:40px 44px;display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center}
.monkey h2{color:#fff;font-size:30px;margin-bottom:10px}
.monkey p{margin:0;max-width:40em}
.monkey .btn{background:var(--amber);color:#402408}
.monkey small{display:block;margin-top:10px;color:#cdbb9c;text-align:center}
footer{padding:28px 0 40px;color:var(--muted);font-size:14px}
footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:22px}
footer a{color:var(--muted)}
@media(max-width:900px){
  .hero{grid-template-columns:1fr;padding:40px 28px}
  .hero__mouse{width:170px;order:-1;justify-self:start}
  .cards,.promise{grid-template-columns:1fr}
  .monkey{grid-template-columns:1fr;padding:30px 26px}
  .monkey small{text-align:left}
}
@media(max-width:560px){
  .wrap{padding:0 16px}
  .logo img{height:60px}
  .by{display:none}
  .hero{padding:32px 22px;border-radius:22px}
  .hero::before{display:none}
  .hero p{font-size:17px}
  .btn{width:100%;text-align:center}
}
.page{background:var(--card);border:1px solid var(--line);border-radius:28px;padding:48px 56px;margin-bottom:56px}
.page h1{font-size:clamp(32px,4vw,48px);margin-bottom:18px}.page img{max-width:100%;height:auto}
.logo img.custom-logo{height:92px;width:auto}
@media(max-width:560px){.page{padding:28px 22px}.logo img.custom-logo{height:60px}}
/* 1.1: new logo (badge + wordmark) */
.brand{display:inline-flex;align-items:center;gap:14px;text-decoration:none}
.brand img{width:60px;height:60px}
.brand__name{font:800 36px/1 "Bricolage Grotesque",sans-serif;letter-spacing:-.03em;color:var(--ink);white-space:nowrap}
.brand__name b{color:#e2629f;font-weight:800}.brand__name i{font-style:normal;font-size:.6em;letter-spacing:0;color:var(--grey)}
.hero__mouse{width:min(340px,100%);transform:rotate(-6deg);filter:drop-shadow(0 16px 22px rgba(59,42,51,.18))}
@media(max-width:900px){.hero__mouse{width:170px}}
@media(max-width:560px){.brand img{width:44px;height:44px}.brand__name{font-size:27px}.brand{gap:10px}}
/* 1.3: tips (posts) */
.back{display:inline-block;margin:0 0 16px;font-weight:700;text-decoration:none}
.tip-page{max-width:880px;margin-left:auto;margin-right:auto}
.tip-head{border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:28px}
.tip-head img{display:block;margin-bottom:16px}
.tip-head h1{font-size:clamp(32px,4.2vw,50px);font-weight:800;letter-spacing:-.02em;margin:0}
.tip-meta{display:flex;gap:18px;color:var(--muted);font-size:15px;margin:14px 0 0}
.tip-meta span+span::before{content:"•";color:var(--pink);margin-right:18px}
.entry{font-size:18px;line-height:1.7}
.entry h2{font-size:28px;margin:40px 0 12px}.entry h3{font-size:21px;margin:28px 0 8px}
.entry a{color:var(--pink-ink);font-weight:600}
.entry li{margin:6px 0}.entry ol,.entry ul{padding-left:24px}
.entry .lead{font-size:20px;color:var(--muted)}
.entry code,.entry kbd{font:600 15px ui-monospace,monospace;background:var(--pink-soft);border:1px solid var(--line);border-radius:6px;padding:2px 6px}
.entry table{width:100%;border-collapse:collapse;margin:22px 0;font-size:16px;display:block;overflow-x:auto}
.entry th,.entry td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.entry th{background:var(--pink-soft)}
.entry img{max-width:100%;height:auto;border-radius:14px}
.tm-hello{display:flex;gap:16px;align-items:center;background:var(--pink-soft);border:1px solid var(--line);border-left:6px solid var(--pink);border-radius:18px;padding:16px 20px;margin:0 0 26px}
.tm-hello p{margin:0;font-size:16px}.tm-hello img{flex:none}
.tm-hello__name{font:800 19px/1.2 "Bricolage Grotesque",sans-serif;color:var(--pink-ink);margin-bottom:4px!important}
.tm-tip{display:flex;gap:14px;align-items:center;border:2px dashed var(--line);border-radius:16px;padding:12px 18px;margin:20px 0}
.tm-tip p{margin:0}.tm-tip img{width:36px;height:36px;flex:none}
.tip{gap:6px}.tip__cat{color:var(--pink-ink);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.05em}
.more{margin:18px 0 0;font-weight:700}
.list-head{margin:0 0 24px}
.pager{margin:28px 0}.pager .nav-links{display:flex;gap:10px}.pager a,.pager span{padding:8px 14px;border:1px solid var(--line);border-radius:999px;text-decoration:none}
@media(max-width:560px){.entry{font-size:17px}.tm-hello{align-items:flex-start;padding:14px}.tm-hello img{width:40px;height:40px}}
