/*
 * Product page (product.html). Loads after styles.css and uses only its tokens; every page class is prefixed pp- so
 * nothing leaks into the app. One message per band: sources flow into one portfolio (hero), three things it shows, an AI
 * that explains it, and the same portfolio flowing out to the AI apps people already use. The pastel timeline colours
 * appear only in the Ask Invix illustration, as in the app. All figures on the page are samples.
 */
.pp {
  --card: var(--surface-card); --strong: var(--surface-strong);
  --s1: var(--slice-1); --s3: var(--slice-3);
  --s3b: color-mix(in srgb, var(--slice-3) 70%, var(--surface-card)); --s3c: color-mix(in srgb, var(--slice-3) 40%, var(--surface-card));
  --bench: var(--chart-verified-bench);
  --t-read: var(--timeline-read); --t-grep: var(--timeline-grep); --t-think: var(--timeline-thinking); --t-done: var(--timeline-done);
}
html { scroll-behavior: smooth }
.pp main { flex: 1 }
/* Undo styles.css's heading and paragraph margins at zero specificity, so the page's own classes always win. */
:where(.pp main) :where(h1, h2, h3) { margin: 0; font-weight: 400; text-wrap: balance }
:where(.pp main) :where(p, ul) { margin: 0 }
.pp-num { font-variant-numeric: tabular-nums }

/* top bar: the public pages' header (its links and buttons are in styles.css, shared with Manager Portfolios) */
/* The bar's row sits on the page's content column, so the logo and the theme toggle line up with the edges of the sections and the app window below. */
.pp .top-inner { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)) }
.pp a.btn { color: var(--on-primary) }
.pp a.btn.secondary { color: var(--ink) }
.pp-num { font-variant-numeric: tabular-nums }

.pp-wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)) }
.pp-eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: .9px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px }
.pp-display { font-size: 44px; line-height: 1.12; letter-spacing: -1.1px }
.pp-lede { font-size: 18px; color: var(--body); max-width: 600px; margin-top: 16px }
.pp-section { padding-block: 96px; border-top: 1px solid var(--hairline); scroll-margin-top: 64px }
.pp-head { max-width: 680px; margin-bottom: 48px }
/* calls to action: the primary button, then a quieter text link */
.pp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px }
.pp-cta-link { font-size: 14px; font-weight: 500; color: var(--ink) }
.pp-cta-link:hover { color: var(--body) }


/* hero: the message, left-aligned, then the stage the app's windows stand on (home-hero.js fills it) */
.pp-hero { padding-block: 88px 48px }
.pp-hero h1 { font-size: 56px; line-height: 1.05; letter-spacing: -1.8px; max-width: 760px }
.pp-hero .pp-lede { font-size: 19px; color: var(--muted); max-width: 560px }
.pp-hero .pp-cta { margin-top: 28px }
.pp-hero .btn.secondary { background: var(--surface-card) }
/* On load the hero eases in. The headline, subheading and buttons each come into focus in turn (from a light blur,
   transparent and a few pixels low), then the app window rises into place as one piece, frame, contents and shadow
   together, on a long ease-out. Only the start is held (fill backwards), so nothing stays set once the reveal ends. */
.pp-hero h1, .pp-hero .pp-lede, .pp-hero .pp-cta { animation: hero-in 1.1s cubic-bezier(.16, 1, .3, 1) backwards }
.pp-hero h1 { animation-delay: .15s }
.pp-hero .pp-lede { animation-delay: .3s }
.pp-hero .pp-cta { animation-delay: .45s }
@keyframes hero-in { from { opacity: 0; filter: blur(4px); transform: translateY(8px) } }
.pp-app { animation: hero-app 1.6s cubic-bezier(.16, 1, .3, 1) .6s backwards }
@keyframes hero-app { from { opacity: 0; transform: translateY(24px) scale(.985) } }
@media (prefers-reduced-motion: reduce) { .pp-hero h1, .pp-hero .pp-lede, .pp-hero .pp-cta, .pp-app { animation: none } }
/* The stage the window stands on: a full-width band whose lower part takes a soft aurora (blurred blue, violet and
   orange patches from the chart palette), so the window stands out from the page. It fades in after the window. */
