/* ===========================================================
   Category Page v2 — local styles
   -----------------------------------------------------------
   Builds on design-system/color4u.css. v2 is a STRUCTURAL
   iteration: same tokens, type, cards, quiz, badges as v1.
   What changes here:
     1. Single shared container width — every section card
        fills the same width; no more narrow centered boxes.
     2. Consistent vertical rhythm (--v2-gap) between H2 blocks.
     3. New components: mint "How to download" sidebar
        (collapsible), meta pills, compact peach conversion
        module, UGC gallery, 2-col related chips, gray
        boilerplate.
     4. Annotations overlay (review aid — toggled, off by default).
   All v2-only rules are namespaced .c4-cp-* / .v2-* so they
   can't collide with the design system.
   =========================================================== */

:root {
  /* ── Difficulty (carried over from v1, borrows accent hues) ── */
  --diff-easy: var(--accent-mint);
  --diff-easy-bg: oklch(96% 0.04 165);
  --diff-easy-ink: oklch(38% 0.10 165);
  --diff-medium: oklch(78% 0.13 75);
  --diff-medium-bg: oklch(96% 0.05 85);
  --diff-medium-ink: oklch(42% 0.10 75);
  --diff-detailed: var(--accent-coral);
  --diff-detailed-bg: oklch(96% 0.03 32);
  --diff-detailed-ink: oklch(42% 0.13 32);

  /* Frosted-glass overlay used on top of line art */
  --glass-bg: rgba(255, 255, 255, .88);
  --glass-line: rgba(20, 30, 60, .16);
  --glass-shadow: 0 1px 3px rgba(20, 30, 60, .18), 0 4px 10px rgba(20, 30, 60, .08);

  /* ── How-to (mint) ────────────────────────────────────────
     Brief specified #F4FAF7 / #C7E5D6 / #0F6E56. Re-expressed
     in the DS mint hue (165) so it stays inside the existing
     palette — visually equivalent, system-consistent. */
  --howto-bg: oklch(98.2% 0.012 165);
  --howto-bg-2: oklch(96.5% 0.022 165);
  --howto-line: oklch(90% 0.045 165);
  --howto-ink: oklch(46% 0.09 165);
  --howto-ink-2: oklch(40% 0.10 165);

  /* ── Conversion (peach) ───────────────────────────────────
     Brief specified #FAECE7 bg / #D85A30 button. Re-expressed
     in the DS coral hue (32) so the CTA matches the site's
     existing coral accent. */
  --pack-bg: oklch(96.5% 0.028 50);
  --pack-line: oklch(92% 0.04 45);
  --pack-btn: var(--accent-coral);
  --pack-btn-hi: oklch(64% 0.18 32);

  /* Consistent section rhythm. Brief recommends 1.5rem; the
     DS is airier (56px). 40px is the compromise: tight enough
     to read as one rhythm, open enough for this brand. */
  --v2-gap: 40px;

  --last-updated: "May 25, 2026";
}

html {
  scroll-behavior: smooth;
}

/* ── Shared container ─────────────────────────────────────
   Single source of truth for width. .c4-page already caps at
   1180px (the existing site value — kept over the brief's
   1280px suggestion so the header/footer/grid stay aligned). */
.v2-main {
  padding-top: 18px;
}

/* Every top-level content section. H2 + meta live ABOVE the
   card in plain page bg; the card fills the full container. */
.v2-block {
  margin-top: var(--v2-gap);
}

.v2-block__head {
  margin: 0 0 14px;
}

.v2-block__head h2 {
  margin: 0;
}

.v2-block__head .section-sub {
  margin: 4px 0 0;
}

/* ===========================================================
   H1 ROW — two columns: H1 block (flex) + how-to (≈300px)
   =========================================================== */
.c4-cp-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
  padding: 0;
}

.c4-cp-intro h1 {
  margin: 0 0 8px;
}

.c4-cp-intro__sub {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 0 16px;
}

.c4-cp-intro__more-link {
  color: var(--primary-ink);
  font-weight: 700;
  text-decoration: none;
}

.c4-cp-intro__more-link:hover {
  text-decoration: underline;
}

/* Meta pills under the description */
.c4-cp-metapills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.c4-cp-metapill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-tint);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
}

.c4-cp-metapill b {
  color: var(--ink);
  font-weight: 800;
}

.c4-cp-metapill--parent {
  text-decoration: none !important;
  color: var(--primary-ink);
  background: var(--primary-soft);
  border-color: var(--primary);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.c4-cp-metapill--parent:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  text-decoration: none !important;
}

/* Byline (author + updated) — small, kept for E-E-A-T */
.c4-cp-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 14px;
}

.c4-cp-byline a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-2);
  font-weight: 700;
  text-decoration: none;
}

.c4-cp-byline a:hover {
  color: var(--primary-ink);
  text-decoration: underline;
}

