/* Shared frame components (spec: docs/superpowers/specs/2026-09-11-default-pages-design.md). Loaded on every
   page after toc.css and the legacy WordPress sheets. Every colour and face comes from tokens.css.
   body.pd-frame marks every page except the homepage, blog posts and the 404 (partials/functions/is-frame.html).
   The legacy child theme's .page-template-default h1…h6 / p / a / li rules match by tag at (0,1,1) and
   a:hover at (0,2,1), so every rule here carries .pd-frame plus a class or element, and hover/focus states
   are declared explicitly. Rules were moved here from toc.css unchanged in value; page.css holds what only
   the new templates use. */

/* ---------- frame ---------- */
body.pd-frame #content > .container{max-width:none;width:auto;padding:0;}
body.pd-frame #content{overflow-x:clip;}
/* (0,1,1) on purpose: beats the legacy .page-template-default a by source order, loses to .pd-frame .pd-btn */
.pd-hero a,.pd-page a,.pd-doc a,.pd-band a{font-family:var(--pd-body);display:inline;}
.pd-frame .pd-eb{display:block;font:600 11.5px/1 var(--pd-label);letter-spacing:.16em;text-transform:uppercase;color:var(--pd-muted);}
.pd-frame .pd-btn{display:inline-block;font:600 14.5px/1 var(--pd-label);letter-spacing:.02em;padding:13px 20px;border-radius:4px;background:var(--pd-blue);color:#fff;text-decoration:none;white-space:nowrap;transition:background-color .15s ease;}
.pd-frame .pd-btn:hover,.pd-frame .pd-btn:focus{background:var(--pd-blue-deep);color:#fff;text-decoration:none;}
.pd-frame .pd-btn--ghost{background:transparent;border:1px solid rgba(255,255,255,.6);}
.pd-frame .pd-btn--ghost:hover,.pd-frame .pd-btn--ghost:focus{background:rgba(255,255,255,.14);color:#fff;}
.pd-frame .pd-link{color:var(--pd-navy);font-weight:700;text-decoration:underline;text-decoration-color:rgba(18,58,114,.35);text-underline-offset:3px;}
.pd-frame .pd-link:hover,.pd-frame .pd-link:focus{color:var(--pd-navy);text-decoration:underline;}
.pd-frame .pd-phone{display:block;font:700 23px/1.2 var(--pd-body);color:var(--pd-navy);margin:12px 0 6px;text-decoration:none;font-variant-numeric:tabular-nums;letter-spacing:-.01em;}
.pd-frame .pd-phone:hover,.pd-frame .pd-phone:focus{color:var(--pd-blue-deep);text-decoration:none;}
.pd-frame .pd-hero a:focus-visible,.pd-frame .pd-page a:focus-visible,.pd-frame .pd-doc a:focus-visible,.pd-frame .pd-band a:focus-visible,.pd-frame .pd-mobile-toc-btn:focus-visible,.pd-frame .faq-q:focus-visible{outline:2px solid var(--pd-navy);outline-offset:2px;}
.pd-frame .pd-hero a:focus-visible{outline-color:#fff;}
.pd-frame .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* ---------- hero (partials/page-hero.html) ---------- */
.pd-hero{position:relative;color:#fff;background-color:var(--pd-ink);background-position:center 30%;background-size:cover;background-repeat:no-repeat;}
.pd-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,26,58,.86) 0%,rgba(17,26,58,.66) 50%,rgba(17,26,58,.42) 100%);}
.pd-hero-in{position:relative;z-index:1;max-width:1140px;margin:0 auto;padding:150px 24px 64px;display:grid;grid-template-columns:minmax(0,1fr) 470px;gap:70px;align-items:center;}
.pd-hero-in--text{grid-template-columns:minmax(0,1fr);}
.pd-hero-in--text .pd-hero-text{max-width:760px;}
.pd-hero-in--portrait{grid-template-columns:minmax(0,1fr) 380px;}
.pd-hero-in--compact{grid-template-columns:minmax(0,1fr);padding:120px 24px 44px;}
.pd-hero .breadcrumbs{margin:0;padding:0;border:0;font:600 12px/1.5 var(--pd-label);letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.72);}
.pd-hero .breadcrumbs a{color:rgba(255,255,255,.72);font-weight:600;font-family:var(--pd-label);}
.pd-hero .breadcrumbs a:hover{color:#fff;}
.pd-hero nav.breadcrumbs li:not(:last-child):after{color:rgba(255,255,255,.38);margin:0 .8em;}
.pd-hero .breadcrumbs [aria-current="page"]{color:rgba(255,255,255,.95);font-weight:600;max-width:none;white-space:normal;overflow:visible;}
.pd-frame .pd-h1{font:400 46px/1.14 var(--pd-display);color:#fff;margin:22px 0 14px;padding:0;max-width:14ch;text-wrap:balance;letter-spacing:-.005em;}
.pd-frame .pd-sub{font:400 19px/1.5 var(--pd-body);color:rgba(255,255,255,.88);max-width:40ch;margin:0;letter-spacing:0;}
.pd-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;}
.pd-frame .pd-hero-proof{list-style:none;margin:34px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 26px;font:600 12px/1.4 var(--pd-label);letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.72);}
.pd-frame .pd-hero-proof li{list-style:none;margin:0;padding:0;}
.pd-frame .pd-hero-proof b{color:#fff;font-weight:600;}
.pd-frame .pd-hero-proof .pd-star{display:inline;color:var(--pd-gold);letter-spacing:.05em;}
.pd-frame .pd-hero-proof a{display:inline;padding:0;font:inherit;color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.45);text-underline-offset:3px;}
.pd-frame .pd-hero-proof a:hover,.pd-frame .pd-hero-proof a:focus{color:#fff;text-decoration:underline;}
/* the ratio comes from the width/height attributes: page-hero.html crops portrait 4:5, near-square 1:1, landscape 3:2 */
.pd-hero-cover{width:100%;height:auto;border-radius:8px;display:block;}
.pd-hero-in--portrait .pd-hero-cover{justify-self:end;}

/* ---------- article typography (.pd-content, shared by toc pages and the frame) ---------- */
.pd-frame .pd-content p{font:400 17px/1.65 var(--pd-body);color:var(--pd-text);margin:0 0 18px;letter-spacing:0;}
.pd-frame .pd-content > p:first-child{font-size:20px;line-height:1.55;color:var(--pd-ink);}
.pd-frame .pd-content a{color:var(--pd-navy);font-weight:700;text-decoration:underline;text-decoration-color:rgba(18,58,114,.35);text-underline-offset:3px;display:inline;font-family:inherit;}
.pd-frame .pd-content a:hover,.pd-frame .pd-content a:focus{color:var(--pd-navy);text-decoration:underline;}
.pd-frame .pd-content strong{color:var(--pd-ink);font-weight:700;}
.pd-frame .pd-content h2{font:400 30px/1.2 var(--pd-display);color:var(--pd-ink);margin:52px 0 14px;padding:0;text-wrap:balance;scroll-margin-top:calc(var(--header-height,69px) + 24px);}
.pd-frame .pd-content > p:first-child + h2,.pd-frame .pd-content > h2:first-child{margin-top:40px;}
.pd-frame .pd-content h3{font:700 20px/1.3 var(--pd-body);color:var(--pd-ink);margin:32px 0 10px;padding:0;scroll-margin-top:calc(var(--header-height,69px) + 24px);}
.pd-frame .pd-content h4{font:700 17px/1.4 var(--pd-body);color:var(--pd-ink);margin:24px 0 8px;}
/* article lists only: Markdown never puts a class on a list, while every component list (pd-people, pd-partners,
   pd-videos, pd-cards) carries one and takes its own rules in page.css (spec 2026-09-11-team-financing-hub-lead-design.md) */
.pd-frame .pd-content ul:not([class]),.pd-frame .pd-content ol:not([class]){margin:0 0 18px;padding:0 0 0 22px;}
.pd-frame .pd-content ul:not([class]) li{list-style:none !important;position:relative;font:400 17px/1.6 var(--pd-body);color:var(--pd-text);margin:0 0 10px;padding:0;}
.pd-frame .pd-content ul li::marker,.pd-frame .pd-content ol li::marker{content:none;}
.pd-frame .pd-content ul:not([class]) li::before{content:"";position:absolute;left:-22px;top:.66em;width:6px;height:6px;border-radius:50%;background:var(--pd-navy);}
.pd-frame .pd-content ol:not([class]){counter-reset:pd-step;padding-left:48px;}
.pd-frame .pd-content ol:not([class]) li{list-style:none !important;counter-increment:pd-step;position:relative;font:400 17px/1.6 var(--pd-body);color:var(--pd-text);margin:0 0 16px;padding:0;}
.pd-frame .pd-content ol:not([class]) li::before{content:counter(pd-step);position:absolute;left:-48px;top:-2px;font:400 26px/1.3 var(--pd-display);color:var(--pd-navy);}
.pd-frame .pd-content li p{margin:0 0 6px;}
.pd-frame .pd-content table{width:100%;border-collapse:collapse;margin:8px 0 22px;font-variant-numeric:tabular-nums;font-family:var(--pd-body);}
.pd-frame .pd-content th{text-align:left;font:600 11.5px/1 var(--pd-label);letter-spacing:.14em;text-transform:uppercase;color:var(--pd-muted);padding:0 0 10px;border:0;border-bottom:1px solid var(--pd-ink);background:transparent;}
.pd-frame .pd-content td{padding:10px 0;border:0;border-bottom:1px solid var(--pd-hair);font-size:16px;color:var(--pd-text);background:transparent;}
.pd-frame .pd-content td:first-child{color:var(--pd-ink);font-weight:700;}
.pd-frame .pd-content tr:nth-of-type(even) td{background:transparent;}
.pd-frame .pd-figure{margin:24px 0;}
.pd-frame .pd-figure img{width:100%;height:auto;border-radius:8px;display:block;}
.pd-frame .pd-figure figcaption{font:400 14px/1.5 var(--pd-body);color:var(--pd-muted);margin-top:8px;}
.pd-frame .pd-content blockquote{margin:0 0 18px;padding:18px 22px;background:var(--pd-paper);border-radius:6px;}
.pd-frame .pd-content blockquote p:last-child{margin-bottom:0;}
.pd-frame .pd-content hr{border:0;border-top:1px solid var(--pd-hair);margin:32px 0;}

/* ---------- FAQ, guides, treatment page link (base rules in seo.css) ---------- */
.pd-frame .faq{margin:52px 0 0;}
.pd-frame .faq > h2#faq-heading{font:400 30px/1.2 var(--pd-display);color:var(--pd-ink);margin:0 0 14px;}
.pd-frame .faq-list{border:0;border-radius:0;background:transparent;}
.pd-frame .faq-item{border-top:1px solid var(--pd-hair);}
.pd-frame .faq-item:last-child{border-bottom:1px solid var(--pd-hair);}
.pd-frame .faq-q{padding:16px 0;font:700 17px/1.4 var(--pd-body);color:var(--pd-ink);background:transparent;}
.pd-frame .faq-q:hover,.pd-frame .faq-item[open] > .faq-q{background:transparent;}
.pd-frame .faq-q:focus-visible{outline-offset:2px;}
.pd-frame .faq-chevron{color:var(--pd-muted);}
.pd-frame .faq-a{padding:0 0 18px;font:400 16px/1.65 var(--pd-body);color:var(--pd-text);max-width:60ch;}
.pd-frame .clinician-byline a:hover,.pd-frame .clinician-byline a:focus{color:var(--pd-navy);text-decoration:underline;}

/* ---------- cards (hub treatments, listings, related reading) ---------- */
.pd-cards-wrap{padding:56px 24px 8px;}
.pd-frame .pd-cards{list-style:none;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:28px;}
.pd-frame .pd-cards li{list-style:none;margin:0;padding:0;}
.pd-frame .pd-card{display:block;text-decoration:none;color:inherit;font-family:var(--pd-body);}
.pd-frame .pd-card img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:6px;display:block;}
.pd-frame .pd-card .pd-eb{margin:14px 0 8px;color:var(--pd-navy);}
.pd-frame .pd-card h3{font:400 20px/1.3 var(--pd-display);color:var(--pd-ink);margin:14px 0 6px;padding:0;text-wrap:balance;}
.pd-frame .pd-card .pd-eb + h3{margin-top:0;}
.pd-frame .pd-card p{font:400 14.5px/1.5 var(--pd-body);color:var(--pd-muted);margin:0;letter-spacing:0;}
.pd-frame .pd-card:hover h3,.pd-frame .pd-card:focus h3{text-decoration:underline;text-decoration-color:rgba(18,58,114,.35);text-underline-offset:3px;}

/* ---------- appointment band (partials/appointment-form.html) ----------
   Geometry is the mirror of the hero and of the hub section band with the form in the media slot:
   .pd-frame .pd-hero-in (above) and .pd-frame .pd-section-in (page.css) are both 1140 / 470px / gap 70,
   so 1140 - 70 - 470 = a 600px offer column, byte-identical to the section band's text column, and
   .pd-band's 24px side padding already equals .pd-frame .pd-section's. The closing band is therefore the
   hero's mirror at the foot of the page: text left, object right, same gutter, same outer edge.

   The two-column state exists ONLY at a layout viewport >= 1200px, where .pd-band-in is always capped at
   1140 (1200 - 48 = 1152 > 1140). Below 1200 it stacks to one centred 600px column, so the offer measure
   is exactly 600px from 1200px down to ~648px and the 992-1188px fluid range - where a fixed track and an
   80px gap would have squeezed the left column to 404px - never opens. A 1200px window with a 15-17px
   classic scrollbar reports 1183-1185px and takes the stacked rule rather than silently squeezing.

   .pd-band, .pd-band-in, .pd-band-actions and .pd-form stay UNPREFIXED on purpose: three blog posts
   (best-dental-plan-for-implants, best-practices-healthy-teeth-gums, dental-implants-gresham-or-guide)
   render this partial on a body without .pd-frame, and those rules are the only structure they get.
   No legacy WordPress sheet declares any .pd-band* / .pd-form selector, so nothing can beat them.
   Everything typographic carries .pd-frame per the convention at the top of this file. */
.pd-band{background:var(--pd-paper);border-top:1px solid var(--pd-hair);padding:64px 24px 72px;margin-top:48px;font-family:var(--pd-body);scroll-margin-top:calc(var(--header-height,69px) + 24px);}
/* the breakout belongs to the band, not to its parent: inert in a block parent (#main), spans every grid
   parent (.pd-doc-body, .pd-content, anything added later). page.css:13 and :25 stay as the braces to this
   belt. The explicit side margins close the trap page.css:14-15 documents - a full-span grid item with auto
   side margins is sized fit-content, so any future .pd-band--modifier carrying margin:0 auto shrink-wraps. */
.pd-frame .pd-band{grid-column:1 / -1;margin-left:0;margin-right:0;}
.pd-band-in{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,470px);gap:70px;align-items:start;}
.pd-band-text{min-width:0;}

