/**
 * pSEO landing pages — human-first UI aligned with getmantis.app (dark, Mantis green).
 * Standalone file; no Tailwind. Tuned for readability, touch targets, and conversion.
 */

:root {
  --pseo-bg: #0a0a0a;
  --pseo-bg-elevated: #111111;
  --pseo-fg: #fafafa;
  --pseo-muted: #a1a1a1;
  /* Kept at or above 4.5:1 (WCAG AA body text) on every surface it lands on —
     the page background, the elevated cards, and their tinted hover states. */
  --pseo-muted2: #838383;
  --pseo-border: rgba(255, 255, 255, 0.08);
  --pseo-border-strong: rgba(255, 255, 255, 0.12);
  --pseo-primary: hsl(142, 71%, 45%);
  --pseo-primary-hover: hsl(142, 71%, 52%);
  --pseo-primary-fg: #0a0a0a;
  --pseo-glow: hsl(142, 71%, 45%, 0.12);
  --pseo-radius: 1.25rem;
  --pseo-radius-sm: 0.875rem;
  --pseo-max: 40rem;
  --pseo-bar: rgba(10, 10, 10, 0.72);
  --pseo-safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .pseo-feature,
  .pseo-cta {
    transition: none !important;
  }
}

body.pseo-page {
  margin: 0;
  min-height: 100vh;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  background: var(--pseo-bg);
  color: var(--pseo-fg);
  line-height: 1.6;
  font-size: 1rem;
}

/* Ambient background (subtle, non-distracting) */
body.pseo-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--pseo-glow), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(34, 197, 94, 0.04), transparent 45%),
    var(--pseo-bg);
}

/* Skip link */
.pseo-skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--pseo-primary);
  color: var(--pseo-primary-fg);
  font-weight: 600;
  border-radius: var(--pseo-radius-sm);
  text-decoration: none;
}

.pseo-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Top bar */
.pseo-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--pseo-border);
  background: var(--pseo-bar);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pseo-shell {
  width: 100%;
  max-width: calc(var(--pseo-max) + 2.5rem);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.pseo-shell--bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.pseo-logo {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--pseo-fg) !important;
  text-decoration: none !important;
}

.pseo-logo:hover {
  color: var(--pseo-primary) !important;
}

.pseo-pill {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pseo-muted);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--pseo-border);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

/* Hero */
.pseo-hero {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--pseo-border);
}

.pseo-title {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--pseo-fg);
  max-width: 20ch;
}

@media (min-width: 480px) {
  .pseo-title {
    max-width: none;
  }
}

/* Main column */
.pseo-main {
  padding-bottom: calc(2.5rem + var(--pseo-safe-bottom));
}

.pseo-main .pseo-shell {
  padding-top: 2rem;
}

/* Intro */
.pseo-intro {
  margin-bottom: 2rem;
}

.pseo-intro p {
  margin: 0 0 1.125rem;
  color: var(--pseo-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 65ch;
}

.pseo-intro p:last-child {
  margin-bottom: 0;
}

.pseo-intro strong {
  color: var(--pseo-fg);
  font-weight: 600;
}

.pseo-intro ul,
.pseo-intro ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--pseo-muted);
}

.pseo-intro li {
  margin-bottom: 0.5rem;
}

/* Product screenshots on organic landing pages */
.pseo-screenshots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 0 2rem;
}

.pseo-screenshot {
  display: block;
  width: min(100%, 240px);
  height: auto;
  border-radius: 1.75rem;
  border: 1px solid var(--pseo-border-strong);
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.75);
}

/* Contextual "What is X?" definition link (metric how-to pages) */
.pseo-definition-link {
  margin: 0 0 2rem;
}

.pseo-definition-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.625rem 0.9375rem;
  border: 1px solid var(--pseo-border-strong);
  border-radius: var(--pseo-radius-sm);
  background: var(--pseo-bg-elevated);
  color: var(--pseo-primary) !important;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
}

.pseo-definition-link a:hover {
  border-color: var(--pseo-primary);
  color: var(--pseo-primary-hover) !important;
}

