﻿/* =========================================================
   MEED HOOPS LAB — INDEX ONLY
   Safe overrides (styles.css stays shared across other pages)
========================================================= */

body.home-page .page-wrapper {
  max-width: var(--layout-max-desktop);
}

body.home-page .module-main {
  margin-top: 10px;
}

/* ---------------------------------------------------------
   HERO: Workout Builder CTA (slightly more premium)
--------------------------------------------------------- */

body.home-page .hero-actions .btn-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  gap: 8px;
  cursor: pointer;

  background:
    radial-gradient(circle at 0 0, rgba(34,197,94,0.33), rgba(2,6,23,0.78)),
    linear-gradient(180deg, rgba(2,6,23,0.25), rgba(2,6,23,0.55));
  color: #dcfce7;
  border: 1px solid rgba(74,222,128,0.70);
  box-shadow:
    0 18px 32px rgba(15,23,42,0.90),
    0 0 0 1px rgba(15,23,42,0.96);
  transition: transform 140ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
}

body.home-page .hero-actions .btn-tool::before {
  content: "🧾";
  font-size: 0.92rem;
  opacity: 0.95;
}

body.home-page .hero-actions .btn-tool:hover {
  transform: translateY(-1px);
  border-color: rgba(74,222,128,0.95);
  box-shadow:
    0 22px 40px rgba(15,23,42,0.95),
    0 0 0 1px rgba(34,197,94,0.35);
}

/* ---------------------------------------------------------
   MINI "START HERE" ROW (below hero CTAs)
--------------------------------------------------------- */

.start-here {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.start-pill {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;

  background: rgba(2,6,23,0.52);
  border: 1px solid rgba(148,163,184,0.28);
  box-shadow:
    0 14px 26px rgba(15,23,42,0.85),
    0 0 0 1px rgba(15,23,42,0.92);

  transition: transform 140ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
  min-width: 0;
}

.start-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(129,140,248,0.55);
  box-shadow: 0 18px 30px rgba(15,23,42,0.92);
}

.start-pill-k {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(165,243,252,0.92);
  white-space: nowrap;
}

.start-pill-v {
  font-size: 0.86rem;
  font-weight: 800;
  color: rgba(229,237,255,0.98);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .start-pill {
    width: 100%;
    justify-content: space-between;
  }
}

/* ---------------------------------------------------------
   HOW TO BUILD YOUR WEEK (details/summary + grid)
--------------------------------------------------------- */

.plan-wrap {
  margin-top: 10px;
}

.plan-head {
  margin: 0 0 10px;
  padding: 0 2px;
}

.plan-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(165,243,252,0.95);
  margin-bottom: 6px;
}

.plan-heading {
  margin: 0 0 6px;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(229,237,255,0.98);
}

.plan-lead {
  margin: 0;
  color: var(--meed-text-soft);
  font-size: 0.86rem;
  line-height: 1.45;
  max-width: 980px;
}

.plan-strip {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* details card base */
.plan-card {
  border-radius: 18px;
  padding: 0;
  background: rgba(2,6,23,0.58);
  border: 1px solid rgba(148,163,184,0.28);
  box-shadow:
    0 20px 38px rgba(15,23,42,0.92),
    0 0 0 1px rgba(15,23,42,0.96);
  overflow: hidden;
  min-width: 0; /* IMPORTANT: fixes weird wrapping in grid children */
}

.plan-card[open] .plan-chevron {
  transform: rotate(180deg);
}

.plan-summary {
  list-style: none;
  cursor: default;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "k c"
    "t c";
  gap: 2px 10px;
  padding: 12px 12px 10px;
  align-items: center;
  background: rgba(2,6,23,0.42);
  border-bottom: 1px solid rgba(148,163,184,0.16);
}

.plan-summary::-webkit-details-marker {
  display: none;
}

.plan-kicker {
  grid-area: k;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(165,243,252,0.95);
  margin: 0;
}

.plan-title {
  grid-area: t;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(229,237,255,0.98);
  margin: 0;
  font-size: 0.90rem;
  min-width: 0;
}

.plan-chevron {
  grid-area: c;
  color: rgba(199,210,254,0.88);
  font-size: 1rem;
  transition: transform 180ms ease-out;
}

.plan-body {
  padding: 12px;
  min-width: 0;
}

.plan-desc {
  margin: 0 0 10px;
  color: var(--meed-text-soft);
  font-size: 0.84rem;
  line-height: 1.42;
}

.plan-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 10px;
  min-width: 0;
}

