:root {
  color-scheme: dark;
  --bg: #070a13;
  --bg-soft: #0b1020;
  --surface: rgba(18, 24, 43, 0.82);
  --surface-strong: #12182b;
  --surface-hover: #171f37;
  --text: #f8fafc;
  --muted: #a9b3c7;
  --subtle: #75819a;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --violet: #8b5cf6;
  --violet-2: #6d42de;
  --violet-soft: rgba(139, 92, 246, 0.14);
  --gold: #f3cc63;
  --gold-soft: rgba(243, 204, 99, 0.14);
  --blue: #56c7f5;
  --green: #5ee19d;
  --red: #fb7185;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.2);
  --page: 1180px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Guild editorial expansion */
.page-variant-legacy .page-opening,
.page-variant-leadership .page-opening {
  min-height: 570px;
}

.page-variant-legacy .opening-aside,
.page-variant-leadership .opening-aside {
  border-left-color: rgba(var(--page-accent), 0.34);
}

.page-variant-legacy .opening-aside-art,
.page-variant-leadership .opening-aside-art {
  width: min(100%, 340px);
  margin-inline: auto;
}

.page-variant-activities .page-opening,
.page-variant-world .page-opening {
  overflow: visible;
  border-block: 0;
  background: transparent;
}

.page-variant-activities .page-opening::before,
.page-variant-world .page-opening::before {
  inset: -8% -9% -12%;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  border-radius: 44%;
  background:
    radial-gradient(ellipse 48% 62% at 84% 44%, rgba(var(--page-accent), 0.22), transparent 72%),
    radial-gradient(ellipse 76% 72% at 44% 42%, rgba(20, 31, 59, 0.5), transparent 78%);
  filter: blur(10px);
}

.page-variant-activities .opening-standalone-art,
.page-variant-world .opening-standalone-art {
  width: min(100%, 480px);
  justify-self: end;
  opacity: 0.96;
}

@media (min-width: 901px) {
  .page-layout-band.page-variant-activities .page-opening.page-opening-with-art,
  .page-layout-band.page-variant-world .page-opening.page-opening-with-art {
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  }
}

.page-variant-candidate .opening-aside {
  border-color: rgba(94, 225, 157, 0.24);
  background:
    radial-gradient(circle at 72% 24%, rgba(94, 225, 157, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(16, 29, 38, 0.94), rgba(9, 14, 29, 0.98));
}

.guild-history-prologue {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
  border-top: 1px solid rgba(243, 204, 99, 0.18);
}

.guild-history-prologue h2 {
  max-width: 390px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.guild-history-prologue > div:last-child {
  max-width: 780px;
  padding-top: 1.2rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.84;
}

.guild-history-line {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(243, 204, 99, 0.12) 50%, transparent 50.1%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.09), transparent 48%);
}

.guild-history-timeline {
  display: grid;
  max-width: 960px;
  gap: 0;
  margin: 3rem auto 0;
}

.guild-history-timeline article {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  min-width: 0;
  align-items: center;
}

.guild-history-timeline article::before {
  min-height: 1px;
  content: "";
}

.guild-history-timeline article:nth-child(even) div {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.guild-history-timeline article:nth-child(even)::before {
  grid-column: 3;
}

.guild-history-timeline article > span {
  z-index: 1;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  width: 58px;
  height: 58px;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(243, 204, 99, 0.38);
  border-radius: 50%;
  color: var(--gold);
  background: #0b1123;
  box-shadow: 0 0 32px rgba(243, 204, 99, 0.08);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.guild-history-timeline article div {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  padding: 1.4rem clamp(1rem, 3vw, 2.4rem);
}

.guild-history-timeline h3 { margin: 0.18rem 0 0.55rem; }
.guild-history-timeline p:last-child { margin: 0; color: var(--muted); line-height: 1.68; }

.guild-legacy-principles {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.guild-legacy-intro {
  position: sticky;
  top: 110px;
}

.guild-legacy-intro p:last-child { color: var(--muted); line-height: 1.72; }
.guild-legacy-grid { display: grid; gap: 1px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 28px; background: rgba(255, 255, 255, 0.08); }
.guild-legacy-grid article { position: relative; min-height: 190px; padding: 1.6rem 1.8rem; background: linear-gradient(145deg, rgba(16, 23, 43, 0.98), rgba(8, 13, 27, 0.98)); }
.guild-legacy-grid article::after { position: absolute; right: 0; bottom: 0; width: 40%; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(243, 204, 99, 0.36)); }
.guild-legacy-grid strong { color: rgba(243, 204, 99, 0.44); font-size: 0.72rem; letter-spacing: 0.12em; }
.guild-legacy-grid h3 { margin: 2rem 0 0.55rem; }
.guild-legacy-grid p { margin: 0; color: var(--muted); line-height: 1.66; }

.section.guild-history-conversion,
.section.guild-activities-conversion,
.section.guild-leadership-conversion,
.section.guild-secura-conversion,
.section.guild-faq-conversion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding: clamp(2rem, 4vw, 3.35rem);
  overflow: hidden;
  border: 1px solid rgba(var(--page-accent), 0.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 20%, rgba(var(--page-accent), 0.16), transparent 30%),
    linear-gradient(135deg, rgba(18, 25, 47, 0.94), rgba(8, 13, 28, 0.98));
}

.section.guild-history-conversion > *,
.section.guild-activities-conversion > *,
.section.guild-leadership-conversion > *,
.section.guild-secura-conversion > *,
.section.guild-faq-conversion > * {
  min-width: 0;
}

.section.guild-history-conversion .hero-actions,
.section.guild-activities-conversion .hero-actions,
.section.guild-leadership-conversion .hero-actions,
.section.guild-secura-conversion .hero-actions,
.section.guild-faq-conversion .hero-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.guild-history-conversion p:not(.eyebrow),
.guild-activities-conversion p:not(.eyebrow),
.guild-leadership-conversion p:not(.eyebrow),
.guild-secura-conversion p:not(.eyebrow),
.guild-faq-conversion p:not(.eyebrow) { max-width: 760px; color: var(--muted); line-height: 1.72; }

.guild-activity-spectrum {
  border-block: 1px solid rgba(94, 225, 157, 0.12);
  background: linear-gradient(180deg, transparent, rgba(94, 225, 157, 0.035), transparent);
}

.guild-activity-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.8rem;
}

.guild-activity-grid article {
  position: relative;
  grid-column: span 2;
  min-height: 275px;
  overflow: hidden;
  padding: 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(16, 24, 45, 0.96), rgba(8, 13, 27, 0.98));
}

.guild-activity-grid article:nth-child(4),
.guild-activity-grid article:nth-child(5) { grid-column: span 3; }
.guild-activity-grid article::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 12% 12%, rgba(var(--activity-color), 0.16), transparent 34%); pointer-events: none; }
.guild-activity-grid article > span { position: relative; display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid rgba(var(--activity-color), 0.46); border-radius: 17px; color: rgb(var(--activity-color)); background: rgba(var(--activity-color), 0.08); font-weight: 950; }
.guild-activity-grid h3 { position: relative; margin: 1.9rem 0 0.65rem; }
.guild-activity-grid p { position: relative; color: var(--muted); line-height: 1.66; }
.guild-activity-grid p.eyebrow { position: absolute; top: 1.85rem; right: 1.5rem; color: rgb(var(--activity-color)); }
.guild-activity-grid small { position: absolute; right: 1.55rem; bottom: 1.35rem; left: 1.55rem; color: rgba(255, 255, 255, 0.48); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; }
.activity-hunts { --activity-color: 94, 225, 157; }
.activity-bosses { --activity-color: 251, 113, 133; }
.activity-quests { --activity-color: 243, 204, 99; }
.activity-social { --activity-color: 98, 200, 255; }
.activity-roleplay { --activity-color: 166, 117, 255; }

.guild-activity-path {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}
.guild-activity-path-copy { align-self: center; }
.guild-activity-path-copy p:last-child { color: var(--muted); line-height: 1.76; }
.guild-activity-path ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.guild-activity-path li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.guild-activity-path li > span { color: var(--gold); font-size: 0.72rem; font-weight: 950; letter-spacing: 0.12em; }
.guild-activity-path h3 { margin: 0 0 0.4rem; }
.guild-activity-path li p { margin: 0; color: var(--muted); line-height: 1.65; }

.guild-activity-fit { display: grid; grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr); gap: 2rem; align-items: end; }
.guild-activity-fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 24px; background: rgba(255, 255, 255, 0.08); }
.guild-activity-fit-grid article { min-height: 180px; padding: 1.5rem; background: #0c1328; }
.guild-activity-fit-grid article:nth-child(2) { background: linear-gradient(145deg, rgba(94, 225, 157, 0.09), #0c1328); }
.guild-activity-fit-grid p { color: var(--muted); line-height: 1.65; }

.guild-leadership-map { display: grid; grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.guild-leadership-intro p:last-child { color: var(--muted); line-height: 1.75; }
.guild-leadership-layers { display: grid; gap: 0.8rem; }
.guild-leadership-layers article { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 1rem; min-width: 0; padding: 1.35rem 1.5rem; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 18px; background: rgba(13, 19, 37, 0.88); }
.guild-leadership-layers article:nth-child(2) { margin-left: 5%; }
.guild-leadership-layers article:nth-child(3) { margin-left: 10%; }
.guild-leadership-layers article:nth-child(4) { margin-left: 15%; }
.guild-leadership-layers .leadership-layer-primary { border-color: rgba(243, 204, 99, 0.28); background: linear-gradient(135deg, rgba(243, 204, 99, 0.09), rgba(13, 19, 37, 0.92)); }
.guild-leadership-layers article > span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(166, 117, 255, 0.34); border-radius: 50%; color: #c9a7ff; font-size: 0.7rem; font-weight: 900; }
.guild-leadership-layers h3 { margin: 0.15rem 0 0.35rem; }
.guild-leadership-layers p:last-child { margin: 0; color: var(--muted); line-height: 1.62; }

.guild-leadership-principles { border-block: 1px solid rgba(166, 117, 255, 0.13); }
.guild-responsibility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin-top: 2.6rem; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 28px; background: rgba(255, 255, 255, 0.08); }
.guild-responsibility-grid article { min-height: 220px; padding: 1.65rem; background: linear-gradient(145deg, rgba(16, 23, 43, 0.98), rgba(8, 13, 27, 0.98)); }
.guild-responsibility-grid span { color: #c9a7ff; font-size: 0.7rem; font-weight: 950; letter-spacing: 0.12em; text-transform: uppercase; }
.guild-responsibility-grid h3 { margin: 2.5rem 0 0.55rem; }
.guild-responsibility-grid p { margin: 0; color: var(--muted); line-height: 1.68; }

.guild-help-route { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.guild-help-route > div:first-child > p:last-child { color: var(--muted); line-height: 1.76; }
.guild-help-route-steps { display: grid; gap: 0.65rem; }
.guild-help-route-steps span { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; min-height: 64px; padding: 0.8rem 1rem; border-left: 2px solid rgba(166, 117, 255, 0.48); background: linear-gradient(90deg, rgba(166, 117, 255, 0.08), transparent); color: var(--muted); }
.guild-help-route-steps strong { color: #c9a7ff; font-size: 0.7rem; letter-spacing: 0.1em; }

.guild-secura-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.guild-secura-intro > div p:last-child { color: var(--muted); line-height: 1.78; }
.guild-secura-intro dl { display: grid; gap: 0; margin: 0; padding: 1.3rem 1.6rem; border: 1px solid rgba(98, 200, 255, 0.22); border-radius: 28px; background: radial-gradient(circle at 90% 10%, rgba(98, 200, 255, 0.12), transparent 42%), #0c1429; }
.guild-secura-intro dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.guild-secura-intro dl div:last-child { border-bottom: 0; }
.guild-secura-intro dt { color: var(--muted); }
.guild-secura-intro dd { margin: 0; color: var(--text); font-weight: 850; text-align: right; }

.guild-world-principles { overflow: hidden; border-block: 1px solid rgba(98, 200, 255, 0.12); background: radial-gradient(circle at 50% 50%, rgba(98, 200, 255, 0.055), transparent 48%); }
.guild-world-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.guild-world-grid article { position: relative; min-height: 235px; padding: 1.7rem; border: 1px solid rgba(255, 255, 255, 0.09); background: linear-gradient(145deg, rgba(14, 23, 43, 0.92), rgba(7, 12, 25, 0.98)); }
.guild-world-grid article:nth-child(1) { border-radius: 30px 5px 5px 5px; }
.guild-world-grid article:nth-child(2) { border-radius: 5px 30px 5px 5px; }
.guild-world-grid article:nth-child(3) { border-radius: 5px 5px 5px 30px; }
.guild-world-grid article:nth-child(4) { border-radius: 5px 5px 30px 5px; }
.guild-world-grid span { color: rgba(98, 200, 255, 0.68); font-size: 0.72rem; font-weight: 950; letter-spacing: 0.14em; }
.guild-world-grid h3 { margin: 2.5rem 0 0.55rem; }
.guild-world-grid p { margin: 0; color: var(--muted); line-height: 1.68; }

.guild-secura-identity { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.guild-secura-identity-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }
.guild-secura-identity aside { padding: 1.6rem; border: 1px solid rgba(243, 204, 99, 0.22); border-radius: 8px 28px 28px; background: linear-gradient(145deg, rgba(243, 204, 99, 0.09), rgba(9, 15, 30, 0.96)); }
.guild-secura-identity aside p:not(.eyebrow) { color: var(--muted); line-height: 1.68; }

.guild-fit-snapshot { display: grid; grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1.52fr); gap: 2rem; align-items: start; }
.guild-fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.guild-fit-grid article { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 0.8rem; min-width: 0; padding: 1.15rem; border: 1px solid rgba(94, 225, 157, 0.16); border-radius: 16px; background: rgba(94, 225, 157, 0.035); }
.guild-fit-grid span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(94, 225, 157, 0.44); border-radius: 50%; color: #5ee19d; }
.guild-fit-grid p { margin: 0; color: var(--muted); line-height: 1.62; }

.guild-candidate-faq { display: grid; grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1.42fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; border-top: 1px solid rgba(94, 225, 157, 0.13); }
.guild-faq-index { position: sticky; top: 110px; }
.guild-faq-index > p:not(.eyebrow) { color: var(--muted); line-height: 1.72; }
.guild-faq-index nav { display: grid; gap: 0.35rem; margin-top: 1.6rem; }
.guild-faq-index nav a { padding: 0.72rem 0.85rem; border-left: 2px solid rgba(94, 225, 157, 0.3); color: var(--muted); text-decoration: none; transition: color 160ms ease, background 160ms ease, border-color 160ms ease; }
.guild-faq-index nav a:hover { border-color: #5ee19d; color: var(--text); background: linear-gradient(90deg, rgba(94, 225, 157, 0.07), transparent); }
.guild-faq-list { display: grid; gap: 2rem; }
.guild-faq-list > div { scroll-margin-top: 110px; }
.guild-faq-list details { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.guild-faq-list summary { position: relative; padding: 1.15rem 2.2rem 1.15rem 0; color: var(--text); font-size: 1.05rem; font-weight: 850; cursor: pointer; list-style: none; }
.guild-faq-list summary::-webkit-details-marker { display: none; }
.guild-faq-list summary::after { position: absolute; top: 1.15rem; right: 0.25rem; color: #5ee19d; content: "+"; font-size: 1.25rem; }
.guild-faq-list details[open] summary::after { content: "−"; }
.guild-faq-list details p { max-width: 800px; margin: 0; padding: 0 2rem 1.25rem 0; color: var(--muted); line-height: 1.72; }

@media (max-width: 980px) {
  .guild-history-prologue,
  .guild-legacy-principles,
  .guild-activity-path,
  .guild-activity-fit,
  .guild-leadership-map,
  .guild-help-route,
  .guild-secura-intro,
  .guild-secura-identity,
  .guild-fit-snapshot,
  .guild-candidate-faq { grid-template-columns: 1fr; }
  .guild-legacy-intro,
  .guild-faq-index { position: static; }
  .guild-activity-grid article { grid-column: span 3; }
  .guild-activity-grid article:nth-child(5) { grid-column: 2 / span 4; }
  .guild-leadership-layers article:nth-child(n) { margin-left: 0; }
  .section.guild-history-conversion,
  .section.guild-activities-conversion,
  .section.guild-leadership-conversion,
  .section.guild-secura-conversion,
  .section.guild-faq-conversion { grid-template-columns: 1fr; align-items: start; }

  .section.guild-history-conversion .hero-actions,
  .section.guild-activities-conversion .hero-actions,
  .section.guild-leadership-conversion .hero-actions,
  .section.guild-secura-conversion .hero-actions,
  .section.guild-faq-conversion .hero-actions {
    justify-content: flex-start;
    margin-top: 0.35rem;
  }
}

@media (max-width: 760px) {
  .page-variant-activities .opening-standalone-art,
  .page-variant-world .opening-standalone-art { width: min(100%, 420px); }
  .page-interior.page-variant-activities .page-opening h1,
  .page-interior.page-variant-world .page-opening h1 { font-size: clamp(2.55rem, 12.5vw, 3.15rem); }
  .guild-history-timeline { gap: 0.3rem; }
  .guild-history-timeline article { grid-template-columns: 52px minmax(0, 1fr); }
  .guild-history-timeline article::before { display: none; }
  .guild-history-timeline article > span { grid-column: 1; width: 42px; height: 42px; }
  .guild-history-timeline article div,
  .guild-history-timeline article:nth-child(even) div { grid-column: 2; grid-row: 1; padding: 0.65rem 0 1.8rem 0.8rem; text-align: left; }
  .guild-activity-grid { grid-template-columns: 1fr; }
  .guild-activity-grid article,
  .guild-activity-grid article:nth-child(4),
  .guild-activity-grid article:nth-child(5) { grid-column: auto; }
  .guild-activity-fit-grid,
  .guild-responsibility-grid,
  .guild-world-grid,
  .guild-fit-grid { grid-template-columns: 1fr; }
  .guild-world-grid article:nth-child(n) { border-radius: 20px; }
  .guild-leadership-layers article { grid-template-columns: 44px minmax(0, 1fr); padding: 1.05rem; }
  .guild-history-conversion,
  .guild-activities-conversion,
  .guild-leadership-conversion,
  .guild-secura-conversion,
  .guild-faq-conversion { border-radius: 24px; }

  .section.guild-history-conversion,
  .section.guild-activities-conversion,
  .section.guild-leadership-conversion,
  .section.guild-secura-conversion,
  .section.guild-faq-conversion {
    padding: clamp(1.35rem, 6vw, 2rem);
  }
}

.join-opening-actions .button:first-child {
  border-color: rgba(88, 101, 242, 0.58);
  background: linear-gradient(135deg, #5865f2, #7957e8);
  box-shadow: 0 16px 38px rgba(88, 101, 242, 0.22);
}

.join-opening-actions .button:first-child:hover {
  box-shadow: 0 20px 46px rgba(88, 101, 242, 0.32);
}

/* Lumina blog */
.page-variant-blog .page-opening {
  background: transparent;
}

.page-variant-blog .opening-aside {
  border-color: rgba(244, 200, 79, 0.22);
  background: linear-gradient(150deg, rgba(36, 30, 25, 0.72), rgba(12, 17, 35, 0.9));
}

.blog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.blog-intro-copy {
  max-width: 760px;
}

.blog-intro-copy h2,
.blog-heading h2,
.blog-archive-header h2,
.blog-gallery-bridge h2 {
  text-wrap: balance;
}

.blog-intro-copy > p:not(.eyebrow),
.blog-heading > p,
.blog-archive-header > p,
.blog-gallery-bridge p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.blog-publish-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(244, 200, 79, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 15%, rgba(244, 200, 79, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(26, 27, 45, 0.95), rgba(10, 15, 31, 0.97));
  box-shadow: 0 26px 80px rgba(2, 5, 17, 0.3);
}

.blog-publish-card > img {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 10px 24px rgba(244, 200, 79, 0.2));
}

.blog-publish-card h3 {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.35rem;
}

.blog-publish-card > div > p:not(.eyebrow) {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.65;
}

.blog-category-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.7vw, 1.1rem);
  width: min(100%, 1000px);
  margin-top: clamp(1.8rem, 4vw, 2.7rem);
}

.blog-category-action {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  min-height: 96px;
  padding: 1rem 1.1rem;
  overflow: hidden;
  border: 1px solid var(--blog-action-line, rgba(255, 255, 255, 0.14));
  border-radius: 20px;
  color: #f7f9ff;
  background:
    radial-gradient(circle at 0 0, var(--blog-action-glow, rgba(139, 92, 246, 0.18)), transparent 54%),
    linear-gradient(145deg, rgba(21, 29, 55, 0.96), rgba(8, 13, 29, 0.97));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 18px 46px rgba(2, 5, 17, 0.24);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.blog-category-action::after {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  color: var(--blog-action-accent, #d9c7ff);
  content: "↓";
  font-size: 0.82rem;
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease;
}

.blog-category-action:hover,
.blog-category-action:focus-visible {
  border-color: var(--blog-action-accent, #a77cff);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 22px 56px var(--blog-action-shadow, rgba(82, 58, 170, 0.24));
  transform: translateY(-3px);
}

.blog-category-action:hover::after,
.blog-category-action:focus-visible::after {
  opacity: 1;
  transform: translateY(3px);
}

.blog-category-action > img {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 12px 22px var(--blog-action-shadow, rgba(82, 58, 170, 0.28)));
}

.blog-category-action > span {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
}

.blog-category-action strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.blog-category-action small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.blog-category-action-all {
  --blog-action-accent: #73d7ff;
  --blog-action-line: rgba(102, 216, 255, 0.28);
  --blog-action-glow: rgba(86, 199, 245, 0.15);
  --blog-action-shadow: rgba(69, 161, 215, 0.22);
}

.blog-category-action-trending {
  --blog-action-accent: #ff9a70;
  --blog-action-line: rgba(255, 128, 114, 0.3);
  --blog-action-glow: rgba(251, 113, 133, 0.16);
  --blog-action-shadow: rgba(198, 75, 91, 0.22);
}

.blog-category-action-leaders {
  --blog-action-accent: #f4cd61;
  --blog-action-line: rgba(244, 200, 79, 0.3);
  --blog-action-glow: rgba(244, 200, 79, 0.14);
  --blog-action-shadow: rgba(190, 139, 40, 0.2);
}

.blog-heading,
.blog-archive-header,
.blog-curated-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(1.5rem, 4vw, 2.8rem);
}

.blog-heading h2,
.blog-archive-header h2,
.blog-curated-header h2 { margin-bottom: 0; text-wrap: balance; }
.blog-heading > p,
.blog-archive-header > p,
.blog-curated-header > p { max-width: 480px; margin: 0 0 0 auto; color: var(--muted); line-height: 1.72; }

.blog-status {
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(244, 200, 79, 0.18);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(244, 200, 79, 0.035);
}

.blog-status-summary { padding: 0.75rem 0.95rem; }
.blog-status-error { color: #ff9eae; border-color: rgba(242, 101, 122, 0.3); }
.blog-status-compact { margin-bottom: 1.2rem; padding: 0.75rem 0.95rem; }

.blog-view-count,
.blog-leaders-badge {
  padding: 0.26rem 0.52rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.045);
}

.blog-view-count {
  color: #ffba84;
  border-color: rgba(255, 139, 114, 0.22);
  background: rgba(251, 113, 133, 0.065);
}

.blog-leaders-badge {
  color: #ffe48c;
  border-color: rgba(244, 200, 79, 0.24);
  background: rgba(244, 200, 79, 0.07);
}

.blog-featured-post,
.blog-empty-state {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(244, 200, 79, 0.26);
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 32%, rgba(244, 200, 79, 0.14), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(167, 124, 255, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(21, 26, 48, 0.97), rgba(8, 13, 29, 0.98));
  box-shadow: 0 32px 100px rgba(2, 5, 17, 0.34);
}

.blog-featured-marker {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(244, 200, 79, 0.06), rgba(139, 92, 246, 0.05));
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.74) 84%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.74) 84%, transparent 100%);
}

.blog-featured-marker img,
.blog-empty-state > img {
  width: min(150px, 60%);
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(244, 200, 79, 0.18));
}

.blog-featured-marker span {
  color: #f7da86;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-featured-content {
  position: relative;
  z-index: 3;
  align-self: center;
  min-width: 0;
  padding: clamp(1.6rem, 5vw, 4rem);
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.blog-category {
  padding: 0.32rem 0.58rem;
  border: 1px solid rgba(244, 200, 79, 0.28);
  border-radius: 999px;
  color: #ffe28c;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(244, 200, 79, 0.07);
}

.blog-featured-content h3,
.blog-archive-summary h3,
.blog-empty-state h3 {
  margin: 1rem 0 0.8rem;
  text-wrap: balance;
}

.blog-featured-content h3 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.04; }
.blog-post-excerpt { color: #d8deed; font-size: 1.05rem; line-height: 1.7; }
.blog-post-author { color: #f3d779; font-size: 0.78rem; font-weight: 800; }

.blog-post-body {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-post-body p {
  margin: 0 0 1.15rem;
  color: #c4ccdf;
  line-height: 1.82;
  white-space: pre-line;
}

.blog-post-body p:last-child { margin-bottom: 0; }

.blog-post-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.blog-post-media-1 { grid-template-columns: minmax(0, 1fr); }

.blog-post-media figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 200, 79, 0.18);
  border-radius: 18px;
  background: rgba(5, 9, 22, 0.82);
}

.blog-post-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}

.blog-empty-state {
  place-items: center;
  min-height: 340px;
  padding: clamp(2rem, 6vw, 5rem);
  gap: clamp(1.75rem, 4vw, 4rem);
}

.blog-empty-copy {
  width: 100%;
  min-width: 0;
  max-width: 620px;
  padding: clamp(0.25rem, 1vw, 0.75rem);
}

.blog-empty-copy > .eyebrow { margin-top: 0; }
.blog-empty-copy > p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); line-height: 1.7; }

.blog-archive-section {
  padding: clamp(1.2rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0, rgba(167, 124, 255, 0.07), transparent 30%),
    rgba(8, 13, 29, 0.7);
}

.blog-curated-section {
  position: relative;
  padding: clamp(1.7rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid var(--blog-curated-line, rgba(255, 255, 255, 0.1));
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0, var(--blog-curated-glow, rgba(139, 92, 246, 0.1)), transparent 38%),
    linear-gradient(145deg, rgba(15, 21, 42, 0.94), rgba(7, 12, 27, 0.96));
  box-shadow: 0 28px 84px rgba(2, 5, 17, 0.2);
}

.blog-trending-section {
  --blog-curated-line: rgba(255, 127, 112, 0.2);
  --blog-curated-glow: rgba(251, 113, 133, 0.105);
}

.blog-leaders-section {
  --blog-curated-line: rgba(244, 200, 79, 0.22);
  --blog-curated-glow: rgba(244, 200, 79, 0.095);
}

.blog-curated-header {
  align-items: start;
  margin-bottom: 0;
  padding-bottom: clamp(1.35rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-curated-list {
  display: grid;
  gap: 1rem;
}

.blog-curated-post {
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.7fr);
  align-items: center;
  border-color: rgba(255, 255, 255, 0.085);
  background: linear-gradient(145deg, rgba(20, 27, 51, 0.7), rgba(9, 14, 30, 0.76));
}

.blog-curated-open {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(167, 124, 255, 0.26);
  border-radius: 14px;
  color: #d8c7ff;
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(139, 92, 246, 0.08);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.blog-curated-open span:last-child {
  color: #f4c84f;
  font-size: 1rem;
  transition: transform 180ms ease;
}

.blog-curated-open:hover,
.blog-curated-open:focus-visible {
  border-color: rgba(244, 200, 79, 0.34);
  background: rgba(139, 92, 246, 0.13);
  transform: translateY(-2px);
}

.blog-curated-open:hover span:last-child,
.blog-curated-open:focus-visible span:last-child {
  transform: translateX(3px);
}

.anchor-alias {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.blog-post-list { display: grid; gap: 1rem; }

.blog-archive-post {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 2rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20, 27, 51, 0.82), rgba(9, 14, 30, 0.88));
}

.blog-archive-summary h3 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.blog-archive-details { align-self: start; min-width: 0; }
.blog-archive-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(167, 124, 255, 0.26);
  border-radius: 14px;
  color: #d8c7ff;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  background: rgba(139, 92, 246, 0.08);
}

.blog-archive-details summary::-webkit-details-marker { display: none; }
.blog-archive-details summary::after { content: '+'; color: #f4c84f; font-size: 1.15rem; }
.blog-archive-details[open] summary::after { content: '−'; }
.blog-archive-details .blog-post-body { margin-top: 1rem; }
.blog-archive-empty { margin: 0; padding: 2rem; color: var(--muted); text-align: center; }

.blog-gallery-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(167, 124, 255, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 20%, rgba(139, 92, 246, 0.18), transparent 35%),
    linear-gradient(140deg, rgba(20, 27, 52, 0.96), rgba(9, 14, 30, 0.97));
}

.blog-gallery-bridge > div { max-width: 760px; }
.blog-gallery-bridge h2 { margin-bottom: 0.7rem; }
.blog-gallery-bridge .button { flex: 0 0 auto; }
.blog-gallery-bridge .button img { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .blog-intro,
  .blog-featured-post,
  .blog-empty-state,
  .blog-archive-post,
  .blog-curated-post { grid-template-columns: 1fr; }
  .blog-category-actions { grid-template-columns: 1fr; }
  .blog-category-action { min-height: 84px; }
  .blog-featured-marker {
    min-height: 220px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.74) 84%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.74) 84%, transparent 100%);
  }
  .blog-featured-marker img { width: 110px; }
}