/* Section titles */
.pseo-section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--pseo-fg);
}

/* CTA blocks */
.pseo-cta-block {
  margin-bottom: 2.5rem;
}

.pseo-cta-block--primary {
  padding: 1.25rem 1.25rem 1.5rem;
  border-radius: var(--pseo-radius);
  border: 1px solid var(--pseo-border-strong);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}

.pseo-cta-block--footer {
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--pseo-border);
  text-align: center;
}

.pseo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pseo-primary-fg) !important;
  background: var(--pseo-fg);
  border-radius: 0.875rem;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.pseo-cta:hover {
  background: var(--pseo-primary);
  color: var(--pseo-primary-fg) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -12px rgba(34, 197, 94, 0.45);
}

.pseo-cta:focus-visible {
  outline: 2px solid var(--pseo-primary);
  outline-offset: 3px;
}

.pseo-cta-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.pseo-cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.pseo-cta-kicker {
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.85;
  text-transform: none;
  letter-spacing: 0.01em;
}

.pseo-cta-strong {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pseo-cta-footnote {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--pseo-muted2);
  line-height: 1.4;
}

.pseo-cta-lead {
  margin: 0 0 1.125rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--pseo-fg);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.pseo-cta-block--primary .pseo-cta {
  width: 100%;
  max-width: 20rem;
}

@media (min-width: 400px) {
  .pseo-cta-block--primary .pseo-cta {
    width: auto;
    min-width: 16rem;
  }
}

/* Features */
.pseo-features {
  margin-bottom: 2.5rem;
}

.pseo-feature-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .pseo-feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pseo-feature {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--pseo-border);
  border-radius: var(--pseo-radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pseo-feature:hover {
  border-color: rgba(34, 197, 94, 0.25);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.08);
}

.pseo-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--pseo-fg);
  line-height: 1.35;
}

.pseo-feature p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--pseo-muted);
  line-height: 1.55;
}

/* FAQ */
.pseo-faq-section {
  margin-bottom: 2.5rem;
}

.pseo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pseo-faq {
  border: 1px solid var(--pseo-border);
  border-radius: var(--pseo-radius-sm);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.pseo-faq summary {
  position: relative;
  padding: 1rem 2.75rem 1rem 1rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--pseo-fg);
  list-style: none;
  line-height: 1.4;
}

.pseo-faq summary::-webkit-details-marker {
  display: none;
}

.pseo-faq summary::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.35rem;
  border-right: 2px solid var(--pseo-muted2);
  border-bottom: 2px solid var(--pseo-muted2);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.pseo-faq[open] summary::after {
  transform: rotate(225deg);
  margin-top: -0.2rem;
}

.pseo-faq[open] summary {
  border-bottom: 1px solid var(--pseo-border);
}

.pseo-faq p {
  margin: 0;
  padding: 0 1rem 1rem 1rem;
  font-size: 0.9375rem;
  color: var(--pseo-muted);
  line-height: 1.55;
}

/* Explore */
.pseo-explore {
  margin-bottom: 2rem;
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid var(--pseo-border);
  border-radius: var(--pseo-radius);
  background: var(--pseo-bg-elevated);
}

.pseo-explore-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pseo-explore-list li {
  margin: 0;
}

.pseo-hub-link {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pseo-fg) !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--pseo-border);
  border-radius: 9999px;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pseo-hub-link:hover {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.pseo-hub-link:focus-visible {
  outline: 2px solid var(--pseo-primary);
  outline-offset: 2px;
}

/* Disclaimer */
.pseo-disclaimer {
  margin-bottom: 2rem;
  padding: 1rem 1.15rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--pseo-muted2);
  border-left: 3px solid var(--pseo-primary);
  background: rgba(34, 197, 94, 0.06);
  border-radius: 0 var(--pseo-radius-sm) var(--pseo-radius-sm) 0;
}

.pseo-disclaimer strong {
  color: var(--pseo-muted);
  font-weight: 600;
}

/* ── Hub pages ─────────────────────────────────────────────────────────── */

