/* BookNuggets.com v3 - Warm Educator Storybook Design + Laser-Aligned Grids + High-Conversion Amazon CTAs */
:root {
  --plum: #5B3A70;
  --plum-dark: #3F2652;
  --plum-soft: #F3EDF8;
  --sage: #3D6B59;
  --sage-dark: #294B3E;
  --sage-soft: #ECF4F0;
  --maroon: #7A2E45;
  --maroon-dark: #581F31;
  --maroon-soft: #FBEFF2;
  --amber: #C46D15;
  --amber-dark: #9D540C;
  --amber-soft: #FDF3E7;
  --butter: #F6EFE2;
  --canvas: #FBF8F3;
  --surface: #FFFFFF;
  --ink: #25222D;
  --ink-muted: #555063;
  --border: #E5DCD2;
  --border-soft: #EFE8DF;
  --shadow-sm: 0 4px 14px rgba(63, 38, 82, 0.05);
  --shadow-md: 0 12px 30px rgba(63, 38, 82, 0.10);
  --radius: 20px;
  --radius-sm: 13px;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Palatino Linotype", serif;
  color: var(--ink);
  line-height: 1.24;
  margin-top: 0;
  font-weight: 700;
}
h1 { font-size: clamp(1.95rem, 3.6vw, 2.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin-bottom: 0.7rem; }
h3 { font-size: 1.18rem; margin-bottom: 0.45rem; }
p { margin-top: 0; margin-bottom: 1rem; color: var(--ink); }
a { color: var(--plum); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.4rem 0; }
.section-tight { padding: 2.3rem 0; }
.section-butter { background: var(--butter); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-sage-tint { background: var(--sage-soft); border-top: 1px solid #D3E4DC; border-bottom: 1px solid #D3E4DC; }
.section-maroon-tint { background: #FAF1F4; border-top: 1px solid #EBD4DC; border-bottom: 1px solid #EBD4DC; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 248, 243, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.42rem;
  color: var(--plum-dark);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; box-shadow: 0 4px 10px rgba(91,58,112,0.18); }
.brand-sub {
  display: block;
  font-family: "Nunito", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--maroon);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  transition: background 0.16s ease, color 0.16s ease;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--plum-soft);
  color: var(--plum-dark);
  text-decoration: none;
}
.nav-cta {
  background: var(--plum) !important;
  color: #FFFFFF !important;
  padding: 0.52rem 1.05rem !important;
  box-shadow: 0 4px 12px rgba(91, 58, 112, 0.2);
}
.nav-cta:hover { background: var(--plum-dark) !important; }

.menu-toggle {
  display: none;
  background: var(--surface);
  color: var(--plum-dark);
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 0.35rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 2px solid var(--border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.3rem;
    gap: 0.45rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 0.6rem 0.85rem; }
  .nav-cta { text-align: center; margin-top: 0.35rem; }
}

.storybook-hero {
  background: linear-gradient(135deg, #F4EDF8 0%, #FBF8F3 52%, #EDF5F0 100%);
  padding: 3.1rem 0 2.9rem;
  border-bottom: 1px solid var(--border);
}
.storybook-hero-sub {
  background: linear-gradient(180deg, #F3EDF8 0%, #FBF8F3 100%);
  padding: 2.3rem 0 1.65rem;
  border-bottom: 1px solid var(--border);
}
.hero-split {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 2.6rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 2rem; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: var(--surface);
  border: 1.5px solid #C5DDD2;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.95rem;
}
.eyebrow-maroon {
  color: var(--maroon-dark);
  border-color: #E3BAC7;
  background: #FFFFFF;
}
.hero-left-lead {
  font-size: 1.08rem;
  color: var(--ink-muted);
  max-width: 62ch;
  margin: 0 0 1.35rem;
}

.hero-bookshelf-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 26px;
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow-md);
}
.hero-book-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  align-items: end;
  padding: 1rem 0.75rem 0.95rem;
  background: linear-gradient(180deg, var(--butter) 0%, #EFE4D2 100%);
  border-radius: 18px;
  border-bottom: 6px solid #D3BFA4;
  margin-bottom: 1rem;
}
.hero-book-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.18s ease;
}
.hero-book-item:hover { transform: translateY(-4px); text-decoration: none; }
.hero-book-item img {
  width: 100%;
  max-width: 112px;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(37, 34, 45, 0.22);
  background: var(--plum-soft);
}
.hero-book-item span {
  margin-top: 0.5rem;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--plum-dark);
  text-align: center;
  line-height: 1.2;
}
.hero-quote-strip {
  border-left: 4px solid var(--maroon);
  padding-left: 0.9rem;
}
.hero-quote-strip blockquote {
  margin: 0 0 0.2rem;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 0.98rem;
  color: var(--plum-dark);
}
.hero-quote-strip span {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--maroon);
}