@media (max-width: 760px) {
  .blog-heading,
  .blog-archive-header,
  .blog-curated-header { grid-template-columns: 1fr; }
  .blog-heading > p,
  .blog-archive-header > p,
  .blog-curated-header > p { margin-left: 0; }
  .blog-gallery-bridge { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .blog-publish-card { grid-template-columns: 1fr; }
  .blog-featured-post,
  .blog-empty-state,
  .blog-archive-section,
  .blog-curated-section { border-radius: 24px; }
  .blog-category-action { grid-template-columns: 46px minmax(0, 1fr); min-height: 78px; padding: 0.85rem; border-radius: 17px; }
  .blog-category-action > img { width: 46px; height: 46px; }
  .blog-featured-content { padding: 1.25rem; }
  .blog-featured-content h3 { font-size: 2rem; }
  .blog-archive-section,
  .blog-curated-section { padding: 1rem; }
  .blog-archive-post { gap: 1rem; padding: 1.1rem; }
  .blog-post-media { grid-template-columns: 1fr; }
}

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

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  background:
    radial-gradient(circle at 12% -8%, rgba(139, 92, 246, 0.24), transparent 32rem),
    radial-gradient(circle at 94% 2%, rgba(86, 199, 245, 0.11), transparent 28rem),
    linear-gradient(180deg, #090d19 0%, var(--bg) 32rem, #080b14 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(86, 199, 245, 0.8);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  margin-bottom: 1.05rem;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 1.2rem;
}

h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

code {
  padding: 0.14rem 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: #ddd6fe;
  background: rgba(5, 8, 20, 0.68);
  font-size: 0.92em;
}

pre {
  overflow: auto;
  margin: 1rem 0 0;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: #d8e3f3;
  background: #050814;
}

.skip-link {
  position: fixed;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  color: #080b14;
  background: var(--gold);
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.page-shell,
.nav,
.footer {
  width: min(var(--page), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  padding: 0.72rem 0;
  border: 0;
  background: transparent;
}

.compact-header {
  padding-bottom: 0.72rem;
}

.site-header + .page-shell {
  padding-top: 80px;
}

.nav {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 950;
  text-decoration: none;
  letter-spacing: 0.025em;
  transition: color 180ms ease, transform 180ms ease;
}

.brand:hover {
  color: #fff2bd;
  transform: translateY(-1px);
}

.brand-wordmark {
  display: block;
  width: 128px;
  height: 39px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 7px 20px rgba(243, 204, 99, 0.2);
}

.brand-mark img {
  display: none;
}

.brand-mark::before {
  width: 100%;
  height: 100%;
  content: "";
  background: url("assets/brand/seal-dark-web.png") center / contain no-repeat;
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.28rem;
}

.mobile-nav-heading {
  display: none;
}

.nav-link,
.nav-cta,
.nav-menu-button {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.66rem;
  border: 0;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link.active,
.nav-menu-button:hover,
.nav-menu-button.active {
  color: var(--text);
  background: transparent;
  transform: translateY(-1px);
}

.nav-link::before,
.nav-menu-button::before {
  position: absolute;
  right: 0.7rem;
  bottom: 0.12rem;
  left: 0.7rem;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(243, 204, 99, 0.92), rgba(139, 92, 246, 0.82), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover::before,
.nav-link.active::before,
.nav-menu-button:hover::before,
.nav-menu-button.active::before {
  opacity: 1;
  transform: scaleX(1);
}

.nav-icon-shell {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 6, 14, 0.74) 0, rgba(5, 9, 20, 0.38) 45%, transparent 72%);
  transition: filter 180ms ease, transform 180ms ease;
}

.nav-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.98;
  filter:
    drop-shadow(0 0 1px rgba(0, 0, 0, 0.98))
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.72));
}

.nav-link:hover .nav-icon-shell,
.nav-link.active .nav-icon-shell,
.nav-menu-button:hover .nav-icon-shell,
.nav-menu-button.active .nav-icon-shell {
  filter: drop-shadow(0 0 8px rgba(243, 204, 99, 0.16));
  transform: translateY(-1px);
}

.nav-menu {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.nav-chevron {
  width: 7px;
  height: 7px;
  margin: -0.2rem 0.16rem 0 0.06rem;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  color: rgba(243, 204, 99, 0.88);
  transform: rotate(45deg);
  transition: color 180ms ease, transform 180ms ease;
}

.nav-menu.open > .nav-menu-button .nav-chevron,
.nav-menu:focus-within > .nav-menu-button .nav-chevron {
  color: #fff0ad;
  transform: translateY(3px) rotate(225deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  display: grid;
  width: 244px;
  gap: 0.14rem;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 19px;
  background:
    linear-gradient(145deg, rgba(24, 31, 54, 0.985), rgba(9, 14, 28, 0.99));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(24px) saturate(145%);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -10px) scale(0.985);
  transform-origin: top center;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-menu.open > .nav-dropdown,
.nav-menu:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

.nav-dropdown-wide {
  position: fixed;
  top: 78px;
  left: 50%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.72rem;
  width: min(1120px, calc(100vw - 3rem));
  padding: 1.05rem;
  overflow: visible;
  transform: translate(-50%, -10px) scale(0.99);
}

.nav-dropdown-wide.nav-groups-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(900px, calc(100vw - 3rem));
}

.nav-dropdown a {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 0.58rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  color: var(--text);
  border-color: rgba(139, 92, 246, 0.18);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(243, 204, 99, 0.045));
  transform: translateX(2px);
}

.nav-dropdown-group {
  min-width: 0;
  padding: 0.38rem 0.52rem 0.55rem;
  border-right: 1px solid rgba(255, 255, 255, 0.075);
}

.nav-dropdown-group:last-child {
  border-right: 0;
}

.nav-dropdown-group-links {
  display: grid;
  gap: 0.14rem;
}

.nav-dropdown-label {
  display: block;
  width: 100%;
  margin: 0 0.55rem 0.42rem;
  padding: 0;
  border: 0;
  color: var(--gold);
  background: transparent;
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}

.nav-group-button {
  pointer-events: none;
}

.nav-cta {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 0.42rem;
  margin-left: 0.4rem;
  padding: 0.3rem 0.34rem 0.3rem 0.42rem;
  border: 1px solid rgba(174, 135, 255, 0.3);
  border-radius: 12px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(116, 66, 232, 0.16), rgba(243, 204, 99, 0.045));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 8px 24px rgba(0, 0, 0, 0.16);
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-cta-icon .nav-icon-shell {
  width: 29px;
  height: 29px;
}

.nav-cta-icon .nav-icon {
  width: 22px;
  height: 22px;
}

.nav-cta-arrow {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  color: #fff0ad;
  background: rgba(255, 255, 255, 0.075);
  font-size: 0.8rem;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover,
.nav-cta.active {
  color: #fff7d6;
  border-color: rgba(243, 204, 99, 0.52);
  background: linear-gradient(135deg, rgba(116, 66, 232, 0.38), rgba(243, 204, 99, 0.14));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 13px 32px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.nav-cta:hover .nav-cta-arrow,
.nav-cta.active .nav-cta-arrow {
  background: rgba(243, 204, 99, 0.14);
  transform: translate(2px, -2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(28, 35, 60, 0.94), rgba(10, 15, 29, 0.94));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.nav-toggle-icon {
  display: grid;
  width: 19px;
  gap: 4px;
}

.nav-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.hero,
.page-hero {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.3rem, 7vw, 5.8rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-simple,
.hero-product {
  display: block;
  max-width: 1000px;
}

.page-hero::after,
.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.45), transparent);
}

.hero h1,
.page-hero h1 {
  max-width: 970px;
  font-size: clamp(2.75rem, 7vw, 5.7rem);
  font-weight: 950;
}

.page-hero h1 {
  font-size: clamp(2.55rem, 6vw, 4.9rem);
}

.hero-text,
.lead,
.page-hero > p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.27rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.9rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  padding: 0.76rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 880;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button img {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.24));
}

.button .button-action-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  opacity: 1;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.28));
  transition: transform 160ms ease, filter 160ms ease;
}

.button-with-action-icon:hover .button-action-icon {
  transform: translateX(1px) scale(1.06);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.38));
}

.button-with-action-icon.ghost .button-action-icon {
  opacity: 0.82;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  box-shadow: 0 14px 38px rgba(109, 66, 222, 0.3);
}

.button.primary:hover {
  box-shadow: 0 18px 46px rgba(109, 66, 222, 0.42);
}

.button.secondary {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.065);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  background: transparent;
}

.discord-button {
  border-color: rgba(86, 199, 245, 0.26);
}

.section {
  padding: clamp(3.4rem, 7vw, 6.2rem) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: start;
  gap: clamp(1.4rem, 4vw, 3.2rem);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 1.8rem;
}

.section-heading p:not(.eyebrow),
.compact-heading p:not(.eyebrow) {
  color: var(--muted);
}

.compact-heading {
  max-width: 820px;
}

.grid,
.cards,
.detail-grid,
.contact-grid,
.pricing-grid,
.path-grid,
.docs-topic-grid,
.panel-directory,
.outcome-grid,
.proof-strip {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards.three,
.home-feature-grid,
.detail-grid,
.outcome-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.panel,
.command-item,
.code-card,
.contact-card,
.price-card,
.showcase-card,
.stat-card,
.update-card,
.panel-directory-card,
.doc-topic-card,
.product-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(23, 31, 55, 0.88), rgba(13, 18, 34, 0.82));
  box-shadow: var(--shadow-soft);
}

.card,
.panel,
.code-card,
.contact-card,
.price-card,
.showcase-card,
.stat-card,
.update-card,
.doc-topic-card,
.product-preview {
  padding: clamp(1.2rem, 2.3vw, 1.65rem);
}

.card p,
.panel p,
.code-card p,
.contact-card p,
.price-card p,
.showcase-card p,
.stat-card p,
.update-card p,
.doc-topic-card p,
.panel-directory-card p {
  color: var(--muted);
}

.feature-card,
.path-card,
.doc-topic-card,
.panel-directory-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.path-card:hover,
.doc-topic-card:hover,
.panel-directory-card:hover {
  border-color: rgba(139, 92, 246, 0.42);
  background: linear-gradient(160deg, rgba(31, 39, 68, 0.94), rgba(16, 22, 40, 0.9));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.feature-top,
.price-head,
.spotlight-card,
.hero-asset-card,
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.feature-icon {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 0.9rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.feature-icon::before {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), rgba(86, 199, 245, 0.07) 52%, transparent 76%);
  content: "";
  filter: blur(10px);
}

.large-icon-card {
  min-height: 220px;
}

.large-icon-card > span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold);
  font-size: 1.65rem;
  font-weight: 950;
}

.feature-top .feature-icon {
  margin-bottom: 0;
}

.feature-icon img {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
}

.feature-card .feature-icon {
  position: relative;
  width: 54px;
  height: 54px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.feature-card .feature-icon::before {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), rgba(247, 201, 77, 0.08) 52%, transparent 74%);
  content: "";
  filter: blur(10px);
  opacity: 0.9;
}

.feature-card .feature-icon img {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 8px 13px rgba(0, 0, 0, 0.3));
}

.mini-badge,
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.24rem 0.58rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.73rem;
  font-weight: 850;
}

.mini-list,
.plan-list,
.check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.mini-list li {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-weight: 780;
}

.accent-violet { border-color: rgba(139, 92, 246, 0.26); }
.accent-gold { border-color: rgba(243, 204, 99, 0.25); }
.accent-blue { border-color: rgba(86, 199, 245, 0.25); }
.accent-green { border-color: rgba(94, 225, 157, 0.23); }
.accent-red { border-color: rgba(251, 113, 133, 0.23); }

.hero-asset-section,
.spotlight-section,
.home-paths {
  padding-top: 1.4rem;
}

.hero-asset-card img {
  width: min(44%, 400px);
  max-height: 260px;
}

.hero-asset-card > div,
.spotlight-card > div {
  max-width: 720px;
}

.path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-card {
  position: relative;
  min-height: 150px;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 24, 43, 0.72);
  text-decoration: none;
}

.path-card > span {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 950;
}

.path-card strong {
  display: block;
  font-size: 1.12rem;
}

.path-card p {
  margin: 0.42rem 0 0;
  color: var(--muted);
}

.proof-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-item {
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--violet);
  background: rgba(255, 255, 255, 0.025);
}

.proof-item strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-explainer {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.product-explainer-intro {
  max-width: 540px;
}

.product-explainer-intro h2 {
  margin-bottom: 1rem;
}

.product-explainer-intro > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-explainer-definition {
  padding-left: clamp(1.25rem, 3vw, 2.2rem);
  border-left: 1px solid rgba(243, 204, 99, 0.28);
}

.product-definition {
  margin: 0 0 1.35rem;
  color: #dce5f5;
  font-size: 1.08rem;
  line-height: 1.7;
}

.product-definition strong {
  color: var(--gold);
}

.product-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.product-steps li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  color: #e8dcff;
  background: rgba(139, 92, 246, 0.09);
  font-size: 0.78rem;
  font-weight: 950;
}

.product-steps strong {
  display: block;
  color: var(--text);
}

.product-steps p {
  margin: 0.18rem 0 0;
  color: var(--muted);
}

.plain-glossary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 1.6rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(243, 204, 99, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plain-glossary > div {
  min-width: 0;
  padding: 1.25rem 1rem 1.35rem;
  border-right: 1px solid rgba(255, 255, 255, 0.075);
}

.plain-glossary > div:first-child {
  padding-left: 0;
}

.plain-glossary > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.plain-glossary dt {
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plain-glossary dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.conversion-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid rgba(var(--page-accent, 139, 92, 246), 0.34);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 20%, rgba(var(--page-accent, 139, 92, 246), 0.22), transparent 18rem),
    radial-gradient(circle at 5% 100%, rgba(var(--page-accent, 139, 92, 246), 0.07), transparent 15rem),
    linear-gradient(135deg, rgba(25, 32, 57, 0.96), rgba(13, 18, 34, 0.95));
  box-shadow: var(--shadow);
}

.conversion-cta > div {
  max-width: 720px;
}

.product-preview {
  padding: 0;
}

.preview-toolbar {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: rgba(5, 8, 20, 0.45);
  font-size: 0.82rem;
  font-weight: 850;
}

.preview-body {
  display: grid;
  gap: 0.62rem;
  padding: 1rem;
}

.preview-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.72rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
}

.preview-row strong {
  min-width: 0;
}

.preview-row span {
  color: var(--muted);
  font-size: 0.86rem;
}

.metric {
  color: var(--gold);
  font-weight: 900;
}

.guild-banner,
.guild-statement {
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.guild-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card strong {
  display: block;
  color: var(--gold);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.stat-card span {
  color: var(--muted);
}

.doc-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.4rem, 4vw, 3.3rem);
}

.toc-card {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 0.18rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 18, 34, 0.75);
  box-shadow: var(--shadow-soft);
}

.toc-card .eyebrow {
  margin: 0.25rem 0.5rem 0.55rem;
}

.toc-card a {
  padding: 0.52rem 0.62rem;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.toc-card a:hover,
.toc-card a.active {
  color: var(--text);
  background: var(--violet-soft);
}

.doc-article {
  min-width: 0;
}

.doc-section {
  padding: clamp(1.5rem, 4vw, 2.45rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 19, 35, 0.66);
  box-shadow: var(--shadow-soft);
}

.doc-section + .doc-section {
  margin-top: 1rem;
}

.doc-section p:not(.eyebrow),
.doc-section li {
  color: var(--muted);
}

.doc-section p:not(.eyebrow),
.doc-callout p,
.callout p,
.card p,
.panel p,
.price-card p,
.command-item p {
  line-height: 1.76;
}

.doc-section > p + p,
.card p + p,
.panel p + p,
.price-card p + p,
.command-item p + p {
  margin-top: 1.05rem;
}

.doc-section strong {
  color: var(--text);
}

.doc-callout,
.callout {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(86, 199, 245, 0.24);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  background: rgba(86, 199, 245, 0.07);
}

.doc-callout.warning,
.callout.warning {
  border-color: rgba(243, 204, 99, 0.24);
  border-left-color: var(--gold);
  background: rgba(243, 204, 99, 0.07);
}

.doc-callout.danger,
.callout.danger {
  border-color: rgba(251, 113, 133, 0.28);
  border-left-color: var(--red);
  background: rgba(251, 113, 133, 0.07);
}

.doc-callout p,
.callout p {
  margin: 0.35rem 0 0;
}

.command-signature {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0.9rem 0 1rem;
  padding: 0.32rem 0.08rem 0.45rem;
  overflow-x: auto;
  border: 0;
  background: transparent;
}

.command-signature,
.command-item h3 > code,
.doc-command-card-heading code {
  position: relative;
  isolation: isolate;
  color: #fff4c7;
  font-weight: 900;
  letter-spacing: 0.012em;
  background: linear-gradient(100deg, #fff1ad 0%, #ddb7ff 34%, #83ddff 67%, #ff9fb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0.34rem 0.55rem rgba(139, 92, 246, 0.2))
    drop-shadow(0 0.1rem 0.22rem rgba(86, 199, 245, 0.16));
}

.command-item h3 > code {
  display: inline-block;
  max-width: 100%;
  padding: 0.18rem 0.08rem 0.25rem;
  border: 0;
  border-radius: 0;
  font-size: 0.96rem;
}

.steps,
.rich-steps {
  margin: 1rem 0 0;
  padding-left: 1.35rem;
  color: var(--muted);
}

.steps li,
.rich-steps li {
  margin: 0.62rem 0;
  padding-left: 0.25rem;
}

.steps li::marker,
.rich-steps li::marker {
  color: var(--gold);
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 0.62rem;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
}

.check-list li::before {
  position: absolute;
  top: 0.2rem;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 950;
}

.info-table {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.info-table > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.78rem 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.026);
}

.info-table span {
  color: var(--muted);
}

.doc-table-wrap {
  width: 100%;
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.doc-table th,
.doc-table td {
  padding: 0.82rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  text-align: left;
  vertical-align: top;
}

.doc-table th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doc-table td {
  color: var(--muted);
}

.doc-table tr:last-child td {
  border-bottom: 0;
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  counter-reset: flow;
}

.flow-strip > div {
  position: relative;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  counter-increment: flow;
}

.flow-strip > div::before {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--gold);
  content: counter(flow, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 950;
}

.flow-strip p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.panel-directory {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.panel-directory-card {
  display: block;
  padding: 1.1rem;
  text-decoration: none;
}

.panel-directory-card code {
  display: inline-block;
  margin-bottom: 0.55rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: #c4b5fd;
  font-weight: 850;
  line-height: 1.45;
  text-decoration: none;
}

.text-link:hover {
  color: white;
}

.section .check-list + p,
.section .mini-list + p {
  margin-top: 1.35rem;
}

.docs-search-shell {
  max-width: 860px;
  margin-top: 1.7rem;
}

.search-input {
  width: 100%;
  min-height: 52px;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  color: var(--text);
  background: rgba(13, 18, 34, 0.85);
}

.search-input::placeholder {
  color: var(--subtle);
}

.docs-search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  max-height: 440px;
  margin-top: 0.75rem;
  overflow-y: auto;
}

.docs-search-result {
  display: grid;
  gap: 0.22rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
}

.docs-search-result:hover {
  border-color: rgba(139, 92, 246, 0.42);
  background: var(--violet-soft);
}

.docs-search-result span,
.empty-state {
  color: var(--muted);
  font-size: 0.86rem;
}

.docs-topic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.doc-topic-card {
  color: inherit;
  text-decoration: none;
}

.command-toolbar {
  margin-bottom: 1rem;
}

.command-panel {
  display: block;
  padding-top: 2.4rem;
}

.command-panel[hidden] {
  display: none;
}

.command-panel h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.command-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.command-item {
  padding: 1rem 1.05rem;
}

.command-item h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 1rem;
}

.command-item p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.badge.everyone { border-color: rgba(94, 225, 157, 0.35); color: #9af3c2; }
.badge.staff { border-color: rgba(86, 199, 245, 0.35); color: #9cddf8; }
.badge.admin { border-color: rgba(243, 204, 99, 0.38); color: #ffe49d; }
.badge.panel { border-color: rgba(139, 92, 246, 0.38); color: #d9ccff; }

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
}

.featured-plan {
  border-color: rgba(243, 204, 99, 0.42);
  box-shadow: 0 22px 65px rgba(243, 204, 99, 0.09);
}

.founder-plan {
  border-color: rgba(139, 92, 246, 0.42);
}

.muted-plan {
  border-color: rgba(86, 199, 245, 0.25);
}

.price {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 950;
}

.price span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.plan-list {
  display: grid;
  gap: 0.62rem;
  margin-bottom: 1.4rem;
}

.plan-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
}

.plan-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.price-card .button {
  margin-top: auto;
}

.timeline,
.update-grid {
  display: grid;
  gap: 1rem;
}

.timeline article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 24, 43, 0.68);
}

.timeline span {
  color: var(--gold);
  font-weight: 900;
}

.update-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.system-row:first-child {
  border-top: 0;
}

.system-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin-top: 4rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  color: var(--muted);
  background:
    radial-gradient(circle at 0 50%, rgba(243, 204, 99, 0.085), transparent 16rem),
    linear-gradient(135deg, rgba(17, 23, 43, 0.92), rgba(7, 11, 23, 0.94));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
}

.footer::before {
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 204, 99, 0.7), rgba(139, 92, 246, 0.65), transparent);
  content: "";
}

.footer a {
  color: var(--text);
  text-decoration: none;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  min-width: 0;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.footer-brand span {
  display: grid;
  gap: 0.05rem;
}

.footer-brand strong {
  font-size: 0.9rem;
  line-height: 1.1;
}

.footer-brand small {
  color: var(--muted);
  font-size: 0.68rem;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 2vw, 1.35rem);
}

.footer-links a,
.footer-top {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  transition: color 150ms ease, transform 150ms ease;
}

.footer-links a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.footer-links a:hover,
.footer-top:hover {
  color: var(--gold);
}

.footer-copyright {
  color: rgba(183, 192, 216, 0.72);
  font-size: 0.7rem;
  white-space: nowrap;
}

.footer-top {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 0.62rem;
  border: 1px solid rgba(243, 204, 99, 0.18);
  border-radius: 11px;
  background: rgba(243, 204, 99, 0.055);
  white-space: nowrap;
}

.footer-top:hover {
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .footer {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem 1rem;
    padding: 1rem;
  }

  .footer-brand { grid-column: 1; grid-row: 1; }
  .footer-top { grid-column: 2; grid-row: 1; }

  .footer-links {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.35rem;
    padding-block: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  }

  .footer-links a {
    width: 100%;
    border-radius: 10px;
  }

  .footer-links a:hover {
    background: rgba(255, 255, 255, 0.035);
  }

  .footer-copyright {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
    padding-top: 0.05rem;
  }
}