.pseo-hero-sub {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--pseo-muted);
  max-width: 52ch;
}

.pseo-hub-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--pseo-primary);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.pseo-hub-back:hover {
  opacity: 1;
  text-decoration: underline;
}

.pseo-hub-section {
  margin-bottom: 3rem;
}

.pseo-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.875rem;
  margin-top: 1.25rem;
}

.pseo-hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--pseo-border);
  border-radius: var(--pseo-radius);
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.pseo-hub-card:hover {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.07);
  transform: translateY(-1px);
}

.pseo-hub-card:focus-visible {
  outline: 2px solid var(--pseo-primary);
  outline-offset: 2px;
}

.pseo-hub-card-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pseo-fg);
  line-height: 1.35;
}

.pseo-hub-card-sub {
  display: block;
  font-size: 0.775rem;
  color: var(--pseo-muted2);
  text-transform: capitalize;
}

/* ── Related pages ─────────────────────────────────────────────────────── */

.pseo-related {
  margin-bottom: 2rem;
}

.pseo-related-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pseo-related-link {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pseo-fg) !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--pseo-border);
  border-radius: 9999px;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pseo-related-link:hover {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

/* ── Comparison table ─────────────────────────────────────────────────── */

.pseo-compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--pseo-shell-px, 1.25rem));
  padding: 0 var(--pseo-shell-px, 1.25rem);
}

.pseo-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 500px;
}

.pseo-compare-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pseo-muted);
  border-bottom: 1px solid var(--pseo-border-strong);
}

.pseo-compare-table th:first-child {
  width: 50%;
}

.pseo-compare-table th:not(:first-child) {
  text-align: center;
  width: 25%;
}

.pseo-compare-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--pseo-border);
  color: var(--pseo-muted);
  vertical-align: middle;
}

.pseo-compare-table td:not(:first-child) {
  text-align: center;
}

.pseo-compare-table td:first-child {
  font-size: 0.875rem;
  color: var(--pseo-fg);
}

.pseo-compare-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.pseo-compare-yes {
  color: var(--pseo-primary);
  font-weight: 600;
  font-size: 1rem;
}

.pseo-compare-no {
  color: var(--pseo-muted2);
  font-weight: 500;
}

.pseo-compare-partial {
  color: hsl(45, 90%, 60%);
  font-weight: 500;
  font-size: 0.8rem;
}

.pseo-compare-mantis-col {
  background: rgba(34, 197, 94, 0.04);
}

/* ── Curation cards (best-of page) ───────────────────────────────────── */

.pseo-app-card {
  background: var(--pseo-bg-elevated);
  border: 1px solid var(--pseo-border);
  border-radius: var(--pseo-radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.pseo-app-card--winner {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.04);
}

.pseo-app-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pseo-app-card-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pseo-fg);
}

.pseo-app-card-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: var(--pseo-primary);
  color: var(--pseo-primary-fg);
}

.pseo-app-card-desc {
  color: var(--pseo-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.pseo-app-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.82rem;
}

@media (max-width: 480px) {
  .pseo-app-pros-cons { grid-template-columns: 1fr; }
}

.pseo-app-pros-cons ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pseo-app-pros-cons li {
  padding: 0.2rem 0;
  color: var(--pseo-muted);
  padding-left: 1.2em;
  position: relative;
}

.pseo-app-pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--pseo-primary);
  font-weight: 700;
}

.pseo-app-cons li::before {
  content: "−";
  position: absolute;
  left: 0;
  color: var(--pseo-muted2);
}

.pseo-app-pros-label,
.pseo-app-cons-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.pseo-app-pros-label { color: var(--pseo-primary); }
.pseo-app-cons-label { color: var(--pseo-muted2); }

/* ── Calculator tool ──────────────────────────────────────────────────── */

.pseo-tool {
  margin-bottom: 2.5rem;
}

.pseo-tool-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem 1.6rem;
  border: 1px solid var(--pseo-border-strong);
  border-radius: var(--pseo-radius);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(34, 197, 94, 0.06), transparent 55%),
    var(--pseo-bg-elevated);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.7);
}

