:root{
  --ink:#2b2a33; --muted:#6b6872; --paper:#fffdf8; --bg:#f6f1e7; --line:#e4dccb;
  --green:#5b9a68; --orange:#e98a3b; --blue:#4f7cc2; --teal:#3a9a9a; --red:#d9574a;
  --accent:#e98a3b; --radius:14px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"Nunito",system-ui,sans-serif;font-size:18px;line-height:1.65}
h1,h2,h3{font-family:"Fraunces",Georgia,serif;line-height:1.2;margin:1.2em 0 .5em}
h1{font-size:clamp(30px,4.5vw,46px);font-weight:800;margin-top:.3em}
h2{font-size:28px}
a{color:#b5571a}
img{max-width:100%}
.small{font-size:14px;color:var(--muted)}
main{max-width:1060px;margin:0 auto;padding:0 20px 40px}

/* header/footer */
.site-header{display:flex;justify-content:space-between;align-items:center;gap:16px;max-width:1060px;margin:0 auto;padding:18px 20px;flex-wrap:wrap}
.logo{font-family:"Fraunces",serif;font-size:26px;color:var(--ink);text-decoration:none;display:flex;align-items:center;gap:10px}
.logo b{color:var(--accent)}
.magnet{width:18px;height:18px;border-radius:50%;background:var(--red);box-shadow:inset -3px -3px 0 rgba(0,0,0,.15)}
.site-header nav a{margin-left:18px;color:var(--ink);text-decoration:none;font-weight:700}
.site-header nav a:hover{color:var(--accent)}
.site-footer{text-align:center;padding:30px 20px 50px;border-top:1px solid var(--line);margin-top:40px;color:var(--muted)}
.site-footer a{color:var(--muted)}

/* hero */
.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center;padding:30px 0 10px}
.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--accent);font-size:14px;margin:0}
.lead{font-size:21px;color:#4a4752}
.cta{display:flex;gap:12px;flex-wrap:wrap}
.fridge{position:relative;height:340px;background:linear-gradient(90deg,#e9eef0,#f8fafb 40%,#e3e9ec);border-radius:22px;box-shadow:inset 0 0 0 2px #d5dde1,0 18px 40px rgba(0,0,0,.08)}
.fridge::after{content:"";position:absolute;left:18px;top:40%;width:8px;height:90px;border-radius:6px;background:#c6cfd4}
.paper{position:absolute;background:#fff;padding:26px 16px 12px;box-shadow:0 6px 14px rgba(0,0,0,.12);border-radius:3px}
.paper i{display:block;height:7px;border-radius:4px;background:#ece6da;margin:8px 0}
.p1{width:44%;left:14%;top:12%;transform:rotate(-4deg);border-top:8px solid var(--green)}
.p2{width:38%;right:8%;top:8%;transform:rotate(5deg);border-top:8px solid var(--orange)}
.p3{width:46%;right:14%;bottom:8%;transform:rotate(-2deg);border-top:8px solid var(--blue)}
.mag{position:absolute;top:-10px;left:50%;width:22px;height:22px;margin-left:-11px;border-radius:50%;box-shadow:inset -3px -3px 0 rgba(0,0,0,.18)}
.m1{background:var(--red)}.m2{background:var(--teal)}.m3{background:#f2c23a}

/* buttons */
.btn{display:inline-block;background:var(--accent);color:#fff;border:0;border-radius:999px;padding:12px 24px;font:800 17px "Nunito",sans-serif;text-decoration:none;cursor:pointer;box-shadow:0 4px 0 #b9631f}
.btn:hover{filter:brightness(1.05)}
.btn:active{transform:translateY(2px);box-shadow:0 2px 0 #b9631f}
.btn.ghost{background:#fff;color:var(--ink);box-shadow:0 0 0 2px var(--ink) inset}

/* cards */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}
.card{display:block;background:var(--paper);border-radius:var(--radius);padding:20px;text-decoration:none;color:var(--ink);border-top:8px solid var(--c,var(--accent));box-shadow:0 2px 0 var(--line);transition:transform .15s}
.card:hover{transform:translateY(-3px) rotate(-.4deg)}
.card h3{margin:.4em 0 .3em;font-size:22px}
.card p{margin:0;font-size:16px;color:var(--muted)}
.tag{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--c,var(--accent))}
.c-green{--c:var(--green)}.c-orange{--c:var(--orange)}.c-blue{--c:var(--blue)}.c-teal{--c:var(--teal)}.c-red{--c:var(--red)}

/* posts */
.post{max-width:880px;margin:0 auto}
.crumbs{font-size:14px;color:var(--muted);margin:10px 0 0}
.crumbs a{color:var(--muted)}
.post ol li,.post ul li{margin:.3em 0}
.more{columns:2}
.supplies{background:var(--paper);border-radius:var(--radius);padding:4px 24px 14px;margin:30px 0;border:2px dashed var(--line)}
.ad-slot{min-height:0;margin:24px 0}
.print-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:20px 0}

/* tools */
.tool{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px;background:var(--paper);padding:24px;border-radius:var(--radius);margin:20px 0}
.tool label{display:flex;flex-direction:column;font-weight:800;font-size:15px;gap:6px}
.tool .wide{grid-column:1/-1}
.tool input,.tool textarea,.tool select{font:16px "Nunito",sans-serif;padding:10px 12px;border:2px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}
.tool input:focus,.tool textarea:focus,.tool select:focus{outline:none;border-color:var(--accent)}
.results{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:10px 0 20px}
.stat{background:#fff;border-radius:var(--radius);padding:18px;border-left:6px solid var(--red)}
.stat span{display:block;font-size:14px;color:var(--muted);font-weight:700}
.stat b{font-family:"Fraunces",serif;font-size:32px}
.table-wrap{overflow-x:auto}
table.calc{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--radius);overflow:hidden;font-size:16px}
table.calc th,table.calc td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left}
table.calc thead{background:var(--green);color:#fff}
table.calc tfoot{background:#f1f6f1}

/* ===== printable sheet (letter size) ===== */
.sheet{--t:var(--accent);background:#fff;width:100%;max-width:850px;aspect-ratio:8.5/11;margin:10px auto 30px;padding:42px 44px 28px;box-shadow:0 10px 30px rgba(0,0,0,.1);display:flex;flex-direction:column;color:#2b2a33;font-size:14px;line-height:1.3}
.theme-green{--t:var(--green)}.theme-orange{--t:var(--orange)}.theme-blue{--t:var(--blue)}.theme-teal{--t:var(--teal)}.theme-red{--t:var(--red)}
.sheet-head{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:4px solid var(--t);padding-bottom:10px;margin-bottom:16px;gap:20px}
.sheet h2{margin:0;font-size:38px;color:var(--t)}
.sheet h3{font-size:17px;margin:4px 0 8px;color:var(--t)}
.fill{font-weight:700;white-space:nowrap}
.blank{display:inline-block;min-width:150px;border-bottom:1.5px solid #555;height:1em}
.blank.short{min-width:60px}.blank.long{min-width:320px}
.sheet-grid{display:grid;gap:18px;flex:1}
.sheet-grid.two{grid-template-columns:2.3fr 1fr}
.sheet-grid.three{grid-template-columns:1fr 1fr 1fr}
.sheet-grid.four{grid-template-columns:1fr 1fr;gap:12px 22px}
table.grid{width:100%;border-collapse:collapse;table-layout:fixed;align-self:start}
table.grid th,table.grid td{border:1.5px solid #cfc8ba;padding:6px 8px;text-align:left;vertical-align:top}
table.grid thead th{background:var(--t);color:#fff;border-color:var(--t);text-align:center;font-size:13px}
table.grid tbody th{width:28%;font-size:13px}
table.grid.tall tbody th{width:16%}
table.grid.tall td{height:78px}
table.grid tr.total th,table.grid tr.total td{background:#f4f1ea;font-weight:800}
table.grid td{height:30px}
table.chores tbody th.chore{width:30%;height:52px;vertical-align:middle;font-size:15px}
table.chores td{text-align:center;vertical-align:middle}
.star{display:inline-block;width:30px;height:30px;background:#fff;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);position:relative}
.star::before{content:"";position:absolute;inset:0;background:var(--t);clip-path:inherit}
.star::after{content:"";position:absolute;inset:3px;background:#fff;clip-path:inherit}
.side .line,.gsec .line{border-bottom:1.5px solid #cfc8ba;height:27px;display:flex;align-items:center}
.box{display:inline-block;width:13px;height:13px;border:1.5px solid var(--t);border-radius:3px;margin-right:8px;flex:none}
.check{display:flex;align-items:center;border-bottom:1.5px solid #e2dccf;padding:9px 0;font-size:14px}
.bigbox{height:60px;border:1.5px solid #cfc8ba;border-radius:8px;margin-bottom:8px}
.reward{margin-top:22px;font-size:17px;padding:14px 16px;border:2px dashed var(--t);border-radius:12px}
.sheet-foot{margin-top:auto;padding-top:14px;text-align:right;font-size:11px;color:#a29d93;letter-spacing:.06em}

/* mobile */
@media (max-width:760px){
  body{font-size:17px}
  .hero{grid-template-columns:1fr}
  .fridge{height:240px}
  .tool{grid-template-columns:1fr}
  .site-header nav a{margin:0 14px 0 0}
  .more{columns:1}
  .sheet{aspect-ratio:auto;padding:20px 16px;font-size:12px}
  .sheet h2{font-size:26px}
  .sheet-head{flex-direction:column;align-items:flex-start}
  .sheet-grid.two,.sheet-grid.three{grid-template-columns:1fr}
  .blank.long{min-width:160px}
}

/* print: only the sheet */
@page{size:letter;margin:0.4in}
@media print{
  body{background:#fff}
  .no-print,.site-header,.site-footer{display:none !important}
  main{padding:0;max-width:none}
  .post{max-width:none}
  .sheet{box-shadow:none;margin:0;padding:0;max-width:none;width:100%;height:10.1in;aspect-ratio:auto;font-size:13px}
  .sheet-grid.two{grid-template-columns:2.3fr 1fr}
  .sheet-grid.three{grid-template-columns:1fr 1fr 1fr}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* fill the whole letter page */
.sheet-grid{min-height:0}
.sheet-grid > table.stretch{height:100%;align-self:stretch}
.sheet > table.stretch{flex:1 1 auto;height:100%}
.sheet .gap{margin-top:16px}
.check{padding:7px 0}
@media (max-width:760px){.sheet-grid > table.stretch,.sheet > table.stretch{height:auto}}
@media print{.sheet-grid > table.stretch{height:100%}}
.sheet-grid.three .check{padding:13px 0;font-size:15px}
.sheet-grid.three .line{border-bottom:1.5px solid #cfc8ba;height:34px}

/* hero without illustration */
.hero{grid-template-columns:1fr;max-width:760px}
.hero{grid-template-columns:1fr 1.15fr;max-width:none}
.hero-photo{width:100%;height:auto;border-radius:22px;box-shadow:0 18px 40px rgba(0,0,0,.12);display:block}
@media (max-width:760px){.hero{grid-template-columns:1fr}}