@media (max-width: 560px) {
  .footer {
    gap: 0.45rem 0.7rem;
    padding: 0.72rem 0.78rem 0.62rem;
    border-radius: 17px;
  }

  .footer-brand {
    gap: 0.48rem;
  }

  .footer-brand img {
    width: 32px;
    height: 32px;
  }

  .footer-brand strong {
    font-size: 0.79rem;
  }

  .footer-brand small {
    font-size: 0.59rem;
    white-space: normal;
  }

  .footer-top {
    min-width: 62px;
    min-height: 38px;
    justify-content: center;
    padding: 0.38rem 0.52rem;
    font-size: 0.68rem;
  }

  .footer-links {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding-block: 0.3rem;
  }

  .footer-links a {
    min-width: 0;
    min-height: 36px;
    padding-inline: 0.12rem;
    border: 0;
    background: transparent;
    font-size: clamp(0.58rem, 2.75vw, 0.67rem);
    white-space: nowrap;
  }

  .footer-copyright {
    justify-self: center;
    padding-inline: 0;
    font-size: 0.62rem;
  }
}

@media (max-width: 360px) {
  .footer-brand small {
    max-width: 112px;
  }

  .footer-links a {
    font-size: 0.57rem;
  }
}

@keyframes nav-drawer-in {
  from {
    opacity: 0.72;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 1041px) {
  .nav-menu:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
  }

  .nav-menu:hover > .nav-dropdown-wide {
    transform: translate(-50%, 0) scale(1);
  }
}

@media (max-width: 1040px) {
  body.nav-open {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }

  body.nav-open .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 104;
  }

  body.nav-open::after {
    position: fixed;
    z-index: 98;
    inset: 0;
    content: "";
    background: rgba(3, 6, 14, 0.58);
    backdrop-filter: blur(4px);
  }

  .brand,
  .nav-toggle {
    position: relative;
    z-index: 103;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    z-index: 102;
    top: 0;
    right: 0;
    display: none;
    width: min(520px, 100vw);
    height: 100vh;
    height: 100dvh;
    max-height: none;
    box-sizing: border-box;
    align-content: start;
    justify-content: stretch;
    grid-auto-rows: max-content;
    grid-template-columns: minmax(0, 1fr);
    padding: 5.35rem clamp(1rem, 3vw, 1.4rem) 1.4rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    border: 0;
    border-left: 1px solid var(--line-strong);
    border-radius: 0;
    background:
      radial-gradient(circle at 86% 0, rgba(139, 92, 246, 0.2), transparent 17rem),
      linear-gradient(180deg, rgba(11, 16, 32, 0.995), rgba(6, 10, 22, 0.995));
    box-shadow: -30px 0 90px rgba(0, 0, 0, 0.48), inset 1px 0 rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(24px) saturate(145%);
  }

  .nav-links.open {
    display: grid;
    gap: 0.38rem;
    animation: nav-drawer-in 190ms ease-out;
  }

  .nav-links > * {
    min-width: 0;
  }

  .mobile-nav-heading {
    display: none;
  }

  .nav-links.mobile-submenu > .mobile-nav-heading {
    display: block;
  }

  .mobile-nav-back {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    gap: 0.8rem;
    margin: 0 0 0.65rem;
    padding: 0.62rem 0.72rem;
    border: 0;
    border-bottom: 1px solid rgba(243, 204, 99, 0.26);
    color: var(--text);
    background: transparent;
    text-align: left;
    cursor: pointer;
  }

  .mobile-nav-back-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid rgba(243, 204, 99, 0.25);
    border-radius: 50%;
    color: var(--gold);
    background: rgba(243, 204, 99, 0.06);
    font-size: 1.1rem;
  }

  .mobile-nav-back span:last-child {
    display: grid;
    gap: 0.08rem;
  }

  .mobile-nav-back small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 760;
  }

  .mobile-nav-back strong {
    font-size: 1.08rem;
    font-weight: 920;
  }

  .nav-links.mobile-submenu > .nav-link,
  .nav-links.mobile-submenu > .nav-cta,
  .nav-links.mobile-submenu > .nav-menu:not(.mobile-active) {
    display: none;
  }

  .nav-links.mobile-submenu > .nav-menu.mobile-active {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-links.mobile-submenu > .nav-menu.mobile-active > .nav-menu-button {
    display: none;
  }

  .nav-link,
  .nav-cta,
  .nav-menu-button {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-cta {
    margin: 0.4rem 0 0;
    padding: 0.48rem 0.55rem;
    border-radius: 14px;
  }

  .nav-cta-arrow {
    margin-left: auto;
  }

  .nav-menu {
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 13px;
  }

  .nav-links:not(.mobile-submenu) .nav-menu.open {
    border-color: rgba(139, 92, 246, 0.22);
    background: rgba(139, 92, 246, 0.055);
  }

  .nav-chevron {
    margin-left: auto;
  }

  .nav-dropdown,
  .nav-dropdown-wide {
    position: static;
    display: none;
    width: 100%;
    height: auto;
    max-height: none;
    box-sizing: border-box;
    align-content: start;
    margin: 0.2rem 0 0.35rem;
    padding: 0.45rem;
    overflow-x: hidden;
    overflow-y: visible;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 11px;
    background: rgba(4, 7, 17, 0.38);
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .nav-dropdown:not(.nav-dropdown-wide) {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }

  .nav-dropdown-wide {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    height: auto;
  }

  .nav-dropdown-wide.nav-groups-3 {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .nav-links.mobile-submenu .nav-dropdown,
  .nav-links.mobile-submenu .nav-dropdown-wide {
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .nav-links.mobile-submenu .nav-dropdown:not(.nav-dropdown-wide) a {
    min-height: 50px;
    padding: 0.78rem 0.9rem;
    border-color: rgba(255, 255, 255, 0.075);
    background: rgba(255, 255, 255, 0.025);
  }

  .nav-dropdown-group {
    padding: 0.52rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.025);
  }

  .nav-dropdown-group-links {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.12rem;
  }

  .nav-dropdown-label {
    min-height: 38px;
    margin: 0;
    padding: 0.42rem 0.5rem;
    border-radius: 8px;
  }

  .nav-group-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
    cursor: pointer;
  }

  .nav-group-button::after {
    width: 7px;
    height: 7px;
    margin-right: 0.35rem;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    color: rgba(243, 204, 99, 0.88);
    content: "";
    transform: rotate(45deg);
    transition: color 180ms ease, transform 180ms ease;
  }

  .nav-dropdown-group.open > .nav-group-button {
    color: #fff1b8;
    background: rgba(243, 204, 99, 0.08);
  }

  .nav-dropdown-group.open > .nav-group-button::after {
    color: #fff0ad;
    transform: translateY(3px) rotate(225deg);
  }

  .nav-dropdown-group.open > .nav-dropdown-group-links {
    display: grid;
    padding-top: 0.3rem;
  }

  .nav-menu.open > .nav-dropdown,
  .nav-menu:focus-within > .nav-dropdown {
    display: grid;
    transform: none;
  }

  .cards,
  .docs-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip,
  .flow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doc-layout {
    grid-template-columns: 1fr;
  }

  .product-explainer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-explainer-definition {
    padding-top: 1.4rem;
    padding-left: 0;
    border-top: 1px solid rgba(243, 204, 99, 0.28);
    border-left: 0;
  }

  .plain-glossary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plain-glossary > div,
  .plain-glossary > div:first-child,
  .plain-glossary > div:last-child {
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.075);
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  }

  .plain-glossary > div:nth-child(even) {
    border-right: 0;
  }

  .toc-card {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .toc-card .eyebrow {
    grid-column: 1 / -1;
  }
}

.community-gallery {
  display: grid;
  gap: 2rem;
}

.gallery-status {
  margin: 0;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
}

.community-gallery-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(1.3rem, 3vw, 2.6rem);
  align-items: center;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(24, 31, 58, 0.92), rgba(9, 14, 31, 0.94));
  box-shadow: var(--shadow);
  scroll-margin-top: 7rem;
}

.community-gallery-entry:nth-child(even) .community-gallery-media {
  order: 2;
}

.community-gallery-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  overflow: hidden;
  border-radius: 18px;
}

.community-gallery-media.media-1,
.community-gallery-media.images-1 {
  grid-template-columns: 1fr;
}

.community-gallery-media img,
.community-gallery-media video {
  width: 100%;
  height: 100%;
  min-height: 190px;
  max-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.2);
}

.community-gallery-content {
  min-width: 0;
}

.community-gallery-content h2 {
  margin: 0.35rem 0 1rem;
}

.community-gallery-content > p:not(.eyebrow) {
  white-space: pre-line;
}

.community-gallery-credit {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  body.nav-open {
    overflow: hidden;
  }

  .page-shell,
  .nav,
  .footer {
    width: min(var(--page), calc(100% - 1.2rem));
  }

  .hero,
  .page-hero {
    padding-top: 3.8rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.7rem);
  }

  .hero-actions,
  .conversion-cta,
  .spotlight-card,
  .hero-asset-card {
    align-items: stretch;
    flex-direction: column;
  }

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

  .community-gallery-entry {
    grid-template-columns: 1fr;
  }

  .community-gallery-entry:nth-child(even) .community-gallery-media {
    order: 0;
  }

  .hero-actions .button,
  .conversion-cta .button {
    width: 100%;
  }

  .hero-asset-card img {
    width: 100%;
    max-height: 220px;
  }

  .cards,
  .cards.three,
  .home-feature-grid,
  .detail-grid,
  .outcome-grid,
  .path-grid,
  .proof-strip,
  .guild-stats,
  .pricing-grid,
  .contact-grid,
  .docs-topic-grid,
  .docs-search-results,
  .panel-directory,
  .command-list,
  .flow-strip,
  .update-grid {
    grid-template-columns: 1fr;
  }

  .toc-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-table > div,
  .system-row,
  .timeline article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .preview-row {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 0.35rem;
  }

  .preview-row > :last-child {
    grid-column: 2;
    justify-self: start;
  }

  .product-proof .preview-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .product-proof .preview-proof-label {
    grid-column: 1 / -1;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* The home follows the same stronger subtitle hierarchy. */
.page-home .hero-text {
  max-width: 790px;
  color: rgba(235, 240, 255, 0.82);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 720;
  line-height: 1.52;
  letter-spacing: -0.016em;
  text-wrap: pretty;
}

/* Guild overview: an editorial cover rather than another summary card. */
.page-layout-guild-cover .page-opening {
  min-height: 700px;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5.8rem);
}

@media (min-width: 901px) {
  .page-interior.page-layout-guild-cover .page-opening {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  }
}

.opening-guild-cover {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 520px;
  min-height: 610px;
  align-content: center;
  justify-items: center;
  justify-self: end;
  padding: 2.7rem 2rem 2.1rem;
  isolation: isolate;
  text-align: center;
}

.opening-guild-cover::before,
.opening-guild-cover::after {
  position: absolute;
  z-index: -2;
  content: "";
  pointer-events: none;
}

.opening-guild-cover::before {
  inset: 4% 2% 1%;
  border: 1px solid rgba(243, 204, 99, 0.22);
  border-radius: 46% 46% 31% 31% / 36% 36% 18% 18%;
  background:
    radial-gradient(circle at 50% 27%, rgba(243, 204, 99, 0.13), transparent 31%),
    radial-gradient(circle at 50% 58%, rgba(139, 92, 246, 0.1), transparent 47%),
    linear-gradient(180deg, rgba(16, 23, 43, 0.74), rgba(7, 10, 19, 0.2) 82%);
  box-shadow:
    inset 0 1px rgba(255, 244, 201, 0.08),
    0 45px 110px rgba(0, 0, 0, 0.34),
    0 0 90px rgba(243, 204, 99, 0.05);
}

.opening-guild-cover::after {
  z-index: -1;
  inset: 8% 7% 5%;
  border: 1px solid rgba(86, 199, 245, 0.1);
  border-radius: 46% 46% 32% 32% / 38% 38% 20% 20%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 34%, rgba(86, 199, 245, 0.035));
}

.guild-cover-stage {
  position: absolute;
  z-index: -1;
  inset: -3% -9% -6%;
  pointer-events: none;
}

.guild-cover-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 52px rgba(0, 0, 0, 0.38));
}

.guild-cover-kicker,
.guild-cover-seal,
.guild-cover-identity,
.guild-cover-motto,
.guild-cover-facts {
  position: relative;
  z-index: 1;
}

.guild-cover-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  margin-bottom: 1.3rem;
  color: rgba(255, 240, 181, 0.82);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guild-cover-kicker i {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: #fb475e;
  box-shadow: 0 0 16px rgba(251, 71, 94, 0.8);
}

.guild-cover-kicker small {
  color: rgba(86, 199, 245, 0.82);
  font-size: inherit;
}

.guild-cover-seal {
  position: relative;
  display: grid;
  width: 224px;
  height: 224px;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 235, 162, 0.64);
  border-radius: 50%;
  background:
    linear-gradient(#090d18, #090d18) padding-box,
    conic-gradient(from 15deg, #56c7f5, #f3cc63 24%, #fff2b8 42%, #fb7185 52%, #a675ff 68%, #5ee19d 84%, #56c7f5) border-box;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.52),
    0 0 60px rgba(243, 204, 99, 0.17),
    inset 0 0 0 4px rgba(7, 10, 19, 0.9);
}

.guild-cover-seal::before,
.guild-cover-seal::after,
.guild-cover-seal > span {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.guild-cover-seal::before {
  inset: -14px;
  border: 1px solid rgba(243, 204, 99, 0.28);
  box-shadow: inset 0 0 30px rgba(243, 204, 99, 0.08);
}

.guild-cover-seal::after {
  inset: -25px;
  border: 1px dashed rgba(86, 199, 245, 0.24);
}

.guild-cover-seal > span {
  inset: -38px;
  border: 1px solid rgba(166, 117, 255, 0.12);
}

.guild-cover-seal img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  clip-path: circle(49.6% at 50% 50%);
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 170, 0.35);
}

.guild-cover-identity {
  display: grid;
  gap: 0.14rem;
  margin-top: 1.45rem;
}

.guild-cover-identity strong {
  color: transparent;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1;
  text-indent: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(105deg, #fff5c7, #f3cc63 44%, #d38a2a 72%, #fff0ae);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 5px 16px rgba(243, 204, 99, 0.13));
}

.guild-cover-identity span {
  color: rgba(208, 219, 242, 0.7);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.guild-cover-motto {
  max-width: 350px;
  margin: 1.1rem 0 1.35rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 720;
  font-style: italic;
  line-height: 1.5;
  text-wrap: balance;
}

.guild-cover-facts {
  display: grid;
  width: min(100%, 410px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-inline: auto;
}

.guild-cover-facts span {
  display: grid;
  gap: 0.26rem;
  min-width: 0;
  padding: 0.78rem 0.55rem 0.72rem;
  border: 1px solid rgba(243, 204, 99, 0.14);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(243, 204, 99, 0.07), rgba(12, 18, 34, 0.68));
}

.guild-cover-facts strong {
  overflow: hidden;
  color: rgba(255, 243, 200, 0.94);
  font-size: 0.76rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guild-cover-facts small {
  color: rgba(86, 199, 245, 0.68);
  font-size: 0.57rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Features overview: connected modules orbit one product core. */
.page-layout-feature-map .page-opening {
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  min-height: 660px;
  align-items: center;
}

.opening-feature-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 2rem;
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.17), rgba(10, 15, 30, 0.76) 42%, transparent 70%);
}

.opening-feature-map::before {
  position: absolute;
  z-index: -1;
  border: 1px dashed rgba(139, 92, 246, 0.24);
  border-radius: 50%;
  content: "";
  inset: 5%;
  animation: feature-map-spin 32s linear infinite;
}

.feature-map-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border: 1px solid rgba(139, 92, 246, 0.46);
  border-radius: 50%;
  color: white;
  background: #0d1328;
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.28);
  font-weight: 950;
  transform: translate(-50%, -50%);
}

.opening-feature-map a {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: var(--text);
  background: rgba(9, 14, 28, 0.82);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.opening-feature-map a:nth-of-type(even) {
  justify-content: flex-end;
  text-align: right;
}

.opening-feature-map a:hover {
  border-color: rgba(139, 92, 246, 0.48);
  transform: translateY(-3px);
}

.opening-feature-map img {
  width: 27px;
  height: 27px;
}

.opening-feature-map span {
  font-weight: 860;
}

@keyframes feature-map-spin {
  to { transform: rotate(360deg); }
}

/* Pricing overview: two clear buying paths, not another generic side card. */
.page-layout-pricing-tiers .page-opening {
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.78fr);
  min-height: 650px;
  align-items: center;
}

.opening-pricing-tiers {
  display: grid;
  gap: 1.15rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(243, 204, 99, 0.28);
}

.opening-tier-stack {
  display: grid;
  gap: 0.85rem;
}

.opening-tier {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 0.28rem 1rem;
  align-items: center;
  min-height: 126px;
  padding: 1.35rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text);
  background: rgba(10, 15, 30, 0.82);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.opening-tier:hover {
  transform: translateX(-5px);
}

.opening-tier > span {
  grid-row: span 2;
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.opening-tier > span img {
  width: 34px;
  height: 34px;
}

.opening-tier > span b {
  font: inherit;
}

.opening-tier strong {
  font-size: 1.55rem;
}

.opening-tier em {
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-self: end;
  color: var(--gold);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.opening-tier small,
.opening-pricing-tiers > p {
  color: var(--muted);
  line-height: 1.5;
}

.opening-tier-free { border-color: rgba(94, 225, 157, 0.24); }
.opening-tier-premium {
  border-color: rgba(243, 204, 99, 0.4);
  background: linear-gradient(135deg, rgba(243, 204, 99, 0.12), rgba(10, 15, 30, 0.88));
}

.opening-tier-exclusive {
  border-color: rgba(181, 153, 255, 0.38);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(10, 15, 30, 0.88));
}

.opening-tier-exclusive em {
  color: #c7a7ff;
}

.opening-pricing-tiers > p {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-size: 0.82rem;
}

.opening-pricing-tiers > p img {
  width: 21px;
  height: 21px;
}

/* Pricing: one free path and three progressively stronger Premium tiers. */
.pricing-catalog {
  position: relative;
}

.pricing-catalog::before {
  position: absolute;
  z-index: -1;
  top: 6rem;
  right: 0;
  width: 34%;
  height: 62%;
  border-radius: 999px;
  background: rgba(243, 204, 99, 0.065);
  filter: blur(90px);
  content: "";
}

.pricing-configurator {
  position: relative;
  padding: clamp(1.25rem, 3.5vw, 2.7rem);
  overflow: visible;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 34px;
  background:
    radial-gradient(circle at 94% 0, rgba(139, 92, 246, 0.13), transparent 30rem),
    radial-gradient(circle at 0 70%, rgba(243, 204, 99, 0.055), transparent 32rem),
    linear-gradient(160deg, rgba(16, 22, 43, 0.97), rgba(7, 11, 24, 0.97));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.26);
}

.pricing-edition-choice {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 1rem 2rem;
  align-items: center;
  margin: 0;
  padding: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid rgba(181, 153, 255, 0.2);
}

.pricing-edition-choice-copy h2,
.pricing-plan-heading h2 {
  margin: 0.35rem 0 0;
}