/* Shared field label */
.psc-field-label,
.pseo-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pseo-muted);
}

/* Segmented instrument switcher */
.psc-segmented {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.psc-segmented .psc-field-label {
  display: block;
  padding: 0;
  margin-bottom: 0.5rem;
}

.psc-segmented-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--pseo-border-strong);
  border-radius: var(--pseo-radius-sm);
}

.psc-segment {
  position: relative;
  margin: 0;
}

.psc-segment input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.psc-segment span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pseo-muted);
  border-radius: calc(var(--pseo-radius-sm) - 0.3rem);
  cursor: pointer;
  transition: color 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.psc-segment span:hover {
  color: var(--pseo-fg);
}

.psc-segment input:checked + span {
  color: var(--pseo-primary-fg);
  background: var(--pseo-primary);
  box-shadow: 0 6px 16px -8px rgba(34, 197, 94, 0.7);
}

.psc-segment input:focus-visible + span {
  outline: 2px solid var(--pseo-primary);
  outline-offset: 2px;
}

/* Input grid */
.psc-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 420px) {
  .psc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pseo-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.psc-input-wrap {
  position: relative;
}

.psc-input-wrap::before {
  content: attr(data-affix);
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--pseo-muted2);
  pointer-events: none;
}

.psc-input-wrap--prefix::before {
  left: 0.9rem;
}

.psc-input-wrap--suffix::before {
  right: 0.9rem;
}

.pseo-field input,
.pseo-field select {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  color: var(--pseo-fg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--pseo-border-strong);
  border-radius: var(--pseo-radius-sm);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.psc-input-wrap--prefix input {
  padding-left: 1.9rem;
}

.psc-input-wrap--suffix input {
  padding-right: 2rem;
}

.pseo-field input::placeholder {
  color: var(--pseo-muted2);
}

.pseo-field input:hover,
.pseo-field select:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.pseo-field input:focus,
.pseo-field select:focus {
  outline: none;
  background: rgba(34, 197, 94, 0.04);
  border-color: var(--pseo-primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

/* Hide number-input spinners for a cleaner look */
.pseo-field input[type="number"]::-webkit-outer-spin-button,
.pseo-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pseo-field input[type="number"] {
  -moz-appearance: textfield;
}

.pseo-btn-primary {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1.5rem;
  font-size: 0.975rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: -0.01em;
  color: var(--pseo-primary-fg);
  background: var(--pseo-primary);
  border: none;
  border-radius: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
}

.pseo-btn-primary:hover {
  background: var(--pseo-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -12px rgba(34, 197, 94, 0.55);
}

.pseo-btn-primary:active {
  transform: translateY(0);
}

.pseo-btn-primary:focus-visible {
  outline: 2px solid var(--pseo-primary);
  outline-offset: 3px;
}

.pseo-tool-error {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(0, 80%, 74%);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--pseo-radius-sm);
}

/* Results panel */
.pseo-tool-output {
  margin-top: 1rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: var(--pseo-radius);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(34, 197, 94, 0.1), transparent 60%),
    rgba(255, 255, 255, 0.015);
  animation: psc-rise 0.35s ease both;
}

@keyframes psc-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pseo-tool-output {
    animation: none;
  }
  .psc-meter-fill,
  .psc-segment span,
  .pseo-btn-primary,
  .pseo-field input {
    transition: none;
  }
}

/* Hero result */
.psc-hero-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding-bottom: 1.4rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--pseo-border);
  text-align: center;
}

.psc-hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pseo-muted2);
}

.psc-hero-value {
  font-size: clamp(2.5rem, 11vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--pseo-primary);
  font-variant-numeric: tabular-nums;
}

.psc-hero-sub {
  font-size: 0.95rem;
  color: var(--pseo-muted);
  font-variant-numeric: tabular-nums;
}

.psc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  padding: 0.28rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 9999px;
}

.psc-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: currentColor;
}

.psc-badge--long {
  color: var(--pseo-primary);
  background: rgba(34, 197, 94, 0.14);
}

