/** Shopify CDN: Minification failed

Line 1408:1 Unexpected "/"

**/
/* ==========================================================================
   The Dog Protocol · Home page styles
   File: assets/tdp-homepage.css
   Loaded ONCE in layout/theme.liquid, right after tdp-tokens.css:
     {{ 'tdp-homepage.css' | asset_url | stylesheet_tag }}

   Every value comes from the --tdp-* tokens in tdp-tokens.css.
   No shadows (brand rule). Only two section backgrounds: cream and green
   (the green ones carry .tdp-dark from tdp-tokens.css).
   Padding and background of each section instance are printed inline by the
   section itself (they depend on the editor settings); everything else is here.
   Breakpoints: 750px (main) and 990px. Mobile-first.
   ========================================================================== */


/****************************
 * SHARED
 * START
 ****************************/

/* Dashed image placeholder (theme editor only, printed by the sections
   when an image is missing). --tdp-ph-ratio sets the shape when the box
   sizes itself; .tdp-home-ph--fill fills an already-sized media box. */
.tdp-home-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  aspect-ratio: var(--tdp-ph-ratio, 1);
  padding: 12px;
  border: 1.5px dashed var(--tdp-line);
  border-radius: var(--tdp-radius-card);
  background: transparent;
  color: var(--tdp-text-soft);
  font-family: var(--tdp-font-body);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
.tdp-home-ph--fill {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}
.tdp-home-ph--tiny { gap: 2px; padding: 4px; font-size: 9px; }
.tdp-home-ph--tiny .tdp-home-ph__icon { width: 14px; height: 14px; }
.tdp-home-ph__icon { width: 24px; height: 24px; flex: none; }
.tdp-home-ph__text { display: block; }
.tdp-dark .tdp-home-ph {
  border-color: var(--tdp-green-200);
  color: var(--tdp-green-100);
}