.c4-cp-byline .verified {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: inline-grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
}

.c4-cp-byline .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-3);
  opacity: .5;
}

.c4-cp-byline>span:not(.sep) {
  color: var(--ink-3);
}

/* ── Compact "How to download" sidebar (mint, collapsible) ── */
.c4-cp-howto {
  background: var(--howto-bg);
  border: 1px solid var(--howto-line);
  border-radius: var(--radius);
  overflow: hidden;
  align-self: start;
}

.c4-cp-howto__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 10px;
}

.c4-cp-howto__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--howto-ink-2);
}

.c4-cp-howto__title svg {
  color: var(--howto-ink);
  flex-shrink: 0;
}

.c4-cp-howto__steps-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--howto-ink);
  background: var(--howto-bg-2);
  border: 1px solid var(--howto-line);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  white-space: nowrap;
}

.c4-page .c4-cp-howto__steps {
  margin: 0;
  padding: 0 16px 4px;
  list-style: none;
  display: flex;
  flex-direction: column;
  counter-reset: howto;
}

.c4-cp-howto__step {
  counter-increment: howto;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  padding: 6px 0;
  align-items: start;
}

.c4-cp-howto__step::before {
  content: counter(howto);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--howto-bg-2);
  border: 1px solid var(--howto-line);
  color: var(--howto-ink-2);
  font-weight: 800;
  font-size: 9.5px;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.c4-cp-howto__step b {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.c4-cp-howto__step b .lite {
  color: var(--ink-3);
  font-weight: 600;
}

/* Per-step detail — hidden until expanded */
.c4-cp-howto__step p {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .28s ease, opacity .2s ease, margin .2s ease;
}

#howto-detail[hidden] {
  display: block;
}

/* keep in DOM for crawlers */
.c4-cp-howto.is-open .c4-cp-howto__step p {
  max-height: 80px;
  opacity: 1;
  margin-top: 5px;
}

.c4-cp-howto__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--howto-bg-2);
  border: 0;
  border-top: 1px solid var(--howto-line);
  color: var(--howto-ink-2);
  font: inherit;
  font-weight: 700;
  font-size: 12.5px;
  padding: 12px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

.c4-cp-howto__toggle:hover {
  background: oklch(94.5% 0.03 165);
}

.c4-cp-howto__toggle .chev {
  display: inline-block;
  transition: transform .25s ease;
  font-size: 10px;
}

.c4-cp-howto.is-open .c4-cp-howto__toggle .chev {
  transform: rotate(180deg);
}

.c4-cp-howto__toggle .lbl-open {
  display: none;
}

.c4-cp-howto.is-open .c4-cp-howto__toggle .lbl-closed {
  display: none;
}

.c4-cp-howto.is-open .c4-cp-howto__toggle .lbl-open {
  display: inline;
}

/* ===========================================================
   TOOLBAR + GRID
   =========================================================== */
.c4-cp-toolbar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.c4-cp-toolbar__left,
.c4-cp-toolbar__right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.c4-cp-toolbar__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 2px;
}

.c4-cp-chip {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}

.c4-cp-chip:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

.c4-cp-chip[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.c4-cp-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.c4-cp-select {
  height: 36px;
  padding: 0 32px 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: right 14px center, right 9px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.c4-cp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.c4-cp-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.c4-view-all-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.c4-view-all-link:hover {
  text-decoration: underline;
}

.v2-block__head-flex {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Card (carried over from v1 unchanged) ──────────────── */
.c4-cp-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: var(--shadow-sm);
}

.c4-cp-card:hover {
  transform: translateY(-2px);
  border-color: oklch(86% 0.06 256);
  box-shadow: var(--shadow);
}

.c4-cp-card:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.c4-cp-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg);
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.c4-cp-card__media img,
.c4-cp-card__media svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.c4-cp-card--page .c4-cp-card__media img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 95%;
  height: 95%;
}

.c4-cp-card:hover .c4-cp-card__media img,
.c4-cp-card:hover .c4-cp-card__media svg {
  transform: scale(1.035);
}

.c4-cp-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  box-shadow: var(--glass-shadow);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}

.c4-cp-badge--difficulty {
  top: 12px;
  left: 12px;
}

.c4-cp-badge--downloads {
  top: 12px;
  right: 12px;
}

.c4-cp-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .10);
}

.c4-cp-badge--easy .dot {
  background: var(--diff-easy);
}

.c4-cp-badge--medium .dot {
  background: var(--diff-medium);
}

.c4-cp-badge--detailed .dot {
  background: var(--diff-detailed);
}

.c4-cp-ribbon {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: none;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: white;
  box-shadow: var(--glass-shadow);
}

.c4-cp-card--popular .c4-cp-ribbon--popular,
.c4-cp-card--new .c4-cp-ribbon--new {
  display: inline-flex;
}