.pp-stage { position: relative; isolation: isolate; overflow: hidden }
.pp-stage > .pp-wrap { position: relative; z-index: 1 }
.pp-stage::before {
  content: ""; position: absolute; inset: 25% 0 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 60% at 18% 72%, color-mix(in srgb, var(--slice-1) 34%, transparent), transparent 70%),
    radial-gradient(42% 60% at 50% 88%, color-mix(in srgb, var(--slice-3) 30%, transparent), transparent 70%),
    radial-gradient(40% 60% at 82% 70%, color-mix(in srgb, var(--primary) 30%, transparent), transparent 70%);
  filter: blur(28px);
  animation: hero-bg 2s cubic-bezier(.16, 1, .3, 1) .8s backwards;
}
@keyframes hero-bg { from { opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .pp-stage::before { animation: none } }
/* the app itself: one wide window of the real app on the page, as signed in, every analytics tab live */
.pp-app {
  --tour-shadow: 0 1px 2px rgb(38 37 30 / .06), 0 10px 24px -8px rgb(38 37 30 / .16), 0 28px 56px -20px rgb(38 37 30 / .22);
  --tour-shadow-front: 0 1px 2px rgb(38 37 30 / .06), 0 24px 48px -16px rgb(38 37 30 / .2), 0 64px 120px -40px rgb(38 37 30 / .32);
  margin-bottom: 112px; box-shadow: var(--tour-shadow-front);
}
/* no solid border on the hero window: the shadow alone sets it off the page (tour.css's .tour-app draws one) */
.tour-app.pp-app { border: 0 }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pp-app {
    --tour-shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 28px -8px rgb(0 0 0 / .5), 0 28px 56px -20px rgb(0 0 0 / .6);
    --tour-shadow-front: 0 1px 2px rgb(0 0 0 / .45), 0 24px 48px -16px rgb(0 0 0 / .6), 0 64px 120px -40px rgb(0 0 0 / .75);
  }
}
:root[data-theme="dark"] .pp-app {
  --tour-shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 28px -8px rgb(0 0 0 / .5), 0 28px 56px -20px rgb(0 0 0 / .6);
  --tour-shadow-front: 0 1px 2px rgb(0 0 0 / .45), 0 24px 48px -16px rgb(0 0 0 / .6), 0 64px 120px -40px rgb(0 0 0 / .75);
}
.pp-app.tour-wide .tour-shell { height: 720px }
.pp-app.tour-wide .tour-screen { padding: 24px 28px; scrollbar-width: thin }
.pp-app .tour-side { width: 200px }
.pp-app [data-panel] { animation: view-in .3s cubic-bezier(.2, .8, .2, 1) both }
@media (prefers-reduced-motion: reduce) { .pp-app [data-panel] { animation: none } }
/* tour.css drops the margin of a card that ends its wrapper; Income wraps its summary card, so it keeps the app's gap. */
.pp-app #income-summary > .card:last-child { margin-bottom: var(--s-base) }
/* The top bar's Ask button opens the Ask Invix pane, docked to the right of the page inside the window. */
.pp-app button.tour-ask-btn { height: 32px; margin: 0; padding: 0 10px; background: transparent; border: 1px solid transparent; border-radius: var(--r-md); color: var(--ink); font: inherit; cursor: pointer }
.pp-app button.tour-ask-btn:hover, .pp-app button.tour-ask-btn[aria-expanded="true"] { background: var(--hairline-soft) }
/* the top bar's bell: Alerts' way in where the side nav is hidden (a phone), its unread count a dot */
.pp-app button.tour-bell { display: none; position: relative; place-items: center; width: 32px; height: 32px; margin: 0; padding: 0; background: transparent; border: 1px solid transparent; border-radius: var(--r-md); color: var(--ink); cursor: pointer }
.pp-app button.tour-bell:hover, .pp-app button.tour-bell[aria-expanded="true"] { background: var(--hairline-soft) }
.pp-app .tour-bell .side-count { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; padding: 0; border-radius: 50%; border: 2px solid var(--canvas-soft); background: var(--primary); font-size: 0 }
@media (max-width: 760px) { .pp-app button.tour-bell { display: grid } }
.pp-app .tour-shell { position: relative }
.pp-app .ask-pane { position: relative; inset: auto; z-index: auto; flex: none; width: 340px; min-height: 0; border-left: 1px solid var(--hairline) }
.pp-app .ask-pane .tour-head-ic { flex: none }
/* the Alerts drawer, docked the same way */
.pp-app .alerts-pane { position: relative; flex: none; width: 360px; min-height: 0; overflow: hidden; background: var(--surface-card); border-left: 1px solid var(--hairline) }
/* a narrower window keeps its room for the page: the side nav folds to its icons, as the app's collapsed one */
/* with Ask or Alerts open, the side nav folds to its icons as well, so the page keeps its width beside the pane */
.pp-app.pane-open .tour-side { width: 52px }
.pp-app.pane-open .tour-side .side-group, .pp-app.pane-open .tour-side .side-item > span:not(.side-count) { display: none }
.pp-app.pane-open .tour-side .side-item { justify-content: center; padding: 0 }
/* folded, the unread count is a dot on the bell, as in the app */
.pp-app.pane-open .tour-side .side-count { position: absolute; top: 7px; left: 21px; min-width: 0; width: 9px; height: 9px; padding: 0; border: 2px solid var(--canvas-soft); box-sizing: content-box; font-size: 0 }
@media (max-width: 1024px) {
  .pp-app .tour-side { width: 52px }
  .pp-app .tour-side .side-group, .pp-app .tour-side .side-item > span:not(.side-count) { display: none }
  .pp-app .tour-side .side-item { justify-content: center; padding: 0 }
  .pp-app .tour-side .side-count { position: absolute; top: 7px; left: 21px; min-width: 0; width: 9px; height: 9px; padding: 0; border: 2px solid var(--canvas-soft); box-sizing: content-box; font-size: 0 }
  /* the Ask pane lies over the page, as the app's overlay layout */
  .pp-app .ask-pane, .pp-app .alerts-pane { position: absolute; top: 0; right: 0; bottom: 0; z-index: 2; box-shadow: -12px 0 32px rgba(0, 0, 0, .18) }
}

