/*
  Inner pages: the modules that build service, sector, partner, case study, company and legal pages.
  Same design language as the home page (design-concepts/homepage/hybrid.html): the Hybrid's tokens,
  display type, pill buttons, pucks, cards on --surface and bands on --band. Class names start pg-.
  Prettier skips this folder; keep rules on one line each, as in site.hubl.css.
*/

/* ---------- Section rhythm ---------- */
.pg-sec { position: relative; padding: clamp(72px, 9vw, 136px) 0; }
.pg-sec.is-band { background: var(--band); }
.pg-sec.is-tight { padding-top: clamp(40px, 5vw, 72px); }
.pg-sec + .pg-sec:not(.is-band) { padding-top: 0; }
.pg-sec.is-band + .pg-sec.is-band { padding-top: 0; }
.pg-title { font-size: calc(var(--ds) * clamp(36px, 4.6vw, 72px)); max-width: 18ch; }
.pg-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.pg-head .lede { margin-top: 0; }
.pg-head.is-stack { grid-template-columns: minmax(0, 1fr); gap: 0; }
.pg-head.is-stack .lede { margin-top: clamp(16px, 1.8vw, 26px); }
.pg-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; }
.pg-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); }

/* ---------- Page hero: dark band with the brand pattern, breadcrumb, title, lede, actions and an optional photo ---------- */
.pg-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--paper); padding: calc(var(--nav-h) + clamp(48px, 7vw, 112px)) 0 clamp(64px, 8vw, 120px); --focus: var(--orange); --muted: #B4C4D3; --line: rgba(243, 246, 249, 0.16); --line-strong: rgba(243, 246, 249, 0.34); --accent-ink: #FF8350; }
.pg-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--img-dd-pattern-indigo) 0 0 / 104px auto repeat; opacity: 0.55; -webkit-mask-image: linear-gradient(200deg, #000 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 80%); mask-image: linear-gradient(200deg, #000 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 80%); }
.pg-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.pg-hero.no-media .pg-hero-grid { grid-template-columns: minmax(0, 1fr); }
.pg-hero-title { font-size: calc(var(--ds) * clamp(44px, 6.4vw, 104px)); max-width: 14ch; }
.pg-hero.no-media .pg-hero-title { max-width: 18ch; }
.pg-hero .lede { color: #CAD7E2; max-width: 46ch; }
.pg-hero .lede strong { color: var(--paper); font-weight: 700; }
.pg-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3vw, 40px); }
.pg-hero-media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 620px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8); }
.pg-hero-media.is-wide { aspect-ratio: var(--ar, 4 / 3); }
.pg-hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* The client's logo sits on its own line above the eyebrow, white on the dark band, sized by its shape (see dd-page-hero) */
.pg-hero-logo { display: block; margin-bottom: clamp(24px, 2.8vw, 36px); line-height: 0; }
.pg-hero-logo img { display: block; height: var(--logo-h, 56px); width: auto; max-width: min(340px, 100%); object-fit: contain; object-position: left center; }
.pg-hero-logo.is-chip { display: inline-block; padding: 14px 20px; border-radius: var(--r-in); background: var(--paper); }
.pg-hero-logo.is-chip img { height: calc(var(--logo-h, 56px) * 0.75); }
.pg-hero-stat { position: absolute; left: 16px; bottom: 16px; right: 16px; display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--r-in); background: var(--orange); color: var(--on-orange); }
.pg-hero-stat strong { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 78, "opsz" 96; font-size: calc(var(--ds) * clamp(36px, 3.4vw, 54px)); line-height: 0.9; }
.pg-hero-stat span { font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.crumbs { margin-bottom: clamp(22px, 2.6vw, 34px); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: #B4C4D3; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.7; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--paper); }

/* ---------- Split: copy beside a photo, with an optional checklist ---------- */
.pg-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.pg-split.is-flip .pg-split-media { order: -1; }
.pg-split.no-media { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.pg-split-media { border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 4; }
.pg-split-media img { width: 100%; height: 100%; object-fit: cover; }
.pg-prose { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.pg-prose > * + * { margin-top: 1em; }
.pg-prose h2, .pg-prose h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 82, "opsz" 48; color: var(--ink); line-height: 1.05; }
.pg-prose h2 { font-size: calc(var(--ds) * clamp(28px, 2.6vw, 40px)); margin-top: 1.6em; }
.pg-prose h3 { font-size: calc(var(--ds) * clamp(22px, 1.8vw, 28px)); margin-top: 1.4em; }
.pg-prose ul, .pg-prose ol { padding-left: 1.2em; }
.pg-prose ul { list-style: disc; }
.pg-prose ol { list-style: decimal; }
.pg-prose li + li { margin-top: 0.4em; }
.pg-prose li::marker { color: var(--orange); }
.pg-prose a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pg-prose strong { color: var(--ink); }
.pg-split .pg-title + .pg-prose { margin-top: clamp(18px, 2vw, 28px); }
.pg-checks { margin-top: clamp(22px, 2.4vw, 32px); display: grid; gap: 12px; }
.pg-checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 600; color: var(--ink); line-height: 1.45; }
.pg-checks li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--orange) center / 14px auto no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='%2310293D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pg-split .text-link { margin-top: 26px; }

/* ---------- Feature cards ---------- */
.pg-cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.pg-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(24px, 2.4vw, 34px); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.is-band .pg-card { background: var(--surface); }
.pg-card .puck { margin-bottom: 14px; }
.pg-card h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 80, "opsz" 48; font-size: calc(var(--ds) * clamp(22px, 1.8vw, 28px)); line-height: 1.02; }
.pg-card p { color: var(--ink-2); line-height: 1.55; }
.pg-card .text-link { margin-top: auto; padding-top: 12px; }
.pg-card-num { font: 600 13px/1 var(--font-mono); letter-spacing: 0.08em; color: var(--accent-ink); }