.c4-cp-ribbon--popular {
  background: var(--accent-coral);
}

.c4-cp-ribbon--new {
  background: var(--accent-mint);
}

.c4-cp-card__info {
  padding: 12px 14px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.c4-cp-card__info .c4-cp-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  line-height: normal;
}

.c4-cp-card__info .c4-cp-card__stats,
.c4-cp-card__info .c4-cp-card__stat {
  color: var(--ink-2);
  font-weight: 400;
  font-family: var(--font-sans);
  font-size: 13.5px;
  white-space: nowrap;
}

.c4-cp-card__body {
  padding: 16px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.c4-cp-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.c4-cp-card__title {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.c4-cp-card__title a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  font-family: inherit;
  background-image: linear-gradient(var(--primary-ink), var(--primary-ink));
  background-size: 0 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .25s ease, color .15s;
}

.c4-cp-card__title a:hover {
  color: var(--primary-ink);
  background-size: 100% 1.5px;
}

.c4-cp-card__title a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}

.c4-cp-card__view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--ink-3);
  transition: color .15s, background .15s, transform .2s;
  flex-shrink: 0;
  margin-top: 2px;
}

.c4-cp-card__view:hover {
  color: var(--primary-ink);
  background: var(--primary-soft);
  transform: translateX(2px);
  text-decoration: none;
}

.c4-cp-card__desc {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.c4-cp-card__desc[data-expanded="true"] .c4-cp-card__desc-clip {
  -webkit-line-clamp: unset;
  max-height: 16em;
}

.c4-cp-card__desc-clip {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: max-height .2s ease;
}

.c4-cp-card__more {
  background: none;
  border: 0;
  padding: 0;
  color: #00366b;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-top: -8px;
  margin-bottom: -4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-underline-offset: 2px;
}

.c4-cp-card__more:hover {
  text-decoration: underline;
}

.c4-cp-card__more::after {
  content: "▾";
  font-size: 11px;
  transition: transform .2s;
}

.c4-cp-card__desc[data-expanded="true"]+.c4-cp-card__more::after {
  transform: rotate(180deg);
}

.c4-cp-card__actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  padding: 10px 18px 18px;
  margin-top: auto;
  align-items: center;
}

.c4-cp-act {
  height: 44px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  padding: 0 14px;
  text-decoration: none;
  transition: transform .08s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}

.c4-cp-act:active {
  transform: translateY(1px);
}

.c4-cp-act--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px oklch(56% 0.18 256 / .28);
}

.c4-cp-act--primary:hover {
  background: var(--primary-ink);
  text-decoration: none;
  color: white;
}

.c4-cp-act--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--paper);
  color: var(--ink-2);
  border: 1px solid var(--line);
  position: relative;
}

.c4-cp-act--icon:hover {
  color: var(--ink);
  border-color: var(--ink-3);
  text-decoration: none;
}

.c4-cp-act--icon[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(2px);
  background: var(--ink);
  color: white;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s, transform .15s;
}

.c4-cp-act--icon:hover[data-tooltip]::after,
.c4-cp-act--icon:focus-visible[data-tooltip]::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.c4-cp-act--pin:hover {
  color: oklch(56% 0.21 25);
  border-color: oklch(75% 0.15 25);
}

/* ===========================================================
   CONVERSION MODULE (peach) — compact, post-grid, no heading
   Left ~120px stacked PDF preview + FREE ribbon.
   Right: pill, title, one-line desc, email+button on one row.
   =========================================================== */
.c4-cp-pack {
  background: var(--pack-bg);
  border: 1px solid var(--pack-line);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin-inline: auto;
}

.c4-cp-pack__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 120px;
}

.c4-cp-pack__sheet {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 8px 16px -8px oklch(50% 0.10 50 / .3), 0 1px 3px oklch(50% 0.10 50 / .12);
  overflow: hidden;
}

.c4-cp-pack__sheet-art {
  position: absolute;
  inset: 7%;
  display: grid;
  place-items: center;
}

.c4-cp-pack__sheet-art svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.c4-cp-pack__sheet--3 {
  inset: 6% 20% 16% 2%;
  transform: rotate(-8deg);
  filter: brightness(.98);
}

.c4-cp-pack__sheet--2 {
  inset: 4% 12% 12% 10%;
  transform: rotate(-3deg);
}

.c4-cp-pack__sheet--top {
  inset: 2% 2% 8% 18%;
  transform: rotate(5deg);
  box-shadow: 0 14px 24px -12px oklch(50% 0.10 50 / .35), 0 3px 6px oklch(50% 0.10 50 / .14);
}

.c4-cp-pack__ribbon {
  position: absolute;
  top: 12px;
  left: -34px;
  width: 130px;
  transform: rotate(-34deg);
  background: var(--accent-coral);
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 0;
  box-shadow: 0 4px 10px oklch(50% 0.10 32 / .25);
  z-index: 3;
}

