/* ==========================================================================
   ViaRx Health — treatment detail pages (<slug>.html, tools/treatment-page.js)
   ========================================================================== */

.pd { --pd-ink: #12304f; --pd-mint: #dff3ee; --pd-line: rgba(18, 48, 79, .1); background: #fff; }
.pd-h2 {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.06;
  letter-spacing: -.04em;
  color: var(--pd-ink);
}
.pd-h2 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 1.08em; padding-right: .06em; }
.pd-h2--center { text-align: center; }
.pd-lede { margin-top: 18px; font-size: 18px; line-height: 1.55; color: rgba(18, 48, 79, .8); }
.pd-dot { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 15px; color: var(--pd-ink); }
.pd-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pd-ink); }
.pd-dot--center { display: flex; justify-content: center; }
.pd-dark,
.pd-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  transition: transform .3s var(--ease-out), background-color .3s, box-shadow .3s;
}
.pd-dark { margin-top: 30px; background: var(--teal); color: #fff; }
.pd-dark:hover { background: #224C9E; transform: translateY(-2px); }
.pd-pill { margin-top: 28px; background: #9ED8D0; color: #0b1d3e; }
.pd-pill:hover { background: #fff; transform: translateY(-2px); }
.pd-chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Placeholder for images not generated yet */
.pd-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, #dfe8f2, #c7d6e6);
}
.pd-ph span { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(18, 48, 79, .6); }

/* ==========================================================================
   Hero
   ========================================================================== */
.pd-hero { padding: 28px 0 0; }
.pd-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); gap: 76px; align-items: start; }

/* ---------- Gallery card ---------- */
.pd-media {
  position: relative;
  aspect-ratio: 637 / 745;
  border-radius: 24px;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  background: linear-gradient(160deg, #e9eef2, #d6dee6);
}
.pd-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease-out); }
.pd-slide.is-on { opacity: 1; z-index: 1; }
.pd-slide__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.pd-slide__photo.is-alt { object-position: 62% 30%; }
.pd-slide__photo.is-cutout { object-fit: contain; object-position: center bottom; top: auto; height: 92%; }
.pd-slide--photo,
.pd-slide--lines { background: linear-gradient(160deg, #8fa7bf, #50677f); }
.pd-slide--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 30, .12) 0%, rgba(10, 20, 30, .28) 100%); }
.pd-slide--lines::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 30, .38) 0%, rgba(10, 20, 30, .12) 60%, rgba(10, 20, 30, .3) 100%); }
.pd-tag {
  position: absolute;
  z-index: 3;
  top: 30px;
  left: 30px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--pd-mint);
  font-size: 15px;
  font-weight: 500;
  color: var(--pd-ink);
}