/* ---------- Link cards: photo cards that lead to another page (hubs, related pages) ---------- */
.pg-links { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
/* Every card in a row is as tall as the tallest, with its link line at the bottom */
.pg-links > li { display: flex; min-width: 0; }
.pg-links > li > .pg-link { flex: 1 1 auto; width: 100%; }
.pg-link { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.pg-link:hover { transform: translateY(-4px); }
.pg-link-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.pg-link-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.pg-link:hover .pg-link-img img { transform: scale(1.04); }
.pg-link-body { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2vw, 28px); flex: 1; }
.pg-link-tag { font: 600 12px/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.pg-link h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 80, "opsz" 48; font-size: calc(var(--ds) * clamp(22px, 1.8vw, 28px)); line-height: 1.02; }
.pg-link p { color: var(--ink-2); line-height: 1.5; }
.pg-link-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.pg-link-more svg { width: 16px; height: 16px; fill: currentColor; color: var(--orange); transition: transform 0.35s var(--ease); }
.pg-link:hover .pg-link-more svg { transform: translateX(4px); }
.pg-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 0 var(--orange); transition: box-shadow 0.35s var(--ease); }
.pg-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ---------- Figures: the home page's numbers row, any count ---------- */
.pg-stats .nums { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }

/* ---------- Steps ---------- */
.pg-steps { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); counter-reset: step; }
.pg-steps li { padding: 24px 22px 6px 0; display: grid; gap: 12px; align-content: start; min-width: 0; }
.pg-steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.pg-steps .pg-card-num { color: var(--accent-ink); }
.pg-steps h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 80, "opsz" 48; font-size: calc(var(--ds) * clamp(22px, 1.8vw, 28px)); line-height: 1.02; }
.pg-steps p { color: var(--ink-2); line-height: 1.55; }

/* ---------- Quote ---------- */
.pg-quote { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 1040px; }
.pg-quote blockquote p { font-family: var(--font-display); font-weight: 700; font-variation-settings: "wdth" 86, "opsz" 48; font-size: calc(var(--ds) * clamp(26px, 2.8vw, 44px)); line-height: 1.12; color: var(--ink); }
.pg-quote figcaption { display: flex; align-items: center; gap: 16px; }
.pg-quote figcaption > span:last-child { display: grid; gap: 2px; }
.pg-quote figcaption strong { font-weight: 700; }
.pg-quote figcaption span span { color: var(--muted); font-size: 15px; }
.pg-quote .q-ph { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; }
.pg-quote .q-ph img { width: 100%; height: 100%; object-fit: cover; }
.pg-quote-mark { width: 56px; height: 56px; color: var(--orange); }

/* ---------- FAQ ---------- */
.pg-faq { border-top: 2px solid var(--ink); }
.pg-faq details { border-bottom: 1px solid var(--line-strong); }
.pg-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 82, "opsz" 48; font-size: calc(var(--ds) * clamp(20px, 1.7vw, 26px)); line-height: 1.1; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary svg { width: 22px; height: 22px; flex: none; fill: currentColor; color: var(--orange); transition: transform 0.4s var(--ease); }
.pg-faq details[open] summary svg { transform: rotate(45deg); }
.pg-faq summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }
.pg-faq .pg-prose { padding: 0 0 26px; max-width: 72ch; }
.pg-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 96px); align-items: start; }

/* ---------- Call to action band ---------- */
.pg-cta { position: relative; isolation: isolate; overflow: hidden; background: var(--orange); color: var(--on-orange); padding: clamp(64px, 8vw, 120px) 0; --focus: var(--deep-2); }
.pg-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--img-dd-pattern-white) 0 0 / 104px auto repeat; opacity: 0.2; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.08) 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.08) 100%); }
.pg-cta-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 96px); align-items: end; }
.pg-cta .pg-title { max-width: 16ch; }
.pg-cta p { font-size: clamp(17px, 1.35vw, 20px); font-weight: 550; max-width: 40ch; }
.pg-cta .pg-hero-ctas { margin-top: 24px; }

/* ---------- Logos ---------- */
.pg-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pg-logos li { display: grid; place-items: center; min-height: 104px; padding: 18px 22px; border-radius: var(--r-in); background: var(--paper); box-shadow: var(--shadow); }
.pg-logos img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }
/* Tiles stay light in both themes, as most client logos have no version for dark backgrounds */
.pg-logos .logo-dark { display: none; }
.pg-logos .logo-name { font-weight: 700; color: var(--deep-2); text-align: center; }