.pricing-edition-choice-copy p:last-child,
.pricing-plan-heading p:last-child {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.pricing-edition-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.pricing-edition-option {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  min-width: 0;
  min-height: 112px;
  align-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 19px;
  color: var(--text);
  background: rgba(6, 10, 23, 0.72);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.pricing-edition-option:hover {
  border-color: rgba(243, 204, 99, 0.34);
  transform: translateY(-2px);
}

.pricing-edition-option[aria-pressed="true"] {
  border-color: rgba(243, 204, 99, 0.68);
  background: linear-gradient(145deg, rgba(243, 204, 99, 0.14), rgba(20, 25, 45, 0.9));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.pricing-edition-option > img {
  width: 40px;
  height: 40px;
}

.pricing-edition-option > span {
  display: grid;
  gap: 0.35rem;
}

.pricing-edition-option strong {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 900;
}

.pricing-edition-option small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.pricing-founder-link {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(181, 153, 255, 0.22);
  border-radius: 15px;
  color: #d9c9ff;
  background: rgba(139, 92, 246, 0.075);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.pricing-founder-link:hover {
  border-color: rgba(181, 153, 255, 0.48);
  background: rgba(139, 92, 246, 0.13);
}

.pricing-founder-link span {
  flex: 0 0 auto;
  font-weight: 900;
}

.pricing-founder-link small {
  color: var(--muted);
  text-align: right;
}

.pricing-plan-heading {
  max-width: 880px;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 1.5rem;
}

.plan-tier-grid.edition-updated {
  animation: pricing-edition-reveal 220ms ease-out;
}

@keyframes pricing-edition-reveal {
  from { opacity: 0.72; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.plan-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
  padding-top: 0.7rem;
}

.plan-tier-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 590px;
  flex-direction: column;
  padding: clamp(1.2rem, 2vw, 1.55rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(24, 31, 56, 0.94), rgba(10, 15, 29, 0.92));
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.plan-tier-card::after {
  position: absolute;
  right: -35%;
  bottom: -28%;
  width: 85%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  content: "";
}

.plan-tier-card:hover {
  z-index: 2;
  border-color: rgba(243, 204, 99, 0.42);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
  transform: translateY(-6px);
}

.plan-tier-free { border-color: rgba(94, 225, 157, 0.25); }
.plan-tier-core { border-color: rgba(86, 199, 245, 0.26); }
.plan-tier-growth {
  overflow: visible;
  border-color: rgba(243, 204, 99, 0.62);
  background: linear-gradient(165deg, rgba(49, 44, 42, 0.98), rgba(15, 18, 31, 0.96));
  box-shadow: 0 24px 72px rgba(243, 204, 99, 0.1);
}
.plan-tier-growth::after { display: none; }
.plan-tier-scale { border-color: rgba(139, 92, 246, 0.42); }

.plan-popular {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 1.25rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: #171205;
  background: var(--gold);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-52%);
}

.plan-tier-top,
.plan-tier-name {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.plan-tier-top {
  min-height: 28px;
  margin-bottom: 1.45rem;
}

.plan-tier-label,
.plan-tier-index,
.plan-tier-kicker {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-tier-index {
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
}

.featured-tier .plan-tier-index {
  margin-right: 0;
}

.featured-tier .plan-tier-top {
  gap: 1rem;
  justify-content: space-between;
  padding-right: 0;
}

.plan-tier-name h3 {
  margin: 0.18rem 0 0;
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
}

.plan-tier-name .eyebrow {
  display: flex;
  min-height: 2.35em;
  align-items: flex-end;
  margin: 0;
  font-size: 0.64rem;
  line-height: 1.35;
}

.plan-tier-name {
  align-items: flex-end;
}

.plan-price {
  display: grid;
  justify-items: end;
  margin: 0;
  text-align: right;
}

.plan-price strong {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  color: var(--gold);
  font-size: clamp(1.3rem, 1.7vw, 1.65rem);
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.plan-price .plan-currency {
  color: rgba(255, 209, 92, 0.42);
  font-size: 0.62em;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1;
}

.plan-price .plan-amount {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.plan-price .plan-period {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
}

.plan-tier-fit,
.plan-tier-kicker,
.plan-tier-card .plan-list,
.plan-tier-card .button,
.plan-tier-divider {
  position: relative;
  z-index: 1;
}

.plan-tier-fit {
  min-height: 88px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.plan-tier-divider {
  height: 1px;
  margin: 1.15rem 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent);
}

.plan-tier-kicker {
  margin: 0 0 0.85rem;
}

.plan-tier-card .plan-list {
  margin: 0 0 1.4rem;
}

.plan-tier-card .button {
  width: 100%;
  margin-top: auto;
}

.plan-tier-card .plan-start-button {
  min-height: 54px;
  gap: 0.72rem;
}

.plan-tier-card .plan-start-button .plan-cta-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  filter: drop-shadow(0 7px 14px rgba(0, 0, 0, 0.3));
  transition: transform 180ms ease, filter 180ms ease;
}

.plan-tier-card .plan-start-button:hover .plan-cta-icon {
  transform: translateY(-1px) scale(1.08);
  filter: drop-shadow(0 9px 18px rgba(0, 0, 0, 0.38));
}

.pricing-scope-note {
  max-width: 920px;
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
  text-align: center;
}

.discord-billing-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  border: 1px solid rgba(88, 101, 242, 0.32);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(88, 101, 242, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(20, 27, 52, 0.95), rgba(11, 16, 31, 0.94));
  box-shadow: var(--shadow-soft);
}

.discord-billing-intro {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.discord-billing-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgba(135, 145, 255, 0.34);
  border-radius: 18px;
  background: rgba(88, 101, 242, 0.18);
}

.discord-billing-icon img {
  width: 30px;
  height: 30px;
}

.discord-billing-intro h2 {
  margin: 0.35rem 0 0.8rem;
}

.discord-billing-intro p:last-child,
.billing-proof-grid p,
.plan-decision-grid p,
.pricing-faq-grid p,
.founder-note p {
  color: var(--muted);
}

.billing-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.billing-proof-grid article {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 18px;
  background: rgba(5, 9, 22, 0.4);
}

.billing-proof-grid span {
  margin-bottom: 1.5rem;
  color: #aeb5ff;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.billing-proof-grid strong {
  font-size: 1rem;
}

.billing-proof-grid p {
  margin: 0.6rem 0 0;
  font-size: 0.87rem;
  line-height: 1.62;
}

.pricing-comparison-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.8rem;
}

.pricing-comparison-heading-row .section-heading {
  margin-bottom: 0;
}

.pricing-comparison-edition {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 0.5rem;
}

.pricing-comparison-edition > span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pricing-comparison-edition .edition-availability-badge:hover {
  transform: none;
}

.pricing-table {
  min-width: 900px;
}

.pricing-table th:not(:first-child),
.pricing-table td:not(:first-child) {
  text-align: center;
}

.pricing-table .recommended-column {
  border-right: 1px solid rgba(243, 204, 99, 0.18);
  border-left: 1px solid rgba(243, 204, 99, 0.18);
  background: rgba(243, 204, 99, 0.055);
}

.pricing-table th.recommended-column {
  color: var(--gold);
  background: rgba(243, 204, 99, 0.1);
}

.plan-decision-grid,
.pricing-faq-grid {
  display: grid;
  gap: 0.9rem;
}

.plan-decision-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plan-decision-grid article {
  min-width: 0;
  padding: 1.35rem 0 1.35rem 1.2rem;
  border-left: 1px solid rgba(243, 204, 99, 0.3);
}

.plan-decision-grid span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.plan-decision-grid h3 {
  margin: 0.55rem 0 0;
}

.plan-decision-grid p {
  margin: 0.7rem 0 0;
  line-height: 1.65;
}

.founder-exclusive {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 32px;
  background:
    radial-gradient(circle at 96% 4%, rgba(181, 153, 255, 0.18), transparent 23rem),
    radial-gradient(circle at 5% 100%, rgba(243, 204, 99, 0.09), transparent 24rem),
    linear-gradient(145deg, rgba(49, 32, 91, 0.34), rgba(8, 13, 27, 0.97) 58%);
}

.founder-exclusive::after {
  position: absolute;
  top: -9rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(181, 153, 255, 0.16);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.founder-exclusive-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(181, 153, 255, 0.2);
}

.founder-exclusive-heading h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(2.25rem, 6vw, 5rem);
  letter-spacing: -0.055em;
}

.founder-exclusive-badge {
  flex: 0 0 auto;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(181, 153, 255, 0.34);
  border-radius: 999px;
  color: #d8c5ff;
  background: rgba(139, 92, 246, 0.12);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.founder-exclusive-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.founder-exclusive-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.founder-exclusive-intro .founder-exclusive-lead {
  color: var(--text);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.55;
}

.founder-capability-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.founder-capability-grid article {
  position: relative;
  min-width: 0;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(181, 153, 255, 0.18);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.1), rgba(8, 13, 28, 0.76));
}

.founder-capability-index {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(243, 204, 99, 0.76);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.founder-capability-grid h3 {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.founder-capability-grid article > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

.founder-feature-stack {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(1.3rem, 4vw, 3rem);
  margin-bottom: 1rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(243, 204, 99, 0.16);
  border-radius: 24px;
  background: rgba(8, 13, 28, 0.58);
}

.founder-feature-stack-heading h3 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.founder-feature-stack-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.founder-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.founder-feature-list article {
  min-width: 0;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(181, 153, 255, 0.14);
}

.founder-feature-list strong,
.founder-feature-list span {
  display: block;
}

.founder-feature-list strong {
  margin-bottom: 0.35rem;
  color: var(--text);
}

.founder-feature-list span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.58;
}

.founder-exclusive-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.founder-access-card,
.founder-definition-card {
  min-width: 0;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(181, 153, 255, 0.18);
  border-radius: 24px;
  background: rgba(8, 13, 28, 0.72);
}

.founder-access-card h3,
.founder-definition-card h3 {
  margin: 0.45rem 0 1.25rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.founder-access-steps,
.founder-definition-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.founder-access-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(181, 153, 255, 0.14);
}

.founder-access-steps li > span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.founder-access-steps strong,
.founder-definition-list strong {
  color: var(--text);
}

.founder-access-steps p,
.founder-definition-card > p,
.founder-definition-list li {
  color: var(--muted);
  line-height: 1.68;
}

.founder-access-steps p {
  margin: 0.35rem 0 0;
}

.founder-definition-card > p {
  margin: 0 0 1rem;
}

.founder-definition-list li {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(181, 153, 255, 0.14);
}

.founder-exclusive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.founder-exclusive-note {
  position: relative;
  z-index: 1;
  margin: 1.2rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(181, 153, 255, 0.2);
  color: var(--muted);
  line-height: 1.7;
}

.pricing-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-faq-grid article {
  min-width: 0;
  padding: 1.35rem 1.45rem;
  border-top: 1px solid rgba(243, 204, 99, 0.28);
  background: linear-gradient(180deg, rgba(243, 204, 99, 0.035), transparent);
}

.pricing-faq-grid h3 {
  margin: 0;
  font-size: 1.05rem;
}

.pricing-faq-grid p {
  margin: 0.65rem 0 0;
  line-height: 1.68;
}

.pricing-conversion {
  border-color: rgba(243, 204, 99, 0.28);
  background:
    radial-gradient(circle at 100% 0, rgba(243, 204, 99, 0.11), transparent 38%),
    linear-gradient(145deg, rgba(24, 31, 55, 0.94), rgba(10, 15, 30, 0.94));
}

#premium-tiers,
#free-plan,
#founder-edition {
  scroll-margin-top: 7rem;
}

@media (max-width: 1120px) {
  .plan-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-tier-card {
    min-height: 530px;
  }

  .plan-tier-fit {
    min-height: 66px;
  }
}

@media (max-width: 900px) {
  .discord-billing-section {
    grid-template-columns: 1fr;
  }

  .plan-decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .founder-exclusive-intro,
  .founder-exclusive-grid,
  .founder-feature-stack {
    grid-template-columns: 1fr;
  }

  .founder-capability-grid {
    grid-template-columns: 1fr;
  }

  .pricing-edition-choice {
    grid-template-columns: 1fr;
  }

  .pricing-founder-link {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  .plan-tier-grid,
  .billing-proof-grid,
  .plan-decision-grid,
  .pricing-faq-grid {
    grid-template-columns: 1fr;
  }

  .plan-tier-card {
    min-height: 0;
  }

  .plan-tier-fit {
    min-height: 0;
  }

  .discord-billing-section {
    padding: 1.25rem;
    border-radius: 22px;
  }

  .plan-decision-grid article {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .pricing-scope-note {
    text-align: left;
  }

  .pricing-edition-controls {
    grid-template-columns: 1fr;
  }

  .pricing-configurator {
    border-radius: 24px;
  }

  .pricing-edition-option {
    min-height: 0;
  }

  .pricing-founder-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-founder-link small {
    text-align: left;
  }

  .founder-exclusive {
    border-radius: 24px;
  }

  .founder-exclusive-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .founder-exclusive-actions .button {
    width: 100%;
  }

  .founder-feature-list {
    grid-template-columns: 1fr;
  }
}

/* Questions: three direct routes with no decorative summary repetition. */
.page-layout-contact-paths .page-opening {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.68fr);
  min-height: 610px;
  align-items: center;
}

.opening-contact-paths {
  display: grid;
  gap: 0.8rem;
}

.opening-contact-paths a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(86, 199, 245, 0.18);
  color: var(--text);
  text-decoration: none;
  transition: padding-left 160ms ease, border-color 160ms ease;
}

.opening-contact-paths a:nth-child(2) { margin-left: 0; }
.opening-contact-paths a:hover {
  padding-left: 0.7rem;
  border-color: rgba(86, 199, 245, 0.62);
}

.opening-contact-paths img {
  width: 28px;
  height: 28px;
}

.opening-contact-paths span {
  display: grid;
  gap: 0.25rem;
}

.opening-contact-paths strong { font-size: 1.05rem; }
.opening-contact-paths small { color: var(--muted); }

@media (max-width: 900px) {
  .page-layout-guild-cover .page-opening,
  .page-layout-feature-map .page-opening,
  .page-layout-pricing-tiers .page-opening,
  .page-layout-contact-paths .page-opening {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .opening-guild-cover {
    min-height: 590px;
    justify-self: center;
  }
  .opening-feature-map { max-width: 650px; }
  .opening-pricing-tiers { max-width: 680px; }
  .opening-contact-paths { max-width: 650px; }
}

@media (max-width: 760px) {
  .page-interior .page-opening h1 {
    font-size: clamp(2.65rem, 14vw, 4.25rem);
  }

  .page-interior .page-opening .lead,
  .page-home .hero-text {
    font-size: clamp(1.08rem, 5vw, 1.3rem);
  }

  .opening-guild-cover {
    width: calc(100% - 1rem);
    min-height: 560px;
    margin-inline: auto;
    padding: 2.2rem 0.65rem 1.8rem;
  }

  .guild-cover-stage { inset: 0 1% -2%; }
  .guild-cover-seal { width: 194px; height: 194px; }
  .guild-cover-kicker { gap: 0.5rem; font-size: 0.59rem; }
  .guild-cover-identity strong { font-size: 1.85rem; }
  .guild-cover-facts { gap: 0.38rem; }
  .guild-cover-facts span { padding-inline: 0.35rem; }
  .guild-cover-facts strong { font-size: 0.66rem; }
  .guild-cover-facts small { font-size: 0.5rem; }

  .opening-feature-map {
    grid-template-columns: 1fr;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .opening-feature-map::before,
  .feature-map-core {
    display: none;
  }

  .opening-feature-map a:nth-of-type(even) {
    justify-content: flex-start;
    text-align: left;
  }

  .opening-pricing-tiers {
    padding: 1.2rem 0 0;
    border-top: 1px solid rgba(243, 204, 99, 0.28);
    border-left: 0;
  }

  .opening-tier,
  .opening-tier-premium {
    margin-left: 0;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    min-height: 0;
  }

  .opening-tier > span {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .opening-tier strong {
    grid-column: 2;
    grid-row: 1;
  }

  .opening-tier em {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .opening-tier small {
    grid-column: 2;
    grid-row: 3;
  }

  .opening-pricing-tiers > p { margin-left: 0; }
  .opening-contact-paths a:nth-child(2) { margin-left: 0; }
}

@media (max-width: 760px) {
  .nav-links {
    right: 0;
    width: 100vw;
    padding-inline: clamp(1rem, 5vw, 2rem);
  }

  .nav-dropdown:not(.nav-dropdown-wide) {
    max-height: none;
  }

  .nav-dropdown-wide { height: auto; max-height: none; }
}

@media (max-width: 460px) {

  .nav-dropdown-group-links {
    grid-template-columns: 1fr;
  }

  .plain-glossary {
    grid-template-columns: 1fr;
  }

  .plain-glossary > div,
  .plain-glossary > div:first-child,
  .plain-glossary > div:last-child,
  .plain-glossary > div:nth-child(even) {
    padding: 0.95rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  }

  .toc-card {
    grid-template-columns: 1fr;
  }

  .brand-wordmark {
    width: 116px;
    height: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

.page-interior {
  --page-accent: 139, 92, 246;
  --page-accent-solid: #8b5cf6;
}

.page-accent-gold { --page-accent: 243, 204, 99; --page-accent-solid: #f3cc63; }
.page-accent-blue { --page-accent: 86, 199, 245; --page-accent-solid: #56c7f5; }
.page-accent-green { --page-accent: 94, 225, 157; --page-accent-solid: #5ee19d; }
.page-accent-red { --page-accent: 251, 113, 133; --page-accent-solid: #fb7185; }
.page-accent-violet { --page-accent: 139, 92, 246; --page-accent-solid: #8b5cf6; }

.page-interior::before {
  opacity: 0.21;
  background-image:
    linear-gradient(rgba(var(--page-accent), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--page-accent), 0.035) 1px, transparent 1px);
}

.page-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(250px, 0.58fr);
  gap: clamp(2rem, 7vw, 7rem);
  min-height: 510px;
  align-items: center;
  isolation: isolate;
  padding: clamp(4.2rem, 8vw, 7.2rem) 0 clamp(3.3rem, 6vw, 5.2rem);
}

.page-opening.hero-simple {
  max-width: none;
}

.page-opening::before {
  position: absolute;
  z-index: -2;
  top: 8%;
  right: -11%;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(var(--page-accent), 0.2), rgba(var(--page-accent), 0.055) 36%, transparent 70%);
  filter: blur(2px);
}

.page-opening::after {
  background: linear-gradient(90deg, rgba(var(--page-accent), 0.72), rgba(var(--page-accent), 0.12) 54%, transparent);
}

.opening-copy {
  position: relative;
  min-width: 0;
}

.page-opening .eyebrow {
  color: var(--page-accent-solid);
}

.page-opening h1 {
  max-width: 860px;
  margin-bottom: 1.45rem;
  font-size: clamp(2.7rem, 5.8vw, 5.15rem);
  text-wrap: balance;
}

.page-opening .lead {
  max-width: 720px;
  font-size: clamp(1.04rem, 1.7vw, 1.23rem);
}

.opening-aside {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid rgba(var(--page-accent), 0.32);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(var(--page-accent), 0.13), rgba(10, 15, 30, 0.91) 58%),
    rgba(10, 15, 30, 0.88);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.opening-aside::after {
  position: absolute;
  right: -45px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(var(--page-accent), 0.2);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 26px rgba(var(--page-accent), 0.025),
    0 0 0 55px rgba(var(--page-accent), 0.018);
}

.opening-aside-top,
.opening-aside-body {
  position: relative;
  z-index: 1;
}

.opening-aside-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(3.2rem, 7vw, 6.8rem);
}

.opening-code {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.opening-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.opening-icon img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 12px 20px rgba(var(--page-accent), 0.18));
}

.opening-label {
  margin-bottom: 0.55rem;
  color: white;
  font-size: 1.14rem;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.opening-summary {
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.opening-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.opening-tags span {
  padding: 0.34rem 0.54rem;
  border: 1px solid rgba(var(--page-accent), 0.23);
  border-radius: 999px;
  color: rgb(var(--page-accent));
  background: rgba(var(--page-accent), 0.07);
  font-size: 0.69rem;
  font-weight: 850;
}

.page-family-reference .page-opening {
  min-height: 430px;
  grid-template-columns: minmax(0, 1.55fr) minmax(235px, 0.45fr);
  padding-top: clamp(3.6rem, 7vw, 5.8rem);
}

.page-family-reference .page-opening h1 {
  max-width: 790px;
  font-size: clamp(2.45rem, 5vw, 4.35rem);
}

.page-family-reference .opening-aside {
  border-radius: 8px 28px 8px 8px;
}

.page-family-reference .opening-aside-top {
  margin-bottom: 4.5rem;
}

.page-family-reference .opening-code {
  color: var(--page-accent-solid);
}

.page-family-reference .opening-aside::before {
  position: absolute;
  top: 74px;
  right: 1.25rem;
  left: 1.25rem;
  height: 1px;
  content: "";
  background: repeating-linear-gradient(90deg, rgba(var(--page-accent), 0.35) 0 5px, transparent 5px 10px);
}

.page-variant-library .page-opening {
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  align-items: start;
}

.page-variant-library .opening-aside {
  margin-top: 0.6rem;
  border-radius: 28px 8px 28px 8px;
}

.page-variant-library .docs-search-shell {
  max-width: 820px;
}

.page-variant-terminal .opening-aside,
.page-variant-diagnostic .opening-aside,
.page-variant-architecture .opening-aside {
  border-radius: 10px;
  background:
    linear-gradient(rgba(var(--page-accent), 0.04) 1px, transparent 1px),
    #080d19;
  background-size: 100% 26px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.page-variant-identity .opening-aside,
.page-variant-shield .opening-aside,
.page-variant-roles .opening-aside {
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  border-radius: 20px 0 20px 20px;
}

.page-variant-clock .opening-aside,
.page-variant-cycle .opening-aside,
.page-variant-progress .opening-aside {
  border-radius: 50% 50% 22px 22px / 28% 28% 22px 22px;
}

.page-variant-ledger .opening-aside,
.page-variant-calculator .opening-aside,
.page-variant-ranking .opening-aside {
  border-left-width: 4px;
  border-radius: 4px 22px 22px 4px;
}

.page-variant-broadcast .opening-aside,
.page-variant-pulse .opening-aside,
.page-variant-alert .opening-aside {
  transform: rotate(1.25deg);
}

.page-variant-schedule .opening-aside,
.page-variant-timeline .opening-aside,
.page-variant-trace .opening-aside {
  transform: translateY(1.5rem);
}

.page-variant-inbox .opening-aside,
.page-variant-publish .opening-aside,
.page-variant-directory .opening-aside {
  border-radius: 24px 24px 6px 6px;
  box-shadow: inset 0 4px 0 rgba(var(--page-accent), 0.48), 0 28px 80px rgba(0, 0, 0, 0.28);
}

.page-variant-radar .opening-aside,
.page-variant-questions .opening-aside,
.page-variant-growth .opening-aside {
  border-radius: 40px 12px 40px 12px;
}

.page-variant-blueprint .opening-aside,
.page-variant-control .opening-aside,
.page-variant-steps .opening-aside {
  border-radius: 0;
  outline: 1px solid rgba(var(--page-accent), 0.12);
  outline-offset: 7px;
}

.page-family-product .page-opening {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  min-height: 600px;
}

.page-family-product .opening-copy {
  padding-left: clamp(1rem, 3vw, 2.7rem);
}

.page-family-product .opening-copy::before {
  position: absolute;
  top: 0.45rem;
  bottom: 0.45rem;
  left: 0;
  width: 3px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(var(--page-accent-solid), transparent);
}

.page-family-product .opening-aside {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 32px;
  transform: rotate(2deg);
}

.page-family-product .opening-aside-top {
  margin-bottom: 7rem;
}

.page-family-product .opening-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--page-accent), 0.16),
    rgba(var(--page-accent), 0.065) 38%,
    transparent 72%
  );
  box-shadow: none;
}

.page-family-product .opening-icon img {
  width: 58px;
  height: 58px;
}

.page-variant-constellation .opening-aside { transform: rotate(-1.4deg); }
.page-variant-economy .opening-aside { border-radius: 6px 38px 6px 38px; }
.page-variant-events .opening-aside { transform: translateY(1.4rem) rotate(1deg); }
.page-variant-intelligence .opening-aside { clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 12% 100%, 0 88%); border-radius: 0; }
.page-variant-finder .opening-aside { border-radius: 50% 50% 30px 30px / 22% 22% 30px 30px; }
.page-variant-support .opening-aside { transform: rotate(-2deg); border-radius: 38px 8px 38px 8px; }
.page-variant-usecases .opening-aside {
  border-radius: 34px 7px 34px 7px;
  background:
    linear-gradient(135deg, rgba(var(--page-accent), 0.2), transparent 44%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 18px),
    #0b1020;
  transform: rotate(-1deg);
}

.page-variant-trust .opening-aside {
  min-height: 430px;
  padding: 2.5rem 2.2rem;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(var(--page-accent), 0.18), rgba(9, 14, 28, 0.96));
  clip-path: polygon(50% 0, 94% 15%, 94% 68%, 50% 100%, 6% 68%, 6% 15%);
  transform: none;
}

.page-variant-trust .opening-aside::after {
  right: 50%;
  bottom: -88px;
  transform: translateX(50%);
}

.pain-outcome-grid,
.role-value-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.role-value-grid,
.trust-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.pain-outcome-card,
.role-value-grid article,
.trust-grid article,
.decision-panel,
.buyer-checklist {
  position: relative;
  overflow: hidden;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(11, 16, 32, 0.86));
  box-shadow: var(--shadow-soft);
}

.role-value-grid article,
.trust-grid article {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
}

.pain-outcome-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
}

.case-number,
.trust-mark {
  color: rgba(var(--page-accent), 0.68);
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.case-label,
.role-value-grid article > span {
  margin: 1.4rem 0 0.45rem;
  color: var(--page-accent-solid);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.role-value-grid article > span {
  margin-top: 0;
}

.pain-outcome-card h3 {
  max-width: 420px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
}

.case-outcome {
  display: grid;
  gap: 0.28rem;
  margin: auto 0 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.case-outcome strong { color: var(--green); }
.case-outcome span { color: var(--muted); }
.buyer-scenario { align-items: stretch; }

.decision-panel ol {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0 1.8rem;
  padding: 0;
  list-style: none;
  counter-reset: rollout;
}

.decision-panel li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0 0.7rem;
  counter-increment: rollout;
}

.decision-panel li::before {
  display: grid;
  grid-row: span 2;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #09101b;
  background: var(--gold);
  content: counter(rollout);
  font-weight: 950;
}

.decision-panel li span,
.role-value-grid p,
.trust-grid p { color: var(--muted); }

.role-value-grid article:nth-child(even),
.trust-grid article:nth-child(even) {
  background: linear-gradient(145deg, rgba(var(--page-accent, 243, 204, 99), 0.075), rgba(11, 16, 32, 0.88));
}

.trust-grid article {
  min-height: 270px;
  border-color: rgba(var(--page-accent), 0.2);
}

.trust-mark {
  display: block;
  margin-bottom: 2rem;
  font-size: 2.4rem;
}

.buyer-checklist {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  border-color: rgba(var(--page-accent), 0.24);
}

.buyer-checklist ol {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.35rem;
  color: var(--muted);
}

.contextual-conversion { padding-top: 1.6rem; }

.page-family-guild .page-opening {
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.5fr);
  min-height: 610px;
}

.page-family-guild .page-opening h1 {
  max-width: 920px;
  font-family: var(--font);
  font-weight: 950;
}

.page-family-guild .opening-aside {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-width: 0 0 0 1px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-family-guild .opening-aside::after {
  right: auto;
  bottom: 0;
  left: 1.25rem;
}

.page-family-guild .opening-aside-top {
  margin-bottom: 5rem;
}

.page-family-guild .opening-icon {
  border-radius: 50%;
}

.page-variant-gallery .page-opening {
  min-height: 470px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.page-variant-gallery .opening-aside {
  border: 1px solid rgba(var(--page-accent), 0.22);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  transform: rotate(-1deg);
}

.page-variant-journey .opening-aside { border-left-style: dashed; }
.page-variant-charter .opening-aside { border-left-width: 3px; }

.membership-identity,
.member-expectations {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: clamp(2.2rem, 5vw, 5.5rem);
  align-items: center;
}

.membership-identity-copy > p:not(.eyebrow),
.member-expectations > div > p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.78;
}

.membership-truth {
  margin-top: 2rem;
  padding: 1.15rem 1.3rem;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(243, 204, 99, 0.09), transparent);
}

.membership-truth strong { color: var(--text); }
.membership-truth p { margin: 0.4rem 0 0; color: var(--muted); }

.membership-world-card {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.5rem;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(243, 204, 99, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 22%, rgba(243, 204, 99, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(19, 25, 45, 0.96), rgba(7, 11, 23, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.membership-world-card::after {
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(155, 92, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.membership-world-card > img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 16px 28px rgba(243, 204, 99, 0.18));
}

.membership-world-card > div { position: relative; z-index: 1; }
.membership-world-card h3 { margin: 0.15rem 0 1.2rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.membership-world-card dl { display: grid; gap: 0.65rem; margin: 0 0 1.35rem; }
.membership-world-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.55rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.membership-world-card dt { color: var(--muted); }
.membership-world-card dd { margin: 0; color: var(--text); font-weight: 800; text-align: right; }

.member-benefits-section {
  border-block: 1px solid rgba(243, 204, 99, 0.14);
  background: linear-gradient(180deg, transparent, rgba(17, 23, 43, 0.42), transparent);
}

.member-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.09);
}

.member-benefit {
  position: relative;
  min-height: 280px;
  padding: 1.6rem;
  background: linear-gradient(145deg, rgba(17, 24, 45, 0.98), rgba(8, 13, 27, 0.98));
}

.member-benefit > img { width: 38px; height: 38px; margin-bottom: 2.5rem; }
.member-benefit > span { position: absolute; top: 1.55rem; right: 1.55rem; color: rgba(255, 255, 255, 0.25); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; }
.member-benefit h3 { margin-bottom: 0.7rem; }
.member-benefit p { margin: 0; color: var(--muted); line-height: 1.7; }

.member-standard-card {
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px solid rgba(155, 92, 255, 0.26);
  border-radius: 28px 8px 28px 28px;
  background:
    linear-gradient(145deg, rgba(155, 92, 255, 0.13), transparent 52%),
    rgba(12, 18, 35, 0.86);
}

.member-standard-card h3 { max-width: 480px; font-size: clamp(1.8rem, 3.4vw, 3rem); }
.member-standard-card p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }
.member-journey > div { min-height: 180px; }
.member-conversion { border-color: rgba(243, 204, 99, 0.24); }

@media (max-width: 980px) {
  .membership-identity,
  .member-expectations { grid-template-columns: 1fr; }
  .member-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .membership-world-card { grid-template-columns: 1fr; }
  .membership-world-card > img { width: 120px; }
  .member-benefit-grid { grid-template-columns: 1fr; }
  .member-benefit { min-height: 0; }
}

.page-family-commercial .page-opening {
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  align-items: start;
}

.page-family-commercial .opening-aside {
  margin-top: 1rem;
  border-radius: 28px 28px 28px 6px;
  background:
    linear-gradient(145deg, rgba(243, 204, 99, 0.19), rgba(10, 15, 30, 0.94) 64%);
}

.page-family-editorial .page-opening {
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.4fr);
  min-height: 520px;
}

.page-family-editorial .opening-aside {
  border-width: 1px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-variant-route .opening-aside::before {
  position: absolute;
  top: 50%;
  right: 1rem;
  left: 1rem;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--page-accent-solid), transparent);
}

.page-variant-ledger .update-grid {
  position: relative;
}

.page-family-contact .page-opening {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
  min-height: 580px;
}

.page-family-contact .opening-aside {
  border-radius: 50% 50% 28px 28px / 18% 18% 28px 28px;
}

.page-family-utility .page-opening {
  min-height: 67vh;
  grid-template-columns: minmax(0, 1fr) 260px;
}

.page-family-utility .opening-aside {
  border-style: dashed;
  transform: rotate(3deg);
}

@media (max-width: 900px) {
  .page-opening,
  .page-family-reference .page-opening,
  .page-variant-library .page-opening,
  .page-family-product .page-opening,
  .page-family-guild .page-opening,
  .page-family-commercial .page-opening,
  .page-family-editorial .page-opening,
  .page-family-contact .page-opening,
  .page-family-utility .page-opening {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 2.4rem;
  }

  .opening-aside,
  .page-family-product .opening-aside,
  .page-family-guild .opening-aside,
  .page-family-commercial .opening-aside,
  .page-family-editorial .opening-aside,
  .page-family-contact .opening-aside,
  .page-family-utility .opening-aside {
    min-height: 0;
    align-self: auto;
    transform: none;
    clip-path: none;
  }

  .opening-aside-top,
  .page-family-product .opening-aside-top,
  .page-family-guild .opening-aside-top {
    margin-bottom: 2.6rem;
  }

  .page-family-guild .opening-aside {
    border-width: 1px;
    border-radius: 20px;
    background: rgba(var(--page-accent), 0.045);
  }
}

@media (max-width: 760px) {
  .page-opening,
  .page-family-reference .page-opening {
    padding-top: 3.35rem;
  }

  .page-opening h1,
  .page-family-reference .page-opening h1 {
    font-size: clamp(2.2rem, 11vw, 3.45rem);
  }

  .page-family-product .opening-copy {
    padding-left: 1rem;
  }

  .opening-aside {
    padding: 1rem;
    border-radius: 18px;
  }

  .opening-icon {
    width: 52px;
    height: 52px;
  }

  .opening-icon img {
    width: 38px;
    height: 38px;
  }

  .page-variant-library .docs-search-shell {
    overflow: visible;
  }

  .pain-outcome-grid,
  .role-value-grid,
  .trust-grid,
  .buyer-checklist {
    grid-template-columns: 1fr;
  }

  .pain-outcome-card { min-height: 0; }
  .case-outcome { margin-top: 1.6rem; }
  .role-value-grid article,
  .trust-grid article { transform: none; }
  .page-variant-trust .opening-aside {
    min-height: 0;
    padding: 1.5rem;
    border-radius: 24px;
    clip-path: none;
  }
}

/* Interior page openings: varied layouts without clipped decorative shapes. */
.page-interior .page-opening {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  padding: clamp(4.4rem, 8vw, 7rem) 0 clamp(3.6rem, 6vw, 5.4rem);
}

.page-interior .opening-copy {
  min-width: 0;
  padding-left: 0;
}

.opening-meta-row {
  display: flex;
  width: 100%;
  max-width: 940px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.opening-meta-row .eyebrow {
  margin: 0;
}

.opening-title-row {
  position: relative;
  display: block;
  width: 100%;
  max-width: 940px;
  margin-bottom: 1.55rem;
}

body.page-interior .opening-title-row h1 {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-bottom: 0;
}

.edition-availability {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.edition-availability-badge,
.edition-availability-badge:hover,
.edition-availability-badge:focus,
.edition-availability-badge:visited {
  text-decoration: none;
}

.edition-availability-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 0.38rem;
  padding: 0.38rem 0.6rem 0.38rem 0.46rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.edition-availability-badge img {
  width: 17px;
  height: 17px;
}

.edition-availability-badge:hover {
  transform: translateY(-2px);
}

.edition-availability-universal {
  border-color: rgba(127, 146, 255, 0.44);
  color: #dce3ff;
  background: linear-gradient(145deg, rgba(87, 107, 231, 0.24), rgba(20, 27, 58, 0.92));
}

.edition-availability-universal:hover {
  border-color: rgba(149, 164, 255, 0.8);
  background: linear-gradient(145deg, rgba(100, 119, 245, 0.34), rgba(24, 31, 68, 0.96));
}

.edition-availability-community {
  border-color: rgba(255, 199, 79, 0.42);
  color: #ffe6a3;
  background: linear-gradient(145deg, rgba(199, 145, 35, 0.22), rgba(42, 32, 20, 0.92));
}

.edition-availability-community:hover {
  border-color: rgba(255, 207, 105, 0.8);
  background: linear-gradient(145deg, rgba(222, 161, 38, 0.32), rgba(50, 37, 21, 0.96));
}

.page-layout-centered .opening-title-row {
  margin-inline: auto;
}

.page-layout-centered .opening-meta-row {
  justify-content: center;
  margin-inline: auto;
}

.page-interior .opening-copy::before,
.page-interior .opening-aside::before,
.page-interior .opening-aside::after {
  display: none;
}

.page-interior .opening-aside {
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  clip-path: none;
  transform: none;
}

.page-interior .opening-aside-top {
  margin-bottom: 2.4rem;
}

.page-interior .opening-summary {
  margin-bottom: 1.25rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.page-interior .opening-tags span {
  white-space: normal;
}

.page-layout-minimal .page-opening {
  display: block;
  max-width: 1080px;
  padding-bottom: clamp(3.1rem, 5vw, 4.6rem);
}

.page-layout-minimal .opening-copy {
  max-width: 980px;
}

.page-layout-minimal .page-opening::before {
  top: 6%;
  right: -4%;
  width: min(34vw, 430px);
  opacity: 0.7;
}

.page-layout-band .page-opening {
  display: block;
  max-width: 1100px;
}

.page-layout-band .opening-copy {
  max-width: 1040px;
}

.opening-band {
  display: grid;
  grid-template-columns: auto auto minmax(140px, 1fr) auto;
  align-items: center;
  gap: 0.85rem 1.15rem;
  margin-top: 2.35rem;
  padding: 1.05rem 0;
  border-top: 1px solid rgba(var(--page-accent), 0.34);
  border-bottom: 1px solid rgba(var(--page-accent), 0.16);
}

.opening-band-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.opening-band-icon img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 10px 18px rgba(var(--page-accent), 0.2));
}

.opening-band-code {
  color: var(--page-accent-solid);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.opening-band-label {
  color: var(--muted);
  font-weight: 820;
}

.opening-band-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.42rem;
}

.opening-band-tags span {
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(var(--page-accent), 0.2);
  border-radius: 999px;
  color: rgb(var(--page-accent));
  background: rgba(var(--page-accent), 0.06);
  font-size: 0.7rem;
  font-weight: 850;
}

.page-layout-rail .page-opening {
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.45fr);
  align-items: center;
}

.page-interior.page-layout-rail .opening-aside {
  padding: 0.35rem 0 0.35rem 1.55rem;
  border: 0;
  border-left: 1px solid rgba(var(--page-accent), 0.45);
  background: transparent;
  box-shadow: none;
}

.page-layout-rail .opening-aside-top {
  margin-bottom: 3.4rem;
}

.page-layout-rail .opening-icon {
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--page-accent), 0.14),
    rgba(var(--page-accent), 0.05) 42%,
    transparent 74%
  );
  box-shadow: none;
}

.page-layout-spotlight .page-opening {
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.45fr);
  align-items: center;
}

.page-interior.page-layout-spotlight .opening-aside {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.page-layout-spotlight .opening-aside-top {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.page-layout-spotlight .opening-code {
  order: 2;
  color: var(--page-accent-solid);
}

.page-layout-spotlight .opening-icon {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--page-accent), 0.18),
    rgba(var(--page-accent), 0.06) 42%,
    transparent 74%
  );
  box-shadow: none;
}

