/* MyGymOS public-site design system. Local, dependency-free and shared by marketing/signup. */
:root {
  --ps-ink: #0f172a;
  --ps-slate: #526075;
  --ps-line: #dfe5ee;
  --ps-muted: #f5f7fb;
  --ps-indigo: #4f46e5;
  --ps-indigo-dark: #312e81;
  --ps-violet: #7c3aed;
  --ps-green: #047857;
}
.ps-skip { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 16px; border-radius: 9px; background: #fff; color: #312e81; box-shadow: 0 4px 18px rgba(15,23,42,.2); font-weight: 750; }
.ps-skip:focus { top: 12px; }
.ps-container { width: min(100% - 32px, 1200px); margin-inline: auto; }
.ps-section { padding: 88px 0; scroll-margin-top: 76px; }
.ps-section-muted { background: var(--ps-muted); }
.ps-section-dark { background: #111631; color: #fff; }
.ps-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ps-indigo); font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ps-eyebrow-dark { color: #c7d2fe; }
.ps-section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.ps-section-head-left { margin-inline: 0; text-align: left; }
.ps-section-head h2, .ps-split h2, .ps-contact h2 { margin-top: 12px; color: var(--ps-ink); font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; }
.ps-section-head p { margin-top: 16px; color: var(--ps-slate); font-size: 17px; line-height: 1.75; }
.ps-section-dark h2, .ps-contact h2 { color: #fff; }
.ps-lead { margin-top: 22px; color: #dbe2ff; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.75; }
.ps-lead-dark { color: #c7d0e7; }
.ps-lead-light { color: var(--ps-slate); font-size: 17px; }
.ps-btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border: 1px solid transparent; border-radius: 12px; font-size: 15px; font-weight: 750; line-height: 1.35; text-align: center; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.ps-btn:hover { transform: translateY(-1px); }
.ps-btn-light { background: #fff; color: #3730a3; box-shadow: 0 14px 32px rgba(5, 8, 30, .22); }
.ps-btn-light:hover { background: #eef2ff; }
.ps-btn-outline-light { border-color: rgba(255, 255, 255, .38); color: #fff; background: rgba(255, 255, 255, .06); }
.ps-btn-outline-light:hover { background: rgba(255, 255, 255, .13); }
.ps-btn:focus-visible, .ps-cycle-switch button:focus-visible, .ps-faq-list summary:focus-visible, .ps-plan-details summary:focus-visible { outline: 3px solid #818cf8; outline-offset: 4px; }

.ps-hero { position: relative; overflow: hidden; padding: 94px 0 100px; color: #fff; background: radial-gradient(circle at 82% 12%, rgba(129, 140, 248, .32), transparent 32%), radial-gradient(circle at 12% 88%, rgba(124, 58, 237, .25), transparent 34%), linear-gradient(130deg, #111631 0%, #272164 52%, #4c35a8 100%); }
.ps-hero::before { position: absolute; inset: 0; content: ""; pointer-events: none; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.ps-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); gap: 64px; align-items: center; }
.ps-hero-copy { min-width: 0; }
.ps-hero h1 { margin-top: 22px; max-width: 760px; font-size: clamp(42px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -.052em; font-weight: 850; }
.ps-hero h1 span { color: #c7d2fe; }
.ps-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 32px; }
.ps-hero-guide { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; padding: 8px 4px; color: #e0e7ff; font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(224,231,255,.4); text-underline-offset: 5px; }
.ps-hero-guide:hover { color: #fff; text-decoration-color: #fff; }
.ps-hero-guide:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 4px; border-radius: 5px; }
.ps-hero-assurances { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; color: #dbe2ff; font-size: 13px; }
.ps-hero-assurances li { display: inline-flex; align-items: center; gap: 6px; }
.ps-hero-panel { position: relative; min-width: 0; padding: 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 28px; background: rgba(255, 255, 255, .97); color: var(--ps-ink); box-shadow: 0 34px 90px rgba(3, 7, 25, .42), 0 0 0 8px rgba(255,255,255,.035); transform: rotate(.6deg); }
.ps-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 8px 20px; }
.ps-preview-top > div { display: grid; gap: 5px; }
.ps-preview-top strong { font-size: 20px; letter-spacing: -.02em; }
.ps-preview-kicker { color: #64748b; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.ps-preview-mark { display: inline-flex; width: 44px; height: 44px; flex: none; align-items: center; justify-content: center; border-radius: 13px; background: linear-gradient(135deg, var(--ps-indigo), var(--ps-violet)); color: #fff; }
.ps-preview-body { display: grid; gap: 10px; }
.ps-workflow-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px; border: 1px solid #e5eaf2; border-radius: 15px; background: #fff; box-shadow: 0 5px 15px rgba(15, 23, 42, .04); }
.ps-workflow-icon { display: inline-flex; width: 40px; height: 40px; flex: none; align-items: center; justify-content: center; border-radius: 11px; background: #eef2ff; color: var(--ps-indigo); }
.ps-workflow-row > div { display: grid; flex: 1; min-width: 0; gap: 3px; }
.ps-workflow-row strong { font-size: 14px; }
.ps-workflow-row > div span { color: #64748b; font-size: 12px; line-height: 1.45; }
.ps-status { flex: none; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.ps-status-green { background: #d1fae5; color: #065f46; }
.ps-status-amber { background: #fef3c7; color: #92400e; }
.ps-status-indigo { background: #e0e7ff; color: #3730a3; }
.ps-summary-preview { display: flex; align-items: center; gap: 11px; margin-top: 12px; padding: 14px; border: 1px solid #ddd6fe; border-radius: 15px; background: linear-gradient(135deg, #f5f3ff, #eef2ff); }
.ps-summary-icon { display: inline-flex; width: 38px; height: 38px; flex: none; align-items: center; justify-content: center; border-radius: 11px; background: #4f46e5; color: #fff; }
.ps-summary-preview > div { display: grid; flex: 1; min-width: 0; gap: 3px; }
.ps-summary-preview strong { font-size: 13px; }
.ps-summary-preview > div span { color: #64748b; font-size: 11px; line-height: 1.45; }
.ps-summary-preview small { flex: none; padding: 4px 7px; border-radius: 999px; background: #fff; color: #4f46e5; font-size: 9px; font-weight: 800; }
.ps-preview-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 18px 8px 4px; color: #64748b; font-size: 11px; font-weight: 650; }
.ps-preview-foot span { display: inline-flex; align-items: center; gap: 6px; }

.ps-proof { border-bottom: 1px solid var(--ps-line); background: #fff; }
.ps-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.ps-proof-grid > div { display: grid; justify-items: center; gap: 7px; padding: 28px 22px; text-align: center; }
.ps-proof-grid > div + div { border-left: 1px solid var(--ps-line); }
.ps-proof-grid svg { color: var(--ps-indigo); }
.ps-proof-grid strong { font-size: 14px; }
.ps-proof-grid span { color: var(--ps-slate); font-size: 12px; line-height: 1.5; }

.ps-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ps-feature-card { padding: 26px; border: 1px solid var(--ps-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(15, 23, 42, .035); }
.ps-icon { display: inline-flex; width: 44px; height: 44px; flex: none; align-items: center; justify-content: center; border-radius: 12px; background: #e9edff; color: var(--ps-indigo); }
.ps-feature-card h3 { margin-top: 18px; font-size: 17px; font-weight: 800; letter-spacing: -.015em; }
.ps-feature-card p, .ps-role-card p { margin-top: 9px; color: var(--ps-slate); font-size: 14px; line-height: 1.7; }
.ps-role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ps-role-card { padding: 24px; border: 1px solid var(--ps-line); border-radius: 16px; background: #fff; }
.ps-role-card h3 { font-size: 17px; font-weight: 800; }
.ps-role-card-admin { border-color: #c7d2fe; background: #f4f4ff; }

.ps-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: 72px; align-items: center; }
.ps-check-list { display: grid; gap: 14px; margin-top: 28px; }
.ps-check-list > div { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.65; }
.ps-check-list svg { flex: none; margin-top: 3px; }
.ps-check-list-dark { color: #e2e8f0; }
.ps-check-list-dark svg { color: #a5b4fc; }
.ps-callout { margin-top: 26px; padding: 16px 18px; border: 1px solid #c7d2fe; border-radius: 13px; background: #eef2ff; color: #3730a3; font-size: 13px; line-height: 1.7; }
.ps-callout-dark { border-color: rgba(199, 210, 254, .22); background: rgba(199, 210, 254, .08); color: #dbe2ff; }
.ps-member-preview { max-width: 410px; width: 100%; justify-self: end; padding: 24px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 26px; background: #f8fafc; color: var(--ps-ink); box-shadow: 0 28px 60px rgba(0, 0, 0, .25); }
.ps-member-head { display: flex; align-items: center; gap: 13px; }
.ps-member-head > div { display: grid; gap: 2px; }
.ps-member-head span:not(.ps-preview-mark) { color: #64748b; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.ps-member-head strong { font-size: 20px; }
.ps-pass-card { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 24px; border-radius: 18px; background: linear-gradient(135deg, #4338ca, #7c3aed); color: #fff; }
.ps-pass-card > span { display: inline-flex; width: 74px; height: 74px; flex: none; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: 16px; background: rgba(255,255,255,.13); }
.ps-pass-card > div { display: grid; gap: 6px; }
.ps-pass-card small { color: #e0e7ff; line-height: 1.45; }
.ps-member-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 16px; }
.ps-member-links span { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px solid #e2e8f0; border-radius: 11px; color: #475569; font-size: 12px; font-weight: 700; }
.ps-member-preview > p { margin-top: 15px; color: #64748b; font-size: 11px; text-align: center; }

.ps-integration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ps-integration-card { padding: 28px; border: 1px solid var(--ps-line); border-radius: 18px; background: #fff; }
.ps-integration-title { display: flex; align-items: center; gap: 14px; }
.ps-integration-title h3 { margin-top: 4px; font-size: 18px; font-weight: 800; }
.ps-tag { display: inline-flex; width: fit-content; padding: 4px 7px; border-radius: 6px; background: #eef2ff; color: #4338ca; font-size: 9px; font-weight: 850; letter-spacing: .09em; }
.ps-integration-card > p { margin-top: 18px; color: var(--ps-slate); font-size: 14px; line-height: 1.75; }
.ps-integration-card ul { display: grid; gap: 8px; margin-top: 16px; padding-left: 18px; list-style: disc; color: #475569; font-size: 13px; line-height: 1.6; }
.ps-integration-card li::marker { color: var(--ps-indigo); }

.ps-cycle-switch { display: flex; width: fit-content; max-width: 100%; margin: -16px auto 36px; padding: 5px; border: 1px solid var(--ps-line); border-radius: 13px; background: #f1f5f9; }
.ps-cycle-switch button { min-height: 40px; padding: 8px 15px; border-radius: 9px; color: #526075; font-size: 13px; font-weight: 750; white-space: nowrap; }
.ps-cycle-switch button.is-active { background: #fff; color: #3730a3; box-shadow: 0 2px 8px rgba(15, 23, 42, .1); }
.ps-cycle-switch button.is-active { background: #fff; }
.ps-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); gap: 18px; align-items: stretch; }
.ps-price-card { display: flex; min-width: 0; flex-direction: column; padding: 26px; border: 1px solid var(--ps-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(15, 23, 42, .05); }
.ps-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ps-plan-top h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.ps-plan-tagline { min-height: 45px; margin-top: 8px; color: var(--ps-slate); font-size: 13px; line-height: 1.65; }
.ps-price { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; margin-top: 22px; color: var(--ps-ink); font-size: clamp(30px, 3vw, 38px); line-height: 1.1; letter-spacing: -.04em; font-weight: 850; overflow-wrap: anywhere; }
.ps-price small { padding-bottom: 4px; color: #64748b; font-size: 11px; line-height: 1.3; letter-spacing: 0; font-weight: 600; }
.ps-price-contact { font-size: 27px; letter-spacing: -.025em; }
.ps-price-note, .ps-saving { min-height: 34px; margin-top: 8px; color: #64748b; font-size: 11px; line-height: 1.5; }
.ps-saving { color: #047857; font-weight: 750; }
.ps-limits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.ps-limits > div { display: grid; gap: 3px; padding: 12px; border-radius: 11px; background: #f5f7fb; }
.ps-limits strong { font-size: 17px; }
.ps-limits span { color: #475569; font-size: 11px; line-height: 1.4; }
.ps-quota, .ps-plan-setup { margin-top: 12px; color: #526075; font-size: 11px; line-height: 1.6; }
.ps-plan-setup { padding: 10px 12px; border: 1px solid #ddd6fe; border-radius: 10px; background: #f5f3ff; color: #5b21b6; }
.ps-plan-features { display: grid; gap: 10px; margin-top: 20px; color: #475569; font-size: 12px; line-height: 1.5; }
.ps-plan-features li { display: flex; align-items: flex-start; gap: 7px; }
.ps-plan-features svg { flex: none; margin-top: 1px; color: var(--ps-green); }
.ps-plan-details { margin-top: 14px; color: #4338ca; font-size: 12px; font-weight: 750; }
.ps-plan-details summary { cursor: pointer; }
.ps-plan-details .ps-plan-features { margin-top: 12px; margin-bottom: 4px; color: #475569; font-weight: 400; }
.ps-btn-plan { width: 100%; margin-top: auto; background: #4338ca; color: #fff; box-shadow: 0 8px 18px rgba(67, 56, 202, .16); }
.ps-plan-features + .ps-btn-plan, .ps-plan-details + .ps-btn-plan, .ps-limits ~ .ps-btn-plan { margin-top: 24px; }
.ps-plan-cta-note { margin-top: 10px; color: #64748b; font-size: 10px; line-height: 1.5; text-align: center; }
.ps-pricing-notes { display: grid; gap: 9px; max-width: 940px; margin: 32px auto 0; color: #526075; font-size: 12px; line-height: 1.7; text-align: center; }

.ps-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ps-steps article { padding: 24px; border-top: 3px solid #c7d2fe; background: transparent; }
.ps-steps article > span { color: var(--ps-indigo); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.ps-steps h3 { margin-top: 14px; font-size: 17px; font-weight: 800; }
.ps-steps p { margin-top: 9px; color: var(--ps-slate); font-size: 13px; line-height: 1.7; }
.ps-split-security { align-items: start; }
.ps-security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ps-security-grid > div { display: flex; align-items: flex-start; gap: 9px; padding: 15px; border: 1px solid var(--ps-line); border-radius: 12px; color: #475569; font-size: 12px; line-height: 1.55; }
.ps-security-grid svg { flex: none; color: var(--ps-indigo); }
.ps-deployment-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--ps-line); color: #64748b; font-size: 12px; line-height: 1.7; }

.ps-faq-wrap { max-width: 880px; }
.ps-faq-list { display: grid; gap: 11px; }
.ps-faq-list details { border: 1px solid var(--ps-line); border-radius: 14px; background: #fff; }
.ps-faq-list summary { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; cursor: pointer; color: var(--ps-ink); font-size: 14px; font-weight: 750; list-style: none; }
.ps-faq-list summary::-webkit-details-marker, .ps-plan-details summary::-webkit-details-marker { display: none; }
.ps-faq-list summary span { display: inline-flex; flex: none; color: #64748b; transition: transform .18s ease; }
.ps-faq-list details[open] summary span { transform: rotate(45deg); }
.ps-faq-list details p { padding: 0 20px 20px; color: var(--ps-slate); font-size: 13px; line-height: 1.75; }

.ps-contact { padding: 76px 0; scroll-margin-top: 76px; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(129,140,248,.3), transparent 34%), linear-gradient(125deg, #111631, #3730a3); }
.ps-contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 64px; align-items: center; }
.ps-contact p { max-width: 650px; margin-top: 16px; color: #dbe2ff; font-size: 16px; line-height: 1.7; }
.ps-contact-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.ps-support-links { display: grid; flex-basis: 100%; gap: 8px; margin-top: 10px; color: #dbe2ff; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.ps-support-links a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1023px) {
  .ps-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .ps-hero-copy { max-width: 790px; }
  .ps-hero-panel { max-width: 700px; transform: none; }
  .ps-feature-grid, .ps-role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-proof-grid { grid-template-columns: 1fr 1fr; }
  .ps-proof-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--ps-line); }
  .ps-proof-grid > div:nth-child(4) { border-top: 1px solid var(--ps-line); }
  .ps-split { gap: 42px; }
  .ps-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .ps-container { width: min(100% - 28px, 1200px); }
  .ps-section { padding: 64px 0; }
  .ps-hero { padding: 66px 0 70px; }
  .ps-hero h1 { font-size: clamp(39px, 12vw, 58px); }
  .ps-hero-actions, .ps-contact-actions { display: grid; }
  .ps-hero-actions .ps-btn, .ps-contact-actions .ps-btn { width: 100%; }
  .ps-hero-guide { justify-content: center; }
  .ps-section-head { margin-bottom: 34px; }
  .ps-section-head p { font-size: 15px; }
  .ps-feature-grid, .ps-role-grid, .ps-integration-grid, .ps-split, .ps-contact-grid { grid-template-columns: 1fr; }
  .ps-split { gap: 36px; }
  .ps-member-preview { justify-self: center; }
  .ps-contact-grid { gap: 30px; }
  .ps-cycle-switch { width: 100%; justify-content: flex-start; overflow-x: auto; }
  .ps-cycle-switch button { flex: 1 0 auto; }
  .ps-pricing-grid { grid-template-columns: 1fr; }
  .ps-price-card { padding: 24px; }
  .ps-plan-tagline { min-height: 0; }
  .ps-security-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ps-proof-grid { grid-template-columns: 1fr; }
  .ps-proof-grid > div + div { border-left: 0; border-top: 1px solid var(--ps-line); }
  .ps-proof-grid > div { padding: 22px 14px; }
  .ps-feature-grid, .ps-role-grid, .ps-steps { grid-template-columns: 1fr; }
  .ps-feature-card, .ps-integration-card { padding: 22px; }
  .ps-workflow-row { align-items: flex-start; padding: 13px; }
  .ps-hero-panel { padding: 12px; border-radius: 22px; }
  .ps-summary-preview { padding: 12px; }
  .ps-summary-preview small { display: none; }
  .ps-status { display: none; }
  .ps-preview-foot { display: grid; }
  .ps-pass-card { padding: 18px; }
  .ps-pass-card > span { width: 60px; height: 60px; }
  .ps-member-preview { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ps-btn, .ps-faq-list summary span { transition: none; }
  .ps-btn:hover { transform: none; }
}

/* Phase 7 visual polish: subtle card elevation & crisp focus */
.ps-feature-card, .ps-role-card, .ps-integration-card, .ps-price-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ps-feature-card:hover, .ps-role-card:hover, .ps-integration-card:hover, .ps-price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
  border-color: #c7d2fe;
}
[data-theme="dark"] .ps-feature-card:hover,
[data-theme="dark"] .ps-role-card:hover,
[data-theme="dark"] .ps-integration-card:hover,
[data-theme="dark"] .ps-price-card:hover {
  border-color: #4f46e5 !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .35) !important;
}

/* =====================================================================
 * Public Help & Guides Documentation Hub (/guides)
 * Self-contained responsive layout & Light/Dark theme rules (1920px -> 360px)
 * ===================================================================== */
.pg-hidden { display: none !important; }

.pg-hero {
  padding: 56px 0 60px;
}
.pg-hero-inner {
  max-width: 780px;
}
.pg-hero h1 {
  margin-top: 14px;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 850;
  color: #ffffff;
}
.pg-hero-lead {
  margin-top: 14px;
  max-width: 680px;
  color: #cbd5e1;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.65;
}
.pg-search-block {
  margin-top: 26px;
  max-width: 640px;
}
.pg-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pg-search-icon {
  position: absolute;
  left: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7d2fe;
  pointer-events: none;
}
.pg-search-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 84px 12px 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 13px;
  background: rgba(15, 23, 42, 0.42);
  color: #ffffff;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
.pg-search-input::placeholder {
  color: #c7d2fe;
  opacity: 0.9;
}
.pg-search-input:focus {
  outline: none;
  border-color: #a5b4fc;
  background: rgba(15, 23, 42, 0.62);
  box-shadow: 0 0 0 3px rgba(165, 180, 252, 0.35);
}
.pg-search-clear {
  position: absolute;
  right: 8px;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.pg-search-clear:hover {
  background: rgba(255, 255, 255, 0.24);
}
.pg-search-clear:focus-visible {
  outline: 2px solid #c7d2fe;
  outline-offset: 2px;
}
.pg-search-meta {
  margin-top: 10px;
  min-height: 20px;
  color: #e0e7ff;
  font-size: 13px;
  font-weight: 600;
}
.pg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

/* Main Documentation Section & 2-Column Layout */
.pg-body {
  padding: 44px 0 80px;
  background: #f8fafc;
}
.pg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) {
  .pg-layout {
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 36px;
  }
}

/* Mobile & Tablet Horizontal Role Filter Bar (< 1024px) */
.pg-mobile-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
@media (min-width: 1024px) {
  .pg-mobile-filters {
    display: none;
  }
}
.pg-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pg-pill-btn:hover {
  border-color: #a5b4fc;
  color: #312e81;
}
.pg-pill-btn.is-active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
}
.pg-pill-btn:focus-visible,
.pg-nav-btn:focus-visible,
.pg-chip-btn:focus-visible,
.pg-reset-btn:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

/* Desktop Sticky Sidebar (>= 1024px) */
.pg-sidebar {
  display: none;
  min-width: 0;
}
@media (min-width: 1024px) {
  .pg-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 84px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
  }
}
.pg-side-card {
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}
.pg-side-title {
  margin-bottom: 12px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pg-nav-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pg-nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #334155;
  font-size: 13.5px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pg-nav-btn-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.pg-nav-btn-label svg {
  flex: none;
  color: #64748b;
}
.pg-nav-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.pg-nav-btn.is-active {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #3730a3;
}
.pg-nav-btn.is-active .pg-nav-btn-label svg {
  color: #4f46e5;
}
.pg-nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
}
.pg-nav-btn.is-active .pg-nav-count {
  background: #4f46e5;
  color: #ffffff;
}
.pg-pill-btn .pg-nav-count {
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
}
.pg-pill-btn.is-active .pg-nav-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.pg-side-note {
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12.5px;
  line-height: 1.6;
}
.pg-side-note strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 13px;
}

/* Main Content Column */
.pg-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 44px;
  scroll-margin-top: 84px;
}
.pg-section {
  scroll-margin-top: 88px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pg-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}
.pg-section-head-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  flex: 1 1 320px;
}
.pg-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: #eef2ff;
  color: #4f46e5;
}
.pg-section-head h2 {
  margin-top: 4px;
  color: #0f172a;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.pg-section-head p {
  margin-top: 6px;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 68ch;
}
.pg-section-count {
  flex: none;
  padding: 5px 11px;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #ffffff;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

/* Guide Topic Cards */
.pg-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.pg-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.pg-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.pg-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.pg-card h3 {
  color: #0f172a;
  font-size: 17.5px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -0.015em;
}
.pg-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.pg-card-desc {
  color: #475569;
  font-size: 14.5px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.pg-steps-box {
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}
.pg-steps-label {
  margin-bottom: 8px;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.pg-steps-list {
  margin: 0;
  padding-left: 20px;
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.pg-troubleshoot {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid #fde68a;
  border-radius: 11px;
  background: #fffbeb;
  color: #78350f;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.pg-troubleshoot svg {
  flex: none;
  margin-top: 2px;
  color: #b45309;
}
.pg-troubleshoot strong {
  color: #78350f;
  font-weight: 750;
}

/* Section Footer Navigation */
.pg-section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
}
.pg-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  color: #3730a3;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.pg-jump-link:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
}

/* Empty / No-Results State */
.pg-empty {
  padding: 40px 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
}
.pg-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #eef2ff;
  color: #4f46e5;
}
.pg-empty h3 {
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}
.pg-empty p {
  max-width: 480px;
  margin: 6px auto 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}
.pg-empty-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.pg-chip-btn {
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  background: #f8fafc;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.pg-chip-btn:hover {
  border-color: #818cf8;
  background: #eef2ff;
  color: #3730a3;
}
.pg-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #4f46e5;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 750;
  cursor: pointer;
}
.pg-reset-btn:hover {
  background: #4338ca;
}

/* Mobile Responsive Refinements (<= 640px, including 430, 390, 360px) */
@media (max-width: 640px) {
  .pg-hero {
    padding: 40px 0 44px;
  }
  .pg-body {
    padding: 28px 0 56px;
  }
  .pg-card {
    padding: 16px;
  }
  .pg-steps-box {
    padding: 12px 13px;
  }
  .pg-section-head-main {
    gap: 11px;
  }
  .pg-section-icon {
    width: 38px;
    height: 38px;
  }
  .pg-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .pg-hero-actions .ps-btn {
    width: 100%;
  }
}

/* Dark Mode for Help & Guides */
[data-theme="dark"] .pg-body {
  background: #0b0f19 !important;
}
[data-theme="dark"] .pg-side-card,
[data-theme="dark"] .pg-card,
[data-theme="dark"] .pg-empty,
[data-theme="dark"] .pg-section-count,
[data-theme="dark"] .pg-jump-link {
  background: #111827 !important;
  border-color: #1f2937 !important;
  color: #f3f4f6 !important;
}
[data-theme="dark"] .pg-card:hover {
  border-color: #4f46e5 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38) !important;
}
[data-theme="dark"] .pg-side-title,
[data-theme="dark"] .pg-section-head p,
[data-theme="dark"] .pg-card-desc,
[data-theme="dark"] .pg-steps-label,
[data-theme="dark"] .pg-empty p {
  color: #cbd5e1 !important;
}
[data-theme="dark"] .pg-section-head {
  border-bottom-color: #1f2937 !important;
}
[data-theme="dark"] .pg-section-head h2,
[data-theme="dark"] .pg-card h3,
[data-theme="dark"] .pg-empty h3,
[data-theme="dark"] .pg-side-note strong {
  color: #f9fafb !important;
}
[data-theme="dark"] .pg-section-icon,
[data-theme="dark"] .pg-empty-icon,
[data-theme="dark"] .pg-role-badge {
  background: rgba(79, 70, 229, 0.22) !important;
  color: #c7d2fe !important;
}
[data-theme="dark"] .pg-steps-box,
[data-theme="dark"] .pg-side-note {
  background: #161f30 !important;
  border-color: #253047 !important;
  color: #cbd5e1 !important;
}
[data-theme="dark"] .pg-steps-list {
  color: #e2e8f0 !important;
}
[data-theme="dark"] .pg-troubleshoot {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  color: #fde68a !important;
}
[data-theme="dark"] .pg-troubleshoot strong,
[data-theme="dark"] .pg-troubleshoot svg {
  color: #fcd34d !important;
}
[data-theme="dark"] .pg-nav-btn {
  color: #cbd5e1 !important;
}
[data-theme="dark"] .pg-nav-btn:hover {
  background: #1f2937 !important;
  color: #ffffff !important;
}
[data-theme="dark"] .pg-nav-btn.is-active {
  background: rgba(79, 70, 229, 0.24) !important;
  border-color: rgba(129, 140, 248, 0.4) !important;
  color: #e0e7ff !important;
}
[data-theme="dark"] .pg-nav-btn.is-active .pg-nav-btn-label svg {
  color: #a5b4fc !important;
}
[data-theme="dark"] .pg-nav-count {
  background: #1f2937 !important;
  color: #cbd5e1 !important;
}
[data-theme="dark"] .pg-nav-btn.is-active .pg-nav-count {
  background: #4f46e5 !important;
  color: #ffffff !important;
}
[data-theme="dark"] .pg-pill-btn,
[data-theme="dark"] .pg-chip-btn {
  background: #111827 !important;
  border-color: #374151 !important;
  color: #e2e8f0 !important;
}
[data-theme="dark"] .pg-pill-btn:hover,
[data-theme="dark"] .pg-chip-btn:hover {
  border-color: #818cf8 !important;
  color: #ffffff !important;
}
[data-theme="dark"] .pg-pill-btn.is-active {
  background: #4f46e5 !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
}
[data-theme="dark"] .pg-jump-link {
  color: #a5b4fc !important;
}
[data-theme="dark"] .pg-jump-link:hover {
  background: #1f2937 !important;
  border-color: #4f46e5 !important;
}

/* =====================================================================
 * Public Landing Page — Mobile Readability, Spacing & Overflow Polish
 * (Covers 768px, 430px, 390px, 360px cleanly without desktop regressions)
 * ===================================================================== */
.ps-hero,
.ps-section,
.ps-proof,
.ps-contact {
  overflow-x: clip;
}
.ps-feature-card,
.ps-role-card,
.ps-integration-card,
.ps-price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (max-width: 767px) {
  .ps-container {
    width: min(100% - 32px, 1200px);
  }
  .ps-hero {
    padding: 44px 0 52px;
  }
  .ps-hero h1 {
    margin-top: 14px;
    font-size: clamp(30px, 8.2vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }
  .ps-lead {
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.65;
  }
  .ps-eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    line-height: 1.45;
  }
  .ps-hero-actions {
    margin-top: 22px;
    gap: 10px;
  }
  .ps-hero-assurances {
    margin-top: 18px;
    gap: 8px 16px;
    font-size: 12.5px;
  }
  .ps-section {
    padding: 48px 0;
  }
  .ps-section-head {
    margin-bottom: 28px;
    text-align: left;
  }
  .ps-section-head h2,
  .ps-split h2,
  .ps-contact h2 {
    font-size: clamp(25px, 6.8vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.025em;
  }
  .ps-section-head p,
  .ps-lead-light {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.65;
  }
  .ps-feature-card,
  .ps-role-card,
  .ps-integration-card,
  .ps-price-card {
    padding: 20px;
  }
  .ps-faq-list summary {
    min-height: 52px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.45;
  }
  .ps-faq-list details p {
    padding: 0 16px 16px;
    font-size: 13.5px;
    line-height: 1.65;
  }
  .ps-cycle-switch {
    margin: -6px auto 24px;
    padding: 4px;
    gap: 4px;
  }
  .ps-cycle-switch button {
    min-height: 44px;
    padding: 8px 14px;
    font-size: 13px;
  }
  .ps-contact {
    padding: 52px 0;
  }
  .ps-contact p {
    font-size: 15px;
    line-height: 1.65;
  }
}

@media (max-width: 430px) {
  .ps-container {
    width: min(100% - 24px, 1200px);
  }
  .ps-hero-panel {
    padding: 14px;
    border-radius: 20px;
  }
  .ps-preview-top strong {
    font-size: 17px;
  }
  .ps-workflow-row {
    padding: 12px;
    gap: 10px;
  }
  .ps-member-links {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .ps-member-links span {
    padding: 10px;
    font-size: 12px;
  }
  .ps-limits {
    gap: 8px;
  }
}

/* =====================================================================
 * Public Legal & Razorpay Compliance Pages (Terms, Privacy, Shipping, Refunds, Contact)
 * ===================================================================== */
.ps-legal-hero {
  padding: 52px 0 36px;
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
  overflow-x: clip;
}
.ps-legal-wrap {
  width: min(100% - 32px, 820px);
  margin-inline: auto;
}
.ps-legal-hero h1 {
  margin-top: 10px;
  color: #0f172a;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 850;
}
.ps-legal-lead {
  margin-top: 12px;
  color: #475569;
  font-size: 16px;
  line-height: 1.65;
  max-width: 68ch;
}
.ps-legal-meta {
  margin-top: 10px;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
}
.ps-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.ps-legal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  background: #ffffff;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ps-legal-pill:hover {
  border-color: #818cf8;
  color: #3730a3;
}
.ps-legal-pill.is-active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
}
.ps-legal-body {
  padding: 40px 0 76px;
  background: #ffffff;
  overflow-x: clip;
}
.ps-legal-prose {
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}
.ps-legal-prose h2 {
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.ps-legal-prose ul {
  margin-top: 8px;
  padding-left: 20px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ps-legal-prose strong {
  color: #1e293b;
}
.ps-legal-prose a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ps-legal-prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 13px;
}
.ps-contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 767px) {
  .ps-legal-hero { padding: 36px 0 28px; }
  .ps-legal-body { padding: 28px 0 56px; }
  .ps-contact-cards { grid-template-columns: minmax(0, 1fr); }
}
.ps-legal-card {
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}
.ps-legal-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef2ff;
  color: #4f46e5;
  margin-bottom: 14px;
}
.ps-legal-card h2 {
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}
.ps-legal-card-copy {
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.ps-contact-dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ps-contact-dl dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.ps-contact-dl dd {
  margin-top: 2px;
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  overflow-wrap: anywhere;
}
.ps-legal-link {
  color: #4f46e5;
  text-decoration: none;
}
.ps-legal-link:hover {
  text-decoration: underline;
}
.ps-legal-notice {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #fde68a;
  border-radius: 10px;
  background: #fffbeb;
  color: #78350f;
  font-size: 13px;
  line-height: 1.55;
}
.ps-legal-quick-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ps-legal-quick-links a {
  display: inline-flex;
  align-items: center;
  color: #4338ca;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.ps-legal-quick-links a:hover {
  text-decoration: underline;
}

/* Dark Mode for Legal & Compliance Pages */
[data-theme="dark"] .ps-legal-hero {
  background: linear-gradient(180deg, #111827 0%, #0b0f19 100%) !important;
  border-bottom-color: #1f2937 !important;
}
[data-theme="dark"] .ps-legal-body {
  background: #0b0f19 !important;
}
[data-theme="dark"] .ps-legal-hero h1,
[data-theme="dark"] .ps-legal-prose h2,
[data-theme="dark"] .ps-legal-prose strong,
[data-theme="dark"] .ps-legal-card h2,
[data-theme="dark"] .ps-contact-dl dd {
  color: #f9fafb !important;
}
[data-theme="dark"] .ps-legal-lead,
[data-theme="dark"] .ps-legal-prose,
[data-theme="dark"] .ps-legal-card-copy {
  color: #cbd5e1 !important;
}
[data-theme="dark"] .ps-legal-meta,
[data-theme="dark"] .ps-contact-dl dt {
  color: #9ca3af !important;
}
[data-theme="dark"] .ps-legal-pill,
[data-theme="dark"] .ps-legal-card {
  background: #111827 !important;
  border-color: #1f2937 !important;
  color: #e2e8f0 !important;
}
[data-theme="dark"] .ps-legal-pill.is-active {
  background: #4f46e5 !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
}
[data-theme="dark"] .ps-legal-prose a,
[data-theme="dark"] .ps-legal-link,
[data-theme="dark"] .ps-legal-quick-links a {
  color: #a5b4fc !important;
}
[data-theme="dark"] .ps-legal-prose code {
  background: #1f2937 !important;
  color: #e2e8f0 !important;
}
[data-theme="dark"] .ps-legal-card-icon {
  background: rgba(79, 70, 229, 0.22) !important;
  color: #c7d2fe !important;
}
[data-theme="dark"] .ps-legal-notice {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  color: #fde68a !important;
}

/* Dark Mode for Landing Preview & Components */
[data-theme="dark"] .ps-hero-panel {
  background: #111827 !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: #f1f5f9 !important;
}
[data-theme="dark"] .ps-workflow-row,
[data-theme="dark"] .ps-feature-card,
[data-theme="dark"] .ps-role-card,
[data-theme="dark"] .ps-integration-card,
[data-theme="dark"] .ps-price-card,
[data-theme="dark"] .ps-faq-list details,
[data-theme="dark"] .ps-proof {
  background: #111827 !important;
  border-color: #1f2937 !important;
  color: #e2e8f0 !important;
}
[data-theme="dark"] .ps-role-card-admin {
  background: rgba(79, 70, 229, 0.16) !important;
  border-color: rgba(129, 140, 248, 0.35) !important;
}
[data-theme="dark"] .ps-summary-preview {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.22), rgba(30, 41, 59, 0.92)) !important;
  border-color: rgba(129, 140, 248, 0.35) !important;
}
[data-theme="dark"] .ps-summary-preview strong {
  color: #f8fafc !important;
}
[data-theme="dark"] .ps-summary-preview > div span {
  color: #cbd5e1 !important;
}
[data-theme="dark"] .ps-summary-preview small {
  background: rgba(79, 70, 229, 0.35) !important;
  color: #e0e7ff !important;
  border: 1px solid rgba(165, 180, 252, 0.35);
}
[data-theme="dark"] .ps-cycle-switch {
  background: #1e293b !important;
  border-color: #334155 !important;
}
[data-theme="dark"] .ps-cycle-switch button {
  color: #cbd5e1 !important;
}
[data-theme="dark"] .ps-cycle-switch button:hover:not(.is-active) {
  color: #ffffff !important;
}
[data-theme="dark"] .ps-cycle-switch button.is-active {
  background: #4f46e5 !important;
  color: #ffffff !important;
}
[data-theme="dark"] .ps-limits > div {
  background: #1e293b !important;
  color: #e2e8f0 !important;
}
[data-theme="dark"] .ps-plan-setup {
  background: rgba(124, 58, 237, 0.18) !important;
  border-color: rgba(167, 139, 250, 0.35) !important;
  color: #ddd6fe !important;
}
[data-theme="dark"] .ps-member-preview {
  background: #111827 !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}