/* ---------- Pricing ---------- */
.pg-plans { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pg-plan { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 2.6vw, 36px); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
.pg-plan.is-featured { background: var(--deep-2); color: var(--paper); --ink: var(--paper); --ink-2: #CAD7E2; --muted: #B4C4D3; --line: rgba(243, 246, 249, 0.16); }
.pg-plan h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 80, "opsz" 48; font-size: calc(var(--ds) * clamp(24px, 2vw, 30px)); line-height: 1; }
.pg-plan-for { color: var(--ink-2); line-height: 1.5; }
.pg-plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pg-plan-price strong { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 78, "opsz" 96; font-size: calc(var(--ds) * clamp(40px, 3.8vw, 58px)); line-height: 0.9; }
.pg-plan-price span { color: var(--muted); font-size: 15px; }
.pg-plan ul { display: grid; gap: 10px; }
.pg-plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; line-height: 1.45; color: var(--ink-2); }
.pg-plan li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--orange); }
.pg-plan .btn { margin-top: auto; align-self: flex-start; }
/* A short tag after a card title, for example New */
.pg-badge { display: inline-block; margin-left: 10px; padding: 5px 9px 4px; border-radius: 999px; background: var(--orange); color: var(--on-orange); font: 800 11px/1 var(--font-body); font-variation-settings: normal; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 0.32em; white-space: nowrap; }
.pg-plan-badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: var(--on-orange); font: 700 12px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.pg-note { margin-top: 22px; font-size: 14.5px; color: var(--muted); max-width: 80ch; }