/* eyebrow and heading. Navy eyebrow follows the .pd-frame .pd-card .pd-eb precedent above and is 10.43:1
   on paper (muted is 4.60:1, no headroom). The 24ch cap keeps a display heading to one or two short lines
   inside a 600px column. */
.pd-frame .pd-band .pd-eb{color:var(--pd-navy);}
.pd-frame .pd-band h2{font:400 34px/1.15 var(--pd-display);color:var(--pd-ink);margin:12px 0 20px;padding:0;text-wrap:balance;max-width:24ch;}

/* body copy. The old blanket max-width:44ch on EVERY <p> in the band is gone - at a 600px column it
   wrapped at ~375px. Each element carries its own measure, so a paragraph added later cannot inherit one.
   ch figures below are ESTIMATES from each face's "0" advance and were not measured in a browser. */
.pd-frame .pd-band p{font:400 17px/1.6 var(--pd-body);color:var(--pd-text);margin:0 0 20px;letter-spacing:0;max-width:none;}
.pd-frame .pd-band .pd-band-lede{font:400 17.5px/1.62 var(--pd-body);color:var(--pd-text);max-width:52ch;margin:0 0 22px;}
.pd-frame .pd-band .pd-band-fine{font:400 14px/1.5 var(--pd-body);color:var(--pd-muted);max-width:52ch;margin:12px 0 0;}
.pd-frame .pd-band .pd-band-note{font:400 13.5px/1.5 var(--pd-body);color:var(--pd-muted);max-width:60ch;margin:14px 0 0;}

