/*
  Protection Connect: long-form guide components.
  Loaded after /assets/site.css and /assets/article.css by the guide pages. Every component
  sits directly inside .pc-prose (a 720px flex column with an 18px gap), so spacing comes from
  that gap. Calculators and graphics may run wider than the text column (.pc-wide).
  Markup reference: site/README.md, "Guide components". Behaviour: /assets/guide-tools.js.
*/

/* ---------------------------------------------------------------- Article head extras */
.pc-article__meta .pc-article__dot { margin: 0 6px; color: var(--pc-dot); }

/* Wider-than-text blocks (tools, charts, figures). In the flex column a centred child that is
   wider than its container overflows equally on both sides. */
.pc-prose > .pc-wide { align-self: center; width: min(880px, calc(100vw - 40px)); box-sizing: border-box; }

/* ---------------------------------------------------------------- In short (key takeaways) */
.pc-takeaways {
  margin: 4px 0;
  padding: 22px 24px 24px;
  border-radius: 18px;
  background: var(--pc-pale-2);
  border: 1px solid #DCE5FB;
}
.pc-takeaways__title {
  margin: 0 0 12px;
  font-family: var(--pc-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pc-blue-press);
}
.pc-takeaways ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pc-takeaways li { position: relative; padding-left: 28px; font-size: 16.5px; line-height: 1.55; color: var(--pc-navy); text-wrap: pretty; }
.pc-takeaways li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--pc-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------------------------------------------------------------- On this page */
.pc-toc { margin: 4px 0; padding: 20px 24px; border: 1px solid var(--pc-border-5); border-radius: 18px; }
.pc-toc__title { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--pc-navy); }
.pc-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: pc-toc; columns: 2 260px; column-gap: 32px; }
.pc-toc li { counter-increment: pc-toc; break-inside: avoid; padding: 4px 0 4px 30px; position: relative; font-size: 15.5px; line-height: 1.45; }
.pc-toc li::before { content: counter(pc-toc, decimal-leading-zero); position: absolute; left: 0; top: 6px; font-family: var(--pc-mono); font-size: 12px; color: var(--pc-muted); }
.pc-toc a { color: var(--pc-nav-ink); text-decoration: none; }
.pc-toc a:hover { color: var(--pc-blue-press); text-decoration: underline; text-underline-offset: 3px; }
.pc-prose > h2[id], .pc-prose > h3[id] { scroll-margin-top: 88px; }