.page-layout-spotlight .opening-icon img {
  width: 68px;
  height: 68px;
}

.page-layout-spotlight .opening-label {
  font-size: 1.05rem;
}

.page-layout-spotlight .opening-tags {
  justify-content: center;
}

.page-layout-split .page-opening {
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  align-items: center;
}

.page-interior.page-layout-split .opening-aside {
  padding: 1.45rem;
  overflow: hidden;
  border: 1px solid rgba(var(--page-accent), 0.28);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(var(--page-accent), 0.12), rgba(10, 15, 30, 0.92) 62%),
    rgba(10, 15, 30, 0.9);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.25);
}

.page-layout-split .opening-aside-top {
  margin-bottom: 2.8rem;
}

.page-layout-split.page-variant-terminal .opening-aside {
  border-radius: 10px;
  background:
    linear-gradient(rgba(var(--page-accent), 0.04) 1px, transparent 1px),
    #080d19;
  background-size: 100% 28px;
}

.page-layout-split.page-variant-trust .opening-aside {
  padding: 1.8rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(var(--page-accent), 0.14), rgba(9, 14, 28, 0.95));
}

/* Documentation openings: chapter, centered and editorial brief formats. */
.page-layout-chapter .page-opening {
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1.72fr);
  align-items: start;
  max-width: 1120px;
  gap: clamp(2.4rem, 6vw, 5.6rem);
}

.page-layout-chapter .opening-copy {
  max-width: 890px;
}

.opening-mark {
  min-width: 0;
}

.opening-mark-chapter {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(var(--page-accent), 0.62);
}

.opening-mark-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.opening-mark-icon img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 10px 18px rgba(var(--page-accent), 0.2));
}

.opening-mark-code,
.opening-brief-code {
  color: var(--page-accent-solid);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.opening-mark-label {
  color: var(--text);
  font-weight: 880;
}

.opening-mark-tags,
.opening-brief-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.opening-mark-tags span,
.opening-brief-tags span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 780;
}

.opening-mark-tags span:not(:last-child)::after,
.opening-brief-tags span:not(:last-child)::after {
  margin-left: 0.42rem;
  color: rgba(var(--page-accent), 0.65);
  content: "•";
}

.page-layout-centered .page-opening {
  display: block;
  width: 100%;
  max-width: 1060px;
  margin-inline: auto;
  text-align: center;
}

.page-layout-centered .opening-copy,
.page-layout-centered .page-opening h1,
.page-layout-centered .page-opening .lead {
  margin-inline: auto;
}

.page-layout-centered .opening-copy {
  max-width: 940px;
}

.opening-mark-centered {
  display: grid;
  justify-items: center;
  gap: 0.72rem;
  margin-bottom: 1.85rem;
}

.opening-mark-centered .opening-mark-icon {
  width: 84px;
  height: 84px;
  border-radius: 0;
  background: radial-gradient(circle, rgba(var(--page-accent), 0.17), transparent 70%);
}

.opening-mark-centered .opening-mark-icon img {
  width: 58px;
  height: 58px;
}

.opening-mark-centered .opening-mark-label {
  font-size: 1.05rem;
}

.opening-mark-centered .opening-mark-tags {
  justify-content: center;
}

.page-layout-brief .page-opening {
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  align-items: end;
  max-width: 1120px;
}

.page-layout-brief .opening-copy {
  max-width: 780px;
}

.opening-brief {
  min-width: 0;
  padding: 1.1rem 0 0 1.5rem;
  border-top: 1px solid rgba(var(--page-accent), 0.5);
  border-left: 1px solid rgba(var(--page-accent), 0.2);
}

.opening-brief p {
  margin: 0.8rem 0 1.2rem;
  color: var(--muted);
  line-height: 1.72;
  text-wrap: pretty;
}

/* Content boxes: predictable wrapping and breathing room. */
:is(
  .card,
  .panel,
  .code-card,
  .command-item,
  .contact-card,
  .price-card,
  .showcase-card,
  .stat-card,
  .update-card,
  .panel-directory-card,
  .doc-topic-card,
  .doc-section,
  .doc-callout,
  .conversion-cta,
  .product-preview,
  .pain-outcome-card,
  .decision-panel,
  .buyer-checklist,
  .community-gallery-entry,
  .discord-billing-section,
  .founder-access-card,
  .founder-definition-card,
  .founder-capability-grid article,
  .billing-proof-grid article,
  .flow-strip > div,
  .timeline article,
  .info-table > div,
  .role-value-grid article,
  .trust-grid article
) {
  min-width: 0;
  overflow-wrap: anywhere;
}

:is(
  .card,
  .panel,
  .code-card,
  .command-item,
  .contact-card,
  .price-card,
  .showcase-card,
  .stat-card,
  .update-card,
  .panel-directory-card,
  .doc-topic-card,
  .doc-section,
  .doc-callout,
  .conversion-cta,
  .product-preview,
  .pain-outcome-card,
  .decision-panel,
  .buyer-checklist,
  .community-gallery-entry,
  .discord-billing-section,
  .founder-access-card,
  .founder-definition-card,
  .founder-capability-grid article,
  .billing-proof-grid article,
  .flow-strip > div,
  .timeline article,
  .info-table > div,
  .role-value-grid article,
  .trust-grid article
) > :last-child {
  margin-bottom: 0;
}

:is(
  .card,
  .panel,
  .contact-card,
  .showcase-card,
  .stat-card,
  .update-card,
  .doc-topic-card,
  .doc-section,
  .community-gallery-content
) > .text-link:last-child {
  display: flex;
  width: fit-content;
  margin-top: 0.35rem;
}

:is(.feature-top, .price-head, .spotlight-card, .hero-asset-card, .preview-toolbar) {
  flex-wrap: wrap;
}

:is(.doc-section, .card, .panel, .contact-card, .price-card, .command-item, .update-card) > p + :is(ul, ol, .info-table, .doc-table-wrap, .doc-callout, .callout, .flow-strip, .hero-actions, .button) {
  margin-top: 1.35rem;
}

:is(.doc-section, .card, .panel, .contact-card, .price-card, .command-item, .update-card) > :is(ul, ol, .info-table, .doc-table-wrap, .doc-callout, .callout, .flow-strip) + p {
  margin-top: 1.35rem;
}

:is(.doc-section, .card, .panel, .contact-card, .price-card, .command-item, .update-card) > h3 + p {
  margin-top: 0.75rem;
}

.doc-section > h2 + :is(p, ul, ol, .info-table, .doc-table-wrap, .command-signature) {
  margin-top: 1rem;
}

.doc-section code:not(.command-signature),
.info-table code,
.command-item code {
  white-space: normal;
  overflow-wrap: anywhere;
}