/* Pills: the fast lane (hero and closing) */
.tdp-home-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tdp-home-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--tdp-line);
  border-radius: var(--tdp-radius-pill);
  background: var(--tdp-white);
  color: var(--tdp-green);
  font-family: var(--tdp-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.tdp-home-pill__icon { width: 18px; height: 18px; flex: none; }
a.tdp-home-pill:hover { border-color: var(--tdp-green); background: var(--tdp-green-100); }
a.tdp-home-pill:focus-visible { outline: 3px solid var(--tdp-focus-ring); outline-offset: 2px; }
.tdp-dark .tdp-home-pill {
  border-color: var(--tdp-green-200);
  background: transparent;
  color: var(--tdp-cream);
}
.tdp-dark a.tdp-home-pill:hover { background: var(--tdp-green-900); border-color: var(--tdp-cream); }
.tdp-dark a.tdp-home-pill:focus-visible { outline-color: var(--tdp-yellow); }

/* Portrait frame (product cards and dog wall).
   Soft mint surface, neutral border, three shapes. */
.tdp-home-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--tdp-line);
  background: var(--tdp-green-100);
}
.tdp-home-frame--arch { border-radius: var(--tdp-radius-pill) var(--tdp-radius-pill) var(--tdp-radius-card) var(--tdp-radius-card); }
.tdp-home-frame--rounded { border-radius: var(--tdp-radius-card); }
.tdp-home-frame--circle { aspect-ratio: 1 / 1; border-radius: 50%; }
.tdp-home-frame__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Text link with the yellow underline (catalog links, card links) */
.tdp-home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tdp-green);
  font-family: var(--tdp-font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: var(--tdp-yellow-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
a.tdp-home-link:hover { text-decoration-color: var(--tdp-green); }
a.tdp-home-link:focus-visible { outline: 3px solid var(--tdp-focus-ring); outline-offset: 3px; border-radius: 4px; }
.tdp-dark .tdp-home-link { color: var(--tdp-cream); }
.tdp-dark a.tdp-home-link:hover { text-decoration-color: var(--tdp-cream); }

/****************************
 * END - SHARED
 ****************************/

/****************************
 * SECTION 1: HERO
 * START
 ****************************/

/* Layout: mobile = text, visual, actions; desktop = text + actions left, visual right */
.tdp-home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.tdp-home-hero__grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
.tdp-home-hero__text { order: 1; }
.tdp-home-hero__visual { order: 2; }
.tdp-home-hero__actions-wrap { order: 3; }

/* Screen-reader version of the heading (full sentence with every problem) */
.tdp-home-hero__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Heading: fixed part + rotating phrase ---- */
.tdp-home-hero__title {
  margin: 14px 0 0;
  font-family: var(--tdp-font-display);
  font-weight: 700;
  color: var(--tdp-green);
  letter-spacing: -0.01em;
}
.tdp-home-hero__lead {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}
/* Every phrase sits in the same grid cell: the cell takes the height of the longest
   phrase, so the layout never jumps while the phrases rotate */
.tdp-home-hero__rot {
  display: grid;
  align-items: start;
  margin-top: 2px;
  font-size: 34px;
  line-height: 1.08;
}
.tdp-home-hero__phrase {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tdp-home-hero__phrase.is-on { opacity: 1; transform: none; }
.tdp-home-hero__phrase.is-out { opacity: 0; transform: translateY(-0.3em); }

/* Yellow marker that sweeps under the active phrase */
.tdp-home-hero__mark {
  padding: 0 0.06em;
  background: linear-gradient(transparent 62%, var(--tdp-yellow) 62%, var(--tdp-yellow) 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 0.7s cubic-bezier(0.6, 0, 0.2, 1) 0.25s;
}
.tdp-home-hero__phrase.is-on .tdp-home-hero__mark { background-size: 100% 100%; }

.tdp-home-hero__promise {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  font-family: var(--tdp-font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--tdp-green);
}
.tdp-home-hero__promise-icon { flex: none; width: 20px; height: 20px; }
.tdp-home-hero__text-body { margin-top: 8px; max-width: 44ch; }

/* ---- Actions ---- */
.tdp-home-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.tdp-home-hero__btn { margin-top: 0; white-space: nowrap; }
.tdp-home-hero__btn .tdp-btn__icon { transition: transform 0.25s ease; }
.tdp-home-hero__btn:hover .tdp-btn__icon { transform: translateX(3px); }
.tdp-home-hero__link {
  align-self: center;
  font-family: var(--tdp-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--tdp-green);
  text-decoration: underline;
  text-decoration-color: var(--tdp-yellow-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
/* Focus ring only for keyboard users (the theme's own focus box is removed on click) */
.tdp-home-hero__step:focus:not(:focus-visible),
.tdp-home-hero__toggle:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
.tdp-home-hero__link:focus-visible,
.tdp-home-hero__card-go:focus-visible,
.tdp-home-hero__step:focus-visible,
.tdp-home-hero__toggle:focus-visible {
  outline: 3px solid var(--tdp-focus-ring);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Trust row: icons + yellow dot separators (dots on desktop only) */
.tdp-home-hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--tdp-font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tdp-text-soft);
}
.tdp-home-hero__trust-item { display: flex; align-items: center; gap: 6px; }
.tdp-home-hero__trust-icon { width: 16px; height: 16px; color: var(--tdp-green); }

/* ---- The arch ---- */
.tdp-home-hero__stage {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.tdp-home-hero__arch {
  position: relative;
  aspect-ratio: 4 / 4.7;
  overflow: hidden;
  border: 1.5px solid var(--tdp-green);
  border-radius: var(--tdp-radius-pill) var(--tdp-radius-pill) 22px 22px;
  background: var(--tdp-green-100);
  transition: background-color 0.9s ease;
}
.tdp-home-hero__arch[data-tone="yellow"] { background: var(--tdp-yellow-50); }
/* Inner hairline, like the mat of an engraved print */
.tdp-home-hero__arch::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 3;
  border: 1px solid var(--tdp-green-200);
  border-radius: var(--tdp-radius-pill) var(--tdp-radius-pill) 15px 15px;
  pointer-events: none;
}
/* Faint paw texture, the same feeling as the covers (mask = colour from the token) */
.tdp-home-hero__paws {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background: var(--tdp-green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='%23000'%3E%3Cellipse cx='22' cy='30' rx='7' ry='6'/%3E%3Ccircle cx='13' cy='20' r='3'/%3E%3Ccircle cx='19' cy='15' r='3'/%3E%3Ccircle cx='26' cy='15' r='3'/%3E%3Ccircle cx='31' cy='20' r='3'/%3E%3Cellipse cx='66' cy='72' rx='7' ry='6'/%3E%3Ccircle cx='57' cy='62' r='3'/%3E%3Ccircle cx='63' cy='57' r='3'/%3E%3Ccircle cx='70' cy='57' r='3'/%3E%3Ccircle cx='75' cy='62' r='3'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 90px 90px repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='%23000'%3E%3Cellipse cx='22' cy='30' rx='7' ry='6'/%3E%3Ccircle cx='13' cy='20' r='3'/%3E%3Ccircle cx='19' cy='15' r='3'/%3E%3Ccircle cx='26' cy='15' r='3'/%3E%3Ccircle cx='31' cy='20' r='3'/%3E%3Cellipse cx='66' cy='72' rx='7' ry='6'/%3E%3Ccircle cx='57' cy='62' r='3'/%3E%3Ccircle cx='63' cy='57' r='3'/%3E%3Ccircle cx='70' cy='57' r='3'/%3E%3Ccircle cx='75' cy='62' r='3'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 90px 90px repeat;
}
.tdp-home-hero__count {
  position: absolute;
  top: 14%;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  font-family: var(--tdp-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
  color: var(--tdp-green);
}
/* Dogs: square images (1:1), all stacked in the same square box near the bottom
   of the arch; the active one fades and rises in */
.tdp-home-hero__dog {
  position: absolute;
  left: 50%;
  bottom: 15%;
  z-index: 2;
  width: 76%;
  aspect-ratio: 1 / 1;
  margin-left: -38%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity 0.55s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tdp-home-hero__dog.is-on { opacity: 1; transform: none; }
.tdp-home-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
/* Image edges, chosen per block.
   Wavy cut: the image is clipped by a hand-drawn-like wave on all four sides,
   so an object cut by the edge (armchair, leash, hand) ends softly.
   Soft fade: the four edges dissolve into the arch. Clean: nothing applied. */
.tdp-home-hero__dog--wave .tdp-home-hero__img {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' preserveAspectRatio='none'%3E%3Cpath d='M7 7Q12.2 0.6 17.3 7.0Q22.5 13.4 27.7 7.0Q32.8 0.6 38.0 7.0Q43.2 13.4 48.3 7.0Q53.5 0.6 58.7 7.0Q63.8 13.4 69.0 7.0Q74.2 0.6 79.3 7.0Q84.5 13.4 89.7 7.0Q94.8 0.6 100.0 7.0Q105.2 13.4 110.3 7.0Q115.5 0.6 120.7 7.0Q125.8 13.4 131.0 7.0Q136.2 0.6 141.3 7.0Q146.5 13.4 151.7 7.0Q156.8 0.6 162.0 7.0Q167.2 13.4 172.3 7.0Q177.5 0.6 182.7 7.0Q187.8 13.4 193.0 7.0Q199.4 12.2 193.0 17.3Q186.6 22.5 193.0 27.7Q199.4 32.8 193.0 38.0Q186.6 43.2 193.0 48.3Q199.4 53.5 193.0 58.7Q186.6 63.8 193.0 69.0Q199.4 74.2 193.0 79.3Q186.6 84.5 193.0 89.7Q199.4 94.8 193.0 100.0Q186.6 105.2 193.0 110.3Q199.4 115.5 193.0 120.7Q186.6 125.8 193.0 131.0Q199.4 136.2 193.0 141.3Q186.6 146.5 193.0 151.7Q199.4 156.8 193.0 162.0Q186.6 167.2 193.0 172.3Q199.4 177.5 193.0 182.7Q186.6 187.8 193.0 193.0Q187.8 199.4 182.7 193.0Q177.5 186.6 172.3 193.0Q167.2 199.4 162.0 193.0Q156.8 186.6 151.7 193.0Q146.5 199.4 141.3 193.0Q136.2 186.6 131.0 193.0Q125.8 199.4 120.7 193.0Q115.5 186.6 110.3 193.0Q105.2 199.4 100.0 193.0Q94.8 186.6 89.7 193.0Q84.5 199.4 79.3 193.0Q74.2 186.6 69.0 193.0Q63.8 199.4 58.7 193.0Q53.5 186.6 48.3 193.0Q43.2 199.4 38.0 193.0Q32.8 186.6 27.7 193.0Q22.5 199.4 17.3 193.0Q12.2 186.6 7.0 193.0Q0.6 187.8 7.0 182.7Q13.4 177.5 7.0 172.3Q0.6 167.2 7.0 162.0Q13.4 156.8 7.0 151.7Q0.6 146.5 7.0 141.3Q13.4 136.2 7.0 131.0Q0.6 125.8 7.0 120.7Q13.4 115.5 7.0 110.3Q0.6 105.2 7.0 100.0Q13.4 94.8 7.0 89.7Q0.6 84.5 7.0 79.3Q13.4 74.2 7.0 69.0Q0.6 63.8 7.0 58.7Q13.4 53.5 7.0 48.3Q0.6 43.2 7.0 38.0Q13.4 32.8 7.0 27.7Q0.6 22.5 7.0 17.3Q13.4 12.2 7.0 7.0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' preserveAspectRatio='none'%3E%3Cpath d='M7 7Q12.2 0.6 17.3 7.0Q22.5 13.4 27.7 7.0Q32.8 0.6 38.0 7.0Q43.2 13.4 48.3 7.0Q53.5 0.6 58.7 7.0Q63.8 13.4 69.0 7.0Q74.2 0.6 79.3 7.0Q84.5 13.4 89.7 7.0Q94.8 0.6 100.0 7.0Q105.2 13.4 110.3 7.0Q115.5 0.6 120.7 7.0Q125.8 13.4 131.0 7.0Q136.2 0.6 141.3 7.0Q146.5 13.4 151.7 7.0Q156.8 0.6 162.0 7.0Q167.2 13.4 172.3 7.0Q177.5 0.6 182.7 7.0Q187.8 13.4 193.0 7.0Q199.4 12.2 193.0 17.3Q186.6 22.5 193.0 27.7Q199.4 32.8 193.0 38.0Q186.6 43.2 193.0 48.3Q199.4 53.5 193.0 58.7Q186.6 63.8 193.0 69.0Q199.4 74.2 193.0 79.3Q186.6 84.5 193.0 89.7Q199.4 94.8 193.0 100.0Q186.6 105.2 193.0 110.3Q199.4 115.5 193.0 120.7Q186.6 125.8 193.0 131.0Q199.4 136.2 193.0 141.3Q186.6 146.5 193.0 151.7Q199.4 156.8 193.0 162.0Q186.6 167.2 193.0 172.3Q199.4 177.5 193.0 182.7Q186.6 187.8 193.0 193.0Q187.8 199.4 182.7 193.0Q177.5 186.6 172.3 193.0Q167.2 199.4 162.0 193.0Q156.8 186.6 151.7 193.0Q146.5 199.4 141.3 193.0Q136.2 186.6 131.0 193.0Q125.8 199.4 120.7 193.0Q115.5 186.6 110.3 193.0Q105.2 199.4 100.0 193.0Q94.8 186.6 89.7 193.0Q84.5 199.4 79.3 193.0Q74.2 186.6 69.0 193.0Q63.8 199.4 58.7 193.0Q53.5 186.6 48.3 193.0Q43.2 199.4 38.0 193.0Q32.8 186.6 27.7 193.0Q22.5 199.4 17.3 193.0Q12.2 186.6 7.0 193.0Q0.6 187.8 7.0 182.7Q13.4 177.5 7.0 172.3Q0.6 167.2 7.0 162.0Q13.4 156.8 7.0 151.7Q0.6 146.5 7.0 141.3Q13.4 136.2 7.0 131.0Q0.6 125.8 7.0 120.7Q13.4 115.5 7.0 110.3Q0.6 105.2 7.0 100.0Q13.4 94.8 7.0 89.7Q0.6 84.5 7.0 79.3Q13.4 74.2 7.0 69.0Q0.6 63.8 7.0 58.7Q13.4 53.5 7.0 48.3Q0.6 43.2 7.0 38.0Q13.4 32.8 7.0 27.7Q0.6 22.5 7.0 17.3Q13.4 12.2 7.0 7.0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.tdp-home-hero__dog--fade .tdp-home-hero__img {
  -webkit-mask:
    linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask:
    linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
.tdp-home-hero__dog .tdp-home-hero__ph {
  width: 100%;
  height: 100%;
}

/* Rotating seal on the edge of the arch */
.tdp-home-hero__seal {
  position: absolute;
  top: 3%;
  left: -4px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1.5px solid var(--tdp-green);
  border-radius: 50%;
  background: var(--tdp-yellow);
  color: var(--tdp-green);
}
.tdp-home-hero__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: tdp-home-hero-spin 26s linear infinite;
}
.tdp-home-hero__ring text {
  font-family: var(--tdp-font-body);
  font-size: 8.6px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: var(--tdp-green);
}
.tdp-home-hero__seal-icon { width: 26px; height: 26px; }
@keyframes tdp-home-hero-spin { to { transform: rotate(360deg); } }

/* Card under the arch: the fast lane, with context */
.tdp-home-hero__cards {
  position: relative;
  z-index: 4;
  display: grid;
  min-height: 72px;
  margin: -34px 18px 0;
  padding: 14px 16px;
  border: 1px solid var(--tdp-line);
  border-radius: var(--tdp-radius-card);
  background: var(--tdp-white);
}
.tdp-home-hero__card {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.tdp-home-hero__card.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0s;
}
.tdp-home-hero__card-text { min-width: 0; }
.tdp-home-hero__card-title {
  display: block;
  font-family: var(--tdp-font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--tdp-green);
}
.tdp-home-hero__card-note {
  display: block;
  margin-top: 3px;
  font-family: var(--tdp-font-body);
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--tdp-text-soft);
}
.tdp-home-hero__card-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--tdp-green-100);
  font-family: var(--tdp-font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tdp-green);
  text-decoration: none;
  white-space: nowrap;
}
.tdp-home-hero__card-go .tdp-btn__icon { width: 16px; height: 16px; }

/* Story-style progress steps + pause button */
.tdp-home-hero__controls {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 18px 0;
}
.tdp-home-hero__steps {
  flex: 1;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tdp-home-hero__steps li { flex: 1; min-width: 0; }
.tdp-home-hero__step {
  display: block;
  outline: none;
  box-shadow: none;
  width: 100%;
  padding: 8px 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}
.tdp-home-hero__bar {
  display: block;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--tdp-line);
}
.tdp-home-hero__fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--tdp-green);
}
.tdp-home-hero__step.is-done .tdp-home-hero__fill { width: 100%; }
.tdp-home-hero__step.is-running .tdp-home-hero__fill {
  animation: tdp-home-hero-fill var(--tdp-hero-dur, 4500ms) linear forwards;
}
.tdp-home-hero.is-stopped .tdp-home-hero__step.is-on .tdp-home-hero__fill { width: 100%; }
.tdp-home-hero.is-held .tdp-home-hero__fill,
.tdp-home-hero.is-offscreen .tdp-home-hero__fill { animation-play-state: paused; }
@keyframes tdp-home-hero-fill { from { width: 0; } to { width: 100%; } }
.tdp-home-hero__step-label {
  display: none;
  margin-top: 7px;
  overflow: hidden;
  font-family: var(--tdp-font-body);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tdp-text-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.tdp-home-hero__step.is-on .tdp-home-hero__step-label { color: var(--tdp-green); }

/* Pause / play drawn in CSS (two bars / triangle) */
.tdp-home-hero__toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: -4px;
  padding: 0;
  border: 1px solid var(--tdp-line);
  border-radius: 50%;
  background: var(--tdp-white);
  cursor: pointer;
}
.tdp-home-hero__toggle-icon {
  display: block;
  width: 8px;
  height: 10px;
  border-left: 3px solid var(--tdp-green);
  border-right: 3px solid var(--tdp-green);
}
.tdp-home-hero__toggle[aria-pressed="true"] .tdp-home-hero__toggle-icon {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--tdp-green);
  border-right: 0;
}

/* ---- Green background variant ---- */
.tdp-dark .tdp-home-hero__title { color: var(--tdp-cream); }
.tdp-dark .tdp-home-hero__mark { color: var(--tdp-green-900); }
.tdp-dark .tdp-home-hero__promise { color: var(--tdp-yellow); }
.tdp-dark .tdp-home-hero__link { color: var(--tdp-cream); }
.tdp-dark .tdp-home-hero__trust { color: var(--tdp-green-100); }
.tdp-dark .tdp-home-hero__trust-icon { color: var(--tdp-yellow); }
.tdp-dark .tdp-home-hero__bar { background: var(--tdp-green-900); }
.tdp-dark .tdp-home-hero__fill { background: var(--tdp-yellow); }
.tdp-dark .tdp-home-hero__step-label { color: var(--tdp-green-200); }
.tdp-dark .tdp-home-hero__step.is-on .tdp-home-hero__step-label { color: var(--tdp-yellow); }
.tdp-dark .tdp-home-hero__arch { border-color: var(--tdp-green-200); }

/* ---- Desktop ---- */
@media screen and (min-width: 750px) {
  .tdp-home-hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-areas: "text visual" "actions visual";
    column-gap: 56px;
    row-gap: 28px;
  }
  .tdp-home-hero__text { grid-area: text; align-self: end; }
  .tdp-home-hero__actions-wrap { grid-area: actions; align-self: start; }
  .tdp-home-hero__visual { grid-area: visual; }
  .tdp-home-hero__title { margin-top: 16px; }
  .tdp-home-hero__lead { font-size: 40px; }
  .tdp-home-hero__rot { font-size: 52px; }
  .tdp-home-hero__promise { margin-top: 22px; font-size: 15px; }
  .tdp-home-hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
  .tdp-home-hero__link { align-self: auto; }
  .tdp-home-hero__trust { justify-content: flex-start; gap: 6px 0; margin-top: 26px; }
  .tdp-home-hero__trust-item + .tdp-home-hero__trust-item::before {
    content: "";
    width: 5px;
    height: 5px;
    margin: 0 12px;
    border-radius: 50%;
    background: var(--tdp-yellow-500);
  }
  .tdp-home-hero__stage { max-width: 440px; }
  .tdp-home-hero__seal { top: 22%; left: -46px; width: 112px; height: 112px; }
  .tdp-home-hero__seal-icon { width: 30px; height: 30px; }
  .tdp-home-hero__step-label { display: block; }
}
@media screen and (min-width: 990px) {
  .tdp-home-hero__lead { font-size: 46px; }
  .tdp-home-hero__rot { font-size: 58px; }
  .tdp-home-hero__stage { max-width: 470px; }
}

/* ---- Reduced motion: everything still, no autoplay, no pause button ---- */
@media (prefers-reduced-motion: reduce) {
  .tdp-home-hero__ring { animation: none; }
  .tdp-home-hero__phrase,
  .tdp-home-hero__dog,
  .tdp-home-hero__card,
  .tdp-home-hero__mark,
  .tdp-home-hero__arch,
  .tdp-home-hero__btn .tdp-btn__icon { transition: none; }
  .tdp-home-hero__step.is-running .tdp-home-hero__fill { animation: none; width: 100%; }
  .tdp-home-hero__toggle { display: none; }
}

/****************************
 * END - SECTION 1
 ****************************/



/****************************
 * SECTION 2: PROBLEM MOSAIC
 * START
 ****************************/
.tdp-home-mosaic {
  color: var(--tdp-text);
  font-family: var(--tdp-font-body);
}
.tdp-home-mosaic__head { max-width: 640px; margin-bottom: 24px; }
.tdp-home-mosaic__text { max-width: 36em; }
@media (min-width: 750px) {
  .tdp-home-mosaic__head { margin-bottom: 32px; }
}

/* Grid: 2 columns on mobile (first tile full width),
   4 columns on desktop (first tile 2 x 2). */
.tdp-home-mosaic__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tdp-home-mosaic__item--large { grid-column: span 2; }
@media (min-width: 750px) {
  .tdp-home-mosaic__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .tdp-home-mosaic__item--large { grid-column: span 2; grid-row: span 2; }
}

/* Tile = one link: white card, neutral border, no shadow */
.tdp-home-mosaic__tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--tdp-line);
  border-radius: var(--tdp-radius-card);
  background: var(--tdp-white);
  color: var(--tdp-green);
  text-decoration: none;
}
a.tdp-home-mosaic__tile:hover { border-color: var(--tdp-green); }
a.tdp-home-mosaic__tile:focus-visible { outline: 3px solid var(--tdp-focus-ring); outline-offset: 3px; }
.tdp-home-mosaic__media {
  position: relative;
  flex: none;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--tdp-green-100);
}
.tdp-home-mosaic__item--large .tdp-home-mosaic__media { aspect-ratio: 4 / 5; }
@media (min-width: 750px) {
  .tdp-home-mosaic__item--large .tdp-home-mosaic__media { flex: 1 1 auto; aspect-ratio: auto; min-height: 0; }
}
.tdp-home-mosaic__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 750px) {
  .tdp-home-mosaic__item--large .tdp-home-mosaic__img { position: absolute; inset: 0; }
}
.tdp-home-mosaic__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 12px;
  font-family: var(--tdp-font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
@media (min-width: 750px) {
  .tdp-home-mosaic__caption { padding: 12px 16px 14px; font-size: 16px; }
  .tdp-home-mosaic__item--large .tdp-home-mosaic__caption { font-size: 20px; }
}
.tdp-home-mosaic__arrow {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--tdp-yellow-500);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tdp-home-mosaic__more { margin-top: 20px; }
@media (min-width: 750px) {
  .tdp-home-mosaic__more { margin-top: 28px; }
}
/* Green variant */
.tdp-dark .tdp-home-mosaic__tile { border-color: var(--tdp-green-200); background: var(--tdp-green-900); color: var(--tdp-cream); }
.tdp-dark a.tdp-home-mosaic__tile:hover { border-color: var(--tdp-cream); }
/****************************
 * END - SECTION 2
 ****************************/


/****************************
 * SECTION 3: PRODUCT CARDS
 * START
 ****************************/
.tdp-home-cards {
  color: var(--tdp-text);
  font-family: var(--tdp-font-body);
}
.tdp-home-cards__head { max-width: 640px; margin-bottom: 20px; }
@media (min-width: 750px) {
  .tdp-home-cards__head { margin-bottom: 28px; }
}

/* Mobile: horizontal slider with scroll-snap, bleeding to the page edges
   (page-width uses a 1.5rem gutter on mobile). Desktop: wrapping row. */
.tdp-home-cards__track {
  display: flex;
  gap: 12px;
  margin: 0 -1.5rem;
  padding: 0 1.5rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tdp-home-cards__track::-webkit-scrollbar { display: none; }
.tdp-home-cards__item {
  flex: 0 0 82%;
  scroll-snap-align: start;
}
@media (min-width: 750px) {
  .tdp-home-cards__track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
  .tdp-home-cards__item { flex: 0 0 calc((100% - 40px) / 3); }
}
@media (min-width: 990px) {
  .tdp-home-cards__item { flex: 0 0 calc((100% - 80px) / 5); }
}

/* Card */
.tdp-home-cards__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--tdp-line);
  border-radius: var(--tdp-radius-card);
  background: var(--tdp-white);
}
.tdp-home-cards__media {
  position: relative;
  display: block;
  padding: 12px 12px 0;
}
.tdp-home-cards__cover {
  position: absolute;
  right: 18px;
  bottom: -8px;
  width: 28%;
  aspect-ratio: 924 / 1316;
  overflow: hidden;
  border: 2px solid var(--tdp-white);
  border-radius: var(--tdp-radius-check);
  background: var(--tdp-white);
}
.tdp-home-cards__cover-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tdp-home-cards__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px 16px 16px;
}
.tdp-home-cards__name {
  margin: 0 0 6px;
  font-family: var(--tdp-font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tdp-green);
}
.tdp-home-cards__name a { color: inherit; text-decoration: none; }
.tdp-home-cards__name a:hover { text-decoration: underline; text-decoration-color: var(--tdp-yellow-500); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tdp-home-cards__name a:focus-visible { outline: 3px solid var(--tdp-focus-ring); outline-offset: 2px; border-radius: 4px; }
.tdp-home-cards__symptom {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--tdp-text);
}
.tdp-home-cards__goal {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--tdp-text-soft);
}
.tdp-home-cards__micro {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--tdp-green);
}
.tdp-home-cards__micro-icon { width: 16px; height: 16px; flex: none; }
.tdp-home-cards__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}
.tdp-home-cards__price {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tdp-green);
}
.tdp-home-cards__link { font-size: 14px; }
.tdp-home-cards__more { margin-top: 24px; text-align: center; }
/* Green variant */
.tdp-dark .tdp-home-cards__card { border-color: var(--tdp-green-200); }
/****************************
 * END - SECTION 3
 ****************************/



