/* PowerPocketz — budget printables for moms. One stylesheet for every page. */
@font-face { font-family: Fraunces; src: url(/assets/fonts/fraunces-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Figtree; src: url(/assets/fonts/figtree-var.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: Caveat; src: url(/assets/fonts/caveat-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --green: #1E5B4F; --green-dark: #164339; --gold: #EFAE3C; --gold-soft: #FBE7BF;
  --cream: #FBF5EA; --paper: #FFFFFF; --ink: #1D2B2A; --muted: #55635F; --line: #DCE6E1;
  --mint: #DDEBE5; --coral: #C8553F;
  --radius: 14px; --shadow: 0 10px 30px rgba(29,43,42,.10), 0 1px 0 rgba(29,43,42,.05);
  --read: 44rem; --wide: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.65 Figtree, system-ui, sans-serif; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2rem, 6.4vw, 3.1rem); font-weight: 700; margin: .2em 0 .35em; }
h2 { font-size: clamp(1.5rem, 4.4vw, 2rem); font-weight: 700; margin: 2.2em 0 .5em; }
h3 { font-size: 1.25rem; font-weight: 650; margin: 1.6em 0 .4em; }
p, ul, ol { margin: 0 0 1.05em; }
li { margin: .3em 0; }
strong { font-weight: 700; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6em 1em; z-index: 10; }
.skip:focus { left: 0; }
.wrap { width: min(100% - 2.5rem, var(--read)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }

/* header + footer */
.site-head { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font: 700 1.3rem/1 Fraunces, Georgia, serif; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.brand b { color: var(--green); font-weight: 700; }
.nav { display: flex; gap: 1.1rem; font-weight: 600; font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--green); text-decoration: underline; }
@media (max-width: 760px) { .nav { display: none; } }
.site-foot { margin-top: 4rem; background: var(--ink); color: #d7e1dd; font-size: .95rem; padding: 2.5rem 0 3rem; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot-grid h2 { color: #fff; font-size: 1.05rem; margin: 0 0 .5em; font-family: Figtree, sans-serif; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-note { margin-top: 2rem; color: #aebbb6; font-size: .875rem; }

/* article */
.crumbs { font-size: .875rem; color: var(--muted); margin: 1.6rem 0 0; }
.crumbs a { color: var(--muted); }
.eyebrow { font: 600 1.5rem/1 Caveat, cursive; color: var(--coral); margin: 1.2rem 0 0; }
.lede { font-size: 1.2rem; color: #33413F; }
.updated { font-size: .875rem; color: var(--muted); margin-top: -.3rem; }
article h2 { scroll-margin-top: 80px; }
article ul, article ol { padding-left: 1.3rem; }

/* the free printable card */
.printable { display: grid; gap: 1.25rem; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); margin: 1.8rem 0; }
@media (min-width: 640px) { .printable { grid-template-columns: 200px 1fr; align-items: center; padding: 1.5rem; } }
.printable img { border: 1px solid var(--line); border-radius: 6px; background: #fff; width: 100%; max-width: 220px; margin-inline: auto; }
.printable h2, .printable h3 { margin: 0 0 .3em; font-size: 1.35rem; }
.printable p { margin: 0 0 .8em; color: var(--muted); }
.dl { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .7rem 1.2rem; border-radius: 999px; font-family: inherit; font-weight: 700; text-decoration: none; border: 2px solid var(--green); line-height: 1.2; text-align: center; cursor: pointer; }
.btn-main { background: var(--green); color: #fff; }
.btn-main:hover { background: var(--green-dark); color: #fff; }
.btn-alt { background: #fff; color: var(--green); }
.fileinfo { font-size: .85rem; color: var(--muted); margin-top: .6rem !important; }

/* blocks writers can use */
.note { background: var(--mint); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.4rem 0; }
.note > :last-child { margin-bottom: 0; }
.tip { background: var(--gold-soft); border-left: 5px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.2rem; margin: 1.4rem 0; }
.tip > :last-child { margin-bottom: 0; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.4rem 0; }
.toc p { font-weight: 700; margin: 0 0 .3em; }
.toc ol { margin: 0; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border: 2px solid var(--ink); border-radius: 4px; background: #fff; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2rem 0 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { padding: .6rem .75rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mint); font-weight: 700; white-space: nowrap; }
td.num, th.num { text-align: right; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.caption { font-size: .85rem; color: var(--muted); margin-top: -.8rem; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.2rem 0; }
.card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.card:hover { border-color: var(--green); }
.card strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.15rem; margin-bottom: .2rem; color: var(--green); }
.card span { color: var(--muted); font-size: .95rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1.1rem; margin: .7rem 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: .7rem 0 0; }
.sources { font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1rem; }
.sources ol { padding-left: 1.2rem; }

/* home */
.hero { padding: 3rem 0 2rem; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; padding: 4rem 0 3rem; } }
.hero h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); }
.hero h1 b { color: var(--green); }
.hero img { border-radius: var(--radius); width: 100%; max-width: 440px; justify-self: center; }
.section-title { margin-top: 2.5rem; }

/* ===== funnel: kit sign-up, slide-up, offers, thank-you ===== */
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.kit { display: grid; gap: 1.1rem; align-content: start; margin: 2rem 0; padding: 1.3rem; border-radius: 20px; border: 2px solid var(--green);
  background: linear-gradient(160deg, #FFFFFF 0%, #F3F8F5 55%, var(--mint) 100%); box-shadow: 0 18px 40px rgba(30,91,79,.14); }
@media (min-width: 700px) { .kit { grid-template-columns: 240px 1fr; align-items: start; padding: 1.6rem 1.8rem; } .kit-art { padding-top: .4rem; }
  .kit .kit-form { grid-template-columns: 1fr; } }
.kit-art img { width: 100%; max-width: 260px; margin: 0 auto; filter: drop-shadow(0 12px 18px rgba(29,43,42,.18)); }
.kit-eyebrow { display: inline-block; margin: 0 0 .4rem; padding: .2rem .7rem; border-radius: 999px; background: var(--gold-soft);
  border: 1px solid var(--gold); font-weight: 700; font-size: .85rem; color: var(--ink); }
.kit h2 { margin: 0 0 .35rem; font-size: clamp(1.45rem, 4.6vw, 1.85rem); }
.kit-sub { margin: 0 0 .7rem; color: #33413F; font-size: 1.05rem; }
.kit-stack { list-style: none; padding: 0 !important; margin: 0 0 .8rem; }
.kit-stack li { position: relative; padding-left: 1.85rem; margin: .45rem 0; font-weight: 600; }
.kit-stack li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.kit-countdown { margin: 0 0 .8rem; font-weight: 600; color: var(--green); }
.kit-countdown b { font-size: 1.1em; color: var(--green); }
.kit-form { display: grid; gap: .6rem; margin: 0 0 .5rem; }
@media (min-width: 520px) { .kit-form { grid-template-columns: 1fr auto; } .kit-error { grid-column: 1 / -1; } }
.kit-form input[type=email] { min-height: 52px; width: 100%; padding: .75rem 1rem; font: inherit; font-size: 1.05rem;
  border: 2px solid #6A847C; border-radius: 12px; background: #fff; color: var(--ink); }
.kit-form input[type=email]:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--green); }
.kit-form .btn { min-height: 52px; font-size: 1.05rem; padding: .75rem 1.4rem; box-shadow: 0 6px 14px rgba(30,91,79,.25); }
.kit-form .btn[disabled] { opacity: .75; }
.kit-error { margin: 0; color: #A33A2A; font-weight: 600; font-size: .95rem; }
.kit-fine { margin: 0; font-size: .85rem; color: var(--muted); }
.kit-again { margin: 0 0 .6rem; }
.kits-home .kits-grid { display: grid; gap: 1rem; }
@media (min-width: 980px) { .kits-home .kits-grid { grid-template-columns: 1fr 1fr; } .kits-home .kit { grid-template-columns: 1fr; } }
.kits-home .kit { margin: .5rem 0; }

.kit-sheet { position: fixed; z-index: 20; left: .75rem; right: .75rem; bottom: .75rem; max-width: 30rem; margin-left: auto;
  padding: 1.2rem 1.2rem 1rem; border-radius: 18px; background: #fff; border: 2px solid var(--green);
  box-shadow: 0 -6px 40px rgba(29,43,42,.25); transform: translateY(130%); transition: transform .25s ease-out;
  max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); overflow-y: auto; overscroll-behavior: contain; }
@media (max-height: 640px) { .kit-sheet .kit-sheet-desc { display: none; } .kit-sheet h2 { font-size: 1.15rem; }
  .kit-sheet { padding-top: 1rem; } .kit-sheet .kit-fine { font-size: .8rem; } }
.kit-sheet.open { transform: translateY(0); }
.kit-sheet h2 { margin: .2rem 2rem .35rem 0; font-size: 1.3rem; }
.kit-sheet p { margin: 0 0 .7rem; }
.kit-sheet-ok { font-weight: 700; color: var(--green); }
.kit-sheet-x { position: absolute; top: .55rem; right: .6rem; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--mint); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
.kit-sheet h2:focus { outline: none; }
.kit-sheet-no { position: relative; border: 0; background: none; padding: .7rem .3rem; margin: -.7rem -.3rem; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }

.offer-slot { margin: 2rem 0; }
.offer { position: relative; margin: 1.2rem 0; padding: 1.2rem 1.25rem; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); border-left: 6px solid var(--gold); box-shadow: var(--shadow); }
.offer-eyebrow { margin: 0 0 .2rem; font: 600 1.35rem/1 Caveat, cursive; color: #A8452F; }
.offer-label { margin: 0; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.offer h3 { margin: .25rem 0 .45rem; font-size: 1.3rem; }
.offer p { margin: 0 0 .8rem; }
.offer-btn { min-height: 50px; }
.offer-note { margin: .7rem 0 0 !important; font-size: .82rem; color: var(--muted); }
.offer-small { padding: .9rem 1rem; border-left-width: 4px; box-shadow: none; }
.offer-small h3 { font-size: 1.1rem; }
.offer-small p { font-size: .95rem; }
.offer-small .offer-btn { min-height: 44px; font-size: .95rem; padding: .55rem 1.1rem; }

.ty-hero { margin: 1rem 0 1.5rem; padding: 1.3rem; border-radius: 20px; background: linear-gradient(160deg, #fff, var(--mint));
  border: 2px solid var(--green); }
.ty-check { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; font-weight: 700; color: var(--green); }
.ty-check::before { content: ""; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.ty-files { display: grid; gap: .6rem; margin: .8rem 0; }
@media (min-width: 640px) { .ty-files { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.ty-files .btn { min-height: 52px; }
.ty-steps ol { padding-left: 1.3rem; }
.ty-steps li { margin: .5rem 0; }
.ty-next { margin: 1.6rem 0 2rem; }
.ty-next-h { margin: 0 0 .2rem; font-size: 1.25rem; }
.ty-next .offer:not(.offer-small) { border: 2px solid var(--green); border-left: 6px solid var(--gold); margin-top: .7rem; }
.ty-mail { margin: .7rem 0 0; font-size: .9rem; color: #33413F; }
.ty-art { width: 100%; max-width: 300px; margin: 0 auto .6rem; filter: drop-shadow(0 12px 18px rgba(29,43,42,.18)); }
@media (max-width: 759px) { .ty-art { max-width: 150px; margin-bottom: .3rem; } }
@media (min-width: 760px) { .ty-hero { display: grid; grid-template-columns: 1fr 260px; column-gap: 1.5rem; } .ty-art { grid-column: 2; grid-row: 1 / span 8; align-self: center; } .ty-hero > :not(.ty-art) { grid-column: 1; } }
.ty-files .btn { font-size: 1.1rem; }
.ty-sheets { margin: .8rem 0 .4rem; font-size: .95rem; }
.ty-hero .dl { gap: .45rem; }
.ty-hero .dl .btn { min-height: 44px; font-size: .9rem; padding: .45rem .85rem; }