/* the priced offer. 46px is not a new scale: it is exactly .pd-frame .pd-h1 (46px Vidaloka, -.005em), so
   the price is the second h1-sized display figure on the page rather than an invented step. Against the
   34px h2 that is a 1.35x jump, which is what stops a serif number reading as another heading - do not
   "tidy" it to 42 or 48. It steps to 40px at 991.98, where .pd-h1 itself drops to 34px, so the closing
   band can never out-shout the page title. The 4px navy left edge is the card's boundary: a #DCE3EE
   hairline is 1.20:1 on paper and fails WCAG 1.4.11's 3:1 non-text bar, navy is 10.43:1. Fine print sits
   on white (#66708A on #fff = 4.89:1) rather than on paper (4.60:1). */
.pd-frame .pd-band-offer{background:#fff;border:1px solid var(--pd-hair);border-left:4px solid var(--pd-navy);border-radius:6px;padding:18px 22px;margin:0 0 24px;}
.pd-frame .pd-band .pd-band-price{font:400 46px/1 var(--pd-display);color:var(--pd-ink);margin:0 0 10px;letter-spacing:-.005em;font-variant-numeric:tabular-nums;}
.pd-frame .pd-band .pd-band-includes{font:400 17px/1.5 var(--pd-body);color:var(--pd-ink);margin:0 0 8px;max-width:44ch;}
.pd-frame .pd-band .pd-band-terms{font:400 13.5px/1.5 var(--pd-body);color:var(--pd-muted);margin:0;max-width:52ch;}
/* a caller still passing the old `highlight` key keeps the shape it had */
.pd-frame .pd-band .pd-band-highlight{font:400 34px/1 var(--pd-display);color:var(--pd-ink);margin:0 0 14px;}

/* reassurance row. <li>, never <p>, so no paragraph measure can reach it, and a flex row so each claim is
   sized to its own content instead of three equal tracks making one item wrap and the others not. 26px is
   .pd-frame .pd-hero-proof's column gap. Sentence-case Lato on purpose: the page already carries one
   uppercase .12em micro-caps proof row at the top and a second at the foot would read as a template tic.
   Quiet navy rings, no icons competing with the hero's stars. */
/* The spacing here MUST stay .pd-frame-prefixed. The legacy WordPress sheet carries
   `.page-template-default ol,.page-template-default ul{margin:0;padding:0}` at (0,1,1), and
   <body> always has .page-template-default - so an unprefixed .pd-band-reassure (0,1,0) loses and the
   chips collapse flat onto the buttons. Prefixing is safe on the three non-frame blog posts too:
   appointment-form.html wraps the band in its own .pd-frame when the body lacks one. */
.pd-band-reassure{list-style:none;border-top:1px solid var(--pd-hair);display:flex;flex-wrap:wrap;gap:12px 26px;}
.pd-frame .pd-band .pd-band-reassure{margin:30px 0 32px;padding:22px 0 0;}
.pd-band-reassure li{list-style:none;margin:0;}
.pd-frame .pd-band-reassure li{padding:0 0 0 20px;position:relative;font:600 14px/1.35 var(--pd-body);color:var(--pd-ink);letter-spacing:0;}
.pd-frame .pd-band-reassure li::before{content:"";position:absolute;left:0;top:.34em;width:9px;height:9px;border-radius:50%;border:2px solid var(--pd-navy);box-sizing:border-box;}

.pd-band-actions{display:flex;align-items:stretch;gap:14px;flex-wrap:wrap;margin:0;}

/* form card. The 3px navy top edge is the card's identifying boundary: white on paper is 1.07:1 and the
   hairline 1.20:1, so the card had no perceivable edge at all and WCAG 1.4.11 wants 3:1. Navy is 10.43:1
   and keeps the card inside the paper/navy family rather than making it look like a wireframe. */
.pd-form{background:#fff;border:1px solid var(--pd-hair);border-radius:6px;padding:22px 24px;}
.pd-frame .pd-form{border-top:3px solid var(--pd-navy);}
.pd-frame .pd-form .pd-eb{margin-bottom:6px;color:var(--pd-navy);}
.pd-frame .pd-form .pd-form-sub{font:400 13.5px/1.5 var(--pd-body);color:var(--pd-muted);margin:0 0 14px;max-width:44ch;}
.pd-frame .pd-form .pd-form-fallback{font:400 15px/1.55 var(--pd-body);color:var(--pd-text);margin:0;max-width:none;}
/* .pd-form iframe MUST stay at (0,1,1): static/css/site-choice.css loads later from <body> and its
   iframe.embed-held{display:none} is also (0,1,1). A .pd-frame-prefixed display rule here would
   out-specify it and un-hide the empty pre-consent iframe on 86 pages. Never add height:!important -
   link.msgsndr.com/js/form_embed.js writes the real height inline, and it passes scrolling:true, so an
   over-specified height produces an internal scrollbar rather than a clip. 457px is a fallback only, and
   there is deliberately no min-height on either the iframe or the card. */
.pd-form iframe{width:100%;height:var(--pd-form-h,457px);border:0;display:block;}
/* GoHighLevel's form_embed.js rewraps the iframe in its own <div class="ep-iFrameContainer"> and sets the
   iframe to position:absolute. That container has no intrinsic height, so .pd-form collapses to the height
   of its heading alone (measured: a 120px card holding a 457px form) and the form spills over the paper
   below it. Reserving --pd-form-h on the container keeps the card the right size whether GHL's script
   posts a height or never runs at all. Not prefixed: it must also hold on the three frameless blog posts. */
.pd-form .ep-iFrameContainer{position:relative;min-height:var(--pd-form-h,457px);}
.pd-form .ep-iFrameContainer iframe{position:absolute;inset:0;height:100%;}

/* consent-declined state - the default view for a first-time visitor, so it is designed, not left to
   site-choice.css's neutral grey. site-choice.css loads after this file but at (0,1,0); these are (0,3,0).
   Do NOT add a class to .embed-note: site-choice.js:26 removes it with n.className === 'embed-note', an
   exact compare that a second class silently breaks, leaving the placeholder stacked above the loaded
   form forever. --pd-hair-strong is 3.47:1 on paper, which the dashed box needs because unlike the card
   it has no navy edge of its own. */
.pd-frame .pd-form .embed-note{background:var(--pd-paper);border:1px dashed var(--pd-hair-strong,#7A8598);border-radius:6px;padding:30px 20px;margin:0;text-align:left;}
.pd-frame .pd-form .embed-note p{font:400 14.5px/1.55 var(--pd-body);color:var(--pd-text);margin:0 0 14px;max-width:40ch;}
.pd-frame .pd-form .embed-note-btn{font:600 14.5px/1 var(--pd-label);letter-spacing:.02em;background:var(--pd-blue-deep);color:#fff;border:0;border-radius:4px;padding:14px 20px;cursor:pointer;}
.pd-frame .pd-form .embed-note-btn:hover,.pd-frame .pd-form .embed-note-btn:focus{background:var(--pd-ink);}

/* buttons and the phone inside .pd-content must beat the content-link rule at the top of this file */
.pd-frame .pd-content .pd-btn{display:inline-block;font:600 14.5px/1 var(--pd-label);color:#fff;text-decoration:none;}
.pd-frame .pd-content .pd-btn:hover,.pd-frame .pd-content .pd-btn:focus{color:#fff;text-decoration:none;}
.pd-frame .pd-content .pd-phone{display:block;font:700 23px/1.2 var(--pd-body);text-decoration:none;}
.pd-frame .pd-content .pd-phone:hover,.pd-frame .pd-content .pd-phone:focus{text-decoration:none;}

/* The band's own controls come AFTER the .pd-content pair on purpose: both are (0,3,0), so source order
   is what makes the band identical on /contact/, /our-practice/ and /our-team/ (where it sits inside
   .pd-content) and on the other 80 pages. Escalating specificity in page.css would fix .pd-phone and miss
   .pd-btn, which is exactly how this component diverged in the first place.
   The phone is a control of the same height and optical weight as the button, not a line of text beside
   it - outlined-secondary next to filled-primary. (0,3,0) also beats components.css:13's
   .pd-band a{display:inline}. The button's resting fill moves from --pd-blue (white on #5585CC = 3.74:1,
   a live WCAG AA failure on 86 pages) to --pd-blue-deep (6.61:1); #2B5CA5 on paper is 6.16:1, so the
   filled control clears 1.4.11 as well. */
.pd-frame .pd-band .pd-band-call{display:inline-flex;align-items:center;margin:0;padding:0 22px;min-height:52px;background:#fff;border:1px solid var(--pd-navy);border-radius:4px;font:700 24px/1 var(--pd-body);color:var(--pd-navy);text-decoration:none;font-variant-numeric:tabular-nums;letter-spacing:-.01em;transition:border-color .15s ease,color .15s ease;}
.pd-frame .pd-band .pd-band-call:hover,.pd-frame .pd-band .pd-band-call:focus{background:#fff;border-color:var(--pd-ink);color:var(--pd-ink);text-decoration:none;}
.pd-frame .pd-band .pd-btn{display:inline-flex;align-items:center;min-height:52px;padding:0 22px;background:var(--pd-blue-deep);color:#fff;}
.pd-frame .pd-band .pd-btn:hover,.pd-frame .pd-band .pd-btn:focus{background:var(--pd-ink);color:#fff;}

/* ---------- responsive ---------- */
@media (max-width:1199.98px){
  .pd-hero-in{padding:170px 20px 48px;}
  .pd-hero-in--compact{padding:140px 20px 40px;}
}
@media (max-width:991.98px){
  .pd-hero-in,.pd-hero-in--portrait{grid-template-columns:1fr;gap:28px;}
  .pd-hero-cover{max-width:560px;}
  .pd-hero-in--portrait .pd-hero-cover{max-width:320px;justify-self:start;}
  .pd-frame .pd-h1{font-size:34px;max-width:none;}
  .pd-frame .pd-sub{font-size:17px;}
  .pd-frame .pd-content > p:first-child{font-size:18px;}
  .pd-frame .pd-content h2{font-size:26px;margin-top:34px;}
  .pd-frame .pd-content > p:first-child + h2,.pd-frame .pd-content > h2:first-child{margin-top:28px;}
  .pd-cards-wrap{padding:40px 20px 8px;}
}
@media (max-width:767.98px){
  .pd-hero-in{padding:120px 20px 40px;}
  .pd-hero-in--compact{padding:110px 20px 36px;}
  .pd-frame .pd-hero-proof{flex-direction:column;gap:8px;}
}
@media (max-width:559.98px){
  .pd-frame .pd-cards{gap:0;}
  .pd-frame .pd-cards li{padding:12px 0;border-top:1px solid var(--pd-hair);}
  .pd-frame .pd-cards li:last-child{border-bottom:1px solid var(--pd-hair);}
  .pd-frame .pd-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center;}
  .pd-frame .pd-card img{aspect-ratio:4/3;}
  .pd-frame .pd-card .pd-eb{margin:0 0 4px;}
  .pd-frame .pd-card h3{font-size:17px;margin:0 0 3px;}
  .pd-frame .pd-card p{font-size:13.5px;}
}
@media (max-width:479.98px){
  .pd-cta{flex-direction:column;}
  .pd-cta .pd-btn{text-align:center;}
}
@media (prefers-reduced-motion:reduce){
  /* .pd-band-call carries its own border-color/color transition, added with the band redesign. */
  .pd-frame .pd-btn,.pd-frame .pd-band .pd-band-call{transition:none;}
}

/* ---------- related reading and treatments (partials/related_articles.html, section-children.html) ----------
   Shared by the toc layout (.pd-page) and the frame body (.pd-doc-body). Spec:
   docs/superpowers/specs/2026-09-11-frame-related-sections-design.md */
.pd-frame .pd-related{margin:44px 0 64px;}
.pd-frame .pd-h2-tight{font:400 24px/1.2 var(--pd-display);color:var(--pd-ink);margin:0 0 18px;padding:0;}
/* three abreast in the measure; one or two items take the wider pair grid */
.pd-frame .pd-related .pd-cards{margin-top:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.pd-frame .pd-related .pd-cards[data-count="1"],.pd-frame .pd-related .pd-cards[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;}
.pd-frame .pd-related .pd-card h3{font-size:18px;}
.pd-frame .pd-treatments .pd-card p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
@media (max-width:991.98px){
  /* a swipeable rail, edge to edge through the 20px gutters, two cards in view on tablets; three classes beat
     the phone list-mode card rules above */
  .pd-frame .pd-related .pd-cards,.pd-frame .pd-related .pd-cards[data-count="1"],.pd-frame .pd-related .pd-cards[data-count="2"]{display:flex;gap:16px;margin:0 -20px;padding:0 20px 6px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:20px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
  .pd-frame .pd-related .pd-cards::-webkit-scrollbar{display:none;}
  .pd-frame .pd-related .pd-cards li{flex:0 0 calc(50% - 26px);scroll-snap-align:start;padding:0;border:0;}
  .pd-frame .pd-related .pd-card{display:block;}
  .pd-frame .pd-related .pd-card img{aspect-ratio:3/2;}
  .pd-frame .pd-related .pd-card .pd-eb{margin:14px 0 8px;}
  .pd-frame .pd-related .pd-card h3{font-size:18px;margin:0 0 6px;}
}
@media (max-width:599.98px){
  /* phones: one card in view, the next one peeking */
  .pd-frame .pd-related .pd-cards li{flex-basis:min(300px,80%);}
}

/* ---------- appointment band responsive (see the band block above for the geometry) ---------- */
@media (max-width:1199.98px){
  /* One centred 600px column: the same measure as the two-column state, so nothing reflows into a
     narrower box on the way down and the 992-1188px dead zone cannot exist. The form card keeps its
     470px cap so the GoHighLevel iframe stays 470 - 2 - 48 = 420px wide at every viewport above ~518px -
     the consent paragraph never rewraps, so the height form_embed.js posts back is one number. */
  .pd-band-in{grid-template-columns:minmax(0,600px);justify-content:center;gap:32px;}
  .pd-band-in > .pd-form{max-width:470px;justify-self:center;}
}
@media (max-width:991.98px){
  .pd-band{padding:48px 20px 56px;}
  /* .pd-frame .pd-h1 drops to 34px here, so the price steps down with it: the closing band must never be
     louder than the page title. */
  .pd-frame .pd-band .pd-band-price{font-size:40px;}
}
@media (max-width:767.98px){
  .pd-frame .pd-band h2{font-size:29px;}
  .pd-frame .pd-band .pd-band-price{font-size:36px;}
  .pd-frame .pd-band .pd-band-lede{font-size:16.5px;}
  .pd-frame .pd-band-offer{padding:16px 18px;}
  /* mirrors the .pd-frame .pd-hero-proof stack in the same query */
  .pd-band-reassure{flex-direction:column;gap:10px;}
  .pd-frame .pd-band .pd-band-reassure{margin:8px 0 26px;padding:20px 0 0;}
  .pd-form{padding:18px 16px;}
}
@media (max-width:559.98px){
  .pd-band-actions{gap:10px;}
  .pd-frame .pd-band .pd-band-call,.pd-frame .pd-band .pd-btn{width:100%;justify-content:center;}
}