.button,
.badge,
.mini-badge {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.card h2,
.card h3,
.doc-section h2,
.doc-section h3,
.contact-card h2,
.price-card h2,
.update-card h3 {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .page-layout-chapter .page-opening,
  .page-layout-brief .page-opening,
  .page-layout-rail .page-opening,
  .page-layout-spotlight .page-opening,
  .page-layout-split .page-opening {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .opening-mark-chapter {
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem 1rem;
  }

  .opening-mark-chapter .opening-mark-tags {
    grid-column: 1 / -1;
  }

  .opening-brief {
    max-width: 720px;
    padding-left: 0;
    border-left: 0;
  }

  .page-interior.page-layout-rail .opening-aside {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.2rem 1.5rem;
    padding: 1.35rem 0 0;
    border-left: 0;
    border-top: 1px solid rgba(var(--page-accent), 0.38);
  }

  .page-layout-rail .opening-aside-top {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 0.8rem;
    margin: 0;
  }

  .page-layout-spotlight .opening-aside {
    justify-self: start;
    text-align: left;
  }

  .page-layout-spotlight .opening-aside-top,
  .page-layout-spotlight .opening-tags {
    justify-items: start;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .page-interior .page-opening {
    padding-top: 3.35rem;
    padding-bottom: 3rem;
  }

  .page-interior .page-opening::before {
    right: 0;
    left: auto;
    width: min(48vw, 190px);
  }

  .page-interior .page-opening h1 {
    font-size: clamp(2.2rem, 11vw, 3.45rem);
    overflow-wrap: anywhere;
  }

  .opening-title-row {
    margin-bottom: 1.35rem;
  }

  .opening-meta-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .edition-availability {
    width: 100%;
    justify-content: flex-start;
  }

  .edition-availability-badge {
    min-height: 34px;
    font-size: 0.68rem;
  }

  .page-layout-centered .opening-meta-row {
    align-items: center;
  }

  .page-layout-centered .edition-availability {
    justify-content: center;
  }

  .pricing-comparison-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.1rem;
  }

  .pricing-comparison-edition {
    justify-items: start;
  }

  .opening-mark-chapter {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .opening-mark-chapter .opening-mark-label,
  .opening-mark-chapter .opening-mark-tags {
    grid-column: 1 / -1;
  }

  .page-layout-centered .page-opening { text-align: center; }

  .opening-mark-centered { justify-items: center; }

  .opening-mark-centered .opening-mark-tags { justify-content: center; }

  .opening-band {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .opening-band-label,
  .opening-band-tags {
    grid-column: 1 / -1;
  }

  .opening-band-tags {
    justify-content: flex-start;
  }

  .page-interior.page-layout-rail .opening-aside {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .page-interior.page-layout-split .opening-aside {
    padding: 1.15rem;
    border-radius: 18px;
  }

  .page-layout-spotlight .opening-icon {
    width: 88px;
    height: 88px;
    border-radius: 26px;
  }

  .page-layout-spotlight .opening-icon img {
    width: 38px;
    height: 38px;
  }

  .doc-section,
  .card,
  .panel,
  .contact-card,
  .price-card,
  .update-card,
  .command-item {
    padding: 1.15rem;
  }
}

/* Final opening hierarchy intentionally sits after all legacy layout rules. */
.page-interior .page-opening h1 {
  max-width: 820px;
  margin-bottom: 1.15rem;
  font-size: clamp(3.15rem, 7vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.062em;
}

.page-interior .page-opening .lead {
  max-width: 790px;
  color: rgba(235, 240, 255, 0.82);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 720;
  line-height: 1.52;
  letter-spacing: -0.016em;
}

.page-interior.page-family-reference .page-opening .lead {
  max-width: 760px;
  color: rgba(220, 226, 245, 0.82);
}

.page-interior.page-family-guild .page-opening .lead {
  max-width: 740px;
  font-family: var(--font);
  font-weight: 720;
}

.page-interior.page-family-commercial .page-opening .lead {
  color: rgba(255, 244, 205, 0.86);
}

.page-interior.page-family-contact .page-opening .lead {
  color: rgba(218, 238, 255, 0.88);
}

/* Content rhythm: preserve every block while avoiding a wall of identical cards. */
.doc-article > .doc-section {
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.doc-article > .doc-section-open {
  border-color: rgba(var(--page-accent), 0.16);
  border-left: 3px solid rgba(var(--page-accent), 0.62);
  border-radius: 8px var(--radius) var(--radius) 8px;
  background:
    linear-gradient(90deg, rgba(var(--page-accent), 0.075), transparent 22rem),
    rgba(11, 16, 30, 0.54);
  box-shadow: 0 9px 28px rgba(0, 0, 0, 0.13);
}

.doc-article > .doc-section-panel {
  background:
    radial-gradient(circle at 100% 0, rgba(var(--page-accent), 0.065), transparent 16rem),
    rgba(14, 19, 35, 0.66);
}

.page-variant-directory .panel-directory {
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.page-variant-directory .panel-directory-card {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(170px, 0.8fr) minmax(0, 1.55fr);
  align-items: center;
  gap: 0.75rem 1.1rem;
  min-height: 108px;
  border-color: rgba(var(--page-accent), 0.14);
  border-radius: 14px;
  background:
    linear-gradient(100deg, rgba(var(--page-accent), 0.065), transparent 36%),
    rgba(12, 17, 31, 0.62);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
}

.page-variant-directory .panel-directory-card:is(:hover, :focus-visible) {
  border-color: rgba(var(--page-accent), 0.38);
  background:
    linear-gradient(100deg, rgba(var(--page-accent), 0.12), transparent 42%),
    rgba(16, 22, 40, 0.76);
  transform: translateX(3px);
}

.page-variant-directory .panel-directory-card h3,
.page-variant-directory .panel-directory-card code,
.page-variant-directory .panel-directory-card p {
  margin: 0;
}

.page-family-product .outcome-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  counter-reset: product-outcome;
}

.page-family-product .outcome-list > .card {
  min-height: 176px;
  padding: 1.45rem 1.4rem 1.35rem;
  border-color: rgba(var(--page-accent), 0.15);
  background:
    linear-gradient(150deg, rgba(var(--page-accent), 0.065), transparent 58%),
    rgba(13, 18, 34, 0.72);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.13);
  counter-increment: product-outcome;
}

.page-family-product .outcome-list > .card:nth-child(3n + 2) {
  border-radius: 28px 10px 28px 10px;
  background:
    linear-gradient(330deg, rgba(var(--page-accent), 0.075), transparent 56%),
    rgba(11, 16, 30, 0.68);
}

.page-family-product .outcome-list > .card::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(var(--page-accent), 0.48);
  content: counter(product-outcome, decimal-leading-zero);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.page-family-product .outcome-list > .card h3 {
  max-width: calc(100% - 2.5rem);
}

.product-proof {
  isolation: isolate;
  border-color: rgba(var(--page-accent, 139, 92, 246), 0.24);
  background:
    radial-gradient(circle at 90% 0, rgba(var(--page-accent, 139, 92, 246), 0.12), transparent 17rem),
    linear-gradient(160deg, rgba(18, 25, 46, 0.96), rgba(7, 11, 23, 0.96));
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.26), inset 0 1px rgba(255, 255, 255, 0.055);
}

.product-proof::after {
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(var(--page-accent, 139, 92, 246), 0.15);
  border-radius: 50%;
  content: "";
}

.product-proof .preview-toolbar {
  min-height: 58px;
  padding: 0.75rem 1rem;
  background: rgba(4, 7, 16, 0.58);
}

.preview-proof-label {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0.28rem 0.48rem;
  border: 1px solid rgba(var(--page-accent, 139, 92, 246), 0.24);
  border-radius: 8px;
  color: rgba(231, 236, 253, 0.76);
  background: rgba(var(--page-accent, 139, 92, 246), 0.08);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-proof .preview-body {
  gap: 0.68rem;
  padding: 1.1rem;
}

.product-proof .preview-row {
  min-height: 52px;
  border-color: rgba(255, 255, 255, 0.075);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.product-proof .preview-row:hover {
  border-color: rgba(var(--page-accent, 139, 92, 246), 0.24);
  background: linear-gradient(100deg, rgba(var(--page-accent, 139, 92, 246), 0.075), rgba(255, 255, 255, 0.025));
}

.page-home .home-feature-grid .feature-card:nth-child(even) {
  background:
    radial-gradient(circle at 100% 0, rgba(86, 199, 245, 0.055), transparent 14rem),
    linear-gradient(160deg, rgba(20, 27, 49, 0.86), rgba(11, 16, 30, 0.78));
}

.page-home .home-feature-grid .feature-card:nth-child(3n) {
  border-radius: 28px 12px 28px 12px;
}

.page-home .path-grid .path-card:nth-child(even) {
  background: linear-gradient(145deg, rgba(18, 25, 46, 0.74), rgba(9, 14, 27, 0.72));
}

.page-interior.page-layout-guild-cover .page-opening,
.page-interior.page-layout-feature-map .page-opening,
.page-interior.page-layout-pricing-tiers .page-opening,
.page-interior.page-layout-contact-paths .page-opening {
  min-height: 610px;
}

@media (max-width: 900px) {
  .page-interior.page-layout-guild-cover .page-opening,
  .page-interior.page-layout-feature-map .page-opening,
  .page-interior.page-layout-pricing-tiers .page-opening,
  .page-interior.page-layout-contact-paths .page-opening {
    min-height: 0;
  }

  .page-family-product .outcome-list {
    gap: 0.7rem;
  }
}

@media (max-width: 760px) {
  .page-interior .page-opening h1 {
    font-size: clamp(2.65rem, 14vw, 4.25rem);
  }

  .page-interior .page-opening .lead {
    font-size: clamp(1.08rem, 5vw, 1.3rem);
  }

  .page-family-product .outcome-list {
    grid-template-columns: 1fr;
  }

  .page-family-product .outcome-list > .card {
    min-height: 0;
  }

  .page-variant-directory .panel-directory-card {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    min-height: 0;
  }

  .page-variant-directory .panel-directory-card code {
    width: fit-content;
  }

  .doc-article > .doc-section-open {
    border-left-width: 2px;
  }

  .product-proof .preview-toolbar {
    align-items: flex-start;
  }

  .preview-proof-label {
    width: fit-content;
  }
}

/* Home cover: a centered first impression built specifically for Lumina. */
.page-home .home-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  min-height: calc(100svh - 82px);
  max-width: none;
  align-content: center;
  justify-items: center;
  padding: clamp(5rem, 9vw, 8.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.page-home .home-hero::before {
  position: absolute;
  z-index: -3;
  top: 4%;
  left: 50%;
  width: min(88vw, 1040px);
  height: min(68vw, 720px);
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle at 50% 40%, rgba(139, 92, 246, 0.18), transparent 36%),
    radial-gradient(circle at 50% 54%, rgba(243, 204, 99, 0.105), transparent 58%);
  filter: blur(8px);
  transform: translateX(-50%);
}

.page-home .home-hero::after {
  background: linear-gradient(90deg, transparent, rgba(243, 204, 99, 0.55), rgba(139, 92, 246, 0.42), transparent);
}

.home-hero-art {
  position: absolute;
  z-index: -2;
  top: clamp(3.5rem, 6vw, 5.5rem);
  left: 0;
  width: 100%;
  min-width: 0;
  height: min(82svh, 820px);
  min-height: 680px;
  max-width: none;
  object-fit: cover;
  object-position: 50% 58%;
  opacity: 0.58;
  filter: saturate(0.96) contrast(1.04) drop-shadow(0 38px 90px rgba(0, 0, 0, 0.38));
  transform: scale(1.055);
  transform-origin: 50% 42%;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: radial-gradient(ellipse 58% 60% at 50% 50%, #000 0%, #000 38%, rgba(0, 0, 0, 0.88) 52%, rgba(0, 0, 0, 0.42) 68%, transparent 84%);
  mask-image: radial-gradient(ellipse 58% 60% at 50% 50%, #000 0%, #000 38%, rgba(0, 0, 0, 0.88) 52%, rgba(0, 0, 0, 0.42) 68%, transparent 84%);
}

.home-hero-copy {
  z-index: 1;
  width: 100%;
}

.page-home .home-hero .eyebrow {
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 0.77rem;
  letter-spacing: 0.22em;
}

.page-home .home-hero h1 {
  max-width: 1160px;
  margin: 0 auto;
  font-size: clamp(4rem, 9vw, 8.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-home .home-hero h1 span {
  color: transparent;
  background: linear-gradient(105deg, #fff2b8 12%, var(--gold) 54%, #c7a7ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.page-home .home-hero h1 .home-title-diamond-dot {
  color: #e83e4d;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: #e83e4d;
  text-shadow: 0 0 0.24em rgba(232, 62, 77, 0.28);
}

.page-home .home-hero .hero-text {
  max-width: 650px;
  margin: 1.65rem auto 0;
  color: rgba(235, 240, 255, 0.78);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 680;
  line-height: 1.55;
  letter-spacing: -0.018em;
}

.home-cta-groups {
  display: grid;
  gap: 1rem;
  width: 100%;
  margin: 2.5rem auto 0;
}

.home-cta-row {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  margin: 0 auto;
}

.home-guild-cta-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 760px);
}

.home-bot-cta-row {
  grid-template-columns: 1.12fr 1fr 1fr;
  width: 100%;
}

.home-bot-cta-group {
  position: relative;
  width: min(100%, 1080px);
  margin: 1rem auto 0;
  padding: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(171, 151, 255, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 5% 5%, rgba(240, 103, 126, 0.11), transparent 27rem),
    radial-gradient(circle at 50% -24%, rgba(160, 116, 255, 0.09), transparent 21rem),
    radial-gradient(circle at 96% 92%, rgba(73, 210, 196, 0.08), transparent 24rem),
    linear-gradient(145deg, rgba(17, 24, 45, 0.96), rgba(8, 13, 27, 0.98));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.055),
    inset 0 0 42px rgba(112, 89, 205, 0.035);
}

.home-bot-cta-group::before {
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(240, 103, 126, 0.38), rgba(160, 116, 255, 0.56), rgba(73, 210, 196, 0.3), transparent);
}

.home-bot-label {
  position: relative;
  margin: 0 0 0.9rem;
  color: rgba(225, 231, 248, 0.64);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-bot-label span {
  color: #f4d475;
  text-shadow: 0 0 18px rgba(243, 204, 99, 0.16);
}

.home-cta {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 0.85rem;
  min-width: 0;
  min-height: 88px;
  align-items: center;
  padding: 0.9rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(25, 32, 56, 0.96), rgba(11, 16, 31, 0.94));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  text-align: left;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.home-cta::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
}

.home-cta:hover {
  border-color: rgba(243, 204, 99, 0.42);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.26);
  transform: translateY(-5px);
}

.home-cta-guild-primary {
  border-color: rgba(243, 204, 99, 0.72);
  background:
    radial-gradient(circle at 9% 16%, rgba(255, 210, 91, 0.22), transparent 36%),
    radial-gradient(circle at 96% 88%, rgba(232, 62, 77, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(91, 68, 24, 0.58), rgba(13, 18, 34, 0.97));
  box-shadow:
    0 0 0 1px rgba(255, 220, 116, 0.12),
    0 22px 58px rgba(118, 87, 19, 0.25),
    0 0 34px rgba(232, 62, 77, 0.08);
}

.home-cta-guild-primary::before,
.home-bot-cta-group .home-cta.home-cta-bot-primary::before {
  inset: 0;
  width: auto;
  height: auto;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.home-cta-guild-primary::before {
  background: linear-gradient(115deg, #ffd86c 0%, #ff9d5c 28%, #ef4d67 56%, #b079ff 78%, #61dcc6 100%);
  filter: drop-shadow(0 0 9px rgba(243, 204, 99, 0.24));
}

.home-cta-guild-primary:hover {
  border-color: rgba(255, 221, 121, 0.92);
  background:
    radial-gradient(circle at 9% 16%, rgba(255, 210, 91, 0.3), transparent 39%),
    radial-gradient(circle at 96% 88%, rgba(232, 62, 77, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(103, 76, 25, 0.66), rgba(15, 20, 37, 0.99));
  box-shadow:
    0 0 0 1px rgba(255, 220, 116, 0.2),
    0 26px 66px rgba(118, 87, 19, 0.3),
    0 0 42px rgba(232, 62, 77, 0.12);
}

.home-cta-guild-secondary {
  border-color: rgba(94, 225, 157, 0.3);
  background: linear-gradient(145deg, rgba(29, 95, 70, 0.28), rgba(11, 17, 32, 0.96));
}

.home-cta-bot-primary {
  --bot-cta-accent: 240, 103, 126;
}

.home-cta-bot-secondary {
  --bot-cta-accent: 160, 116, 255;
}

.home-cta-docs {
  --bot-cta-accent: 73, 210, 196;
}

.home-bot-cta-group .home-cta {
  border-color: rgba(var(--bot-cta-accent), 0.3);
  background:
    radial-gradient(circle at 8% 15%, rgba(var(--bot-cta-accent), 0.13), transparent 38%),
    linear-gradient(145deg, rgba(24, 31, 55, 0.94), rgba(10, 16, 31, 0.98));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.04);
}

.home-bot-cta-group .home-cta-bot-primary {
  border-color: rgba(197, 132, 255, 0.74);
  background:
    radial-gradient(circle at 8% 14%, rgba(240, 103, 126, 0.22), transparent 38%),
    radial-gradient(circle at 95% 90%, rgba(73, 210, 196, 0.13), transparent 40%),
    linear-gradient(145deg, rgba(55, 35, 91, 0.74), rgba(11, 16, 33, 0.99));
  box-shadow:
    0 0 0 1px rgba(183, 126, 255, 0.14),
    0 22px 60px rgba(109, 66, 222, 0.28),
    0 0 38px rgba(240, 103, 126, 0.1);
}

.home-bot-cta-group .home-cta.home-cta-bot-primary::before {
  background: linear-gradient(115deg, #ff6f8d 0%, #ffb35f 25%, #bf7dff 54%, #6b9cff 76%, #49d2c4 100%);
  filter: drop-shadow(0 0 10px rgba(176, 112, 255, 0.28));
}

.home-bot-cta-group .home-cta.home-cta-bot-primary:hover {
  border-color: rgba(213, 163, 255, 0.94);
  background:
    radial-gradient(circle at 8% 14%, rgba(240, 103, 126, 0.29), transparent 41%),
    radial-gradient(circle at 95% 90%, rgba(73, 210, 196, 0.19), transparent 43%),
    linear-gradient(145deg, rgba(66, 42, 108, 0.82), rgba(12, 18, 36, 1));
  box-shadow:
    0 0 0 1px rgba(195, 143, 255, 0.22),
    0 28px 70px rgba(109, 66, 222, 0.34),
    0 0 48px rgba(240, 103, 126, 0.15);
}

.home-bot-cta-group .home-cta::before {
  background: linear-gradient(90deg, transparent, rgba(var(--bot-cta-accent), 0.45), transparent);
}

.home-bot-cta-group .home-cta::after {
  position: absolute;
  right: 18%;
  bottom: 0;
  left: 18%;
  height: 1px;
  content: "";
  opacity: 0.68;
  background: linear-gradient(90deg, transparent, rgba(var(--bot-cta-accent), 0.78), transparent);
}

.home-bot-cta-group .home-cta:hover {
  border-color: rgba(var(--bot-cta-accent), 0.58);
  background:
    radial-gradient(circle at 10% 18%, rgba(var(--bot-cta-accent), 0.2), transparent 42%),
    linear-gradient(145deg, rgba(27, 35, 62, 0.97), rgba(11, 17, 33, 0.99));
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.3),
    0 0 28px rgba(var(--bot-cta-accent), 0.08),
    inset 0 1px rgba(255, 255, 255, 0.06);
}

.home-bot-cta-group .home-cta-icon {
  border-color: rgba(var(--bot-cta-accent), 0.24);
  background:
    radial-gradient(circle at 35% 25%, rgba(var(--bot-cta-accent), 0.17), transparent 64%),
    rgba(255, 255, 255, 0.035);
}

.home-bot-cta-group .home-cta:hover .home-cta-icon {
  border-color: rgba(var(--bot-cta-accent), 0.48);
  background:
    radial-gradient(circle at 35% 25%, rgba(var(--bot-cta-accent), 0.24), transparent 66%),
    rgba(255, 255, 255, 0.055);
}

.home-bot-cta-group .home-cta-arrow {
  color: rgba(var(--bot-cta-accent), 0.82);
}

.home-cta-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.1), transparent 62%),
    rgba(255, 255, 255, 0.055);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.home-cta-icon img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.28));
}

.home-cta:hover .home-cta-icon {
  border-color: rgba(243, 204, 99, 0.32);
  background:
    radial-gradient(circle at 35% 25%, rgba(243, 204, 99, 0.14), transparent 66%),
    rgba(255, 255, 255, 0.075);
  transform: scale(1.06) rotate(-2deg);
}

.home-cta-copy {
  display: grid;
  gap: 0.2rem;
}

.home-cta-copy strong {
  font-size: 1rem;
}

.home-cta-copy small {
  color: rgba(225, 231, 248, 0.66);
  font-size: 0.76rem;
  font-weight: 720;
}

.home-cta-guild-primary .home-cta-copy small,
.home-cta-bot-primary .home-cta-copy small {
  color: rgba(255, 255, 255, 0.78);
}

.home-cta-guild-primary .home-cta-copy strong,
.home-cta-bot-primary .home-cta-copy strong {
  display: inline-block;
  width: fit-content;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.home-cta-guild-primary .home-cta-copy strong {
  background-image: linear-gradient(96deg, #fff9e8 0%, #ffe69a 28%, #fff5ed 52%, #ffc6ca 76%, #f3e8ff 100%);
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 8px rgba(255, 216, 108, 0.18));
}

.home-cta-bot-primary .home-cta-copy strong {
  background-image: linear-gradient(96deg, #fff5fb 0%, #ffc9db 26%, #f7ecff 51%, #c7e1ff 76%, #c8fff4 100%);
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 8px rgba(191, 125, 255, 0.2));
}

.home-cta-arrow {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  font-weight: 900;
  transition: transform 180ms ease;
}

.home-cta:hover .home-cta-arrow {
  transform: translate(2px, -2px);
}

.home-pillar-grid {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.home-pillar {
  position: relative;
  min-width: 0;
  min-height: 174px;
  padding: 1.25rem 1.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.085);
  background: linear-gradient(160deg, rgba(20, 27, 49, 0.96), rgba(9, 14, 28, 0.94));
  transition: background 180ms ease, transform 180ms ease;
}

.home-pillar:first-child {
  border-left: 0;
}

.home-pillar:hover {
  z-index: 1;
  background: linear-gradient(160deg, rgba(34, 40, 67, 0.98), rgba(13, 18, 34, 0.96));
  transform: translateY(-3px);
}

.home-pillar::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.72), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.home-pillar:hover::after {
  opacity: 1;
}

.home-pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.home-pillar-icon {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-pillar-icon::before {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), rgba(86, 199, 245, 0.07) 54%, transparent 76%);
  content: "";
  filter: blur(9px);
}

.home-pillar-icon img {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 9px 14px rgba(0, 0, 0, 0.28));
}

.home-pillar-number {
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.69rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.home-pillar > strong {
  display: block;
  font-size: 1.08rem;
}

.home-pillar p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.home-feature-grid {
  align-items: stretch;
}

.home-feature-grid .feature-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.home-feature-grid .feature-card > p:last-child {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 1.35rem;
}

/* Editorial media fades into its container instead of ending on a hard image edge. */
.edge-fade-media {
  --media-fade-color: rgba(10, 15, 30, 0.98);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.edge-fade-media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(ellipse 74% 76% at 50% 48%, transparent 42%, rgba(10, 15, 30, 0.2) 66%, var(--media-fade-color) 100%);
}

.edge-fade-media > img {
  -webkit-mask-image: radial-gradient(ellipse 76% 76% at 50% 48%, #000 45%, rgba(0, 0, 0, 0.9) 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 76% at 50% 48%, #000 45%, rgba(0, 0, 0, 0.9) 62%, transparent 100%);
}

.page-home .home-story-card {
  position: relative;
  display: grid;
  min-height: 460px;
  grid-template-columns: minmax(390px, 0.94fr) minmax(0, 1.06fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  isolation: isolate;
  border-color: rgba(139, 92, 246, 0.3);
  background:
    radial-gradient(circle at 8% 30%, rgba(86, 199, 245, 0.11), transparent 25rem),
    radial-gradient(circle at 88% 18%, rgba(139, 92, 246, 0.18), transparent 28rem),
    linear-gradient(135deg, rgba(13, 20, 39, 0.98), rgba(12, 16, 31, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.045);
}

.page-home .home-story-card::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 10%;
  left: 10%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(243, 204, 99, 0.48), rgba(139, 92, 246, 0.55), transparent);
}

.page-home .home-story-card > div {
  width: 100%;
  max-width: none;
}

.home-story-visual {
  --media-fade-color: rgba(11, 17, 33, 0);
  display: grid;
  min-width: 0;
  min-height: 460px;
  place-items: center;
  background:
    radial-gradient(ellipse 72% 62% at 48% 48%, rgba(139, 92, 246, 0.25), transparent 66%),
    radial-gradient(circle at 24% 72%, rgba(86, 199, 245, 0.13), transparent 36%);
}

.home-story-visual::before {
  position: absolute;
  z-index: 0;
  width: min(78%, 430px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(139, 92, 246, 0.13);
  border-radius: 50%;
  opacity: 0.82;
  background-image:
    radial-gradient(circle at center, transparent 52%, rgba(86, 199, 245, 0.06) 52.5%, transparent 53.5%),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  box-shadow: inset 0 0 70px rgba(139, 92, 246, 0.08), 0 0 90px rgba(86, 199, 245, 0.04);
  transform: rotate(-7deg);
}

.home-story-visual::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 17, 33, 0.92) 0%, rgba(11, 17, 33, 0.34) 9%, transparent 19%, transparent 67%, rgba(12, 16, 31, 0.96) 100%),
    linear-gradient(0deg, rgba(11, 17, 33, 0.88) 0%, transparent 28%, transparent 76%, rgba(11, 17, 33, 0.5) 100%);
}

.page-home .home-story-visual > img {
  z-index: 1;
  width: min(132%, 760px);
  height: auto;
  max-width: none;
  max-height: none;
  opacity: 0.96;
  filter: saturate(1.16) contrast(1.05) drop-shadow(0 22px 42px rgba(0, 0, 0, 0.32));
  transform: translateX(-2%) scale(1.03);
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 48% 48%, #000 38%, rgba(0, 0, 0, 0.9) 66%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 72% at 48% 48%, #000 38%, rgba(0, 0, 0, 0.9) 66%, transparent 100%);
}

.home-story-signals {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 1.6rem;
  left: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.home-story-signals span {
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(240, 243, 255, 0.78);
  background: rgba(10, 15, 30, 0.68);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.home-story-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  max-width: none;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.2rem, 4.7vw, 4.7rem) clamp(2rem, 5vw, 5rem) clamp(2.2rem, 4.7vw, 4.7rem) clamp(1.4rem, 3.8vw, 4rem);
  background: linear-gradient(90deg, rgba(12, 16, 31, 0.15), rgba(12, 16, 31, 0.45) 22%, transparent 74%);
}

.home-story-copy::before {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: -150px;
  width: 190px;
  pointer-events: none;
  content: "";
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(12, 16, 31, 0.24) 30%,
    rgba(12, 16, 31, 0.72) 70%,
    rgba(12, 16, 31, 0.96) 100%
  );
}

.home-story-copy > * {
  position: relative;
  z-index: 1;
}

.home-story-copy .eyebrow {
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.38rem 0.6rem;
  border: 1px solid rgba(243, 204, 99, 0.2);
  border-radius: 999px;
  background: rgba(243, 204, 99, 0.055);
}

.home-story-copy h2 {
  max-width: 700px;
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.home-story-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.78;
}

.home-story-copy .text-link {
  margin-top: 1.5rem;
}

.home-final-cta {
  border-color: rgba(163, 125, 255, 0.52);
  background:
    radial-gradient(circle at 88% 18%, rgba(139, 92, 246, 0.34), transparent 20rem),
    radial-gradient(circle at 8% 92%, rgba(86, 199, 245, 0.09), transparent 18rem),
    linear-gradient(135deg, rgba(29, 36, 66, 0.98), rgba(14, 18, 38, 0.98));
}

.home-final-cta .hero-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.home-final-cta .button {
  min-height: 52px;
  padding-inline: 1.15rem;
}

.home-final-cta .button.primary {
  border-color: rgba(215, 196, 255, 0.26);
  background: linear-gradient(135deg, #9468f7, #7045df);
  box-shadow: 0 16px 40px rgba(109, 66, 222, 0.4);
}

.home-final-cta .button.secondary {
  border-color: rgba(243, 204, 99, 0.42);
  color: #fff0ba;
  background: linear-gradient(135deg, rgba(123, 88, 19, 0.34), rgba(38, 31, 28, 0.9));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.home-final-cta .button .button-action-icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  opacity: 1;
  filter: brightness(1.18) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.42));
}

@media (max-width: 900px) {
  .page-home .home-hero {
    min-height: 0;
  }

  .home-final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .home-final-cta .hero-actions {
    justify-content: flex-start;
  }

  .page-home .home-hero h1 {
    font-size: clamp(4rem, 12vw, 6.6rem);
  }

  .home-bot-cta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-cta-bot-primary {
    grid-column: 1 / -1;
  }

  .home-pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-pillar:nth-child(3) {
    border-left: 0;
  }

  .home-pillar:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.085);
  }

  .page-home .home-story-card {
    grid-template-columns: 1fr;
  }

  .home-story-visual {
    min-height: 350px;
  }

  .page-home .home-story-visual > img {
    width: min(118%, 760px);
    transform: translateY(2%) scale(1.02);
  }

  .home-story-visual::after {
    background:
      linear-gradient(0deg, rgba(12, 16, 31, 0.98) 0%, rgba(12, 16, 31, 0.45) 22%, transparent 50%, rgba(11, 17, 33, 0.38) 100%),
      linear-gradient(90deg, rgba(11, 17, 33, 0.9), transparent 14%, transparent 86%, rgba(11, 17, 33, 0.9));
  }

  .home-story-copy {
    margin-top: -1.25rem;
    padding-top: 2.2rem;
    background: linear-gradient(180deg, rgba(12, 16, 31, 0.72), transparent 35%);
  }

  .home-story-copy::before {
    top: -110px;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 130px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(12, 16, 31, 0.2) 28%,
      rgba(12, 16, 31, 0.76) 76%,
      rgba(12, 16, 31, 0.98) 100%
    );
  }
}

@media (max-width: 560px) {
  .page-home .home-hero {
    gap: 2.8rem;
    padding-top: 4.5rem;
  }

  .home-hero-art {
    top: 3.9rem;
    width: 100%;
    min-width: 0;
    height: 610px;
    min-height: 610px;
    object-position: 50% 57%;
    opacity: 0.5;
    transform: scale(1.06);
    -webkit-mask-image: radial-gradient(ellipse 60% 58% at 50% 49%, #000 0%, #000 36%, rgba(0, 0, 0, 0.86) 50%, rgba(0, 0, 0, 0.36) 67%, transparent 83%);
    mask-image: radial-gradient(ellipse 60% 58% at 50% 49%, #000 0%, #000 36%, rgba(0, 0, 0, 0.86) 50%, rgba(0, 0, 0, 0.36) 67%, transparent 83%);
  }

  .page-home .home-hero h1 {
    font-size: clamp(3.25rem, 16vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.012em;
  }

  .page-home .home-hero .hero-text {
    max-width: 330px;
    margin-top: 1.25rem;
    font-size: 1.08rem;
  }

  .home-guild-cta-row,
  .home-bot-cta-row,
  .home-pillar-grid {
    grid-template-columns: 1fr;
  }

  .home-cta-groups {
    gap: 1.15rem;
  }

  .home-bot-cta-group {
    margin-top: 1.2rem;
    padding: 0.85rem;
    border-radius: 24px;
  }

  .home-bot-label {
    margin-bottom: 0.8rem;
    padding-inline: 0.15rem;
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .home-cta-bot-primary {
    grid-column: auto;
  }

  .home-cta {
    min-height: 80px;
  }

  .home-pillar {
    min-height: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.085);
    border-left: 0;
  }

  .home-pillar:first-child {
    border-top: 0;
  }

  .home-story-visual {
    min-height: 270px;
  }

  .page-home .home-story-visual > img {
    width: 154%;
    transform: translateY(1%) scale(1.01);
    -webkit-mask-image: radial-gradient(ellipse 70% 72% at 50% 48%, #000 34%, rgba(0, 0, 0, 0.84) 64%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 72% at 50% 48%, #000 34%, rgba(0, 0, 0, 0.84) 64%, transparent 100%);
  }

  .home-story-visual::before {
    width: 92%;
  }

  .home-story-signals {
    right: 0.8rem;
    bottom: 0.75rem;
    left: 0.8rem;
    gap: 0.35rem;
  }

  .home-story-signals span {
    padding: 0.3rem 0.48rem;
    font-size: 0.58rem;
  }

  .home-story-copy {
    padding: 1.6rem 1.25rem 1.85rem;
  }

  .home-story-copy h2 {
    font-size: clamp(1.75rem, 9.5vw, 2.45rem);
  }
}

/* Guild gallery and roleplay */
.page-layout-gallery-wall .page-opening,
.page-layout-roleplay-cover .page-opening {
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.74fr);
  align-items: center;
  overflow: visible;
}

.page-layout-gallery-wall .page-opening::after,
.page-layout-roleplay-cover .page-opening::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto -12% -45% 34%;
  height: 70%;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(140, 88, 255, 0.14), transparent 68%);
}

.opening-gallery-wall,
.opening-roleplay-cover {
  position: relative;
  z-index: 1;
  min-width: 0;
  align-self: stretch;
  display: grid;
  place-items: center;
}

.opening-gallery-art,
.opening-roleplay-art {
  position: relative;
  width: min(100%, 520px);
}

.opening-gallery-art::after,
.opening-roleplay-art::after {
  content: '';
  position: absolute;
  inset: 16% 12%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.24);
  filter: blur(42px);
}

.opening-gallery-art img,
.opening-roleplay-art img {
  display: block;
  width: 100%;
  height: auto;
}

.opening-gallery-key,
.opening-roleplay-cover > p {
  position: absolute;
  right: 0;
  bottom: clamp(1rem, 3vw, 2.2rem);
  left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
}

.opening-gallery-key span,
.opening-roleplay-cover > p span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.36rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #d9dff0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(7, 11, 26, 0.74);
  backdrop-filter: blur(12px);
}

.opening-gallery-key i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f4c84f;
  box-shadow: 0 0 12px rgba(244, 200, 79, 0.72);
}

.opening-gallery-key span:nth-child(2) i { background: #56c7f5; }
.opening-gallery-key span:nth-child(3) i { background: #a77cff; }

.gallery-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.gallery-intro-copy {
  max-width: 760px;
}

.gallery-intro-copy h2,
.gallery-section-heading h2,
.gallery-archive-header h2,
.roleplay-heading h2,
.roleplay-manifesto h2,
.roleplay-standards h2,
.roleplay-chronicles h2,
.roleplay-final-cta h2 {
  text-wrap: balance;
}

.gallery-intro-copy > p:not(.eyebrow),
.gallery-section-heading > p,
.roleplay-heading > p {
  color: var(--muted);
  line-height: 1.75;
}

.gallery-publish-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid rgba(86, 199, 245, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 10%, rgba(86, 199, 245, 0.11), transparent 44%),
    linear-gradient(145deg, rgba(21, 29, 54, 0.92), rgba(10, 16, 34, 0.95));
  box-shadow: 0 24px 70px rgba(2, 5, 17, 0.28);
}

.gallery-publish-card h3,
.gallery-publish-card p {
  margin-top: 0;
}

.gallery-publish-card > div > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.gallery-publish-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
}

.gallery-publish-icon img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 10px 18px rgba(86, 199, 245, 0.22));
}

.gallery-category-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1rem 0 clamp(4rem, 9vw, 8rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-category-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  padding: 1rem clamp(0.75rem, 2vw, 1.4rem);
  color: #dfe5f6;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 180ms ease, background 180ms ease;
}

.gallery-category-nav a:first-child { border-left: 0; }
.gallery-category-nav a:hover { color: #fff; background: rgba(139, 92, 246, 0.08); }
.gallery-category-nav span { color: #f3cc63; font-size: 0.64rem; letter-spacing: 0.12em; }

.gallery-section-heading,
.roleplay-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
}

.gallery-section-heading h2,
.roleplay-heading h2 {
  margin-bottom: 0;
}

.gallery-section-heading > p,
.roleplay-heading > p {
  max-width: 480px;
  margin: 0 0 0 auto;
}

.gallery-featured-stage {
  min-height: 380px;
}

.gallery-featured-placeholder,
.gallery-featured-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(167, 124, 255, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 83% 18%, rgba(139, 92, 246, 0.18), transparent 34%),
    linear-gradient(140deg, rgba(18, 24, 49, 0.98), rgba(8, 13, 29, 0.98));
  box-shadow: 0 30px 90px rgba(2, 5, 17, 0.35);
}

.gallery-placeholder-art,
.gallery-featured-media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 360px;
  padding: clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 46% 50%, rgba(126, 84, 227, 0.18), transparent 42%),
    linear-gradient(90deg, rgba(4, 8, 21, 0.2), rgba(10, 15, 33, 0.5));
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.78) 86%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.78) 86%, transparent 100%);
}

.gallery-placeholder-art::after,
.gallery-featured-media::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  right: -92px;
  bottom: 0;
  width: 170px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(9, 14, 30, 0.2) 30%,
    rgba(9, 14, 30, 0.76) 72%,
    rgba(9, 14, 30, 0.98) 100%
  );
}

.gallery-placeholder-art img {
  width: min(100%, 560px);
  height: auto;
  filter: drop-shadow(0 22px 48px rgba(3, 5, 17, 0.34));
}

.gallery-placeholder-copy,
.gallery-featured-content {
  position: relative;
  z-index: 3;
  align-self: center;
  min-width: 0;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.gallery-placeholder-copy h3,
.gallery-featured-content h3 {
  margin: 0.55rem 0 1.15rem;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.gallery-placeholder-copy > p:not(.eyebrow),
.gallery-featured-content > p:not(.community-gallery-credit) {
  color: var(--muted);
  line-height: 1.75;
}

.gallery-featured-media {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.gallery-featured-media.media-1 { grid-template-columns: 1fr; }

.gallery-featured-media img,
.gallery-featured-media video {
  width: 100%;
  height: 100%;
  min-height: 210px;
  max-height: 470px;
  object-fit: cover;
  border-radius: 18px;
}

.gallery-entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.gallery-category-badge {
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(243, 204, 99, 0.24);
  border-radius: 999px;
  color: #ffe28c;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(243, 204, 99, 0.07);
}

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

.gallery-collection-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  min-width: 0;
  min-height: 220px;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20, 27, 52, 0.92), rgba(9, 14, 31, 0.95));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gallery-collection-card::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--collection-glow, rgba(139, 92, 246, 0.2)), transparent 68%);
}

.gallery-collection-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 70px rgba(2, 5, 17, 0.32);
}

.gallery-collection-card:nth-child(1),
.gallery-collection-card:nth-child(2) { grid-column: span 6; }
.gallery-collection-card:nth-child(n + 3) { grid-column: span 4; }
.gallery-collection-adventures { --collection-glow: rgba(243, 204, 99, 0.24); }
.gallery-collection-community { --collection-glow: rgba(86, 199, 245, 0.2); }
.gallery-collection-roleplay { --collection-glow: rgba(167, 124, 255, 0.28); }
.gallery-collection-milestones { --collection-glow: rgba(69, 222, 155, 0.2); }
.gallery-collection-video { --collection-glow: rgba(242, 101, 122, 0.18); }