/****************************
 * SECTION 4: FEATURED
 * START
 ****************************/

/* Layout: mobile = cover, then content; desktop = two columns */
.tdp-home-feat__grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

/* ---- Visual: cover on the section background (no box behind it: the PNG has its own shadow) ---- */
.tdp-home-feat__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* The two covers sit in the same grid cell: the box takes the height of the image
   itself, so a PNG with transparent margins never leaves empty space */
.tdp-home-feat__cover {
  position: relative;
  display: grid;
  width: min(60vw, 240px);
}
.tdp-home-feat__cover-img {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tdp-home-feat__cover-img img {
  display: block;
  width: 100%;
  height: auto;
}
.tdp-home-feat[data-edition="pdf"] .tdp-home-feat__cover-img--pdf,
.tdp-home-feat[data-edition="audio"] .tdp-home-feat__cover-img--audio {
  opacity: 1;
  transform: none;
}
.tdp-home-feat__ph { width: 100%; aspect-ratio: 924 / 1316; }

/* Sticker on the audio cover: a round yellow label, slightly tilted */
.tdp-home-feat__sticker {
  position: absolute;
  top: 40%;
  right: -14px;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  width: 70px;
  height: 70px;
  padding: 6px;
  border: 1.5px solid var(--tdp-green);
  border-radius: 50%;
  background: var(--tdp-yellow);
  color: var(--tdp-green);
  font-family: var(--tdp-font-body);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: rotate(-10deg) scale(0.6);
  transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.tdp-home-feat__sticker-icon { width: 20px; height: 20px; }
.tdp-home-feat[data-edition="audio"] .tdp-home-feat__sticker {
  opacity: 1;
  transform: rotate(-10deg) scale(1);
}

/* Player: slides open under the edition cards only for the audio edition */
.tdp-home-feat__player-wrap {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  opacity: 0;
  transition: grid-template-rows 0.5s ease, opacity 0.4s ease;
}
.tdp-home-feat[data-edition="audio"] .tdp-home-feat__player-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
}
.tdp-home-feat__player-wrap > * { min-height: 0; overflow: hidden; }
.tdp-home-feat__player {
  margin-top: 10px;
  padding: 12px 14px 10px;
  border: 1px solid var(--tdp-line);
  border-radius: 18px;
  background: var(--tdp-white);
}
.tdp-home-feat__player-top {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.tdp-home-feat__play {
  position: relative;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.tdp-home-feat__play:disabled { cursor: default; }
.tdp-home-feat__play:focus-visible,
.tdp-home-feat__ed:focus-visible {
  outline: 3px solid var(--tdp-focus-ring);
  outline-offset: 2px;
}
.tdp-home-feat__play:focus-visible { border-radius: 50%; }
.tdp-home-feat__play:focus:not(:focus-visible),
.tdp-home-feat__ed:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
.tdp-home-feat__ring {
  position: absolute;
  inset: 0;
  width: 52px;
  height: 52px;
  transform: rotate(-90deg);
}
.tdp-home-feat__ring-bg { fill: none; stroke: var(--tdp-green-100); stroke-width: 3; }
.tdp-home-feat__ring-fg {
  fill: none;
  stroke: var(--tdp-yellow-500);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 144.5;
  stroke-dashoffset: 144.5;
  transition: stroke-dashoffset 0.2s linear;
}
.tdp-home-feat__play-in {
  position: absolute;
  inset: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tdp-green);
}
.tdp-home-feat__play-in svg { width: 16px; height: 16px; fill: var(--tdp-cream); }
.tdp-home-feat__ico-pause { display: none; }
.tdp-home-feat__player.is-playing .tdp-home-feat__ico-play { display: none; }
.tdp-home-feat__player.is-playing .tdp-home-feat__ico-pause { display: block; }
.tdp-home-feat__player-meta { min-width: 0; }
.tdp-home-feat__player-label {
  margin: 0;
  font-family: var(--tdp-font-body);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tdp-text-soft);
}
.tdp-home-feat__track {
  margin: 2px 0 0;
  overflow: hidden;
  font-family: var(--tdp-font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--tdp-green);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tdp-home-feat__dur {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: var(--tdp-radius-pill);
  background: var(--tdp-green-100);
  font-family: var(--tdp-font-body);
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--tdp-green);
}
.tdp-home-feat__dur::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tdp-success);
}
.tdp-home-feat__wave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  height: 34px;
  margin-top: 12px;
}
.tdp-home-feat__wave i {
  flex: 0 0 4px;
  border-radius: 3px;
  background: var(--tdp-line);
  transition: background-color 0.15s ease;
}
.tdp-home-feat__wave i.is-on { background: var(--tdp-green); }
.tdp-home-feat__times {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--tdp-font-body);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--tdp-text-soft);
}

