/* pl-public.css — the shared public-site system (visual pass, public lane P0, 2026-10-06).
   Canon: PL-design/pl-public-site-look-2026-10-06.html section 1. One stylesheet every public
   page (landing, benchmarks, features, pricing, guides, help, legal, 404, sign) inherits:
   tokens, type scale, buttons 40/36/32, cards, the shared header + footer (public-chrome.js
   injects the markup), hero, how-it-works, FAQ, CTA band, prose. Everything is prefixed `pub-`
   (or `pl-pub-` for the chrome) so a page that only adopts the header + footer is otherwise
   untouched.
   Tokens are ALIASES of pl-system.css's v2 set (--pl-ground, --pl-ink-1, --pl-accent ...): this
   file never redefines a system token. The one public-only value is the filled-button colour:
   white on the product accent #5583C3 is 3.87:1, so public buttons use #4672B0 (4.89:1), the
   same hue one step deeper; dark keeps #7FA6DA with dark text (7.4:1).
   Light + dark: dark follows the device (prefers-color-scheme) and the app's own
   invgen:theme choice (<html data-theme>), exactly like pl-system.css. Screen only. */

:root {
  --pub-g: var(--pl-ground, #F7FAFD);
  --pub-pp: #FFFFFF;
  --pub-i1: var(--pl-ink-1, #14171C);
  --pub-i2: var(--pl-ink-2, #5B626C);
  --pub-i3: var(--pl-ink-3, #6B7380);
  --pub-hair: var(--pl-hair, #E7ECF3);
  --pub-ln: var(--pl-line, #ECF0F5);
  --pub-ac: var(--pl-accent, #5583C3);
  --pub-aci: var(--pl-accent-ink, #3E68A3);
  --pub-act: var(--pl-accent-tint, #EDF3FB);
  --pub-act-bd: var(--pl-accent-bd, #DCE8F7);
  --pub-btn: #4672B0;
  /* Form-field outline: the hairline (1.2:1) does not identify a control; this one is >= 3:1 on
     paper, ground and the washed bands in light and dark (WCAG 1.4.11). */
  --pub-field-bd: #7F8896;
  --pub-btnh: #3E68A3;
  --pub-onbtn: #FFFFFF;
  --pub-gi: var(--pl-paid-ink, #457328);
  --pub-gbg: var(--pl-paid-tint, #EAF3E4);
  --pub-ai: var(--pl-owed-ink, #7A6118);
  --pub-abg: var(--pl-owed-tint, #FBF4DC);
  --pub-ri: var(--pl-red-ink, #B03535);
  --pub-rbg: var(--pl-red-tint, #FBE9EA);
  --pub-disp: var(--pl-display, "Host Grotesk", "Golos Text", system-ui, sans-serif);
  --pub-body: var(--pl-body, "Golos Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif);
  --pub-sh: var(--pl-shadow-card, 0 12px 26px -22px rgba(20, 23, 28, 0.4));
  /* FULL-SCREEN LAYOUT (owner 2026-10-07: "every page should be full screen... way too much
     negative space on the left and right"). One container width and one fluid gutter for every
     public page: content grows with the screen up to --pub-max, the gutter grows from 16px on a
     phone to 72px on a wide monitor. Prose keeps its own reading measure (--pub-measure); bands,
     cards, tables and mocks use the whole width. */
  --pub-max: 1600px;
  --pub-pad: clamp(16px, 4vw, 72px);
  --pub-measure: 78ch;
  --pub-sec: 96px;
  --pub-gap: 20px;
}
:root[data-theme="dark"] { --pub-field-bd: #67727F; --pub-pp: #161B23; --pub-btn: #7FA6DA; --pub-btnh: #9DBDE8; --pub-onbtn: #0F131A; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --pub-field-bd: #67727F; --pub-pp: #161B23; --pub-btn: #7FA6DA; --pub-btnh: #9DBDE8; --pub-onbtn: #0F131A; }
}
@media (max-width: 760px) { :root { --pub-sec: 72px; } }
@media (max-width: 480px) { :root { --pub-pad: 16px; --pub-sec: 56px; --pub-gap: 14px; } }

/* ---------- line breaks, every page that loads this sheet (owner 2026-10-07: no one-word last line) ----------
   The .pl-pub rules below only reach pages that opt in with the body class; no page does, so the 404
   and the policies had no balance at all. Headings balance, running text is pretty, and the short
   blocks that pretty cannot rescue (a two-line orphan) balance. LONGHAND text-wrap-style only, so
   nothing here can undo a white-space: nowrap. Pages with their own tuned wraps keep them: a page's
   own rule has equal specificity and loads first, so this only fills the gaps. */
@media screen {
  h1, h2, h3, h4, h5, h6 { text-wrap-style: balance; }
  p, li, dd, blockquote { text-wrap-style: pretty; }
  small, figcaption, .lede { text-wrap-style: pretty; }
  /* design fix A (2026-10-08): the sample documents shown on public pages stay PAPER, and tables keep
     their own cell wrapping: the rules above never reach inside them. */
  :where(.inv-paper, .mini-doc, .memo, .pfile, table) :is(h1, h2, h3, h4, h5, h6, p, li, dd, blockquote, small, figcaption, .lede) { text-wrap-style: auto; }
}

/* ---------- page base (only on pages that opt in with <body class="pl-pub">) ---------- */
.pl-pub { margin: 0; background: var(--pub-g); color: var(--pub-i1); font: 16px/1.6 var(--pub-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.pl-pub *, .pl-pub *::before, .pl-pub *::after { box-sizing: border-box; }
.pl-pub button { font-family: inherit; cursor: pointer; }
.pl-pub h1, .pl-pub h2, .pl-pub h3, .pl-pub h4 { font-family: var(--pub-disp); font-weight: 600; letter-spacing: -.02em; margin: 0; color: var(--pub-i1); }
.pl-pub h1, .pl-pub h2, .pl-pub h3, .pl-pub h4, .pl-pub h5, .pl-pub h6 { text-wrap-style: balance; }
.pl-pub p, .pl-pub li { text-wrap-style: pretty; }
.pl-pub p { margin: 0; }
.pl-pub a { color: var(--pub-aci); }
.pl-pub img { max-width: 100%; height: auto; display: block; }
.pub-skip { position: absolute; left: -9999px; top: 0; }
.pub-skip:focus { left: 16px; top: 16px; z-index: 1000; background: var(--pub-pp); color: var(--pub-i1); padding: 10px 14px; border-radius: 10px; border: 1px solid var(--pub-hair); }

/* ---------- type scale ---------- */
.pub-h1 { font-size: 56px; line-height: 1.04; }
.pub-h2 { font-size: 38px; line-height: 1.1; }
.pub-h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
.pub-h3b { font-size: 30px; line-height: 1.12; }
.pub-lead { font-size: 19px; line-height: 1.55; color: var(--pub-i2); }
.pub-sm { font-size: 14px; line-height: 1.55; color: var(--pub-i2); }
.pub-eb { font: 600 12px/1.4 var(--pub-body); letter-spacing: .12em; text-transform: uppercase; color: var(--pub-aci); }
@media (max-width: 760px) { .pub-h1 { font-size: 42px; } .pub-h2 { font-size: 32px; } .pub-h3b { font-size: 26px; } }
@media (max-width: 480px) { .pub-h1 { font-size: 34px; } .pub-h2 { font-size: 28px; } .pub-lead { font-size: 17px; } }

/* ---------- layout ---------- */
.pub-w { max-width: var(--pub-max); margin: 0 auto; padding: 0 var(--pub-pad); }
.pub-w.nar { max-width: 760px; }
.pub-sec { padding: var(--pub-sec) 0; }
.pub-sec.alt { background: var(--pub-pp); border-top: 1px solid var(--pub-hair); border-bottom: 1px solid var(--pub-hair); }
.pub-sec.tight { padding: calc(var(--pub-sec) * .6) 0; }
.pub-sec.nb { padding-bottom: 0; }
.pub-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 40px; }
.pub-head.c { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
@media (max-width: 480px) { .pub-head { margin-bottom: 28px; } }
.pub-stack { display: flex; flex-direction: column; gap: 16px; }
.pub-stack > .pub-eb, .pub-stack > .pub-pill { align-self: flex-start; }
.pub-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pub-row.c { justify-content: center; }
@media (max-width: 480px) { .pub-row.stackm { flex-direction: column; align-items: stretch; } .pub-row.stackm .pub-b { width: 100%; } }
.pub-g2, .pub-g3, .pub-g4 { display: grid; gap: var(--pub-gap); }
.pub-g2 { grid-template-columns: repeat(2, 1fr); }
.pub-g3 { grid-template-columns: repeat(3, 1fr); }
.pub-g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .pub-g3, .pub-g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pub-g2, .pub-g3, .pub-g4 { grid-template-columns: 1fr; } }
.pub-split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.pub-split.rev { grid-template-columns: 7fr 5fr; }
.pub-split.rev > :first-child { order: 2; }
.pub-split.l7 { grid-template-columns: 7fr 5fr; }
.pub-split > * { min-width: 0; }
@media (max-width: 760px) { .pub-split, .pub-split.rev, .pub-split.l7 { grid-template-columns: 1fr; gap: 28px; } .pub-split.rev > :first-child { order: 0; } }

/* ---------- buttons 40 / 36 / 32 (one filled primary per section) ---------- */
.pub-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--pub-hair); background: var(--pub-pp); color: var(--pub-i1); font: 600 15px/1 var(--pub-body); text-decoration: none; white-space: nowrap; cursor: pointer; }
.pub-b:hover { border-color: var(--pub-ac); color: var(--pub-aci); }
.pub-b.s { height: 36px; padding: 0 14px; font-size: 14px; }
.pub-b.xs { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.pub-b.pri { background: var(--pub-btn); border-color: var(--pub-btn); color: var(--pub-onbtn); }
.pub-b.pri:hover { background: var(--pub-btnh); border-color: var(--pub-btnh); color: var(--pub-onbtn); }
.pub-b.ghost { background: transparent; border-color: transparent; }
.pub-b.ico { width: 36px; padding: 0; }
.pub-b:focus-visible { outline: 2px solid var(--pub-ac); outline-offset: 2px; }
@media (pointer: coarse) { .pub-b, .pub-b.s { min-height: 44px; } .pub-b.ico { min-width: 44px; } }

/* ---------- cards, pills, chips, ticks, numbers ---------- */
.pub-card { background: var(--pub-pp); border: 1px solid var(--pub-hair); border-radius: 16px; padding: 28px; min-width: 0; }
.pub-sec.alt .pub-card { background: var(--pub-g); }
@media (max-width: 480px) { .pub-card { padding: 20px; } }
.pub-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font: 600 11.5px var(--pub-body); background: var(--pub-act); color: var(--pub-aci); }
.pub-pill.ok { background: var(--pub-gbg); color: var(--pub-gi); }
.pub-pill.am { background: var(--pub-abg); color: var(--pub-ai); }
.pub-pill.rd { background: var(--pub-rbg); color: var(--pub-ri); }
.pub-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--pub-hair); background: var(--pub-pp); font: 600 13px var(--pub-body); color: var(--pub-i2); }
.pub-chip.on { background: var(--pub-act); border-color: var(--pub-act-bd); color: var(--pub-aci); }
.pub-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pub-num { width: 40px; height: 40px; border-radius: 12px; background: var(--pub-act); color: var(--pub-aci); display: flex; align-items: center; justify-content: center; font: 600 18px var(--pub-disp); }
.pub-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pub-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--pub-i2); }
.pub-ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--pub-gbg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23457328' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.pub-price { display: flex; align-items: baseline; gap: 6px; }
.pub-price b { font: 600 44px/1 var(--pub-disp); letter-spacing: -.02em; }
.pub-price span { color: var(--pub-i3); font-size: 15px; }
.pub-mock { background: var(--pub-pp); border: 1px solid var(--pub-hair); border-radius: 12px; padding: 16px; min-width: 0; }
.pub-kv { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--pub-ln); font-size: 15px; }
.pub-kv:last-child { border-bottom: 0; }
.pub-kv b { font-variant-numeric: tabular-nums; font-weight: 600; }
.pub-kv span { color: var(--pub-i2); }
.pub-kv.tot { border-top: 2px solid var(--pub-i1); border-bottom: 0; margin-top: 4px; }
.pub-kv.tot b { color: var(--pub-gi); font-size: 22px; font-family: var(--pub-disp); }

/* ---------- hero ---------- */
.pub-hero { padding: 72px 0 0; }
.pub-hero .pub-w > .pub-stack { align-items: center; max-width: 780px; margin: 0 auto 44px; text-align: center; }
.pub-hero .pub-w > .pub-stack > .pub-eb { align-self: center; }
@media (max-width: 480px) { .pub-hero { padding: 40px 0 0; } .pub-hero .pub-w > .pub-stack { margin-bottom: 28px; } }
.pub-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--pub-gap); margin-top: 40px; }
.pub-strip .pub-card { padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
@media (max-width: 600px) { .pub-strip { grid-template-columns: 1fr; } }

/* ---------- product screens: browser frame, phone frame, callouts ---------- */
.pub-bf { border: 1px solid var(--pub-hair); border-radius: 14px; background: var(--pub-pp); box-shadow: var(--pub-sh); overflow: hidden; }
.pub-bf-bar { height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--pub-hair); background: var(--pub-g); }
.pub-bf-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--pub-hair); display: block; }
.pub-bf-bar span { margin-left: 10px; height: 22px; display: flex; align-items: center; padding: 0 12px; border-radius: 99px; background: var(--pub-pp); border: 1px solid var(--pub-hair); font: 500 12px var(--pub-body); color: var(--pub-i3); }
.pub-shot { position: relative; overflow: hidden; border-radius: 10px; background: var(--pub-pp); }
.pub-bf .pub-shot { border-radius: 0; }
.pub-shot img { width: 100%; height: auto; display: block; }
.pub-shot img.d { display: none; }
:root[data-theme="dark"] .pub-shot img.l { display: none; }
:root[data-theme="dark"] .pub-shot img.d { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pub-shot img.l { display: none; }
  :root:not([data-theme="light"]) .pub-shot img.d { display: block; }
}
/* A cropped detail: the image is positioned inside a fixed-ratio box. */
.pub-shot.crop { aspect-ratio: 3 / 2; }
.pub-shot.crop img { position: absolute; left: 0; top: 0; width: var(--crop-w, 220%); max-width: none; transform: translate(var(--crop-x, 0), var(--crop-y, 0)); }
.pub-phone { max-width: 300px; margin: 0 auto; border: 1px solid var(--pub-hair); border-radius: 34px; padding: 8px; background: var(--pub-pp); box-shadow: var(--pub-sh); }
.pub-phone .pub-shot { border-radius: 26px; }
.pub-rn { display: none; }
@media (max-width: 600px) { .pub-rw { display: none; } .pub-rn { display: block; } }
.pub-co { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.pub-co b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--pub-btn); color: var(--pub-onbtn); font: 700 12px/24px var(--pub-body); text-align: center; box-shadow: 0 0 0 3px var(--pub-pp); }
.pub-co em { font: 600 12px var(--pub-body); font-style: normal; background: var(--pub-pp); color: var(--pub-i1); border: 1px solid var(--pub-hair); border-radius: 99px; padding: 0 12px; height: 28px; display: flex; align-items: center; white-space: nowrap; box-shadow: var(--pub-sh); }
.pub-co svg { flex: none; width: 34px; height: 14px; color: var(--pub-btn); }
.pub-co.r { flex-direction: row-reverse; }
.pub-co.r svg { transform: scaleX(-1); }
.pub-leg { display: none; margin: 10px 0 0; padding-left: 20px; font-size: 13px; color: var(--pub-i2); }
@media (max-width: 600px) { .pub-co em, .pub-co svg { display: none; } .pub-leg { display: block; } }

/* ---------- FAQ, CTA ---------- */
.pub-faq details { background: var(--pub-pp); border: 1px solid var(--pub-hair); border-radius: 14px; }
.pub-faq details + details { margin-top: 12px; }
.pub-faq summary { list-style: none; cursor: pointer; min-height: 56px; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 600 16px/1.35 var(--pub-disp); text-wrap-style: pretty; }
.pub-faq summary::-webkit-details-marker { display: none; }
.pub-faq summary::after { content: "+"; font: 500 22px/1 var(--pub-body); color: var(--pub-aci); }
.pub-faq details[open] summary::after { content: "\2212"; }
.pub-faq details > p { padding: 0 24px 20px; color: var(--pub-i2); font-size: 15px; max-width: 68ch; }
@media (max-width: 480px) { .pub-faq summary { padding: 12px 16px; } .pub-faq details > p { padding: 0 16px 18px; } }
.pub-cta { background: var(--pub-act); border: 1px solid var(--pub-act-bd); border-radius: 20px; padding: 56px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
@media (max-width: 480px) { .pub-cta { padding: 36px 20px; } }

/* ---------- prose (guides, help, legal) ---------- */
.pub-prose { font-size: 17px; line-height: 1.7; color: var(--pub-i1); }
.pub-prose p { margin: 0 0 18px; color: var(--pub-i2); }
.pub-prose h2 { font-size: 28px; line-height: 1.15; margin: 44px 0 14px; scroll-margin-top: 20px; }
.pub-prose h3 { font-size: 20px; margin: 30px 0 10px; }
.pub-prose ul, .pub-prose ol { padding-left: 22px; color: var(--pub-i2); margin: 0 0 18px; }
.pub-prose li { margin-bottom: 8px; }
.pub-callout { background: var(--pub-act); border: 1px solid var(--pub-act-bd); border-radius: 14px; padding: 20px 24px; margin: 26px 0; color: var(--pub-i1); }
.pub-callout p { margin: 0; color: var(--pub-i1); }
.pub-tblw { overflow-x: auto; margin-bottom: 20px; }
.pub-tbl { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; min-width: 480px; background: var(--pub-pp); border: 1px solid var(--pub-hair); border-radius: 12px; overflow: hidden; }
.pub-tbl th { text-align: left; font: 600 13px var(--pub-body); padding: 12px 16px; background: var(--pub-g); border-bottom: 1px solid var(--pub-hair); }
.pub-tbl td { padding: 12px 16px; border-bottom: 1px solid var(--pub-ln); color: var(--pub-i2); }
.pub-tbl tr:last-child td { border-bottom: 0; }
.pub-tbl td:first-child { color: var(--pub-i1); font-weight: 500; }

/* ---------- legal pages (privacy, terms, cookie policy, refunds): full screen ----------
   The page uses the screen: >= 1100px the contents list becomes a sticky rail on the left, the
   policy text keeps a 78ch reading measure beside it; >= 1500px "The short version" card moves
   to a sticky rail on the right. No markup changes: the same elements, placed on a grid. */
@media screen {
  .legal-page { max-width: var(--pub-max); padding-left: var(--pub-pad); padding-right: var(--pub-pad); box-sizing: border-box; }
  .legal-content > p, .legal-content > ul, .legal-content > ol, .legal-content > h2, .legal-content > h3, .legal-page > p { max-width: var(--pub-measure); }
}
@media screen and (min-width: 1100px) {
  .legal-page { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .legal-page > * { grid-column: 2; min-width: 0; }
  .legal-page > .toc { grid-column: 1; grid-row: 1 / span 12; position: sticky; top: 92px; max-height: calc(100vh - 112px); overflow-y: auto; margin: 0; }
  .legal-page > .toc ol { column-count: 1; }
}
@media screen and (min-width: 1500px) {
  .legal-page { grid-template-columns: 250px minmax(0, 1fr) 320px; }
  .legal-page > .summary-card { grid-column: 3; grid-row: 1 / span 12; position: sticky; top: 92px; margin: 0; }
}

/* ---------- the cookie notice's keyboard focus (light + dark pass 2026-10-07) ----------
   cookie-banner.js paints a 25%-alpha navy glow (1.6:1 light, 1.1:1 dark). On public pages the
   focus ring is the solid accent ring every other control here uses (>= 3:1 on the banner). */
html .cb-btn:focus-visible { outline: 2px solid var(--pub-ac); outline-offset: 2px; box-shadow: none; }

/* ---------- the shared header (public-chrome.js) ---------- */
.pl-pub-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 8px; height: 68px; padding: 0 max(var(--pub-pad), calc((100% - var(--pub-max)) / 2 + var(--pub-pad))); border-bottom: 1px solid var(--pub-hair); background: var(--pub-pp); font-family: var(--pub-body); color: var(--pub-i1); box-sizing: border-box; }
.pl-pub-header *, .pl-pub-footer * { box-sizing: border-box; }
.pl-pub-brand { display: flex; align-items: center; gap: 10px; font: 600 18px/1 var(--pub-disp); letter-spacing: -.01em; color: var(--pub-i1); text-decoration: none; margin-right: 12px; white-space: nowrap; min-height: 44px; }
.pl-pub-brand svg { width: 28px; height: 28px; color: var(--pub-i1); flex: none; }
.pl-pub-brand circle { fill: var(--pub-ac); }
.pl-pub-nav { display: flex; gap: 2px; margin: 0; padding: 0; }
.pl-pub-nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 9px; color: var(--pub-i2); font: 500 14.5px var(--pub-body); text-decoration: none; white-space: nowrap; }
.pl-pub-nav a:hover { color: var(--pub-i1); background: var(--pub-g); }
.pl-pub-nav a.on, .pl-pub-nav a[aria-current="page"] { background: var(--pub-act); color: var(--pub-aci); }
.pl-pub-header .sp { flex: 1; }
.pl-pub-header .pub-b { font-family: var(--pub-body); }
.pl-pub-burger { display: none; }
.pl-pub-header .pub-b.ico svg { display: block; }
html[data-authed] .pl-pub-header .auth-hide, html[data-authed] .pl-pub-footer .auth-hide { display: none !important; }
html:not([data-authed]) .pl-pub-header .auth-only, html:not([data-authed]) .pl-pub-footer .auth-only { display: none !important; }
@media (max-width: 900px) {
  .pl-pub-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 4px; padding: 12px; background: var(--pub-pp); border-bottom: 1px solid var(--pub-hair); box-shadow: 0 18px 34px -22px rgba(20, 23, 28, 0.45); }
  .pl-pub-nav.open { display: flex; }
  .pl-pub-nav a { height: 44px; font-size: 15px; }
  .pl-pub-burger { display: inline-flex; }
  .pl-pub-header .login { display: none; }
}
@media (max-width: 420px) { .pl-pub-brand span { display: none; } .pl-pub-brand { margin-right: 4px; } }

/* ---------- the shared footer ---------- */
.pl-pub-footer { background: var(--pub-pp); border-top: 1px solid var(--pub-hair); padding: 56px 0 32px; font-family: var(--pub-body); color: var(--pub-i1); }
.pl-pub-footer .pub-w { max-width: var(--pub-max); margin: 0 auto; padding: 0 var(--pub-pad); }
.pl-pub-footer .cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.pl-pub-footer .cols > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.pl-pub-footer .cols > div:first-child p { margin: 0; max-width: 34ch; font-size: 14px; line-height: 1.55; color: var(--pub-i2); text-wrap-style: pretty; }
.pl-pub-footer h5 { margin: 0 0 12px; font: 600 13px var(--pub-body); color: var(--pub-i1); }
.pl-pub-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pl-pub-footer li a { color: var(--pub-i2); text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; min-height: 24px; }
.pl-pub-footer li a:hover { color: var(--pub-aci); }
.pl-pub-footer .base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--pub-hair); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--pub-i3); }
.pl-pub-footer .base a { color: var(--pub-i3); text-decoration: none; }
@media (max-width: 760px) { .pl-pub-footer .cols { grid-template-columns: 1fr 1fr; } .pl-pub-footer .cols > div:first-child { grid-column: 1 / -1; } }
@media (pointer: coarse) { .pl-pub-footer li a { min-height: 44px; } }
@media print { .pl-pub-header, .pl-pub-footer { display: none; } }