/* ---------- Case study facts ---------- */
.pg-facts { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.pg-facts > div { padding: 20px 20px 4px 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
.pg-facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.pg-facts dt { font: 600 12px/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pg-facts dd { font-weight: 700; line-height: 1.4; }

/* ---------- Jobs (careers) ---------- */
.pg-jobs { border-top: 2px solid var(--ink); }
.pg-jobs li { border-bottom: 1px solid var(--line-strong); }
.pg-jobs a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 26px 0; text-decoration: none; color: inherit; }
.pg-jobs h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 80, "opsz" 48; font-size: calc(var(--ds) * clamp(22px, 2vw, 30px)); line-height: 1.05; }
.pg-jobs p { grid-column: 1; color: var(--muted); }
.pg-jobs svg { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 22px; fill: currentColor; color: var(--orange); transition: transform 0.35s var(--ease); }
.pg-jobs a:hover svg { transform: translateX(4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pg-cards, .pg-links, .pg-plans { --cols: 2 !important; }
  .pg-steps, .pg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-steps li:nth-child(odd), .pg-facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .pg-steps li:nth-child(n + 3), .pg-facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 899px) {
  /* The home page's rule spans the last of five figures across both columns; an even count keeps two columns */
  .pg-stats .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-stats .nums li:last-child:nth-child(even) { grid-column: auto; }
}
@media (max-width: 860px) {
  .pg-hero-media, .pg-hero-media.is-wide { aspect-ratio: auto; max-height: none; }
  .pg-hero-media img, .pg-hero-media .pg-vid { aspect-ratio: var(--ar, 4 / 3); height: auto; }
  .pg-hero-stat { position: static; border-radius: 0; }
  .pg-hero-grid, .pg-split, .pg-split.no-media, .pg-head, .pg-cta-in, .pg-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-split.is-flip .pg-split-media { order: 0; }
  .pg-head { gap: 16px; align-items: start; }
}
@media (max-width: 620px) {
  .pg-cards, .pg-links, .pg-plans { --cols: 1 !important; }
  .pg-steps, .pg-facts { grid-template-columns: minmax(0, 1fr); }
  .pg-steps li, .pg-facts > div { padding-left: 0 !important; border-left: 0 !important; }
  .pg-steps li + li, .pg-facts > div + div { border-top: 1px solid var(--line); }
  .pg-hero-ctas .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-link, .pg-link-img img, .pg-faq summary svg, .pg-link-more svg, .pg-jobs svg { transition: none; }
  .pg-link:hover { transform: none; }
}

/* ---------- Blog: topic chips, article cards, pagination, the article itself ---------- */
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.pg-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.pg-chips a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pg-chips a[aria-current] { background: var(--ink); color: var(--page); box-shadow: none; }
.pg-link-date { margin-top: auto; padding-top: 6px; font: 500 13px/1.2 var(--font-mono); color: var(--muted); }
.pg-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: clamp(36px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
.pg-pager ol { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-pager ol a, .pg-pager ol span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.pg-pager ol a { box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--ink); }
.pg-pager ol [aria-current] { background: var(--ink); color: var(--page); }
.pg-hero .pg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 24px; color: #B4C4D3; font-size: 15px; }
.pg-hero .pg-meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.pg-hero .pg-meta strong { color: var(--paper); }
.pg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pg-tags a { font: 600 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #FF8350; text-decoration: none; padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(243, 246, 249, 0.3); }
.pg-tags a:hover { box-shadow: inset 0 0 0 1.5px #FF8350; }
.pg-article { padding: clamp(48px, 6vw, 96px) 0 clamp(72px, 9vw, 136px); }
.pg-article-in { max-width: 760px; margin: 0 auto; }
.pg-featured { max-width: 1100px; margin: calc(-1 * clamp(40px, 5vw, 80px)) auto clamp(36px, 4vw, 56px); border-radius: var(--r); overflow: hidden; position: relative; z-index: 1; box-shadow: var(--shadow); }
.pg-featured img { width: 100%; height: auto; display: block; }
.pg-article .pg-prose { max-width: none; }
.pg-article .pg-prose img { max-width: 100%; height: auto; border-radius: var(--r-in); }
.pg-article .pg-prose blockquote { padding-left: 20px; border-left: 3px solid var(--orange); font-style: italic; }
.pg-article .pg-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.pg-article .pg-prose th, .pg-article .pg-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.pg-author { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: clamp(40px, 5vw, 64px); padding: 24px; border-radius: var(--r); background: var(--band); }
.pg-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.pg-author p { color: var(--ink-2); line-height: 1.5; }
.pg-author .pg-eyebrow { margin-bottom: 6px; }
.pg-system { min-height: 60vh; }
.pg-search input[type="search"], .pg-system input[type="password"], .pg-system input[type="email"] { width: 100%; max-width: 560px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--field-border); background: var(--field-bg); color: var(--ink); font: inherit; }

/* ---------- Screens: browser windows and phones with screenshots or screen recordings ---------- */
.pg-browser { display: block; border-radius: 14px; overflow: hidden; background: var(--deep-2); box-shadow: 0 0 0 1px rgba(243, 246, 249, 0.08), 0 40px 90px -46px rgba(3, 10, 16, 0.75); }
.pg-browser-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: var(--deep-3); }
.pg-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(243, 246, 249, 0.22); flex: none; }
.pg-browser-bar i:first-child { background: var(--orange); }
.pg-browser-url { flex: 0 1 340px; min-width: 0; margin-left: 10px; height: 22px; display: flex; align-items: center; padding: 0 12px; border-radius: 999px; background: rgba(243, 246, 249, 0.08); color: #CAD7E2; font: 500 12px/1 var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-browser-screen { display: block; position: relative; aspect-ratio: var(--ar, 16 / 10); overflow: hidden; background: var(--surface-2); }
.pg-browser-screen img, .pg-browser-screen video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* A full-page capture scrolls slowly to its foot while pointed at */
.pg-browser.is-tall .pg-browser-screen img { transition: object-position 7s cubic-bezier(0.45, 0, 0.55, 1); }
.pg-browser.is-tall:hover .pg-browser-screen img { object-position: bottom center; transition-duration: 9s; }
.pg-phone { display: block; width: 100%; max-width: 300px; margin-inline: auto; padding: 9px; border-radius: 44px; background: var(--deep-3); box-shadow: 0 0 0 1.5px rgba(243, 246, 249, 0.14), 0 40px 90px -40px rgba(3, 10, 16, 0.8); }
.pg-phone-screen { display: block; position: relative; aspect-ratio: 9 / 19.5; border-radius: 36px; overflow: hidden; background: var(--surface-2); }
.pg-phone-screen img, .pg-phone-screen video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pg-phone.is-tall .pg-phone-screen img { transition: object-position 7s cubic-bezier(0.45, 0, 0.55, 1); }
.pg-phone.is-tall:hover .pg-phone-screen img { object-position: bottom center; }
.pg-vid { display: block; position: relative; width: 100%; height: 100%; }
.pg-vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg-vid-btn { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(10, 27, 41, 0.72); color: var(--paper); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pg-vid-btn svg { width: 18px; height: 18px; fill: currentColor; }
.pg-vid-btn .i-play, .pg-vid.is-paused .pg-vid-btn .i-pause { display: none; }
.pg-vid.is-paused .pg-vid-btn .i-play { display: inline; }
.pg-vid-btn:hover { background: var(--orange); color: var(--on-orange); }
.pg-vid-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
/* Hero with a screen instead of a photo; the headline figure overlaps its lower edge */
/* In the hero the figure sits at the foot of the photo, so a video's button moves to the top */
.pg-hero-media .pg-vid-btn { top: 14px; right: 14px; bottom: auto; }
.pg-hero-device { position: relative; display: grid; }
.pg-hero-device.is-phone { justify-items: center; }
.pg-hero-device.is-phone .pg-phone { max-width: 290px; }
.pg-hero-device .pg-hero-stat { position: relative; inset: auto; justify-self: start; max-width: 320px; margin: -56px 0 0 -20px; box-shadow: 0 24px 48px -24px rgba(3, 10, 16, 0.7); }
.pg-hero-device.is-phone .pg-hero-stat { position: absolute; left: 0; bottom: 48px; margin: 0; max-width: 220px; }
/* Showcase: "stage" puts the first screen large and the second overlapping it; "grid" sets them side by side */
.pg-show { display: grid; gap: clamp(40px, 5vw, 72px) clamp(20px, 2.4vw, 32px); }
.pg-show figure { margin: 0; min-width: 0; }
.pg-show figcaption { margin-top: 16px; font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 56ch; }
.pg-show.is-grid { grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); align-items: start; }
.pg-show.is-stage { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
.pg-show.is-stage > :first-child { grid-column: 1 / span 10; grid-row: 1; }
.pg-show.is-stage > :nth-child(2) { grid-column: 8 / -1; grid-row: 1; z-index: 1; margin-bottom: -40px; }
.pg-show.is-stage > :nth-child(2).is-phone { grid-column: 10 / -1; }
.pg-show.is-stage > :nth-child(2).is-phone .pg-phone { max-width: 260px; }
.pg-show.is-stage > :nth-child(2) figcaption { padding: 12px 14px; border-radius: var(--r-in); background: var(--surface); box-shadow: var(--shadow); color: var(--ink-2); }
.pg-show.is-stage > :nth-child(n + 3) { grid-column: span 6; }
.pg-show.is-stage > :first-child figcaption { max-width: 58%; }

/* ---------- How it fits together: columns joined by arrows ---------- */
.pg-flow { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 56px; counter-reset: flow; }
.pg-flow-col { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.pg-flow-col.is-core { background: var(--deep-2); color: var(--paper); box-shadow: 0 0 0 2px var(--orange), var(--shadow); --ink-2: #CAD7E2; --line: rgba(243, 246, 249, 0.16); --accent-ink: #FF8350; }
.pg-flow-k { font: 600 12px/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.pg-flow-col h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 80, "opsz" 48; font-size: calc(var(--ds) * clamp(22px, 1.9vw, 30px)); line-height: 1.02; }
.pg-flow-col ul { display: grid; gap: 8px; }
.pg-flow-col ul li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 12px; background: var(--band); color: var(--ink-2); font-weight: 600; line-height: 1.35; }
.pg-flow-col.is-core ul li { background: rgba(243, 246, 249, 0.07); }
.pg-flow-col ul li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); transform: translateY(-1px); }
.pg-flow-col + .pg-flow-col::before { content: ""; position: absolute; top: 50%; left: -46px; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--orange) center / 18px auto no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h14M13 6l6 6-6 6' fill='none' stroke='%2310293D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- Comparison bars ---------- */
.pg-compare { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pg-compare.no-callout { grid-template-columns: minmax(0, 1fr); }
.pg-bars { display: grid; gap: clamp(18px, 2vw, 26px); }
.pg-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; align-items: end; }
.pg-bar-l { font-weight: 700; line-height: 1.35; }
.pg-bar-v { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 78, "opsz" 96; font-size: calc(var(--ds) * clamp(28px, 2.6vw, 42px)); line-height: 0.9; }
.pg-bar { grid-column: 1 / -1; display: block; height: clamp(16px, 1.6vw, 22px); border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.pg-bar span { display: block; height: 100%; width: calc(var(--v, 0) * 100%); min-width: 6px; border-radius: inherit; background: var(--ink-2); transform-origin: left center; }
.pg-bars .is-hi .pg-bar span { background: var(--orange); }
.pg-bars .is-hi .pg-bar-v { color: var(--accent-ink); }
.rv-on .pg-bars:not(.in) .pg-bar span { transform: scaleX(0); }
.rv-on .pg-bars .pg-bar span { transition: transform 1.4s var(--ease) calc(var(--rd, 0) * 160ms + 250ms); }
.pg-callout { display: grid; gap: 10px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r); background: var(--orange); color: var(--on-orange); }
.pg-callout strong { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 76, "opsz" 96; font-size: calc(var(--ds) * clamp(64px, 7.4vw, 120px)); line-height: 0.82; }
.pg-callout span { font-size: clamp(17px, 1.3vw, 20px); font-weight: 650; line-height: 1.35; }

/* ---------- Figures as rings ---------- */
.pg-rings { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.pg-rings li { display: grid; justify-items: center; align-content: start; gap: 14px; text-align: center; min-width: 0; }
.pg-stats.is-rings .nums-src { margin-top: clamp(28px, 3vw, 44px); text-align: center; }
.pg-rings .nums-l { max-width: 24ch; }
.pg-ring { position: relative; display: grid; place-items: center; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; }
.pg-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.pg-ring circle { fill: none; stroke-width: 9; }
.pg-ring-track { stroke: var(--surface-2); }
.pg-ring-value { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: var(--p, 100) 100; }
.rv-on [data-reveal]:not(.in) .pg-ring-value { stroke-dasharray: 0 100; }
.rv-on [data-reveal] .pg-ring-value { transition: stroke-dasharray 1.6s var(--ease) calc(var(--rd, 0) * 120ms + 250ms); }
.pg-ring .nums-n { position: relative; font-size: calc(var(--ds) * clamp(30px, 2.8vw, 46px)); }

/* ---------- Timeline ---------- */
.pg-time { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; }
.pg-time li { position: relative; display: grid; gap: 10px; align-content: start; padding: 34px 22px 8px 0; border-top: 3px solid var(--orange); min-width: 0; }
.pg-time li.is-next { border-top: 3px dashed var(--line-strong); }
.pg-time li.is-now { border-image: linear-gradient(90deg, var(--orange) 0 50%, var(--line-strong) 50% 100%) 1; border-top-width: 3px; border-top-style: solid; }
.pg-time-dot { position: absolute; top: -11px; left: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px var(--page); }
.is-band .pg-time-dot { box-shadow: 0 0 0 5px var(--band); }
.pg-time li.is-next .pg-time-dot { background: var(--page); box-shadow: inset 0 0 0 3px var(--line-strong), 0 0 0 5px var(--page); }
.is-band .pg-time li.is-next .pg-time-dot { background: var(--band); box-shadow: inset 0 0 0 3px var(--line-strong), 0 0 0 5px var(--band); }
.pg-time li.is-now .pg-time-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--orange); animation: pg-pulse 2.4s var(--ease) infinite; }
@keyframes pg-pulse { 0% { transform: scale(0.7); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.pg-time-when { font: 600 13px/1.2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }
.pg-time h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 80, "opsz" 48; font-size: calc(var(--ds) * clamp(20px, 1.6vw, 26px)); line-height: 1.05; }
.pg-time p:not(.pg-time-when) { color: var(--ink-2); line-height: 1.5; }

/* ---------- Before and after ---------- */
.pg-ba { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.pg-ba-side { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 2.8vw, 40px); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
.pg-ba-side.is-after { background: var(--deep-2); color: var(--paper); box-shadow: 0 0 0 2px var(--orange), var(--shadow); --ink-2: #CAD7E2; --muted: #B4C4D3; --accent-ink: #FF8350; }
.pg-ba-k { font: 600 12px/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pg-ba-side.is-after .pg-ba-k { color: var(--accent-ink); }
.pg-ba-side h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 80, "opsz" 48; font-size: calc(var(--ds) * clamp(24px, 2.2vw, 34px)); line-height: 1.02; }
.pg-ba-fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pg-ba-side.is-after .pg-ba-fig { border-color: rgba(243, 246, 249, 0.16); }
.pg-ba-fig strong { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 78, "opsz" 96; font-size: calc(var(--ds) * clamp(44px, 4.4vw, 68px)); line-height: 0.9; }
.pg-ba-side.is-before .pg-ba-fig strong { color: var(--muted); }
.pg-ba-side.is-after .pg-ba-fig strong { color: var(--orange); }
.pg-ba-fig span { color: var(--ink-2); font-weight: 600; }
.pg-ba-side ul { display: grid; gap: 10px; }
.pg-ba-side li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--ink-2); line-height: 1.45; }
.pg-ba-side li::before { content: "\00D7"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); color: var(--muted); font: 700 16px/1 var(--font-body); }
.pg-ba-side.is-after li::before { content: ""; background: var(--orange) center / 12px auto no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='%2310293D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pg-ba-arrow { display: grid; place-items: center; align-self: center; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); }
.pg-ba-arrow svg { width: 26px; height: 26px; fill: none; stroke: var(--on-orange); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- WhatsApp conversation: a chat drawn from text in a phone, beside the copy ---------- */
.pg-chat { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.pg-chat.is-flip .pg-chat-fig { order: -1; }
.pg-chat .pg-head { margin-bottom: 0; }
.pg-chat .pg-checks { margin-top: clamp(24px, 2.6vw, 36px); }
.pg-chat-fig { margin: 0; display: grid; justify-items: center; gap: 16px; }
.pg-chat-fig figcaption { font-size: 14.5px; color: var(--muted); text-align: center; max-width: 36ch; line-height: 1.45; }
.pg-chat-phone { max-width: 340px; }
.pg-chat-screen { display: flex; flex-direction: column; aspect-ratio: auto; min-height: 560px; background: var(--band); }
.pg-chat-head { display: flex; align-items: center; gap: 10px; padding: 34px 16px 12px; background: var(--deep-2); color: var(--paper); }
.pg-chat-av { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--on-orange); font: 800 15px/1 var(--font-body); }
.pg-chat-who { display: grid; gap: 2px; min-width: 0; line-height: 1.2; }
.pg-chat-who strong { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-chat-who span { font-size: 12px; color: #B4C4D3; }
.pg-chat-wa { width: 22px; height: 22px; margin-left: auto; flex: none; fill: var(--wa); }
.pg-chat-log { display: flex; flex-direction: column; gap: 10px; padding: 16px 12px 20px; flex: 1; }
.pg-chat-msg { display: grid; gap: 6px; max-width: 86%; }
.pg-chat-msg.is-business { align-self: flex-start; }
.pg-chat-msg.is-person { align-self: flex-end; justify-items: end; }
.pg-chat-bubble { position: relative; padding: 9px 12px 18px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; box-shadow: 0 1px 1px rgba(16, 41, 61, 0.08); }
.pg-chat-msg.is-business .pg-chat-bubble { background: var(--surface); color: var(--ink); border-top-left-radius: 4px; }
.pg-chat-msg.is-person .pg-chat-bubble { background: var(--bubble-user); color: var(--bubble-user-ink); border-top-right-radius: 4px; }
.pg-chat-time { position: absolute; right: 10px; bottom: 4px; font: 500 10.5px/1 var(--font-mono); opacity: 0.74; }
.pg-chat-replies { display: grid; gap: 4px; }
.pg-chat-replies span { display: block; padding: 8px 12px; border-radius: 10px; background: var(--surface); color: var(--accent-ink); font-size: 14px; font-weight: 700; text-align: center; box-shadow: 0 1px 1px rgba(16, 41, 61, 0.08); }
.rv-on .pg-chat-msg[data-reveal]:not(.in) { transform: translateY(14px); }

/* ---------- Funnel: falling counts, widest first, the result in orange ---------- */
.pg-funnel { display: grid; gap: 10px; max-width: 1100px; }
.pg-funnel li { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 6px clamp(18px, 2.4vw, 36px); align-items: center; }
.pg-funnel-bar { display: grid; place-items: center; justify-self: center; width: calc(var(--w, 1) * 100%); min-height: clamp(64px, 6vw, 88px); border-radius: var(--r-in); background: var(--deep-2); color: var(--paper); transform-origin: center; }
.pg-funnel li:nth-child(2) .pg-funnel-bar { background: var(--indigo); }
.pg-funnel li.is-last .pg-funnel-bar { background: var(--orange); color: var(--on-orange); }
.pg-funnel-bar strong { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 78, "opsz" 96; font-size: calc(var(--ds) * clamp(30px, 3vw, 48px)); line-height: 1; white-space: nowrap; padding: 0 12px; }
.pg-funnel-l { font-weight: 700; line-height: 1.35; font-size: clamp(16px, 1.2vw, 18px); }
.pg-funnel-note { grid-column: 1; justify-self: center; font: 600 12.5px/1.2 var(--font-mono); letter-spacing: 0.04em; color: var(--accent-ink); padding: 4px 0; }
.pg-funnel-note::before { content: "\2193\00A0"; }
.rv-on .pg-funnel li[data-reveal]:not(.in) .pg-funnel-bar { transform: scaleX(0.4); }
.rv-on .pg-funnel li[data-reveal] .pg-funnel-bar { transition: transform 1s var(--ease) calc(var(--rd, 0) * 120ms); }

/* ---------- Blog: listing with a featured article, article with contents and share links, subscribe band ---------- */
.pg-posts > li.is-feature { grid-column: 1 / -1; }
.pg-link-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pg-link-feature .pg-link-img { aspect-ratio: auto; min-height: 100%; }
.pg-link-feature .pg-link-body { justify-content: center; padding: clamp(24px, 3.4vw, 56px); gap: 14px; }
.pg-link-feature h3 { font-size: calc(var(--ds) * clamp(28px, 2.8vw, 44px)); line-height: 1; }
.pg-link-feature p { font-size: clamp(16px, 1.2vw, 18px); }
.pg-link-date { display: block; }
.pg-listing-head { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.pg-listing-avatar { width: clamp(72px, 7vw, 96px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--orange); }
.pg-hero .pg-eyebrow a { color: inherit; text-decoration: none; }
.pg-hero .pg-eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pg-post-title { max-width: 22ch; font-size: calc(var(--ds) * clamp(38px, 5vw, 80px)); }
.pg-hero .pg-meta a { color: inherit; text-decoration: none; }
.pg-hero .pg-meta a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.pg-post { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 760px); justify-content: center; gap: clamp(32px, 4vw, 72px); align-items: start; }
.pg-post .pg-article-in { margin: 0; max-width: 760px; }
.pg-post-side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 28px; }
.pg-toc ol { display: grid; gap: 4px; border-left: 2px solid var(--line); }
.pg-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); font-size: 14.5px; line-height: 1.35; text-decoration: none; }
.pg-toc a:hover { color: var(--ink); }
.pg-toc a[aria-current="true"] { border-left-color: var(--orange); color: var(--ink); font-weight: 700; }
.pg-share ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-share a, .pg-share button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--ink); cursor: pointer; }
.pg-share a:hover, .pg-share button:hover { background: var(--ink); color: var(--page); box-shadow: none; }
.pg-share svg { width: 18px; height: 18px; fill: currentColor; }
.pg-share a:focus-visible, .pg-share button:focus-visible, .pg-toc a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pg-post-tags { margin: clamp(32px, 3.6vw, 48px) 0 0; }
.pg-author-mono { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--deep-2); color: var(--paper); font: 800 28px/1 var(--font-display); }
.pg-author a { color: inherit; text-decoration: none; }
.pg-author a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
/* Articles from the old blog: tame imported spacing and media */
.pg-article .pg-prose h2 { scroll-margin-top: calc(var(--nav-h) + 24px); }
.pg-article .pg-prose figure { margin: 1.4em 0; }
.pg-article .pg-prose iframe, .pg-article .pg-prose video { max-width: 100%; border-radius: var(--r-in); }
.pg-article .pg-prose iframe[src*="youtube"], .pg-article .pg-prose iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.pg-article .pg-prose pre, .pg-article .pg-prose code { font-family: var(--font-mono); font-size: 0.9em; }
.pg-article .pg-prose pre { padding: 16px 18px; border-radius: var(--r-in); background: var(--band); overflow-x: auto; }
.pg-article .pg-prose table { display: block; overflow-x: auto; }
/* Reading progress along the top edge, where the browser supports scroll-driven animation (no script). Wide screens only:
   on phones and tablets a fixed strip at the top edge makes iOS 26 Safari paint its status bar solid */
