/* The chore-chart pages (docs/landing-pages/chores.mjs). Builds on home.css:
   tokens, buttons, the night with the store badges, the footer. The picture
   cards are the app's paper cards; the sheet is what gets printed. */
.cc-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;height:84px}
.cc-brand{display:flex;align-items:center;gap:10px}
.cc-brand img{width:40px;height:40px;border-radius:11px}
.cc-brand b{font-family:var(--f-brand);font-weight:800;font-size:28px;line-height:1;color:var(--cinnamon);padding-top:3px}
.cc-nav .btn{padding:10px 20px;font-size:var(--fs-s)}

.cc-hero{max-width:780px;padding-top:24px;padding-bottom:16px;text-align:center}
.cc-eyebrow{display:inline-block;font-weight:700;font-size:var(--fs-s);letter-spacing:.06em;text-transform:uppercase;color:#2F7DC4}
.cc-hero h1{margin-top:10px;font-family:var(--f-display);font-weight:800;font-size:var(--fs-h1);line-height:1.04;letter-spacing:-.01em;text-wrap:balance}
.cc-hero .lede{max-width:640px;margin-left:auto;margin-right:auto}

.cc-pick{padding-top:48px}
.cc-pick h2,.cc-how h2{font-family:var(--f-display);font-weight:700;font-size:var(--fs-h2);line-height:1.1;text-align:center}
.cc-hint{margin-top:8px;text-align:center;color:var(--ink-2)}
.cc-pick h3{margin:32px 0 14px;font-family:var(--f-display);font-weight:700;font-size:var(--fs-h3);color:var(--cinnamon)}
.cc-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:16px}
.cc-card{--tw:100%;position:relative;display:block;width:100%;background:#FFFCF7;border-radius:18px;padding:7px 7px 0;text-align:center;
  box-shadow:0 1px 3px rgba(var(--sh),.14),0 14px 22px -14px rgba(var(--sh),.42);transition:transform .2s var(--pop),box-shadow .2s ease,opacity .2s ease;opacity:.55}