.c4-cp-grid {
  display: grid;
  gap: 24px;
  position: relative;
  min-height: 100px;
  transition: opacity 0.2s;
}

.c4-cp-grid.is-loading {
  opacity: 0.4;
  pointer-events: none;
}

.c4-cp-grid.is-loading::after {
  content: "";
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border: 4px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: c4-spin 0.8s linear infinite;
  z-index: 20;
}

@keyframes c4-spin {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

.c4-cp-pack__eyebrow {
  display: inline-flex;
  align-self: start;
  justify-self: start;
  align-items: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: oklch(93% 0.06 32);
  color: oklch(42% 0.14 32);
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.c4-cp-pack h2 {
  margin: 2px 0 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.c4-cp-pack__sub {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 52ch;
  text-wrap: pretty;
}

.c4-cp-pack__form {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
  max-width: 440px;
}

.c4-cp-pack__field {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 320px;
}

.c4-cp-pack__field svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}

.c4-cp-pack__field input {
  width: 100%;
  height: 50px;
  padding: 0 16px 0 44px;
  border: 1px solid oklch(90% 0.025 50);
  border-radius: 13px;
  background: oklch(99% 0.008 50);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.c4-cp-pack__field input::placeholder {
  color: var(--ink-3);
}

.c4-cp-pack__field input:focus {
  outline: none;
  border-color: var(--accent-coral);
  background: var(--paper);
  box-shadow: 0 0 0 4px oklch(72% 0.16 32 / .18);
}

.c4-cp-pack__btn {
  height: 50px;
  padding: 0 22px;
  border: 0;
  cursor: pointer;
  border-radius: 13px;
  background: var(--pack-btn);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 8px 18px oklch(72% 0.16 32 / .28);
  transition: background .15s, transform .12s, box-shadow .15s;
  white-space: nowrap;
}

.c4-cp-pack__btn:hover {
  background: var(--pack-btn-hi);
  box-shadow: 0 10px 20px oklch(72% 0.16 32 / .35);
}

.c4-cp-pack__btn:active {
  transform: translateY(1px);
}

.c4-cp-pack__fine {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}

/* ===========================================================
   ABOUT THESE PAGES — H2 with three H3 cards
   =========================================================== */
.c4-cp-prose__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.c4-cp-prose__row {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.c4-cp-prose__row:first-child {
  padding-top: 4px;
  border-top: 0;
}

.c4-cp-prose__row:last-child {
  padding-bottom: 4px;
}

.c4-cp-prose h2,
.c4-cp-prose h3,
.c4-cp-prose h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--ink);
}

.c4-cp-prose h2 {
  font-size: 24px;
}

.c4-cp-prose h3 {
  font-size: 20px;
}

.c4-cp-prose h4 {
  font-size: 17px;
}

.c4-cp-prose h2 + h3,
.c4-cp-prose h2 + h4,
.c4-cp-prose h3 + h4 {
  margin-top: 14px;
}

.c4-cp-prose__row p {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 90ch;
}

.c4-cp-prose__row p:last-child {
  margin-bottom: 0;
}

.c4-cp-prose__row > *:first-child {
  margin-top: 0 !important;
}

/* Interesting facts — now an inline list inside the third prose row */
.c4-cp-facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: fact;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 36px;
}

.c4-cp-facts li {
  counter-increment: fact;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
}

.c4-cp-facts li::before {
  content: counter(fact, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--primary-ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.c4-cp-facts h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.25;
  color: var(--ink);
}

.c4-cp-facts p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

/* ===========================================================
   RECENT ACTIVITY — live download feed
   =========================================================== */
.c4-cp-activity {
  padding: 4px 24px;
}

.c4-cp-activity__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.c4-cp-activity__row {
  display: grid;
  grid-template-columns: 28px 110px 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.c4-cp-activity__row:first-child {
  border-top: 0;
}

.c4-cp-activity__flag {
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.c4-cp-activity__time {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 600;
}

.c4-cp-activity__text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}

.c4-cp-activity__text a {
  color: var(--primary-ink);
  font-weight: 700;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .25s ease;
}

.c4-cp-activity__text a:hover {
  background-size: 100% 1.5px;
}

.c4-cp-activity__text a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ===========================================================
   QUIZ TILES (carried over from v1, softer 3-color rotation)
   =========================================================== */
.c4-cp-quiz {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.c4-cp-quiz__tile {
  position: relative;
  background: var(--primary-soft);
  border: 1px solid oklch(90% 0.04 256);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  text-align: left;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.34, 1.6, .54, 1), border-color .2s, box-shadow .25s, background .2s;
}

.c4-cp-quiz__tile:nth-child(6n+1) {
  --tint: 256;
  --tilt: -0.5deg;
}

.c4-cp-quiz__tile:nth-child(6n+2) {
  --tint: 165;
  --tilt: 0.4deg;
  background: oklch(96% 0.035 165);
  border-color: oklch(90% 0.05 165);
}

.c4-cp-quiz__tile:nth-child(6n+3) {
  --tint: 256;
  --tilt: 0.6deg;
}

.c4-cp-quiz__tile:nth-child(6n+4) {
  --tint: 32;
  --tilt: -0.3deg;
  background: oklch(96% 0.04 32);
  border-color: oklch(90% 0.06 32);
}

.c4-cp-quiz__tile:nth-child(6n+5) {
  --tint: 85;
  --tilt: 0.5deg;
  background: oklch(96% 0.05 85);
  border-color: oklch(90% 0.07 85);
}

.c4-cp-quiz__tile:nth-child(6n+6) {
  --tint: 0;
  --tilt: -0.6deg;
  background: oklch(96% 0.035 0);
  border-color: oklch(90% 0.05 0);
}

.c4-cp-quiz__tile::before {
  content: "✦";
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 14px;
  color: oklch(60% 0.14 var(--tint, 256));
  opacity: 0;
  transform: scale(.4) rotate(-30deg);
  transition: opacity .25s, transform .35s cubic-bezier(.34, 1.6, .54, 1);
  pointer-events: none;
}

.c4-cp-quiz__tile[aria-expanded="true"]::before {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.c4-cp-quiz__tile:hover {
  transform: translateY(-2px) rotate(var(--tilt));
  border-color: oklch(70% 0.12 var(--tint, 256));
  box-shadow: var(--shadow-sm);
}

.c4-cp-quiz__tile:focus-visible,
.c4-cp-quiz__tile[aria-expanded="true"] {
  transform: translateY(-2px) rotate(var(--tilt));
  border-color: oklch(70% 0.12 var(--tint, 256));
  background: oklch(94% 0.06 var(--tint, 256));
  box-shadow: 0 6px 16px oklch(50% 0.15 var(--tint, 256) / .18), 0 2px 4px oklch(50% 0.15 var(--tint, 256) / .08);
  outline: none;
}

.c4-cp-quiz__tile:active {
  transform: translateY(0) rotate(calc(var(--tilt) * 0.3)) scale(.99);
}

.c4-cp-quiz__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: oklch(40% 0.14 var(--tint, 256));
  opacity: .8;
}

.c4-cp-quiz__q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}

.c4-cp-quiz__a {
  margin-top: auto;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: max-height .35s cubic-bezier(.34, 1.4, .54, 1), opacity .25s ease .05s, transform .35s cubic-bezier(.34, 1.4, .54, 1), margin-top .3s ease;
}

.c4-cp-quiz__tile[aria-expanded="true"] .c4-cp-quiz__a {
  max-height: 220px;
  opacity: 1;
  margin-top: 4px;
  transform: translateY(0);
}

.c4-cp-quiz__reveal {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: oklch(40% 0.14 var(--tint, 256));
  transition: transform .25s cubic-bezier(.34, 1.6, .54, 1);
}

.c4-cp-quiz__reveal::after {
  content: "▾";
  font-size: 9px;
  transition: transform .2s;
}

.c4-cp-quiz__tile[aria-expanded="true"] .c4-cp-quiz__reveal::after {
  transform: rotate(180deg);
}

.c4-cp-quiz__tile[aria-expanded="true"] .c4-cp-quiz__reveal {
  transform: translateX(2px);
}

.c4-cp-quiz__tile[aria-expanded="true"] .c4-cp-quiz__reveal span::before {
  content: "Hide answer";
}

.c4-cp-quiz__tile[aria-expanded="false"] .c4-cp-quiz__reveal span::before {
  content: "Peek answer";
}

/* ─── CHILD CATEGORIES (Compact Pills) ────────────────────── */
.c4-cp-children {
  margin-top: 24px;
  margin-bottom: 24px;
}

.c4-cp-children__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.c4-cp-children__strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.c4-cp-children__pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  text-decoration: none !important;
  color: var(--ink);
  transition: background 200ms ease, border-color 200ms ease;
  min-height: 40px;
}

.c4-cp-children__pill:hover,
.c4-cp-children__pill:focus-visible {
  background: var(--bg-alt);
  border-color: var(--ink-3);
  outline: none;
  text-decoration: none !important;
}

.c4-cp-children__pill:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--primary);
}