/* ---- Content ---- */
.tdp-home-feat__badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--tdp-radius-pill);
  background: var(--tdp-green-100);
  font-family: var(--tdp-font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--tdp-green);
}
.tdp-home-feat__badge--best { background: var(--tdp-yellow); }
.tdp-home-feat__name { margin-top: 14px; }
.tdp-home-feat__goal { margin-top: 2px; }

.tdp-home-feat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 18px;
    padding: 0;
  list-style: none;
}
.tdp-home-feat__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--tdp-line);
  border-radius: var(--tdp-radius-pill);
  background: var(--tdp-white);
  font-family: var(--tdp-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--tdp-green);
}
.tdp-home-feat__chip-icon { width: 16px; height: 16px; }

/* Edition cards: the small "order bump" between the readable and the listenable edition */
.tdp-home-feat__ed-label {
  margin: 26px 0 10px;
  font-family: var(--tdp-font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tdp-text-soft);
}
.tdp-home-feat__editions {
  display: grid;
  gap: 10px;
}
.tdp-home-feat__ed {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 22px;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 14px 14px 14px 12px;
  border: 1.5px solid var(--tdp-line);
  border-radius: var(--tdp-radius-card);
  background: var(--tdp-white);
  font-family: var(--tdp-font-body);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.tdp-home-feat__ed:hover { border-color: var(--tdp-green-200); }
.tdp-home-feat__ed.is-selected { border-color: var(--tdp-green); }
.tdp-home-feat__ed-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tdp-green-100);
  color: var(--tdp-green);
}
.tdp-home-feat__ed-icon .tdp-icon { width: 20px; height: 20px; }
.tdp-home-feat__ed--audio .tdp-home-feat__ed-icon { background: var(--tdp-yellow-50); }
.tdp-home-feat__ed-body { display: grid; gap: 2px; min-width: 0; }
.tdp-home-feat__ed-title {
  font-family: var(--tdp-font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tdp-green);
}
.tdp-home-feat__ed-tag {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--tdp-text-soft);
}
.tdp-home-feat__ed-price {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--tdp-text);
}
.tdp-home-feat__ed-bump {
  justify-self: start;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: var(--tdp-radius-pill);
  background: var(--tdp-yellow-50);
  font-size: 11px;
  font-weight: 700;
  color: var(--tdp-yellow-ink);
}
/* Radio: empty ring, then filled yellow with a green check */
.tdp-home-feat__ed-radio {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--tdp-line);
  border-radius: 50%;
  background: var(--tdp-white);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.tdp-home-feat__ed.is-selected .tdp-home-feat__ed-radio {
  border-color: var(--tdp-green);
  background: var(--tdp-yellow);
}
.tdp-home-feat__ed.is-selected .tdp-home-feat__ed-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--tdp-green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4l8 -8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4l8 -8'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Price + button */
.tdp-home-feat__buy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: 22px;
}
/* Big price: desktop only (on mobile the price is already on the edition cards) */
.tdp-home-feat__price {
  display: none;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-family: var(--tdp-font-body);
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--tdp-green);
}
.tdp-home-feat__compare {
  font-size: 15px;
  font-weight: 600;
  color: var(--tdp-text-soft);
}
.tdp-home-feat__btn { margin-top: 0; white-space: nowrap; }
.tdp-home-feat__guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-family: var(--tdp-font-body);
  font-size: 13px;
  color: var(--tdp-text-soft);
}
.tdp-home-feat__guarantee-icon { flex: none; width: 18px; height: 18px; color: var(--tdp-green); }

