.p-page {
  min-height: 100dvh;
  background: #120e0c;
  color: #d4c7a8;
}

.p-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at top, rgba(198, 161, 91, 0.1), transparent 52%);
}

.p-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(139, 111, 58, 0.35);
  background: rgba(20, 15, 12, 0.9);
  backdrop-filter: blur(12px);
}

.p-header-left,
.p-header-right,
.p-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.p-brand {
  color: #e8d5a3;
  text-decoration: none;
}

.p-brand span {
  display: none;
  font-family: Cinzel, serif;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.p-back {
  display: none;
  align-items: center;
  border: 1px solid rgba(198, 161, 91, 0.55);
  border-radius: 999px;
  padding: 6px 14px;
  color: #e8d5a3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.p-back:hover {
  border-color: #e8d5a3;
  color: #f3e3b6;
}

.p-menu-btn {
  display: inline-flex;
  max-width: 42vw;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(139, 111, 58, 0.4);
  border-radius: 4px;
  background: rgba(27, 21, 17, 0.7);
  padding: 6px 10px;
  color: #e8d5a3;
}

.p-menu-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.p-download {
  border-radius: 999px;
  background: linear-gradient(#f3e3b6, #c6a15b);
  padding: 6px 14px;
  color: #2a2214;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.p-backdrop {
  display: none;
}

.p-page.is-menu-open .p-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 30;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
}

.p-aside {
  position: fixed;
  top: 64px;
  bottom: 0;
  left: 0;
  z-index: 40;
  width: 256px;
  overflow-y: auto;
  border-right: 1px solid rgba(139, 111, 58, 0.3);
  background: rgba(22, 17, 13, 0.94);
  padding: 16px 12px 28px;
  backdrop-filter: blur(8px);
  transform: translateX(-100%);
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 111, 58, 0.45) transparent;
}

.p-page.is-menu-open .p-aside {
  transform: none;
}

.p-aside-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.p-aside-head p,
.p-close {
  color: #c6a15b;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.p-close {
  border: 0;
  background: transparent;
  color: #d8c9a6;
}

.p-group {
  margin: 20px 8px 8px;
  color: #c6a15b;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.p-group:first-of-type {
  margin-top: 4px;
}

.p-side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
  border-left: 2px solid transparent;
  border-radius: 4px;
  padding: 6px 10px;
  color: #b5a48c;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.p-side-link svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: #9a8f7a;
}

.p-side-link.is-active {
  border-left-color: #c6a15b;
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.25), transparent);
  color: #f3e3b6;
}

.p-side-link.is-active svg {
  color: #e8d5a3;
}

.p-main {
  position: relative;
  z-index: 0;
}

.p-section {
  position: relative;
  display: flex;
  min-height: 70vh;
  scroll-margin-top: 80px;
  align-items: center;
  justify-content: center;
  padding: 64px 16px;
}

.p-wrap {
  width: 100%;
  max-width: 760px;
  padding-top: 32px;
}

.p-wrap.is-wide {
  max-width: 1000px;
}

.p-lockup {
  margin-bottom: 40px;
  text-align: center;
  color: #e8d5a3;
}

.p-logo {
  margin: 0;
}

.p-brand img {
  height: 2.25rem;
  width: auto;
}

.p-closing .p-card > svg {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  color: #e8d5a3;
}

.p-closing .p-card > svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
}