.c4-cp-children__name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.c4-cp-children__meta {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 400;
  margin-left: 4px;
  white-space: nowrap;
}

.c4-cp-children__arrow {
  color: var(--ink-3);
  margin-left: 8px;
  flex-shrink: 0;
  transition: color 200ms ease;
}

.c4-cp-children__pill:hover .c4-cp-children__arrow {
  color: var(--primary);
}

/* Layout for pills */
@media (max-width: 767px) {
  .c4-cp-children__strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .c4-cp-children__strip::-webkit-scrollbar {
    display: none;
  }
  .c4-cp-children__pill {
    scroll-snap-align: start;
    flex: 0 0 auto;
  }
}


/* ===========================================================
   RELATED CATEGORIES (You might also like)
   =========================================================== */
.c4-cp-related-section {
  margin-top: 80px;
}

.c4-cp-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .c4-cp-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.c4-cp-related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  text-decoration: none !important;
  color: var(--ink);
  transition: background 200ms ease, border-color 200ms ease;
}

.c4-cp-related-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.c4-cp-related-card__meta {
  color: var(--ink-2);
  font-weight: 400;
  font-family: var(--font-sans);
  font-size: 14.5px;
}

.c4-cp-related-card__arrow {
  color: var(--ink-3);
  transition: transform 200ms ease, color 200ms ease;
  flex-shrink: 0;
}