.plan-metric {
  border-radius: 14px;
  padding: 8px 10px;
  background: rgba(2,6,23,0.44);
  border: 1px solid rgba(148,163,184,0.18);
  min-width: 0;
}

.plan-metric span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(199,210,254,0.88);
  margin-bottom: 4px;
}

.plan-metric strong {
  display: block;
  font-size: 0.86rem;
  color: rgba(229,237,255,0.98);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.plan-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.plan-bullets li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr); /* IMPORTANT: prevents narrow text column */
  gap: 8px;
  align-items: start;
  color: var(--meed-text-soft);
  font-size: 0.82rem;
  line-height: 1.35;
  min-width: 0;
}

.plan-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(94,234,212,0.95);
  margin-top: 6px;
  box-shadow: 0 0 0 2px rgba(94,234,212,0.15);
}

/* ---------------------------------------------------------
   CORE PLAN CARD — formatting fix
--------------------------------------------------------- */

/* Only target Core Plan (01) */
.plan-card:first-child .plan-body {
  max-width: 100%;
}

/* Fix broken bullet wrapping */
.plan-card:first-child .plan-bullets {
  margin-top: 10px;
}

.plan-card:first-child .plan-bullets li {
  display: block;                 /* kill grid/flex inheritance */
  max-width: 100%;
  line-height: 1.45;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

/* Ensure bullet dot stays aligned */
.plan-card:first-child .plan-dot {
  margin-top: 6px;
}

/* Optional: slightly tighten vertical rhythm */
.plan-card:first-child .plan-bullets li + li {
  margin-top: 6px;
}

.week-intro {
  margin: 6px 0 10px;
  font-size: 0.85rem;
  color: rgba(226,232,240,0.9);
}

/* Desktop behavior: details are open and look like cards.
   The summary still exists but isn't meant to be "clicked" on desktop. */
@media (min-width: 1025px) {
  .plan-summary {
    cursor: default;
  }
  .plan-chevron {
    opacity: 0.35;
  }
}

/* Mobile accordion behavior */
@media (max-width: 1024px) {
  .plan-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-summary {
    cursor: pointer;
  }

  .plan-chevron {
    opacity: 0.95;
  }

  .plan-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ---------------------------------------------------------
   EXAMPLE WEEK (mini grid)
--------------------------------------------------------- */

.week-sample {
  margin-top: 12px;
  border-radius: 18px;
  padding: 0px;
  background: rgba(2, 6, 23, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.90),
    0 0 0 1px rgba(15, 23, 42, 0.94);
}

.week-head {
  margin-bottom: 10px;
  min-width: 0;
}

.week-eyebrow {
  font-size: 0.70rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(165,243,252,0.95);
  margin-bottom: 6px;
}

.week-title {
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(229,237,255,0.98);
  margin-bottom: 6px;
}

.week-note {
  color: var(--meed-text-soft);
  font-size: 0.84rem;
  line-height: 1.4;
  max-width: 980px;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.day {
  border-radius: 16px;
  padding: 10px;
  background: rgba(2,6,23,0.44);
  border: 1px solid rgba(148,163,184,0.18);
  min-width: 0;
}

.day.is-rest {
  border-color: rgba(74,222,128,0.35);
  box-shadow: 0 0 0 1px rgba(74,222,128,0.12);
}

.day-name {
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(229,237,255,0.95);
  margin-bottom: 8px;
}

.day-chip {
  display: block;
  padding: 7px 9px;
  border-radius: 12px;
  font-size: 0.78rem;
  color: rgba(229,237,255,0.92);
  background: rgba(15,23,42,0.62);
  border: 1px solid rgba(148,163,184,0.14);
  margin-bottom: 6px;
  line-height: 1.25;
  min-width: 0;
}

.day-chip:last-child {
  margin-bottom: 0;
}

/* chip accents (subtle, premium) */
.chip-core {
  border-color: rgba(56,189,248,0.30);
  background: rgba(37,99,235,0.22);
}

.chip-skill {
  border-color: rgba(129,140,248,0.30);
  background: rgba(99,102,241,0.18);
}

.chip-team {
  border-color: rgba(148,163,184,0.22);
  background: rgba(2,6,23,0.42);
}

.chip-film {
  border-color: rgba(94,234,212,0.28);
  background: rgba(20,184,166,0.14);
}

.chip-rec {
  border-color: rgba(251,191,36,0.25);
  background: rgba(245,158,11,0.12);
}

.chip-rest {
  border-color: rgba(74,222,128,0.35);
  background: rgba(34,197,94,0.14);
}

.week-foot {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--meed-text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
  min-width: 0;
}

.week-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(94,234,212,0.95);
  margin-top: 6px;
  box-shadow: 0 0 0 2px rgba(94,234,212,0.14);
}

/* responsive: make it scrollable on small screens instead of crushing columns */
@media (max-width: 1024px) {
  .week-grid {
    grid-template-columns: repeat(7, minmax(220px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .day {
    scroll-snap-align: start;
  }

  .week-grid::-webkit-scrollbar {
    height: 10px;
  }
}

.plan-divider {
  height: 10px;
}

/* ---------------------------------------------------------
   Workout Builder feature section (home page)
--------------------------------------------------------- */

.wb-feature {
  margin-top: 14px;
}

.wb-feature-card {
  border-radius: 26px;
  padding: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.12), transparent 46%),
    radial-gradient(circle at 100% 0, rgba(34, 197, 94, 0.12), transparent 50%),
    linear-gradient(135deg, rgba(2,6,23,0.92), rgba(15,23,42,0.92));
  border: 1px solid rgba(148,163,184,0.40);
  box-shadow:
    0 26px 50px rgba(15,23,42,0.92),
    0 0 0 1px rgba(15,23,42,0.96);

  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
}

.wb-feature-left {
  padding: 6px 6px 10px;
  min-width: 0;
}

.wb-kicker {
  margin: 0 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a5f3fc;
}

.wb-title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wb-sub {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--meed-text-soft);
  line-height: 1.45;
  max-width: 760px;
}

.wb-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
}

.wb-point {
  border-radius: 16px;
  padding: 10px 10px 11px;
  background: rgba(2,6,23,0.55);
  border: 1px solid rgba(148,163,184,0.26);
  box-shadow:
    0 14px 26px rgba(15,23,42,0.85),
    0 0 0 1px rgba(15,23,42,0.92);
}

.wb-point-title {
  font-weight: 800;
  color: #e5edff;
  margin-bottom: 4px;
  font-size: 0.90rem;
}

.wb-point-sub {
  color: var(--meed-text-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.wb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  align-items: center;
}

.wb-btn-primary,
.wb-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.86rem;
  text-decoration: none;
  gap: 8px;
  transition: transform 140ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
}

.wb-btn-primary {
  color: #052e16;
  font-weight: 900;
  border: 1px solid rgba(74,222,128,0.75);
  background:
    radial-gradient(circle at 0 0, rgba(74,222,128,0.85), rgba(34,197,94,0.70)),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.00));
  box-shadow:
    0 18px 34px rgba(15,23,42,0.92),
    0 0 0 1px rgba(15,23,42,0.96);
}