.gallery-collection-number {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.gallery-collection-icon {
  display: grid;
  place-items: center;
  align-self: start;
  width: 42px;
  height: 42px;
  color: #f4ce69;
  font-size: 1.35rem;
}

.gallery-collection-icon img {
  width: 36px;
  height: 36px;
}

.gallery-collection-card > div {
  align-self: end;
  min-width: 0;
  padding-top: 2rem;
}

.gallery-collection-card > div > p {
  margin: 0 0 0.35rem;
  color: #f3cc63;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.gallery-collection-card h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.gallery-collection-card > div > span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.gallery-archive-shell {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(86, 199, 245, 0.08), transparent 30%),
    rgba(8, 13, 29, 0.72);
}

.gallery-archive-header {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: clamp(0.5rem, 2vw, 1rem);
}

.gallery-archive-header h2 { margin-bottom: 0; }

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gallery-filter-bar button {
  appearance: none;
  min-width: 45px;
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #b7c0d5;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.035);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.gallery-filter-bar button:hover,
.gallery-filter-bar button.is-active {
  color: #fff;
  border-color: rgba(167, 124, 255, 0.52);
  background: rgba(139, 92, 246, 0.18);
}

.gallery-status {
  margin: 0;
  padding: 2.5rem 1.5rem;
  border-color: rgba(167, 124, 255, 0.18);
  background: linear-gradient(145deg, rgba(19, 25, 49, 0.7), rgba(9, 14, 30, 0.72));
}

.gallery-status-summary {
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.gallery-status-error { color: #ff9eae; border-color: rgba(242, 101, 122, 0.32); }

.community-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.community-gallery-entry {
  grid-template-columns: 1fr;
  gap: 0;
  align-content: start;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: none;
}

.community-gallery-entry:nth-child(even) .community-gallery-media { order: 0; }
.community-gallery-entry.is-hidden { display: none; }

.community-gallery-media {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 0;
  background: rgba(5, 8, 20, 0.7);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.82) 86%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.82) 86%, transparent 100%);
}

.community-gallery-media::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 88px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(9, 14, 29, 0.94));
}

.community-gallery-media img,
.community-gallery-media video {
  min-height: 250px;
  max-height: 390px;
  border: 0;
  border-radius: 0;
}

.gallery-media-fallback {
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 1rem;
}

.gallery-media-fallback img { width: min(100%, 410px); height: auto; }

.community-gallery-content {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  padding: clamp(1.15rem, 3vw, 1.65rem);
  background: linear-gradient(180deg, rgba(9, 14, 29, 0.98), rgba(9, 14, 29, 0.22) 42%, transparent 100%);
}

.community-gallery-content h3 {
  margin: 0.85rem 0 0.75rem;
  font-size: 1.35rem;
}

.community-gallery-description {
  color: var(--muted);
  line-height: 1.65;
}

.community-gallery-credit { margin-bottom: 0; }

.gallery-roleplay-bridge,
.roleplay-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(167, 124, 255, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 20%, rgba(139, 92, 246, 0.2), transparent 35%),
    linear-gradient(140deg, rgba(20, 27, 52, 0.96), rgba(9, 14, 30, 0.97));
}

.gallery-roleplay-bridge > div:first-child,
.roleplay-final-cta > div:first-child { max-width: 760px; }
.gallery-roleplay-bridge h2,
.roleplay-final-cta h2 { margin-bottom: 0.7rem; }
.gallery-roleplay-bridge p:not(.eyebrow),
.roleplay-final-cta p:not(.eyebrow) { color: var(--muted); }
.gallery-roleplay-bridge .button img { width: 24px; height: 24px; }

.roleplay-manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.roleplay-manifesto-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.78;
}

.roleplay-manifesto-notes {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.roleplay-manifesto-notes span {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.roleplay-manifesto-notes strong { color: #f6dd92; }
.roleplay-manifesto-notes small { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }

.roleplay-session-flow {
  counter-reset: roleplay-step;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.roleplay-session-flow article {
  display: grid;
  grid-template-columns: minmax(64px, 0.18fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.roleplay-session-flow article > span {
  color: rgba(167, 124, 255, 0.72);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.roleplay-session-flow article > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(180px, 0.48fr) minmax(260px, 1fr);
  gap: 1.5rem;
  align-items: baseline;
}

.roleplay-session-flow h3,
.roleplay-session-flow p { margin: 0; }
.roleplay-session-flow article > div > p:last-child { color: var(--muted); line-height: 1.65; }

.roleplay-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.roleplay-path-card {
  position: relative;
  min-width: 0;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(20, 27, 52, 0.92), rgba(9, 14, 31, 0.95));
}

.roleplay-path-card::after {
  content: '';
  position: absolute;
  inset: auto 1.3rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--roleplay-line, #a77cff), transparent);
}

.roleplay-path-player { --roleplay-line: #f3cc63; }
.roleplay-path-narrator { --roleplay-line: #a77cff; }
.roleplay-path-observer { --roleplay-line: #56c7f5; }

.roleplay-path-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 2.4rem;
  color: #f5d97e;
  font-size: 1.45rem;
}

.roleplay-path-icon img { width: 42px; height: 42px; }
.roleplay-path-card h3 { margin: 0.35rem 0 0.85rem; }
.roleplay-path-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.roleplay-path-card ul { margin: 1.4rem 0 0; padding-left: 1.1rem; color: #c8d0e2; }
.roleplay-path-card li { margin-top: 0.55rem; line-height: 1.5; }

.roleplay-standards {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid rgba(243, 204, 99, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0 0, rgba(243, 204, 99, 0.08), transparent 38%),
    rgba(8, 13, 29, 0.72);
}

.roleplay-standards-intro { align-self: start; }
.roleplay-standards-intro > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }

.roleplay-code { display: grid; }
.roleplay-code article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.roleplay-code article:first-child { padding-top: 0; }
.roleplay-code article:last-child { padding-bottom: 0; border-bottom: 0; }
.roleplay-code article > span { color: #f3cc63; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; }
.roleplay-code h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.roleplay-code p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

.roleplay-chronicles {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  overflow: hidden;
}

.roleplay-chronicles-art {
  position: relative;
  min-width: 0;
  padding: 1rem;
}
.roleplay-chronicles-art::before {
  content: '';
  position: absolute;
  inset: 12% 10%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.18);
  filter: blur(55px);
}
.roleplay-chronicles-art img { display: block; width: 100%; height: auto; }
.roleplay-chronicles-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }

@media (max-width: 980px) {
  .page-layout-gallery-wall .page-opening,
  .page-layout-roleplay-cover .page-opening,
  .gallery-featured-placeholder,
  .gallery-featured-entry,
  .roleplay-standards {
    grid-template-columns: 1fr;
  }

  .gallery-placeholder-art::after,
  .gallery-featured-media::after {
    top: auto;
    right: 0;
    bottom: -62px;
    left: 0;
    width: auto;
    height: 130px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(9, 14, 30, 0.2) 28%,
      rgba(9, 14, 30, 0.78) 72%,
      rgba(9, 14, 30, 0.98) 100%
    );
  }

  .gallery-placeholder-art,
  .gallery-featured-media {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.78) 86%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.78) 86%, transparent 100%);
  }

  .opening-gallery-wall,
  .opening-roleplay-cover { min-height: 360px; }
  .opening-gallery-art,
  .opening-roleplay-art { width: min(74%, 520px); }
  .gallery-placeholder-art::after,
  .gallery-featured-media::after { top: auto; right: 8%; bottom: 0; left: 8%; width: auto; height: 1px; }
  .gallery-placeholder-copy,
  .gallery-featured-content { padding-top: 2rem; }
  .roleplay-session-flow article > div { grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr); }
  .roleplay-session-flow article > div > p:last-child { grid-column: 1 / -1; }
  .roleplay-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roleplay-path-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .page-layout-gallery-wall .page-opening::after,
  .page-layout-roleplay-cover .page-opening::after {
    right: 0;
    bottom: -30%;
    left: 20%;
  }

  .gallery-intro,
  .roleplay-manifesto,
  .roleplay-chronicles {
    grid-template-columns: 1fr;
  }

  .gallery-category-nav { grid-template-columns: 1fr; }
  .gallery-category-nav a { border-top: 1px solid rgba(255, 255, 255, 0.08); border-left: 0; }
  .gallery-category-nav a:first-child { border-top: 0; }
  .gallery-section-heading,
  .roleplay-heading { grid-template-columns: 1fr; }
  .gallery-section-heading > p,
  .roleplay-heading > p { margin-left: 0; }
  .gallery-collection-card:nth-child(n) { grid-column: span 12; min-height: 180px; }
  .community-gallery { grid-template-columns: 1fr; }
  .gallery-roleplay-bridge,
  .roleplay-final-cta { align-items: flex-start; flex-direction: column; }
  .roleplay-manifesto-notes span { grid-template-columns: 1fr; gap: 0.35rem; }
}

@media (max-width: 600px) {
  .opening-gallery-wall,
  .opening-roleplay-cover { min-height: 280px; }
  .opening-gallery-art,
  .opening-roleplay-art { width: min(96%, 430px); }
  .opening-gallery-key,
  .opening-roleplay-cover > p { bottom: 0.4rem; }
  .opening-gallery-key span,
  .opening-roleplay-cover > p span { font-size: 0.57rem; }
  .gallery-publish-card { grid-template-columns: 1fr; }
  .gallery-category-nav { margin-bottom: 4rem; }
  .gallery-featured-placeholder,
  .gallery-featured-entry { min-height: 0; border-radius: 24px; }
  .gallery-placeholder-art,
  .gallery-featured-media { min-height: 260px; padding: 0.8rem; }
  .gallery-placeholder-copy,
  .gallery-featured-content { padding: 1.35rem; }
  .gallery-placeholder-copy h3,
  .gallery-featured-content h3 { font-size: 1.75rem; }
  .gallery-collection-card { min-height: 170px; padding: 1.1rem; }
  .gallery-collection-card > div { padding-top: 1.4rem; }
  .gallery-archive-shell { padding: 0.75rem; border-radius: 24px; }
  .gallery-filter-bar { gap: 0.4rem; }
  .gallery-filter-bar button { min-width: 44px; min-height: 44px; padding: 0.48rem 0.72rem; font-size: 0.68rem; }
  .community-gallery-media,
  .community-gallery-media img,
  .community-gallery-media video { min-height: 210px; }
  .roleplay-session-flow article { grid-template-columns: 46px 1fr; gap: 0.8rem; }
  .roleplay-session-flow article > div { grid-template-columns: 1fr; gap: 0.5rem; }
  .roleplay-session-flow article > div > p:last-child { grid-column: auto; margin-top: 0.35rem; }
  .roleplay-path-grid { grid-template-columns: 1fr; }
  .roleplay-path-card:last-child { grid-column: auto; }
  .roleplay-standards { padding: 1.25rem; }
  .roleplay-chronicles-art { padding: 0; }
}

.page-family-contact .page-opening {
  background:
    radial-gradient(ellipse 38% 72% at 62% 38%, rgba(86, 199, 245, 0.12), transparent 100%),
    radial-gradient(ellipse 24% 58% at 24% 72%, rgba(139, 92, 246, 0.1), transparent 100%);
}

.page-family-contact .page-opening::after {
  right: 4%;
  left: 4%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(86, 199, 245, 0.48) 32%,
    rgba(139, 92, 246, 0.28) 68%,
    transparent
  );
}

.page-family-contact .page-opening .hero-actions { margin-top: 2rem; }