/* ---- Green background variant ---- */
.tdp-dark .tdp-home-feat__goal,
.tdp-dark .tdp-home-feat__guarantee { color: var(--tdp-green-100); }
.tdp-dark .tdp-home-feat__price,
.tdp-dark .tdp-home-feat__name { color: var(--tdp-cream); }
.tdp-dark .tdp-home-feat__ed-label { color: var(--tdp-green-200); }
.tdp-dark .tdp-home-feat__guarantee-icon { color: var(--tdp-yellow); }

/* ---- Desktop ---- */
@media screen and (min-width: 750px) {
  .tdp-home-feat__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 56px;
  }
  .tdp-home-feat__cover { width: 300px; }
  .tdp-home-feat__price { display: flex; }
  .tdp-home-feat__sticker { right: -22px; width: 86px; height: 86px; padding: 8px; font-size: 10.5px; }
  .tdp-home-feat__sticker-icon { width: 24px; height: 24px; }
  .tdp-home-feat__editions { grid-template-columns: 1fr 1fr; }
  .tdp-home-feat__chips + .tdp-home-feat__editions {
  margin-top: 18px;
}
.tdp-home-feat .tdp-home-feat__ed-label + .tdp-home-feat__editions {
  margin-top: 0;
}
  .tdp-home-feat__ed { align-items: start; }
  .tdp-home-feat__ed-radio { margin-top: 2px; }
  .tdp-home-feat__buy { flex-direction: row; align-items: center; gap: 22px; }
}
@media screen and (min-width: 990px) {
  .tdp-home-feat__grid { column-gap: 72px; }
  .tdp-home-feat__cover { width: 360px; }
  .tdp-home-feat__sticker { right: -30px; width: 96px; height: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .tdp-home-feat__cover-img,
  .tdp-home-feat__sticker,
  .tdp-home-feat__player-wrap,
  .tdp-home-feat__ring-fg,
  .tdp-home-feat__wave i { transition: none; }
}

/****************************
 * END - SECTION 4
 ****************************/



/****************************
 * SECTION 5: SHORTCUT TRAP
 * START
 ****************************/
.tdp-home-trap {
  color: var(--tdp-text);
  font-family: var(--tdp-font-body);
}
.tdp-home-trap__head {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}
/* Centred eyebrow: keep the yellow dash, let the label shrink to its text */
.tdp-home-trap__eyebrow { display: inline-block; }
.tdp-home-trap__text { margin-left: auto; margin-right: auto; }
@media (min-width: 750px) {
  .tdp-home-trap__head { margin-bottom: 36px; }
}

/* The strip: stacked on mobile, side by side on desktop */
.tdp-home-trap__strip {
  display: grid;
  gap: 20px;
  max-width: 360px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
@media (min-width: 750px) {
  .tdp-home-trap__strip {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    max-width: 1040px;
  }
}
.tdp-home-trap__panel { display: flex; flex-direction: column; align-items: center; }

/* Cream frame around each picture, card radius, step number in the corner */
.tdp-home-trap__frame {
  position: relative;
  width: 100%;
  padding: 10px;
  border-radius: var(--tdp-radius-card);
  background: var(--tdp-cream);
}
.tdp-home-trap__num {
  position: absolute;
  top: -12px;
  left: -12px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--tdp-green);
  border-radius: 50%;
  background: var(--tdp-yellow);
  color: var(--tdp-green);
  font-family: var(--tdp-font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.tdp-home-trap__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--tdp-radius-box);
  background: var(--tdp-cream);
}
.tdp-home-trap__img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Placeholder inside the cream frame: dark border even on green sections */
.tdp-home-trap__media .tdp-home-ph { border-color: var(--tdp-line); color: var(--tdp-text-soft); }
.tdp-home-trap__caption {
  margin: 14px 0 0;
  font-family: var(--tdp-font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--tdp-green);
}
.tdp-dark .tdp-home-trap__caption { color: var(--tdp-cream); }
/* Cream variant: the frame must still read as a frame */
.tdp-home-trap:not(.tdp-dark) .tdp-home-trap__frame { border: 1px solid var(--tdp-line); background: var(--tdp-white); }
*/
.tdp-home-trap__frame { position: relative; }
.tdp-home-trap__stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-block;
  padding: 4px 9px;
  border: 2px solid var(--tdp-error);
  border-radius: 4px;
  background: var(--tdp-white);
  font-family: var(--tdp-font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tdp-error);
  transform: rotate(-6deg);
  transform-origin: right center;
}
@media screen and (min-width: 750px) {
  .tdp-home-trap__stamp { top: 18px; right: 18px; font-size: 12px; padding: 5px 10px; }
}