/* ---------------------------------------------------------------- Definition (snippet answer) */
.pc-def { margin: 4px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--pc-blue); }
.pc-def p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--pc-navy); text-wrap: pretty; }
.pc-def p + p { margin-top: 8px; font-size: 16px; color: #2E3533; }

/* ---------------------------------------------------------------- Callouts */
.pc-callout { margin: 4px 0; padding: 18px 20px 18px 56px; border-radius: 16px; background: var(--pc-panel); position: relative; font-size: 16px; line-height: 1.6; color: #2E3533; }
.pc-callout::before {
  content: "i";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 14px/1 var(--pc-font);
  background: var(--pc-navy);
  color: #FFFFFF;
}
.pc-callout p { margin: 0; text-wrap: pretty; }
.pc-callout p + p { margin-top: 8px; }
.pc-callout__title { font-weight: 700; color: var(--pc-navy); }
.pc-callout--tip { background: var(--pc-success-bg); }
.pc-callout--tip::before { content: "✓"; background: var(--pc-success); }
.pc-callout--warn { background: #FFF6E5; }
.pc-callout--warn::before { content: "!"; background: #A15C00; }
.pc-callout--pc { background: var(--pc-pale-2); border: 1px solid #DCE5FB; }
.pc-callout--pc::before { content: ""; background: url("/assets/pc-mark-duo.svg") center / 22px no-repeat; border-radius: 0; }

/* ---------------------------------------------------------------- Steps (numbered process) */
.pc-prose > .pc-steps { margin: 6px 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: pc-step; }
.pc-prose > .pc-steps > li {
  counter-increment: pc-step;
  position: relative;
  padding: 18px 20px 18px 66px;
  border: 1px solid var(--pc-border-5);
  border-radius: 16px;
  background: #FFFFFF;
  font-size: 16px;
  line-height: 1.55;
  color: #2E3533;
}
.pc-prose > .pc-steps > li::before {
  content: counter(pc-step);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--pc-navy);
  color: #FFFFFF;
  font: 600 15px/1 var(--pc-mono);
}
.pc-steps__h { display: block; margin-bottom: 2px; font-weight: 700; color: var(--pc-navy); }
@media (min-width: 900px) {
  .pc-prose > .pc-steps--row { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
  .pc-prose > .pc-steps--row > li { padding: 62px 18px 20px; }
  .pc-prose > .pc-steps--row > li::before { top: 18px; }
}

/* ---------------------------------------------------------------- Comparison / pros and cons cards */
.pc-cards { margin: 6px 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pc-card { padding: 20px 20px 22px; border: 1px solid var(--pc-border-5); border-radius: 18px; background: #FFFFFF; font-size: 15.5px; line-height: 1.55; color: #2E3533; }
.pc-card__eyebrow { margin: 0 0 6px; font-family: var(--pc-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--pc-muted); }
.pc-card__title { margin: 0 0 8px; font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; color: var(--pc-navy); }
.pc-card p { margin: 0; }
.pc-card p + p, .pc-card p + ul, .pc-card ul + p { margin-top: 10px; }
.pc-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pc-card li { position: relative; padding-left: 24px; }
.pc-card li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 2px; background: var(--pc-blue-press); }
.pc-card .pc-pro::before, .pc-card .pc-con::before { top: 3px; width: 16px; height: 16px; left: 0; border-radius: 50%; font: 700 11px/16px var(--pc-font); text-align: center; color: #FFFFFF; }
.pc-card .pc-pro::before { content: "+"; background: var(--pc-success); }
.pc-card .pc-con::before { content: "–"; background: #9A3B3B; }
.pc-card--us { border: 2px solid var(--pc-blue); background: #F5F8FF; }
.pc-card__price { margin: 10px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--pc-navy); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- Checklist */
.pc-prose > .pc-checklist { margin: 4px 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pc-prose > .pc-checklist > li { position: relative; padding-left: 34px; font-size: 16.5px; line-height: 1.6; text-wrap: pretty; }
.pc-prose > .pc-checklist > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--pc-success-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.3' fill='none' stroke='%231F6E55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.pc-prose > .pc-checklist--no > li::before {
  background: #FBECEC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7.5 7.5l7 7M14.5 7.5l-7 7' fill='none' stroke='%239A3B3B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

/* ---------------------------------------------------------------- Stat tiles (sourced figures only) */
.pc-stats { margin: 6px 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.pc-stat { padding: 18px 18px 16px; border-radius: 16px; background: var(--pc-panel); }
.pc-stat__n { display: block; font-size: clamp(28px, 3vw, 36px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; color: var(--pc-navy); font-variant-numeric: tabular-nums; }
.pc-stat__l { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--pc-nav-ink); }
.pc-stat__s { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.4; color: var(--pc-muted); }
.pc-stat__s a { color: inherit; }

/* ---------------------------------------------------------------- Figures (images added later) */
.pc-fig { margin: 8px 0; }
.pc-fig__img { display: block; width: 100%; height: auto; border-radius: 18px; background: var(--pc-panel); }
.pc-fig__cap { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--pc-muted); text-wrap: pretty; }
.pc-article__head + .pc-fig--hero, .pc-fig--hero { max-width: 1000px; margin: clamp(28px, 4vw, 44px) auto 0; }

/* ---------------------------------------------------------------- Graphic frame (diagrams, charts) */
.pc-graphic { margin: 8px 0; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--pc-border-5); border-radius: 20px; background: #FFFFFF; }
.pc-graphic__title { margin: 0; font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 700; color: var(--pc-navy); }
.pc-graphic__sub { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--pc-muted); }
.pc-graphic__body { margin-top: 18px; }
.pc-graphic__note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--pc-muted); }

/* Lead-type spectrum: four stops along one rail (cheapest and most shared on the left). */
.pc-spectrum { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.pc-spectrum::before { content: ""; position: absolute; left: 12%; right: 12%; top: 15px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #C9D3E6, var(--pc-blue)); }
.pc-spectrum__stop { position: relative; padding-top: 40px; text-align: center; }
.pc-spectrum__dot { position: absolute; left: 50%; top: 6px; width: 21px; height: 21px; margin-left: -10.5px; border-radius: 50%; background: #FFFFFF; border: 3px solid #AFBCD6; box-sizing: border-box; }
.pc-spectrum__stop.is-us .pc-spectrum__dot { border-color: var(--pc-blue); background: var(--pc-blue); box-shadow: 0 0 0 5px rgba(36, 92, 255, .16); }
.pc-spectrum__name { display: block; font-size: 16px; font-weight: 700; color: var(--pc-navy); }
.pc-spectrum__price { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--pc-blue-press); font-variant-numeric: tabular-nums; }
.pc-spectrum__meta { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--pc-muted); }
.pc-spectrum__axis { display: flex; justify-content: space-between; margin-top: 18px; font-family: var(--pc-mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--pc-muted); }
@media (max-width: 640px) {
  .pc-spectrum { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pc-spectrum::before { left: 10px; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; background: linear-gradient(180deg, #C9D3E6, var(--pc-blue)); }
  .pc-spectrum__stop { padding: 6px 0 16px 40px; text-align: left; }
  .pc-spectrum__dot { left: 1px; top: 8px; margin-left: 0; }
  .pc-spectrum__axis { display: none; }
}

/* Journey / flow: horizontal on wide screens, vertical on phones. */
.pc-flow { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); counter-reset: pc-flow; }
.pc-flow > li { counter-increment: pc-flow; position: relative; padding: 16px 14px; border-radius: 14px; background: var(--pc-panel); font-size: 14px; line-height: 1.45; color: var(--pc-nav-ink); }
.pc-flow > li::before { content: counter(pc-flow, decimal-leading-zero); display: block; margin-bottom: 8px; font-family: var(--pc-mono); font-size: 12px; color: var(--pc-blue-press); }
.pc-flow > li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 8px; height: 8px; border-top: 2px solid #AFBCD6; border-right: 2px solid #AFBCD6; transform: translateY(-50%) rotate(45deg); }
.pc-flow__h { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 700; color: var(--pc-navy); }
.pc-flow > li.is-us { background: var(--pc-navy); color: rgba(255, 255, 255, .8); }
.pc-flow > li.is-us .pc-flow__h { color: #FFFFFF; }
.pc-flow > li.is-us::before { color: #9DB8FF; }
@media (max-width: 760px) {
  .pc-flow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pc-flow > li:not(:last-child)::after { right: auto; left: 24px; top: auto; bottom: -11px; transform: rotate(135deg); }
}

/* Sample lead card (fictional). */
.pc-leadcard { margin: 8px 0; max-width: 560px; border: 1px solid var(--pc-border-5); border-radius: 20px; background: #FFFFFF; overflow: hidden; align-self: center; width: 100%; }
.pc-leadcard__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; padding: 18px 20px; border-bottom: 1px solid var(--pc-border-5); }
.pc-leadcard__name { margin: 0; font-size: 19px; font-weight: 700; color: var(--pc-navy); }
.pc-leadcard__id { font-family: var(--pc-mono); font-size: 12px; color: var(--pc-muted); }
.pc-leadcard__tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--pc-chip); color: var(--pc-chip-ink); font-size: 12px; font-weight: 600; }
.pc-leadcard dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pc-leadcard dl > div { padding: 12px 20px; border-bottom: 1px solid var(--pc-border-3); }
.pc-leadcard dt { font-size: 12.5px; color: var(--pc-muted); }
.pc-leadcard dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--pc-navy); overflow-wrap: anywhere; }
.pc-leadcard__foot { padding: 14px 20px 16px; font-size: 13.5px; line-height: 1.5; color: var(--pc-muted); background: var(--pc-panel); }
.pc-leadcard__foot strong { color: var(--pc-navy); }

/* ---------------------------------------------------------------- Inline sign-up banner */
.pc-cta-inline { margin: 10px 0; display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 18px; background: var(--pc-navy); color: #FFFFFF; }
.pc-cta-inline__mark { flex: none; display: block; width: 36px; height: 36px; }
.pc-cta-inline__copy { flex: 1 1 auto; min-width: 0; }
.pc-cta-inline__h { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; color: #FFFFFF; }
.pc-cta-inline__p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.pc-prose .pc-cta-inline a.pc-btn { flex: none; text-decoration: none; color: var(--pc-navy); }
@media (max-width: 700px) {
  .pc-cta-inline { flex-wrap: wrap; padding: 20px; }
  .pc-cta-inline__copy { flex-basis: calc(100% - 54px); }
  .pc-prose .pc-cta-inline a.pc-btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------------------------------------------------------------- FAQ (accordion; site.js) */
.pc-faq { margin: 0; border-top: 1px solid var(--pc-border); }
.pc-faq__item { border-bottom: 1px solid var(--pc-border); }
.pc-faq__h { margin: 0; font: inherit; }
.pc-faq__q {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-align: left;
  color: var(--pc-navy);
  transition: var(--pc-transition);
}
.pc-faq__q:active { transform: scale(.985); opacity: .7; }
.pc-faq__icon { flex: none; width: 20px; height: 20px; display: grid; place-items: center; color: var(--pc-muted); transition: transform .25s ease; }
.pc-faq__icon svg { display: block; }
.pc-faq__q[aria-expanded="true"] .pc-faq__icon { transform: rotate(45deg); }
.pc-faq__a p, .pc-faq__a ul { margin: 0; padding: 0 44px 18px 0; font-size: 16px; line-height: 1.65; color: #3E4A63; }
.pc-faq__a p + p { margin-top: -6px; }
.pc-faq__a ul { list-style: disc; padding-left: 20px; }

/* ---------------------------------------------------------------- Sources and About this guide */
.pc-prose > .pc-sources { margin: 0; padding: 0 0 0 22px; display: block; list-style: decimal; font-size: 14.5px; line-height: 1.6; color: var(--pc-muted); }
.pc-prose > .pc-sources > li { padding-left: 4px; }
.pc-prose > .pc-sources > li::before { content: none; }
.pc-prose > .pc-sources li + li { margin-top: 6px; }
.pc-prose > .pc-sources a { color: var(--pc-nav-ink); overflow-wrap: anywhere; }
.pc-about { margin: 10px 0 0; padding: 20px 22px; border-radius: 16px; background: var(--pc-panel); font-size: 14.5px; line-height: 1.6; color: var(--pc-nav-ink); }
.pc-about__title { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--pc-navy); }
.pc-about p { margin: 0; }
.pc-about p + p { margin-top: 8px; }

/* ================================================================ Calculators (.pc-tool) */
.pc-tool {
  margin: 10px 0;
  border-radius: 22px;
  background: var(--pc-panel);
  border: 1px solid var(--pc-border-2);
  overflow: hidden;
  font-size: 15.5px;
  line-height: 1.5;
  color: #2E3533;
}
.pc-tool__head { padding: clamp(20px, 3vw, 28px) clamp(18px, 3vw, 28px) 0; }
.pc-tool__eyebrow { margin: 0; display: flex; align-items: center; gap: 8px; font-family: var(--pc-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--pc-blue-press); }
.pc-tool__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: var(--pc-blue); }
.pc-prose .pc-tool__title { margin: 8px 0 0; font-size: clamp(21px, 2.3vw, 26px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; color: var(--pc-navy); }
.pc-tool__intro { margin: 8px 0 0; max-width: 62ch; font-size: 15.5px; line-height: 1.55; color: var(--pc-nav-ink); }
.pc-tool__body { display: grid; gap: 18px; padding: 20px clamp(18px, 3vw, 28px) clamp(20px, 3vw, 28px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .pc-tool__body { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }
.pc-tool__inputs { display: grid; gap: 14px; }
.pc-tool__note { margin: 0; padding: 14px clamp(18px, 3vw, 28px) 18px; border-top: 1px solid var(--pc-border-2); font-size: 13px; line-height: 1.55; color: var(--pc-muted); background: #FFFFFF; }
.pc-tool__note a { color: inherit; }

/* Fields: a number input (the accessible control) with an optional slider mirror. */
.pc-field { display: grid; gap: 6px; }
.pc-field__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pc-field__label { font-size: 14.5px; font-weight: 600; color: var(--pc-navy); }
.pc-field__control { display: flex; align-items: center; height: 46px; border: 1px solid var(--pc-border-4); border-radius: 12px; background: #FFFFFF; transition: border-color .2s ease, box-shadow .2s ease; }
.pc-field__control:focus-within { border-color: var(--pc-blue); box-shadow: 0 0 0 3px rgba(36, 92, 255, .18); }
.pc-field__affix { flex: none; padding: 0 0 0 14px; font-weight: 600; color: var(--pc-muted); }
.pc-field__affix--end { padding: 0 14px 0 0; }
.pc-field__input {
  -moz-appearance: textfield;
  appearance: textfield;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 14px 0 8px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--pc-navy);
  font-variant-numeric: tabular-nums;
  outline: none;
}
.pc-field__input:focus-visible { outline: none; }
.pc-field__input::-webkit-outer-spin-button, .pc-field__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pc-field__affix + .pc-field__input { padding-left: 6px; }
.pc-field__hint { margin: 0; font-size: 13px; line-height: 1.45; color: var(--pc-muted); }
.pc-field__range { width: 100%; margin: 2px 0 0; accent-color: var(--pc-blue); height: 20px; cursor: pointer; }
.pc-field select.pc-field__input { -webkit-appearance: none; appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%235B6787' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; padding-right: 36px; }
.pc-tool details.pc-tool__more { border-top: 1px dashed var(--pc-border-4); padding-top: 12px; }
.pc-tool details.pc-tool__more > summary { cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--pc-blue-press); }
.pc-tool details.pc-tool__more[open] > summary { margin-bottom: 12px; }
.pc-tool details.pc-tool__more > div { display: grid; gap: 14px; }

/* Segmented switch (radio group). */
.pc-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: #E6EBF4; gap: 4px; border: 0; margin: 0; min-width: 0; }
.pc-seg legend { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.pc-seg label { position: relative; }
.pc-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pc-seg span { display: block; padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--pc-nav-ink); transition: background-color .2s ease, color .2s ease; }
.pc-seg input:checked + span { background: #FFFFFF; color: var(--pc-navy); box-shadow: 0 1px 3px rgba(11, 27, 63, .12); }
.pc-seg input:focus-visible + span { outline: 2px solid var(--pc-blue); outline-offset: 1px; }

/* Results panel. */
.pc-out dl { margin: 0; }
.pc-field[hidden] { display: none; }
.pc-out { margin: 0; padding: 20px; border-radius: 18px; background: var(--pc-navy); color: #FFFFFF; display: grid; gap: 14px; }
.pc-out__main dt { font-size: 14px; color: rgba(255, 255, 255, .72); }
.pc-out__main dd { margin: 4px 0 0; font-size: clamp(34px, 4.4vw, 46px); line-height: 1; letter-spacing: -0.035em; font-weight: 700; font-variant-numeric: tabular-nums; }
.pc-out__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pc-out__grid > div { padding: 12px 12px 11px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.pc-out__grid dt { font-size: 12.5px; line-height: 1.35; color: rgba(255, 255, 255, .66); }
.pc-out__grid dd { margin: 4px 0 0; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pc-out__msg { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.pc-out__msg strong { color: #FFFFFF; }
.pc-out .is-good { color: #7FE0B9; }
.pc-out .is-bad { color: #FFB3A8; }

/* Bars (inside results or on their own). */
.pc-bars { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pc-bars__row { display: grid; grid-template-columns: minmax(84px, 30%) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13.5px; }
.pc-bars__label { color: rgba(255, 255, 255, .8); overflow-wrap: anywhere; }
.pc-bars__track { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pc-bars__fill { display: block; height: 100%; width: var(--w, 0%); border-radius: 6px; background: #6E9BFF; transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.pc-bars__row.is-best .pc-bars__fill { background: #7FE0B9; }
.pc-bars__row.is-alt .pc-bars__fill { background: #FFB3A8; }
.pc-bars__val { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc-bars--light .pc-bars__label { color: var(--pc-nav-ink); }
.pc-bars--light .pc-bars__track { background: #E6EBF4; }
.pc-bars--light .pc-bars__fill { background: var(--pc-blue); }
.pc-bars--light .pc-bars__val { color: var(--pc-navy); }

/* Compare table inside a tool (lead types side by side). */
.pc-cmp { display: grid; gap: 10px; }
.pc-cmp__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; padding: 12px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--pc-border-2); }
.pc-cmp__name { display: flex; flex-direction: column; gap: 2px; align-self: center; }
.pc-cmp__name input { font: inherit; font-weight: 700; color: var(--pc-navy); border: 0; border-bottom: 1px dashed transparent; padding: 0; background: none; min-width: 0; width: 100%; }
.pc-cmp__name input:hover, .pc-cmp__name input:focus { border-bottom-color: var(--pc-border-4); outline: none; }
.pc-cmp__name small { font-size: 12.5px; color: var(--pc-muted); }
.pc-cmp .pc-field__label { font-size: 12.5px; font-weight: 500; color: var(--pc-muted); }
.pc-cmp .pc-field__control { height: 40px; }
.pc-cmp .pc-field__input { font-size: 16px; }
@media (max-width: 520px) {
  .pc-cmp__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pc-cmp__name { grid-column: 1 / -1; }
}

/* Funnel. */
.pc-funnel { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pc-funnel__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.pc-funnel__bar { position: relative; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pc-funnel__fill { position: absolute; inset: 0 auto 0 0; width: var(--w, 100%); background: linear-gradient(90deg, #3B6DFF, #6E9BFF); border-radius: 10px; transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.pc-funnel__label { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13.5px; font-weight: 600; color: #FFFFFF; white-space: nowrap; text-shadow: 0 1px 2px rgba(11, 27, 63, .45); }
.pc-funnel__n { min-width: 64px; text-align: right; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pc-funnel__cost { display: block; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .66); }

/* Scorecard. */
@media (min-width: 820px) {
  .pc-tool[data-tool="scorecard"] .pc-tool__body { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .pc-tool[data-tool="scorecard"] .pc-out { position: sticky; top: 88px; }
}
.pc-score { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pc-score__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--pc-border-2); }
.pc-score__q { font-size: 15px; line-height: 1.45; font-weight: 600; color: var(--pc-navy); }
.pc-score__why { grid-column: 1 / -1; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--pc-muted); }
.pc-score__item .pc-seg span { padding: 6px 10px; font-size: 13px; }
@media (max-width: 560px) { .pc-score__item { grid-template-columns: minmax(0, 1fr); } }
.pc-score__meter { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pc-score__meter span { display: block; height: 100%; width: var(--w, 0%); background: #7FE0B9; border-radius: 5px; transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.pc-score__list { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.pc-score__list li + li { margin-top: 4px; }

/* Auction demo. */
.pc-auction__bids { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pc-auction__bid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: 14px; }
.pc-auction__bid.is-win { background: rgba(127, 224, 185, .16); box-shadow: inset 0 0 0 1.5px #7FE0B9; }
.pc-auction__bid.is-out { opacity: .55; }
.pc-auction__bid b { font-variant-numeric: tabular-nums; }
.pc-auction__tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #7FE0B9; color: var(--pc-navy); font-size: 11.5px; font-weight: 700; }

/* Under reduced motion every transition is cut (site.css); nothing animates here otherwise. */
@media (prefers-reduced-motion: reduce) {
  .pc-bars__fill, .pc-funnel__fill, .pc-score__meter span { transition: none; }
}
@media print {
  .pc-tool__note, .pc-cta-inline { break-inside: avoid; }
  .pc-field__range { display: none; }
}