.psc-badge--short {
  color: hsl(0, 80%, 70%);
  background: rgba(239, 68, 68, 0.14);
}

/* Stat cards */
.psc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.psc-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--pseo-border);
  border-radius: var(--pseo-radius-sm);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.psc-stat:hover {
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.05);
}

.psc-stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pseo-muted2);
}

.psc-stat-value {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pseo-fg);
  font-variant-numeric: tabular-nums;
}

.psc-stat-hint {
  font-size: 0.72rem;
  color: var(--pseo-muted2);
}

/* Buying-power / leverage callout */
.psc-callout {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--pseo-border);
  border-left: 3px solid var(--pseo-primary);
  border-radius: 0 var(--pseo-radius-sm) var(--pseo-radius-sm) 0;
  background: rgba(255, 255, 255, 0.03);
}

.psc-callout-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pseo-muted2);
}

.psc-callout-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--pseo-muted);
}

.psc-callout-text strong {
  color: var(--pseo-fg);
  font-weight: 600;
}

.psc-callout--warn {
  border-left-color: hsl(45, 90%, 55%);
  background: rgba(234, 179, 8, 0.07);
}

.psc-callout--warn .psc-callout-label {
  color: hsl(45, 90%, 62%);
}

/* Risk meter */
.psc-meter {
  margin-bottom: 1.6rem;
}

.psc-meter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.psc-meter-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pseo-muted2);
}

.psc-meter-verdict {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--pseo-primary);
}

.psc-meter-track {
  position: relative;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.psc-meter-safe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10%; /* 0.5% on a 0–5 scale */
  width: 30%; /* up to 2% */
  background: rgba(34, 197, 94, 0.16);
}

.psc-meter-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 9999px;
  background: var(--pseo-primary);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
}

.psc-meter--high .psc-meter-fill {
  background: hsl(45, 90%, 55%);
}

.psc-meter--high .psc-meter-verdict {
  color: hsl(45, 90%, 62%);
}

.psc-meter--extreme .psc-meter-fill {
  background: hsl(0, 80%, 60%);
}

.psc-meter--extreme .psc-meter-verdict {
  color: hsl(0, 80%, 70%);
}

.psc-meter-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  color: var(--pseo-muted2);
}

/* R-multiple */
.pseo-rmultiple-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--pseo-fg);
}

.pseo-rmultiple-note {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--pseo-muted);
}

.pseo-rmultiple-note strong {
  color: var(--pseo-primary);
  font-weight: 600;
}

.pseo-rtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.pseo-rtable th {
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pseo-muted2);
  border-bottom: 1px solid var(--pseo-border-strong);
}

.pseo-rtable th:not(:first-child),
.pseo-rtable td:not(:first-child) {
  text-align: right;
}

.pseo-rtable td {
  padding: 0.62rem 0.75rem;
  border-bottom: 1px solid var(--pseo-border);
  color: var(--pseo-fg);
}

.pseo-rtable tbody tr:last-child td {
  border-bottom: none;
}

.pseo-rtable td:first-child {
  font-weight: 600;
  color: var(--pseo-muted);
}

.pseo-rtable td:last-child {
  color: var(--pseo-primary);
  font-weight: 600;
}

/* ── Marketing homepage & legal pages ───────────────────────────────────── */

.pseo-mkt-page {
  --pseo-mkt-max: 72rem;
}

.pseo-mkt-shell {
  width: 100%;
  max-width: var(--pseo-mkt-max);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.pseo-mkt-shell--narrow {
  max-width: 48rem;
}

.pseo-mkt-shell--legal {
  max-width: 42rem;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.pseo-mkt-main {
  padding-bottom: calc(2rem + var(--pseo-safe-bottom));
}

.pseo-mkt-topbar-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pseo-mkt-topbar-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pseo-primary) !important;
  text-decoration: none !important;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 9999px;
}

.pseo-mkt-topbar-cta:hover {
  background: rgba(34, 197, 94, 0.08);
}

.pseo-mkt-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--pseo-border);
}

.pseo-mkt-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .pseo-mkt-hero-grid {
    grid-template-columns: 1fr minmax(260px, 320px);
    gap: 3rem;
  }
}