/****************************
 * END - SECTION 5
 ****************************/


/****************************
 * SECTION 6: WHY WE EXIST
 * START
 ****************************/
.tdp-home-why {
  color: var(--tdp-text);
  font-family: var(--tdp-font-body);
}
.tdp-home-why__head {
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: center;
}
.tdp-home-why__eyebrow { display: inline-block; }
.tdp-home-why__text { margin-left: auto; margin-right: auto; }
@media (min-width: 750px) {
  .tdp-home-why__head { margin-bottom: 32px; }
}

/* Figure: the image plus the HTML labels */
.tdp-home-why__figure { position: relative; }
.tdp-home-why__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--tdp-radius-card);

}
@media (min-width: 750px) {
  .tdp-home-why__media { aspect-ratio: 16 / 10; }
}
.tdp-home-why__img,
.tdp-home-why__media picture { display: block; width: 100%; height: 100%; }
.tdp-home-why__img { object-fit: cover; }

/* Labels: a list under the image on mobile, pills placed over it on desktop */
.tdp-home-why__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.tdp-home-why__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--tdp-line);
  border-radius: var(--tdp-radius-pill);
  background: var(--tdp-white);
  color: var(--tdp-green);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.tdp-home-why__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border: 2px solid var(--tdp-green);
  border-radius: 50%;
  background: var(--tdp-yellow);
}
@media (min-width: 750px) {
  .tdp-home-why__labels {
    position: absolute;
    inset: 0;
    margin: 0;
    pointer-events: none;
  }
  .tdp-home-why__label {
    position: absolute;
    left: var(--tdp-x, 50%);
    top: var(--tdp-y, 70%);
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: auto;
  }
}
.tdp-dark .tdp-home-why__label { border-color: var(--tdp-green-200); }
/****************************
 * END - SECTION 6
 ****************************/


/****************************
 * SECTION 7: METHOD
 * START
 ****************************/
.tdp-home-method {
  color: var(--tdp-text);
  font-family: var(--tdp-font-body);
}
.tdp-home-method__head { max-width: 640px; margin-bottom: 24px; }
.tdp-home-method__text { max-width: 36em; }
@media (min-width: 750px) {
  .tdp-home-method__head { margin-bottom: 32px; }
}

/* Mobile: one panel per screen, scroll-snap. Desktop: 4 in a row. */
.tdp-home-method__track {
  display: flex;
  gap: 16px;
  margin: 0 -1.5rem;
  padding: 0 1.5rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.5rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tdp-home-method__track::-webkit-scrollbar { display: none; }
.tdp-home-method__step {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
@media (min-width: 750px) {
  .tdp-home-method__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
  .tdp-home-method__step { flex: none; }
}
.tdp-home-method__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--tdp-radius-card);
  background: var(--tdp-green-100);
}
.tdp-home-method__img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Step number: Archivo (Zilla Slab has old-style figures) */
.tdp-home-method__num {
  display: block;
  margin: 16px 0 4px;
  font-family: var(--tdp-font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--tdp-yellow-500);
}
.tdp-home-method__title {
  margin: 0 0 6px;
  font-family: var(--tdp-font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tdp-green);
}
.tdp-home-method__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--tdp-text);
}
.tdp-dark .tdp-home-method__title { color: var(--tdp-cream); }
.tdp-dark .tdp-home-method__desc { color: var(--tdp-green-100); }
.tdp-dark .tdp-home-method__num { color: var(--tdp-yellow); }

/* Progress dots (mobile only), built by the section's script */
.tdp-home-method__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
@media (min-width: 750px) {
  .tdp-home-method__dots { display: none; }
}
.tdp-home-method__dot {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--tdp-green);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.tdp-home-method__dot.is-active { background: var(--tdp-green); transform: scale(1.2); }
.tdp-home-method__dot:focus-visible { outline: 3px solid var(--tdp-focus-ring); outline-offset: 3px; }
.tdp-dark .tdp-home-method__dot { border-color: var(--tdp-cream); }
.tdp-dark .tdp-home-method__dot.is-active { background: var(--tdp-yellow); border-color: var(--tdp-yellow); }
@media (prefers-reduced-motion: reduce) {
  .tdp-home-method__track { scroll-behavior: auto; }
  .tdp-home-method__dot { transition: none; }
}
/****************************
 * END - SECTION 7
 ****************************/


/****************************
 * SECTION 8: NO-FORCE PROMISE
 * START
 ****************************/
