:root {
  --pg-night: #0A0E2A;
  --pg-canvas: #131A3F;
  --pg-blue: #2B3AA8;
  --pg-electric: #4A5BFF;
  --pg-cyan: #22E0D6;
  --pg-coral: #FF6B4A;
  --pg-teal-zone: #0F3B3A;
  --pg-wine-zone: #4A1B47;
  --pg-text: #F2F5FF;
  --pg-muted: #A8B2D8;
  --pg-line: rgba(168, 178, 216, 0.22);
  --pg-line-strong: rgba(34, 224, 214, 0.42);
  --pg-shell: 1240px;
  --pg-gap: clamp(16px, 2.4vw, 30px);
  --pg-cut: 18px;
  --pg-header-h: 78px;
  --pg-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --pg-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--pg-night);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  isolation: isolate;
  font-family: var(--pg-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--pg-text);
  background-color: var(--pg-night);
  background-image:
    radial-gradient(ellipse at 76% 10%, rgba(74, 91, 255, 0.28), transparent 34%),
    radial-gradient(ellipse at 10% 72%, rgba(34, 224, 214, 0.10), transparent 30%),
    linear-gradient(160deg, #0A0E2A 0%, #131A3F 52%, #0A0E2A 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(115deg, transparent 0 43.8%, rgba(34, 224, 214, 0.045) 43.8% 44.4%, transparent 44.4% 100%),
    linear-gradient(115deg, transparent 0 71.6%, rgba(74, 91, 255, 0.08) 71.6% 72.1%, transparent 72.1% 100%);
  background-size: 140% 140%, 160% 160%;
  animation: pg-drift 14s ease-in-out infinite alternate;
  will-change: transform;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  background-image: radial-gradient(rgba(168, 178, 216, 0.24) 0.7px, transparent 0.8px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
}

@keyframes pg-drift {
  from { transform: translate3d(-1.5%, 0, 0); }
  to { transform: translate3d(1.5%, 0, 0); }
}

@keyframes pg-pulse {
  0%, 100% { opacity: 0.72; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 900;
  line-height: 1.12;
}

p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

::selection {
  background: var(--pg-cyan);
  color: var(--pg-night);
}

:focus-visible {
  outline: 2px solid var(--pg-cyan);
  outline-offset: 3px;
}

.pg-skip {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--pg-cyan);
  color: var(--pg-night);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.pg-skip:focus {
  transform: translateY(0);
}

.pg-main {
  display: block;
  min-height: 50vh;
}

.pg-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: clamp(8px, 1.2vw, 14px) clamp(10px, 2vw, 24px) 0;
}

.pg-header__shell {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  width: min(100%, var(--pg-shell));
  min-height: 64px;
  margin: 0 auto;
  padding: 10px clamp(14px, 1.8vw, 22px);
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(19, 26, 63, 0.96), rgba(10, 14, 42, 0.90)),
    radial-gradient(circle at 82% 0%, rgba(74, 91, 255, 0.22), transparent 34%);
  border: 1px solid var(--pg-line);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: min-height 0.25s ease, padding 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.pg-header__shell > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.pg-header__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 77.6%, rgba(34, 224, 214, 0.08) 77.6% 78.2%, transparent 78.2%),
    linear-gradient(115deg, transparent 0 89.8%, rgba(255, 107, 74, 0.06) 89.8% 90.1%, transparent 90.1%);
  clip-path: inherit;
}

.pg-header__shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, var(--pg-cyan), var(--pg-electric) 58%, var(--pg-coral));
  transform: scaleX(var(--pg-progress, 0));
  transform-origin: left center;
  transition: transform 0.08s linear;
}

.pg-header[data-scrolled="true"] .pg-header__shell {
  min-height: 54px;
  padding-top: 6px;
  padding-bottom: 6px;
  border-color: rgba(34, 224, 214, 0.24);
  background:
    linear-gradient(100deg, rgba(19, 26, 63, 0.98), rgba(10, 14, 42, 0.96)),
    radial-gradient(circle at 82% 0%, rgba(74, 91, 255, 0.18), transparent 34%);
}

.pg-header[data-open="true"] .pg-header__shell {
  border-color: var(--pg-line-strong);
}

.pg-brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pg-text);
  text-decoration: none;
  white-space: nowrap;
}

.pg-brand__pixel {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background: var(--pg-cyan);
  box-shadow: 0 0 0 3px rgba(34, 224, 214, 0.12), 0 0 18px rgba(34, 224, 214, 0.72);
  clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 30% 100%, 0 70%);
  animation: pg-pulse 4.2s ease-in-out infinite;
}

