/* =========================================================================
 * Public-site design system
 *
 * Used by ``_public_layout.html`` (marketing, auth, policy, resource,
 * download-flow, error pages). Deliberately independent from
 * ``app.css`` (legacy) and ``dashboard.css`` (operator UI) so public
 * pages can iterate visually without risking the dashboard.
 *
 * Structure:
 *   1. Theme tokens (light default, dark variant, shared layout)
 *   2. Reset + typography
 *   3. Topbar + footer
 *   4. Main grid and section shell
 *   5. Atoms — buttons, pills, inputs, cards, quotes
 *   6. Hero, features, pricing, CTA sections
 *   7. Auth / policy / error / download variants
 *   8. Responsive tweaks
 * ========================================================================= */


/* ---------- 1. Theme tokens ---------------------------------------------- */

:root[data-theme] {
  color-scheme: light dark;
  --ps-content-max: clamp(1280px, 90vw, 2200px);
  --ps-section-gap: clamp(40px, 5.5vw, 72px);
  --ps-radius-sm: 8px;
  --ps-radius: 12px;
  --ps-radius-lg: 20px;
  --ps-radius-pill: 999px;
}

:root,
:root[data-theme="light"],
:root[data-theme="system"] {
  --ps-bg: #ffffff;
  --ps-bg-soft: #f7f8fb;
  --ps-bg-tint: #eef1f7;
  --ps-surface: #ffffff;
  --ps-surface-raised: #ffffff;
  --ps-line: rgba(15, 23, 42, .08);
  --ps-line-strong: rgba(15, 23, 42, .16);
  --ps-text: #0b1020;
  --ps-text-soft: #313a4d;
  --ps-text-muted: #626b7b;
  --ps-text-dim: #98a1b3;
  --ps-accent: #4f46e5;
  --ps-accent-soft: rgba(79, 70, 229, .08);
  --ps-accent-hover: #3b33c7;
  --ps-accent-on: #ffffff;
  --ps-success: #047857;
  --ps-warning: #b45309;
  --ps-danger: #dc2626;
  --ps-ring: rgba(79, 70, 229, .22);
  --ps-shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .04);
  --ps-shadow: 0 10px 24px -12px rgba(15, 23, 42, .14), 0 6px 14px -8px rgba(15, 23, 42, .08);
  --ps-shadow-lg: 0 26px 60px -24px rgba(15, 23, 42, .24), 0 18px 36px -18px rgba(15, 23, 42, .12);
  --ps-hero-grad: radial-gradient(1200px 600px at 85% -10%, rgba(79, 70, 229, .10), transparent 60%),
                  radial-gradient(900px 500px at -10% 30%, rgba(14, 165, 233, .10), transparent 60%);
}

:root[data-theme="dark"] {
  --ps-bg: #07080b;
  --ps-bg-soft: #0c0e13;
  --ps-bg-tint: #12141b;
  --ps-surface: #13151b;
  --ps-surface-raised: #171a22;
  --ps-line: rgba(255, 255, 255, .07);
  --ps-line-strong: rgba(255, 255, 255, .14);
  --ps-text: #edeef3;
  --ps-text-soft: #b9c0cc;
  --ps-text-muted: #838a97;
  --ps-text-dim: #5a616d;
  --ps-accent: #818cf8;
  --ps-accent-soft: rgba(129, 140, 248, .14);
  --ps-accent-hover: #a5adfb;
  --ps-accent-on: #0b0d14;
  --ps-success: #10b981;
  --ps-warning: #f59e0b;
  --ps-danger: #ef4444;
  --ps-ring: rgba(129, 140, 248, .32);
  --ps-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --ps-shadow: 0 20px 40px -20px rgba(0, 0, 0, .65);
  --ps-shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, .7);
  --ps-hero-grad: radial-gradient(1200px 600px at 85% -10%, rgba(129, 140, 248, .16), transparent 60%),
                  radial-gradient(900px 500px at -10% 30%, rgba(56, 189, 248, .08), transparent 60%);
}


/* ---------- 2. Reset + typography ---------------------------------------- */

* { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }

body.public-body {
  margin: 0;
  background: var(--ps-bg);
  color: var(--ps-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.public-body a { color: inherit; text-decoration: none; }

body.public-body h1,
body.public-body h2,
body.public-body h3,
body.public-body h4 {
  margin: 0;
  color: var(--ps-text);
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-weight: 700;
}

body.public-body h1 { font-size: clamp(34px, 5.5vw, 56px); letter-spacing: -0.035em; }
body.public-body h2 { font-size: clamp(24px, 3vw, 34px); }
body.public-body h3 { font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.02em; }
body.public-body h4 { font-size: 16px; letter-spacing: -0.015em; }

body.public-body p { margin: 0; color: var(--ps-text-soft); }
body.public-body p.muted { color: var(--ps-text-muted); }

body.public-body .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .1em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ps-accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
  padding: 8px 14px;
  background: var(--ps-text);
  color: var(--ps-bg);
  border-radius: var(--ps-radius-sm);
  z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; outline: 3px solid var(--ps-ring); }


/* ---------- 3. Topbar + footer ------------------------------------------- */

.public-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--ps-bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--ps-line);
}

.public-topbar-inner {
  max-width: var(--ps-content-max);
  margin: 0 auto;
  padding: 14px clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ps-text);
  font-size: 22px;
}

.public-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #2458f2;
  background: transparent;
  flex-shrink: 0;
}

.public-brand-mark svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-nav {
  display: flex;
  gap: 4px;
  margin-left: 16px;
}

.public-nav a {
  padding: 6px 12px;
  border-radius: var(--ps-radius-pill);
  color: var(--ps-text-muted);
  font-size: 15px;
  font-weight: 550;
  transition: color 120ms ease, background 120ms ease;
}

.public-nav a:hover { color: var(--ps-text); background: var(--ps-bg-tint); }
.public-nav a.active { color: var(--ps-text); background: var(--ps-bg-tint); }

.public-topbar-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.public-topbar-actions .public-button-primary {
  min-width: 88px;
  background: var(--ps-text);
  color: var(--ps-bg);
}

.public-inline-form { margin: 0; }


.public-footer {
  margin-top: auto;
  background: var(--ps-bg-soft);
  border-top: 1px solid var(--ps-line);
  color: var(--ps-text-muted);
}

.public-footer-inner {
  max-width: var(--ps-content-max);
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 32px) 28px;
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(0, 2fr);
  gap: 32px;
}

.public-footer-brand .public-brand { font-size: 16px; }
.public-footer-tag {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ps-text-muted);
  max-width: 32ch;
}

.public-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.public-footer-nav div { display: flex; flex-direction: column; gap: 8px; }

.public-footer-heading {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ps-text-dim);
}

.public-footer-nav a {
  font-size: 14.5px;
  color: var(--ps-text-soft);
  transition: color 120ms ease;
}

.public-footer-nav a:hover { color: var(--ps-text); }

.public-footer-baseline {
  max-width: var(--ps-content-max);
  margin: 0 auto;
  padding: 16px clamp(16px, 4vw, 32px) 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--ps-line);
  font-size: 13.5px;
  color: var(--ps-text-dim);
}

.public-footer-prefs { display: inline-flex; gap: 14px; align-items: center; }

.public-theme-menu { position: relative; }

.public-theme-menu > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--ps-radius-pill);
  color: var(--ps-text-muted);
  font-size: 13px;
  font-weight: 550;
  border: 1px solid var(--ps-line);
}
.public-theme-menu > summary::-webkit-details-marker { display: none; }
.public-theme-menu > summary:hover { color: var(--ps-text); border-color: var(--ps-line-strong); }

.public-theme-options {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  background: var(--ps-surface);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow);
  min-width: 220px;
}

.public-theme-option {
  text-align: center;
  padding: 6px 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ps-text-muted);
  background: transparent;
}
.public-theme-option:hover { color: var(--ps-text); background: var(--ps-bg-tint); }
.public-theme-option.active { color: var(--ps-accent); background: var(--ps-accent-soft); }

.public-language-switcher { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; }
.public-language-switcher a { color: var(--ps-text-muted); }
.public-language-switcher a:hover { color: var(--ps-text); }
.public-language-switcher a[aria-current="true"] { color: var(--ps-text); font-weight: 700; }


/* ---------- 4. Main grid and section shell ------------------------------- */

.public-main {
  flex: 1;
  width: 100%;
  max-width: var(--ps-content-max);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 32px) clamp(36px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  gap: var(--ps-section-gap);
}

/* Layout variants (set via ``page_variant``): */
.public-main-narrow { max-width: 760px; }
.public-main-centered { align-items: center; }
.public-main-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
@media (max-width: 860px) {
  .public-main-split { grid-template-columns: minmax(0, 1fr); }
}

.public-main-pricing {
  gap: clamp(28px, 4.4vw, 44px);
  padding-top: clamp(24px, 4vw, 48px);
}

.public-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.public-section-head {
  max-width: 68ch;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.public-section-head.centered { margin-inline: auto; text-align: center; align-items: center; }

.compliance-strip {
  display: grid;
  grid-template-columns: minmax(160px, .34fr) minmax(0, 1fr);
  gap: 14px 22px;
  align-items: start;
  padding: 18px 20px;
  border-radius: var(--ps-radius-lg);
  border: 1px solid color-mix(in srgb, var(--ps-warning) 30%, var(--ps-line));
  background: color-mix(in srgb, var(--ps-warning) 9%, var(--ps-surface));
}

.compliance-strip strong {
  color: var(--ps-text);
  line-height: 1.25;
}

.compliance-strip p {
  color: var(--ps-text-soft);
  font-size: 15.5px;
  line-height: 1.55;
}


/* ---------- 5. Atoms ----------------------------------------------------- */

.public-button,
body.public-body .button,
body.public-body button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 40px;
  border-radius: var(--ps-radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  background: var(--ps-surface);
  color: var(--ps-text);
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 60ms ease, box-shadow 120ms ease;
  text-decoration: none;
}

.public-button:active,
body.public-body .button:active { transform: translateY(1px); }

.public-button-primary,
body.public-body .button.primary,
body.public-body .button:not(.secondary):not(.ghost):not(.link-button) {
  background: var(--ps-text);
  color: var(--ps-bg);
  border-color: transparent;
  box-shadow: var(--ps-shadow-sm);
}
.public-button-primary:hover,
body.public-body .button.primary:hover,
body.public-body .button:not(.secondary):not(.ghost):not(.link-button):hover {
  background: var(--ps-text-soft);
  color: var(--ps-bg);
}

.public-button-accent {
  background: var(--ps-accent);
  color: var(--ps-accent-on);
  border-color: transparent;
  box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .35);
}
.public-button-accent:hover { background: var(--ps-accent-hover); }

.public-button-ghost,
body.public-body .button.secondary,
body.public-body .button.ghost {
  background: transparent;
  color: var(--ps-text-soft);
  border-color: transparent;
}
.public-button-ghost:hover,
body.public-body .button.secondary:hover,
body.public-body .button.ghost:hover {
  background: var(--ps-bg-tint);
  color: var(--ps-text);
}

.public-button-outline {
  background: transparent;
  color: var(--ps-text);
  border-color: var(--ps-line-strong);
}
.public-button-outline:hover { background: var(--ps-bg-tint); border-color: var(--ps-text-dim); }

.public-button.small { min-height: 32px; padding: 6px 12px; font-size: 13px; }

body.public-body .link-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ps-accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.public-body .pill,
.public-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--ps-radius-pill);
  font-size: 12px;
  font-weight: 650;
  color: var(--ps-text-muted);
  background: var(--ps-bg-tint);
  border: 1px solid var(--ps-line);
}
body.public-body .pill.ok,
.public-pill.ok { color: var(--ps-success); background: rgba(4, 120, 87, .08); border-color: rgba(4, 120, 87, .18); }
body.public-body .pill.warn,
.public-pill.warn { color: var(--ps-warning); background: rgba(180, 83, 9, .10); border-color: rgba(180, 83, 9, .18); }
body.public-body .pill.danger,
.public-pill.danger { color: var(--ps-danger); background: rgba(220, 38, 38, .08); border-color: rgba(220, 38, 38, .18); }

body.public-body input[type="text"],
body.public-body input[type="email"],
body.public-body input[type="password"],
body.public-body input[type="search"],
body.public-body input[type="url"],
body.public-body input[type="number"],
body.public-body select,
body.public-body textarea {
  width: 100%;
  padding: 11px 14px;
  min-height: 44px;
  border-radius: var(--ps-radius);
  border: 1px solid var(--ps-line-strong);
  background: var(--ps-surface);
  color: var(--ps-text);
  font: inherit;
  font-size: 14.5px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
body.public-body input:focus,
body.public-body select:focus,
body.public-body textarea:focus {
  outline: none;
  border-color: var(--ps-accent);
  box-shadow: 0 0 0 4px var(--ps-ring);
}
body.public-body label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ps-text-soft);
}

body.public-body .notice,
.public-notice {
  padding: 12px 16px;
  border-radius: var(--ps-radius);
  background: var(--ps-bg-soft);
  border: 1px solid var(--ps-line);
  color: var(--ps-text-soft);
  font-size: 15px;
}
body.public-body .notice.error,
.public-notice.error { background: rgba(220, 38, 38, .06); border-color: rgba(220, 38, 38, .18); color: var(--ps-danger); }