.c4-cp-related-card:hover {
  background: #f9fafb;
  /* subtle gray tint */
  border-color: #e5e7eb;
  text-decoration: none !important;
}

.c4-cp-related-card:hover .c4-cp-related-card__title {
  text-decoration: none !important;
}

.c4-cp-related-card:hover .c4-cp-related-card__arrow {
  transform: translateX(4px);
  color: var(--primary-ink);
}

.c4-cp-related-card--parent {
  background: var(--primary-soft);
}

.c4-cp-related-card--parent:hover {
  background: var(--primary-soft-2);
}

@media (prefers-reduced-motion: reduce) {

  .c4-cp-related-card__arrow,
  .c4-cp-related-card:hover .c4-cp-related-card__arrow {
    transition: none !important;
    transform: none !important;
  }
}

.c4-cp-related-browse {
  text-align: center;
  margin-top: 24px;
}

.c4-cp-related-browse__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-dark);
  text-decoration: none;
}

.c4-cp-related-browse__link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===========================================================
   THINGS TO DO (static tiled blocks based on quiz tiles)
   =========================================================== */
.c4-cp-ttd-section {
  margin-top: 80px;
}

.c4-cp-ttd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  grid-auto-rows: 1fr;
}

@media (min-width: 640px) {
  .c4-cp-ttd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.c4-cp-ttd__tile {
  cursor: default;
  height: 100%;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04));
  transform: rotate(var(--tilt)) !important;
  transition: transform 200ms ease, filter 200ms ease !important;
}

.c4-cp-ttd__tile:hover {
  transform: rotate(0deg) scale(1.02) !important;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

@media (prefers-reduced-motion: reduce) {
  .c4-cp-ttd__tile {
    transform: none !important;
    transition: none !important;
  }

  .c4-cp-ttd__tile:hover {
    transform: none !important;
  }
}

.c4-cp-ttd__tile .c4-cp-quiz__a {
  max-height: none !important;
  text-align: left;
  hyphens: none;
  color: var(--ink-1) !important;
  /* Ensure WCAG contrast */
}

.c4-cp-ttd__tile::before {
  top: 16px !important;
  right: 16px !important;
  width: 16px;
  height: 16px;
  font-size: 16px !important;
  line-height: 16px !important;
  transform: none !important;
  opacity: 1 !important;
}

/* 1. Left (Blue, tilt left) */
.c4-cp-ttd__tile:nth-child(6n+1) {
  --tilt: -1.2deg;
  --tint: 256;
  background: oklch(96% 0.04 256) !important;
}

/* 2. Right (Green, tilt right) */
.c4-cp-ttd__tile:nth-child(6n+2) {
  --tilt: 1.4deg;
  --tint: 165;
  background: oklch(96% 0.035 165) !important;
}

/* 3. Left (Lavender, tilt right) */
.c4-cp-ttd__tile:nth-child(6n+3) {
  --tilt: 1.3deg;
  --tint: 290;
  background: oklch(96% 0.04 290) !important;
}

/* 4. Right (Pink, tilt left) */
.c4-cp-ttd__tile:nth-child(6n+4) {
  --tilt: -1.1deg;
  --tint: 0;
  background: oklch(96% 0.035 0) !important;
}

/* 5. Left (Peach, tilt left) */
.c4-cp-ttd__tile:nth-child(6n+5) {
  --tilt: -1.5deg;
  --tint: 50;
  background: oklch(96% 0.04 50) !important;
}

/* 6. Right (Cream, tilt right) */
.c4-cp-ttd__tile:nth-child(6n+6) {
  --tilt: 1.2deg;
  --tint: 85;
  background: oklch(96% 0.02 85) !important;
}

/* ===========================================================
   FAQ — full-width accordion
   =========================================================== */
.c4-cp-faq-item {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.c4-cp-faq-item:last-child {
  border-bottom: 0;
}

.c4-cp-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  gap: 16px;
}

.c4-cp-faq-item summary::-webkit-details-marker {
  display: none;
}

.c4-cp-faq-item summary::after {
  content: "+";
  color: var(--ink-3);
  font-size: 22px;
  font-weight: 400;
  transition: transform .15s, color .15s;
}

.c4-cp-faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--primary-ink);
}