.tdp-home-promise {
  color: var(--tdp-text);
  font-family: var(--tdp-font-body);
}
.tdp-home-promise__column {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.tdp-home-promise__seal {
  position: relative;
  width: 120px;
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
}
@media (min-width: 750px) {
  .tdp-home-promise__seal { width: 160px; margin-bottom: 24px; }
}
.tdp-home-promise__seal-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tdp-home-ph--round { border-radius: 50%; }
.tdp-home-promise__title { margin-top: 0; }
.tdp-home-promise__text { max-width: 34em; }

/* Pledges: large icons with a label */
.tdp-home-promise__pledges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 32px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.tdp-home-promise__pledge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 96px;
}
.tdp-home-promise__pledge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--tdp-green-200);
  border-radius: 50%;
  color: var(--tdp-yellow);
}
.tdp-home-promise__pledge-icon .tdp-icon { width: 30px; height: 30px; }
.tdp-home-promise__pledge-label {
  font-family: var(--tdp-font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tdp-cream);
}
.tdp-home-promise__illustration {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 28px;
}
.tdp-home-promise__illustration-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tdp-home-promise__btn { width: 100%; margin-top: 28px; }
@media (min-width: 750px) {
  .tdp-home-promise__btn { width: auto; }
}
/* Cream variant (not the default) */
.tdp-home-promise:not(.tdp-dark) .tdp-home-promise__pledge-icon { border-color: var(--tdp-line); background: var(--tdp-white); color: var(--tdp-green); }
.tdp-home-promise:not(.tdp-dark) .tdp-home-promise__pledge-label { color: var(--tdp-green); }
/****************************
 * END - SECTION 8
 ****************************/


/****************************
 * SECTION 9: ANATOMY
 * START
 ****************************/
.tdp-home-anatomy {
  color: var(--tdp-text);
  font-family: var(--tdp-font-body);
}
.tdp-home-anatomy__grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 750px) {
  .tdp-home-anatomy__grid {
    grid-template-columns: 55fr 45fr;
    align-items: center;
    gap: 48px;
  }
}
@media (min-width: 990px) {
  .tdp-home-anatomy__grid { gap: 72px; }
}
.tdp-home-anatomy__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--tdp-radius-card);
  background: var(--tdp-green-100);
}
.tdp-home-anatomy__img { display: block; width: 100%; height: 100%; object-fit: cover;  }
.tdp-home-anatomy__head { margin-bottom: 20px; }
.tdp-home-anatomy__head .tdp-lead { max-width: 32em; }

/* Numbered list: the numbers match the circles drawn in the image */
.tdp-home-anatomy__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tdp-home-anatomy__item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.tdp-home-anatomy__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--tdp-green);
  border-radius: 50%;
  background: var(--tdp-yellow);
  color: var(--tdp-green);
  font-family: var(--tdp-font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.tdp-home-anatomy__title {
  margin: 5px 0 3px;
  font-family: var(--tdp-font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--tdp-green);
}
.tdp-home-anatomy__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--tdp-text);
}
.tdp-dark .tdp-home-anatomy__title { color: var(--tdp-cream); }
.tdp-dark .tdp-home-anatomy__desc { color: var(--tdp-green-100); }
/****************************
 * END - SECTION 9
 ****************************/


/****************************
 * SECTION 10: INSIDE THE PROTOCOL
 * START
 ****************************/

.tdp-home-inside {
  color: var(--tdp-text);
  font-family: var(--tdp-font-body);
}
.tdp-home-inside__grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 750px) {
  .tdp-home-inside__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
  }
}
@media (min-width: 990px) {
  .tdp-home-inside__grid { gap: 72px; }
}
.tdp-home-inside__media {
  position: relative;
  aspect-ratio: 4 / 3;
}
.tdp-home-inside__img { display: block; width: 100%; height: 100%; object-fit: contain;border-radius: var(--tdp-radius-card); }
.tdp-home-inside__head { margin-bottom: 20px; }
.tdp-home-inside__head .tdp-lead { max-width: 32em; }

/* Formats: icon, label, note */
.tdp-home-inside__formats {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tdp-home-inside__format {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--tdp-line);
  border-radius: var(--tdp-radius-box);
  background: var(--tdp-white);
}
.tdp-home-inside__format-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tdp-green-100);
  color: var(--tdp-green);
}
.tdp-home-inside__format-icon .tdp-icon { width: 22px; height: 22px; }
.tdp-home-inside__format-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
.tdp-home-inside__format-label {
  font-family: var(--tdp-font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tdp-green);
}
.tdp-home-inside__format-note {
  font-size: 13px;
  line-height: 1.3;
  color: var(--tdp-text-soft);
}
.tdp-home-inside__footnote {
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--tdp-green);
}
.tdp-dark .tdp-home-inside__format { border-color: var(--tdp-green-200); background: var(--tdp-green-900); }
.tdp-dark .tdp-home-inside__format-label,
.tdp-dark .tdp-home-inside__footnote { color: var(--tdp-cream); }
.tdp-dark .tdp-home-inside__format-note { color: var(--tdp-green-100); }
/****************************
 * END - SECTION 10
 ****************************/


/****************************
 * SECTION 11: HONEST PROMISE
 * START
 ****************************/
.tdp-home-honest {
  color: var(--tdp-text);
  font-family: var(--tdp-font-body);
}
.tdp-home-honest__head {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}
.tdp-home-honest__eyebrow { display: inline-block; }
@media (min-width: 750px) {
  .tdp-home-honest__head { margin-bottom: 36px; }
}

/* Two columns, stacked on mobile */
.tdp-home-honest__columns {
  display: grid;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 750px) {
  .tdp-home-honest__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}
.tdp-home-honest__col-title {
  margin: 0 0 12px;
  font-family: var(--tdp-font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tdp-green);
}
.tdp-dark .tdp-home-honest__col-title { color: var(--tdp-cream); }
.tdp-home-honest__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Tiles: on green a thin mint border, on cream white cards */
.tdp-home-honest__tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--tdp-line);
  border-radius: var(--tdp-radius-box);
  background: var(--tdp-white);
}
.tdp-dark .tdp-home-honest__tile {
  border-color: var(--tdp-green-200);
  background: transparent;
}
.tdp-home-honest__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.tdp-home-honest__icon .tdp-icon { width: 16px; height: 16px; stroke-width: 2.4; }
.tdp-home-honest__icon--yes { background: var(--tdp-yellow); color: var(--tdp-green); }
.tdp-home-honest__icon--no { border: 1.5px solid var(--tdp-line); color: var(--tdp-text-soft); }
.tdp-dark .tdp-home-honest__icon--no { border-color: var(--tdp-green-200); color: var(--tdp-green-200); }
.tdp-home-honest__tile-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--tdp-green);
}
.tdp-dark .tdp-home-honest__tile-text { color: var(--tdp-cream); }
.tdp-dark .tdp-home-honest__col--not .tdp-home-honest__tile-text { color: var(--tdp-green-100); }

/* Closing line */
.tdp-home-honest__closing {
  max-width: 640px;
  margin: 28px auto 0;
  font-family: var(--tdp-font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--tdp-green);
}
.tdp-dark .tdp-home-honest__closing { color: var(--tdp-yellow); }
@media (min-width: 750px) {
  .tdp-home-honest__closing { margin-top: 36px; font-size: 22px; }
}
/****************************
 * END - SECTION 11
 ****************************/


/****************************
 * SECTION 12: DOG WALL
 * START
 ****************************/
.tdp-home-wall {
  color: var(--tdp-text);
  font-family: var(--tdp-font-body);
}
.tdp-home-wall__head { max-width: 640px; margin-bottom: 20px; }