.wb-btn-primary::before {
  content: "🧾";
  font-size: 0.95rem;
}

.wb-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 22px 42px rgba(15,23,42,0.95),
    0 0 0 1px rgba(74,222,128,0.35);
}

.wb-btn-ghost {
  color: #e5edff;
  border: 1px solid rgba(148,163,184,0.40);
  background: rgba(2,6,23,0.55);
}

.wb-btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(129,140,248,0.65);
  box-shadow: 0 14px 26px rgba(15,23,42,0.92);
}

/* structured workflow block */
.wb-micro {
  margin: 12px 0 0;
  border-radius: 16px;
  padding: 10px 10px 11px;
  background: rgba(2,6,23,0.48);
  border: 1px solid rgba(148,163,184,0.22);
}

.wb-micro-title {
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: rgba(229,237,255,0.95);
  margin-bottom: 8px;
}

.wb-micro-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.wb-micro-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--meed-text-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.wb-micro-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(74,222,128,0.95);
  margin-top: 6px;
  box-shadow: 0 0 0 2px rgba(74,222,128,0.14);
}

.wb-feature-right {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

/* ---------------------------------------------------------
   WEEK LEGEND (Core / Skill / Team / Film / Recovery)
--------------------------------------------------------- */

.week-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  margin: 8px 0 10px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(2,6,23,0.40);
  border: 1px solid rgba(148,163,184,0.16);
}

.leg-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(229,237,255,0.92);
  letter-spacing: 0.02em;
}

.leg-swatch {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  border: 1px solid rgba(148,163,184,0.20);
  background: rgba(15,23,42,0.55);
}

