/* shared/page-stage.css — the homepage's lit stage for prose pages (Contact, Privacy Policy, Terms of Use), 2026-11-08.
   No boxed hero: the title sits on the page under soft ambient light, and the play-cell mark builds itself beside it
   (its animation lives in page.css, `.pg-mark`). On Contact the title, the ways to reach us and the mark sit beside a
   glass form, and the help topics below are cards on the same lit surface, so the page reads as one piece. Loaded after page.css; every rule is scoped to .ps-*. */

/* the mark and the glow may reach past the window's edge; clip (not hidden) keeps position: sticky working */
html:has(.ps-stage), body:has(.ps-stage) { overflow-x: clip; }
.ps-stage {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 40%); align-items: center; gap: 24px 40px;
  min-height: min(440px, 60vh); margin: 0 0 32px; padding: 16px 0 24px;
}
.ps-stage::before {                       /* ambient light, as on the homepage: every glow fades out before the box edge */
  content: ""; position: absolute; inset: -72px -24px -40px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side at 78% 46%, rgba(45, 212, 191, .17) 0%, transparent 100%),
    radial-gradient(closest-side at 88% 18%, rgba(56, 189, 248, .09) 0%, transparent 100%),
    radial-gradient(closest-side at 16% 86%, rgba(167, 139, 250, .07) 0%, transparent 100%);
}
.ps-text { position: relative; z-index: 1; min-width: 0; }
.ps-kicker { margin: 22px 0 10px; font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; color: var(--accent); }
.ps-stage h1 {
  margin: 0 0 18px; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em;
  text-wrap: balance;
}
.ps-stage h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #2dd4bf 0%, #7fb6ff 60%, #a78bfa 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ps-stage .pg-lede { max-width: 54ch; font-size: 1.1rem; line-height: 1.6; color: #b6bfd2; }
.ps-mark { position: relative; display: grid; place-items: center; align-self: stretch; min-height: 300px; pointer-events: none; }
.ps-mark .pg-mark { display: block; width: min(100%, 360px); height: auto; filter: drop-shadow(0 30px 60px rgba(45, 212, 191, .18)); }

/* ── Contact: the form is the stage ── */
.ps-contact { grid-template-columns: minmax(0, 1fr) minmax(360px, 520px); align-items: start; min-height: 0; padding-top: 8px; }
.ps-contact .ps-text { padding: 6px 0 0; }
.ps-ways { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; max-width: 46ch; }
.ps-ways li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; color: #aab3c7; font-size: .92rem; line-height: 1.5; }
.ps-ways b { color: var(--text); font-weight: 650; }
.ps-ways a { color: var(--accent); }
.ps-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(45, 212, 191, .1); border: 1px solid rgba(45, 212, 191, .18); }
.ps-ico svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ps-panel { position: relative; min-width: 0; }
.ps-contact::before {                     /* the light sits behind the mark here, and a cooler one behind the form */
  background:
    radial-gradient(closest-side at 24% 72%, rgba(45, 212, 191, .17) 0%, transparent 100%),
    radial-gradient(closest-side at 80% 30%, rgba(56, 189, 248, .08) 0%, transparent 100%),
    radial-gradient(closest-side at 70% 92%, rgba(167, 139, 250, .07) 0%, transparent 100%);
}
@media (max-width: 1000px) {
  .ps-contact::before { background: radial-gradient(closest-side at 80% 12%, rgba(45, 212, 191, .16) 0%, transparent 100%), radial-gradient(closest-side at 20% 70%, rgba(56, 189, 248, .07) 0%, transparent 100%); }
}
.ps-contact .ps-text { display: flex; flex-direction: column; }
.ps-contact .ps-text > .pg-mark {          /* the mark fills the space beside the tall form, as on the homepage */
  display: block; width: min(72%, 320px); height: auto; margin: 40px auto 0 14%; pointer-events: none;
  filter: drop-shadow(0 30px 60px rgba(45, 212, 191, .18));
}
.ps-panel .vbs-contact-hero {
  position: relative; z-index: 1; max-width: none; margin: 0; padding: 24px 24px 20px; border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(16, 20, 30, .74);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.ps-panel-h { margin: 0 0 16px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; }
.ps-panel .vbs-contact-alt { position: relative; z-index: 1; margin: 12px 4px 0; }

/* help topics as quiet cards on the same stage */
.ps-help { margin: 0 0 44px; }
.ps-help-h { margin: 0 0 16px; font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 750; line-height: 1.1; letter-spacing: -.03em; }
.ps-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ps-card {
  padding: 22px 22px 20px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
}
.ps-card .ps-ico { margin: 0 0 14px; }
.ps-card h2 { margin: 0 0 8px; font-size: 1.12rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.ps-card p { margin: 0; color: #aab3c7; font-size: .94rem; line-height: 1.65; }
.ps-card a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ps-card strong { color: var(--text); }

/* ── narrower windows ── */
@media (max-width: 1000px) {
  .ps-stage { grid-template-columns: minmax(0, 1fr) minmax(200px, 34%); }
  .ps-contact { grid-template-columns: minmax(0, 1fr); }
  .ps-contact .ps-ways { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ps-contact .ps-ways li { grid-template-columns: minmax(0, 1fr); }
  .ps-contact .ps-text > .pg-mark { position: absolute; z-index: -1; top: -20px; right: -2%; width: 280px; margin: 0; opacity: .32; }
}
@media (max-width: 700px) {
  .ps-stage { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 4px; }
  .ps-stage::before { inset: -64px -16px -20px; }
  .ps-mark { position: absolute; top: -8px; right: -22%; width: 70%; min-height: 0; opacity: .3; z-index: 0; }
  .ps-stage h1 { font-size: clamp(2.5rem, 12vw, 3.2rem); letter-spacing: -.035em; }
  .ps-contact .ps-ways { grid-template-columns: minmax(0, 1fr); }
  .ps-contact .ps-ways li { grid-template-columns: 34px minmax(0, 1fr); }
  .ps-contact .ps-text > .pg-mark { top: -10px; right: -24%; width: 230px; opacity: .26; }
  .ps-panel .vbs-contact-hero { padding: 18px 16px 16px; border-radius: 18px; }
  .ps-cards { grid-template-columns: minmax(0, 1fr); }
  .ps-card { padding: 18px; }
}

@media (prefers-reduced-transparency: reduce) {
  .ps-panel .vbs-contact-hero { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .ps-stage::before { display: none; }
  .ps-card, .ps-panel .vbs-contact-hero { border-color: #8f99ae; }
  .ps-ways li, .ps-card p, .ps-stage .pg-lede { color: var(--text); }
}