/* three jobs */
.pp-jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px }
/* Each card shares the row grid (title, text, visual), so the dividers line up whatever the text length. */
.pp-job { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-xl); padding: 24px; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 18px; align-content: start }
.pp-job h3 { font-size: 22px; letter-spacing: -.3px }
.pp-job p { font-size: 15px }
.pp-viz { padding-top: 18px; border-top: 1px solid var(--hairline-soft) }
.pp-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); margin-bottom: 10px }
.pp-legend b { font-weight: 600 }
.pp-legend .pp-sw { display: inline-block; width: 12px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; background: var(--c) }
.pp-legend .pp-sw-dash { height: 2px; border-radius: 0; background: repeating-linear-gradient(90deg, var(--c) 0 4px, transparent 4px 7px) }
.pp-perf { display: block; width: 100%; height: 130px }
.pp-perf .pp-g { stroke: var(--hairline); stroke-width: 1; vector-effect: non-scaling-stroke }
.pp-perf .pp-b { fill: none; stroke: var(--bench); stroke-width: 1.6; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke }
.pp-perf .pp-p { fill: none; stroke: var(--chart-return); stroke-width: 2.2; stroke-linejoin: round; vector-effect: non-scaling-stroke }
.pp-ranges { display: inline-flex; gap: 2px; padding: 2px; background: var(--hairline-soft); border-radius: 99px; margin-bottom: 14px }
.pp-ranges button { all: unset; cursor: pointer; font-size: 12.5px; font-weight: 500; color: var(--muted); padding: 4px 12px; border-radius: 99px }
.pp-ranges button:hover { color: var(--ink) }
.pp-ranges button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--hairline-strong) }
.pp-ranges button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px }
.pp-perf .pp-p, .pp-perf .pp-b { transition: opacity .2s }
.pp-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted-soft); margin-top: 6px }
.pp-big { font-size: 40px; letter-spacing: -1.2px; color: var(--ink); line-height: 1 }
.pp-big small { font-size: 14px; letter-spacing: 0; color: var(--muted); margin-left: 6px }
.pp-stack { display: flex; height: 14px; border-radius: 4px; overflow: hidden; gap: 2px; margin: 14px 0 12px }
.pp-stack i { display: block; height: 100%; background: var(--c) }
.pp-keys { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 13px }
.pp-keys span:nth-child(odd)::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; background: var(--c) }
.pp-keys span:nth-child(even) { text-align: right; color: var(--ink) }