/* Glass rows over the photo */
.pd-rows { position: absolute; z-index: 2; left: 5.5%; right: 5.5%; top: 31%; display: grid; gap: 6px; }
.pd-rows li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 26px 10px 10px;
  border-radius: 8px;
  background: rgba(40, 40, 40, .42);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  color: #fff;
  font-size: 17px;
  letter-spacing: -.01em;
}
.pd-rows i {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .12);
}
.pd-rows svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Care journey: labels joined by dotted lines */
.pd-lines {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 76px;
  padding: 34px 44px; border-radius: 22px;
  background: rgba(40, 40, 40, .34); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
}
.pd-lines li { position: relative; color: #e6f7d8; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; text-shadow: 0 1px 18px rgba(0, 0, 0, .4); }
.pd-lines li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  height: 52px;
  border-left: 1.5px dotted rgba(230, 247, 216, .9);
}
.pd-lines li:not(:last-child)::before,
.pd-lines li:not(:first-child)::before {
  content: "";
  position: absolute;
  left: calc(50% - 2.5px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e6f7d8;
}
.pd-lines li:not(:last-child)::before { top: calc(100% + 8px); }
.pd-lines li:not(:first-child)::before { bottom: calc(100% + 8px); }

/* Product slide */
.pd-slide--product { display: grid; place-items: center; background: radial-gradient(60% 50% at 50% 48%, #fff 0%, #eef2f4 60%, #e2e8ec 100%); }
.pd-slide__product { width: 72%; height: auto; filter: drop-shadow(0 34px 30px rgba(18, 48, 79, .2)); }

.pd-thumbs { position: absolute; z-index: 4; left: 0; right: 0; bottom: 36px; display: flex; justify-content: center; gap: 8px; }
.pd-thumbs button {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f3f4;
  border: 2px solid transparent;
  opacity: .78;
  transition: opacity .3s, border-color .3s, transform .3s var(--ease-out);
}
.pd-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.pd-thumbs button.is-on { opacity: 1; border-color: rgba(255, 255, 255, .95); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs .is-product img { object-fit: contain; padding: 5px; }

/* ---------- Info column ---------- */
.pd-info { padding-top: 6px; }
.pd-info .crumbs { margin-bottom: 14px; }
.pd-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(38px, 3.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -.045em;
  color: var(--pd-ink);
}
.pd-rx { flex-shrink: 0; margin-top: .55em; padding: 3px 7px; border-radius: 6px; background: var(--pd-mint); color: var(--pd-ink); font-size: 12px; letter-spacing: 0; font-weight: 500; }
.pd-desc { margin-top: 20px; font-size: 18px; line-height: 1.5; color: var(--pd-ink); }

.pd-points { margin-top: 18px; }
.pd-points li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--pd-line); font-size: 16px; color: rgba(18, 48, 79, .82); }
.pd-points li:last-child { border-bottom: 0; }
.pd-points svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: var(--pd-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.pd-price {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 14px;
  background: #f1f4f6;
  border: 1px solid #e6eaed;
}
.pd-price ul { display: grid; gap: 4px; font-size: 14.5px; color: var(--pd-ink); }
.pd-price li::before { content: "·"; margin-right: 8px; font-weight: 700; }
.pd-price__amt { flex-shrink: 0; text-align: left; padding-top: 2px; }
.pd-price__amt small { display: block; font-size: 14px; color: rgba(18, 48, 79, .75); }
.pd-price__amt p { display: flex; align-items: baseline; gap: 4px; }
.pd-price__amt b { font-family: var(--f-head); font-weight: 400; font-size: 32px; letter-spacing: -.03em; color: var(--pd-ink); }
.pd-price__amt b.is-text { max-width: 130px; font-size: 18px; line-height: 1.2; }
.pd-price__amt span { font-size: 14px; color: rgba(18, 48, 79, .75); }

.pd-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 52px;
  margin-top: 20px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  transition: background-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.pd-cta:hover { background: #224C9E; transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(16, 40, 81, .8); }

.pd-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 22px; padding: 0 4px; }
.pd-checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--pd-ink); }
.pd-checks svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--pd-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.pd-acc { margin-top: 22px; }
.pd-acc details { border-bottom: 1px solid var(--pd-line); }
.pd-acc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--f-head);
  font-size: 19px;
  letter-spacing: -.02em;
  color: var(--pd-ink);
  cursor: pointer;
  list-style: none;
}
.pd-acc summary::-webkit-details-marker { display: none; }
.pd-plus { position: relative; flex-shrink: 0; width: 14px; height: 14px; }
.pd-plus::before,
.pd-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1.6px; background: var(--pd-ink); transition: transform .3s var(--ease-out); }
.pd-plus::after { transform: rotate(90deg); }
.pd-acc details[open] .pd-plus::after { transform: rotate(0); }
.pd-acc details > div { padding: 0 0 22px; font-size: 15.5px; line-height: 1.6; color: rgba(18, 48, 79, .82); }
.pd-acc details > div p + p { margin-top: 10px; }
.pd-list { display: grid; gap: 6px; margin-bottom: 12px; padding-left: 18px; list-style: disc; }
.pd-q b { display: block; color: var(--pd-ink); font-weight: 500; }
.pd-q + .pd-q { margin-top: 14px; }