/* match chip accents */
.leg-item.core .leg-swatch { background: rgba(37,99,235,0.28); border-color: rgba(56,189,248,0.30); }
.leg-item.skill .leg-swatch { background: rgba(99,102,241,0.22); border-color: rgba(129,140,248,0.30); }
.leg-item.team .leg-swatch { background: rgba(2,6,23,0.45); border-color: rgba(148,163,184,0.22); }
.leg-item.film .leg-swatch { background: rgba(20,184,166,0.16); border-color: rgba(94,234,212,0.28); }
.leg-item.rec  .leg-swatch { background: rgba(245,158,11,0.14); border-color: rgba(251,191,36,0.25); }

/* ---------------------------------------------------------
   WORKOUT BUILDER MOCK (RESTORED)
   Fixes the "raw text list" look on the right column.
--------------------------------------------------------- */

.wb-mock {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(2,6,23,0.55);
  border: 1px solid rgba(148,163,184,0.22);
  box-shadow:
    0 18px 34px rgba(15,23,42,0.92),
    0 0 0 1px rgba(15,23,42,0.94);
}

.wb-mock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(2,6,23,0.62);
  border-bottom: 1px solid rgba(148,163,184,0.14);
}

.wb-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: 0.9;
}
.wb-dot--red { background: rgba(248,113,113,0.95); }
.wb-dot--yellow { background: rgba(251,191,36,0.95); }
.wb-dot--green { background: rgba(74,222,128,0.95); }

.wb-mock-title {
  margin-left: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(229,237,255,0.92);
  font-weight: 900;
}

.wb-mock-body {
  padding: 12px;
}

.wb-mock-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.wb-mock-pill {
  padding: 7px 0;
  border-radius: 999px;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(229,237,255,0.85);
  background: rgba(15,23,42,0.55);
  border: 1px solid rgba(148,163,184,0.14);
}

.wb-mock-pill.is-active {
  color: rgba(220,252,231,0.95);
  border-color: rgba(74,222,128,0.40);
  background: rgba(34,197,94,0.16);
  box-shadow: 0 0 0 1px rgba(74,222,128,0.10);
}

.wb-mock-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.wb-mock-panel {
  border-radius: 16px;
  padding: 10px;
  background: rgba(2,6,23,0.42);
  border: 1px solid rgba(148,163,184,0.16);
  min-width: 0;
}

.wb-mock-h {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(165,243,252,0.92);
  font-weight: 900;
  margin-bottom: 8px;
}

.wb-mock-line {
  height: 10px;
  border-radius: 999px;
  background: rgba(148,163,184,0.16);
  margin-bottom: 8px;
}
.wb-mock-line.short { width: 70%; }

.wb-mock-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 10px;
}

.wb-mock-chip {
  font-size: 0.70rem;
  letter-spacing: 0.08em;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.58);
  border: 1px solid rgba(148,163,184,0.14);
  color: rgba(229,237,255,0.82);
  white-space: nowrap;
}

.wb-mock-list {
  display: grid;
  gap: 8px;
}

.wb-mock-item {
  height: 14px;
  border-radius: 999px;
  background: rgba(148,163,184,0.16);
}
.wb-mock-item.short { width: 65%; }

.wb-mock-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(148,163,184,0.12);
}

.wb-mock-btn {
  border-radius: 999px;
  padding: 10px 12px;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: rgba(5,46,22,0.95);
  background: rgba(34,197,94,0.82);
  border: 1px solid rgba(74,222,128,0.55);
  box-shadow:
    0 14px 26px rgba(15,23,42,0.85),
    0 0 0 1px rgba(15,23,42,0.92);
}

.wb-mock-note {
  margin-top: 8px;
  font-size: 0.78rem;
  color: rgba(148,163,184,0.90);
  line-height: 1.3;
}


/* ---------------------------------------------------------
   EXAMPLE WEEK — accordion shell (matches plan cards)
--------------------------------------------------------- */

.week-acc {
  padding: 0; /* details wrapper handles padding via inner body */
}

.week-acc[open] .week-chevron {
  transform: rotate(180deg);
}

.week-summary {
  list-style: none;
  cursor: default;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "k c"
    "t c";
  gap: 2px 10px;
  padding: 12px 12px 10px;
  align-items: center;
  background: rgba(2,6,23,0.42);
  border-bottom: 1px solid rgba(148,163,184,0.14);
}

.week-summary::-webkit-details-marker {
  display: none;
}

.week-kicker {
  grid-area: k;
  font-size: 0.70rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(165,243,252,0.95);
}

.week-sumtitle {
  grid-area: t;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(229,237,255,0.98);
  font-size: 0.88rem;
  min-width: 0;
}