.pg-brand__text {
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.pg-brand__tag {
  padding-left: 10px;
  border-left: 1px solid var(--pg-line);
  color: var(--pg-cyan);
  font-family: var(--pg-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1;
}

.pg-nav-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--pg-line);
  border-radius: 999px;
  background: rgba(19, 26, 63, 0.72);
  color: var(--pg-text);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pg-nav-toggle:hover {
  background: rgba(74, 91, 255, 0.18);
  border-color: rgba(34, 224, 214, 0.42);
}

.pg-nav-toggle:active {
  transform: translateY(1px);
}

.pg-nav-toggle__bars {
  display: grid;
  width: 16px;
  gap: 3px;
}

.pg-nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--pg-cyan);
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pg-header[data-open="true"] .pg-nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.pg-header[data-open="true"] .pg-nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.pg-header[data-open="true"] .pg-nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.pg-nav-toggle__label {
  white-space: nowrap;
}

.pg-nav {
  grid-column: 2;
  min-width: 0;
}

.pg-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pg-nav__item {
  flex: 0 0 auto;
}

.pg-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--pg-muted);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pg-nav__link:hover,
.pg-nav__link:focus-visible {
  color: var(--pg-text);
  background: rgba(74, 91, 255, 0.18);
  transform: translateY(-1px);
}

.pg-nav__link[aria-current="page"] {
  color: var(--pg-text);
  background: rgba(43, 58, 168, 0.48);
}

.pg-nav__link[aria-current="page"]::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--pg-cyan);
  box-shadow: 0 0 12px rgba(34, 224, 214, 0.9);
}

.pg-header__cta {
  grid-column: 3;
  justify-self: end;
  min-height: 38px;
  padding-inline: 16px;
  white-space: nowrap;
}

.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pg-btn--coral {
  background: var(--pg-coral);
  color: #160815;
  border-color: rgba(255, 107, 74, 0.38);
  box-shadow: 0 0 0 1px rgba(255, 107, 74, 0.08), 0 8px 24px rgba(255, 107, 74, 0.20);
}

.pg-btn--coral:hover {
  background: #FF8266;
  box-shadow: 0 0 0 1px rgba(255, 107, 74, 0.16), 0 10px 30px rgba(255, 107, 74, 0.28);
  transform: translateY(-1px);
}

.pg-btn--coral:active {
  transform: translateY(1px);
}

.pg-btn--ghost {
  background: rgba(34, 224, 214, 0.08);
  color: var(--pg-cyan);
  border-color: rgba(34, 224, 214, 0.42);
}

.pg-btn--ghost:hover {
  background: rgba(34, 224, 214, 0.16);
  border-color: var(--pg-cyan);
  transform: translateY(-1px);
}

.pg-btn--ghost:active {
  transform: translateY(1px);
}

.pg-btn:disabled,
.pg-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pg-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  overflow: hidden;
  border-top: 1px solid rgba(34, 224, 214, 0.24);
  background:
    radial-gradient(ellipse at 14% 0%, rgba(74, 27, 71, 0.48), transparent 42%),
    radial-gradient(ellipse at 92% 18%, rgba(74, 91, 255, 0.15), transparent 30%),
    linear-gradient(180deg, rgba(19, 26, 63, 0.50), #070A1C 56%, #050817);
}

.pg-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 67.8%, rgba(34, 224, 214, 0.06) 67.8% 68.3%, transparent 68.3%),
    linear-gradient(115deg, transparent 0 84.8%, rgba(255, 107, 74, 0.045) 84.8% 85.2%, transparent 85.2%);
}

.pg-footer__shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--pg-shell));
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) 0 24px;
}

.pg-footer__band {
  display: grid;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--pg-line);
}

.pg-footer__band--brand {
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  align-items: end;
  gap: 24px;
  padding-top: 0;
  border-top: 0;
}

.pg-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pg-text);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.pg-footer__pixel {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: var(--pg-coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.10), 0 0 22px rgba(255, 107, 74, 0.48);
  clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 30% 100%, 0 70%);
}