.p-lockup h1 {
  margin-top: 16px;
  color: #f4ead0;
  font-family: Cinzel, serif;
  font-size: clamp(1.45rem, 6.6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

.p-lockup p {
  margin-top: 8px;
  color: #e8d5a3;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
}

.p-card {
  position: relative;
  border: 1px solid rgba(139, 111, 58, 0.4);
  background: linear-gradient(165deg, rgba(41, 31, 25, 0.92), rgba(27, 21, 17, 0.94));
  padding: 48px 20px 36px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.p-card-icon {
  position: absolute;
  top: -26px;
  left: 50%;
  display: flex;
  width: 52px;
  height: 52px;
  translate: -50% 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 112, 0.55);
  background: linear-gradient(#33271f, #201812);
  color: #e8d5a3;
  box-shadow: 0 0 18px rgba(201, 168, 112, 0.28);
}

.p-card-icon svg {
  width: 20px;
  height: 20px;
}

.p-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  border-color: rgba(201, 168, 112, 0.7);
  border-style: solid;
}

.p-corner.tl { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.p-corner.tr { top: 12px; right: 12px; border-width: 1px 1px 0 0; }
.p-corner.bl { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; }
.p-corner.br { right: 12px; bottom: 12px; border-width: 0 1px 1px 0; }

.p-card h2,
.p-closing h2 {
  color: #f4ead0;
  font-family: Cinzel, serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.p-rule {
  width: 150px;
  height: 2px;
  margin: 14px auto 26px;
  background: linear-gradient(90deg, transparent, #c9a870, transparent);
}

.p-lead,
.p-prose p,
.p-faq p,
.p-step p,
.p-class p,
.p-banner p,
.p-region p,
.p-row span {
  color: #d4c7a8;
  font-size: 15px;
  line-height: 1.75;
}

.p-lead,
.p-prose {
  text-align: center;
}

.p-prose p + p,
.p-lead + .p-prose {
  margin-top: 16px;
}

.p-prose strong {
  color: #f3e3b6;
  font-weight: 500;
}

.p-serif {
  color: #f3e3b6;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  line-height: 1.35;
}

.p-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  text-align: left;
}

.p-launch,
.p-channel,
.p-step,
.p-class,
.p-banner,
.p-region,
.p-row,
.p-point,
.p-lang,
.p-stat {
  border: 1px solid rgba(139, 111, 58, 0.35);
  background: linear-gradient(rgba(41, 31, 25, 0.75), rgba(27, 21, 17, 0.85));
}

.p-launch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 0 34px rgba(201, 168, 112, 0.08);
}

.p-kicker {
  color: #c6a15b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.p-launch strong {
  color: #f4ead0;
  font-family: Cinzel, serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.p-launch p,
.p-channel p,
.p-point p {
  color: #cbbfa6;
  font-size: 13px;
  line-height: 1.6;
}

.p-channel,
.p-step,
.p-class {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
}

.p-channel h3,
.p-step h3,
.p-class h3,
.p-region h3,
.p-banner h3 {
  color: #f3e3b6;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
}

.p-channel a,
.p-more {
  color: #e8d5a3;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.p-faq {
  margin-top: 24px;
  text-align: left;
}

.p-faq article {
  border-bottom: 1px solid rgba(139, 111, 58, 0.25);
  padding: 16px 0;
}

.p-faq h3 {
  color: #f3e3b6;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
}

.p-split {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.p-split .p-copy {
  min-width: 0;
  flex: 1;
}

.p-figure {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(139, 111, 58, 0.4);
}

.p-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-points,
.p-stats,
.p-regions,
.p-banners,
.p-langs {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  text-align: left;
}

.p-point,
.p-stat,
.p-region,
.p-lang {
  padding: 14px;
}

.p-point h3,
.p-lang strong {
  color: #e8d5a3;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.p-stat {
  text-align: center;
}

.p-stat strong {
  display: block;
  color: #f3e3b6;
  font-family: Cinzel, serif;
  font-size: 24px;
  font-weight: 500;
}

.p-stat span,
.p-meta,
.p-role {
  color: #9a8f7a;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.p-langs {
  max-width: 28rem;
  margin-inline: auto;
  grid-template-columns: 1fr 1fr;
}

.p-lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.p-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.p-step {
  flex-direction: row;
  align-items: flex-start;
}

.p-num {
  color: #c6a15b;
  font-family: Cinzel, serif;
  font-size: 18px;
}

.p-classes {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.p-portrait {
  position: relative;
  width: 100%;
  max-width: 210px;
  margin-inline: auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(139, 111, 58, 0.4);
}

.p-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.p-class-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-class.is-live {
  border-color: rgba(201, 168, 112, 0.55);
  background: rgba(198, 161, 91, 0.08);
}

.p-class header,
.p-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.p-badge {
  color: #c6a15b;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.p-banners {
  grid-template-columns: 1fr;
}

.p-banner {
  overflow: hidden;
  text-align: left;
}

.p-banner i {
  display: block;
  height: 6px;
}

.p-banner div {
  padding: 16px;
}

.p-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
}

.p-row {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  text-align: left;
}

.p-row b {
  color: #f3e3b6;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 600;
}

.p-row em {
  color: #c6a15b;
  font-size: 12px;
}

.p-quote {
  margin-top: 16px;
  border-left: 1px solid rgba(198, 161, 91, 0.55);
  padding-left: 16px;
  color: #e8d5a3;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-style: italic;
  text-align: left;
}

.p-backdrop-img {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.p-backdrop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: blur(2px);
  transform: scale(1.05);
}

.p-backdrop-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 12, 0.82);
}

.p-closing {
  padding: 16px 16px 96px;
}

.p-closing .p-card {
  max-width: 760px;
  margin-inline: auto;
  padding: 48px 24px;
  text-align: center;
}

.p-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 640px) {
  .p-brand span { display: inline; }
  .p-header { padding-inline: 20px; }
  .p-card { padding-inline: 36px; }
  .p-stats { grid-template-columns: repeat(4, 1fr); }
  .p-regions,
  .p-banners { grid-template-columns: repeat(3, 1fr); }
  .p-channel { flex-direction: row; align-items: center; }
  .p-channel > div { flex: 1; }
  .p-row { grid-template-columns: 150px 1fr 110px; align-items: center; }
  .p-row em { text-align: right; }
}

@media (min-width: 1024px) {
  .p-back { display: inline-flex; }
  .p-menu-btn,
  .p-aside-head,
  .p-backdrop { display: none; }
  .p-aside { transform: none; }
  .p-main { margin-left: 256px; }
  .p-section { min-height: 82vh; }
  .p-split { flex-direction: row; align-items: center; }
  .p-split .p-copy,
  .p-split .p-prose { text-align: left; }
  .p-classes { grid-template-columns: 210px 1fr; align-items: start; }
}