.pseo-mkt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pseo-primary);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.08);
}

.pseo-mkt-eyebrow-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: var(--pseo-primary);
}

.pseo-mkt-hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.pseo-mkt-accent {
  color: var(--pseo-primary);
}

.pseo-mkt-danger {
  color: hsl(0, 62%, 58%);
}

.pseo-mkt-lead {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--pseo-fg);
}

.pseo-mkt-sub,
.pseo-mkt-section-sub {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  color: var(--pseo-muted);
  line-height: 1.6;
  max-width: 42ch;
}

.pseo-mkt-section-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 52ch;
}

.pseo-mkt-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
}

.pseo-mkt-trust-item,
.pseo-mkt-social-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
}

.pseo-mkt-trust-strong {
  font-weight: 700;
  color: var(--pseo-fg);
}

.pseo-mkt-trust-muted {
  color: var(--pseo-muted);
}

.pseo-mkt-trust-sep {
  width: 1px;
  height: 1rem;
  background: var(--pseo-border-strong);
}

.pseo-mkt-stars {
  display: inline-flex;
  gap: 0.1rem;
  color: var(--pseo-primary);
  letter-spacing: -0.05em;
}

.pseo-mkt-star {
  opacity: 0.25;
}

.pseo-mkt-star--full,
.pseo-mkt-star--half {
  opacity: 1;
}

.pseo-mkt-screenshot {
  display: block;
  width: min(100%, 320px);
  margin: 0 auto;
  border-radius: 1.75rem;
  border: 1px solid var(--pseo-border-strong);
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.75);
}

.pseo-mkt-social {
  padding: 1rem 0;
}

.pseo-mkt-social-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--pseo-border);
  border-radius: var(--pseo-radius);
  background: rgba(255, 255, 255, 0.03);
}

.pseo-mkt-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--pseo-border);
}

.pseo-mkt-label {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pseo-primary);
  text-align: center;
}

.pseo-mkt-label--warn {
  color: hsl(0, 62%, 58%);
}

.pseo-mkt-heading {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-align: center;
}

.pseo-mkt-stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.pseo-mkt-stat {
  padding: 1.5rem;
  border: 1px solid var(--pseo-border);
  border-radius: var(--pseo-radius);
  background: rgba(255, 255, 255, 0.03);
}

.pseo-mkt-stat-value {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--pseo-primary);
  line-height: 1;
}

.pseo-mkt-stat-label {
  display: block;
  margin-top: 0.75rem;
  font-weight: 600;
}

.pseo-mkt-stat-sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--pseo-muted);
  line-height: 1.45;
}

.pseo-mkt-problems-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pseo-mkt-problems-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pseo-mkt-card {
  padding: 1.5rem;
  border: 1px solid var(--pseo-border);
  border-radius: var(--pseo-radius);
  background: rgba(255, 255, 255, 0.03);
}

.pseo-mkt-card--problem {
  border-color: rgba(239, 68, 68, 0.18);
}

.pseo-mkt-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.pseo-mkt-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--pseo-muted);
  line-height: 1.55;
}

.pseo-mkt-features-grid {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .pseo-mkt-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pseo-mkt-feature-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.pseo-mkt-feature-stat {
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(34, 197, 94, 0.55);
}

.pseo-mkt-compare-card {
  margin-top: 1rem;
  padding: 0.5rem 0;
  border: 1px solid var(--pseo-border);
  border-radius: var(--pseo-radius);
  background: rgba(255, 255, 255, 0.02);
}

.pseo-mkt-compare-text {
  font-size: 0.875rem;
  color: var(--pseo-muted);
}

.pseo-mkt-detail-row {
  padding: 3rem 0;
  border-bottom: 1px solid var(--pseo-border);
}

.pseo-mkt-detail-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .pseo-mkt-detail-grid {
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 3rem;
  }

  .pseo-mkt-detail-row--reverse .pseo-mkt-detail-grid {
    grid-template-columns: 1fr minmax(240px, 320px);
  }

  .pseo-mkt-detail-row--reverse .pseo-mkt-detail-media {
    order: 2;
  }
}