.quick-stage-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.45rem;
}
.stage-pill {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.42rem 0.88rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, border-color 0.16s ease, background 0.16s ease;
}
.stage-pill:hover {
  transform: translateY(-2px);
  border-color: var(--plum);
  background: var(--plum-soft);
  color: var(--plum-dark);
  text-decoration: none;
}
.stage-pill-sn {
  border-color: #DFB5C2;
  background: var(--maroon-soft);
  color: var(--maroon-dark);
}
.stage-pill-sn:hover {
  border-color: var(--maroon);
  background: var(--maroon);
  color: #FFFFFF;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.72rem; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.72rem 1.32rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.94rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.15;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--plum); color: #FFFFFF; box-shadow: 0 5px 14px rgba(91, 58, 112, 0.22); }
.btn-primary:hover { background: var(--plum-dark); }
.btn-sage { background: var(--sage); color: #FFFFFF; box-shadow: 0 5px 14px rgba(61, 107, 89, 0.2); }
.btn-sage:hover { background: var(--sage-dark); }
.btn-maroon { background: var(--maroon); color: #FFFFFF; box-shadow: 0 5px 14px rgba(122, 46, 69, 0.22); }
.btn-maroon:hover { background: var(--maroon-dark); }
.btn-outline { background: var(--surface); color: var(--plum-dark); border-color: #C7B6D5; }
.btn-outline:hover { background: var(--plum-soft); border-color: var(--plum); }

.btn-amazon {
  background: var(--amber);
  color: #FFFFFF !important;
  border-color: var(--amber);
  box-shadow: 0 5px 14px rgba(196, 109, 21, 0.28);
}
.btn-amazon:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: #FFFFFF !important;
}
.btn-sm { padding: 0.54rem 1.05rem; font-size: 0.87rem; }
.btn-block { width: 100%; }
.ext-icon { flex-shrink: 0; vertical-align: -2px; }

.affiliate-notice {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.affiliate-notice strong { color: var(--ink-muted); font-weight: 700; }
.affiliate-notice a { color: var(--plum); text-decoration: underline; font-weight: 700; }

.nugget-feature {
  background: var(--surface);
  border: 2px solid #D8C9E4;
  border-radius: 26px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.nugget-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--plum) 0%, var(--sage) 52%, var(--amber) 100%);
}
.nugget-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--border);
}
.nugget-badges { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.68rem;
  border-radius: 999px;
  letter-spacing: 0.015em;
  white-space: nowrap;
}
.badge-plum { background: var(--plum-soft); color: var(--plum-dark); }
.badge-sage { background: var(--sage-soft); color: var(--sage-dark); }
.badge-maroon { background: var(--maroon-soft); color: var(--maroon-dark); }
.badge-amber { background: var(--amber-soft); color: #874707; }
.badge-solid { background: var(--maroon); color: #FFFFFF; }
.week-date-stamp {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--plum-dark);
  background: var(--butter);
  border: 1px solid var(--border);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

.nugget-body {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 1.85rem;
  align-items: start;
}
@media (max-width: 740px) {
  .nugget-body { grid-template-columns: 1fr; }
  .nugget-cover-frame { max-width: 190px; }
}
.nugget-cover-frame {
  background: var(--butter);
  padding: 0.85rem;
  border-radius: 18px;
  border: 1.5px solid var(--border);
  text-align: center;
}
.nugget-cover-frame img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(37, 34, 45, 0.16);
}
.nugget-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.95rem;
  margin: 1.05rem 0 1.25rem;
}
@media (max-width: 900px) { .nugget-blocks { grid-template-columns: 1fr; } }
.nugget-box {
  border-radius: 16px;
  padding: 1rem 1.1rem;
  font-size: 0.93rem;
}
.nugget-box h4 {
  font-family: "Nunito", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.42rem;
}
.nugget-box p { margin: 0; font-size: 0.93rem; }
.box-plum { background: var(--plum-soft); border: 1px solid #DFD2EA; }
.box-plum h4 { color: var(--plum-dark); }
.box-sage { background: var(--sage-soft); border: 1px solid #C8DFD4; }
.box-sage h4 { color: var(--sage-dark); }
.box-maroon { background: var(--maroon-soft); border: 1px solid #ECCCD6; }
.box-maroon h4 { color: var(--maroon-dark); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.45rem; align-items: stretch; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; align-items: stretch; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.book-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.book-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.book-shelf-stage {
  height: 184px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--butter) 0%, #F1E6D4 100%);
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}
.book-shelf-stage::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16%;
  right: 16%;
  height: 5px;
  background: rgba(91, 58, 112, 0.13);
  border-radius: 999px;
}
.book-stage-cover {
  width: 104px;
  height: 148px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(37, 34, 45, 0.2);
  background: var(--plum-soft);
}

.book-card-content {
  padding: 1.15rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.book-card-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
  overflow: hidden;
  min-height: 26px;
  align-items: center;
}
.book-card-content h3 {
  font-size: 1.08rem;
  margin: 0 0 0.25rem;
  line-height: 1.28;
  min-height: 2.56em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-card-content h3 a { color: var(--ink); }
.book-card-content h3 a:hover { color: var(--plum); text-decoration: none; }
.book-author {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.book-summary {
  font-size: 0.91rem;
  color: var(--ink-muted);
  margin-bottom: 1.05rem;
  line-height: 1.55;
  flex-grow: 1;
  min-height: 4.65em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-card-actions {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.story-pillar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.pillar-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}
.icon-plum { background: var(--plum-soft); color: var(--plum); }
.icon-sage { background: var(--sage-soft); color: var(--sage); }
.icon-maroon { background: var(--maroon-soft); color: var(--maroon); }
.icon-butter { background: var(--butter); color: var(--plum-dark); }

.shelf-link-list { list-style: none; margin: 0.65rem 0 0; padding: 0; }
.shelf-link-list li { border-top: 1px dashed var(--border); }
.shelf-link-list li:first-child { border-top: none; }
.shelf-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.58rem 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.shelf-link-list a:hover { color: var(--plum); text-decoration: none; }
.shelf-link-list span.arrow { color: var(--maroon); font-weight: 800; }

.sn-stage-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1.5px solid #E8CDD6;
  border-top: 5px solid var(--maroon);
  border-radius: 20px;
  padding: 1.45rem;
  box-shadow: var(--shadow-sm);
}
.sn-stage-card p { font-size: 0.93rem; color: var(--ink-muted); flex-grow: 1; }
.sn-stage-card .sn-foot { margin-top: auto; padding-top: 0.8rem; }

.educator-letter {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 2.1rem 2.2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.educator-letter::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 7px;
  background: var(--sage);
  border-radius: 0 8px 8px 0;
}

.guide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 1.45rem;
  box-shadow: var(--shadow-sm);
}
.guide-card h3 { min-height: 2.5em; }
.guide-card p { font-size: 0.93rem; color: var(--ink-muted); flex-grow: 1; }
.guide-card .guide-foot {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin-bottom: 1.15rem;
}
.breadcrumb a { color: var(--plum); font-weight: 700; }
.book-detail-hero {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 2.2rem;
  align-items: start;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 760px) {
  .book-detail-hero { grid-template-columns: 1fr; }
  .book-detail-cover-wrap { max-width: 220px; }
}
.book-detail-cover-wrap {
  background: var(--butter);
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
}
.book-detail-cover {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(37, 34, 45, 0.18);
}
.coaching-panel {
  background: var(--surface);
  border: 2px solid #BFD8CD;
  border-radius: 24px;
  padding: 2rem;
  margin-top: 1.85rem;
  box-shadow: var(--shadow-sm);
}
.pause-list { margin: 0.5rem 0 0; padding-left: 1.25rem; }
.pause-list li { margin-bottom: 0.55rem; }

.filter-bar {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 1.35rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 860px) { .filter-bar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .filter-bar { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--plum-dark);
  margin-bottom: 0.35rem;
}
.field select, .field input[type="text"], .field input[type="search"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #D5C8DC;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #FFFFFF;
  color: var(--ink);
}
.field select:focus, .field input:focus {
  outline: 2px solid var(--plum);
  outline-offset: 1px;
}

.builder-output {
  background: var(--surface);
  border: 2px solid var(--plum);
  border-radius: 22px;
  padding: 1.85rem;
  box-shadow: var(--shadow-md);
}
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #FFFFFF; }
  .builder-output { border: 1px solid #999; box-shadow: none; }
}

.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: 16px; border: 1.5px solid var(--border); }
table.guide-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 0.93rem; }
table.guide-table th {
  background: var(--plum-soft);
  color: var(--plum-dark);
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 2px solid var(--border);
}
table.guide-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}