/* Tabs: horizontal scroll on mobile, wrapping row on desktop */
.tdp-home-wall__tabs {
  display: flex;
  gap: 8px;
  margin: 0 -1.5rem 20px;
  padding: 2px 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tdp-home-wall__tabs::-webkit-scrollbar { display: none; }
@media (min-width: 750px) {
  .tdp-home-wall__tabs { flex-wrap: wrap; margin: 0 0 28px; padding: 2px 0; overflow: visible; }
}
.tdp-home-wall__tab {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid var(--tdp-line);
  border-radius: var(--tdp-radius-pill);
  background: var(--tdp-white);
  box-shadow: none;
  color: var(--tdp-green);
  font-family: var(--tdp-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
}
.tdp-home-wall__tab::before,
.tdp-home-wall__tab::after { display: none; }
.tdp-home-wall__tab:hover { border-color: var(--tdp-green); }
.tdp-home-wall__tab.is-active {
  border-color: var(--tdp-green);
  background: var(--tdp-green);
  color: var(--tdp-cream);
}
.tdp-home-wall__tab:focus-visible { outline: 3px solid var(--tdp-focus-ring); outline-offset: 2px; }
.tdp-dark .tdp-home-wall__tab { border-color: var(--tdp-green-200); background: transparent; color: var(--tdp-cream); }
.tdp-dark .tdp-home-wall__tab.is-active { border-color: var(--tdp-yellow); background: var(--tdp-yellow); color: var(--tdp-yellow-ink); }

/* Grid: 2 / 4 / 6 columns */
.tdp-home-wall__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 750px) {
  .tdp-home-wall__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
}
@media (min-width: 990px) {
  .tdp-home-wall__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.tdp-home-wall__item[hidden] { display: none; }
.tdp-home-wall__tile {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.tdp-home-wall__tile:focus-visible { outline: 3px solid var(--tdp-focus-ring); outline-offset: 4px; border-radius: var(--tdp-radius-card); }
a.tdp-home-wall__tile:hover .tdp-home-frame { border-color: var(--tdp-green); }

/* Info under the portrait: revealed on hover / focus where hover exists,
   always visible on touch devices. */
.tdp-home-wall__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 4px 0;
  text-align: center;
}
.tdp-home-wall__symptom {
  font-size: 13px;
  line-height: 1.35;
  color: var(--tdp-text-soft);
}
.tdp-home-wall__name {
  font-family: var(--tdp-font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--tdp-green);
}
.tdp-home-wall__price {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tdp-green);
}
@media (hover: hover) and (min-width: 750px) {
  .tdp-home-wall__info {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .tdp-home-wall__tile:hover .tdp-home-wall__info,
  .tdp-home-wall__tile:focus-visible .tdp-home-wall__info { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tdp-home-wall__info { transition: none; transform: none; }
}
.tdp-dark .tdp-home-wall__symptom { color: var(--tdp-green-100); }
.tdp-dark .tdp-home-wall__name,
.tdp-dark .tdp-home-wall__price { color: var(--tdp-cream); }
.tdp-home-wall__more { margin-top: 24px; text-align: center; }
@media (min-width: 750px) {
  .tdp-home-wall__more { margin-top: 32px; }
}
/****************************
 * END - SECTION 12
 ****************************/


/****************************
 * SECTION 13: FAQ
 * START
 ****************************/
.tdp-home-faq {
  color: var(--tdp-text);
  font-family: var(--tdp-font-body);
}
.tdp-home-faq__grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 750px) {
  .tdp-home-faq__grid {
    grid-template-columns: 35fr 65fr;
    align-items: start;
    gap: 48px;
  }
}
@media (min-width: 990px) {
  .tdp-home-faq__grid { gap: 72px; }
}
.tdp-home-faq__head .tdp-lead { max-width: 30em; }

/* The dog: small on mobile (max 160px), full column width on desktop */
.tdp-home-faq__dog {
  position: relative;
  width: 160px;
  aspect-ratio: 3 / 4;
  margin-top: 16px;
}
@media (min-width: 750px) {
  .tdp-home-faq__dog { width: min(100%, 300px); margin-top: 28px; }
}
.tdp-home-faq__dog-img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left bottom; }

/* Accordion: white cards on cream */
.tdp-home-faq__list {
  display: grid;
  gap: 8px;
}
.tdp-home-faq__item {
  position: relative;
  border: 1px solid var(--tdp-line);
  border-radius: var(--tdp-radius-card);
  background: var(--tdp-white);
  transition: border-color 0.25s ease;
}
.tdp-home-faq__item.is-open { border-color: var(--tdp-green); }
.tdp-home-faq__item::before {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: -1px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--tdp-yellow-500);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.tdp-home-faq__item.is-open::before { opacity: 1; }

/* Question button (full reset: the theme styles buttons) */
.tdp-home-faq__q {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: var(--tdp-radius-card);
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}
@media (min-width: 750px) {
  .tdp-home-faq__q { padding: 18px 20px; }
}
.tdp-home-faq__q::before,
.tdp-home-faq__q::after { display: none; }
.tdp-home-faq__q:focus-visible { outline: 3px solid var(--tdp-focus-ring); outline-offset: 2px; }
.tdp-home-faq__q-text {
  font-family: var(--tdp-font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tdp-green);
}
@media (min-width: 750px) {
  .tdp-home-faq__q-text { font-size: 17px; }
}

/* Plus / minus */
.tdp-home-faq__pm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tdp-cream);
  color: var(--tdp-green);
  transition: background-color 0.2s ease, transform 0.3s ease;
}
.tdp-home-faq__pm svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.tdp-home-faq__pm-v { transition: opacity 0.2s ease; }
.tdp-home-faq__item.is-open .tdp-home-faq__pm {
  background: var(--tdp-green);
  color: var(--tdp-cream);
  transform: rotate(180deg);
}
.tdp-home-faq__item.is-open .tdp-home-faq__pm-v { opacity: 0; }

/* Answer: animated height with grid rows */
.tdp-home-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.tdp-home-faq__item.is-open .tdp-home-faq__a { grid-template-rows: 1fr; }
.tdp-home-faq__a-inner { overflow: hidden; }
.tdp-home-faq__a-body { padding: 0 16px 18px; }
@media (min-width: 750px) {
  .tdp-home-faq__a-body { padding: 0 66px 20px 20px; }
}
.tdp-home-faq__a-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--tdp-text);
}
.tdp-home-faq__a-body p + p { margin-top: 10px; }
.tdp-home-faq__a-body a {
  color: var(--tdp-green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--tdp-yellow-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
/* Green variant: cards keep their white surface, so the text stays dark */
.tdp-dark .tdp-home-faq__item { border-color: var(--tdp-green-200); }
.tdp-dark .tdp-home-faq__item.is-open { border-color: var(--tdp-yellow); }
@media (prefers-reduced-motion: reduce) {
  .tdp-home-faq__item,
  .tdp-home-faq__item::before,
  .tdp-home-faq__pm,
  .tdp-home-faq__pm-v,
  .tdp-home-faq__a { transition: none; }
}
/****************************
 * END - SECTION 13
 ****************************/


/****************************
 * SECTION 14: CLOSING
 * START
 ****************************/
.tdp-home-closing {
  color: var(--tdp-text);
  font-family: var(--tdp-font-body);
}
.tdp-home-closing__column {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.tdp-home-closing__title { margin-top: 0; }
.tdp-home-closing__text { max-width: 34em; }
.tdp-home-closing__pills { justify-content: center; margin-top: 22px; }
.tdp-home-closing__btn { width: 100%; margin-top: 24px; }
@media (min-width: 750px) {
  .tdp-home-closing__btn { width: auto; }
}

/* The wide illustration: 4:3 on mobile, 21:9 on desktop */
.tdp-home-closing__media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-top: 32px;
  overflow: hidden;
  border-radius: var(--tdp-radius-card);
}
@media (min-width: 750px) {
  .tdp-home-closing__media { aspect-ratio: 21 / 9; margin-top: 44px; }
}
.tdp-home-closing__img,
.tdp-home-closing__media picture { display: block; width: 100%; height: 100%; }
.tdp-home-closing__img { object-fit: cover; }
/****************************
 * END - SECTION 14
 ****************************/