.pd-disclaimer { margin-top: 40px; padding: 30px 32px; border-radius: 16px; background: #fff; border: 1px solid #e8ecef; font-size: 13px; line-height: 1.6; color: rgba(18, 48, 79, .8); }
.pd-disclaimer__label { margin-bottom: 10px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(18, 48, 79, .75); }

/* ==========================================================================
   What is X: full-bleed blurred backdrop + glass panel
   ========================================================================== */
.pd-what { position: relative; isolation: isolate; overflow: hidden; margin-top: 80px; padding: 170px 0; }
.pd-what__bg { position: absolute; inset: 0; z-index: -1; background: var(--pd-bg) center / cover no-repeat; }
.pd-what__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 26, 46, .25) 0%, rgba(8, 26, 46, .55) 100%); }
/* Soft bokeh shapes so the placeholder gradient still feels photographic */
.pd--photo-bg .pd-what__bg i { display: none; }
.pd-what__bg i { position: absolute; border-radius: 50%; filter: blur(40px); background: rgba(255, 255, 255, .28); }
.pd-what__bg i:nth-child(1) { width: 32%; aspect-ratio: 1; left: -6%; top: 10%; }
.pd-what__bg i:nth-child(2) { width: 22%; aspect-ratio: 1; right: 12%; top: -8%; background: rgba(255, 255, 255, .18); }
.pd-what__bg i:nth-child(3) { width: 26%; aspect-ratio: 1; right: -6%; bottom: -10%; background: rgba(0, 0, 0, .2); }
.pd-what__glass {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px;
  align-items: center;
  padding: 72px;
  border-radius: 20px;
  background: rgba(16, 40, 60, .32);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  color: #fff;
}
.pd-what__title { font-family: var(--f-head); font-weight: 400; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.04; letter-spacing: -.04em; }
.pd-what__sub { margin: 10px 0 22px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.pd-what__copy > p:not(.pd-what__sub) { font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.pd-what__copy > p + p { margin-top: 12px; }

.pd-plan {
  padding: 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
}
.pd-plan__head,
.pd-review__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 16px; font-weight: 500; }
.pd-plan__head em,
.pd-review__head em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px 4px 8px;
  border-radius: 8px;
  background: rgba(158, 216, 208, .22);
  color: #c9f0e8;
  font-style: normal;
  font-size: 13px;
}
.pd-plan__head svg,
.pd-review__head svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pd-plan dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.pd-plan dt { color: rgba(255, 255, 255, .7); }
.pd-plan dd { text-align: right; font-weight: 500; }
.pd-plan__track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.pd-plan__track::before { content: ""; position: absolute; top: 22px; left: 16.6%; right: 16.6%; height: 2px; background: rgba(255, 255, 255, .18); }
.pd-plan__track::after { content: ""; position: absolute; top: 22px; left: 16.6%; width: 33.3%; height: 2px; background: #9ED8D0; }
.pd-plan__track li { position: relative; display: grid; justify-items: center; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.pd-plan__track i { width: 14px; height: 14px; border-radius: 50%; background: #18324e; border: 2px solid rgba(255, 255, 255, .3); }
.pd-plan__track .is-done i { background: #9ED8D0; border-color: #9ED8D0; }
.pd-plan__track .is-now i { border-color: #9ED8D0; box-shadow: 0 0 0 5px rgba(158, 216, 208, .2); }
.pd-plan__track .is-done,
.pd-plan__track .is-now { color: #fff; }

/* ==========================================================================
   Licensed care
   ========================================================================== */
.pd-team { padding: 130px 0 0; }
.pd-team__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 110px; align-items: center; max-width: 1110px; margin-inline: auto; }
.pd-ticks { margin-top: 34px; border-top: 1px solid var(--pd-line); }
.pd-ticks li { display: flex; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--pd-line); font-size: 16px; color: var(--pd-ink); }
.pd-ticks svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: var(--pd-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pd-team__media { position: relative; aspect-ratio: 485 / 606; border-radius: 22px; overflow: hidden; background: #dfe8f2; }
.pd-team__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-review {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(330px, 76%);
  padding: 20px;
  border-radius: 16px;
  background: rgba(30, 64, 100, .55);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  color: #fff;
}
.pd-review ol { display: grid; gap: 10px; }
.pd-review li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.pd-review li::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); }
.pd-review li.is-done::before { border-color: #9ED8D0; background: #9ED8D0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1d3e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.pd-review li.is-now { color: #fff; font-weight: 500; }
.pd-review li.is-now::before { border-color: #9ED8D0; box-shadow: 0 0 0 4px rgba(158, 216, 208, .25); }

/* ==========================================================================
   Personalized: phone over the category photo
   ========================================================================== */
.pd-personal { padding: 130px 0 0; }
.pd-personal__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 110px; align-items: center; }
.pd-personal__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 640 / 722;
  border-radius: 22px;
  background: var(--pd-personal, var(--pd-bg)) center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.pd-phone {
  width: 62%;
  height: 92%;
  padding: 22px 24px;
  border-radius: 48px 48px 0 0;
  background: #fff;
  box-shadow: 0 0 0 10px #111, 0 0 0 11px rgba(255, 255, 255, .3), 0 40px 70px -20px rgba(0, 0, 0, .45);
  color: var(--pd-ink);
}
.pd-phone__bar { position: relative; display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 8px; font-size: 14px; }
.pd-phone__bar span { position: absolute; left: 50%; top: 0; width: 34%; height: 26px; transform: translateX(-50%); border-radius: 14px; background: #000; }
.pd-phone__bar i { width: 34px; height: 11px; background:
    linear-gradient(#111, #111) 0 100% / 3px 4px no-repeat,
    linear-gradient(#111, #111) 5px 100% / 3px 6px no-repeat,
    linear-gradient(#111, #111) 10px 100% / 3px 8px no-repeat,
    linear-gradient(#111, #111) 20px 50% / 14px 9px no-repeat; }
.pd-phone__logo { margin-top: 26px; font-family: var(--f-head); font-size: 26px; font-weight: 500; letter-spacing: -.04em; color: var(--teal); }
.pd-phone__hi { margin-top: 26px; font-family: var(--f-head); font-size: 26px; letter-spacing: -.03em; }
.pd-phone__sub { margin-top: 4px; font-size: 14px; color: rgba(18, 48, 79, .7); }
.pd-phone__card {
  margin-top: 22px;
  padding: 22px;
  border-radius: 16px;
  background: radial-gradient(120% 80% at 0% 0%, #224C9E 0%, #102851 60%);
  color: #fff;
}
.pd-phone__card small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.pd-phone__card b { display: block; margin: 6px 0 14px; font-family: var(--f-head); font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
.pd-phone__row { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; }
.pd-phone__row span:last-child { font-weight: 500; }
.pd-phone__btn { display: grid; place-items: center; height: 40px; margin-top: 14px; border-radius: 999px; background: #9ED8D0; color: #0b1d3e; font-size: 14px; font-weight: 500; }

/* ==========================================================================
   How it works: image, numbered line, copy
   ========================================================================== */
.pd-how { padding: 140px 0 0; }
.pd-how .pd-h2 { max-width: 760px; margin: 0 auto; }
.pd-how__list { position: relative; max-width: 1060px; margin: 80px auto 0; display: grid; gap: 24px; }
.pd-how__list::before { content: ""; position: absolute; left: 50%; top: 20px; bottom: 20px; width: 2px; margin-left: -1px; background: #e3e8ec; }
.pd-how__step { position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: start; }
.pd-how__media { position: relative; overflow: hidden; aspect-ratio: 422 / 546; border-radius: 16px; background: #dfe8f2; }
.pd-how__step:not(:first-child) .pd-how__media { aspect-ratio: 422 / 300; }
.pd-how__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-how__n {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  font-size: 15px;
}
.pd-how__copy { padding-top: 4px; }
.pd-how__label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(18, 48, 79, .8); }
.pd-how__label svg { width: 16px; height: 16px; fill: none; stroke: var(--pd-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pd-how__copy h3 { margin-top: 12px; font-family: var(--f-head); font-weight: 400; font-size: 31px; letter-spacing: -.03em; color: var(--pd-ink); }
.pd-how__copy p:last-child { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--pd-ink); }
.pd-badge {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 9px;
  border-radius: 999px;
  background: #c8f0e6;
  color: var(--pd-ink);
  font-size: 14px;
  font-weight: 500;
}
.pd-badge svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pd-bubbles { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 18px; display: grid; gap: 8px; }
.pd-bubbles p {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(40, 60, 70, .5);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.4;
}
.pd-bubbles .is-me { justify-self: end; background: rgba(30, 40, 50, .55); }

/* ==========================================================================
   Related
   ========================================================================== */
.pd-related { padding: 130px 0 40px; }
.pd-related__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 26px; }
.pd-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.pd-card { display: flex; flex-direction: column; padding: 16px; border-radius: 20px; background: #f6f8f9; border: 1px solid #e8ecef; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.pd-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(18, 48, 79, .4); }
.pd-card__media { display: grid; place-items: center; height: 190px; margin-bottom: 14px; border-radius: 14px; background: radial-gradient(60% 50% at 50% 50%, #fff, #e9eef1); }
.pd-card__media img { height: 160px; width: auto; }
.pd-card b { font-family: var(--f-head); font-weight: 400; font-size: 19px; letter-spacing: -.02em; color: var(--pd-ink); }
.pd-card small { margin-top: 4px; font-size: 14px; color: rgba(18, 48, 79, .75); }
.pd-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--teal); }
.pd-card__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .pd-hero__grid { gap: 44px; }
  .pd-what__glass { grid-template-columns: 1fr; padding: 48px; }
  .pd-team__grid,
  .pd-personal__grid { gap: 56px; }
}
@media (max-width: 860px) {
  .pd-hero__grid,
  .pd-team__grid,
  .pd-personal__grid { grid-template-columns: 1fr; }
  .pd-personal__copy { order: -1; }
  .pd-how__list::before { left: 20px; }
  .pd-how__step { grid-template-columns: 40px 1fr; column-gap: 18px; row-gap: 18px; }
  .pd-how__n { grid-column: 1; grid-row: 1; }
  .pd-how__copy { grid-column: 2; grid-row: 1; }
  .pd-how__media { grid-column: 2; grid-row: 2; }
}
@media (max-width: 640px) {
  .pd-hero { padding-top: 16px; }
  .pd-media { border-radius: 18px; aspect-ratio: 4 / 5; }
  .pd-tag { top: 18px; left: 18px; font-size: 13px; }
  .pd-rows { left: 14px; right: 14px; top: 22%; }
  .pd-rows li { gap: 12px; padding: 8px 14px 8px 8px; font-size: 14px; }
  .pd-rows i { width: 46px; height: 46px; }
  .pd-rows svg { width: 22px; height: 22px; }
  .pd-lines { gap: 50px; padding: 24px 28px; }
  .pd-lines li { font-size: 16px; }
  .pd-lines li:not(:last-child)::after { height: 30px; }
  .pd-thumbs { bottom: 18px; }
  .pd-thumbs button { width: 58px; height: 58px; }
  .pd-desc { font-size: 16px; }
  .pd-price { flex-direction: column; }
  .pd-checks { grid-template-columns: 1fr; }
  .pd-disclaimer { padding: 22px; }
  .pd-what { margin-top: 56px; padding: 56px 0; }
  .pd-what__glass { padding: 30px 22px; gap: 30px; }
  .pd-plan { padding: 20px; }
  .pd-team,
  .pd-personal { padding-top: 80px; }
  .pd-lede { font-size: 16px; }
  .pd-phone { width: 74%; padding: 18px; border-radius: 36px 36px 0 0; }
  .pd-phone__hi,
  .pd-phone__logo { font-size: 21px; margin-top: 18px; }
  .pd-how { padding-top: 90px; }
  .pd-how__list { margin-top: 44px; gap: 40px; }
  .pd-how__copy h3 { font-size: 24px; }
  .pd-how__copy p:last-child { font-size: 15.5px; }
  .pd-related { padding-top: 80px; }
  .pd-related__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pd-related__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pd-card { padding: 10px; }
  .pd-card__media { height: 130px; }
  .pd-card__media img { height: 110px; }
}