/* Income chart */
.pp-inc { display: block; width: 100%; height: auto; overflow: visible }
.pp-inc .pp-d { fill: var(--s1) } .pp-inc .pp-i { fill: var(--success) } .pp-inc .pp-w { fill: var(--muted-soft) }
.pp-inc .pp-g { stroke: var(--hairline); stroke-width: 1 } .pp-inc .pp-z { stroke: var(--hairline-strong); stroke-width: 1 }
.pp-inc text { font: 11px var(--font-sans); fill: var(--muted); text-anchor: middle }
.pp-inc text.pp-yl { text-anchor: start; fill: var(--muted-soft) }
.pp-inc-legend { margin-top: 12px }
.pp-legend .pp-sq { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; background: var(--c) }

/* Ask Invix */
.pp-ask { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start }
.pp-qs { display: flex; flex-direction: column; gap: 8px; margin-top: 32px }
.pp-qs button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--hairline-strong); border-radius: var(--r-md); background: var(--card); color: var(--ink); font-size: 15px; transition: border-color .15s, background .15s }
.pp-qs button::after { content: "→"; margin-left: auto; color: var(--muted-soft) }
.pp-qs button:hover { border-color: var(--ink) }
.pp-qs button[aria-pressed="true"] { background: var(--ink); color: var(--canvas); border-color: var(--ink) }
.pp-qs button[aria-pressed="true"]::after { color: var(--canvas) }
.pp-qs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px }
.pp-chat { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-xl); overflow: hidden }
.pp-chat-bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--hairline); font-size: 14px; font-weight: 600; color: var(--ink) }
.pp-chat-bar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.pp-chat-bar .pp-bot { color: var(--primary) }
.pp-chat-bar .pp-bot .fill { fill: currentColor; stroke: none }
.pp-chat-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; min-height: 330px }
/* the pane's composer, as in the app: the portfolio it asks about, then the prompt */
.pp-compose { display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--hairline-strong); border-radius: var(--r-md); color: var(--muted-soft); font-size: 14px }
.pp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid var(--hairline); border-radius: var(--r-pill); color: var(--body); font-size: 12px; white-space: nowrap }
.pp-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success) }
.pp-bubble { align-self: flex-end; max-width: 85%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--hairline-soft); color: var(--ink); font-size: 15px }
.pp-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted) }
.pp-steps li { display: flex; align-items: center; gap: 10px }
.pp-steps i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--c) }
.pp-answer { font-size: 15px; color: var(--body); display: flex; flex-direction: column; gap: 10px }
.pp-answer .pp-lnk { font-size: 14px; font-weight: 500; color: var(--ink) }
.pp-chat-body.pp-play > * { animation: rise .45s ease-out both }
.pp-chat-body.pp-play .pp-steps li { animation: rise .35s ease-out both }
.pp-chat-body.pp-play .pp-steps li:nth-child(2) { animation-delay: .25s } .pp-chat-body.pp-play .pp-steps li:nth-child(3) { animation-delay: .5s }
.pp-chat-body.pp-play .pp-answer { animation-delay: .8s }
@keyframes rise { from { opacity: 0; transform: translateY(6px) } }

/* Connect */
.pp-connect { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center }
.pp-trust { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px }
.pp-trust li { display: flex; gap: 10px; align-items: flex-start }
.pp-trust svg { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: none; stroke: var(--success); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }

/* The MCP card: the server address, Invix in the middle with wires fanning out to the AI apps.
   product.js draws the wires to the rows' real positions and runs the dots; without it the card still reads, minus wires. */
