.pg-hero {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 45%, #bfdbfe 100%);
  border-bottom: 1px solid #93c5fd;
}

.pg-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e40af;
  font-weight: 600;
}

.pg-title {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
}

.pg-intro {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.pg-page {
  padding-bottom: 5rem;
  background: #f8fafc;
  min-height: 60vh;
}

.pg-body,
.pg-body-narrow {
  padding-top: 2rem;
  padding-bottom: 4rem;
  max-width: 44rem;
}

.pg-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 2rem;
  max-width: 72rem;
}

.pg-layout-full {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .pg-layout {
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 2.5rem;
    align-items: start;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .pg-page {
    padding-bottom: 2rem;
  }
}

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

.pg-banner {
  margin: 0 0 1.25rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
}

.pg-banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.pg-story-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem;
}

.pg-mobile-count {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
}

.pg-sign-col {
  min-width: 0;
}

.pg-sign-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .pg-sign-card {
    position: sticky;
    top: 5.5rem;
  }
}

.pg-sign-card-head {
  padding: 1.25rem 1.25rem 0;
}

.pg-sign-fields {
  padding: 1.25rem;
}

.pg-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.pg-thanks {
  text-align: center;
  padding: 3rem 1.5rem;
}

.pg-count {
  font-size: 2rem;
  font-weight: 700;
  color: #1d4ed8;
  line-height: 1;
}

.pg-count-label {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: #64748b;
}

.pg-progress {
  height: 0.5rem;
  border-radius: 9999px;
  background: #e2e8f0;
  overflow: hidden;
}

.pg-progress-bar {
  height: 100%;
  background: #2563eb;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.pg-test-banner {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.pg-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pg-body-text {
  white-space: pre-wrap;
  color: #334155;
  line-height: 1.7;
  font-size: 1.05rem;
}

.pg-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

.pg-mobile-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

.pg-mobile-bar-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1d4ed8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pg-mobile-bar-title {
  font-size: 0.875rem;
  color: #334155;
  font-weight: 500;
}

[x-cloak] {
  display: none !important;
}

.pg-related {
  max-width: 72rem;
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

.pg-related-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.pg-related-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #1e3a8a;
  line-height: 1.7;
}

.pg-related-list a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pg-related-list a:hover {
  color: #1e40af;
}