/* Download unavailable */
body.public-body:has(.download-unavailable-page) {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 48%, #ffffff 100%);
}

.public-main-download-unavailable {
  max-width: 100%;
  padding: clamp(34px, 5vw, 72px) clamp(16px, 4vw, 48px) clamp(34px, 5vw, 58px);
  overflow: hidden;
  position: relative;
}

body.public-body:has(.download-unavailable-page) .public-topbar-actions .public-button-primary {
  border-color: transparent;
  border-radius: 8px;
  background: linear-gradient(180deg, #2f5bff 0%, #1548f5 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px -18px rgba(18, 71, 255, .76);
}

body.public-body:has(.download-unavailable-page) .public-topbar-actions .public-button-primary:hover {
  background: linear-gradient(180deg, #2451f8 0%, #0e3be0 100%);
  color: #ffffff;
}

.public-main-download-unavailable::before,
.public-main-download-unavailable::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.public-main-download-unavailable::before {
  width: min(420px, 38vw);
  aspect-ratio: 1;
  left: -130px;
  top: 140px;
  border: 1px solid rgba(37, 99, 235, .08);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, .045), rgba(255, 255, 255, 0));
}

.public-main-download-unavailable::after {
  width: min(360px, 32vw);
  aspect-ratio: 1;
  right: -110px;
  top: 250px;
  border: 1px solid rgba(37, 99, 235, .07);
  border-radius: 50%;
}