.cc-card i{display:block;aspect-ratio:1;border-radius:13px;overflow:hidden}
.cc-card img{width:100%;height:100%;object-fit:cover}
.cc-card b{display:block;font-family:var(--f-display);font-weight:700;font-size:15px;line-height:1.1;color:var(--cinnamon);padding:8px 2px 10px;text-wrap:balance;overflow-wrap:break-word}
.cc-card[aria-pressed="true"]{opacity:1;box-shadow:0 0 0 3px var(--honey),0 14px 22px -12px rgba(var(--sh),.5)}
.cc-card[aria-pressed="true"]::after{content:"";position:absolute;top:-8px;right:-8px;width:26px;height:26px;border-radius:50%;
  background:var(--honey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F2D12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/15px no-repeat}
.cc-card:hover{transform:translateY(-2px)}
.cc-card.full{animation:cc-no .35s ease}
@keyframes cc-no{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}

.cc-sheet-wrap{padding-top:56px;text-align:center}
.cc-sheet{max-width:980px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:28px 28px 18px;text-align:left;box-shadow:var(--shadow)}
.cc-sheet-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 20px;margin-bottom:14px}
.cc-sheet-head h2{font-family:var(--f-app);font-weight:600;font-size:30px;line-height:1.1;outline:none;border-bottom:2px dashed transparent}
.cc-sheet-head h2:hover,.cc-sheet-head h2:focus{border-bottom-color:var(--honey)}
.cc-sheet-head p{color:var(--ink-2);font-size:var(--fs-s)}
.cc-sheet table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}
.cc-sheet thead td{width:34%}
.cc-sheet thead th{font-weight:700;font-size:var(--fs-s);color:var(--ink-2);text-transform:capitalize;padding-bottom:6px;text-align:center}
.cc-sheet tbody th{display:flex;align-items:center;gap:12px;padding:6px 8px 6px 0;font-family:var(--f-display);font-weight:700;font-size:17px;line-height:1.1;color:var(--cinnamon);text-align:left}
.cc-sheet tbody th img{flex:none;width:56px;height:56px;border-radius:12px}
.cc-sheet tbody tr:not([hidden])~tr:not([hidden]) > *{border-top:1px solid var(--line)}
.cc-sheet td{text-align:center;vertical-align:middle}
.cc-sheet td svg{width:30px;height:30px;fill:none;stroke:#E3C58F;stroke-width:1.4;stroke-linejoin:round}
.cc-mark{margin-top:12px;font-size:12px;color:var(--ink-2);text-align:right}
.cc-mark b{font-family:var(--f-brand);color:var(--cinnamon)}
.cc-print{margin-top:24px;padding:14px 32px}

.cc-how{max-width:760px;padding-top:72px;padding-bottom:var(--step)}
.cc-how ol{margin-top:20px;counter-reset:how}
.cc-how li{position:relative;padding:10px 0 10px 46px;font-size:var(--fs-l);color:var(--ink-2);counter-increment:how}
.cc-how li::before{content:counter(how);position:absolute;left:0;top:8px;width:32px;height:32px;border-radius:50%;background:var(--sand);color:var(--cinnamon);font-family:var(--f-display);font-weight:800;display:grid;place-items:center}

.cc-etsy{max-width:980px;padding-bottom:var(--step);text-align:center}
.cc-etsy h2{margin-top:8px;font-family:var(--f-display);font-weight:700;font-size:var(--fs-h2);line-height:1.1}
.cc-etsy-lede{max-width:640px;margin:14px auto 0;font-size:var(--fs-l);color:var(--ink-2)}
.cc-etsy ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:36px}
.cc-etsy li{display:flex;flex-direction:column;align-items:center}
.cc-etsy img{width:100%;height:auto;border-radius:var(--r-l);box-shadow:var(--shadow)}
.cc-etsy h3{margin-top:20px;font-family:var(--f-display);font-weight:700;font-size:var(--fs-h3);line-height:1.15;color:var(--cinnamon);text-wrap:balance}
.cc-etsy li p{flex:1;margin:8px 0 18px;color:var(--ink-2)}

.cc-night .cta{padding-top:var(--step)}
.cc-home{margin-top:22px;font-weight:600}
.cc-home a{color:#FFF4E2;text-decoration:underline;text-underline-offset:4px}

@media (max-width:720px){
  .cc-nav{height:68px}
  .cc-etsy ul{grid-template-columns:1fr;gap:40px}
  .cc-etsy img{max-width:420px}
  .cc-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .cc-card b{font-size:13px}
  .cc-sheet{padding:18px 12px 12px;border-radius:var(--r-m)}
  .cc-sheet thead td{width:30%}
  .cc-sheet tbody th{gap:6px;font-size:12px}
  .cc-sheet tbody th img{width:34px;height:34px;border-radius:8px}
  .cc-sheet thead th{font-size:11px}
  .cc-sheet td svg{width:20px;height:20px}
  .cc-sheet-head h2{font-size:22px}
}
@media (max-width:420px){.cc-sheet tbody th span{display:none}.cc-sheet thead td{width:16%}}

@media print{
  @page{size:A4 landscape;margin:10mm}
  body{background:#fff}
  .cc-nav,.cc-hero,.cc-pick,.cc-how,.cc-etsy,.cc-night,.cc-print{display:none!important}
  .cc-sheet-wrap{padding:0}
  .cc-sheet{max-width:none;border:0;box-shadow:none;padding:0;border-radius:0}
  .cc-sheet-head h2{font-size:28px}
  .cc-sheet thead td{width:30%}
  .cc-sheet tbody th{font-size:16px}
  .cc-sheet tbody th img{width:60px;height:60px}
  .cc-sheet tbody th span{display:inline}
  .cc-sheet td svg{width:34px;height:34px;stroke:#C9A15B}
  .cc-sheet tr{break-inside:avoid}
}