.week-chevron {
  grid-area: c;
  color: rgba(199,210,254,0.88);
  font-size: 1rem;
  transition: transform 180ms ease-out;
}

.week-acc-body {
  padding: 12px;
}


/* keep mock readable on narrow widths */
@media (max-width: 1024px) {
  .wb-mock-row {
    grid-template-columns: repeat(7, minmax(52px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .wb-mock-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


.home-divider {
  height: 10px;
}

@media (max-width: 1024px) {
  .wb-feature-card {
    grid-template-columns: minmax(0, 1fr);
  }
.wb-feature-left {
    order: 1;
  }
  .wb-feature-right {
    order: 2;
	margin-top: 14px;
  }

  .wb-points {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .wb-feature-card {
    padding: 14px;
  }

  .wb-title {
    letter-spacing: 0.03em;
  }
}
/* =========================================================
   MOBILE FIXES — HOME HERO + NAV + SCROLL HINTS
   (safe overrides, no deletions)
========================================================= */

/* HERO: prevent the right-side bullet card from stacking "on top" of the hero copy */
@media (max-width: 768px) {
  body.home-page .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  /* On mobile: keep main hero copy first, then the bullet aside */
  body.home-page .hero-aside {
    order: 2 !important;      /* overrides styles.css order:-1 */
    margin-top: 12px;
  }

  /* Ensure stacking never visually overlaps */
  body.home-page .hero-inner > * {
    position: relative;
    z-index: 1;
  }
}
/* =========================================================
   MOBILE UX: show that the Example Week grid scrolls
   ========================================================= */
@media (max-width: 1024px) {
  /* Visual hint text */
  .week-acc-body::before {
    content: "Swipe to scroll →";
    display: block;
    margin: 8px 0 10px;
    font-size: 0.82rem;
    color: rgba(199, 210, 254, 0.88);
    letter-spacing: 0.02em;
  }

  /* Encourage visible scrollbar behavior */
  .week-grid {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(56,189,248,0.75) rgba(15,23,42,0.55);
  }

  /* WebKit scrollbar styling (Chrome/Safari iOS may still be subtle, but this helps where supported) */
  .week-grid::-webkit-scrollbar {
    height: 10px;
  }
  .week-grid::-webkit-scrollbar-track {
    background: rgba(15,23,42,0.55);
    border-radius: 999px;
  }
  .week-grid::-webkit-scrollbar-thumb {
    background: rgba(56,189,248,0.75);
    border-radius: 999px;
    border: 2px solid rgba(15,23,42,0.55);
  }
}
/* =========================================================
   Mobile polish: bigger tap targets for hero CTAs
   ========================================================= */
@media (max-width: 480px) {
  body.home-page .hero-actions {
    gap: 10px;
  }

  body.home-page .hero-actions a {
    min-height: 44px;            /* Apple/Google recommended tap height */
    padding: 12px 16px;          /* larger hit area */
    font-size: 0.95rem;
  }

  /* Keep the green tool button feeling premium but tappable */
  body.home-page .hero-actions .btn-tool {
    padding: 12px 18px;
  }
}
/* =========================================================
   Mobile polish: readable hero text line-length
   ========================================================= */
@media (max-width: 480px) {
  body.home-page .module-hero-title {
    line-height: 1.12;
  }

  body.home-page .hero-subtitle {
    max-width: 42ch;             /* line-length control */
    line-height: 1.5;
  }
}
/* =========================================================
   Mobile polish: week grid snap + peek
   (enhances your existing scroll-snap setup)
   ========================================================= */
@media (max-width: 1024px) {
  /* Create edge-to-edge scroll area while keeping content aligned */
  .week-grid {
    padding: 0 12px 10px;        /* left/right padding gives a "peek" frame */
    margin: 0 -12px;             /* pulls the scroller to screen edges */
    scroll-padding-left: 12px;
    scroll-padding-right: 12px;

    /* Slightly narrower cards to allow a visible peek of the next column */
    grid-template-columns: repeat(7, minmax(240px, 1fr));
  }

  /* Add an end spacer so the last day can scroll fully into view */
  .week-grid::after {
    content: "";
    width: 12px;
    height: 1px;
    display: block;
  }
}

/* On very small phones, peek a bit more */
@media (max-width: 480px) {
  .week-grid {
    grid-template-columns: repeat(7, minmax(228px, 1fr));
    padding-left: 14px;
    padding-right: 14px;
    margin-left: -14px;
    margin-right: -14px;
    scroll-padding-left: 14px;
    scroll-padding-right: 14px;
  }
}