.pg-footer__motto {
  max-width: 34em;
  margin-top: 10px;
  color: var(--pg-muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

.pg-footer__quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-self: end;
  gap: 8px 16px;
}

.pg-footer__link {
  color: var(--pg-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pg-footer__link:hover,
.pg-footer__link:focus-visible {
  color: var(--pg-cyan);
  border-bottom-color: rgba(34, 224, 214, 0.65);
}

.pg-footer__band--contact {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
  gap: clamp(20px, 4vw, 56px);
}

.pg-footer__contact {
  display: grid;
  gap: 8px;
  margin: 0;
  font-style: normal;
}

.pg-footer__contact-item {
  display: flex;
  gap: 12px;
  color: var(--pg-text);
  font-size: 0.92rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.pg-footer__contact-label {
  flex: 0 0 4.8em;
  padding-top: 0.18em;
  color: var(--pg-cyan);
  font-family: var(--pg-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.pg-footer__note {
  max-width: 46em;
  padding-left: 16px;
  border-left: 1px solid rgba(34, 224, 214, 0.34);
  color: var(--pg-muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.pg-footer__band--legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 8px;
}

.pg-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--pg-muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.pg-footer__icp {
  color: var(--pg-text);
  font-family: var(--pg-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.pg-footer__sep {
  color: rgba(168, 178, 216, 0.48);
}

.pg-footer__copy {
  color: var(--pg-muted);
  font-family: var(--pg-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.pg-shell {
  width: min(calc(100% - 32px), var(--pg-shell));
  margin-inline: auto;
}

.pg-section {
  position: relative;
  padding-block: clamp(40px, 7vw, 88px);
}

.pg-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.pg-split--wide {
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
}

.pg-split__rail {
  position: sticky;
  top: calc(var(--pg-header-h) + 24px);
  min-width: 0;
}

.pg-split__main {
  min-width: 0;
}

.pg-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--pg-gap);
}

.pg-grid > * {
  min-width: 0;
}

.pg-span-4 { grid-column: span 4; }
.pg-span-5 { grid-column: span 5; }
.pg-span-6 { grid-column: span 6; }
.pg-span-7 { grid-column: span 7; }
.pg-span-8 { grid-column: span 8; }

.pg-zone {
  position: relative;
  padding-block: clamp(44px, 7vw, 96px);
}

.pg-zone--indigo {
  background:
    linear-gradient(120deg, rgba(19, 26, 63, 0.96), rgba(10, 14, 42, 0.72)),
    linear-gradient(115deg, transparent 0 86.8%, rgba(34, 224, 214, 0.035) 86.8% 87.2%, transparent 87.2%);
}

.pg-zone--teal {
  background:
    linear-gradient(120deg, rgba(15, 59, 58, 0.96), rgba(10, 14, 42, 0.74)),
    radial-gradient(circle at 88% 12%, rgba(34, 224, 214, 0.10), transparent 30%);
}

.pg-zone--wine {
  background:
    linear-gradient(120deg, rgba(74, 27, 71, 0.94), rgba(10, 14, 42, 0.74)),
    radial-gradient(circle at 14% 20%, rgba(255, 107, 74, 0.08), transparent 28%);
}

.pg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pg-cyan);
  font-family: var(--pg-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.pg-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pg-cyan);
  box-shadow: 0 0 12px rgba(34, 224, 214, 0.82);
}

.pg-title {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.pg-title--shift {
  padding-left: 2ch;
}

.pg-lede {
  max-width: 38em;
  margin-top: 18px;
  color: var(--pg-muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.9;
}

.pg-prose {
  color: var(--pg-text);
  font-size: 1rem;
  line-height: 1.85;
}

.pg-prose > * + * {
  margin-top: 1em;
}

.pg-prose p {
  max-width: 38em;
}

.pg-prose p + p {
  margin-top: 1.1em;
}

.pg-prose h2 {
  margin-top: 1.8em;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pg-prose h3 {
  margin-top: 1.5em;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 900;
  line-height: 1.35;
}

.pg-prose h2:first-child,
.pg-prose h3:first-child {
  margin-top: 0;
}

.pg-prose ul,
.pg-prose ol {
  max-width: 38em;
  padding-left: 1.4em;
}

.pg-prose li + li {
  margin-top: 0.35em;
}

.pg-prose li::marker {
  color: var(--pg-cyan);
  font-family: var(--pg-mono);
}

.pg-prose a {
  color: var(--pg-cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.pg-prose strong {
  color: var(--pg-text);
  font-weight: 700;
}

.pg-prose blockquote {
  max-width: 38em;
  padding-left: 18px;
  border-left: 2px solid var(--pg-coral);
  color: var(--pg-muted);
}

.pg-mono {
  font-family: var(--pg-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.pg-rule {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: linear-gradient(90deg, var(--pg-cyan), rgba(74, 91, 255, 0.22), transparent);
}

.pg-panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(145deg, rgba(43, 58, 168, 0.35), rgba(19, 26, 63, 0.66));
  border: 1px solid var(--pg-line);
  clip-path: polygon(0 0, calc(100% - var(--pg-cut)) 0, 100% var(--pg-cut), 100% 100%, var(--pg-cut) 100%, 0 calc(100% - var(--pg-cut)));
}

.pg-panel--teal {
  background: linear-gradient(145deg, rgba(15, 59, 58, 0.95), rgba(19, 26, 63, 0.82));
}

.pg-panel--wine {
  background: linear-gradient(145deg, rgba(74, 27, 71, 0.95), rgba(19, 26, 63, 0.82));
}

.pg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--pg-line);
  border-radius: 999px;
  color: var(--pg-muted);
  font-family: var(--pg-mono);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.pg-index {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pg-cyan);
  font-family: var(--pg-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.pg-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--pg-muted);
  font-family: var(--pg-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.pg-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pg-breadcrumb li:not(:last-child)::after {
  content: "/";
  color: rgba(168, 178, 216, 0.5);
}

.pg-breadcrumb a {
  color: var(--pg-cyan);
  text-decoration: none;
}

.pg-breadcrumb a:hover {
  text-decoration: underline;
}

.pg-details {
  border-bottom: 1px solid var(--pg-line);
}

.pg-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: var(--pg-text);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.pg-details summary::after {
  content: "＋";
  color: var(--pg-cyan);
  font-family: var(--pg-mono);
  font-weight: 500;
}

.pg-details[open] summary::after {
  content: "－";
}

.pg-details > :not(summary) {
  padding-bottom: 16px;
  color: var(--pg-muted);
}

.pg-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 224, 214, 0.22), transparent 35%),
    linear-gradient(135deg, #131A3F, #0F3B3A 52%, #4A1B47);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.pg-media__img,
.pg-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg-media__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  padding: 6px 8px;
  border-left: 2px solid var(--pg-cyan);
  background: rgba(10, 14, 42, 0.66);
  color: var(--pg-muted);
  font-family: var(--pg-mono);
  font-size: 11px;
  line-height: 1.5;
}

.pg-media--portrait {
  aspect-ratio: 3 / 4;
}

.pg-media--square {
  aspect-ratio: 1 / 1;
}

.pg-media--wide {
  aspect-ratio: 21 / 9;
}

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

@media (max-width: 980px) {
  .pg-header {
    padding-inline: 10px;
  }

  .pg-header__shell {
    grid-template-columns: minmax(0, 1fr) auto auto;
    row-gap: 4px;
    gap: 8px;
    padding: 8px 12px;
  }

  .pg-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .pg-brand__tag {
    display: none;
  }

  .pg-nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }

  .pg-header__cta {
    grid-column: 3;
    grid-row: 1;
    min-height: 34px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .pg-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  .pg-header[data-open="true"] .pg-nav {
    max-height: 76px;
    opacity: 1;
  }

  .pg-nav__list {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px 0 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--pg-electric) transparent;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .pg-nav__link {
    padding-inline: 14px;
    background: rgba(19, 26, 63, 0.68);
    border: 1px solid rgba(168, 178, 216, 0.16);
    scroll-snap-align: start;
  }

  .pg-nav__link[aria-current="page"] {
    border-color: rgba(34, 224, 214, 0.42);
  }
}

@media (max-width: 860px) {
  .pg-split,
  .pg-split--wide {
    grid-template-columns: 1fr;
  }

  .pg-split__rail {
    position: static;
  }

  .pg-grid {
    grid-template-columns: 1fr;
  }

  .pg-span-4,
  .pg-span-5,
  .pg-span-6,
  .pg-span-7,
  .pg-span-8 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .pg-footer__shell {
    width: min(calc(100% - 24px), var(--pg-shell));
    padding-top: 32px;
  }

  .pg-footer__band--brand,
  .pg-footer__band--contact {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .pg-footer__quick {
    justify-content: flex-start;
  }

  .pg-footer__band--legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .pg-footer__contact-label {
    flex-basis: 4.4em;
  }

  .pg-footer__note {
    padding-left: 14px;
  }

  .pg-panel {
    padding: 20px;
  }

  .pg-title--shift {
    padding-left: 1ch;
  }
}

@media (max-width: 520px) {
  .pg-header__shell {
    padding: 7px 10px;
    gap: 6px;
  }

  .pg-brand__text {
    font-size: 0.9rem;
  }

  .pg-brand__pixel {
    width: 12px;
    height: 12px;
  }

  .pg-header__cta {
    padding-inline: 10px;
    font-size: 0.78rem;
  }

  .pg-nav-toggle {
    padding: 7px 9px;
    font-size: 0.78rem;
  }

  .pg-footer__contact-item {
    display: grid;
    gap: 3px;
  }

  .pg-footer__contact-label {
    flex-basis: auto;
  }

  .pg-breadcrumb {
    font-size: 10px;
  }

  .pg-media--wide {
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  body::before,
  .pg-brand__pixel {
    animation: none;
  }

  .pg-header__shell::after {
    transition: none;
  }
}