.pseo-mkt-detail-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pseo-mkt-detail-desc {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--pseo-muted);
  line-height: 1.6;
}

.pseo-mkt-pricing-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .pseo-mkt-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pseo-mkt-pricing-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--pseo-border);
  border-radius: var(--pseo-radius);
  background: rgba(255, 255, 255, 0.03);
}

.pseo-mkt-pricing-card--highlight {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.12);
}

.pseo-mkt-pricing-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pseo-primary-fg);
  background: var(--pseo-primary);
  border-radius: 9999px;
}

.pseo-mkt-pricing-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
}

.pseo-mkt-pricing-desc {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--pseo-muted);
}

.pseo-mkt-pricing-price {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--pseo-muted);
}

.pseo-mkt-pricing-price span {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--pseo-fg);
  letter-spacing: -0.03em;
}

.pseo-mkt-pricing-alt {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(34, 197, 94, 0.85);
}

.pseo-mkt-pricing-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pseo-mkt-pricing-features li {
  padding: 0.35rem 0;
  font-size: 0.875rem;
}

.pseo-mkt-pricing-included {
  color: var(--pseo-fg);
}

.pseo-mkt-pricing-excluded {
  color: var(--pseo-muted2);
}

.pseo-mkt-pricing-cta {
  margin-top: 2rem;
  text-align: center;
}

.pseo-mkt-pricing-note,
.pseo-mkt-pricing-fine {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--pseo-muted2);
}

.pseo-mkt-pricing-note {
  margin-top: 1rem;
}

.pseo-mkt-pricing-fine {
  margin-top: 0.35rem;
}

.pseo-mkt-cta-card {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--pseo-radius);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(34, 197, 94, 0.1), transparent 60%),
    rgba(255, 255, 255, 0.02);
}

.pseo-mkt-cta-stars {
  justify-content: center;
  margin-bottom: 1rem;
}

.pseo-mkt-cta-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.pseo-mkt-cta-sub,
.pseo-mkt-cta-foot {
  margin: 0 0 1.25rem;
  color: var(--pseo-muted);
}

.pseo-mkt-cta-foot {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.pseo-mkt-footer {
  border-top: 1px solid var(--pseo-border);
  padding: 3rem 0 2rem;
}

.pseo-mkt-footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pseo-mkt-footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.pseo-mkt-footer-logo {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pseo-primary);
}

.pseo-mkt-footer-tagline {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--pseo-muted);
  line-height: 1.55;
  max-width: 26ch;
}

.pseo-mkt-footer-social {
  font-size: 0.875rem;
  color: var(--pseo-muted);
  text-decoration: none;
}

.pseo-mkt-footer-social:hover {
  color: var(--pseo-primary);
}

.pseo-mkt-footer-heading {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pseo-muted2);
}

.pseo-mkt-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pseo-mkt-footer-links li {
  margin-bottom: 0.5rem;
}

.pseo-mkt-footer-links a {
  font-size: 0.875rem;
  color: var(--pseo-muted);
  text-decoration: none;
}

.pseo-mkt-footer-links a:hover {
  color: var(--pseo-primary);
}

.pseo-mkt-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--pseo-border);
  font-size: 0.75rem;
  color: var(--pseo-muted2);
}

@media (min-width: 640px) {
  .pseo-mkt-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.pseo-legal h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pseo-legal-updated {
  margin: 0 0 2rem;
  font-size: 0.8125rem;
  color: var(--pseo-muted2);
}

.pseo-legal section {
  margin-bottom: 2rem;
}

.pseo-legal h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pseo-fg);
}

.pseo-legal p,
.pseo-legal li {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--pseo-muted);
}

.pseo-legal p {
  margin: 0 0 0.75rem;
}

.pseo-legal ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.pseo-legal li {
  margin-bottom: 0.35rem;
}

.pseo-legal a {
  color: var(--pseo-primary);
  text-decoration: none;
}

.pseo-legal a:hover {
  text-decoration: underline;
}