details.faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.8rem;
}
details.faq-item summary {
  font-weight: 800;
  color: var(--plum-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
details.faq-item summary::after { content: "+"; font-size: 1.25rem; color: var(--sage); font-weight: 800; }
details.faq-item[open] summary::after { content: "-"; }
details.faq-item p { margin: 0.75rem 0 0; color: var(--ink-muted); font-size: 0.94rem; }

.nugget-archive-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.nugget-archive-card.active-week {
  border: 2.5px solid var(--maroon);
  background: #FFFCFD;
  box-shadow: var(--shadow-md);
}
.nugget-archive-card p { font-size: 0.9rem; color: var(--ink-muted); }

.site-footer {
  background: var(--plum-dark);
  color: #EAE3F0;
  padding: 3.1rem 0 2.1rem;
  margin-top: 3rem;
}
.site-footer a { color: #E4D8F0; }
.site-footer a:hover { color: #FFFFFF; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  margin-bottom: 0.85rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; font-size: 0.91rem; }

.footer-tools-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.4rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.89rem;
}
.footer-tools-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.footer-bio {
  padding-top: 1.35rem;
  font-size: 0.86rem;
  color: #D7CCE2;
  line-height: 1.65;
}
.footer-bio p { color: #D7CCE2; margin-bottom: 0.7rem; }
.footer-copy { font-size: 0.81rem; color: #B9AAC9; margin-bottom: 0; }

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.45rem;
}
.section-header p { margin: 0; color: var(--ink-muted); max-width: 66ch; }
.callout-tip {
  background: var(--sage-soft);
  border: 1px solid #C5DDD2;
  border-left: 5px solid var(--sage);
  padding: 1.05rem 1.25rem;
  border-radius: 14px;
  margin: 1.15rem 0;
}
.callout-maroon {
  background: var(--maroon-soft);
  border: 1px solid #ECCAD4;
  border-left: 5px solid var(--maroon);
  padding: 1.05rem 1.25rem;
  border-radius: 14px;
  margin: 1.15rem 0;
}