@supports (animation-timeline: scroll()) {
  @media (min-width: 1024px) {
    .pg-article::before { content: ""; position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 3px; background: var(--orange); transform-origin: 0 50%; animation: pg-progress linear both; animation-timeline: scroll(root); }
  }
  @keyframes pg-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
.pg-sub { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.pg-sub .lede { margin-top: clamp(14px, 1.6vw, 22px); }
/* Always a light card, in dark mode too: the form styles (forms.hubl.css) are written for dark text on a light card */
.pg-sub-form { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r); background: color-mix(in srgb, var(--paper) 35%, #fff); color: var(--deep-2); box-shadow: var(--shadow); }
.pg-sub-form h3:empty, .pg-sub-form .widget-type-blog_subscribe h3 { display: none; }

/* ---------- Office locations: a dotted map with pins, above a card per office ---------- */
.pg-loc { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.pg-map { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.pg-map svg { display: block; width: 100%; height: 100%; }
.pg-map-land { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pg-map pattern circle { fill: var(--muted); opacity: 0.42; }
.pg-pin { position: absolute; width: 0; height: 0; }
.pg-pin-dot { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--surface); }
.pg-pin-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--orange); animation: pg-pulse 2.4s var(--ease) infinite; }
.pg-pin-label { position: absolute; left: 18px; top: -15px; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: var(--page); font: 700 14px/1 var(--font-body); white-space: nowrap; }
.pg-pin.is-left .pg-pin-label { left: auto; right: 18px; }
.pg-offices { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.pg-office { display: flex; flex-direction: column; min-width: 0; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.pg-office-img { flex: none; margin: 0; }
.pg-office-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pg-office-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2vw, 28px); }
.pg-office .pg-eyebrow { margin: 0; }
.pg-office h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 80, "opsz" 48; font-size: calc(var(--ds) * clamp(24px, 2vw, 30px)); line-height: 1.02; }
.pg-office address { display: flex; flex-direction: column; font-style: normal; color: var(--ink-2); line-height: 1.5; }
.pg-office-tel { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: none; }
.pg-office-tel svg { width: 20px; height: 20px; fill: var(--accent-ink); flex: none; }
.pg-office-tel:hover span { text-decoration: underline; text-underline-offset: 3px; }
.pg-office .text-link { margin-top: auto; }
/* Tablets: one card per row, photo beside the text; phones: photo above */
@media (max-width: 1080px) {
  .pg-offices { --cols: 1 !important; }
  .pg-office { flex-direction: row; }
  .pg-office-img { flex: 0 0 38%; }
  .pg-office-img img { height: 100%; aspect-ratio: auto; }
}
@media (max-width: 560px) {
  .pg-office { flex-direction: column; }
  .pg-office-img { flex: none; }
  .pg-office-img img { height: auto; aspect-ratio: 16 / 9; }
  .pg-pin-dot { left: -7px; top: -7px; width: 14px; height: 14px; box-shadow: 0 0 0 3px var(--surface); }
  .pg-pin-label { left: 14px; top: -12px; padding: 5px 8px; font-size: 12px; }
  .pg-pin.is-left .pg-pin-label { right: 14px; }
}

/* ---------- New modules: smaller screens and reduced motion ---------- */
@media (max-width: 1080px) {
  .pg-post { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pg-post-side { position: static; order: 2; margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
  .pg-post .pg-article-in { margin: 0 auto; }
  .pg-toc { display: none; }
  .pg-flow { --n: 2 !important; }
  .pg-flow-col:nth-child(odd)::before { display: none; }
  .pg-time { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .pg-rings { --cols: 2 !important; }
}
@media (max-width: 860px) {
  .pg-hero-logo img { height: calc(var(--logo-h, 56px) * 0.82); }
  .pg-hero-device { margin-top: 8px; }
  .pg-hero-device .pg-hero-stat { margin: -40px 0 0 12px; }
  .pg-hero-device.is-phone .pg-hero-stat { position: relative; left: auto; bottom: auto; margin: -64px 0 0 0; justify-self: center; }
  .pg-show.is-stage { grid-template-columns: minmax(0, 1fr); }
  .pg-show.is-stage > * { grid-column: 1 / -1 !important; grid-row: auto !important; margin-bottom: 0 !important; }
  .pg-show.is-stage > :first-child figcaption { max-width: none; }
  .pg-show.is-stage > :nth-child(2) figcaption { background: none; box-shadow: none; padding: 0; color: var(--muted); }
  .pg-show.is-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-show .pg-phone { max-width: 260px; }
  .pg-flow { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .pg-flow-col:nth-child(odd)::before { display: block; }
  .pg-flow-col + .pg-flow-col::before { top: -44px; left: 50%; margin: 0 0 0 -18px; transform: rotate(90deg); }
  .pg-compare { grid-template-columns: minmax(0, 1fr); }
  .pg-ba { grid-template-columns: minmax(0, 1fr); }
  .pg-ba-arrow { justify-self: center; transform: rotate(90deg); width: 48px; height: 48px; }
  .pg-chat { grid-template-columns: minmax(0, 1fr); }
  .pg-link-feature { grid-template-columns: minmax(0, 1fr); }
  .pg-link-feature .pg-link-img { aspect-ratio: 16 / 9; min-height: 0; }
  .pg-sub { grid-template-columns: minmax(0, 1fr); }
  .pg-listing-head { align-items: flex-start; flex-direction: column; }
  .pg-chat.is-flip .pg-chat-fig { order: 0; }
  .pg-funnel li { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .pg-funnel-l { justify-self: center; }
}
@media (max-width: 620px) {
  .pg-time { grid-template-columns: minmax(0, 1fr); row-gap: 0; border-left: 3px solid var(--orange); margin-left: 8px; }
  .pg-time li, .pg-time li.is-now, .pg-time li.is-next { border-top: 0; border-image: none; padding: 0 0 28px 26px; }
  .pg-time-dot { top: 0; left: -11px; }
  .pg-rings { --cols: 2 !important; gap: 28px 12px; }
  .pg-ring { width: min(140px, 38vw); }
  .pg-ring .nums-n { font-size: calc(var(--ds) * 28px); }
  .pg-browser-bar { height: 30px; }
  .pg-browser-url { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-article::before { display: none; }
  .pg-browser.is-tall .pg-browser-screen img, .pg-phone.is-tall .pg-phone-screen img { transition: none; }
  .pg-browser.is-tall:hover .pg-browser-screen img, .pg-phone.is-tall:hover .pg-phone-screen img { object-position: top center; }
  .pg-time li.is-now .pg-time-dot::after { animation: none; opacity: 0.6; transform: scale(1.3); }
  .pg-pin-dot::after { animation: none; opacity: 0; }
}