.download-unavailable-page {
  width: min(100%, clamp(1120px, 88vw, 1700px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.download-unavailable-card {
  min-height: clamp(500px, 34vw, 620px);
  display: grid;
  grid-template-columns: minmax(440px, 1.05fr) minmax(360px, .95fr);
  gap: clamp(44px, 5vw, 90px);
  align-items: center;
  padding: clamp(34px, 4vw, 64px);
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 8px;
  background:
    radial-gradient(620px 420px at 80% 48%, rgba(37, 99, 235, .08), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(255, 255, 255, .95));
  box-shadow:
    0 28px 70px -36px rgba(15, 23, 42, .32),
    0 12px 26px -20px rgba(15, 23, 42, .18);
}

.download-unavailable-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 700px;
  min-width: 0;
}

.download-unavailable-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #2357ff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.download-unavailable-eyebrow span {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
}

.download-unavailable-eyebrow svg,
.download-unavailable-download-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.public-body .download-unavailable-copy h1 {
  margin: 4px 0 0;
  max-width: 15ch;
  color: #08112f;
  font-size: clamp(38px, 4.1vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 850;
}

.download-unavailable-message {
  max-width: 62ch;
  color: #17213a;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
  letter-spacing: 0;
}

.download-unavailable-notice {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 18px 22px;
  border: 1px solid rgba(37, 99, 235, .22);
  border-radius: 8px;
  background: rgba(246, 250, 255, .92);
  color: #17213a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.download-unavailable-notice span {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #2357ff;
  border-radius: 50%;
  color: #2357ff;
  font-size: 16px;
  font-weight: 850;
  font-family: ui-serif, Georgia, serif;
  line-height: 1;
}

.download-unavailable-notice p {
  margin: 0;
  color: inherit;
  font-size: 15.5px;
  line-height: 1.6;
  letter-spacing: 0;
}

.download-unavailable-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

body.public-body .download-unavailable-actions .button {
  min-height: 58px;
  padding: 16px 26px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0;
}

body.public-body .download-unavailable-primary:not(.secondary):not(.ghost):not(.link-button) {
  background: #07112f;
  color: #ffffff;
  box-shadow: 0 18px 34px -22px rgba(7, 17, 47, .76);
}

body.public-body .download-unavailable-primary:not(.secondary):not(.ghost):not(.link-button):hover {
  background: #17213a;
  color: #ffffff;
}

body.public-body .download-unavailable-secondary.secondary {
  background: #ffffff;
  color: #07112f;
  border-color: rgba(37, 99, 235, .45);
}

body.public-body .download-unavailable-secondary.secondary:hover {
  background: #f6f9ff;
  color: #07112f;
  border-color: rgba(37, 99, 235, .62);
}

.download-unavailable-visual {
  min-height: clamp(350px, 27vw, 490px);
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}

.download-unavailable-arc {
  position: absolute;
  width: min(clamp(320px, 23vw, 440px), 88%);
  aspect-ratio: 1;
  border: 1.5px dashed rgba(37, 99, 235, .22);
  border-radius: 50%;
}

.download-unavailable-arc span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2f5bff;
  box-shadow: 0 0 0 4px rgba(47, 91, 255, .12);
}

.download-unavailable-arc span:first-child { left: 1px; top: 43%; }
.download-unavailable-arc span:last-child { right: 22%; top: 7%; }

.download-unavailable-doc {
  position: absolute;
  width: clamp(132px, 9vw, 178px);
  height: clamp(178px, 12vw, 232px);
  right: 22%;
  top: 19%;
  border: 1px solid rgba(37, 99, 235, .22);
  border-radius: 10px 10px 8px 8px;
  background: linear-gradient(180deg, #f8fbff, #dbe7ff);
  box-shadow: 0 18px 38px -24px rgba(37, 99, 235, .45);
}

.download-unavailable-doc::before {
  content: "";
  position: absolute;
  right: -1px;
  top: -1px;
  width: clamp(42px, 2.9vw, 56px);
  height: clamp(42px, 2.9vw, 56px);
  background: linear-gradient(135deg, #d3e0ff 50%, #f8fbff 50%);
  border-left: 1px solid rgba(37, 99, 235, .18);
  border-bottom: 1px solid rgba(37, 99, 235, .18);
  border-radius: 0 10px 0 8px;
}

.download-unavailable-doc::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 56px;
  width: 90px;
  height: 52px;
  border-radius: 999px;
  background:
    linear-gradient(#b5c8ff, #b5c8ff) 0 0 / 44px 6px no-repeat,
    linear-gradient(#b5c8ff, #b5c8ff) 0 20px / 88px 6px no-repeat,
    linear-gradient(#b5c8ff, #b5c8ff) 0 40px / 88px 6px no-repeat;
}

.download-unavailable-folder {
  position: relative;
  width: clamp(188px, 13vw, 250px);
  height: clamp(126px, 8.8vw, 168px);
  margin-top: 96px;
  margin-left: -54px;
  border: 1px solid rgba(37, 99, 235, .30);
  border-radius: 14px 14px 12px 12px;
  background: linear-gradient(180deg, #bfd2ff 0%, #6492ff 58%, #315fd9 100%);
  box-shadow:
    0 24px 46px -22px rgba(37, 99, 235, .72),
    inset 0 1px 0 rgba(255, 255, 255, .42);
}

.download-unavailable-folder::before {
  content: "";
  position: absolute;
  inset: 28px 18px auto 26px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
}

.download-unavailable-folder-tab {
  position: absolute;
  left: 20px;
  top: -28px;
  width: clamp(82px, 5.6vw, 108px);
  height: clamp(40px, 2.7vw, 54px);
  border: 1px solid rgba(37, 99, 235, .25);
  border-bottom: 0;
  border-radius: 13px 22px 0 0;
  background: linear-gradient(180deg, #dbe6ff, #9ebcff);
}

.download-unavailable-download-mark {
  position: absolute;
  left: 50%;
  top: clamp(50px, 3.5vw, 66px);
  width: clamp(70px, 4.8vw, 92px);
  height: clamp(70px, 4.8vw, 92px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffffff, #edf3ff);
  color: #2f5bff;
  box-shadow: 0 12px 26px -14px rgba(15, 23, 42, .70);
}

.download-unavailable-download-mark svg {
  width: clamp(36px, 2.45vw, 48px);
  height: clamp(36px, 2.45vw, 48px);
  stroke-width: 2.4;
}

.download-unavailable-x {
  position: absolute;
  right: 19%;
  bottom: 18px;
  width: clamp(36px, 2.55vw, 48px);
  height: clamp(36px, 2.55vw, 48px);
  display: grid;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #4f7dff;
  color: #ffffff;
  font-size: clamp(28px, 2vw, 38px);
  font-weight: 700;
  line-height: .8;
  box-shadow: 0 10px 18px -12px rgba(15, 23, 42, .65);
}

.download-unavailable-shield {
  position: absolute;
  right: 10%;
  bottom: 15%;
  width: clamp(78px, 5.4vw, 106px);
  height: clamp(92px, 6.4vw, 124px);
  clip-path: polygon(50% 4%, 91% 20%, 86% 72%, 50% 98%, 14% 72%, 9% 20%);
  background: linear-gradient(180deg, #a9c2ff, #3e72ea);
  box-shadow: 0 18px 30px -18px rgba(37, 99, 235, .70);
}

.download-unavailable-shield::before {
  content: "";
  position: absolute;
  inset: 12px;
  clip-path: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .48), rgba(255, 255, 255, .14));
}

.download-unavailable-shield span {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 20px;
  height: 18px;
  transform: translate(-50%, -50%);
  border: 4px solid rgba(255, 255, 255, .72);
  border-radius: 5px;
  border-top: 0;
}

.download-unavailable-shield span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 11px;
  width: 22px;
  height: 18px;
  transform: translateX(-50%);
  border: 4px solid rgba(255, 255, 255, .72);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.download-unavailable-cloud {
  position: absolute;
  right: 8%;
  top: 24%;
  width: 76px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #edf4ff, #d6e4ff);
  filter: drop-shadow(0 8px 16px rgba(37, 99, 235, .12));
}

.download-unavailable-cloud::before,
.download-unavailable-cloud::after {
  content: "";
  position: absolute;
  bottom: 10px;
  border-radius: 50%;
  background: inherit;
}

.download-unavailable-cloud::before { left: 12px; width: 36px; height: 36px; }
.download-unavailable-cloud::after { right: 12px; width: 44px; height: 44px; }

.download-unavailable-spark {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #c5d3ff;
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
}

.download-unavailable-spark.spark-one { left: 12%; bottom: 16%; }
.download-unavailable-spark.spark-two { right: 7%; top: 8%; width: 30px; height: 30px; opacity: .55; }

:root[data-theme="dark"] body.public-body:has(.download-unavailable-page) {
  background:
    linear-gradient(180deg, #07080b 0%, #0c1020 48%, #07080b 100%);
}

:root[data-theme="dark"] .download-unavailable-card {
  border-color: rgba(255, 255, 255, .12);
  background:
    radial-gradient(620px 420px at 80% 48%, rgba(129, 140, 248, .12), transparent 66%),
    linear-gradient(180deg, rgba(23, 26, 34, .98), rgba(19, 21, 27, .96));
}

:root[data-theme="dark"] body.public-body .download-unavailable-copy h1,
:root[data-theme="dark"] .download-unavailable-message,
:root[data-theme="dark"] .download-unavailable-notice {
  color: #edeef3;
}

:root[data-theme="dark"] .download-unavailable-notice,
:root[data-theme="dark"] body.public-body .download-unavailable-secondary.secondary {
  background: rgba(255, 255, 255, .04);
}

:root[data-theme="dark"] body.public-body .download-unavailable-secondary.secondary {
  color: #edeef3;
}

@media (max-width: 760px) {
  .public-main-download-unavailable {
    padding: 34px 16px 34px;
  }

  .public-main-download-unavailable::before,
  .public-main-download-unavailable::after {
    display: none;
  }

  .download-unavailable-card {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 34px;
  }

  .download-unavailable-visual {
    display: none;
  }

  body.public-body .download-unavailable-copy h1 {
    max-width: 12ch;
    font-size: clamp(38px, 11vw, 48px);
  }

  .download-unavailable-message {
    font-size: 16px;
  }

  .download-unavailable-notice {
    width: 100%;
    align-items: start;
    padding: 16px 15px;
  }

  .download-unavailable-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body.public-body .download-unavailable-actions .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .download-unavailable-card {
    padding: 32px 18px;
  }

  .download-unavailable-eyebrow {
    font-size: 12px;
  }

  .download-unavailable-notice {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
  }

  .download-unavailable-notice span {
    width: 23px;
    height: 23px;
    font-size: 14px;
  }
}


/* Card */
.public-card {
  background: var(--ps-surface);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  padding: 28px;
  box-shadow: var(--ps-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.public-card.elevated { box-shadow: var(--ps-shadow); }


/* ---------- 6. Hero, features, pricing, CTA ------------------------------ */

.public-hero {
  position: relative;
  padding: clamp(44px, 7vw, 92px) clamp(16px, 4vw, 32px) clamp(36px, 6vw, 72px);
  background: var(--ps-hero-grad);
  border-bottom: 1px solid var(--ps-line);
  overflow: hidden;
}

.public-hero-inner {
  max-width: var(--ps-content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.public-hero h1 { max-width: 18ch; }
.public-hero p.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ps-text-soft);
  max-width: 58ch;
  line-height: 1.55;
  margin: 0;
}

.public-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.public-hero-bullets {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ps-text-muted);
  font-size: 14.5px;
}
.public-hero-bullets li { display: inline-flex; align-items: center; gap: 6px; }
.public-hero-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ps-accent);
  display: inline-block;
}

.public-hero-centered { text-align: center; }
.public-hero-centered .public-hero-inner { align-items: center; }
.public-hero-centered .public-hero-bullets { justify-content: center; }

/* Feature grid */
.public-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.public-feature {
  background: var(--ps-surface);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.public-feature:hover { transform: translateY(-2px); border-color: var(--ps-line-strong); box-shadow: var(--ps-shadow); }

.public-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ps-accent-soft);
  color: var(--ps-accent);
  display: inline-grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 4px;
}

.public-feature h3 { font-size: 17px; }
.public-feature p { font-size: 15.5px; line-height: 1.6; color: var(--ps-text-muted); }

/* Screenshot-inspired homepage */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 84px clamp(18px, 4vw, 56px) 72px;
  background:
    radial-gradient(circle at 75% 44%, rgba(61, 103, 255, .14), transparent 26%),
    radial-gradient(circle at 83% 32%, rgba(126, 87, 255, .12), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 62%, #f8fbff 100%);
  border-bottom: 1px solid rgba(33, 74, 160, .07);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(40, 88, 210, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 88, 210, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, transparent 78%);
}

.home-hero-inner {
  position: relative;
  max-width: var(--ps-content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(38, 91, 240, .13);
  border-radius: var(--ps-radius-pill);
  background: rgba(38, 91, 240, .07);
  color: #285cf6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.home-hero h1 {
  max-width: 13ch;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 850;
}

.home-hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, #2d66ff 0%, #365dea 47%, #7a4cf4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.home-hero .lead {
  max-width: 55ch;
  color: #24345b;
  font-size: 19px;
  line-height: 1.7;
  letter-spacing: 0;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.home-primary-cta,
.home-secondary-cta {
  min-height: 60px;
  min-width: 188px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.home-primary-cta {
  background: linear-gradient(135deg, #1f57f5 0%, #315eef 54%, #243fd8 100%);
  box-shadow: 0 18px 36px -20px rgba(31, 87, 245, .8), 0 10px 22px -18px rgba(5, 21, 65, .6);
}

.home-secondary-cta {
  background: #ffffff;
  border-color: rgba(35, 84, 236, .45);
  color: #1f57f5;
}

.home-trust-points {
  width: min(100%, 640px);
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  color: #506085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.home-trust-points li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.home-trust-points span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: #eef4ff;
  color: #2e62f2;
  font-size: 14px;
}

.home-product-preview {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.home-preview-orbit {
  position: absolute;
  width: min(520px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid rgba(80, 112, 236, .14);
  background: radial-gradient(circle, rgba(58, 97, 238, .09), transparent 58%);
}

.home-preview-orbit::after {
  content: "";
  position: absolute;
  inset: 44px;
  border: 1px solid rgba(80, 112, 236, .10);
  border-radius: inherit;
}

.home-dashboard-card {
  position: relative;
  z-index: 1;
  width: min(100%, 570px);
  min-height: 462px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(33, 72, 154, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 34px 80px -50px rgba(24, 57, 140, .58), 0 22px 52px -46px rgba(22, 45, 110, .4);
  backdrop-filter: blur(16px);
}

.home-dashboard-sidebar {
  padding: 28px 18px;
  border-right: 1px solid rgba(33, 72, 154, .10);
}

.home-dashboard-sidebar strong {
  display: block;
  margin: 0 0 22px;
  color: #153071;
  font-size: 18px;
  letter-spacing: 0;
}

.home-dashboard-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.home-dashboard-sidebar span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 7px;
  color: #46567d;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

.home-dashboard-sidebar span.active {
  background: #eef4ff;
  color: #265bf1;
}

.home-dashboard-main {
  display: flex;
  flex-direction: column;
}

.home-dashboard-head {
  padding: 28px 26px 20px;
  border-bottom: 1px solid rgba(33, 72, 154, .09);
}

.home-dashboard-head strong {
  color: #172654;
  font-size: 17px;
  letter-spacing: 0;
}

.home-stat-grid {
  padding: 24px 26px 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-stat-card {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(33, 72, 154, .11);
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.home-stat-card span {
  color: #526184;
  font-size: 12px;
  font-weight: 750;
}

.home-stat-card strong {
  color: #10204b;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.home-stat-card small {
  color: #21a35b;
  font-weight: 800;
}

.home-delivery-list {
  margin: 0 26px 26px;
  padding: 20px;
  border: 1px solid rgba(33, 72, 154, .11);
  border-radius: 8px;
  background: #ffffff;
}

.home-list-title {
  margin-bottom: 12px;
  color: #162855;
  font-size: 13px;
  font-weight: 850;
}

.home-delivery-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border-bottom: 1px solid rgba(33, 72, 154, .07);
  color: #506085;
  font-size: 11px;
}

.home-delivery-row strong {
  overflow: hidden;
  color: #172654;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-file-dot {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 6px;
  background: #f2f6ff;
  color: #2e62f2;
}

.home-delivered {
  padding: 3px 7px;
  border-radius: 999px;
  background: #eafaf0;
  color: #17a052;
  font-size: 10px;
  font-weight: 850;
}

.home-delivery-row time {
  color: #6e7891;
  white-space: nowrap;
}

.home-delivery-list a {
  display: inline-flex;
  margin-top: 14px;
  color: #2458f2;
  font-size: 12px;
  font-weight: 800;
}

.home-shield-badge {
  position: absolute;
  right: 8%;
  bottom: 32px;
  z-index: 2;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  color: #ffffff;
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(145deg, #4c87ff 0%, #2357e9 56%, #1d3fc4 100%);
  clip-path: polygon(50% 0, 88% 14%, 88% 54%, 78% 78%, 50% 100%, 22% 78%, 12% 54%, 12% 14%);
  filter: drop-shadow(0 22px 24px rgba(29, 63, 196, .28));
}

.home-section {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.home-section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-section-head.centered {
  align-items: center;
  text-align: center;
}

.home-section h2,
.home-audience-band h2,
.home-final-cta h2 {
  letter-spacing: 0;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.home-feature-card {
  min-height: 234px;
  padding: 28px;
  border: 1px solid rgba(33, 72, 154, .12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px -34px rgba(33, 72, 154, .36);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-feature-card h3 {
  color: #121f46;
  font-size: 17px;
  line-height: 1.28;
  letter-spacing: 0;
}

.home-feature-card p {
  color: #405073;
  font-size: 14px;
  line-height: 1.58;
}

.home-feature-icon,
.home-step-icon {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 14px;
  font-size: 28px;
  font-weight: 850;
}

.home-feature-icon.blue,
.home-step-icon.blue { background: #edf4ff; color: #2761f5; }
.home-feature-icon.green,
.home-step-icon.green { background: #eaf9f0; color: #2ab86f; }
.home-feature-icon.violet,
.home-step-icon.violet { background: #f1edff; color: #714ff2; }
.home-feature-icon.orange,
.home-step-icon.orange { background: #fff0e8; color: #ff7237; }

.home-flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  margin: 0;
  padding: 0 30px;
  list-style: none;
  counter-reset: home-flow;
}

.home-flow-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  border-top: 2px dashed rgba(38, 91, 240, .22);
}

.home-flow-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-flow-steps h3 {
  color: #15244f;
  font-size: 16px;
  letter-spacing: 0;
}

.home-flow-steps p {
  color: #405073;
  font-size: 14px;
  line-height: 1.6;
}

.home-audience-band {
  padding: 34px 42px 30px;
  border: 1px solid rgba(33, 72, 154, .12);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.home-audience-band ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.home-audience-band li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #172654;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.home-audience-band span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
  color: #2e62f2;
  font-size: 26px;
}

.home-authorized-note {
  display: grid;
  grid-template-columns: minmax(180px, .3fr) minmax(0, 1fr);
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 114, 55, .22);
  border-radius: 8px;
  background: #fffaf7;
}

.home-authorized-note strong {
  color: #172654;
}

.home-authorized-note p {
  color: #405073;
  font-size: 14px;
}

.home-final-cta {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: 38px 58px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 93% 8%, rgba(255, 255, 255, .20), transparent 22%),
    linear-gradient(110deg, #1f58f5 0%, #3157ef 47%, #6b47eb 100%);
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.home-final-cta::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -28px;
  width: 150px;
  height: 210px;
  opacity: .36;
  background:
    linear-gradient(135deg, transparent 47%, #ffffff 48% 52%, transparent 53%),
    radial-gradient(ellipse at 52% 5%, #ffffff 0 8%, transparent 9%),
    linear-gradient(160deg, transparent 15%, #ffffff 16% 19%, transparent 20% 100%);
  border-radius: 90% 0 90% 0;
  transform: rotate(14deg);
}

body.public-body .home-final-cta h2 {
  color: inherit;
  font-size: 30px;
}

body.public-body .home-final-cta p {
  max-width: 54ch;
  margin-top: 10px;
  color: rgba(255, 255, 255, .88);
}

.home-final-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.home-final-actions .public-button {
  min-width: 255px;
  min-height: 58px;
  border-radius: 8px;
  background: #ffffff;
  color: #2458f2;
  font-weight: 850;
}

.home-final-actions span {
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 700;
}

.home-security-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  color: #75819d;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

body.public-body:has(.home-security-row) .public-footer {
  margin-top: 0;
  background: #ffffff;
}

:root[data-theme="dark"] .home-hero {
  background:
    radial-gradient(circle at 75% 44%, rgba(61, 103, 255, .18), transparent 26%),
    radial-gradient(circle at 83% 32%, rgba(126, 87, 255, .16), transparent 20%),
    linear-gradient(180deg, #07080b 0%, #0a1020 100%);
}

:root[data-theme="dark"] .home-hero .lead,
:root[data-theme="dark"] .home-feature-card p,
:root[data-theme="dark"] .home-flow-steps p,
:root[data-theme="dark"] .home-authorized-note p {
  color: var(--ps-text-soft);
}

:root[data-theme="dark"] .home-dashboard-card,
:root[data-theme="dark"] .home-stat-card,
:root[data-theme="dark"] .home-delivery-list,
:root[data-theme="dark"] .home-feature-card,
:root[data-theme="dark"] .home-audience-band,
:root[data-theme="dark"] .home-authorized-note {
  background: var(--ps-surface);
  border-color: var(--ps-line);
}

:root[data-theme="dark"] .home-dashboard-sidebar,
:root[data-theme="dark"] .home-dashboard-head {
  border-color: var(--ps-line);
}

:root[data-theme="dark"] .home-dashboard-sidebar strong,
:root[data-theme="dark"] .home-dashboard-head strong,
:root[data-theme="dark"] .home-stat-card strong,
:root[data-theme="dark"] .home-delivery-row strong,
:root[data-theme="dark"] .home-list-title,
:root[data-theme="dark"] .home-feature-card h3,
:root[data-theme="dark"] .home-flow-steps h3,
:root[data-theme="dark"] .home-audience-band li,
:root[data-theme="dark"] .home-authorized-note strong {
  color: var(--ps-text);
}

:root[data-theme="dark"] .home-secondary-cta,
:root[data-theme="dark"] .home-final-actions .public-button {
  background: var(--ps-surface-raised);
}

@media (max-width: 1100px) {
  .home-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-product-preview {
    min-height: 460px;
  }

  .home-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-audience-band ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-hero {
    padding: 54px 18px 48px;
  }

  .home-hero h1 {
    font-size: 42px;
  }

  .home-hero .lead {
    font-size: 17px;
  }

  .home-hero-actions,
  .home-primary-cta,
  .home-secondary-cta {
    width: 100%;
  }

  .home-trust-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-product-preview {
    min-height: auto;
  }

  .home-dashboard-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-dashboard-sidebar {
    display: none;
  }

  .home-stat-grid,
  .home-feature-grid,
  .home-flow-steps,
  .home-audience-band ul,
  .home-final-cta,
  .home-security-row,
  .home-authorized-note {
    grid-template-columns: 1fr;
  }

  .home-flow-steps {
    padding: 0;
  }

  .home-flow-steps::before {
    display: none;
  }

  .home-final-cta {
    padding: 30px 24px;
  }

  .home-final-actions {
    align-items: stretch;
  }

  .home-final-actions .public-button {
    min-width: 0;
  }

  .home-shield-badge {
    width: 82px;
    height: 82px;
    right: 14px;
    bottom: -12px;
    font-size: 36px;
  }
}


/* Pricing grid */
.public-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.public-plan {
  background: var(--ps-surface);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.public-plan:hover { transform: translateY(-3px); border-color: var(--ps-line-strong); box-shadow: var(--ps-shadow); }

.public-plan.featured {
  border-color: color-mix(in srgb, var(--ps-accent) 40%, var(--ps-line-strong));
  box-shadow: var(--ps-shadow);
  background: linear-gradient(180deg, var(--ps-surface), color-mix(in srgb, var(--ps-accent-soft) 60%, var(--ps-surface)));
}

.public-plan-eyebrow {
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ps-text-dim);
}

.public-plan-price { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--ps-text); }
.public-plan-price small { font-size: 15px; font-weight: 600; color: var(--ps-text-muted); margin-left: 4px; }

.public-plan-features {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--ps-text-soft);
}
.public-plan-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
}
.public-plan-features li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ps-accent-soft);
  background-image: radial-gradient(circle, var(--ps-accent) 40%, transparent 45%);
}

.public-plan .public-button { margin-top: auto; }


/* CTA band */
.public-cta {
  background: linear-gradient(135deg, var(--ps-text) 0%, color-mix(in srgb, var(--ps-text) 70%, var(--ps-accent) 30%) 100%);
  color: var(--ps-bg);
  border-radius: var(--ps-radius-lg);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.public-cta h2 { color: inherit; max-width: 24ch; }
.public-cta p { color: color-mix(in srgb, var(--ps-bg) 80%, transparent); margin-top: 8px; }
.public-cta .public-button { min-height: 44px; padding: 12px 20px; }

:root[data-theme="dark"] .public-cta {
  background: linear-gradient(135deg, var(--ps-surface-raised) 0%, color-mix(in srgb, var(--ps-surface-raised) 60%, var(--ps-accent) 40%) 100%);
  color: var(--ps-text);
  border: 1px solid var(--ps-line-strong);
}


/* ---------- 7. Variants -------------------------------------------------- */

/* Auth: single centered card on a soft tinted background */
.public-auth-wrap {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.public-auth-card {
  background: var(--ps-surface);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  padding: 32px;
  box-shadow: var(--ps-shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.public-auth-card h1 { font-size: 26px; letter-spacing: -0.025em; }
.public-auth-card .public-auth-subtitle { color: var(--ps-text-muted); font-size: 15.5px; }
.public-auth-card form { display: flex; flex-direction: column; gap: 14px; }
.public-auth-hint { font-size: 14px; color: var(--ps-text-muted); text-align: center; }

/* Policy: generous reading width, typographic rhythm */
.public-policy {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.public-policy h1 { font-size: 34px; }
.public-policy h2 { font-size: 22px; margin-top: 24px; }
.public-policy p { font-size: 15.5px; line-height: 1.72; color: var(--ps-text-soft); }
.public-policy ul, .public-policy ol { padding-left: 1.2rem; color: var(--ps-text-soft); line-height: 1.72; }
.public-policy li { margin-bottom: 6px; }
.public-policy .public-policy-revision {
  padding: 10px 14px;
  border-radius: var(--ps-radius);
  background: var(--ps-bg-tint);
  border: 1px solid var(--ps-line);
  font-size: 14px;
  color: var(--ps-text-muted);
}

/* Error / download centered card */
.public-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(48px, 9vw, 96px) 20px;
  text-align: center;
}
.public-stage .public-stage-code {
  font-size: clamp(72px, 12vw, 120px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
  background: linear-gradient(135deg, var(--ps-accent), var(--ps-accent-hover));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.public-stage p.muted { max-width: 48ch; }

.public-stage-request {
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: var(--ps-text-dim);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--ps-bg-tint);
  border: 1px solid var(--ps-line);
}

/* Download ready */
.public-main-download-ready {
  align-items: center;
}

.download-ready-page {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) 0;
}

.download-ready-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--ps-line);
  border-radius: 8px;
  background: var(--ps-surface);
  box-shadow: var(--ps-shadow);
}

.download-ready-eyebrow {
  margin: 0;
  color: var(--ps-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}

body.public-body .download-ready-card h1 {
  max-width: 14ch;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: 0;
}

.download-ready-meta {
  color: var(--ps-text-muted);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.download-ready-notice {
  padding: 15px 16px;
  border: 1px solid var(--ps-line);
  border-radius: 8px;
  background: var(--ps-bg-soft);
  color: var(--ps-text-soft);
  font-size: 15px;
  line-height: 1.6;
}

body.public-body .download-ready-action {
  width: 100%;
  min-height: 52px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
}

.download-ready-status {
  min-height: 22px;
  font-size: 14px;
}

/* Resource page */
.public-resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ps-text-muted);
  font-size: 14.5px;
}

/* Migrated public templates */
.public-action-row,
body.public-body .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

body.public-body .lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ps-text-soft);
}

body.public-body .page-head {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.public-body .page-head-wide { max-width: 1040px; }

body.public-body .page-head h1 {
  max-width: 18ch;
  font-size: clamp(34px, 5vw, 56px);
}

body.public-body .page-head p {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.62;
}

body.public-body .pricing-head {
  gap: 12px;
  max-width: 840px;
}

body.public-body .pricing-head h1 {
  max-width: 15ch;
}

body.public-body .pricing-head p:not(.eyebrow) {
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ps-text-soft);
}

body.public-body .pricing-head p.muted {
  font-size: 17px;
  color: var(--ps-text-muted);
}

body.public-body .panel,
body.public-body .card,
body.public-body .support-panel {
  background: var(--ps-surface);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  box-shadow: var(--ps-shadow-sm);
}

/* Pricing */
body.public-body .early-pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--ps-line-strong);
  border-radius: var(--ps-radius);
  background: var(--ps-bg-tint);
  color: var(--ps-text-soft);
}

body.public-body .pricing-intro {
  padding: 18px 22px;
  gap: 12px 20px;
}

body.public-body .early-pricing strong {
  color: var(--ps-text);
  font-size: 14px;
}

body.public-body .pricing-intro strong {
  font-size: 15px;
}

body.public-body .pricing-intro span {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ps-text-soft);
  max-width: 72ch;
}

body.public-body .plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.public-main-pricing .plans {
  gap: 14px;
}

body.public-body .plan {
  background: var(--ps-surface);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  box-shadow: var(--ps-shadow-sm);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

body.public-body .plan:hover {
  transform: translateY(-2px);
  border-color: var(--ps-line-strong);
  box-shadow: var(--ps-shadow);
}

body.public-body .plan.featured {
  border-color: color-mix(in srgb, var(--ps-accent) 42%, var(--ps-line-strong));
  box-shadow: var(--ps-shadow);
  background: linear-gradient(180deg, var(--ps-surface), color-mix(in srgb, var(--ps-accent-soft) 62%, var(--ps-surface)));
}

body.public-body .plan h2 { font-size: 22px; }

body.public-body .plan-badge,
body.public-body .save-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: var(--ps-radius-pill);
  font-size: 12.5px;
  font-weight: 750;
}

body.public-body .plan-badge {
  color: var(--ps-accent);
  background: var(--ps-accent-soft);
  border: 1px solid color-mix(in srgb, var(--ps-accent) 24%, transparent);
}

body.public-body .save-badge {
  color: var(--ps-success);
  background: rgba(4, 120, 87, .08);
}

body.public-body .standard-price {
  display: flex;
  gap: 8px;
  align-items: baseline;
  color: var(--ps-text-muted);
  font-size: 13px;
  font-weight: 700;
}

body.public-body .price {
  color: var(--ps-text);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

body.public-body .plan-meta,
body.public-body .plan-footnote,
body.public-body .plan-unavailable {
  font-size: 14px;
  color: var(--ps-text-muted);
}

body.public-body .plan-limit {
  border-top: 1px solid var(--ps-line);
  padding-top: 11px;
  color: var(--ps-text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.public-main-pricing .plan {
  padding: 24px 22px;
  gap: 11px;
}

.public-main-pricing .plan-limit {
  padding-top: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}

.public-main-pricing .plan-meta,
.public-main-pricing .plan-footnote,
.public-main-pricing .plan-unavailable {
  font-size: 14px;
}

body.public-body .plan form,
body.public-body .plan > .button { margin-top: auto; }

body.public-body .checkout-form,
body.public-body .checkout-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.public-body .checkout-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ps-text-muted);
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0;
}

/* Auth */
body.public-body:has(.auth-shell) .public-main {
  gap: clamp(30px, 3.5vw, 48px);
  padding-top: clamp(42px, 5.5vw, 72px);
}

body.public-body .auth-shell {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(340px, .95fr) minmax(340px, 400px) minmax(360px, 510px);
  gap: clamp(28px, 3.8vw, 52px);
  align-items: center;
}

body.public-body .auth-shell-narrow {
  max-width: 860px;
  margin: 0 auto;
}

body.public-body .auth-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 4px;
}

body.public-body .auth-copy .eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2458f2;
  font-size: 14px;
  letter-spacing: .14em;
}

body.public-body .auth-copy h1 {
  max-width: 13ch;
  color: #0b1020;
  font-size: clamp(48px, 5.1vw, 66px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 850;
}

body.public-body .auth-copy .lead {
  max-width: 560px;
  color: #24345b;
  font-size: 21px;
  line-height: 1.48;
}

body.public-body .auth-points {
  display: grid;
  gap: 14px;
  width: min(100%, 450px);
  margin-top: 14px;
}

body.public-body .auth-points > div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 96px;
  padding: 16px 18px;
  border: 1px solid rgba(33, 72, 154, .14);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 34px -32px rgba(24, 57, 140, .35);
}

body.public-body .auth-point-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: #f0f3ff;
  color: #2458f2;
  font-size: 31px;
}

body.public-body .auth-points strong {
  display: block;
  margin-bottom: 2px;
  color: #0b1020;
  font-size: 18px;
  line-height: 1.24;
  font-weight: 850;
}

body.public-body .auth-points > div > span:last-child > span,
body.public-body .oauth-copy p,
body.public-body .auth-footer {
  color: #53617d;
  font-size: 15px;
  line-height: 1.42;
}

.auth-svg-icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-orbit-visual {
  position: relative;
  z-index: 0;
  min-width: 0;
  min-height: 380px;
  display: grid;
  place-items: center;
  overflow: visible;
}

.auth-orbit {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
}

.auth-orbit::before,
.auth-orbit::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1.5px dashed rgba(36, 88, 242, .28);
  border-radius: 50%;
  transform: rotate(-14deg) scaleX(1.22);
}

.auth-orbit::after {
  transform: rotate(28deg) scaleX(1.18);
}

.auth-core {
  position: absolute;
  inset: 106px;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(36, 88, 242, .18);
  background: radial-gradient(circle at 50% 42%, #f8fbff 0%, #eaf2ff 100%);
  color: #2458f2;
  font-size: 86px;
  box-shadow: inset 0 0 0 18px rgba(36, 88, 242, .035), 0 28px 46px -34px rgba(24, 57, 140, .58);
}

.auth-feather-icon {
  fill: rgba(36, 88, 242, .16);
  stroke-width: 1.35;
}

.auth-core .auth-feather-icon {
  width: 88px;
  height: 88px;
  transform: rotate(-9deg);
}

.auth-orbit-tile {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(33, 72, 154, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  color: #2458f2;
  font-size: 32px;
  box-shadow: 0 18px 38px -30px rgba(24, 57, 140, .42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.auth-orbit-tile.tile-user {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.auth-orbit-tile.tile-shield {
  left: 10px;
  top: 118px;
}

.auth-orbit-tile.tile-link {
  right: 0;
  top: 176px;
}

.auth-orbit-tile.tile-folder {
  left: 128px;
  bottom: 18px;
}

.auth-orbit-dot {
  position: absolute;
  z-index: 4;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #355df7;
}

.auth-orbit-dot.dot-one {
  left: 76px;
  top: 92px;
}

.auth-orbit-dot.dot-two {
  right: 54px;
  top: 132px;
}

body.public-body .auth-card {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  min-height: 520px;
  border: 1px solid rgba(33, 72, 154, .14);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 26px 52px -36px rgba(13, 24, 56, .34);
}

body.public-body .auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.public-body .auth-form label {
  display: grid;
  gap: 8px;
}

body.public-body .auth-form label > span:first-child {
  color: #25314d;
  font-size: 14px;
  font-weight: 750;
}

body.public-body .auth-form input[type="email"],
body.public-body .auth-form input[type="password"] {
  min-height: 56px;
  border: 1px solid rgba(28, 45, 80, .22);
  border-radius: 12px;
  background: #ffffff;
  color: #0b1020;
  font-size: 16px;
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, .02);
}

body.public-body .auth-form input::placeholder {
  color: #8a94aa;
}

body.public-body .password-input-row {
  position: relative;
  display: flex;
  align-items: center;
}

body.public-body .password-input-row input {
  flex: 1 1 auto;
  padding-right: 76px;
}

body.public-body .password-input-row .password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  flex: 0 0 auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2458f2;
  font-weight: 800;
  transform: translateY(-50%);
}

body.public-body .password-strength {
  min-height: 22px;
  color: #53617d;
  font-size: 13.5px;
}

body.public-body .auth-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ps-text-muted);
  font-size: 14.5px;
}

body.public-body .auth-checkbox input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
}

body.public-body .auth-card .button:not(.oauth-button) {
  min-height: 52px;
  margin-top: 6px;
  border-radius: 999px;
  background: #081025;
  color: #ffffff;
  font-size: 16px;
  font-weight: 850;
  box-shadow: 0 18px 36px -28px rgba(8, 16, 37, .9);
}

body.public-body .auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  color: #53617d;
  font-size: 14px;
}

body.public-body .auth-divider::before,
body.public-body .auth-divider::after {
  content: "";
  height: 1px;
  background: var(--ps-line);
}

body.public-body .oauth-copy {
  display: none;
}

body.public-body .auth-card .button.oauth-button:not(.secondary):not(.ghost):not(.link-button) {
  position: relative;
  width: 100%;
  min-height: 50px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  border: 1px solid rgba(28, 45, 80, .18);
  border-radius: 10px;
  background: #ffffff;
  color: #0b1020;
  font-weight: 850;
  box-shadow: none;
}

body.public-body .auth-card .button.oauth-button:not(.secondary):not(.ghost):not(.link-button):hover {
  background: #f8fbff;
  color: #0b1020;
  border-color: rgba(36, 88, 242, .26);
  box-shadow: none;
}

body.public-body .auth-google-icon {
  width: 22px;
  height: 22px;
}

body.public-body .oauth-button span {
  text-align: center;
}

body.public-body .auth-footer {
  margin-top: 4px;
}

body.public-body .auth-footer + .auth-footer {
  margin-top: -6px;
}

body.public-body .auth-footer a {
  color: #2458f2;
  font-weight: 750;
}

body.public-body:has(.auth-shell) .public-topbar-actions .public-button-primary {
  background: linear-gradient(135deg, #1f57f5 0%, #315eef 54%, #243fd8 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px -24px rgba(31, 87, 245, .8);
}

:root[data-theme="dark"] body.public-body .auth-copy h1,
:root[data-theme="dark"] body.public-body .auth-points strong,
:root[data-theme="dark"] body.public-body .auth-form label > span:first-child,
:root[data-theme="dark"] body.public-body .auth-form input[type="email"],
:root[data-theme="dark"] body.public-body .auth-form input[type="password"],
:root[data-theme="dark"] body.public-body .oauth-button {
  color: var(--ps-text);
}

:root[data-theme="dark"] body.public-body .auth-copy .lead,
:root[data-theme="dark"] body.public-body .auth-points > div > span:last-child > span,
:root[data-theme="dark"] body.public-body .auth-footer,
:root[data-theme="dark"] body.public-body .auth-divider {
  color: var(--ps-text-soft);
}

:root[data-theme="dark"] body.public-body .auth-points > div,
:root[data-theme="dark"] body.public-body .auth-card,
:root[data-theme="dark"] body.public-body .auth-form input[type="email"],
:root[data-theme="dark"] body.public-body .auth-form input[type="password"],
:root[data-theme="dark"] body.public-body .oauth-button,
:root[data-theme="dark"] .auth-core,
:root[data-theme="dark"] .auth-orbit-tile {
  background: var(--ps-surface);
  border-color: var(--ps-line);
}

@media (max-width: 1240px) {
  body.public-body .auth-shell {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  }

  .auth-orbit-visual {
    display: none;
  }
}

@media (max-width: 860px) {
  body.public-body .auth-copy h1 {
    font-size: 42px;
  }

  body.public-body .auth-copy .lead {
    font-size: 17px;
  }

  body.public-body .auth-points {
    width: 100%;
  }

  body.public-body .auth-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  body.public-body .auth-points > div {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    min-height: 88px;
    padding: 14px;
  }

  body.public-body .auth-point-icon {
    width: 48px;
    height: 48px;
    font-size: 27px;
  }

  body.public-body .auth-points strong {
    font-size: 16px;
  }

  body.public-body .auth-points > div > span:last-child > span,
  body.public-body .auth-footer {
    font-size: 14px;
  }

  .auth-orbit {
    width: min(286px, 78vw);
  }

  .auth-core {
    inset: 76px;
  }

  .auth-orbit-tile {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .auth-orbit-tile.tile-shield {
    top: 86px;
  }

  .auth-orbit-tile.tile-link {
    top: 130px;
  }

  .auth-orbit-tile.tile-folder {
    left: 84px;
  }
}

/* Centered public states: errors, message, unavailable, feedback */
body.public-body .auth:not(.auth-shell) {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

body.public-body .auth:not(.auth-shell) .notice { text-align: left; width: 100%; }
body.public-body .public-request-ref { margin-top: 8px; font-size: 13px; opacity: .72; }

/* Policy */
body.public-body .policy-shell {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

body.public-body .policy-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.public-body .policy-hero h1 { font-size: clamp(32px, 5vw, 46px); }

body.public-body .policy-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: var(--ps-surface);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
}

body.public-body .policy-card section {
  border-bottom: 1px solid var(--ps-line);
  padding-bottom: 18px;
}

body.public-body .policy-card section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body.public-body .policy-card h2 { font-size: 20px; margin-bottom: 10px; }
body.public-body .policy-card p,
body.public-body .policy-card li { color: var(--ps-text-soft); line-height: 1.72; font-size: 15.5px; }
body.public-body .policy-card ul { padding-left: 1.2rem; }

/* Support */
body.public-body .support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

body.public-body .support-panel {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.public-body .support-panel h2 {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.15;
}

body.public-body .support-panel p {
  font-size: 15.5px;
  line-height: 1.62;
}

body.public-body .faq-panel {
  padding: 26px;
}

body.public-body .section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

body.public-body .faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

body.public-body .faq-grid article {
  padding: 16px;
  border-radius: var(--ps-radius);
  background: var(--ps-bg-soft);
  border: 1px solid var(--ps-line);
  font-size: 15px;
  line-height: 1.58;
}

body.public-body .faq-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ps-text);
}

body.public-body .public-contact-band {
  padding: clamp(26px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

/* Unified public conversion pages: pricing and support */
.synced-public-hero {
  position: relative;
  overflow: hidden;
  margin: calc(clamp(24px, 4vw, 56px) * -1) calc(clamp(16px, 4vw, 32px) * -1) 0;
  padding: 84px clamp(18px, 4vw, 56px) 70px;
  background:
    radial-gradient(circle at 78% 42%, rgba(61, 103, 255, .14), transparent 25%),
    radial-gradient(circle at 16% 24%, rgba(40, 88, 210, .07), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 62%, #f8fbff 100%);
  border-bottom: 1px solid rgba(33, 74, 160, .07);
}

.synced-public-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(40, 88, 210, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 88, 210, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, transparent 82%);
}

.synced-public-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .72fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.synced-hero-copy,
.pricing-preview-card,
.support-preview-card {
  position: relative;
  z-index: 1;
}

.synced-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.synced-hero-copy h1 {
  max-width: 15ch;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 850;
}

.synced-hero-copy p {
  max-width: 60ch;
  color: #24345b;
  font-size: 19px;
  line-height: 1.7;
  letter-spacing: 0;
}

.synced-hero-copy p.muted {
  color: #5b6680;
}

.pricing-preview-card,
.support-preview-card {
  border: 1px solid rgba(33, 72, 154, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 34px 80px -50px rgba(24, 57, 140, .58), 0 22px 52px -46px rgba(22, 45, 110, .4);
}

.pricing-preview-card {
  padding: 26px;
  display: grid;
  gap: 16px;
}

.pricing-preview-head,
.support-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(33, 72, 154, .10);
}

.pricing-preview-head strong,
.support-preview-header strong {
  color: #172654;
  font-size: 18px;
}

.pricing-preview-head span,
.support-preview-header span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #285cf6;
  font-size: 12px;
  font-weight: 850;
}

.pricing-preview-metric {
  padding: 18px;
  border: 1px solid rgba(33, 72, 154, .11);
  border-radius: 8px;
  background: #ffffff;
}

.pricing-preview-metric span,
.support-ticket-row small {
  display: block;
  color: #6e7891;
  font-size: 12px;
  font-weight: 750;
}

.pricing-preview-metric strong {
  display: block;
  margin-top: 6px;
  color: #10204b;
  font-size: 30px;
  line-height: 1.1;
}

.pricing-preview-checks {
  display: grid;
  gap: 10px;
  color: #405073;
  font-size: 13px;
  font-weight: 750;
}

.support-preview-card {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.support-ticket-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(33, 72, 154, .11);
  border-radius: 8px;
  background: #ffffff;
}

.support-ticket-row > span {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #eef4ff;
  color: #285cf6;
  font-size: 13px;
  font-weight: 900;
}

.support-ticket-row strong {
  color: #172654;
  font-size: 15px;
}

body.public-body .plans {
  gap: 22px;
}

body.public-body .plan,
body.public-body .support-panel,
body.public-body .faq-panel,
body.public-body .synced-final-card {
  border-radius: 8px;
  border-color: rgba(33, 72, 154, .12);
  background: #ffffff;
  box-shadow: 0 18px 40px -34px rgba(33, 72, 154, .36);
}

body.public-body .plan.featured {
  border-color: rgba(38, 91, 240, .42);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  box-shadow: 0 26px 54px -36px rgba(38, 91, 240, .55);
}

body.public-body .price {
  letter-spacing: 0;
  background: linear-gradient(100deg, #2d66ff 0%, #365dea 47%, #7a4cf4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.public-body .plan > .button,
body.public-body .checkout-form .button,
body.public-body .support-panel .button,
body.public-body .synced-final-card .button {
  min-height: 50px;
  border-radius: 8px;
  font-weight: 850;
}

body.public-body .plan > .button,
body.public-body .checkout-form .button:not(.secondary),
body.public-body .synced-final-card .button:not(.secondary) {
  background: linear-gradient(135deg, #1f57f5 0%, #315eef 54%, #243fd8 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px -24px rgba(31, 87, 245, .8);
}

body.public-body .early-pricing {
  border-radius: 8px;
  border-color: rgba(33, 72, 154, .12);
  background: #f7faff;
}

body.public-body .support-grid {
  gap: 22px;
}

body.public-body .support-panel {
  padding: 26px;
}

body.public-body .support-panel .eyebrow {
  letter-spacing: 0;
  text-transform: none;
}

body.public-body .faq-panel {
  padding: clamp(26px, 4vw, 38px);
}

body.public-body .faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

body.public-body .faq-grid article {
  border-radius: 8px;
  border-color: rgba(33, 72, 154, .10);
  background: #f9fbff;
}

body.public-body .plan-badge,
body.public-body .save-badge {
  border-radius: 999px;
  background: #eef4ff;
  color: #285cf6;
}

body.public-body .support-panel h2 {
  letter-spacing: 0;
}

body.public-body:has(.synced-public-hero) .public-footer {
  margin-top: 0;
  background: #ffffff;
}

:root[data-theme="dark"] .synced-public-hero {
  background:
    radial-gradient(circle at 78% 42%, rgba(61, 103, 255, .18), transparent 25%),
    radial-gradient(circle at 16% 24%, rgba(40, 88, 210, .12), transparent 22%),
    linear-gradient(180deg, #07080b 0%, #0a1020 100%);
}

:root[data-theme="dark"] .synced-hero-copy p {
  color: var(--ps-text-soft);
}

:root[data-theme="dark"] .pricing-preview-card,
:root[data-theme="dark"] .support-preview-card,
:root[data-theme="dark"] body.public-body .plan,
:root[data-theme="dark"] body.public-body .support-panel,
:root[data-theme="dark"] body.public-body .faq-panel {
  background: var(--ps-surface);
  border-color: var(--ps-line);
}

@media (max-width: 1100px) {
  .synced-public-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .synced-public-hero {
    margin-inline: calc(clamp(16px, 4vw, 32px) * -1);
    padding: 54px 18px 48px;
  }

  .synced-hero-copy h1 {
    font-size: 42px;
  }

  .synced-hero-copy p {
    font-size: 17px;
  }

  .pricing-preview-head,
  .support-preview-header {
    align-items: flex-start;
    flex-direction: column;
  }

  body.public-body .plans,
  body.public-body .support-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing page reference redesign */
body.public-body:has(.pricing-hero) .public-main {
  gap: clamp(28px, 3.1vw, 40px);
  padding-top: clamp(34px, 5vw, 64px);
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: clamp(38px, 5.5vw, 72px);
  align-items: center;
}

body.public-body .pricing-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 760px;
}

body.public-body .pricing-head .home-kicker {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2458f2;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 14px;
}

body.public-body .pricing-head h1 {
  max-width: 20ch;
  font-size: clamp(42px, 4.4vw, 56px);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 850;
  text-wrap: balance;
}

body.public-body .pricing-head p {
  max-width: 60ch;
  color: #24345b;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.public-body .pricing-head p.muted {
  color: #405073;
}

.pricing-svg-icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-orbit-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.pricing-orbit {
  position: relative;
  width: min(400px, 86vw);
  aspect-ratio: 1;
}

.pricing-orbit::before,
.pricing-orbit::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1.5px dashed rgba(36, 88, 242, .26);
  border-radius: 50%;
  transform: rotate(-16deg) scaleX(1.22);
}

.pricing-orbit::after {
  transform: rotate(28deg) scaleX(1.18);
}

.pricing-core {
  position: absolute;
  inset: 106px;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(36, 88, 242, .18);
  background: radial-gradient(circle at 50% 42%, #f8fbff 0%, #eaf2ff 100%);
  color: #2458f2;
  font-size: 88px;
  box-shadow: inset 0 0 0 18px rgba(36, 88, 242, .035), 0 28px 46px -34px rgba(24, 57, 140, .58);
}

.pricing-feather-icon {
  fill: url("#pricing-feather-gradient");
  stroke-width: 1.15;
}

.pricing-core .pricing-feather-icon {
  width: 86px;
  height: 86px;
  fill: #4168f7;
  stroke: #19b3ff;
}

.pricing-orbit-tile {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(33, 72, 154, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  color: #2458f2;
  font-size: 32px;
  box-shadow: 0 18px 38px -30px rgba(24, 57, 140, .42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pricing-orbit-tile.tile-team {
  left: 20px;
  top: 120px;
}

.pricing-orbit-tile.tile-shield {
  right: 42px;
  top: 20px;
}

.pricing-orbit-tile.tile-link {
  right: 0;
  top: 190px;
}

.pricing-orbit-tile.tile-folder {
  left: 102px;
  bottom: 18px;
}

.pricing-orbit-dot {
  position: absolute;
  z-index: 4;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5d7dff;
}

.pricing-orbit-dot.dot-one {
  right: 66px;
  top: 86px;
}

.pricing-orbit-dot.dot-two {
  right: 28px;
  top: 172px;
}

body.public-body .pricing-intro {
  display: grid;
  grid-template-columns: minmax(0, .33fr) minmax(0, .67fr);
  gap: 0;
  align-items: center;
  min-height: 96px;
  padding: 0;
  border: 1px solid rgba(36, 88, 242, .22);
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fbff 0%, #f3f7ff 100%);
  box-shadow: none;
  overflow: hidden;
}

body.public-body .pricing-intro > div {
  min-height: 96px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

body.public-body .pricing-intro > div + div {
  border-left: 1px solid rgba(36, 88, 242, .18);
}

.pricing-intro-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #2458f2;
  font-size: 24px;
}

body.public-body .pricing-intro strong,
body.public-body .pricing-intro span:not(.pricing-intro-icon) {
  max-width: none;
  color: #24345b;
  font-size: 15px;
  line-height: 1.58;
}

body.public-body .pricing-intro strong {
  color: #172654;
  font-weight: 700;
}

body.public-body:has(.pricing-hero) .plans {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

body.public-body:has(.pricing-hero) .plan {
  min-height: 0;
  padding: 26px 24px;
  gap: 11px;
  border-radius: 14px;
  border-color: rgba(33, 72, 154, .14);
  box-shadow: 0 20px 42px -36px rgba(33, 72, 154, .42);
}

body.public-body:has(.pricing-hero) .plan.featured {
  border-color: rgba(38, 91, 240, .55);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  box-shadow: 0 30px 60px -38px rgba(38, 91, 240, .65);
}

body.public-body:has(.pricing-hero) .plan h2 {
  color: #0b1020;
  font-size: 22px;
  letter-spacing: 0;
}

body.public-body:has(.pricing-hero) .price-stack {
  display: grid;
  gap: 5px;
}

body.public-body:has(.pricing-hero) .standard-price {
  gap: 5px;
  font-size: 12px;
  color: #526184;
}

body.public-body:has(.pricing-hero) .price {
  color: #0b1020;
  background: none;
  font-size: 42px;
  letter-spacing: -0.025em;
  -webkit-background-clip: initial;
  background-clip: initial;
}

body.public-body:has(.pricing-hero) .plan-meta {
  color: #526184;
  font-size: 13px;
}

body.public-body:has(.pricing-hero) .plan-badge,
body.public-body:has(.pricing-hero) .save-badge {
  justify-self: start;
  align-self: flex-start;
  border-radius: 8px;
  border: 1px solid rgba(36, 88, 242, .14);
  background: #eef4ff;
  color: #2458f2;
  font-size: 12px;
  font-weight: 850;
}

body.public-body:has(.pricing-hero) .save-badge {
  border-color: rgba(23, 160, 82, .12);
  background: #dcf8ea;
  color: #119753;
}

body.public-body:has(.pricing-hero) .plan-limit {
  position: relative;
  min-height: 30px;
  padding: 0 0 0 30px;
  border-top: 0;
  color: #24345b;
  font-size: 12.5px;
  line-height: 1.48;
}

body.public-body:has(.pricing-hero) .plan-limit::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
  color: #2458f2;
  font-size: 12px;
  font-weight: 900;
}

body.public-body:has(.pricing-hero) .plan-limit strong {
  color: #0b1020;
}

body.public-body:has(.pricing-hero) .plan-footnote,
body.public-body:has(.pricing-hero) .plan-unavailable {
  color: #526184;
  font-size: 12.5px;
  line-height: 1.5;
}

body.public-body:has(.pricing-hero) .plan-footnote {
  margin-top: 4px;
}

body.public-body:has(.pricing-hero) .checkout-form {
  margin-top: auto;
  gap: 12px;
}

body.public-body:has(.pricing-hero) .checkout-disclaimer {
  color: #526184;
  font-size: 11.5px;
  line-height: 1.45;
}

body.public-body:has(.pricing-hero) .plan > .button,
body.public-body:has(.pricing-hero) .checkout-form .button {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  font-size: 13.5px;
  background: #071027;
  color: #ffffff;
  box-shadow: 0 18px 34px -26px rgba(7, 16, 39, .75);
}

body.public-body:has(.pricing-hero) .checkout-form .button.secondary {
  background: #ffffff;
  color: #2458f2;
  border-color: rgba(36, 88, 242, .24);
  box-shadow: none;
}

body.public-body:has(.pricing-hero) .support-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 190px;
  padding: 34px 42px;
  border: 1px solid rgba(36, 88, 242, .18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 70%, rgba(36, 88, 242, .08), transparent 24%),
    linear-gradient(135deg, #f8fbff 0%, #f3f7ff 100%);
  box-shadow: none;
}

body.public-body:has(.pricing-hero) .support-panel::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: -36px;
  width: 170px;
  height: 230px;
  opacity: .28;
  background:
    linear-gradient(135deg, transparent 47%, #2458f2 48% 52%, transparent 53%),
    radial-gradient(ellipse at 52% 5%, #2458f2 0 8%, transparent 9%),
    linear-gradient(160deg, transparent 15%, #2458f2 16% 19%, transparent 20% 100%);
  border-radius: 90% 0 90% 0;
  transform: rotate(14deg);
}

.pricing-support-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(33, 72, 154, .08);
  background: #ffffff;
  color: #0b1020;
  font-size: 50px;
  box-shadow: 0 20px 44px -34px rgba(24, 57, 140, .55);
}

.pricing-wordpress-icon {
  width: 56px;
  height: 56px;
  stroke-width: 1.4;
}

.pricing-support-copy {
  position: relative;
  z-index: 1;
}

body.public-body:has(.pricing-hero) .support-panel .eyebrow {
  color: #2458f2;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.public-body:has(.pricing-hero) .support-panel h2 {
  margin-top: 10px;
  max-width: 70ch;
  color: #0b1020;
  font-size: 24px;
  line-height: 1.28;
}

body.public-body:has(.pricing-hero) .support-panel p {
  max-width: 86ch;
  margin-top: 10px;
  color: #405073;
  font-size: 15px;
  line-height: 1.62;
}

body.public-body:has(.pricing-hero) .support-panel .actions {
  margin-top: 22px;
  gap: 30px;
}

body.public-body:has(.pricing-hero) .support-panel .button.secondary {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2458f2;
  box-shadow: none;
  font-weight: 850;
}

body.public-body:has(.pricing-hero) .public-topbar-actions .public-button-primary {
  background: linear-gradient(135deg, #1f57f5 0%, #315eef 54%, #243fd8 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px -24px rgba(31, 87, 245, .8);
}

:root[data-theme="dark"] .pricing-hero .pricing-head p,
:root[data-theme="dark"] body.public-body .pricing-intro strong,
:root[data-theme="dark"] body.public-body .pricing-intro span:not(.pricing-intro-icon),
:root[data-theme="dark"] body.public-body:has(.pricing-hero) .plan-limit,
:root[data-theme="dark"] body.public-body:has(.pricing-hero) .support-panel p {
  color: var(--ps-text-soft);
}

:root[data-theme="dark"] .pricing-core,
:root[data-theme="dark"] .pricing-orbit-tile,
:root[data-theme="dark"] body.public-body .pricing-intro,
:root[data-theme="dark"] body.public-body:has(.pricing-hero) .plan,
:root[data-theme="dark"] body.public-body:has(.pricing-hero) .support-panel,
:root[data-theme="dark"] .pricing-support-mark {
  background: var(--ps-surface);
  border-color: var(--ps-line);
}

:root[data-theme="dark"] body.public-body:has(.pricing-hero) .plan h2,
:root[data-theme="dark"] body.public-body:has(.pricing-hero) .price,
:root[data-theme="dark"] body.public-body:has(.pricing-hero) .plan-limit strong,
:root[data-theme="dark"] body.public-body:has(.pricing-hero) .support-panel h2 {
  color: var(--ps-text);
}

@media (max-width: 1180px) {
  body.public-body:has(.pricing-hero) .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .pricing-hero,
  body.public-body .pricing-intro,
  body.public-body:has(.pricing-hero) .support-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  body.public-body .pricing-intro > div + div {
    border-left: 0;
    border-top: 1px solid rgba(36, 88, 242, .18);
  }
}

@media (max-width: 760px) {
  body.public-body:has(.pricing-hero) .public-main {
    padding-top: 28px;
  }

  body.public-body .pricing-head h1 {
    font-size: 40px;
  }

  body.public-body .pricing-head p {
    font-size: 16px;
  }

  .pricing-orbit-visual {
    min-height: 340px;
  }

  .pricing-orbit {
    width: min(330px, 92vw);
  }

  .pricing-core {
    inset: 92px;
  }

  .pricing-core .pricing-feather-icon {
    width: 68px;
    height: 68px;
  }

  .pricing-orbit-tile {
    width: 64px;
    height: 64px;
    font-size: 26px;
  }

  .pricing-orbit-tile.tile-team {
    left: 4px;
    top: 112px;
  }

  .pricing-orbit-tile.tile-shield {
    right: 28px;
    top: 14px;
  }

  .pricing-orbit-tile.tile-link {
    right: 0;
    top: 164px;
  }

  .pricing-orbit-tile.tile-folder {
    left: 82px;
    bottom: 14px;
  }

  body.public-body:has(.pricing-hero) .plans {
    grid-template-columns: 1fr;
  }

  body.public-body:has(.pricing-hero) .plan {
    min-height: 0;
  }

  body.public-body .pricing-intro > div {
    padding: 20px;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  body.public-body:has(.pricing-hero) .support-panel {
    padding: 28px 24px;
  }

  body.public-body:has(.pricing-hero) .support-panel .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

/* Acceptable Use policy reference redesign */
body.public-body:has(.acceptable-shell) .public-main {
  gap: clamp(28px, 3.1vw, 40px);
  padding-top: clamp(34px, 5vw, 64px);
}

.acceptable-shell {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.1vw, 40px);
}

.acceptable-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: clamp(38px, 5.5vw, 72px);
  align-items: center;
}

.acceptable-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

body.public-body .acceptable-hero .eyebrow {
  color: #2458f2;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .12em;
}

body.public-body .acceptable-hero h1 {
  max-width: 16ch;
  color: #0b1020;
  font-size: clamp(42px, 4.4vw, 56px);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 850;
}

body.public-body .acceptable-hero p {
  max-width: 70ch;
  color: #24345b;
  font-size: 18px;
  line-height: 1.7;
}

body.public-body .acceptable-hero p.small {
  color: #526184;
  font-size: 16px;
}

.policy-svg-icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.acceptable-orbit-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.acceptable-orbit {
  position: relative;
  width: min(400px, 86vw);
  aspect-ratio: 1;
}

.acceptable-orbit::before,
.acceptable-orbit::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1.5px dashed rgba(36, 88, 242, .26);
  border-radius: 50%;
  transform: rotate(-16deg) scaleX(1.22);
}

.acceptable-orbit::after {
  transform: rotate(28deg) scaleX(1.18);
}

.acceptable-core {
  position: absolute;
  inset: 106px;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(36, 88, 242, .18);
  background: radial-gradient(circle at 50% 42%, #f8fbff 0%, #eaf2ff 100%);
  color: #2458f2;
  font-size: 92px;
  box-shadow: inset 0 0 0 18px rgba(36, 88, 242, .035), 0 28px 46px -34px rgba(24, 57, 140, .58);
}

.acceptable-core .policy-shield-doc-icon {
  width: 88px;
  height: 88px;
  stroke: #2458f2;
  filter: drop-shadow(0 10px 12px rgba(36, 88, 242, .18));
}

.acceptable-orbit-tile {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(33, 72, 154, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  color: #2458f2;
  font-size: 32px;
  box-shadow: 0 18px 38px -30px rgba(24, 57, 140, .42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.acceptable-orbit-tile.tile-team {
  left: 20px;
  top: 76px;
}

.acceptable-orbit-tile.tile-link {
  right: 0;
  top: 170px;
}

.acceptable-orbit-tile.tile-folder {
  left: 88px;
  bottom: 24px;
}

.acceptable-orbit-dot {
  position: absolute;
  z-index: 4;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5d7dff;
}

.acceptable-orbit-dot.dot-one {
  right: 72px;
  top: 54px;
}

.acceptable-orbit-dot.dot-two {
  left: 44px;
  top: 170px;
}

.acceptable-orbit-dot.dot-three {
  right: 82px;
  bottom: 78px;
}

.acceptable-card {
  padding: 0 40px;
  border: 1px solid rgba(33, 72, 154, .12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 54px -46px rgba(24, 57, 140, .46);
}

.acceptable-rule {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 36px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(33, 72, 154, .13);
}

.acceptable-rule:last-child {
  border-bottom: 0;
}

.acceptable-rule-icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(33, 72, 154, .08);
  background: #f2f6ff;
  color: #2458f2;
  font-size: 42px;
  box-shadow: inset 0 0 0 14px rgba(255, 255, 255, .42);
}

body.public-body .acceptable-rule h2 {
  margin: 0 0 12px;
  color: #0b1020;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: 0;
}

body.public-body .acceptable-rule p,
body.public-body .acceptable-rule li {
  color: #24345b;
  font-size: 16px;
  line-height: 1.72;
}

body.public-body .acceptable-rule ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

body.public-body .acceptable-rule li {
  margin: 4px 0;
}

.acceptable-help-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 128px;
  padding: 24px 32px;
  border: 1px solid rgba(36, 88, 242, .18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 70%, rgba(36, 88, 242, .08), transparent 24%),
    linear-gradient(135deg, #f8fbff 0%, #f3f7ff 100%);
}

.acceptable-help-band::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: -46px;
  width: 150px;
  height: 210px;
  opacity: .26;
  background:
    linear-gradient(135deg, transparent 47%, #2458f2 48% 52%, transparent 53%),
    radial-gradient(ellipse at 52% 5%, #2458f2 0 8%, transparent 9%),
    linear-gradient(160deg, transparent 15%, #2458f2 16% 19%, transparent 20% 100%);
  border-radius: 90% 0 90% 0;
  transform: rotate(14deg);
}

.acceptable-help-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #2458f2;
  font-size: 40px;
  box-shadow: 0 20px 44px -34px rgba(24, 57, 140, .55);
}

.acceptable-help-band > div,
.acceptable-help-band .actions {
  position: relative;
  z-index: 1;
}

body.public-body .acceptable-help-band h2 {
  color: #0b1020;
  font-size: 22px;
  letter-spacing: 0;
}

body.public-body .acceptable-help-band p {
  margin-top: 6px;
  color: #405073;
  font-size: 14px;
}

body.public-body .acceptable-help-band .actions {
  gap: 12px;
}

body.public-body .acceptable-help-band .button {
  min-height: 48px;
  border-radius: 8px;
  padding: 13px 22px;
  background: linear-gradient(135deg, #1f57f5 0%, #315eef 54%, #243fd8 100%);
  color: #ffffff;
  font-weight: 850;
  box-shadow: 0 18px 36px -24px rgba(31, 87, 245, .8);
}

body.public-body .acceptable-help-band .button.secondary {
  background: #ffffff;
  color: #2458f2;
  border-color: rgba(36, 88, 242, .28);
  box-shadow: none;
}

body.public-body:has(.acceptable-shell) .public-topbar-actions .public-button-primary {
  background: linear-gradient(135deg, #1f57f5 0%, #315eef 54%, #243fd8 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px -24px rgba(31, 87, 245, .8);
}

:root[data-theme="dark"] .acceptable-hero p,
:root[data-theme="dark"] body.public-body .acceptable-rule p,
:root[data-theme="dark"] body.public-body .acceptable-rule li,
:root[data-theme="dark"] body.public-body .acceptable-help-band p {
  color: var(--ps-text-soft);
}

:root[data-theme="dark"] .acceptable-core,
:root[data-theme="dark"] .acceptable-orbit-tile,
:root[data-theme="dark"] .acceptable-card,
:root[data-theme="dark"] .acceptable-rule-icon,
:root[data-theme="dark"] .acceptable-help-band,
:root[data-theme="dark"] .acceptable-help-icon {
  background: var(--ps-surface);
  border-color: var(--ps-line);
}

:root[data-theme="dark"] body.public-body .acceptable-hero h1,
:root[data-theme="dark"] body.public-body .acceptable-rule h2,
:root[data-theme="dark"] body.public-body .acceptable-help-band h2 {
  color: var(--ps-text);
}

@media (max-width: 920px) {
  .acceptable-hero,
  .acceptable-help-band {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body.public-body:has(.acceptable-shell) .public-main {
    padding-top: 28px;
  }

  body.public-body .acceptable-hero h1 {
    font-size: 40px;
  }

  body.public-body .acceptable-hero p {
    font-size: 16px;
  }

  .acceptable-orbit-visual {
    min-height: 340px;
    width: 100%;
    overflow: hidden;
  }

  .acceptable-orbit {
    width: min(300px, 78vw);
  }

  .acceptable-core {
    inset: 82px;
  }

  .acceptable-core .policy-shield-doc-icon {
    width: 68px;
    height: 68px;
  }

  .acceptable-orbit-tile {
    width: 64px;
    height: 64px;
    font-size: 26px;
  }

  .acceptable-orbit-tile.tile-team {
    left: 0;
    top: 68px;
  }

  .acceptable-orbit-tile.tile-link {
    right: 0;
    top: 148px;
  }

  .acceptable-orbit-tile.tile-folder {
    left: 68px;
    bottom: 18px;
  }

  .acceptable-card {
    padding: 0 22px;
    border-radius: 18px;
  }

  .acceptable-rule {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 30px 0;
  }

  .acceptable-rule-icon,
  .acceptable-help-icon {
    width: 64px;
    height: 64px;
    font-size: 34px;
  }

  body.public-body .acceptable-rule h2 {
    font-size: 22px;
  }

  body.public-body .acceptable-rule p,
  body.public-body .acceptable-rule li {
    font-size: 15px;
  }

  .acceptable-help-band {
    padding: 24px;
  }

  body.public-body .acceptable-help-band .actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.public-body .acceptable-help-band .button {
    width: 100%;
  }
}

/* Support page reference redesign */
body.public-body:has(.support-hero) .public-main {
  gap: clamp(28px, 3.1vw, 40px);
  padding-top: clamp(34px, 5vw, 64px);
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: clamp(38px, 5.5vw, 72px);
  align-items: center;
}

.support-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

body.public-body .support-hero .home-kicker {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2458f2;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 14px;
}

body.public-body .support-hero h1 {
  max-width: 16ch;
  color: #0b1020;
  font-size: clamp(42px, 4.4vw, 56px);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 850;
  text-wrap: balance;
}

body.public-body .support-hero p {
  max-width: 78ch;
  color: #24345b;
  font-size: 16px;
  line-height: 1.7;
}

.support-svg-icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-orbit-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.support-orbit {
  position: relative;
  width: min(400px, 86vw);
  aspect-ratio: 1;
}

.support-orbit::before,
.support-orbit::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1.5px dashed rgba(36, 88, 242, .26);
  border-radius: 50%;
  transform: rotate(-16deg) scaleX(1.22);
}

.support-orbit::after {
  transform: rotate(28deg) scaleX(1.18);
}

.support-core {
  position: absolute;
  inset: 106px;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(36, 88, 242, .18);
  background: radial-gradient(circle at 50% 42%, #f8fbff 0%, #eaf2ff 100%);
  color: #2458f2;
  font-size: 92px;
  box-shadow: inset 0 0 0 18px rgba(36, 88, 242, .035), 0 28px 46px -34px rgba(24, 57, 140, .58);
}

.support-core .support-svg-icon {
  width: 88px;
  height: 88px;
  stroke-width: 1.45;
}

.support-orbit-tile {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(33, 72, 154, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  color: #2458f2;
  font-size: 32px;
  box-shadow: 0 18px 38px -30px rgba(24, 57, 140, .42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.support-orbit-tile.tile-team {
  left: 20px;
  top: 76px;
}

.support-orbit-tile.tile-link {
  right: 0;
  top: 170px;
}

.support-orbit-tile.tile-folder {
  left: 88px;
  bottom: 24px;
}

.support-orbit-dot {
  position: absolute;
  z-index: 4;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5d7dff;
}

.support-orbit-dot.dot-one {
  right: 72px;
  top: 54px;
}

.support-orbit-dot.dot-two {
  left: 44px;
  top: 170px;
}

.support-orbit-dot.dot-three {
  right: 82px;
  bottom: 78px;
}

body.public-body:has(.support-hero) .support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

body.public-body:has(.support-hero) .support-panel:not(.synced-final-card) {
  min-height: 338px;
  padding: 26px 24px;
  border-radius: 14px;
  border: 1px solid rgba(33, 72, 154, .14);
  background: #ffffff;
  box-shadow: 0 20px 42px -36px rgba(33, 72, 154, .42);
}

body.public-body:has(.support-hero) .support-panel .eyebrow {
  color: #2458f2;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.public-body:has(.support-hero) .support-panel h2 {
  margin-top: 6px;
  color: #0b1020;
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: 0;
}

body.public-body:has(.support-hero) .support-panel p {
  color: #24345b;
  font-size: 15px;
  line-height: 1.62;
}

body.public-body:has(.support-hero) .support-panel p.muted {
  color: #405073;
}

body.public-body:has(.support-hero) .faq-panel {
  padding: 24px 32px 28px;
  border-radius: 14px;
  border: 1px solid rgba(33, 72, 154, .14);
  background: #ffffff;
  box-shadow: none;
}

body.public-body:has(.support-hero) .section-head {
  margin-bottom: 14px;
}

body.public-body:has(.support-hero) .section-head .eyebrow {
  color: #2458f2;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.public-body:has(.support-hero) .section-head h2 {
  margin-top: 6px;
  color: #0b1020;
  font-size: 30px;
  letter-spacing: 0;
}

body.public-body:has(.support-hero) .faq-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

body.public-body:has(.support-hero) .faq-grid article {
  min-height: 226px;
  padding: 18px 18px 20px;
  border-radius: 10px;
  border: 1px solid rgba(33, 72, 154, .12);
  background: #fbfdff;
}

body.public-body:has(.support-hero) .faq-grid strong {
  color: #0b1020;
  font-size: 14px;
  line-height: 1.35;
}

body.public-body:has(.support-hero) .faq-grid p {
  color: #24345b;
  font-size: 14px;
  line-height: 1.55;
}

.support-help-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 128px;
  padding: 24px 32px;
  border: 1px solid rgba(36, 88, 242, .18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 70%, rgba(36, 88, 242, .08), transparent 24%),
    linear-gradient(135deg, #f8fbff 0%, #f3f7ff 100%);
}

.support-help-band::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: -46px;
  width: 150px;
  height: 210px;
  opacity: .26;
  background:
    linear-gradient(135deg, transparent 47%, #2458f2 48% 52%, transparent 53%),
    radial-gradient(ellipse at 52% 5%, #2458f2 0 8%, transparent 9%),
    linear-gradient(160deg, transparent 15%, #2458f2 16% 19%, transparent 20% 100%);
  border-radius: 90% 0 90% 0;
  transform: rotate(14deg);
}

.support-help-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #2458f2;
  font-size: 40px;
  box-shadow: 0 20px 44px -34px rgba(24, 57, 140, .55);
}

.support-help-band > div,
.support-help-band .actions {
  position: relative;
  z-index: 1;
}

body.public-body .support-help-band h2 {
  color: #0b1020;
  font-size: 24px;
  letter-spacing: 0;
}

body.public-body .support-help-band p {
  margin-top: 6px;
  color: #405073;
  font-size: 15px;
}

body.public-body .support-help-band .actions {
  gap: 18px;
}

body.public-body .support-help-band .actions .button:not(.secondary):not(.ghost):not(.link-button) {
  min-height: 48px;
  border-radius: 8px;
  padding: 13px 22px;
  background: linear-gradient(135deg, #1f57f5 0%, #315eef 54%, #243fd8 100%);
  color: #ffffff;
  font-weight: 850;
  box-shadow: 0 18px 36px -24px rgba(31, 87, 245, .8);
}

body.public-body .support-help-band .button.secondary {
  background: #ffffff;
  color: #2458f2;
  border-color: rgba(36, 88, 242, .28);
  box-shadow: none;
}

body.public-body:has(.support-hero) .public-topbar-actions .public-button-primary {
  background: linear-gradient(135deg, #1f57f5 0%, #315eef 54%, #243fd8 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px -24px rgba(31, 87, 245, .8);
}

:root[data-theme="dark"] .support-hero p,
:root[data-theme="dark"] body.public-body:has(.support-hero) .support-panel p,
:root[data-theme="dark"] body.public-body:has(.support-hero) .faq-grid p,
:root[data-theme="dark"] body.public-body .support-help-band p {
  color: var(--ps-text-soft);
}

:root[data-theme="dark"] .support-core,
:root[data-theme="dark"] .support-orbit-tile,
:root[data-theme="dark"] body.public-body:has(.support-hero) .support-panel:not(.synced-final-card),
:root[data-theme="dark"] body.public-body:has(.support-hero) .faq-panel,
:root[data-theme="dark"] body.public-body:has(.support-hero) .faq-grid article,
:root[data-theme="dark"] .support-help-band,
:root[data-theme="dark"] .support-help-icon {
  background: var(--ps-surface);
  border-color: var(--ps-line);
}

:root[data-theme="dark"] body.public-body .support-hero h1,
:root[data-theme="dark"] body.public-body:has(.support-hero) .support-panel h2,
:root[data-theme="dark"] body.public-body:has(.support-hero) .section-head h2,
:root[data-theme="dark"] body.public-body:has(.support-hero) .faq-grid strong,
:root[data-theme="dark"] body.public-body .support-help-band h2 {
  color: var(--ps-text);
}

@media (max-width: 1180px) {
  body.public-body:has(.support-hero) .support-grid,
  body.public-body:has(.support-hero) .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .support-hero,
  .support-help-band {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body.public-body:has(.support-hero) .public-main {
    padding-top: 28px;
  }

  body.public-body .support-hero h1 {
    font-size: 40px;
  }

  body.public-body .support-hero p {
    font-size: 15.5px;
  }

  .support-orbit-visual {
    min-height: 340px;
    width: 100%;
    overflow: hidden;
  }

  .support-orbit {
    width: min(300px, 78vw);
  }

  .support-core {
    inset: 82px;
  }

  .support-core .support-svg-icon {
    width: 68px;
    height: 68px;
  }

  .support-orbit-tile {
    width: 64px;
    height: 64px;
    font-size: 26px;
  }

  .support-orbit-tile.tile-team {
    left: 0;
    top: 68px;
  }

  .support-orbit-tile.tile-link {
    right: 0;
    top: 148px;
  }

  .support-orbit-tile.tile-folder {
    left: 68px;
    bottom: 18px;
  }

  body.public-body:has(.support-hero) .support-grid,
  body.public-body:has(.support-hero) .faq-grid {
    grid-template-columns: 1fr;
  }

  body.public-body:has(.support-hero) .support-panel:not(.synced-final-card),
  body.public-body:has(.support-hero) .faq-grid article {
    min-height: 0;
  }

  body.public-body:has(.support-hero) .faq-panel {
    padding: 24px;
  }

  .support-help-band {
    padding: 24px;
  }

  body.public-body .support-help-band .actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.public-body .support-help-band .button {
    width: 100%;
  }
}

/* Resource and transfer pages */
body.public-body:has(.resource-transfer-page) {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 46%, #ffffff 100%);
}

body.public-body:has(.resource-transfer-page) .public-main {
  max-width: 100%;
  padding: clamp(36px, 5vw, 72px) clamp(16px, 4vw, 48px) clamp(34px, 5vw, 56px);
  overflow: hidden;
  position: relative;
}

body.public-body:has(.resource-transfer-page) .public-topbar-actions .public-button-primary {
  border-color: transparent;
  border-radius: 8px;
  background: linear-gradient(180deg, #2f5bff 0%, #1548f5 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px -18px rgba(18, 71, 255, .76);
}

body.public-body:has(.resource-transfer-page) .public-topbar-actions .public-button-primary:hover {
  background: linear-gradient(180deg, #2451f8 0%, #0e3be0 100%);
  color: #ffffff;
}

body.public-body:has(.resource-transfer-page) .public-topbar-inner,
body.public-body:has(.resource-transfer-page) .public-footer-inner {
  max-width: clamp(1120px, 90vw, 2200px);
}

body.public-body:has(.resource-transfer-page) .public-main::before,
body.public-body:has(.resource-transfer-page) .public-main::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: .72;
}

body.public-body:has(.resource-transfer-page) .public-main::before {
  width: min(440px, 40vw);
  aspect-ratio: 1;
  left: -120px;
  top: 190px;
  border: 1px solid rgba(37, 99, 235, .10);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .06), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 34% 34%, rgba(37, 99, 235, .08), transparent 42%);
}

body.public-body:has(.resource-transfer-page) .public-main::after {
  width: min(390px, 36vw);
  aspect-ratio: 1;
  right: -96px;
  top: 230px;
  border: 1px dashed rgba(37, 99, 235, .16);
  border-radius: 50%;
}

.resource-transfer-page {
  width: min(100%, clamp(1120px, 90vw, 2200px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.resource-transfer-card {
  min-height: clamp(520px, 34vw, 640px);
  display: grid;
  grid-template-columns: minmax(500px, 1.03fr) minmax(380px, .97fr);
  gap: clamp(48px, 5vw, 92px);
  align-items: center;
  padding: clamp(32px, 3.9vw, 64px);
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 18px;
  background:
    radial-gradient(580px 380px at 78% 50%, rgba(37, 99, 235, .09), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .94));
  box-shadow:
    0 28px 70px -34px rgba(15, 23, 42, .30),
    0 12px 26px -20px rgba(15, 23, 42, .20);
}

.resource-transfer-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  min-width: 0;
}

.resource-transfer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #2563ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.resource-transfer-eyebrow-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: #2563ff;
}

.resource-transfer-eyebrow-icon svg,
.resource-meta-strip svg,
.resource-download-badge svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.public-body .resource-transfer-content h1 {
  margin: 6px 0 0;
  max-width: 15ch;
  color: #07112f;
  font-size: clamp(36px, 3.5vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 800;
}

.resource-transfer-filename {
  margin: -2px 0 2px;
  color: #4c5872;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.resource-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.resource-meta-strip div {
  min-width: 0;
  padding: 0 18px;
  border-left: 1px solid rgba(15, 23, 42, .10);
}

.resource-meta-strip div:first-child {
  padding-left: 0;
  border-left: 0;
}

.resource-meta-strip dt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 3px;
  color: #33405a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.resource-meta-strip dt svg {
  width: 22px;
  height: 22px;
  color: #43506a;
  flex: 0 0 auto;
}

.resource-meta-strip dd {
  margin: 0 0 0 34px;
  color: #17213a;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0;
}

.resource-transfer-notice {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 17px 20px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.58;
  letter-spacing: 0;
}

.resource-transfer-notice p {
  margin: 0;
  color: inherit;
}

.resource-transfer-notice a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.resource-transfer-notice-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.resource-transfer-notice-info {
  color: #17213a;
  border: 1px solid rgba(37, 99, 235, .22);
  background: rgba(37, 99, 235, .045);
}

.resource-transfer-notice-info .resource-transfer-notice-icon {
  color: #2357ff;
  border: 2px solid #2357ff;
}

.resource-transfer-notice-error {
  color: #d9151e;
  border: 1px solid rgba(239, 68, 68, .24);
  background: linear-gradient(180deg, rgba(255, 241, 241, .92), rgba(255, 247, 247, .86));
}

.resource-transfer-notice-error .resource-transfer-notice-icon {
  color: #e11d2e;
  border: 2px solid #e11d2e;
  border-radius: 7px;
  transform: rotate(45deg);
}

.resource-transfer-notice-error .resource-transfer-notice-icon::first-letter {
  transform: rotate(-45deg);
}

.resource-transfer-action {
  margin-top: 0;
}

body.public-body .resource-transfer-action .button,
body.public-body .resource-transfer-action-link {
  width: 100%;
  min-height: 56px;
  border-radius: 10px;
  background: linear-gradient(180deg, #2f5bff 0%, #1247ff 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 16px 34px -18px rgba(18, 71, 255, .75);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

body.public-body .resource-transfer-action .button:hover,
body.public-body .resource-transfer-action-link:hover {
  background: linear-gradient(180deg, #2451f8 0%, #0e3be0 100%);
  color: #ffffff;
}

.resource-transfer-status {
  min-height: 22px;
  font-size: 14px;
  letter-spacing: 0;
}

.resource-transfer-subcopy {
  color: #4c5872;
  font-size: 14px;
  letter-spacing: 0;
}

body.public-body .resource-transfer-secondary-action {
  align-self: flex-start;
  padding-inline: 0;
  color: #2357ff;
  background: transparent;
  border: 0;
}

.resource-transfer-visual {
  min-height: clamp(360px, 27vw, 470px);
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}

.resource-orbit {
  position: absolute;
  width: min(clamp(330px, 22vw, 430px), 86%);
  aspect-ratio: 1;
  border: 1.5px dashed rgba(37, 99, 235, .24);
  border-radius: 50%;
}

.resource-orbit span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2f5bff;
  box-shadow: 0 0 0 4px rgba(47, 91, 255, .12);
}

.resource-orbit span:nth-child(1) { left: 18%; top: 12%; }
.resource-orbit span:nth-child(2) { right: 18%; top: 12%; }
.resource-orbit span:nth-child(3) { right: -4px; top: 49%; }
.resource-orbit span:nth-child(4) { left: -4px; top: 43%; }

.resource-doc {
  position: absolute;
  width: clamp(128px, 8.4vw, 162px);
  height: clamp(166px, 10.9vw, 210px);
  right: 20%;
  top: 22%;
  border: 1px solid rgba(37, 99, 235, .22);
  border-radius: 10px 10px 8px 8px;
  background: linear-gradient(180deg, #f7f9ff, #dbe7ff);
  box-shadow: 0 18px 38px -24px rgba(37, 99, 235, .45);
}

.resource-doc::before {
  content: "";
  position: absolute;
  right: -1px;
  top: -1px;
  width: clamp(38px, 2.5vw, 48px);
  height: clamp(38px, 2.5vw, 48px);
  background: linear-gradient(135deg, #d4e1ff 50%, #f5f8ff 50%);
  border-left: 1px solid rgba(37, 99, 235, .18);
  border-bottom: 1px solid rgba(37, 99, 235, .18);
  border-radius: 0 10px 0 8px;
}

.resource-doc::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 48px;
  width: 74px;
  height: 41px;
  border-radius: 999px;
  background:
    linear-gradient(#b7c9ff, #b7c9ff) 0 0 / 44px 5px no-repeat,
    linear-gradient(#b7c9ff, #b7c9ff) 0 17px / 82px 5px no-repeat,
    linear-gradient(#b7c9ff, #b7c9ff) 0 34px / 82px 5px no-repeat;
}

.resource-folder {
  position: relative;
  width: clamp(178px, 11.8vw, 228px);
  height: clamp(118px, 7.8vw, 152px);
  margin-top: 90px;
  margin-left: -42px;
  border: 1px solid rgba(37, 99, 235, .28);
  border-radius: 14px 14px 12px 12px;
  background: linear-gradient(180deg, #b9ceff 0%, #5f8dff 58%, #2f61dc 100%);
  box-shadow:
    0 22px 42px -22px rgba(37, 99, 235, .72),
    inset 0 1px 0 rgba(255, 255, 255, .42);
}

.resource-folder::before {
  content: "";
  position: absolute;
  inset: 24px 14px auto 22px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}

.resource-folder-tab {
  position: absolute;
  left: 20px;
  top: -26px;
  width: clamp(78px, 5.1vw, 100px);
  height: clamp(38px, 2.5vw, 48px);
  border: 1px solid rgba(37, 99, 235, .24);
  border-bottom: 0;
  border-radius: 13px 22px 0 0;
  background: linear-gradient(180deg, #d8e4ff, #9ebcff);
}

.resource-download-badge {
  position: absolute;
  left: 50%;
  top: clamp(48px, 3.2vw, 62px);
  width: clamp(66px, 4.4vw, 84px);
  height: clamp(66px, 4.4vw, 84px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffffff, #edf3ff);
  color: #2f5bff;
  box-shadow: 0 12px 26px -14px rgba(15, 23, 42, .7);
}

.resource-download-badge svg {
  width: clamp(34px, 2.25vw, 44px);
  height: clamp(34px, 2.25vw, 44px);
  stroke-width: 2.3;
}

.resource-cloud {
  position: absolute;
  right: 10%;
  top: 18%;
  width: 72px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(180deg, #edf4ff, #d6e4ff);
  filter: drop-shadow(0 8px 16px rgba(37, 99, 235, .12));
}

.resource-cloud::before,
.resource-cloud::after {
  content: "";
  position: absolute;
  bottom: 10px;
  border-radius: 50%;
  background: inherit;
}

.resource-cloud::before { left: 12px; width: 34px; height: 34px; }
.resource-cloud::after { right: 12px; width: 42px; height: 42px; }

.resource-star {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #c5d3ff;
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
}

.resource-star-a { left: 11%; bottom: 15%; }
.resource-star-b { right: 6%; top: 8%; width: 30px; height: 30px; opacity: .55; }

@media (max-width: 1100px) {
  .resource-transfer-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .resource-transfer-visual {
    order: -1;
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  body.public-body:has(.resource-transfer-page) .public-main {
    padding-top: 22px;
  }

  .resource-transfer-card {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .resource-meta-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .resource-meta-strip div,
  .resource-meta-strip div:first-child {
    padding: 0;
    border-left: 0;
  }

  .resource-transfer-notice {
    grid-template-columns: 26px minmax(0, 1fr);
    padding: 15px 14px;
  }

  .resource-transfer-visual {
    min-height: 220px;
  }

  .resource-orbit {
    width: 230px;
  }

  .resource-doc {
    width: 98px;
    height: 130px;
    right: 18%;
  }

  .resource-folder {
    width: 140px;
    height: 94px;
  }

  .resource-download-badge {
    width: 54px;
    height: 54px;
    top: 38px;
  }
}


/* ---------- 8. Responsive tweaks ----------------------------------------- */

@media (max-width: 860px) {
  .public-nav { display: none; }
  .public-topbar-actions .public-button-ghost:first-child { display: none; }
  .public-footer-inner { grid-template-columns: minmax(0, 1fr); }
  .public-footer-nav { grid-template-columns: repeat(2, 1fr); }
  .public-hero p.lead { font-size: 16px; }
  body.public-body .auth-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .public-footer-nav { grid-template-columns: 1fr; }
  .public-footer-baseline { flex-direction: column; align-items: flex-start; }
  .public-card, .public-plan, .public-auth-card { padding: 22px; }
  .public-cta { flex-direction: column; align-items: flex-start; text-align: left; }
  .compliance-strip { grid-template-columns: 1fr; }
}

body.public-body a:focus-visible,
body.public-body button:focus-visible,
body.public-body input:focus-visible,
body.public-body select:focus-visible,
body.public-body textarea:focus-visible,
body.public-body summary:focus-visible {
  outline: 3px solid var(--ps-ring);
  outline-offset: 2px;
  border-radius: 6px;
}