.page-family-contact .page-opening .hero-actions .button img {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

.opening-contact-paths {
  gap: 0.75rem;
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
  border: 1px solid rgba(86, 199, 245, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(86, 199, 245, 0.13), transparent 38%),
    radial-gradient(circle at 0 100%, rgba(139, 92, 246, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(17, 24, 45, 0.94), rgba(8, 13, 28, 0.97));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.opening-contact-heading {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
  padding: 0 0.35rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.opening-contact-heading p {
  margin: 0;
  color: #f5f8ff;
  font-size: 1.08rem;
  font-weight: 900;
}

.opening-contact-heading span {
  color: var(--muted);
  font-size: 0.82rem;
}

.opening-contact-paths .opening-contact-route {
  display: grid;
  width: 100%;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  margin-left: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.opening-contact-paths .opening-contact-route:hover {
  padding-left: 1rem;
  transform: translateX(5px);
  border-color: rgba(86, 199, 245, 0.62);
  background: rgba(86, 199, 245, 0.07);
}

.opening-contact-paths .opening-contact-product:hover {
  border-color: rgba(243, 204, 99, 0.58);
  background: rgba(243, 204, 99, 0.065);
}

.opening-contact-paths .opening-contact-guild:hover {
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.07);
}

.opening-contact-paths .opening-contact-route > img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 8px 18px rgba(86, 199, 245, 0.18));
}

.opening-contact-paths .opening-contact-route > span {
  display: grid;
  min-width: 0;
  gap: 0.16rem;
}

.opening-contact-paths .opening-contact-route small {
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.opening-contact-paths .opening-contact-product small { color: var(--gold); }
.opening-contact-paths .opening-contact-guild small { color: #bca1ff; }
.opening-contact-paths .opening-contact-route strong { font-size: 1.04rem; }

.opening-contact-paths .opening-contact-route em {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opening-contact-paths .opening-contact-route > b {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
}

.contact-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.62fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: end;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.contact-section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.contact-section-heading > p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.contact-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-route-card {
  --contact-route-accent: 86, 199, 245;
  position: relative;
  display: flex;
  min-height: 560px;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(1.4rem, 2.8vw, 2rem);
  border: 1px solid rgba(var(--contact-route-accent), 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(var(--contact-route-accent), 0.12), transparent 35%),
    linear-gradient(150deg, rgba(20, 27, 49, 0.96), rgba(8, 13, 28, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.contact-route-product { --contact-route-accent: 243, 204, 99; }
.contact-route-support { --contact-route-accent: 86, 199, 245; }
.contact-route-guild { --contact-route-accent: 139, 92, 246; }

.contact-route-card::after {
  position: absolute;
  right: -3rem;
  bottom: -4.8rem;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(var(--contact-route-accent), 0.14);
  border-radius: 50%;
  content: "";
}

.contact-route-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.4rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-route-topline span {
  color: rgba(var(--contact-route-accent), 0.92);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.15em;
}

.contact-route-topline strong {
  color: var(--subtle);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-route-card > img {
  width: 58px;
  height: 58px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 14px 28px rgba(var(--contact-route-accent), 0.2));
}

.contact-route-card > .eyebrow { color: rgb(var(--contact-route-accent)); }

.contact-route-card h3 {
  max-width: 360px;
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.08;
  text-wrap: balance;
}

.contact-route-card > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.contact-route-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

.contact-route-card li {
  display: grid;
  grid-template-columns: 9px 1fr;
  gap: 0.65rem;
  color: #dce4f5;
  font-size: 0.88rem;
}

.contact-route-card li::before {
  width: 6px;
  height: 6px;
  margin-top: 0.48rem;
  border-radius: 50%;
  background: rgb(var(--contact-route-accent));
  content: "";
  box-shadow: 0 0 14px rgba(var(--contact-route-accent), 0.55);
}

.contact-route-link {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgb(var(--contact-route-accent));
  font-weight: 900;
  text-decoration: none;
}

.contact-route-link span { transition: transform 160ms ease; }
.contact-route-link:hover span { transform: translateX(5px); }

.contact-process-section { padding-top: clamp(4rem, 10vw, 8rem); }
.contact-section-heading-centered { grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr); }

.contact-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(86, 199, 245, 0.22);
  border-bottom: 1px solid rgba(86, 199, 245, 0.14);
}

.contact-process article {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-process article:first-child { border-left: 0; }

.contact-process span {
  display: block;
  margin-bottom: 3rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.contact-process h3 { margin-bottom: 0.7rem; font-size: 1.2rem; }
.contact-process p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

.contact-brief-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-brief-copy > h2 {
  max-width: 740px;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.contact-brief-copy > p:not(.eyebrow) { max-width: 700px; color: var(--muted); line-height: 1.75; }

.contact-brief-list {
  display: grid;
  gap: 0;
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.contact-brief-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.15rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-brief-list img { width: 38px; height: 38px; }
.contact-brief-list strong { display: block; margin-bottom: 0.35rem; color: #f4f7ff; }
.contact-brief-list p { margin: 0; color: var(--muted); line-height: 1.65; }

.contact-safety-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  border: 1px solid rgba(94, 225, 157, 0.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(94, 225, 157, 0.12), transparent 36%),
    linear-gradient(150deg, rgba(17, 31, 40, 0.9), rgba(8, 14, 27, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.contact-safety-icon img {
  width: 62px;
  height: 62px;
  margin-bottom: 1.8rem;
  filter: drop-shadow(0 12px 30px rgba(94, 225, 157, 0.22));
}

.contact-safety-panel .eyebrow { color: var(--green); }
.contact-safety-panel h3 { max-width: 420px; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.08; }
.contact-safety-panel > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }

.contact-safety-rules {
  display: grid;
  gap: 0;
  margin: 1.7rem 0;
  border-top: 1px solid rgba(94, 225, 157, 0.16);
}

.contact-safety-rules p {
  display: grid;
  gap: 0.28rem;
  margin: 0;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(94, 225, 157, 0.14);
}

.contact-safety-rules span {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-safety-rules strong { color: #e7f6ee; font-size: 0.88rem; }

.contact-self-service {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid rgba(139, 92, 246, 0.18);
  border-bottom: 1px solid rgba(139, 92, 246, 0.18);
}

.contact-self-service-heading h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.04; }
.contact-self-service-links { display: grid; gap: 0.7rem; }

.contact-self-service-links a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.contact-self-service-links a:hover {
  transform: translateX(5px);
  border-color: rgba(139, 92, 246, 0.42);
  background: rgba(139, 92, 246, 0.065);
}

.contact-self-service-links img { width: 36px; height: 36px; }
.contact-self-service-links span { display: grid; gap: 0.16rem; }
.contact-self-service-links small { color: var(--muted); }
.contact-self-service-links b { color: #bca1ff; }

.contact-final-cta {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  border: 1px solid rgba(86, 199, 245, 0.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 50%, rgba(86, 199, 245, 0.12), transparent 27%),
    radial-gradient(circle at 8% 20%, rgba(139, 92, 246, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(20, 27, 49, 0.96), rgba(8, 13, 28, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.contact-final-cta > img { width: 64px; height: 64px; filter: drop-shadow(0 12px 30px rgba(86, 199, 245, 0.24)); }
.contact-final-cta h2 { margin-bottom: 0.45rem; font-size: clamp(1.65rem, 3vw, 2.6rem); line-height: 1.08; }
.contact-final-cta p:not(.eyebrow) { margin: 0; color: var(--muted); }

@media (max-width: 980px) {
  .contact-route-grid { grid-template-columns: 1fr; }
  .contact-route-card { min-height: 0; }
  .contact-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-process article:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .contact-process article:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .contact-brief-section,
  .contact-self-service { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .opening-contact-paths { padding: 1rem; border-radius: 22px; }
  .opening-contact-paths .opening-contact-route { grid-template-columns: 42px minmax(0, 1fr) auto; padding: 0.8rem; }
  .opening-contact-paths .opening-contact-route:hover { padding-left: 0.8rem; }
  .opening-contact-paths .opening-contact-route > img { width: 34px; height: 34px; }
  .opening-contact-paths .opening-contact-route em { white-space: normal; }
  .contact-section-heading,
  .contact-section-heading-centered { grid-template-columns: 1fr; gap: 1rem; }
  .contact-route-card { padding: 1.3rem; border-radius: 22px; }
  .contact-route-topline { margin-bottom: 1.7rem; }
  .contact-process { grid-template-columns: 1fr; }
  .contact-process article,
  .contact-process article:nth-child(3),
  .contact-process article:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.08); border-left: 0; }
  .contact-process article:first-child { border-top: 0; }
  .contact-process span { margin-bottom: 1.7rem; }
  .contact-safety-panel { border-radius: 22px; }
  .contact-self-service-links a { grid-template-columns: 38px minmax(0, 1fr) auto; padding: 0.85rem; }
  .contact-self-service-links small { font-size: 0.78rem; }
  .contact-final-cta { grid-template-columns: 52px minmax(0, 1fr); border-radius: 22px; }
  .contact-final-cta > img { width: 48px; height: 48px; }
  .contact-final-cta .button { grid-column: 1 / -1; width: 100%; }
}

.doc-orientation {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
  padding-block: clamp(3rem, 8vw, 6.5rem);
  border-top: 1px solid rgba(var(--page-accent, 86, 199, 245), 0.16);
  border-bottom: 1px solid rgba(var(--page-accent, 86, 199, 245), 0.12);
}

.doc-orientation-copy h2 {
  max-width: 820px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.doc-orientation-copy > p:not(.eyebrow) {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(220, 227, 244, 0.82);
  font-size: clamp(1.04rem, 1.8vw, 1.2rem);
  line-height: 1.78;
}

.doc-orientation-details {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.doc-orientation-details article {
  display: grid;
  grid-template-columns: minmax(112px, 0.34fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.doc-orientation-details span {
  color: rgb(var(--page-accent, 86, 199, 245));
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.doc-orientation-details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.62;
}

.doc-command-guide {
  border-color: rgba(var(--page-accent, 86, 199, 245), 0.24);
  background:
    radial-gradient(circle at 100% 0, rgba(var(--page-accent, 86, 199, 245), 0.08), transparent 26rem),
    rgba(10, 15, 29, 0.72);
}

.doc-command-guide > h2 {
  max-width: 760px;
  margin-bottom: 0.85rem;
}

.doc-command-guide-intro {
  max-width: 850px;
  margin-bottom: 2rem;
  color: var(--muted);
  line-height: 1.72;
}

.doc-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.doc-command-card {
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(23, 31, 55, 0.86), rgba(9, 14, 28, 0.9));
}

.doc-command-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(var(--page-accent, 86, 199, 245), 0.18);
  background: rgba(var(--page-accent, 86, 199, 245), 0.055);
}

.doc-command-card-heading code {
  overflow-wrap: anywhere;
  color: #f5f7ff;
  font-size: 0.83rem;
  font-weight: 850;
}

.doc-command-card-heading span {
  flex: 0 0 auto;
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(var(--page-accent, 86, 199, 245), 0.22);
  border-radius: 999px;
  color: rgb(var(--page-accent, 86, 199, 245));
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doc-command-card > div:not(.doc-command-card-heading) {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.doc-command-card > div:last-child { border-bottom: 0; }

.doc-command-card > div > strong {
  color: rgba(var(--page-accent, 86, 199, 245), 0.9);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doc-command-card > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.62;
}

.command-item-explained {
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
}

.command-explanation {
  display: grid;
  grid-template-columns: minmax(170px, 0.58fr) minmax(220px, 1fr) minmax(220px, 1fr);
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.command-explanation > div {
  min-width: 0;
  padding: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.075);
}

.command-explanation > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.command-explanation strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.command-explanation p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.62;
}

@media (max-width: 1280px) {
  .command-explanation { grid-template-columns: 1fr; }
  .command-explanation > div,
  .command-explanation > div:first-child { padding: 0.9rem 0; border-top: 1px solid rgba(255, 255, 255, 0.07); border-left: 0; }
  .command-explanation > div:first-child { border-top: 0; }
}

/* Large transparent opening artwork: topic-specific scenes without hard-edged image panels. */
.opening-artwork {
  position: relative;
  min-width: 0;
  margin: 0;
  pointer-events: none;
}

.opening-artwork::before {
  position: absolute;
  inset: 14% 12% 8%;
  z-index: -1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(var(--page-accent), 0.14), transparent 68%);
  filter: blur(24px);
}

.opening-artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.28));
}

.opening-aside-art {
  height: clamp(180px, 20vw, 250px);
  margin: -2rem -0.45rem 0.75rem;
}

.page-layout-rail .opening-aside-art {
  height: 175px;
  margin: -2rem -0.8rem 0.8rem;
}

.page-layout-spotlight .opening-aside-art {
  width: min(300px, 100%);
  height: 225px;
  margin: -1.8rem auto 0.85rem;
}

.page-layout-split .opening-aside-art {
  height: clamp(190px, 21vw, 260px);
  margin: -2.15rem -0.75rem 0.8rem;
}

.page-layout-split.page-variant-blog .opening-aside-art {
  height: clamp(210px, 23vw, 290px);
}

.opening-brief-art {
  height: 190px;
  margin: -2.5rem -1rem 0.6rem;
}

.page-layout-minimal .page-opening.page-opening-with-art,
.page-layout-band .page-opening.page-opening-with-art {
  display: grid;
  max-width: 1180px;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.opening-standalone-art {
  width: 100%;
  height: clamp(280px, 31vw, 410px);
}

.page-layout-chapter .page-opening.page-opening-with-art {
  max-width: 1180px;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1.28fr) minmax(250px, 0.5fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.opening-chapter-art {
  width: 100%;
  height: clamp(250px, 27vw, 360px);
}

.opening-centered-art {
  width: min(520px, 82vw);
  height: clamp(210px, 25vw, 310px);
  margin: 2.2rem auto -1rem;
}

@media (max-width: 900px) {
  .page-layout-minimal .page-opening.page-opening-with-art,
  .page-layout-band .page-opening.page-opening-with-art,
  .page-layout-chapter .page-opening.page-opening-with-art {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .opening-standalone-art,
  .opening-chapter-art {
    width: min(440px, 100%);
    height: 300px;
    justify-self: center;
  }

  .opening-aside-art {
    width: min(430px, 100%);
    height: 245px;
    margin: -1rem auto 1rem;
  }

  .page-layout-rail .opening-aside-art,
  .page-layout-spotlight .opening-aside-art,
  .page-layout-split .opening-aside-art,
  .page-layout-split.page-variant-blog .opening-aside-art {
    width: min(430px, 100%);
    height: 245px;
    margin: -1rem auto 1rem;
  }
}

@media (max-width: 560px) {
  .opening-standalone-art,
  .opening-chapter-art,
  .opening-centered-art,
  .opening-aside-art,
  .page-layout-rail .opening-aside-art,
  .page-layout-spotlight .opening-aside-art,
  .page-layout-split .opening-aside-art,
  .page-layout-split.page-variant-blog .opening-aside-art {
    height: 210px;
  }

  .opening-brief-art {
    height: 170px;
    margin: -1.2rem 0 0.7rem;
  }
}

/* Blog layout overrides intentionally follow the shared section rules. */
.section.blog-intro {
  padding-inline: clamp(0.35rem, 1vw, 0.8rem);
}

.section.blog-archive-section {
  padding: clamp(1.7rem, 4vw, 3rem);
}

.section.blog-curated-section {
  padding: clamp(1.7rem, 4vw, 3rem);
}

.section.blog-gallery-bridge {
  padding: clamp(1.65rem, 4vw, 3rem);
}

.section.blog-featured-section + .section.blog-curated-section,
.section.blog-curated-section + .section.blog-curated-section,
.section.blog-curated-section + .section.blog-archive-section,
.section.blog-archive-section + .section.blog-gallery-bridge {
  margin-top: clamp(1.75rem, 3.5vw, 3rem);
}

.blog-publish-card {
  align-items: start;
}

.blog-publish-card > img {
  margin-top: 0.15rem;
}

.blog-archive-header {
  align-items: start;
  padding-bottom: clamp(1.35rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-archive-header > p {
  padding-top: 0.25rem;
}

.blog-archive-empty {
  display: grid;
  min-height: 260px;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.35rem, 3vw, 2.4rem);
  border: 1px solid rgba(244, 200, 79, 0.16);
  border-radius: 24px;
  color: inherit;
  background:
    radial-gradient(circle at 12% 35%, rgba(244, 200, 79, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(18, 25, 47, 0.88), rgba(8, 13, 29, 0.92));
  text-align: left;
}

.blog-archive-empty > img {
  width: min(230px, 100%);
  max-height: 210px;
  justify-self: center;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.28));
}

.blog-archive-empty h3 {
  margin: 0.3rem 0 0.75rem;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  text-wrap: balance;
}

.blog-archive-empty p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.blog-archive-empty .blog-empty-copy {
  max-width: 680px;
  padding: clamp(0.35rem, 1.2vw, 0.9rem);
}

.blog-empty-state > img {
  width: min(280px, 38%);
  max-height: 270px;
}

.blog-gallery-bridge > div {
  padding-right: clamp(0rem, 3vw, 2rem);
}

@media (max-width: 760px) {
  .section.blog-intro { padding-inline: 0; }

  .section.blog-curated-section,
  .section.blog-archive-section,
  .section.blog-gallery-bridge {
    padding: 1.25rem;
  }

  .section.blog-featured-section + .section.blog-curated-section,
  .section.blog-curated-section + .section.blog-curated-section,
  .section.blog-curated-section + .section.blog-archive-section,
  .section.blog-archive-section + .section.blog-gallery-bridge {
    margin-top: 1.5rem;
  }

  .blog-archive-header,
  .blog-curated-header {
    gap: 0.8rem;
  }

  .blog-archive-empty {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 1.1rem;
    padding: 1.35rem;
  }

  .blog-archive-empty > img {
    width: 180px;
    max-height: 165px;
  }

  .blog-empty-state > img {
    width: min(210px, 70%);
  }

  .blog-empty-state {
    min-height: 0;
    gap: 1.2rem;
    padding: 1.6rem;
  }

  .blog-empty-state .blog-empty-copy,
  .blog-archive-empty .blog-empty-copy {
    max-width: none;
    padding: 0.25rem;
  }

  .blog-gallery-bridge > div { padding-right: 0; }
}

@media (max-width: 980px) {
  .doc-orientation { grid-template-columns: 1fr; gap: 2.2rem; }
  .doc-command-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .doc-orientation { padding-block: 2.6rem; }
  .doc-orientation-details article { grid-template-columns: 1fr; gap: 0.4rem; }
  .doc-command-card-heading { align-items: flex-start; flex-direction: column; }
  .doc-command-card > div:not(.doc-command-card-heading) { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* Beginner product directory: product explanation first, technical setup second. */
.bot-function-directory {
  display: grid;
  gap: clamp(2.4rem, 5vw, 4.6rem);
}

.bot-function-directory > .section-heading {
  margin-bottom: -0.8rem;
}

.bot-function-group {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 2.28fr);
  gap: clamp(1.4rem, 4vw, 3.2rem);
  align-items: start;
  padding-top: clamp(1.6rem, 3vw, 2.4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.bot-function-heading {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  position: sticky;
  top: 112px;
}

.bot-function-heading > span {
  color: rgba(var(--page-accent), 0.68);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.bot-function-heading .eyebrow {
  margin-bottom: 0.55rem;
}

.bot-function-heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.08;
  text-wrap: balance;
}

.bot-function-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.bot-function-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 112px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(var(--page-accent), 0.15);
  border-radius: 18px;
  color: var(--text);
  background:
    radial-gradient(circle at 0 50%, rgba(var(--page-accent), 0.1), transparent 38%),
    rgba(12, 17, 31, 0.68);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.bot-function-card:hover,
.bot-function-card:focus-visible {
  border-color: rgba(var(--page-accent), 0.44);
  background:
    radial-gradient(circle at 0 50%, rgba(var(--page-accent), 0.16), transparent 42%),
    rgba(17, 23, 42, 0.82);
  transform: translateY(-3px);
}

.bot-function-card > img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.28));
}

.bot-function-card > span {
  display: grid;
  gap: 0.28rem;
}

.bot-function-card strong {
  font-size: 1.04rem;
}

.bot-function-card small {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .bot-function-group {
    grid-template-columns: 1fr;
  }

  .bot-function-heading {
    position: static;
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  .bot-function-directory {
    gap: 2.8rem;
  }

  .bot-function-grid {
    grid-template-columns: 1fr;
  }

  .bot-function-card {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 98px;
    padding: 0.9rem;
  }

  .bot-function-card > img {
    width: 46px;
    height: 46px;
  }
}

/* Premium FAQ and Discord-backed purchase guidance */
.premium-faq-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.premium-faq-route {
  display: grid;
  gap: 0.75rem;
}

.premium-faq-route article {
  display: grid;
  grid-template-columns: 34px 54px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-width: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(var(--page-accent), 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 50%, rgba(var(--page-accent), 0.1), transparent 36%),
    rgba(12, 17, 32, 0.72);
}

.premium-faq-route article > span {
  color: rgba(var(--page-accent), 0.72);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.premium-faq-route img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(var(--page-accent), 0.16));
}

.premium-faq-route strong,
.premium-faq-route p {
  display: block;
  margin: 0;
}

.premium-faq-route p {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.premium-faq-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.premium-faq-index {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(20, 27, 50, 0.9), rgba(9, 14, 28, 0.86));
}

.premium-faq-index .eyebrow {
  margin-bottom: 0.65rem;
}

.premium-faq-index a {
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  color: #c9d1e4;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.premium-faq-index a:hover,
.premium-faq-index a:focus-visible {
  color: #fff;
  background: rgba(var(--page-accent), 0.12);
  transform: translateX(3px);
}

.premium-faq-content,
.premium-faq-list {
  display: grid;
}

.premium-faq-content {
  gap: clamp(3.5rem, 7vw, 6.5rem);
  min-width: 0;
}

.premium-faq-group {
  --faq-accent: var(--page-accent);
  min-width: 0;
  scroll-margin-top: 116px;
}

.premium-faq-group:nth-child(1) { --faq-accent: 247, 209, 92; }
.premium-faq-group:nth-child(2) { --faq-accent: 86, 199, 245; }
.premium-faq-group:nth-child(3) { --faq-accent: 139, 92, 246; }

.premium-faq-group-heading {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  max-width: 760px;
  margin-bottom: 1.65rem;
}

.premium-faq-group-number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(var(--faq-accent), 0.34);
  border-radius: 17px;
  color: rgb(var(--faq-accent));
  background:
    radial-gradient(circle at 30% 22%, rgba(var(--faq-accent), 0.18), transparent 62%),
    rgba(12, 17, 32, 0.82);
  box-shadow: 0 14px 34px rgba(var(--faq-accent), 0.1);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.premium-faq-group-heading .eyebrow {
  color: rgb(var(--faq-accent));
}

.premium-faq-group-heading h2 {
  margin-bottom: 0;
  text-wrap: balance;
}

.premium-faq-group-heading > div > p:last-child {
  max-width: 660px;
  margin: 0.65rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.premium-faq-list {
  gap: 0.65rem;
}

.premium-faq-list details {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(var(--faq-accent), 0.13);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(var(--faq-accent), 0.065), transparent 35%),
    rgba(12, 17, 32, 0.68);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.premium-faq-list details[open] {
  border-color: rgba(var(--faq-accent), 0.32);
  background:
    radial-gradient(circle at 100% 0, rgba(var(--faq-accent), 0.12), transparent 38%),
    rgba(15, 21, 39, 0.86);
}

.premium-faq-list summary {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 1.05rem 3.25rem 1.05rem 1.15rem;
  color: #f3f5fb;
  font-weight: 850;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.premium-faq-list summary::before {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(var(--faq-accent), 0.24);
  border-radius: 9px;
  color: rgb(var(--faq-accent));
  background: rgba(var(--faq-accent), 0.075);
  content: "Q";
  font-size: 0.65rem;
  font-weight: 950;
}

.premium-faq-list summary::-webkit-details-marker {
  display: none;
}

.premium-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 1.15rem;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(var(--faq-accent), 0.28);
  border-radius: 50%;
  color: rgb(var(--faq-accent));
  content: "+";
  display: grid;
  place-items: center;
  font-size: 1rem;
  transform: translateY(-50%);
  transition: transform 180ms ease, background-color 180ms ease;
}

.premium-faq-list details[open] summary::after {
  content: "−";
  background: rgba(var(--faq-accent), 0.1);
  transform: translateY(-50%) rotate(180deg);
}

.premium-faq-list details p {
  position: relative;
  margin: 0;
  padding: 1rem 1.15rem 1.2rem 3.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  color: var(--muted);
  line-height: 1.75;
}

.premium-faq-list details p::before {
  position: absolute;
  top: 1rem;
  left: 1.15rem;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(var(--faq-accent), 0.2);
  border-radius: 9px;
  color: rgba(var(--faq-accent), 0.9);
  background: rgba(var(--faq-accent), 0.06);
  content: "A";
  font-size: 0.65rem;
  font-weight: 950;
}

.premium-faq-decision,
.guarantee-conversion {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid rgba(var(--page-accent), 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 12%, rgba(var(--page-accent), 0.14), transparent 34%),
    linear-gradient(145deg, rgba(21, 28, 52, 0.92), rgba(9, 14, 29, 0.94));
}

.premium-faq-decision > div:first-child,
.guarantee-conversion > div:first-child {
  max-width: 720px;
}

.premium-faq-decision h2,
.guarantee-conversion h2 {
  margin-bottom: 0.65rem;
}

.premium-faq-decision p:not(.eyebrow),
.guarantee-conversion p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-faq-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.guarantee-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.guarantee-window-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(128px, 0.36fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid rgba(94, 225, 157, 0.3);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 44%, rgba(94, 225, 157, 0.16), transparent 35%),
    radial-gradient(circle at 88% 12%, rgba(86, 199, 245, 0.1), transparent 35%),
    linear-gradient(145deg, rgba(16, 35, 42, 0.94), rgba(9, 15, 29, 0.96));
  box-shadow: 0 28px 78px rgba(2, 7, 18, 0.34);
}

.guarantee-window-number {
  display: grid;
  place-items: center;
  align-content: center;
  aspect-ratio: 1;
  border: 1px solid rgba(94, 225, 157, 0.3);
  border-radius: 50%;
  background: rgba(8, 20, 27, 0.72);
  box-shadow: 0 0 45px rgba(94, 225, 157, 0.12);
}

.guarantee-window-number strong {
  color: #b8f7d5;
  font-size: clamp(3.7rem, 8vw, 6.4rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.guarantee-window-number span {
  margin-top: 0.55rem;
  color: #7fd8aa;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guarantee-window-card h2 {
  margin-bottom: 0.7rem;
}

.guarantee-window-card p:last-child,
.guarantee-overview-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.guarantee-policy-note {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.3rem;
  padding: 1rem 1.05rem;
  border-left: 3px solid #5ee19d;
  border-radius: 0 14px 14px 0;
  background: rgba(94, 225, 157, 0.07);
}

.guarantee-policy-note span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.guarantee-steps-section {
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid rgba(86, 199, 245, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(86, 199, 245, 0.1), transparent 35%),
    rgba(11, 17, 33, 0.72);
}

.guarantee-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.guarantee-steps article {
  min-width: 0;
  padding: 1.1rem;
  border-top: 1px solid rgba(86, 199, 245, 0.26);
  background: rgba(255, 255, 255, 0.018);
}

.guarantee-steps article > span {
  display: block;
  margin-bottom: 1.2rem;
  color: #80d7f7;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.guarantee-steps strong {
  display: block;
  margin-bottom: 0.45rem;
}

.guarantee-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.guarantee-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.guarantee-choice-grid,
.guarantee-boundaries-grid,
.guarantee-exception-grid {
  display: grid;
  gap: 1rem;
}

.guarantee-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guarantee-choice-card {
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(21, 28, 51, 0.9), rgba(9, 14, 28, 0.9));
}

.guarantee-choice-cancel { border-color: rgba(86, 199, 245, 0.24); }
.guarantee-choice-refund { border-color: rgba(94, 225, 157, 0.24); }

.guarantee-choice-card > img {
  width: 58px;
  height: 58px;
  margin-bottom: 1.2rem;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.22));
}

.guarantee-choice-card h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.guarantee-choice-card > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.guarantee-boundaries {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.guarantee-boundaries-heading > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.guarantee-boundaries-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guarantee-boundaries-grid article {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(13, 18, 34, 0.72);
}

.guarantee-boundaries-grid article > span {
  color: rgb(var(--page-accent));
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.guarantee-boundaries-grid h3 {
  margin-top: 0.55rem;
}

.guarantee-boundaries-grid ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.guarantee-boundaries-grid li {
  margin-top: 0.6rem;
  line-height: 1.55;
}

.guarantee-exception-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guarantee-exception-grid article {
  min-width: 0;
  padding: 1.15rem;
  border-top: 1px solid rgba(94, 225, 157, 0.28);
  background: rgba(255, 255, 255, 0.018);
}

.guarantee-exception-grid strong {
  display: block;
  margin-bottom: 0.5rem;
}

.guarantee-exception-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .premium-faq-intro,
  .guarantee-overview,
  .guarantee-boundaries {
    grid-template-columns: 1fr;
  }

  .premium-faq-layout {
    grid-template-columns: 1fr;
  }

  .premium-faq-index {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-faq-index .eyebrow {
    grid-column: 1 / -1;
  }

  .guarantee-steps,
  .guarantee-exception-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .premium-faq-route article {
    grid-template-columns: 30px 46px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.9rem;
  }

  .premium-faq-route img {
    width: 44px;
    height: 44px;
  }

  .premium-faq-index,
  .guarantee-choice-grid,
  .guarantee-boundaries-grid,
  .guarantee-steps,
  .guarantee-exception-grid {
    grid-template-columns: 1fr;
  }

  .premium-faq-decision,
  .guarantee-conversion {
    align-items: flex-start;
    flex-direction: column;
  }

  .guarantee-window-card {
    grid-template-columns: 1fr;
  }

  .guarantee-window-number {
    width: 128px;
  }

  .guarantee-actions,
  .premium-faq-decision .hero-actions,
  .guarantee-conversion .hero-actions {
    width: 100%;
  }

  .guarantee-actions .button,
  .premium-faq-decision .button,
  .guarantee-conversion .button {
    width: 100%;
  }
}

/* Guild rules: an explanatory charter with repeated routes to the official source. */
.page-variant-charter .opening-chapter-art {
  width: min(100%, 390px);
  opacity: 0.96;
}

.rules-page {
  --rules-red: 251, 113, 133;
  --rules-gold: 243, 204, 99;
  --rules-blue: 86, 199, 245;
  --rules-green: 91, 225, 159;
  --rules-violet: 167, 139, 250;
}

.rules-page .rules-cta {
  border-width: 1px;
  border-style: solid;
  color: #fff;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.08);
}

.rules-page .rules-cta--entry {
  border-color: rgba(var(--rules-red), 0.48);
  background:
    linear-gradient(135deg, rgba(147, 51, 77, 0.9), rgba(112, 72, 31, 0.88));
  box-shadow: 0 14px 38px rgba(var(--rules-red), 0.17);
}

.rules-page .rules-cta--live {
  border-color: rgba(123, 138, 255, 0.46);
  background:
    linear-gradient(135deg, rgba(67, 78, 171, 0.9), rgba(88, 101, 242, 0.72));
  box-shadow: 0 14px 38px rgba(88, 101, 242, 0.17);
}

.rules-page .rules-cta--conduct {
  border-color: rgba(var(--rules-blue), 0.34);
  color: #dff7ff;
  background:
    linear-gradient(135deg, rgba(22, 76, 104, 0.6), rgba(12, 28, 50, 0.86));
  box-shadow: 0 14px 34px rgba(var(--rules-blue), 0.1);
}

.rules-page .rules-cta--pledge {
  border-color: rgba(var(--rules-green), 0.38);
  background:
    linear-gradient(135deg, rgba(31, 105, 76, 0.82), rgba(85, 82, 34, 0.82));
  box-shadow: 0 14px 38px rgba(var(--rules-green), 0.12);
}

.rules-page .rules-cta--apply {
  border-color: rgba(var(--rules-violet), 0.42);
  background:
    linear-gradient(135deg, rgba(95, 62, 151, 0.86), rgba(119, 48, 84, 0.82));
  box-shadow: 0 14px 38px rgba(var(--rules-violet), 0.14);
}

.rules-page .rules-cta:hover {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.rules-page .rules-cta .button-action-icon {
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.28));
}

.rules-rulebook-link {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(var(--rules-gold), 0.34);
  color: #ffe59a;
}

.rules-rulebook-link:hover {
  border-color: rgba(var(--rules-gold), 0.72);
  color: #fff0bf;
}

.rules-official-source {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 2.2rem);
  align-items: center;
  overflow: hidden;
  margin: clamp(2.4rem, 5vw, 4.6rem) 0 0;
  padding: clamp(1.35rem, 3.2vw, 2.15rem);
  border: 1px solid rgba(var(--rules-red), 0.3);
  border-radius: 30px;
  background:
    radial-gradient(circle at 2% 45%, rgba(var(--rules-red), 0.18), transparent 18rem),
    radial-gradient(circle at 92% 10%, rgba(var(--rules-gold), 0.1), transparent 16rem),
    linear-gradient(135deg, rgba(24, 21, 39, 0.96), rgba(9, 14, 29, 0.97));
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.24);
}

.rules-official-source::after {
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(var(--rules-red), 0.12);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 34px rgba(var(--rules-red), 0.02),
    0 0 0 72px rgba(var(--rules-gold), 0.012);
  pointer-events: none;
}

.rules-source-mark,
.rules-source-copy,
.rules-official-source > .button {
  position: relative;
  z-index: 1;
}

.rules-source-mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(var(--rules-gold), 0.28);
  border-radius: 24px 8px 24px 24px;
  background: radial-gradient(circle, rgba(var(--rules-red), 0.15), rgba(255, 255, 255, 0.025) 68%);
}

.rules-source-mark img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 12px 24px rgba(var(--rules-red), 0.24));
}

.rules-source-copy h2 {
  margin: 0.25rem 0 0.6rem;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
}

.rules-source-copy p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.rules-official-source > .button {
  min-width: 218px;
}

.rules-section-heading {
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

.rules-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(var(--rules-red), 0.22);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.2);
}

.rules-principle {
  position: relative;
  min-width: 0;
  min-height: 310px;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  background:
    radial-gradient(circle at 0 0, rgba(var(--rules-red), 0.08), transparent 13rem),
    linear-gradient(145deg, rgba(18, 24, 44, 0.98), rgba(8, 13, 27, 0.98));
}

.rules-principle:nth-child(2n) {
  background:
    radial-gradient(circle at 100% 0, rgba(var(--rules-gold), 0.07), transparent 13rem),
    linear-gradient(145deg, rgba(15, 21, 40, 0.98), rgba(8, 13, 27, 0.98));
}

.rules-principle::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(var(--rules-red), 0.08);
  border-radius: 50%;
  content: "";
}

.rules-principle > img,
.rules-principle > span,
.rules-principle > h3,
.rules-principle > p {
  position: relative;
  z-index: 1;
}

.rules-principle > img {
  width: 50px;
  height: 50px;
  margin-bottom: clamp(2.5rem, 5vw, 4.2rem);
  filter: drop-shadow(0 14px 24px rgba(var(--rules-red), 0.18));
}

.rules-principle > span {
  position: absolute;
  top: 1.45rem;
  right: 1.45rem;
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.rules-principle h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.rules-principle p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.rules-inline-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  margin-top: 1rem;
  padding: 1.05rem 1.2rem;
  border-left: 3px solid rgb(var(--rules-gold));
  background: linear-gradient(90deg, rgba(var(--rules-gold), 0.08), transparent 76%);
}

.rules-inline-route p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.rules-inline-route strong {
  color: var(--text);
}

.rules-inline-route .text-link {
  flex: 0 0 auto;
}

.rules-in-practice {
  border-block: 1px solid rgba(var(--rules-red), 0.1);
  background:
    radial-gradient(circle at 88% 20%, rgba(var(--rules-blue), 0.06), transparent 24rem),
    linear-gradient(180deg, transparent, rgba(15, 20, 38, 0.34), transparent);
}

.rules-casebook {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(8, 13, 27, 0.62);
}

.rules-case-row {
  display: grid;
  grid-template-columns: 58px minmax(230px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.rules-case-row + .rules-case-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rules-case-row > img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 12px 22px rgba(var(--rules-blue), 0.16));
}

.rules-case-row:nth-child(2n) > img {
  filter: drop-shadow(0 12px 22px rgba(var(--rules-red), 0.18));
}

.rules-case-row span {
  color: rgb(var(--rules-gold));
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rules-case-row h3 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.rules-case-row > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.rules-resolution-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.rules-resolution-copy > p:not(.eyebrow) {
  max-width: 740px;
  color: var(--muted);
  line-height: 1.78;
}

.rules-resolution-flow {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.rules-resolution-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0 0 1.35rem;
}

.rules-resolution-flow li:not(:last-child)::after {
  position: absolute;
  top: 38px;
  bottom: 0;
  left: 20px;
  width: 1px;
  content: "";
  background: linear-gradient(rgba(var(--rules-red), 0.5), rgba(var(--rules-red), 0.06));
}

.rules-resolution-flow li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(var(--rules-red), 0.34);
  border-radius: 50%;
  color: #fff2d2;
  background: linear-gradient(145deg, rgba(var(--rules-red), 0.2), rgba(12, 18, 34, 0.96));
  font-weight: 950;
}

.rules-resolution-flow strong {
  display: block;
  margin-bottom: 0.35rem;
}

.rules-resolution-flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.rules-resolution-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(var(--rules-blue), 0.24);
  border-radius: 34px 10px 34px 34px;
  background:
    radial-gradient(circle at 50% 18%, rgba(var(--rules-blue), 0.13), transparent 18rem),
    linear-gradient(160deg, rgba(17, 26, 49, 0.96), rgba(8, 13, 27, 0.98));
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.25);
}

.rules-resolution-visual::after {
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(var(--rules-blue), 0.1);
  border-radius: 50%;
  content: "";
}

.rules-resolution-visual > img,
.rules-resolution-visual > div {
  position: relative;
  z-index: 1;
}

.rules-resolution-visual > img {
  display: block;
  width: min(100%, 460px);
  margin: -1rem auto -2.2rem;
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
}

.rules-resolution-visual h3 {
  max-width: 480px;
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
}

.rules-resolution-visual p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.rules-resolution-visual .hero-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.rules-resolution-visual .button {
  width: 100%;
}

.rules-membership-checkpoint {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 6vw, 5.2rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(var(--rules-gold), 0.22);
  border-radius: 36px;
  background:
    radial-gradient(circle at 14% 50%, rgba(var(--rules-gold), 0.12), transparent 24rem),
    radial-gradient(circle at 94% 10%, rgba(var(--rules-red), 0.09), transparent 19rem),
    linear-gradient(140deg, rgba(18, 24, 44, 0.98), rgba(8, 13, 27, 0.98));
}

.rules-checkpoint-art,
.rules-checkpoint-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.rules-checkpoint-art img {
  display: block;
  width: min(100%, 480px);
  margin-inline: auto;
  filter: drop-shadow(0 32px 56px rgba(var(--rules-gold), 0.12));
  -webkit-mask-image: radial-gradient(ellipse 78% 78% at center, #000 66%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 78% at center, #000 66%, transparent 100%);
}

.rules-checkpoint-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.78;
}

.rules-checkpoint-copy .check-list {
  margin-top: 1.5rem;
}

.rules-checkpoint-copy .hero-actions {
  margin-top: 1.7rem;
}

.rules-final-cta {
  border-color: rgba(var(--rules-red), 0.3);
  background:
    radial-gradient(circle at 88% 18%, rgba(var(--rules-red), 0.18), transparent 18rem),
    radial-gradient(circle at 6% 100%, rgba(var(--rules-gold), 0.07), transparent 16rem),
    linear-gradient(135deg, rgba(27, 25, 45, 0.98), rgba(9, 14, 29, 0.98));
}

@media (max-width: 1020px) {
  .rules-official-source {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .rules-official-source > .button {
    grid-column: 2;
    width: fit-content;
  }

  .rules-principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rules-resolution-section,
  .rules-membership-checkpoint {
    grid-template-columns: 1fr;
  }

  .rules-resolution-visual {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
  }

  .rules-resolution-visual > img {
    margin: -1rem -1rem -1rem;
  }

  .rules-checkpoint-art img {
    width: min(70vw, 420px);
  }
}

@media (max-width: 760px) {
  .page-variant-charter .opening-chapter-art {
    width: min(92vw, 360px);
  }

  .rules-official-source {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .rules-official-source > .button {
    grid-column: 1;
    width: 100%;
  }

  .rules-source-mark {
    width: 66px;
    height: 66px;
  }

  .rules-source-mark img {
    width: 40px;
    height: 40px;
  }

  .rules-principles-grid {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .rules-principle {
    min-height: 0;
  }

  .rules-principle > img {
    margin-bottom: 2.5rem;
  }

  .rules-inline-route {
    align-items: flex-start;
    flex-direction: column;
  }

  .rules-inline-route .text-link {
    flex: 1 1 auto;
  }

  .rules-case-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .rules-case-row > img {
    width: 42px;
    height: 42px;
  }

  .rules-case-row > p {
    grid-column: 1 / -1;
  }

  .rules-resolution-visual {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .rules-resolution-visual > img {
    width: min(100%, 360px);
    margin: -1rem auto -2rem;
  }

  .rules-membership-checkpoint {
    padding: 1.25rem;
    border-radius: 26px;
  }

  .rules-checkpoint-art img {
    width: min(100%, 340px);
  }

  .rules-final-cta .hero-actions {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .rules-official-source,
  .rules-membership-checkpoint {
    padding: 1.05rem;
  }

  .rules-case-row {
    padding: 1.05rem;
  }

  .rules-resolution-flow li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .rules-resolution-flow li > span {
    width: 36px;
    height: 36px;
  }

  .rules-resolution-flow li:not(:last-child)::after {
    top: 34px;
    left: 17px;
  }
}
