:root {
  color-scheme: dark;
  --bg: #07080d;
  --bg-soft: #0c0f18;
  --panel: rgba(17, 21, 34, 0.78);
  --panel-strong: #111624;
  --line: rgba(255, 255, 255, 0.09);
  --line-bright: rgba(143, 118, 255, 0.35);
  --text: #f5f7ff;
  --muted: #aab2c7;
  --muted-2: #7f899f;
  --violet: #8f76ff;
  --violet-2: #b7a8ff;
  --blue: #5ea8ff;
  --cyan: #57dfef;
  --green: #74e3a4;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% -10%, rgba(118, 85, 255, 0.19), transparent 34rem),
    radial-gradient(circle at 92% 12%, rgba(65, 154, 255, 0.13), transparent 30rem),
    linear-gradient(180deg, #080910 0%, #07080d 45%, #090b12 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: #090a10;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.ps-shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.ps-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 13, 0.82);
  backdrop-filter: blur(24px) saturate(130%);
}
.ps-header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}
.ps-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.03em;
}
.ps-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(143,118,255,.22), rgba(94,168,255,.09));
  box-shadow: inset 0 0 22px rgba(143,118,255,.08);
  font-size: 13px;
  letter-spacing: .08em;
}
.ps-brand-copy { display: grid; line-height: 1.05; }
.ps-brand-copy small { margin-top: 5px; color: var(--muted-2); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.ps-nav { display: flex; justify-content: center; gap: 4px; }
.ps-nav a, .ps-account a, .ps-account button {
  border: 0;
  border-radius: 11px;
  padding: 10px 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.ps-nav a:hover, .ps-nav a[aria-current="page"], .ps-account a:hover, .ps-account button:hover {
  background: rgba(255,255,255,.055);
  color: var(--text);
}
.ps-account { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.ps-account .accent { color: var(--violet-2); }
.ps-menu { display: none; }

.ps-main { overflow: hidden; }
.ps-hero {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: 60px;
}
.ps-hero::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -130px;
  top: 42px;
  background: radial-gradient(circle, rgba(116, 85, 255, .22), transparent 68%);
  filter: blur(14px);
  pointer-events: none;
}
.ps-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 19px;
  color: var(--violet-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.ps-kicker::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.ps-hero h1, .ps-page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(54px, 7.7vw, 104px);
  line-height: .91;
  letter-spacing: -.072em;
  font-weight: 900;
}
.ps-hero h1 span, .ps-gradient {
  background: linear-gradient(95deg, #ffffff 8%, #c5bbff 45%, #72b9ff 87%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ps-lede {
  max-width: 700px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}
.ps-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 31px; }
.ps-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.ps-button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); }
.ps-button.primary { border-color: rgba(143,118,255,.45); background: linear-gradient(135deg, rgba(143,118,255,.92), rgba(76,129,255,.88)); box-shadow: 0 12px 34px rgba(84,85,255,.22); }
.ps-button.ghost { background: transparent; }

.ps-orbit {
  position: relative;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(150deg, rgba(25,30,48,.86), rgba(10,12,20,.78));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ps-orbit::before, .ps-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(145,132,255,.18);
  border-radius: 50%;
  inset: 72px;
}
.ps-orbit::after { inset: 132px; border-color: rgba(88,180,255,.15); }
.ps-orbit-core {
  position: absolute;
  inset: 50%;
  width: 112px;
  height: 112px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 32px;
  background: radial-gradient(circle at 35% 25%, rgba(178,163,255,.38), rgba(86,97,224,.18) 55%, rgba(9,11,19,.85));
  box-shadow: 0 0 65px rgba(100,80,255,.24);
  font-weight: 900;
  letter-spacing: -.04em;
}
.ps-orbit-tag {
  position: absolute;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9,11,18,.88);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ps-orbit-tag:nth-child(2) { top: 74px; left: 54px; }
.ps-orbit-tag:nth-child(3) { top: 86px; right: 40px; }
.ps-orbit-tag:nth-child(4) { bottom: 68px; left: 42px; }
.ps-orbit-tag:nth-child(5) { bottom: 76px; right: 50px; }

.ps-section { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 74px 0; }
.ps-section + .ps-section { border-top: 1px solid rgba(255,255,255,.05); }
.ps-section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.ps-section-head h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1; letter-spacing: -.045em; }
.ps-section-head p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.65; }
.ps-overline { margin: 0 0 10px; color: var(--violet-2); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }

.ps-feature-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.ps-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ps-card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ps-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(21,26,42,.82), rgba(11,13,22,.78));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.ps-card:hover { transform: translateY(-4px); border-color: var(--line-bright); background: linear-gradient(145deg, rgba(27,32,52,.9), rgba(12,14,24,.86)); }
.ps-card::after { content: ""; position: absolute; width: 200px; height: 200px; right: -90px; bottom: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(113,91,255,.15), transparent 68%); }
.ps-card.large { min-height: 430px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; }
.ps-card.ai::after { background: radial-gradient(circle, rgba(58,174,255,.18), transparent 68%); }
.ps-chip { display: inline-flex; width: fit-content; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ps-card h3 { margin: 18px 0 9px; font-size: clamp(25px, 3vw, 40px); letter-spacing: -.04em; }
.ps-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.ps-card-link { position: relative; z-index: 1; margin-top: 26px; color: #dcd6ff; font-weight: 800; font-size: 13px; }
.ps-product-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 24px; }
.ps-product-list span { padding: 10px 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.025); color: var(--muted); font-size: 12px; font-weight: 700; }

.ps-page-hero { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 92px 0 54px; }
.ps-page-hero h1 { font-size: clamp(52px, 7vw, 88px); }
.ps-page-hero .ps-lede { max-width: 820px; }
.ps-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted-2); font-size: 12px; font-weight: 700; }
.ps-breadcrumbs a { color: var(--muted); text-decoration: none; }
.ps-breadcrumbs span { opacity: .55; }

.ps-prose { max-width: 860px; }
.ps-prose h2 { margin: 48px 0 12px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; }
.ps-prose p { color: var(--muted); line-height: 1.8; font-size: 17px; }
.ps-status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.ps-status article { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.025); }
.ps-status strong { display: block; margin-bottom: 8px; font-size: 13px; }
.ps-status span { color: var(--muted); font-size: 12px; line-height: 1.5; }

.ps-community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ps-community-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); text-decoration: none; }
.ps-community-card strong { display: block; margin-bottom: 7px; font-size: 18px; }
.ps-community-card span { color: var(--muted); font-size: 13px; line-height: 1.55; }
.ps-member-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.ps-member-list .newest-member-chip { min-width: 150px; display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); text-decoration: none; }
.ps-member-list .newest-member-chip strong { font-size: 13px; }
.ps-member-list .newest-member-chip span, .ps-member-empty { color: var(--muted-2); font-size: 11px; }

.ps-footer { margin-top: 64px; border-top: 1px solid var(--line); }
.ps-footer-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 38px 0 48px; display: flex; justify-content: space-between; gap: 24px; color: var(--muted-2); font-size: 12px; }
.ps-footer-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.ps-footer a { color: var(--muted); text-decoration: none; }

@media (max-width: 930px) {
  .ps-header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .ps-menu { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); color: white; cursor: pointer; }
  .ps-menu span { display: block; width: 18px; height: 2px; margin: 2px; background: currentColor; }
  .ps-nav { position: fixed; inset: 76px 14px auto; display: none; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(10,12,20,.97); box-shadow: var(--shadow); }
  body.ps-nav-open .ps-nav { display: grid; }
  .ps-nav a { padding: 13px 14px; }
  .ps-account { display: none; }
  body.ps-nav-open .ps-account { position: fixed; z-index: 60; top: 358px; left: 28px; right: 28px; display: flex; justify-content: flex-start; padding-top: 10px; border-top: 1px solid var(--line); }
  .ps-hero { grid-template-columns: 1fr; padding-top: 76px; }
  .ps-orbit { min-height: 350px; }
  .ps-feature-grid { grid-template-columns: 1fr; }
  .ps-card-grid.three { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .ps-shell, .ps-header-inner, .ps-hero, .ps-section, .ps-page-hero, .ps-footer-inner { width: min(100% - 28px, var(--max)); }
  .ps-header-inner { min-height: 68px; }
  .ps-brand-copy small { display: none; }
  .ps-nav { top: 68px; }
  .ps-hero { padding: 64px 0 48px; gap: 36px; }
  .ps-hero h1, .ps-page-hero h1 { font-size: clamp(48px, 16vw, 72px); }
  .ps-lede { font-size: 17px; }
  .ps-orbit { min-height: 300px; border-radius: 24px; }
  .ps-orbit::before { inset: 54px; }
  .ps-orbit::after { inset: 104px; }
  .ps-orbit-tag:nth-child(2) { top: 42px; left: 24px; }
  .ps-orbit-tag:nth-child(3) { top: 54px; right: 18px; }
  .ps-orbit-tag:nth-child(4) { bottom: 42px; left: 18px; }
  .ps-orbit-tag:nth-child(5) { bottom: 48px; right: 22px; }
  .ps-section { padding: 54px 0; }
  .ps-section-head { display: block; }
  .ps-section-head p { margin-top: 15px; }
  .ps-card-grid, .ps-card-grid.three, .ps-community-grid, .ps-status { grid-template-columns: 1fr; }
  .ps-card, .ps-card.large { min-height: 0; padding: 23px; }
  .ps-product-list { grid-template-columns: 1fr; }
  .ps-page-hero { padding: 65px 0 30px; }
  .ps-footer-inner { display: grid; }
}