.c4-cp-faq-item p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 80ch;
}

/* ===========================================================
   UGC — submission card + "Colored by our community" gallery
   =========================================================== */
.c4-cp-ugc {
  background:
    radial-gradient(120% 80% at 100% 0%, oklch(94% 0.06 32 / .5), transparent 60%),
    var(--primary-soft);
  border: 1px solid oklch(88% 0.05 256);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  align-items: center;
}

.c4-cp-ugc__art {
  width: 64px;
  height: 64px;
  background: var(--paper);
  border: 1px solid oklch(88% 0.05 256);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.c4-cp-ugc__body h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.c4-cp-ugc__body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 56ch;
}

/* Gallery grid (H3 nested under UGC H2) */
.c4-cp-gallery-head {
  margin: 22px 0 14px;
}

.c4-cp-gallery-head h3 {
  margin: 0;
  font-size: 18px;
}

.c4-cp-gallery-head p {
  margin: 3px 0 0;
}

.c4-cp-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.c4-cp-gallery__item.c4-cp-pack {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.c4-cp-gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: oklch(86% 0.06 256);
}

.c4-cp-gallery__thumb {
  aspect-ratio: 1 / 1;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.c4-cp-gallery__thumb svg {
  width: 78%;
  height: 78%;
}

.c4-cp-gallery__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 30% 20%, oklch(92% 0.08 var(--g-hue, 32) / .5), transparent 70%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.c4-cp-gallery__cap {
  padding: 10px 12px 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.c4-cp-gallery__name {
  font-weight: 800;
  font-size: 13px;
  color: var(--ink);
}

.c4-cp-gallery__age {
  font-size: 11.5px;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ===========================================================
   YOU MIGHT ALSO LIKE — 2-col link chips, LAST before footer
   =========================================================== */
.c4-cp-also-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.c4-cp-also-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}

.c4-cp-also-chip:hover {
  transform: translateY(-2px);
  border-color: oklch(86% 0.06 256);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.c4-cp-also-chip__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.c4-cp-also-chip__icon svg {
  width: 80%;
  height: 80%;
}

.c4-cp-also-chip__txt {
  min-width: 0;
  flex: 1;
}

.c4-cp-also-chip__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.c4-cp-also-chip__name .arrow {
  color: var(--primary-ink);
  transition: transform .15s;
  display: inline-block;
}

.c4-cp-also-chip:hover .arrow {
  transform: translateX(3px);
}

.c4-cp-also-chip__count {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 1px;
}

/* ===========================================================
   ABOUT COLOR4U — 3-row trust block, no heading, last
   =========================================================== */
.c4-cp-about {
  margin-top: var(--v2-gap);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  scroll-margin-top: 110px;
}

/* Row 1 — identity + social */
.c4-cp-about__row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.c4-cp-about__id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.c4-cp-about__avatars {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.c4-cp-about__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  background: var(--av-bg, var(--bg));
  overflow: hidden;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}

.c4-cp-about__avatar--back {
  margin-left: -10px;
  z-index: 1;
}

.c4-cp-about__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c4-cp-about__emoji {
  font-size: 19px;
  line-height: 1;
}

.c4-cp-about__idtext {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.c4-cp-about__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.3;
}

.c4-cp-about__tagline {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.45;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .c4-cp-about__tagline {
    white-space: normal;
  }
}

.c4-cp-about__tagline strong {
  color: var(--ink);
  font-weight: 700;
}

.c4-cp-about__tagline em {
  font-style: italic;
  color: var(--ink-2);
}

.c4-cp-about__loc {
  font-size: 10.5px;
  color: var(--ink-3);
  margin-top: 3px;
  line-height: 1.3;
}

.c4-cp-about__social {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.c4-cp-about__soc {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: border-color .15s, transform .12s, box-shadow .15s;
}

.c4-cp-about__soc:hover {
  border-color: var(--ink-3);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.c4-cp-about__soc:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Row 2 — editorial promise strip */
.c4-cp-about__promise {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 14px;
}

.c4-cp-about__eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.c4-cp-about__checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 16px;
}

.c4-cp-about__checks li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.3;
}

.c4-cp-about__checks svg {
  color: var(--primary-ink);
  flex-shrink: 0;
}

/* Row 3 — positioning copy + CTA */
.c4-cp-about__row3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.c4-cp-about__copy {
  margin: 0;
  max-width: 560px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

.c4-cp-about__fade {
  color: var(--ink-3);
}

.c4-cp-about__disclaimer {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.c4-cp-about__disclaimer p {
  margin: 0;
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.4;
}

.c4-cp-about__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: border-color .15s, background .15s, transform .12s;
}

.c4-cp-about__cta span {
  color: var(--primary-ink);
  transition: transform .15s;
  display: inline-block;
}

.c4-cp-about__cta:hover {
  border-color: var(--ink-3);
  background: var(--bg);
  text-decoration: none;
}

.c4-cp-about__cta:hover span {
  transform: translateX(3px);
}

.c4-cp-about__cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── Share bar (kept from v1, page chrome next to breadcrumb) ── */
.c4-cp-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 6px 0 16px;
}

.c4-cp-sharebar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.c4-cp-sharebar__label {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
  margin-right: 2px;
}

.c4-cp-share {
  height: 34px;
  padding: 0 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s, transform .1s;
}

.c4-cp-share:hover {
  border-color: var(--ink-3);
  color: var(--ink);
  text-decoration: none;
}

.c4-cp-share:active {
  transform: translateY(1px);
}

.c4-cp-share--pin:hover {
  color: oklch(56% 0.21 25);
  border-color: oklch(80% 0.14 25);
}

.c4-cp-share--fb:hover {
  color: oklch(45% 0.18 256);
  border-color: oklch(80% 0.10 256);
}

.c4-cp-share--copy.is-done {
  color: oklch(46% 0.14 165);
  border-color: oklch(80% 0.13 165);
  background: oklch(96% 0.04 165);
}

.c4-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Gentle scroll-fade ─────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .c4-cp-fade {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
  }

  .c4-cp-fade.is-in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .c4-cp-quiz__tile,
  .c4-cp-quiz__tile:hover,
  .c4-cp-quiz__tile[aria-expanded="true"] {
    transform: none !important;
  }

  .c4-cp-quiz__tile::before {
    display: none;
  }
}



/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1200px) {
  .c4-cp-grid--5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .c4-cp-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .c4-cp-howto {
    max-width: 420px;
  }

  .c4-cp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .c4-cp-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .c4-cp-prose__grid {
    grid-template-columns: 1fr;
  }

  .c4-cp-facts {
    grid-template-columns: 1fr;
    gap: 14px 0;
  }

  .c4-cp-quiz {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .c4-cp-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .c4-cp-pack {
    grid-template-columns: 100px 1fr;
    gap: 22px;
    padding: 22px;
  }

  .c4-cp-pack__visual {
    width: 100px;
  }

  .c4-cp-ugc {
    grid-template-columns: 64px 1fr;
  }

  .c4-cp-ugc>a {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .c4-cp-grid {
    grid-template-columns: 1fr;
  }

  .c4-cp-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .c4-cp-quiz {
    grid-template-columns: 1fr;
  }

  .c4-cp-also-grid {
    grid-template-columns: 1fr;
  }

  .c4-cp-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .c4-cp-sharebar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .c4-cp-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .c4-cp-toolbar__left,
  .c4-cp-toolbar__right {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  /* Conversion module: stack illustration above full-width form */
  .c4-cp-pack {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .c4-cp-pack__visual {
    width: 120px;
    margin: 0 auto;
  }

  .c4-cp-pack__form {
    flex-direction: column;
  }

  .c4-cp-pack__field {
    min-width: 0;
  }

  .c4-cp-pack__btn {
    width: 100%;
  }

  .c4-cp-about__row1 {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .c4-cp-about__social {
    justify-content: center;
  }

  .c4-cp-about__checks {
    grid-template-columns: 1fr 1fr;
  }

  .c4-cp-about__row3 {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .c4-cp-about__cta {
    align-self: flex-start;
  }

  .c4-cp-ugc {
    grid-template-columns: 1fr;
  }

  .c4-cp-activity {
    padding: 4px 18px;
  }

  .c4-cp-activity__row {
    grid-template-columns: 24px 1fr;
    grid-template-areas: "flag time" "flag text";
    gap: 2px 12px;
  }

  .c4-cp-activity__flag {
    grid-area: flag;
    align-self: center;
  }

  .c4-cp-activity__time {
    grid-area: time;
    font-size: 13px;
  }

  .c4-cp-activity__text {
    grid-area: text;
    font-size: 14px;
  }
}

/* ===========================================================
   HUB PAGES (Sub-category grid)
   =========================================================== */
.c4-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .c4-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.c4-hub-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.c4-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db;
}

.c4-hub-card__link {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.c4-hub-card__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--shade-1);
  overflow: hidden;
  position: relative;
}

.c4-hub-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.c4-hub-card:hover .c4-hub-card__media img {
  transform: scale(1.03);
}

.c4-hub-card__info {
  padding: 12px 14px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.c4-hub-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.c4-hub-card__meta {
  color: var(--ink-2);
  font-weight: 400;
  font-family: var(--font-sans);
  font-size: 13.5px;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {

  .c4-hub-card,
  .c4-hub-card__media img {
    transition: none !important;
    transform: none !important;
  }
}