/* PrintCalendars — vibrant visual identity v2 (see BRAND.md).
   Self-hosted fonts, no frameworks, no JS. Fast static CSS. */
@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --coral: #ff5a5f;
  --pink: #ff4d8d;
  --violet: #7c5cff;
  --sunny: #ffc53d;
  --teal: #00b8a9;
  --sky: #2e9bff;
  --ink: #26233d;
  --ink-soft: #4d4a63;
  --muted: #6e6b85;
  --cream: #fff8ec;
  --card: #ffffff;
  --line: #f0e6d4;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(38, 35, 61, 0.09);
  --shadow-lift: 0 14px 32px rgba(38, 35, 61, 0.16);
  --brand-grad: linear-gradient(120deg, #ff5a5f 0%, #ff4d8d 38%, #7c5cff 72%, #00b8a9 100%);
  /* default (brand) month accent — overridden per month page/card */
  --m-accent: #ff5a5f;
  --m-accent-ink: #b3124f;
  --m-tint: #ffe9eb;
  --m-btn-text: #ffffff;
}

/* per-month accents — usable on <body> and on .month-card */
.m-january  { --m-accent: #2e9bff; --m-accent-ink: #0b5cad; --m-tint: #e3f2ff; }
.m-february { --m-accent: #ff4d6d; --m-accent-ink: #c2183f; --m-tint: #ffe7ec; }
.m-march    { --m-accent: #22b573; --m-accent-ink: #0e7a4d; --m-tint: #e2f7ec; }
.m-april    { --m-accent: #9b7ede; --m-accent-ink: #6a4fc0; --m-tint: #efeaff; }
.m-may      { --m-accent: #f23d7f; --m-accent-ink: #b3124f; --m-tint: #ffe3ee; }
.m-june     { --m-accent: #ffb800; --m-accent-ink: #8a6300; --m-tint: #fff4cc; --m-btn-text: #26233d; }
.m-july     { --m-accent: #e63b2e; --m-accent-ink: #a81f16; --m-tint: #ffe4e0; }
.m-august   { --m-accent: #ff7a1a; --m-accent-ink: #b64e00; --m-tint: #ffeeda; }
.m-september{ --m-accent: #e8a100; --m-accent-ink: #8a6100; --m-tint: #fff1cf; --m-btn-text: #26233d; }
.m-october  { --m-accent: #e85d04; --m-accent-ink: #9c3d00; --m-tint: #ffe8d6; }
.m-november { --m-accent: #b4451f; --m-accent-ink: #7a2d12; --m-tint: #f9e3d8; }
.m-december { --m-accent: #c81e3a; --m-accent-ink: #8a1024; --m-tint: #fbe3e7; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--cream);
}
h1, h2, h3, .brand-text { font-family: "Fredoka", "Nunito", sans-serif; }
a { color: var(--coral); }
a:hover { color: var(--pink); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--sunny); color: var(--ink); }

/* rainbow strip on top of every page */
.top-strip { height: 6px; background: var(--brand-grad); }

/* header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 12px rgba(38, 35, 61, 0.05); }
.site-header .wrap { max-width: 1180px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; padding: 0.55rem 0; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.brand-text { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.brand-text .w-print { color: var(--coral); }
.brand-text .w-cal { color: var(--violet); }
.brand-text .w-dot { color: var(--sunny); }
.main-nav { display: flex; flex-wrap: wrap; gap: 0.15rem; font-size: 0.93rem; font-weight: 700; }
.main-nav a { color: var(--ink-soft); text-decoration: none; padding: 0.35rem 0.6rem; border-radius: 999px; }
.main-nav a:hover { background: var(--m-tint); color: var(--m-accent-ink); }
.main-nav a.active { background: var(--m-accent-ink); color: #fff; }

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }
main .wrap { padding-top: 0; padding-bottom: 3rem; }

/* hero (hub) */
.hero {
  text-align: center;
  padding: 3rem 1.5rem 2.6rem;
  margin: 0 -20px 0.5rem;
  background: var(--brand-grad);
  color: #fff;
  border-radius: 0 0 28px 28px;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.hero::before { width: 220px; height: 220px; top: -110px; left: -60px; }
.hero::after { width: 300px; height: 300px; bottom: -190px; right: -80px; }
.hero h1 { font-size: 2.5rem; line-height: 1.15; margin: 0 0 0.7rem; font-weight: 700; position: relative; }
.hero p { color: rgba(255, 255, 255, 0.94); max-width: 660px; margin: 0 auto; font-size: 1.12rem; position: relative; }
.hero .badges { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; position: relative; }
.badge { background: rgba(255, 255, 255, 0.94); color: var(--ink); border-radius: 999px; padding: 0.35rem 1rem; font-size: 0.92rem; font-weight: 800; box-shadow: 0 2px 8px rgba(38, 35, 61, 0.15); }
.badge.hot { background: var(--sunny); color: var(--ink); }

/* month hero band (month pages) */
.month-hero {
  padding: 2.2rem 1.6rem 2rem;
  margin: 0 -20px 1.6rem;
  background: linear-gradient(125deg, var(--m-accent) 0%, var(--m-accent-ink) 100%);
  color: #fff;
  border-radius: 0 0 28px 28px;
  position: relative;
  overflow: hidden;
}
.month-hero::before, .month-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}
.month-hero::before { width: 200px; height: 200px; top: -100px; right: -40px; }
.month-hero::after { width: 150px; height: 150px; bottom: -90px; left: 8%; }
.month-hero .breadcrumb, .month-hero h1, .month-hero .lede, .month-hero .facts { position: relative; }
.month-hero .breadcrumb { color: rgba(255, 255, 255, 0.85); }
.month-hero .breadcrumb a { color: #fff; }
.month-hero h1 { font-size: 2.1rem; line-height: 1.2; margin: 0.3rem 0 0.6rem; font-weight: 700; }
.month-hero .lede { color: rgba(255, 255, 255, 0.95); font-size: 1.1rem; margin: 0 0 0.9rem; max-width: 760px; }
.month-hero .facts {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-weight: 700;
  font-size: 0.98rem;
  margin: 0;
}
/* June & September: dark text on the sunny hero (white fails contrast on yellow) */
body.m-june .month-hero, body.m-september .month-hero { color: var(--ink); }
body.m-june .month-hero .breadcrumb, body.m-september .month-hero .breadcrumb,
body.m-june .month-hero .lede, body.m-september .month-hero .lede { color: rgba(38, 35, 61, 0.85); }
body.m-june .month-hero .breadcrumb a, body.m-september .month-hero .breadcrumb a { color: var(--ink); }
body.m-june .month-hero .facts, body.m-september .month-hero .facts {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(38, 35, 61, 0.35);
}

/* month grid (hub) */
.month-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin: 1.4rem 0 2rem; }
.month-card {
  border: 1px solid var(--line);
  border-top: 6px solid var(--m-accent);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
}
.month-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--m-accent); }
.month-card .m-initial {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--m-accent-ink); color: #fff;
  font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1.35rem;
  margin-bottom: 0.6rem;
}
body.m-june .m-initial, body.m-september .m-initial,
.m-june .m-initial, .m-september .m-initial { color: var(--ink); background: var(--m-accent); }
.month-card h3 { margin: 0 0 0.2rem; font-size: 1.22rem; font-weight: 600; }
.month-card p { margin: 0 0 0.7rem; color: var(--muted); font-size: 0.94rem; }
.month-card .cta { color: var(--m-accent-ink); font-weight: 800; font-size: 0.94rem; }
.month-card.soon { opacity: 0.75; }
.month-card.soon .cta { color: var(--muted); font-weight: 400; }

/* design cards (month pages) */
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin: 1.2rem 0 2.2rem; }
.design-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.design-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.design-card img { width: 100%; border-bottom: 1px solid var(--line); background: #fff; }
.design-body { padding: 1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.design-body h2 { margin: 0; font-size: 1.18rem; font-weight: 600; }
.design-body p { margin: 0; color: var(--muted); font-size: 0.96rem; flex: 1; }
.tag {
  align-self: flex-start;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.02em;
  padding: 0.2rem 0.7rem; border-radius: 999px;
  background: var(--m-tint); color: var(--m-accent-ink);
}
.tag-simple { background: #e8eaf6; color: #37474f; }
.tag-floral { background: #fce4ec; color: #c2185b; }
.tag-kids { background: #fff3c4; color: #7a5c00; }
.tag-elegant { background: #f5eedd; color: #6b4e1e; }
.tag-minimal { background: #f1f1f1; color: #616161; }
.tag-large-print { background: #e3f2fd; color: #0d47a1; }
.tag-monday-start { background: #e0f2f1; color: #00695c; }
.tag-with-notes { background: #ede7f6; color: #5e35b1; }
.tag-mothers-day { background: #fce4ec; color: #ad1457; }
.tag-blank { background: #f5f5f5; color: #616161; }
.tag-nature { background: #e8f5e9; color: #2e7d32; }
.tag-landscape { background: #eceff1; color: #37474f; }
.dl-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.3rem; }
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent-ink));
  color: var(--m-btn-text);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(38, 35, 61, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(38, 35, 61, 0.22); color: var(--m-btn-text); }
.btn.secondary {
  background: #fff;
  color: var(--m-accent-ink);
  border: 2px solid var(--m-accent);
  box-shadow: none;
}
.btn.secondary:hover { background: var(--m-tint); color: var(--m-accent-ink); }
/* June & September: solid sunny buttons with dark ink text */
body.m-june .btn, body.m-september .btn { background: var(--m-accent); }
body.m-june .btn.secondary, body.m-september .btn.secondary { background: #fff; }

/* content sections */
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0.4rem 0 0.7rem; }
h2.section {
  font-size: 1.45rem; font-weight: 600; margin: 2.2rem 0 0.7rem;
  padding-bottom: 0.45rem; position: relative;
}
h2.section::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 52px; height: 5px; border-radius: 999px;
  background: linear-gradient(90deg, var(--m-accent), var(--m-accent-ink));
}
.lede { font-size: 1.08rem; color: var(--ink-soft); }
table.holidays { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0.9rem 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
table.holidays th, table.holidays td { text-align: left; padding: 0.65rem 0.85rem; }
table.holidays th { background: var(--m-accent-ink); color: #fff; font-family: "Fredoka", sans-serif; font-weight: 600; letter-spacing: 0.01em; }
table.holidays td { background: #fff; border-bottom: 1px solid var(--line); }
table.holidays tr:nth-child(even) td { background: var(--m-tint); }
table.holidays tr:last-child td { border-bottom: none; }
ol.steps { padding-left: 0; list-style: none; counter-reset: step; }
ol.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.55rem 0 0.55rem 3rem;
  margin-bottom: 0.35rem;
}
ol.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0.45rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--brand-grad);
  color: #fff; font-family: "Fredoka", sans-serif; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
ul.ticks { padding-left: 1.3rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow);
}
.faq-item summary { cursor: pointer; font-weight: 800; font-size: 1.02rem; color: var(--ink); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+ "; color: var(--coral); font-weight: 800; }
.faq-item[open ] summary::before { content: "– "; }
.faq-item h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.faq-item p { margin: 0.45rem 0 0; color: var(--muted); }
.month-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 2px dashed var(--line); }
.month-nav a {
  font-weight: 800; text-decoration: none;
  border: 2px solid var(--m-accent);
  color: var(--m-accent-ink);
  padding: 0.55rem 1.1rem; border-radius: 999px; background: #fff;
}
.month-nav a:hover { background: var(--m-tint); }
.breadcrumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.2rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
footer.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.82); font-size: 0.93rem; border-top: 5px solid transparent; border-image: var(--brand-grad) 1; }
footer.site-footer .wrap { padding-top: 1.6rem; padding-bottom: 1.6rem; }
footer.site-footer strong { color: #fff; font-family: "Fredoka", sans-serif; }
footer.site-footer a { color: var(--sunny); text-decoration: none; }
footer.site-footer a:hover { color: #fff; text-decoration: underline; }

/* feature strip on the hub */
.feature-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0.5rem 0 1rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.feature h3 { margin: 0 0 0.25rem; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.feature .f-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 0.4rem; vertical-align: baseline; }

@media (max-width: 900px) {
  .main-nav { font-size: 0.88rem; }
  .main-nav a { padding: 0.3rem 0.45rem; }
}
@media (max-width: 560px) {
  .hero { padding: 2.2rem 1rem 2rem; }
  .hero h1 { font-size: 1.75rem; }
  .month-hero h1 { font-size: 1.6rem; }
  h1 { font-size: 1.55rem; }
  .brand-text { font-size: 1.3rem; }
}

/* ---- Shining Mom structure: featured designs, bundle, gallery ---- */
.top-cta { margin-top: 1rem; }
.featured-design { background: #fff; border-radius: 16px; padding: 1.5rem;
  margin: 1.5rem 0; box-shadow: 0 2px 10px rgba(38,35,61,.07); }
.featured-design h2 { margin-top: 0; }
.featured-img { display: block; max-width: 460px; width: 100%; height: auto;
  margin: 1rem auto; border: 1px solid #eee; border-radius: 8px; }
.bundle { background: linear-gradient(135deg, #ff5a5f, #ff4d8d 45%, #7c5cff);
  color: #fff; border-radius: 18px; padding: 2rem 1.5rem; text-align: center;
  margin: 2rem 0; }
.bundle h2 { color: #fff; margin-top: 0; }
.bundle p { color: #fff; }
.bundle .fine { font-size: .85rem; opacity: .9; }
.btn-big { font-size: 1.1rem; padding: .9rem 1.6rem; }
.bundle .btn-big { background: #ffc53d; color: #26233d; border: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-card { background: #fff; border-radius: 12px; padding: .6rem;
  box-shadow: 0 2px 8px rgba(38,35,61,.06); }
.gallery-card img { width: 100%; height: auto; display: block;
  border: 1px solid #eee; border-radius: 6px; }
.gallery-card h3 { font-size: .95rem; margin: .5rem 0 .3rem; }
.dl-links { font-size: .85rem; }
.dl-links a { color: #e63b2e; font-weight: 700; }
.freebies { columns: 2; list-style: none; padding: 0; }
.freebies li { margin: .3rem 0; }
.freebies a { font-weight: 700; }
.closing { text-align: center; font-size: 1.1rem; font-weight: 700;
  margin: 2rem 0 1rem; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .freebies { columns: 1; }
  .featured-design { padding: 1rem; }
}

/* supporting pages: year calendar + planners */
.m-year, .m-planner { --m-accent: #7c5cff; --m-accent-ink: #5a3fd4; --m-tint: #efeaff; }
.plan-links { background: var(--m-tint); border-radius: 10px; padding: .7rem 1rem; }
.year-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.4rem 0 2rem; }
.mini-cal { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem 1rem; }
.mini-cal h3 { margin: 0 0 .5rem; font-size: 1.05rem; text-align: center; }
.mini-cal h3 a { text-decoration: none; }
.mini-cal table { width: 100%; border-collapse: collapse; font-size: .88rem; text-align: center; }
.mini-cal th { color: var(--ink-soft); font-size: .78rem; padding: .15rem 0; }
.mini-cal td { padding: .18rem 0; }
.mini-cal td.sun { color: var(--coral); }
.mini-cal td.hol { color: var(--m-accent-ink); font-weight: 800; }
@media (max-width: 900px) { .year-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .year-grid { grid-template-columns: 1fr; } }
