/* Shared base of the blog page and article template (blog templates option 6, approved 26-27 Nov 2026).
   From the design kit's shared/base.css: the fonts and tokens unchanged; the resets scoped to the page
   body (main.hy, main.h6), because the site's own header and footer sit on the same page. The kit's
   copy of the header and footer (.pp-hd, .pp-ft) is not used: the site serves its real ones. */
@font-face { font-family: 'UniversalSans'; src: url('/app/fonts/Universal-Sans-Display-344.ttf') format('truetype'); font-weight: 300 700; font-display: swap; }

:root {
  /* GTM workspace tokens */
  --pp-purple: #7c5dff; --pp-lilac: #a956ff; --pp-blue: #3766fe;
  --pp-violet: #7f00be; --pp-azure: #1877f2; --pp-cornflower: #698fff;
  --pp-teal: #00bdc5; --pp-teal-text: #068a91; --pp-rubine: #ee2b62; --pp-amber: #f59e0b;
  --pp-navy: #17142b; --pp-tolopea: #220646;
  --pp-grad: linear-gradient(135deg, #a956ff 0%, #7c5dff 50%, #3766fe 100%);
  --pp-grad-h: linear-gradient(90deg, #a956ff 0%, #7c5dff 50%, #3766fe 100%);
  --pp-bg: #f6f5fb; --pp-panel: #ffffff; --pp-ink: #0f1424; --pp-body: #4b5563;
  --pp-muted: #6b7280; --pp-border: #ecebf5; --pp-hover: #f2f0fb;
  --pp-radius: 22px; --pp-radius-sm: 14px;
  --pp-shadow: 0 10px 30px rgba(76, 52, 255, .07);
  --pp-shadow-lift: 0 18px 44px rgba(76, 52, 255, .16);
  --pp-display: 'UniversalSans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --pp-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* dark surfaces, for dark designs or sections */
  --pp-d-bg: #0b0817; --pp-d-panel: #141026; --pp-d-ink: #f4f2fb; --pp-d-body: #c4bfd6;
  --pp-d-muted: #a49dba; --pp-d-border: #241d3d;
}

:where(main.hy, main.h6), :where(main.hy, main.h6) *, :where(main.hy, main.h6) *::before, :where(main.hy, main.h6) *::after { box-sizing: border-box; }
/* The site's base CSS (theme.css, from Webflow) restyles bare elements; the design was built on the
   browser's defaults, so inside the page body those are restored. :where() keeps every rule here as
   weak as the design kit's own bare-element rules, so the design's class rules always win. */
:where(main.hy, main.h6) :where(h1, h2, h3, h4, h5, h6) { margin: revert; font-size: revert; font-weight: revert; line-height: revert; }
:where(main.hy, main.h6) :where(p, figure, ul, ol, dl, dd) { margin: revert; padding: revert; }
:where(main.hy, main.h6) blockquote { border: revert; margin: revert; padding: revert; font-size: revert; line-height: revert; }
:where(main.hy, main.h6) label { display: revert; margin: revert; font-weight: revert; }
:where(main.hy, main.h6) { display: block; margin: 0; color: var(--pp-body); font-family: var(--pp-text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
:where(main.hy, main.h6) img { display: block; max-width: 100%; }
:where(main.hy, main.h6) a { color: inherit; }
:where(main.hy, main.h6) :where(h1, h2, h3, h4) { text-wrap: balance; }
:where(main.hy, main.h6) :where(p, li, figcaption, blockquote, summary) { text-wrap: pretty; }
.pp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { :where(main.hy, main.h6) *, :where(main.hy, main.h6) *::before, :where(main.hy, main.h6) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* the newsletter boxes' status line (src/lib/blog/hybrid/newsletter.ts) */
.hy-nl-msg, .h6-nl-msg { margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.hy-nl-msg:empty, .h6-nl-msg:empty { display: none; }
.hy-nl-msg.is-ok, .h6-nl-msg.is-ok { color: #118552; }
.hy-nl-msg.is-err, .h6-nl-msg.is-err { color: #c81f4f; }
body:has(:is(#hy-mode, #h6-mode):checked) :is(.hy-nl-msg, .h6-nl-msg).is-ok { color: #6ee7a8; }
body:has(:is(#hy-mode, #h6-mode):checked) :is(.hy-nl-msg, .h6-nl-msg).is-err { color: #ff9dbb; }

/* the short answer (AEO) under the lead, in the reading column */
.h6-ans { margin: 0 0 28px; padding: 18px 22px; border-radius: 16px; background: var(--h6-ans-bg, #f6f3ff); border: 1px solid var(--h6-ans-line, #e5ddff); color: var(--pp-ink); font-size: 16.5px; line-height: 1.65; }
.h6-ans-k { display: block; margin: 0 0 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #5b3fe6; }
body:has(#h6-mode:checked) .h6-ans { --h6-ans-bg: rgba(124, 93, 255, .12); --h6-ans-line: rgba(124, 93, 255, .3); color: #f4f2fb; }
body:has(#h6-mode:checked) .h6-ans-k { color: #c4b6ff; }