.pp-mcp { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-xl); overflow: hidden }
.pp-mcp-head { padding: 16px 22px; border-bottom: 1px solid var(--hairline) }
.pp-mcp-head code { font-size: 13px; color: var(--ink); background: none; padding: 0; border: 0 }
.pp-mcp-body { position: relative; display: flex; justify-content: flex-end; padding: 36px 22px }
.pp-mcp-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none }
.pp-mcp-wires path { fill: none; stroke: var(--hairline-strong); stroke-width: 1.25 }
.pp-mcp-wires circle { fill: var(--primary) }
.pp-mcp-hub { position: absolute; left: 18%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--hairline-strong); background: var(--card); display: grid; place-items: center }
.pp-mcp-hub svg { width: 24px; height: 24px; fill: var(--ink) }
.pp-mcp-apps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: max-content; gap: 10px; align-items: center }
.pp-mcp-app { display: contents }
.pp-mcp-pill { justify-self: start; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--hairline); border-radius: var(--r-pill); background: var(--card); font-size: 15px; color: var(--ink); white-space: nowrap; transition: border-color .5s ease }
.pp-mcp-logo { display: grid; place-items: center; width: 20px; height: 20px; color: var(--ink) }
.pp-mcp-logo svg { width: 20px; height: 20px; fill: currentColor }
.pp-mcp-logo .pp-mcp-plus { fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round }
.pp-mcp-claude { color: #d97757 }
.pp-mcp-gemini { color: #4285f4 }
.pp-mcp-app.hit .pp-mcp-pill { border-color: var(--ink); transition-duration: .15s }

/* close */
.pp-close { text-align: center; padding-block: 104px }
.pp-close .pp-display { max-width: 720px; margin: 0 auto }
.pp-close .pp-cta { justify-content: center }

/* Public footer: the full disclaimer is one of the four links. */
.pp-footer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: var(--s-lg); padding-block: var(--s-lg) }
.pp-footer .brand { gap: 7px; font-size: 16px; font-weight: 650; letter-spacing: -.5px }
.pp-footer .brand small { color: var(--body); font-size: 12px; font-weight: 400; letter-spacing: normal }
.pp-footer .brand-logo { width: 22px; height: 22px }
.pp-footer .foot-links { justify-content: flex-end; gap: 0 18px }
.pp-footer a { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; font-weight: 500; color: var(--ink) }
.pp-footer a:hover { color: var(--body) }
.pp-footer .foot-social { display: flex; gap: 4px; margin-right: -8px }
.pp-footer .foot-social a { justify-content: center; min-width: 32px; color: var(--body) }
.pp-footer .foot-social a:hover { color: var(--ink) }
.pp-footer .foot-social svg { width: 18px; height: 18px; fill: currentColor }
@media (max-width: 640px) {
  .pp-footer { grid-template-columns: 1fr; row-gap: 10px }
  .pp-footer .foot-links { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 var(--s-sm) }
  .pp-footer a { min-height: 44px }
  .pp-footer .foot-social { margin: 0 0 0 -12px }
  .pp-footer .foot-social a { min-width: 44px }
}
@media (pointer: coarse) {
  .pp-footer a { min-height: 44px }
}

@media (max-width: 960px) {
  .pp-ask, .pp-connect { grid-template-columns: minmax(0, 1fr); gap: 40px }
  .pp-jobs { grid-template-columns: minmax(0, 1fr); max-width: 560px }
  .pp-hero h1 { font-size: 48px; letter-spacing: -1.4px }
}
@media (max-width: 640px) {
  :root { --gutter: 16px }
  .top-inner { gap: var(--s-sm) }
  .pp-hero { padding-block: 48px 32px }
  .pp-hero h1 { font-size: 38px; letter-spacing: -1px }
  .pp-hero .pp-lede { font-size: 16px }
  .pp-app { margin-bottom: 64px }
  .pp-app.tour-wide .tour-shell { height: 640px }
  .pp-app.tour-wide .tour-screen { padding: 12px }
  .pp-app .ask-pane, .pp-app .alerts-pane { left: 0; width: auto; border-left: 0; box-shadow: none }
  .pp-display { font-size: 32px; letter-spacing: -.7px }
  .pp-lede { font-size: 16px }
  .pp-section { padding-block: 64px }
  .pp-head { margin-bottom: 32px }
  .pp-mcp-head { padding-inline: 16px }
  .pp-mcp-apps { gap: 8px }
  .pp-mcp-body { padding: 28px 16px }
  .pp-mcp-hub { left: 18%; width: 46px; height: 46px }
  .pp-mcp-hub svg { width: 20px; height: 20px }
  .pp-mcp-pill { height: 38px; font-size: 14px; padding: 0 14px 0 10px; gap: 8px }
  .pp-close { padding-block: 72px }
}
/* The footer's theme toggle stands in for the header's on phones, where the header has no room for it. */
.pp-footer .foot-theme { display: none }
/* a phone: Product, Pricing, Sign in and Sign up share one row; the theme toggle moves to the footer */
@media (max-width: 480px) {
  .pp-top-actions #theme-toggle { display: none }
  .pp-footer .foot-theme { display: inline-flex; justify-self: start; margin-left: -8px }
  .top-inner { gap: var(--s-xs) }
}
/* the smallest phones: the row needs the bar's right gutter to fit */
@media (max-width: 374px) {
  .pp .top-inner { padding-right: var(--s-sm) }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important }
}
