:root {
  --bg: #f7f2ff;
  --bg-warm: #fff8f1;
  --bg-cool: #eefaff;
  --text: #211a2f;
  --text-soft: #3c334e;
  --muted: #786f88;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-soft: rgba(255, 255, 255, 0.42);
  --glass-strong: rgba(255, 255, 255, 0.76);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-border-soft: rgba(139, 111, 255, 0.18);
  --lavender: #cdb8ff;
  --lavender-deep: #a992f2;
  --pink: #ffb8dc;
  --peach: #ffd2a6;
  --cyan: #bff4ff;
  --purple: #8d6bff;
  --lime: #b7ff2a;
  --panel: rgba(255, 255, 255, 0.58);
  --panel-soft: rgba(255, 255, 255, 0.42);
  --ink: var(--text);
  --text-on-dark: var(--text);
  --muted-dark: rgba(255, 255, 255, 0.54);
  --lime-hot: #39ff14;
  --violet: #7c3aed;
  --blue: var(--cyan);
  --shadow-soft: 0 24px 80px rgba(91, 65, 150, 0.18);
  --shadow-glass: 0 18px 48px rgba(104, 80, 180, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow: var(--shadow-soft);
}

.krea-referral-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.krea-referral-button {
  min-height: 52px;
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--lime);
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 12px 34px rgba(183, 255, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.krea-referral-button:hover,
.krea-referral-button:focus-visible {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(255, 184, 220, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.krea-referral-button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.krea-referral-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.krea-referral-button-compact {
  min-height: 46px;
  grid-column: 1 / -1;
  width: 100%;
  padding-inline: 16px;
}

.krea-referral-button-card {
  margin-top: 10px;
}

.krea-referral-button-hero {
  margin-top: 10px;
}

.ai-payment-hero-actions .krea-referral-button {
  align-self: stretch;
}

.external-service-row {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 8px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: inherit;
}

.external-service-name {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.external-service-name img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
}

.external-service-name strong {
  overflow: hidden;
  font-family: "Unbounded", sans-serif;
  font-size: 0.86rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.external-service-row > a {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.external-service-row > a:hover,
.external-service-row > a:focus-visible {
  border-color: var(--lime);
  background: var(--lime);
  color: #050505;
  transform: translateY(-1px);
}

.external-service-row > a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.external-service-row > a svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 760px) {
  .krea-referral-button {
    min-height: 48px;
    padding: 11px 16px;
    font-size: 0.76rem;
  }

  .krea-referral-row .krea-referral-button,
  .ai-payment-hero-actions .krea-referral-button {
    width: 100%;
  }

  .external-service-row {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: clip;
}

body {
  position: relative;
  margin: 0;
  width: 100%;
  min-width: 0;
  max-width: 100vw;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 184, 220, 0.48), transparent 32%),
    radial-gradient(circle at 88% 14%, rgba(191, 244, 255, 0.54), transparent 34%),
    radial-gradient(circle at 52% 92%, rgba(205, 184, 255, 0.52), transparent 42%),
    linear-gradient(135deg, var(--bg-warm) 0%, var(--bg) 48%, var(--bg-cool) 100%);
  background-attachment: fixed;
  background-size: 140% 140%, 150% 150%, 160% 160%, 100% 100%;
  font-family: "DM Sans", system-ui, sans-serif;
  animation: page-bg-wave 22s ease-in-out infinite;
}

body.has-star-intro {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -22%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      transparent 18%,
      rgba(255, 255, 255, 0.3) 42%,
      rgba(183, 255, 42, 0.16) 50%,
      rgba(205, 184, 255, 0.2) 58%,
      transparent 78%
    );
  opacity: 0.32;
  filter: blur(28px);
  transform: translateX(-18%) rotate(2deg);
  animation: site-wave-pass 18s ease-in-out infinite;
}

.star-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--star-intro-bg, #0d0d12);
  color: #fff;
  opacity: 1;
  animation: star-intro-in 360ms ease both;
}

.star-intro::before,
.star-intro::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.star-intro::before {
  inset: -18%;
  background:
    radial-gradient(circle at 50% 64%, var(--star-intro-glow, rgba(183, 255, 42, 0.24)), transparent 28%),
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 82% 20%, rgba(205, 184, 255, 0.16), transparent 22%);
  filter: blur(4px);
}

.star-intro::after {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.42)),
    radial-gradient(circle at 50% 50%, transparent 0 44%, rgba(0, 0, 0, 0.2) 100%);
}

.star-intro.is-leaving {
  pointer-events: none;
  animation: star-intro-out 520ms ease both;
}

.star-intro-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.star-intro-brand {
  position: absolute;
  z-index: 3;
  top: clamp(28px, 5vw, 58px);
  left: clamp(22px, 5vw, 82px);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0;
}

.star-intro-brand b {
  color: var(--lime);
}

.star-intro-copy {
  position: relative;
  z-index: 3;
  width: min(1040px, calc(100% - 56px));
  box-sizing: border-box;
  padding-inline: clamp(10px, 2.2vw, 30px);
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  text-shadow: 0 0 34px rgba(255, 255, 255, 0.18);
  animation: star-copy-in 700ms 120ms ease both;
}

.star-intro-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.star-intro-copy h1 {
  max-width: 100%;
  margin: 0 -0.18em;
  padding: 0.08em 0.18em 0.12em;
  color: #fff;
  background:
    linear-gradient(
      105deg,
      #ffffff 0%,
      #ffffff 30%,
      #ffb8dc 42%,
      #fff2fb 52%,
      #ffffff 64%,
      #ffd7ec 74%,
      #ffffff 100%
    );
  background-size: 230% 100%;
  background-position: 120% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(2rem, 4.7vw, 4.7rem);
  line-height: 0.96;
  overflow-wrap: anywhere;
  text-wrap: balance;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 24px rgba(255, 184, 220, 0.14), 0 0 54px rgba(255, 255, 255, 0.14);
  filter: drop-shadow(0 0 18px rgba(255, 184, 220, 0.2));
  animation: star-title-wave 1900ms ease-in-out infinite;
}

.star-intro-copy span {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 800;
  line-height: 1.32;
}

.star-intro-skip {
  position: absolute;
  z-index: 4;
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(22px, 5vw, 70px);
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-weight: 900;
}

.star-intro-skip:hover {
  background: rgba(255, 255, 255, 0.16);
}

.star-intro-progress {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(26px, 5vw, 76px);
  width: 74px;
  height: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
}

.star-intro-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.86);
  transform-origin: left center;
  animation: star-progress 2800ms linear both;
}

.star-intro-success .star-intro-progress span {
  background: var(--lime);
  animation-duration: 3600ms;
}

.star-intro-success .star-intro-brand b {
  color: #ffd2a6;
}

@keyframes star-intro-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes star-intro-out {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.018);
  }
}

@keyframes star-copy-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes star-title-wave {
  0% {
    background-position: 118% 50%;
    filter: drop-shadow(0 0 16px rgba(255, 184, 220, 0.18));
    text-shadow: 0 0 20px rgba(255, 184, 220, 0.1), 0 0 42px rgba(255, 255, 255, 0.12);
  }

  48% {
    filter: drop-shadow(0 0 30px rgba(255, 184, 220, 0.36));
    text-shadow: 0 0 34px rgba(255, 184, 220, 0.28), 0 0 72px rgba(255, 255, 255, 0.2);
  }

  100% {
    background-position: -118% 50%;
    filter: drop-shadow(0 0 16px rgba(255, 184, 220, 0.18));
    text-shadow: 0 0 20px rgba(255, 184, 220, 0.1), 0 0 42px rgba(255, 255, 255, 0.12);
  }
}

@keyframes star-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .star-intro,
  .star-intro-copy,
  .star-intro-copy h1,
  .star-intro-progress span {
    animation-duration: 0.001ms !important;
  }

  .star-intro-canvas {
    opacity: 0.35;
  }
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

@keyframes page-bg-wave {
  0%,
  100% {
    background-position: 0% 0%, 100% 0%, 50% 100%, 0 0;
  }

  50% {
    background-position: 8% 12%, 92% 18%, 48% 88%, 0 0;
  }
}

@keyframes site-wave-pass {
  0%,
  100% {
    transform: translateX(-28%) rotate(2deg);
    opacity: 0.18;
  }

  45% {
    opacity: 0.34;
  }

  60% {
    transform: translateX(22%) rotate(2deg);
    opacity: 0.28;
  }
}

@keyframes subscription-shell-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
    filter: saturate(0.86);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

@keyframes subscription-piece-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

@keyframes work-announcement-in {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: saturate(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: saturate(1);
  }
}

@keyframes work-announcement-shine {
  0% {
    transform: translateX(-130%) skewX(-14deg);
    opacity: 0;
  }

  18% {
    opacity: 0.7;
  }

  42% {
    transform: translateX(130%) skewX(-14deg);
    opacity: 0;
  }

  100% {
    transform: translateX(130%) skewX(-14deg);
    opacity: 0;
  }
}

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

.platform-shell {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 34px clamp(18px, 4vw, 74px) 138px;
  overflow-x: clip;
}

.topbar {
  position: relative;
  top: auto;
  z-index: 40;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  gap: clamp(12px, 1.3vw, 22px);
  align-items: center;
  margin-bottom: 44px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 58px rgba(91, 65, 150, 0.12);
  backdrop-filter: blur(24px) saturate(1.22);
  -webkit-backdrop-filter: blur(24px) saturate(1.22);
}

.back-to-top-button {
  position: fixed;
  right: clamp(16px, 2.4vw, 34px);
  bottom: clamp(18px, 2.4vw, 32px);
  z-index: 70;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(247, 235, 255, 0.68)),
    radial-gradient(circle at 18% 10%, rgba(183, 255, 42, 0.48), transparent 42%);
  color: var(--text);
  box-shadow: 0 18px 48px rgba(91, 65, 150, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  font-weight: 950;
  backdrop-filter: blur(18px) saturate(1.24);
  -webkit-backdrop-filter: blur(18px) saturate(1.24);
}

.back-to-top-button:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.92), rgba(255, 255, 255, 0.74));
}

.back-to-top-button svg {
  width: 18px;
  height: 18px;
}

body.is-auth-checking .back-to-top-button {
  visibility: hidden;
  opacity: 0;
}

@media (max-width: 760px) {
  .back-to-top-button {
    right: 14px;
    bottom: 92px;
    min-height: 44px;
    padding: 0 12px;
  }

  .back-to-top-button span {
    display: none;
  }
}

.brand,
.ai-dsgn {
  display: inline-flex;
  align-items: center;
  width: max-content;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand {
  gap: 9px;
  padding: 0 6px;
  min-width: max-content;
  flex-wrap: nowrap;
  line-height: 1;
}

.brand-mark {
  flex: 0 0 auto;
  color: var(--violet);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1;
}

.brand-lab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 9px 5px;
  border-radius: 9px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.76rem;
  line-height: 1;
}

.top-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  justify-self: center;
  max-width: 100%;
  gap: 5px;
  padding: 6px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
}

.top-nav a,
.profile-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
}

.top-nav a {
  padding: 0 10px;
  color: rgba(5, 5, 5, 0.64);
  font-size: clamp(0.78rem, 0.86vw, 0.92rem);
  white-space: nowrap;
}

.top-nav a:hover,
.top-nav a.is-current {
  background: var(--glass-strong);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(91, 65, 150, 0.12);
}

.top-nav-update-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px 0 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(5, 5, 5, 0.64);
  font: inherit;
  font-size: clamp(0.72rem, 0.76vw, 0.84rem);
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.top-nav-update-button:hover,
.top-nav-update-button:focus-visible,
.top-nav-update-button[aria-expanded="true"] {
  border-color: rgba(183, 255, 42, 0.42);
  background: var(--glass-strong);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(91, 65, 150, 0.12);
}

.top-nav-update-button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.top-nav-update-button svg {
  width: 16px;
  height: 16px;
}

.top-nav-update-button .updates-checklist-count {
  min-width: 24px;
  min-height: 24px;
  padding: 0 7px;
  font-size: 0.66rem;
}

.profile-pill {
  width: auto;
  flex: 0 0 auto;
  justify-content: center;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.76);
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 18px 44px rgba(91, 65, 150, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.public-auth-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.public-topbar {
  grid-template-columns: minmax(210px, max-content) minmax(420px, 1fr) minmax(300px, max-content);
}

.public-topbar .top-nav {
  width: 100%;
  min-width: 0;
  justify-self: stretch;
  gap: clamp(2px, 0.35vw, 6px);
}

.public-topbar .top-nav a {
  padding: 0 clamp(9px, 0.74vw, 16px);
  font-size: clamp(0.76rem, 0.82vw, 0.9rem);
}

.public-topbar .top-nav a[href="login.html"] {
  display: none;
}

.public-topbar .brand {
  min-width: 0;
  padding-right: clamp(4px, 0.8vw, 12px);
}

.public-auth-actions .profile-pill {
  min-width: 112px;
  max-width: 160px;
}

.public-topbar > .profile-pill {
  justify-self: end;
  min-width: 112px;
  max-width: 160px;
}

.public-auth-actions .profile-pill [data-public-auth-label],
.public-topbar > .profile-pill [data-public-auth-label] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-entry-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.94), rgba(218, 255, 132, 0.76)),
    radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.9), transparent 38%);
  color: var(--text);
  box-shadow:
    0 14px 34px rgba(143, 210, 24, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -8px 18px rgba(114, 169, 18, 0.12);
  font-weight: 900;
  white-space: nowrap;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.platform-entry-pill[hidden] {
  display: none;
}

.platform-entry-pill:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 40px rgba(143, 210, 24, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime-hot);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.72);
}

.lab-hero {
  margin-bottom: 72px;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1fr);
  gap: clamp(28px, 4vw, 68px);
  padding: clamp(42px, 5vw, 76px);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.44)),
    radial-gradient(circle at 14% 14%, rgba(255, 184, 220, 0.42), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(191, 244, 255, 0.5), transparent 34%),
    radial-gradient(circle at 62% 96%, rgba(205, 184, 255, 0.5), transparent 38%);
  border: 1px solid var(--glass-border);
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 34px 110px rgba(91, 65, 150, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(30px) saturate(1.32);
  -webkit-backdrop-filter: blur(30px) saturate(1.32);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 30px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.32), transparent 38%),
    radial-gradient(circle at 8% 100%, rgba(255, 210, 166, 0.26), transparent 36%);
  pointer-events: none;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: 7%;
  top: -24%;
  width: 26%;
  height: 130%;
  border-radius: 42% 58% 48% 52%;
  background: linear-gradient(180deg, rgba(141, 107, 255, 0.48), rgba(255, 184, 220, 0.36), rgba(183, 255, 42, 0.32));
  filter: blur(1px);
  transform: rotate(8deg);
  opacity: 0.78;
  z-index: 1;
}

.hero-copy,
.phone-stage {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.chapter-label {
  margin: 0 0 20px;
  color: inherit;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  font-weight: 700;
  opacity: 0.7;
}

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

h1,
h2,
h3 {
  font-family: "Unbounded", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 5.4vw, 5.4rem);
  line-height: 0.93;
}

.hero-copy > p:not(.chapter-label):not(.hero-subtitle) {
  max-width: 520px;
  margin-bottom: 30px;
  color: var(--text-soft);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
}

.hero-subtitle {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--text-soft);
  font-size: clamp(20px, 2rem, 30px);
  font-weight: 700;
  line-height: 1.25;
}

.hero-price {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-left: 8px;
  padding: 6px 14px 7px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.92), rgba(218, 255, 132, 0.72)),
    radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.9), transparent 36%);
  color: var(--text);
  box-shadow:
    0 14px 34px rgba(143, 210, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -8px 18px rgba(114, 169, 18, 0.14);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  font-weight: 900;
}

.hero-button {
  min-width: 300px;
  min-height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.5)),
    radial-gradient(circle at 12% 0%, rgba(255, 184, 220, 0.38), transparent 42%);
  color: var(--text);
  box-shadow: 0 18px 44px rgba(91, 65, 150, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  font-size: 1.04rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(183, 255, 42, 0.34)),
    radial-gradient(circle at 92% 0%, rgba(141, 107, 255, 0.24), transparent 42%);
  box-shadow: 0 22px 60px rgba(91, 65, 150, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.phone-stage {
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.phone-frame {
  position: absolute;
  top: -24px;
  right: 13%;
  width: min(330px, 46%);
  aspect-ratio: 0.52;
  padding: 10px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 48px;
  background: #050505;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 35%, rgba(186, 255, 0, 0.5), transparent 22%),
    radial-gradient(circle at 63% 46%, rgba(139, 92, 246, 0.55), transparent 22%),
    #000;
  text-align: center;
  overflow: hidden;
}

.phone-screen span {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-style: italic;
  font-weight: 800;
  line-height: 0.7;
}

.phone-screen strong {
  width: max-content;
  margin: 4px auto 0;
  padding: 0 12px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  font-style: italic;
  line-height: 1.05;
}

.phone-screen small {
  margin-top: 10px;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

.feature-stack {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 14px;
  width: min(650px, 100%);
}

.feature-stack div {
  min-height: 166px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 18px 46px rgba(91, 65, 150, 0.16);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  font-weight: 900;
  line-height: 1.06;
  overflow-wrap: anywhere;
  word-break: normal;
}

.feature-stack svg {
  width: 30px;
  height: 30px;
  color: var(--purple);
}

.resources-head {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 0.65fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 38px;
}

.resources-head h2,
.library-toolbar h2,
.hub-toolbar h2,
.account-preview h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.94;
}

.authors-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.avatar-pair {
  display: flex;
}

.avatar-pair span {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 5px solid var(--lavender);
  border-radius: 50%;
  background: #e4e6ff;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
}

.avatar-pair span + span {
  margin-left: -16px;
  background: var(--panel);
  color: #fff;
}

.authors-note p {
  margin: 0;
  padding: 20px 24px;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-soft);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(22px) saturate(1.24);
  -webkit-backdrop-filter: blur(22px) saturate(1.24);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.18;
}

.prompt-library {
  margin-bottom: 88px;
}

.platform-hub {
  margin-bottom: 138px;
}

.hub-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 34px;
  align-items: end;
  margin-bottom: 40px;
}

.hub-toolbar > p {
  margin: 0;
  color: rgba(5, 5, 5, 0.62);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}

.resources-head > *,
.hub-toolbar > *,
.subpage-copy,
.subpage-aside,
.subpage-section-head > *,
.section-material-card,
.tool-lane {
  min-width: 0;
}

.global-sections-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 2.6vw, 38px);
}

.platform-card {
  position: relative;
  min-width: 0;
  min-height: 468px;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 3.4vw, 56px);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.34)),
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.68), transparent 28%),
    radial-gradient(circle at 15% 10%, rgba(255, 184, 220, 0.36), transparent 36%),
    radial-gradient(circle at 92% 18%, rgba(191, 244, 255, 0.42), transparent 32%),
    radial-gradient(circle at 80% 92%, rgba(205, 184, 255, 0.48), transparent 38%);
  border: 1px solid rgba(255, 255, 255, 0.76);
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 30px 88px rgba(91, 65, 150, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -28px 70px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(30px) saturate(1.34);
  -webkit-backdrop-filter: blur(30px) saturate(1.34);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.platform-card::before {
  content: "";
  position: absolute;
  right: -92px;
  bottom: -116px;
  z-index: 0;
  width: 320px;
  height: 320px;
  border-radius: 42% 58% 48% 52%;
  background: linear-gradient(135deg, rgba(141, 107, 255, 0.42), rgba(255, 184, 220, 0.34));
  filter: blur(1px);
  opacity: 0.88;
  pointer-events: none;
}

.platform-card::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 30px;
  right: 34px;
  z-index: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.08), rgba(141, 107, 255, 0.18));
  pointer-events: none;
}

.platform-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 40px 120px rgba(91, 65, 150, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.platform-card > * {
  position: relative;
  z-index: 1;
}

.platform-card > svg {
  position: absolute;
  z-index: 1;
  top: 34px;
  right: 36px;
  width: 48px;
  height: 48px;
  color: var(--purple);
  filter: drop-shadow(0 10px 24px rgba(141, 107, 255, 0.22));
}

.platform-card h3 {
  max-width: min(100%, 760px);
  margin: clamp(24px, 2vw, 34px) 0 clamp(18px, 1.4vw, 26px);
  padding-right: 70px;
  font-family: "DM Sans", "Inter", sans-serif;
  font-size: clamp(2.75rem, 3.85rem, 4.25rem);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

.platform-card p {
  max-width: 620px;
  margin: 0 0 clamp(22px, 2.2vw, 34px);
  color: var(--text-soft);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.38;
}

.platform-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  max-width: 760px;
  margin: 0 0 clamp(30px, 2.8vw, 42px);
  padding: 0;
  list-style: none;
}

.platform-card li,
.tool-badges span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 38px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.64);
  color: var(--text-soft);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 12px 32px rgba(91, 65, 150, 0.14);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.15;
}

.platform-card .tag {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.54);
  color: var(--muted);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 12px 30px rgba(91, 65, 150, 0.12);
  backdrop-filter: blur(18px) saturate(1.32);
  -webkit-backdrop-filter: blur(18px) saturate(1.32);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 800;
}

.hub-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-height: 54px;
  margin-top: auto;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  box-shadow:
    0 18px 44px rgba(91, 65, 150, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hub-open:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 46px rgba(91, 65, 150, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.platform-card.is-coming-soon {
  cursor: default;
}

.platform-card.is-coming-soon:hover {
  transform: none;
  border-color: rgba(183, 255, 42, 0.28);
  box-shadow:
    0 30px 88px rgba(91, 65, 150, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -28px 70px rgba(255, 255, 255, 0.22);
}

.hub-soon-flag {
  width: max-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid rgba(183, 255, 42, 0.5);
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.12);
  color: var(--lime-hot);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(183, 255, 42, 0.12);
}

.hub-soon-flag svg {
  width: 18px;
  height: 18px;
}

.telegram-hub-open {
  gap: 9px;
  border-color: rgba(42, 171, 238, 0.45);
  background: #2aabee;
  color: #fff;
  box-shadow:
    0 16px 36px rgba(42, 171, 238, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.telegram-hub-open:hover {
  background: #fff;
  color: #1a8ec8;
  box-shadow:
    0 18px 42px rgba(42, 171, 238, 0.24),
    0 0 28px rgba(42, 171, 238, 0.18);
}

.hub-open-muted {
  pointer-events: none;
  background: rgba(255, 255, 255, 0.32);
  color: rgba(21, 18, 25, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hub-open svg {
  width: 18px;
  height: 18px;
}

.platform-card-video,
.platform-card-client {
  grid-column: span 6;
}

.platform-card-llm {
  grid-column: span 4;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.4)),
    radial-gradient(circle at 20% 14%, rgba(205, 184, 255, 0.42), transparent 34%),
    radial-gradient(circle at 92% 20%, rgba(255, 184, 220, 0.32), transparent 34%);
}

.platform-card-prompts {
  grid-column: span 5;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.4)),
    radial-gradient(circle at 16% 16%, rgba(183, 255, 42, 0.26), transparent 30%),
    radial-gradient(circle at 92% 22%, rgba(191, 244, 255, 0.42), transparent 34%);
}

.platform-card-terms {
  grid-column: span 3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.44)),
    radial-gradient(circle at 18% 18%, rgba(255, 210, 166, 0.48), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(205, 184, 255, 0.44), transparent 34%);
}

.platform-card-client::before {
  background: linear-gradient(135deg, rgba(141, 107, 255, 0.46), rgba(191, 244, 255, 0.32));
}

.platform-card-llm::before {
  background: linear-gradient(135deg, rgba(255, 184, 220, 0.42), rgba(205, 184, 255, 0.42));
}

.platform-card-links {
  grid-column: span 4;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.4)),
    radial-gradient(circle at 18% 16%, rgba(191, 244, 255, 0.4), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(183, 255, 42, 0.24), transparent 32%);
}

.platform-card-links::before {
  background: linear-gradient(135deg, rgba(191, 244, 255, 0.38), rgba(183, 255, 42, 0.3));
}

.platform-card-prompts::before {
  width: 280px;
  background: linear-gradient(135deg, rgba(183, 255, 42, 0.34), rgba(141, 107, 255, 0.38));
}

.platform-card-terms::before {
  background: linear-gradient(135deg, rgba(255, 210, 166, 0.45), rgba(255, 184, 220, 0.36));
}

.tool-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}

.tool-badges span {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--text-soft);
}

.hub-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hub-utility a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.54);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 30px rgba(91, 65, 150, 0.12);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hub-utility a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(91, 65, 150, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hub-utility svg {
  width: 21px;
  height: 21px;
}

.hub-subpage {
  background: var(--lavender);
}

.glossary-page {
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 184, 220, 0.48), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(183, 255, 42, 0.2), transparent 24%),
    linear-gradient(135deg, #cdb8ff 0%, #efe8ff 52%, #dff7ff 100%);
}

.glossary-main {
  padding: clamp(38px, 7vw, 96px) 0 110px;
}

.glossary-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(26px, 6vw, 92px);
  align-items: end;
  margin-bottom: clamp(42px, 7vw, 86px);
}

.glossary-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--text);
  font-size: clamp(3.3rem, 7vw, 7.6rem);
  line-height: 0.88;
}

.glossary-hero > p {
  margin: 0 0 0.4rem;
  color: rgba(33, 26, 47, 0.7);
  font-size: clamp(1.08rem, 1.5vw, 1.48rem);
  font-weight: 900;
  line-height: 1.34;
}

.terms-library {
  max-width: 1180px;
}

.terms-section-title {
  margin: 0 0 22px;
  color: rgba(33, 26, 47, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.terms-list {
  margin: 0;
}

.term-entry {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 72px);
  padding: clamp(24px, 3.4vw, 42px) 0;
  border-top: 1px solid rgba(33, 26, 47, 0.16);
}

.term-entry:last-child {
  border-bottom: 1px solid rgba(33, 26, 47, 0.16);
}

.term-entry dt {
  margin: 0;
}

.term-name {
  display: block;
  color: var(--lime);
  font-size: clamp(1.7rem, 3vw, 3.45rem);
  font-weight: 950;
  line-height: 0.98;
}

.term-entry:nth-child(3n + 2) .term-name {
  color: #ff5adf;
}

.term-entry:nth-child(3n + 3) .term-name {
  color: #7b4dff;
}

.term-translation {
  display: block;
  margin-top: 10px;
  color: rgba(33, 26, 47, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.28;
}

.term-entry dd {
  margin: 0;
  color: rgba(33, 26, 47, 0.78);
  font-size: clamp(1.05rem, 1.42vw, 1.38rem);
  font-weight: 800;
  line-height: 1.46;
}

.term-entry p {
  margin: 0;
}

.term-entry p + p,
.term-entry p + ul,
.term-entry ul + p {
  margin-top: 14px;
}

.term-entry ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.1em;
}

.term-entry li::marker {
  color: var(--lime);
}

.term-example {
  color: rgba(33, 26, 47, 0.56);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92em;
  font-weight: 700;
}

.subpage-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: clamp(24px, 5vw, 78px);
  align-items: end;
  margin-bottom: 28px;
  padding: clamp(30px, 5vw, 66px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 18% 30%, rgba(186, 255, 0, 0.16), transparent 22rem),
    radial-gradient(circle at 76% 20%, rgba(139, 92, 246, 0.28), transparent 30rem),
    #050505;
  background-size: 120px 120px, 120px 120px, auto, auto, auto;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.subpage-hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: -18%;
  width: 18%;
  height: 116%;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(186, 255, 0, 0.92), rgba(139, 92, 246, 0.86));
  opacity: 0.74;
  transform: rotate(9deg);
}

.subpage-copy,
.subpage-aside {
  position: relative;
  z-index: 2;
}

.subpage-copy h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 4.2vw, 4.4rem);
  line-height: 0.9;
  overflow-wrap: break-word;
}

.subpage-copy > p:not(.chapter-label) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.28;
}

.subpage-aside {
  display: grid;
  gap: 12px;
}

.subpage-aside span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 20px;
  background: rgba(133, 141, 210, 0.74);
  color: #fff;
  font-weight: 900;
}

.subpage-section {
  margin: 28px 0 88px;
}

.subpage-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 22px;
  align-items: end;
  margin-bottom: 18px;
}

.subpage-section-head h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  line-height: 0.94;
}

.subpage-section-head p {
  margin: 0;
  color: rgba(5, 5, 5, 0.62);
  font-weight: 900;
  line-height: 1.28;
}

.section-material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.section-material-card {
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #171717;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.section-material-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -46px;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--lime), var(--purple));
  opacity: 0.86;
  transform: rotate(-14deg);
}

.section-material-card:hover {
  transform: translateY(-4px);
}

.section-material-card small {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.52);
  font-weight: 900;
  text-transform: uppercase;
}

.section-material-card h3 {
  position: relative;
  z-index: 2;
  margin: auto 0 18px;
  font-size: clamp(1.65rem, 2.4vw, 2.75rem);
  line-height: 0.96;
}

.section-material-card p {
  position: relative;
  z-index: 2;
  max-width: 92%;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.3;
}

.section-material-card .hub-open {
  position: relative;
  z-index: 2;
}

.section-material-card.is-placeholder {
  background: #f7f7fb;
  color: var(--ink);
}

.section-material-card.is-placeholder::after {
  background: rgba(139, 92, 246, 0.3);
}

.section-material-card.is-placeholder small,
.section-material-card.is-placeholder p {
  color: rgba(5, 5, 5, 0.58);
}

.section-material-card.is-soon {
  background:
    linear-gradient(145deg, rgba(19, 19, 22, 0.94), rgba(27, 24, 33, 0.9)),
    radial-gradient(circle at 88% 20%, rgba(168, 255, 30, 0.1), transparent 34%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  cursor: default;
  filter: saturate(0.58);
  opacity: 0.68;
}

.section-material-card.is-soon::after {
  background: rgba(255, 255, 255, 0.16);
  opacity: 0.38;
}

.section-material-card.is-soon:hover {
  transform: none;
}

.section-material-card.is-soon .section-material-cover img {
  filter: grayscale(0.22) brightness(0.78);
}

.section-material-card.is-soon small,
.section-material-card.is-soon h3,
.section-material-card.is-soon p {
  color: rgba(255, 255, 255, 0.72);
}

.soon-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 8px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.section-material-card.is-soon .hub-open-muted {
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  box-shadow: none;
}

.paid-lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.paid-lesson-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(91, 65, 150, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.paid-lesson-card:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 255, 42, 0.58);
  box-shadow: 0 24px 54px rgba(91, 65, 150, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.paid-lesson-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: rgba(23, 23, 23, 0.12);
}

.paid-lesson-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.paid-lesson-card small {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.paid-lesson-card h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.06;
}

.paid-lesson-card p {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-weight: 800;
  line-height: 1.32;
}

.paid-lesson-card .hub-open {
  min-height: 42px;
  margin-top: auto;
  padding: 0 15px;
  font-size: 0.9rem;
}

.paid-lesson-card-featured {
  border-color: rgba(183, 255, 42, 0.34);
  background:
    radial-gradient(circle at 88% 12%, rgba(183, 255, 42, 0.2), transparent 30%),
    linear-gradient(145deg, rgba(12, 12, 14, 0.96), rgba(24, 22, 34, 0.94));
  color: #fff;
}

.paid-lesson-card-featured img {
  aspect-ratio: 4 / 3;
}

.paid-lesson-card-featured small,
.paid-lesson-card-featured p {
  color: rgba(255, 255, 255, 0.68);
}

.paid-lesson-card-featured .hub-open {
  background: var(--lime);
  color: #050505;
}

.prompting-lesson-page {
  background:
    radial-gradient(circle at 8% 6%, rgba(183, 255, 42, 0.12), transparent 26%),
    radial-gradient(circle at 92% 18%, rgba(141, 107, 255, 0.12), transparent 28%),
    #050505;
  color: #fff;
}

.prompting-lesson {
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  padding-bottom: 96px;
}

.prompting-hero,
.prompting-section {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    repeating-linear-gradient(90deg, rgba(183, 255, 42, 0.06) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(191, 244, 255, 0.04) 0 1px, transparent 1px 64px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 26px 78px rgba(0, 0, 0, 0.24);
}

.prompting-hero {
  min-height: min(720px, calc(100vh - 144px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  padding: clamp(28px, 5vw, 72px);
}

.prompting-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.prompting-hero-copy h1,
.prompting-section-intro h2 {
  margin: 0;
  color: #fff;
  font-family: "Unbounded", "Inter", system-ui, sans-serif;
  letter-spacing: 0;
}

.prompting-hero-copy h1 {
  max-width: min(100%, 820px);
  font-size: clamp(2.7rem, 6.2vw, 5.8rem);
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.prompting-hero-copy > p:not(.chapter-label) {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  font-weight: 800;
  line-height: 1.42;
}

.prompting-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.prompting-hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  align-self: end;
}

.prompting-hero-panel span {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(183, 255, 42, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.prompting-section {
  padding: clamp(24px, 4vw, 48px);
}

.prompting-section-intro {
  max-width: 720px;
}

.prompting-section-intro.is-wide {
  max-width: 980px;
}

.prompting-section-intro h2 {
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 0.96;
}

.prompting-section-intro > p:not(.chapter-label) {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  font-weight: 750;
  line-height: 1.5;
}

.prompting-benefit-grid,
.prompting-structure-grid,
.prompting-token-grid,
.prompting-param-grid,
.prompting-checklist-list {
  display: grid;
  gap: 14px;
}

.prompting-benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.prompting-benefit-grid article,
.prompting-structure-grid article,
.prompting-token-grid article,
.prompting-param-grid article,
.prompting-checklist-list article,
.prompting-full-prompt {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(15, 15, 17, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.prompting-benefit-grid article {
  min-height: 220px;
  padding: 20px;
}

.prompting-benefit-grid svg {
  width: 28px;
  height: 28px;
  color: var(--lime);
}

.prompting-benefit-grid h3,
.prompting-structure-grid h3,
.prompting-token-grid h3,
.prompting-param-grid h3,
.prompting-checklist-list h3 {
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  line-height: 1.08;
}

.prompting-benefit-grid p,
.prompting-structure-grid p,
.prompting-token-grid p,
.prompting-param-grid p,
.prompting-checklist-list p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
  line-height: 1.42;
}

.prompting-structure-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
}

.prompting-structure-grid article {
  padding: 20px;
}

.prompting-structure-grid span,
.prompting-example-steps span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: #050505;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 900;
}

.prompting-example {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1fr);
  gap: 18px;
  align-items: start;
}

.prompting-example-copy {
  grid-column: 1 / -1;
  max-width: 860px;
}

.prompting-example-copy h2 {
  margin: 0;
  color: #fff;
  font-family: "Unbounded", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 0.96;
}

.prompting-example-copy > p:not(.chapter-label) {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 750;
  line-height: 1.5;
}

.prompting-example-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: #101012;
}

.prompting-example-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
}

.prompting-example-steps {
  display: grid;
  gap: 10px;
}

.prompting-example-steps article {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(15, 15, 17, 0.88);
}

.prompting-example-steps h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.14;
}

.prompting-example-steps p {
  grid-column: 2;
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.38;
}

.prompting-full-prompt {
  grid-column: 1 / -1;
  padding: 20px;
}

.prompting-full-prompt > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.prompting-full-prompt pre {
  width: 100%;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgba(255, 255, 255, 0.84);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.52;
}

.prompting-token-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.prompting-token-grid article {
  padding: 20px;
}

.prompting-token-grid h3 {
  color: var(--lime);
}

.prompting-token-grid p,
.prompting-checklist-list p {
  color: rgba(255, 255, 255, 0.74);
}

.prompting-param-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.prompting-param-grid article {
  min-height: 210px;
  padding: 20px;
}

.prompting-param-grid article.is-accent {
  background:
    radial-gradient(circle at 88% 10%, rgba(183, 255, 42, 0.18), transparent 34%),
    rgba(183, 255, 42, 0.1);
  border-color: rgba(183, 255, 42, 0.28);
}

.prompting-param-grid small {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.05rem;
  font-weight: 900;
}

.prompting-checklist-list {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 28px;
}

.prompting-checklist-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
  gap: 14px;
  padding: 20px;
}

.prompting-checklist-list span {
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: end;
  align-self: start;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 900;
}

.prompting-checklist-list h3,
.prompting-checklist-list p {
  grid-column: 1;
}

@media (min-width: 1520px) {
  .paid-lesson-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.prompts-styles-page .subpage-hero {
  min-height: 300px;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.4fr);
  align-items: center;
  margin-bottom: 18px;
  padding: clamp(24px, 3.2vw, 42px);
  background:
    linear-gradient(rgba(36, 29, 58, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 29, 58, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 18% 28%, rgba(183, 255, 42, 0.22), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(230, 216, 255, 0.82));
  background-size: 120px 120px, 120px 120px, auto, auto;
  color: var(--ink);
}

.prompts-styles-page .subpage-hero::after {
  right: 7%;
  top: -24%;
  width: 12%;
  height: 132%;
  opacity: 0.82;
}

.prompts-styles-page .subpage-copy h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 4.15vw, 4.9rem);
}

.prompts-styles-page .subpage-copy > p:not(.chapter-label) {
  max-width: 600px;
  color: rgba(36, 29, 58, 0.72);
  font-size: clamp(0.96rem, 1vw, 1.05rem);
}

.prompts-styles-page .subpage-aside {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.prompts-styles-page .subpage-aside span {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
  color: rgba(36, 29, 58, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.prompts-styles-page .subpage-section {
  margin: 20px 0 76px;
}

.prompts-styles-page .section-material-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.prompts-styles-page .section-material-card {
  height: 100%;
  min-height: 260px;
  padding: 22px;
}

.prompts-styles-page .prompt-collection-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    #141416;
}

.prompts-styles-page .prompt-collection-card.is-new-collection {
  border-color: rgba(255, 184, 220, 0.78);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 184, 220, 0.32), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(141, 107, 255, 0.26), transparent 38%),
    linear-gradient(145deg, rgba(255, 94, 214, 0.2), rgba(34, 22, 51, 0.94)),
    #211633;
  box-shadow:
    0 0 0 1px rgba(255, 184, 220, 0.18),
    0 24px 68px rgba(255, 94, 214, 0.2),
    0 0 36px rgba(255, 184, 220, 0.18);
}

.prompts-styles-page .prompt-collection-card.is-new-collection:hover {
  border-color: var(--pink);
  box-shadow:
    0 0 0 1px rgba(255, 184, 220, 0.34),
    0 30px 78px rgba(255, 94, 214, 0.3),
    0 0 46px rgba(255, 184, 220, 0.28);
}

.prompts-styles-page .prompt-collection-card.is-new-collection > small {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.new-collection-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: var(--pink);
  color: var(--text);
  box-shadow: 0 0 24px rgba(255, 184, 220, 0.55);
  font-weight: 950;
}

.prompts-styles-page .prompt-collection-card::after {
  display: none;
}

.prompt-collection-chapters {
  display: grid;
  gap: clamp(34px, 5vw, 66px);
}

.prompt-collection-chapter {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  min-width: 0;
}

.prompt-collection-chapter-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(36, 29, 58, 0.16);
}

.prompt-collection-chapter-head p,
.prompt-collection-chapter-head h2 {
  margin: 0;
}

.prompt-collection-chapter-head p,
.prompt-collection-chapter-head span {
  color: rgba(36, 29, 58, 0.56);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.prompt-collection-chapter-head h2 {
  margin-top: 8px;
  color: var(--text);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.3rem, 4.6vw, 5.1rem);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
}

.prompt-collection-chapter-head span {
  flex: 0 0 auto;
  padding-left: 16px;
  border-left: 1px solid rgba(36, 29, 58, 0.18);
}

.prompt-collection-chapter-head .prompt-collection-subtitle {
  margin-top: 10px;
  color: rgba(36, 29, 58, 0.58);
  font-size: 0.86rem;
  line-height: 1.15;
  text-transform: none;
}

.prompt-midjourney-grid .prompt-collection-card,
.prompt-krea-grid .prompt-collection-card {
  border-color: rgba(183, 255, 42, 0.18);
  background:
    radial-gradient(circle at 84% 10%, rgba(183, 255, 42, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    #141416;
}

.prompt-featured-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: stretch;
  max-width: 1480px;
  margin: clamp(40px, 5vw, 56px) auto;
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 14%, rgba(183, 255, 42, 0.18), transparent 29%),
    radial-gradient(circle at 90% 82%, rgba(127, 70, 245, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(15, 15, 17, 0.98), rgba(28, 24, 38, 0.96));
  color: #fff;
  overflow: hidden;
  box-shadow: 0 28px 74px rgba(36, 29, 58, 0.22);
}

.prompt-featured-media {
  position: relative;
  order: 2;
  min-height: 280px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(183, 255, 42, 0.1), transparent 38%),
    #111114;
}

.prompt-featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.prompt-featured-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.prompt-featured-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(8px, 2vw, 24px);
}

.prompt-featured-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.prompt-featured-content h2 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 2.85vw, 2.72rem);
  line-height: 0.96;
}

.prompt-featured-content > p:not(.prompt-featured-label) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
  font-weight: 700;
  line-height: 1.38;
}

.prompt-featured-password {
  width: max-content;
  max-width: 100%;
  min-height: 46px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(183, 255, 42, 0.46);
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.1);
  color: #fff;
  font: inherit;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(183, 255, 42, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.prompt-featured-password span,
.prompt-featured-password strong {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  line-height: 1.1;
}

.prompt-featured-password span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.prompt-featured-password strong {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.prompt-featured-password svg {
  width: 18px;
  height: 18px;
  color: var(--lime);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.prompt-featured-password:hover,
.prompt-featured-password:focus-visible,
.prompt-featured-password.is-copied {
  border-color: rgba(183, 255, 42, 0.8);
  background: rgba(183, 255, 42, 0.16);
  box-shadow: 0 18px 42px rgba(183, 255, 42, 0.18);
  transform: translateY(-1px);
}

.prompt-featured-password:hover svg,
.prompt-featured-password:focus-visible svg,
.prompt-featured-password.is-copied svg {
  opacity: 1;
  transform: translateX(0);
}

.prompt-featured-cta {
  min-height: 58px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: #050505;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 20px 48px rgba(183, 255, 42, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.prompt-featured-cta svg {
  width: 20px;
  height: 20px;
}

.prompt-featured-cta:hover,
.prompt-featured-cta:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 24px 58px rgba(183, 255, 42, 0.34);
}

.prompt-archive-showcase {
  max-width: 1480px;
  margin: clamp(40px, 5vw, 64px) auto;
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 9% 8%, rgba(255, 91, 174, 0.18), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(183, 255, 42, 0.14), transparent 25%),
    linear-gradient(145deg, rgba(15, 15, 17, 0.98), rgba(28, 24, 38, 0.96));
  color: #fff;
  box-shadow: 0 28px 74px rgba(36, 29, 58, 0.22);
}

.prompt-archive-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.prompt-archive-head > div:first-child {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.prompt-archive-head h2 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.92;
  text-wrap: balance;
}

.prompt-archive-head > div:first-child > p:not(.prompt-featured-label) {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.96rem, 1.15vw, 1.1rem);
  font-weight: 650;
  line-height: 1.45;
}

.prompt-archive-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 10px;
  margin: 0;
}

.prompt-archive-stats div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.prompt-archive-stats dt {
  color: var(--lime);
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
  font-weight: 950;
  line-height: 1;
}

.prompt-archive-stats dd {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.prompt-workflow-guide {
  display: grid;
  gap: 28px;
  margin: 0 0 22px;
  padding: 10px 0 32px;
  border-bottom: 1px solid rgba(36, 29, 58, 0.14);
  color: var(--ink);
  scroll-margin-top: 24px;
}

.prompt-workflow-guide-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.prompt-workflow-guide-copy {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.prompt-workflow-guide-copy h2 {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: 4.75rem;
  line-height: 0.94;
  text-wrap: balance;
}

.prompt-workflow-guide-copy > p:last-child {
  max-width: 900px;
  margin: 0;
  color: rgba(36, 29, 58, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.48;
}

.prompt-workflow-guide-media {
  min-width: 0;
  margin: 0;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(36, 29, 58, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.prompt-workflow-guide-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.prompt-workflow-guide-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-top: 26px;
  border-top: 1px solid rgba(36, 29, 58, 0.1);
}

.prompt-workflow-guide-note {
  display: grid;
  gap: 14px;
}

.prompt-workflow-guide-note strong {
  color: var(--purple);
  font-family: "Unbounded", sans-serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

.prompt-workflow-guide-note p,
.prompt-workflow-steps p {
  margin: 0;
  color: rgba(36, 29, 58, 0.7);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.46;
}

.prompt-workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.prompt-workflow-steps article {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 11px;
  padding-left: 18px;
  border-left: 2px solid rgba(183, 255, 42, 0.42);
}

.prompt-workflow-steps span {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
}

.prompt-workflow-steps h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.prompt-library-stats {
  width: min(100%, 610px);
  margin: 24px 0 30px;
}

.prompt-library-stats div {
  border-color: rgba(36, 29, 58, 0.14);
  background: rgba(36, 29, 58, 0.07);
}

.prompt-workflow-guide .prompt-featured-label {
  color: rgba(36, 29, 58, 0.52);
}

.prompt-library-stats dd {
  color: rgba(36, 29, 58, 0.58);
}

.prompts-styles-page .prompt-archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prompts-styles-page .prompt-archive-grid .prompt-collection-card {
  min-height: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.prompts-styles-page .prompt-archive-grid .prompt-collection-card:hover,
.prompts-styles-page .prompt-archive-grid .prompt-collection-card:focus-visible {
  border-color: rgba(255, 91, 174, 0.72);
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 91, 174, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #171318;
  box-shadow: 0 24px 64px rgba(255, 91, 174, 0.18);
  transform: translateY(-3px);
}

.prompts-styles-page .section-material-cover {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.prompts-styles-page .prompt-collection-card .section-material-cover {
  aspect-ratio: 4 / 3;
  margin: 14px 0 16px;
}

.prompts-styles-page .section-material-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.prompts-styles-page .prompt-collection-card h3 {
  margin: 0 0 12px;
}

.prompts-styles-page .section-material-card h3 {
  margin: auto 0 14px;
  font-size: clamp(1.25rem, 1.55vw, 2rem);
}

.prompts-styles-page .section-material-card p {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.help-prompts-note {
  margin: 0 0 16px;
  border: 1px solid rgba(183, 255, 42, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 18%, rgba(183, 255, 42, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(15, 15, 17, 0.96), rgba(27, 24, 35, 0.94));
  color: #fff;
  box-shadow: 0 22px 58px rgba(36, 29, 58, 0.16);
  overflow: hidden;
}

.help-prompts-note > summary {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "kicker title toggle"
    "desc desc desc";
  column-gap: 16px;
  row-gap: 10px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.help-prompts-note > summary::-webkit-details-marker,
.help-prompt-item details > summary::-webkit-details-marker {
  display: none;
}

.help-prompts-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(183, 255, 42, 0.42);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.1);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.help-prompts-kicker {
  grid-area: kicker;
}

.help-prompts-note > summary strong {
  grid-area: title;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  line-height: 1.08;
}

.help-prompts-note > summary em {
  grid-area: desc;
  max-width: 860px;
  color: rgba(255, 255, 255, 0.66);
  font-style: normal;
  font-weight: 600;
  line-height: 1.34;
}

.help-prompts-toggle {
  grid-area: toggle;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--lime);
  color: #050505;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 16px 38px rgba(183, 255, 42, 0.22);
}

.help-prompts-note[open] .help-prompts-toggle {
  background: #fff;
  font-size: 0;
}

.help-prompts-note[open] .help-prompts-toggle::after {
  content: "Свернуть";
  font-size: 0.95rem;
}

.help-prompts-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 0 18px 18px;
}

.help-prompts-group {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.help-prompts-group-identity {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.help-prompts-group-upscale {
  padding: 0;
  border: 0;
  background: transparent;
}

.help-prompts-group h3 {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.58);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.help-prompt-item {
  min-width: 0;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 12%, rgba(183, 255, 42, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.048));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
  animation: helpPromptFadeUp 0.42s ease both;
}

.help-prompt-item:nth-of-type(3n + 2) {
  background:
    radial-gradient(circle at 92% 12%, rgba(124, 58, 237, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.044));
}

.help-prompt-item:nth-of-type(3n + 3) {
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 184, 220, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.042));
}

.help-prompt-item:hover,
.help-prompt-item:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 184, 220, 0.5);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 184, 220, 0.24), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(183, 255, 42, 0.14), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.058));
  box-shadow:
    0 18px 44px rgba(255, 184, 220, 0.16),
    0 0 0 1px rgba(183, 255, 42, 0.08) inset;
}

.help-prompt-item:nth-of-type(3n + 1):hover,
.help-prompt-item:nth-of-type(3n + 1):focus-within {
  border-color: rgba(183, 255, 42, 0.44);
  box-shadow:
    0 18px 44px rgba(183, 255, 42, 0.14),
    0 0 0 1px rgba(183, 255, 42, 0.12) inset;
}

.help-prompt-item:nth-of-type(3n + 2):hover,
.help-prompt-item:nth-of-type(3n + 2):focus-within {
  border-color: rgba(124, 58, 237, 0.54);
  box-shadow:
    0 18px 44px rgba(124, 58, 237, 0.2),
    0 0 0 1px rgba(205, 184, 255, 0.12) inset;
}

.help-prompt-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 48px;
}

.help-prompt-row span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(183, 255, 42, 0.12);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.help-prompt-item:hover .help-prompt-row span,
.help-prompt-item:focus-within .help-prompt-row span {
  background: var(--lime);
  color: #050505;
  box-shadow: 0 0 26px rgba(183, 255, 42, 0.28);
}

.help-prompt-row strong {
  min-width: 0;
  min-height: 2.28em;
  display: -webkit-box;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.12;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.help-prompt-copy.copy-prompt {
  position: static;
  width: 40px;
  height: 40px;
  border-color: rgba(255, 255, 255, 0.26);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
}

.help-prompt-copy.copy-prompt:hover,
.help-prompt-copy.copy-prompt.is-copied {
  border-color: rgba(183, 255, 42, 0.58);
  background: var(--lime);
  color: #050505;
  box-shadow: 0 16px 34px rgba(183, 255, 42, 0.22);
}

.help-prompt-actions {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 10px;
  align-items: start;
  margin-top: auto;
}

.help-prompt-item details {
  position: relative;
  min-width: 0;
  margin-top: 0;
}

.help-prompt-item details > summary {
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.help-prompt-item details[open] {
  margin-top: 0;
}

.help-prompt-item details[open] > summary {
  background: rgba(183, 255, 42, 0.12);
  color: var(--lime);
}

.help-prompt-item details[open]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 8px;
  bottom: 0;
  height: 28px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(to bottom, rgba(19, 19, 22, 0), rgba(19, 19, 22, 0.94));
  pointer-events: none;
}

.help-prompt-item pre {
  max-height: 340px;
  margin: 10px 0 0;
  padding: 12px 14px 30px;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 12px;
  background: rgba(5, 5, 5, 0.42);
  color: rgba(255, 255, 255, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.42;
  scrollbar-color: rgba(183, 255, 42, 0.28) rgba(255, 255, 255, 0.055);
  scrollbar-width: thin;
  white-space: pre-wrap;
}

.help-prompt-item pre::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.help-prompt-item pre::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.help-prompt-item pre::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.help-prompt-item pre::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.28);
}

.help-prompt-item pre::-webkit-scrollbar-thumb:hover {
  background: rgba(183, 255, 42, 0.46);
}

.help-prompts-text-block {
  grid-column: 1 / -1;
  max-width: 1080px;
  display: grid;
  gap: 7px;
  padding: 4px 2px 6px;
  color: rgba(255, 255, 255, 0.72);
  animation: helpPromptFadeUp 0.42s ease both;
}

.help-prompts-text-block h4 {
  margin: 0 0 4px;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.45rem);
  line-height: 1.08;
}

.help-prompts-text-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 500;
  line-height: 1.42;
}

.help-prompts-text-block b {
  color: var(--lime);
  font-weight: 950;
  text-shadow: 0 0 18px rgba(183, 255, 42, 0.18);
}

.help-prompts-text-block code {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 0.86em;
  font-weight: 700;
  line-height: 1.25;
}

.help-prompts-warning {
  max-width: 1180px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.8);
}

@keyframes helpPromptFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@media (max-width: 920px) {
  .prompt-featured-showcase {
    grid-template-columns: 1fr;
    margin: clamp(40px, 8vw, 56px) 0;
  }

  .prompt-featured-media {
    order: 1;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .prompt-featured-content {
    order: 2;
  }

  .top-service-media {
    grid-template-columns: 1fr;
  }

  .help-prompts-note > summary {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "kicker toggle"
      "title title"
      "desc desc";
  }

  .help-prompts-note > summary strong,
  .help-prompts-note > summary em {
    grid-column: auto;
  }

  .help-prompts-toggle {
    grid-column: auto;
    grid-row: auto;
  }

  .help-prompts-body {
    grid-template-columns: 1fr;
  }

  .help-prompts-group,
  .help-prompts-group-identity {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .help-prompts-note > summary {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "desc"
      "toggle";
    align-items: start;
  }

  .help-prompts-toggle {
    width: max-content;
  }

  .help-prompts-body {
    padding: 0 10px 10px;
  }

  .help-prompts-group {
    grid-template-columns: 1fr;
    padding: 10px;
  }
}

@media (max-width: 1280px) {
  .prompts-styles-page .section-material-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .prompts-styles-page .section-material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .prompts-styles-page .subpage-hero,
  .prompts-styles-page .subpage-aside,
  .prompts-styles-page .section-material-grid {
    grid-template-columns: 1fr;
  }

  .prompt-featured-showcase {
    margin: 36px 0;
    padding: 14px;
    border-radius: 24px;
  }

  .prompt-featured-media {
    border-radius: 18px;
  }

  .prompt-featured-content {
    gap: 14px;
    padding: 6px 4px 10px;
  }

  .prompt-featured-content h2 {
    font-size: clamp(1.82rem, 10vw, 2.45rem);
  }

  .prompt-featured-password,
  .prompt-featured-cta {
    width: 100%;
  }

  .prompt-featured-password {
    min-height: 0;
    flex-wrap: wrap;
    padding: 12px 14px;
  }

  .prompts-styles-page .subpage-hero {
    min-height: 0;
  }

  .prompts-styles-page .subpage-copy h1 {
    font-size: clamp(2.25rem, 12vw, 3.55rem);
  }

}

.gpts-skills-section {
  scroll-margin-top: 120px;
}

.micro-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.46);
  color: rgba(5, 5, 5, 0.68);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(18px) saturate(1.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.micro-nav a {
  color: var(--ink);
}

.micro-nav a:hover {
  color: var(--violet);
}

.gpts-catalog {
  display: grid;
  gap: 16px;
}

.gpt-agents-block {
  display: grid;
  gap: 14px;
  scroll-margin-top: 120px;
}

.gpt-agents-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr) minmax(0, 0.42fr);
  gap: 20px;
  align-items: start;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(20px) saturate(1.24);
  -webkit-backdrop-filter: blur(20px) saturate(1.24);
}

.gpt-agents-guide > * {
  min-width: 0;
}

.gpt-agents-guide h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.gpt-agents-guide ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.gpt-agents-guide li,
.gpt-agents-guide > p {
  color: rgba(5, 5, 5, 0.66);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.36;
}

.gpt-agents-guide > p {
  margin: 0;
}

.gpt-agents-guide strong {
  color: var(--ink);
  font-weight: 900;
}

.gpt-agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gpt-agent-card {
  min-width: 0;
  min-height: 220px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 28px;
  background: #f7f7fb;
  color: #050505;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.gpt-agent-card:hover {
  transform: translateY(-4px);
  background: var(--lime);
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.24), 0 18px 60px rgba(183, 255, 42, 0.18);
}

.gpt-agent-card-featured {
  border: 1px solid rgba(183, 255, 42, 0.42);
  background:
    radial-gradient(circle at 86% 8%, rgba(183, 255, 42, 0.42), transparent 34%),
    linear-gradient(135deg, rgba(183, 255, 42, 0.92), rgba(255, 255, 255, 0.88));
  box-shadow:
    0 30px 78px rgba(0, 0, 0, 0.22),
    0 0 44px rgba(183, 255, 42, 0.2);
}

.gpt-agent-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #050505;
  color: #fff;
  transition: background 180ms ease, color 180ms ease;
}

.gpt-agent-card:hover .gpt-agent-icon {
  background: #fff;
  color: #050505;
}

.gpt-agent-icon svg {
  width: 32px;
  height: 32px;
}

.gpt-agent-copy {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.gpt-agent-copy small {
  color: rgba(5, 5, 5, 0.5);
  font-weight: 900;
  text-transform: uppercase;
}

.gpt-agent-copy h3 {
  margin: 0;
  color: #050505;
  font-size: clamp(1.45rem, 2.3vw, 2.45rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.gpt-agent-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(5, 5, 5, 0.62);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.34;
}

.gpt-agent-card .hub-open {
  width: max-content;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(183, 255, 42, 0.88);
  color: #050505;
  box-shadow:
    0 14px 34px rgba(143, 210, 24, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.gpt-agent-card:hover .hub-open {
  background: #fff;
}

.gpt-agent-video-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: #171717;
  color: #fff;
  box-shadow: var(--shadow);
}

.gpt-agent-video-shell {
  aspect-ratio: 16 / 9;
  min-height: 280px;
  border-radius: 22px;
  background: #050505;
  overflow: hidden;
}

.gpt-agent-video-shell iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.gpt-agent-video-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px;
}

.gpt-agent-video-copy h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.gpt-agent-video-copy p:not(.chapter-label) {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.34;
}

.gpt-agent-video-copy .hub-open {
  width: max-content;
  min-height: 48px;
  padding: 0 18px;
}

.skill-kit-card {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  background: #171717;
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.skill-kit-card[open] {
  background: #0d0d0f;
}

.skill-kit-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  cursor: pointer;
  list-style: none;
}

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

.skill-kit-summary:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: -6px;
}

.skill-kit-copy {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.skill-kit-copy small {
  color: rgba(255, 255, 255, 0.52);
  font-weight: 900;
  text-transform: uppercase;
}

.skill-kit-copy strong {
  max-width: 880px;
  font-size: clamp(1.65rem, 3.2vw, 3.35rem);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.skill-kit-copy span {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.36;
}

.skill-kit-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: #050505;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease;
}

.skill-kit-action svg {
  width: 19px;
  height: 19px;
  transition: transform 180ms ease;
}

.skill-kit-card[open] .skill-kit-action {
  background: #fff;
}

.skill-kit-card[open] .skill-kit-action svg {
  transform: rotate(180deg);
}

.skill-kit-detail {
  display: grid;
  gap: clamp(22px, 4vw, 36px);
  padding: 0 clamp(18px, 3vw, 34px) clamp(22px, 3vw, 34px);
}

.skill-video-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.3fr);
  gap: 22px;
  align-items: end;
  padding-top: clamp(18px, 3vw, 30px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.skill-video-shell {
  aspect-ratio: 16 / 9;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: #050505;
  overflow: hidden;
}

.skill-video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #050505;
}

.skill-detail-caption p:not(.chapter-label) {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.skill-attention-strip {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: clamp(16px, 2.2vw, 22px) clamp(18px, 3vw, 28px);
  border: 1px solid rgba(183, 255, 42, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.14), rgba(157, 125, 255, 0.12)),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    0 18px 54px rgba(183, 255, 42, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -18px 30px rgba(183, 255, 42, 0.05);
  overflow: hidden;
}

.skill-attention-strip::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(183, 255, 42, 0.24), transparent 34%, rgba(157, 125, 255, 0.2));
  opacity: 0.58;
  pointer-events: none;
}

.skill-attention-icon,
.skill-attention-strip strong {
  position: relative;
  z-index: 1;
}

.skill-attention-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #1c1a22;
  background: var(--lime);
  box-shadow: 0 0 28px rgba(183, 255, 42, 0.34);
}

.skill-attention-icon svg {
  width: 20px;
  height: 20px;
}

.skill-attention-strip strong {
  color: rgba(255, 255, 255, 0.9);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.35vw, 1.18rem);
  line-height: 1.28;
}

.skill-detail-caption h3,
.skill-block-head h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 3.1rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.skill-instruction,
.skill-downloads {
  padding-top: clamp(18px, 3vw, 30px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.skill-block-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.skill-instruction > p {
  max-width: 980px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.52;
}

.instruction-steps {
  display: grid;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.instruction-steps article {
  padding: clamp(18px, 3vw, 28px);
}

.instruction-steps article + article {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.instruction-steps h4 {
  margin: 0 0 12px;
  font-size: clamp(1.22rem, 2vw, 1.7rem);
  line-height: 1.08;
}

.instruction-steps p,
.instruction-steps li {
  color: rgba(255, 255, 255, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.48;
}

.instruction-steps p {
  max-width: 980px;
  margin: 0 0 10px;
}

.instruction-steps p:last-child {
  margin-bottom: 0;
}

.instruction-steps ul {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding-left: 20px;
}

.instruction-steps strong {
  color: #fff;
  font-weight: 900;
}

.skill-highlight {
  color: var(--lime);
  font-weight: 900;
}

.skill-note {
  color: rgba(183, 255, 42, 0.82);
  font-weight: 900;
}

.skill-md-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.skill-md-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(183, 255, 42, 0.44);
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.12);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.skill-md-actions a:hover {
  transform: translateY(-2px);
  border-color: var(--lime);
  box-shadow: 0 18px 44px rgba(183, 255, 42, 0.14);
}

.skill-md-actions a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.skill-md-actions svg {
  width: 19px;
  height: 19px;
}

.skill-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.skill-download-card {
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.skill-download-card .download-copy strong {
  font-size: clamp(1.32rem, 2vw, 2rem);
  line-height: 1.04;
}

.skill-download-card .download-copy em {
  font-size: 0.96rem;
}

.skill-download-card-featured {
  grid-column: 1 / -1;
  min-height: 210px;
  border-color: rgba(255, 184, 220, 0.72);
  background:
    linear-gradient(112deg, rgba(255, 184, 220, 0.24), rgba(205, 184, 255, 0.18) 46%, rgba(191, 244, 255, 0.2)),
    rgba(255, 255, 255, 0.82);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(255, 184, 220, 0.14);
}

.skill-download-card-featured .download-icon {
  background: var(--pink);
  color: var(--ink);
}

.skill-download-card-featured .download-copy small,
.skill-download-card-featured .download-copy em {
  color: rgba(5, 5, 5, 0.62);
}

.skill-download-card-featured .download-copy strong {
  color: var(--ink);
}

.skill-download-card-featured .download-action {
  background: var(--pink);
  color: var(--ink);
}

.tool-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.tool-lane {
  min-height: 170px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.54);
}

.tool-lane h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.tool-lane p {
  margin: 0;
  color: rgba(5, 5, 5, 0.62);
  font-weight: 900;
  line-height: 1.24;
}

.library-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 22px;
  align-items: end;
  margin-bottom: 18px;
}

.search-panel {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
}

.search-panel svg {
  width: 21px;
  height: 21px;
}

.search-panel input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
}

.search-panel input::placeholder {
  color: rgba(5, 5, 5, 0.45);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.filter-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(5, 5, 5, 0.18);
  border-radius: 999px;
  background: transparent;
  color: rgba(5, 5, 5, 0.64);
  font-weight: 900;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--panel);
  color: #fff;
}

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

.resource-card {
  position: relative;
  min-height: 368px;
  padding: 30px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--panel);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}

.resource-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 72%, rgba(139, 92, 246, 0.24), transparent 28%),
    var(--panel);
}

.resource-card h3 {
  position: relative;
  z-index: 3;
  max-width: 92%;
  margin: 22px 0 18px;
  font-size: clamp(1.45rem, 1.9vw, 2.05rem);
  line-height: 0.98;
}

.resource-card p {
  position: relative;
  z-index: 3;
  max-width: 94%;
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.22;
}

.tag {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.92rem;
  font-weight: 900;
}

.card-image {
  position: absolute;
  z-index: 1;
  right: -18px;
  bottom: -28px;
  width: 55%;
  aspect-ratio: 0.82;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #c9d2ff);
  transform: rotate(-12deg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.card-image::before,
.card-image::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.card-image::before {
  inset: 12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), transparent 62%);
}

.card-image::after {
  width: 58%;
  height: 58%;
  right: -10%;
  bottom: -8%;
  background: var(--lime);
  filter: blur(3px);
}

.image-portrait {
  background-image: url("https://static.tildacdn.com/tild3964-3865-4435-a536-666437353338/Group_1171275181.png");
}

.image-liquid {
  background-image: url("https://static.tildacdn.com/tild6234-3865-4465-a562-396565633338/Group_1171275182.png");
}

.image-magazine {
  background-image: url("https://static.tildacdn.com/tild6630-3436-4430-b266-383337333435/Frame_2087325584.png");
}

.image-texture {
  background-image: url("https://static.tildacdn.com/tild6638-6538-4864-b161-396130653061/Mask_group-1.png");
}

.image-pose {
  background-image: url("https://static.tildacdn.com/tild3465-6431-4064-a339-623465613863/Mask_grodup.png");
}

.image-bag {
  background-image: url("https://static.tildacdn.com/tild3731-3062-4830-b262-653162613937/Mask_group.png");
}

.image-holiday {
  background-image: url("https://static.tildacdn.com/tild3065-3535-4533-b832-393632663464/Mask_group.png");
}

.image-device {
  background-image: url("https://static.tildacdn.com/tild6138-3839-4339-a234-333930643939/Mask_group.png");
}

.image-robot {
  background-image: url("https://static.tildacdn.com/tild6231-3164-4336-a363-316638343766/Group_1171275305.png");
}

.image-fisheye {
  width: 112%;
  height: 90%;
  right: -10%;
  bottom: -10%;
  transform: rotate(-8deg);
  background-image: url("https://static.tildacdn.com/tild3831-3864-4166-b230-653164323131/Mask_group.png");
}

.image-product {
  background-image: url("https://static.tildacdn.com/tild3036-6537-4430-a363-663461306239/Mask_gr3oup.png");
}

.image-video {
  background-image: url("https://static.tildacdn.com/tild3863-3361-4864-a232-393935663836/Mask_group.png");
}

.image-client {
  background:
    linear-gradient(120deg, rgba(186, 255, 0, 0.86) 0 22%, transparent 22% 100%),
    linear-gradient(300deg, rgba(139, 92, 246, 0.86) 0 30%, transparent 30% 100%),
    linear-gradient(135deg, #050505 0 48%, #ffffff 48% 55%, #171717 55% 100%);
}

.image-free-materials {
  background:
    linear-gradient(135deg, #ffffff 0 32%, #baff00 32% 48%, #8b5cf6 48% 64%, #151515 64% 100%);
}

.image-free-video {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #050505 0 38%, #baff00 38% 58%, #8b5cf6 58% 100%);
}

.image-cinema {
  background:
    repeating-linear-gradient(90deg, #101010 0 18px, #ffffff 18px 26px),
    linear-gradient(135deg, #090909, #baff00);
}

.image-mid {
  background-image: url("https://static.tildacdn.com/tild3964-6261-4331-b630-623165376532/20240358.png");
}

.image-threads {
  background-image: url("https://static.tildacdn.com/tild3466-6363-4030-a265-316638633033/20240357.png");
}

.image-portrait::before,
.image-portrait::after,
.image-liquid::before,
.image-liquid::after,
.image-magazine::before,
.image-magazine::after,
.image-texture::before,
.image-texture::after,
.image-pose::before,
.image-pose::after,
.image-bag::before,
.image-bag::after,
.image-holiday::before,
.image-holiday::after,
.image-device::before,
.image-device::after,
.image-robot::before,
.image-robot::after,
.image-fisheye::before,
.image-fisheye::after,
.image-product::before,
.image-product::after,
.image-video::before,
.image-video::after,
.image-client::before,
.image-client::after,
.image-free-materials::before,
.image-free-materials::after,
.image-free-video::before,
.image-free-video::after,
.image-mid::before,
.image-mid::after,
.image-threads::before,
.image-threads::after {
  display: none;
}

.resource-card:hover,
.resource-card.is-featured {
  color: #fff;
}

.resource-card:hover .tag,
.resource-card.is-featured .tag {
  border-color: rgba(255, 255, 255, 0.46);
  color: rgba(255, 255, 255, 0.66);
}

.resource-card:hover h3,
.resource-card.is-featured h3 {
  max-width: 100%;
  padding: 34px 30px;
  border-radius: 22px;
  background: rgba(18, 18, 18, 0.28);
  backdrop-filter: blur(16px);
}

.resource-card:hover p,
.resource-card.is-featured p {
  opacity: 0;
}

.open-bubble {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 56%;
  width: 156px;
  height: 156px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 900;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 180ms ease, transform 180ms ease;
}

.resource-card:hover .open-bubble,
.resource-card.is-featured .open-bubble {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.resource-card.is-hidden {
  display: none;
}

.is-soon {
  background: #8f97db;
  cursor: default;
}

.is-soon::before {
  background: #8f97db;
}

.is-soon h3,
.is-soon p {
  color: #fff;
}

.soon-circle {
  position: absolute;
  left: 50%;
  top: 58%;
  z-index: 2;
  width: min(68%, 270px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  transform: translate(-50%, -50%);
}

.topic-detail {
  margin: 86px 0;
  color: #fff;
}

.topic-detail.is-hidden {
  display: none;
}

.topic-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: clamp(26px, 4vw, 58px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 20% 30%, rgba(186, 255, 0, 0.14), transparent 22rem),
    radial-gradient(circle at 76% 22%, rgba(139, 92, 246, 0.22), transparent 28rem),
    #050505;
  background-size: 120px 120px, 120px 120px, auto, auto, auto;
  overflow: hidden;
}

.topic-hero-background-video {
  display: none;
}

.topic-hero.has-video-background {
  background: #050505;
}

.topic-hero.has-video-background .topic-hero-background-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: saturate(1.08) contrast(1.08) brightness(0.72);
}

.topic-hero.has-video-background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 18% 32%, rgba(183, 255, 42, 0.2), transparent 26rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.7) 42%, rgba(5, 5, 5, 0.3) 100%);
  background-size: 120px 120px, 120px 120px, auto, auto;
}

.topic-hero.has-video-background > *:not(.topic-hero-background-video) {
  position: relative;
  z-index: 2;
}

.topic-hero.has-video-background .topic-preview {
  grid-template-columns: minmax(0, 0.72fr);
  min-height: calc(100svh - clamp(160px, 18vw, 230px));
}

.topic-hero.has-video-background .topic-copy strong {
  max-width: 760px;
}

.topic-backbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(40px, 7vw, 96px);
}

.topic-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.topic-close,
.topic-menu {
  min-width: 170px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  color: #fff;
  font-weight: 900;
}

.topic-close {
  background: #3a3a3a;
}

.topic-menu {
  background: #fff;
  color: #050505;
}

.topic-close svg,
.topic-menu svg {
  width: 19px;
  height: 19px;
}

.topic-close:hover {
  background: var(--lime);
  color: #050505;
}

.topic-menu:hover {
  background: var(--lime);
}

.topic-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.45fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}

.topic-copy {
  min-width: 0;
}

.topic-copy p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 1.08rem;
  font-weight: 900;
}

.topic-copy h2 {
  max-width: min(100%, 920px);
  margin: 0 0 28px;
  font-size: clamp(3.9rem, 7vw, 6.45rem);
  line-height: 0.88;
  color: #fff;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.topic-copy strong {
  display: block;
  max-width: 620px;
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.topic-hero-download {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 0 26px;
  border-radius: 999px;
  color: #161022;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.96), rgba(218, 255, 132, 0.78)),
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.88), transparent 38%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 18px 42px rgba(143, 210, 24, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -9px 18px rgba(114, 169, 18, 0.14);
  font-weight: 900;
}

.topic-hero-download svg {
  width: 19px;
  height: 19px;
}

.topic-hero-download:hover {
  transform: translateY(-2px);
}

.topic-preview img,
.topic-preview > video {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58);
  transform: rotate(-3deg);
}

.topic-preview > video {
  display: block;
  background: #08080b;
}

.topic-detail[data-topic-slug="cinematic-prompts"] .topic-preview {
  grid-template-columns: minmax(0, 0.68fr) minmax(460px, 0.9fr);
}

.topic-detail[data-topic-slug="cinematic-prompts"] .topic-copy h2 {
  font-size: clamp(3.2rem, 6.2vw, 5.65rem);
  line-height: 0.9;
}

.topic-detail[data-topic-slug="cinematic-prompts"] .topic-preview img {
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: 48% center;
  transform: none;
}

.prompt-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 28px 0 0;
  background: #050505;
}

.prompt-groups {
  display: grid;
  gap: 72px;
  padding: 32px clamp(18px, 4vw, 74px) 100px;
  background: #050505;
}

.prompt-group {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.prompt-group-head {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.prompt-group-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.prompt-group-head h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.94;
  text-wrap: balance;
}

.prompt-group .prompt-wall {
  padding: 0;
}

.prompt-card {
  min-width: 0;
  color: #fff;
}

.prompt-card img {
  width: 100%;
  aspect-ratio: 0.76;
  display: block;
  object-fit: cover;
  border-radius: 22px;
  background: #1a1a1a;
}

.prompt-card-wide {
  grid-column: 1 / -1;
}

.prompt-card-wide img {
  aspect-ratio: 21 / 9;
  object-fit: contain;
  background: #050505;
}

.prompt-card-wide .prompt-text {
  max-width: 900px;
}

.prompt-text {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px 4px 0;
}

.prompt-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.prompt-text h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
}

.prompt-text p {
  margin: 0;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  font-weight: 500;
  line-height: 1.12;
}

.copy-prompt {
  position: absolute;
  top: 14px;
  right: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 9px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  z-index: 3;
}

.copy-prompt svg {
  width: 18px;
  height: 18px;
}

.copy-prompt:hover,
.copy-prompt.is-copied {
  border-color: var(--lime);
  background: var(--lime);
  color: #050505;
}

.prompt-card-head .copy-prompt {
  position: static;
  width: 34px;
  height: 34px;
  border-color: rgba(255, 255, 255, 0.46);
}

.fashion-pose-section {
  display: grid;
  gap: clamp(34px, 5vw, 64px);
  padding: 32px clamp(18px, 4vw, 74px) 110px;
  background: #050505;
  color: #fff;
}

.fashion-pose-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.56fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  max-width: 1320px;
}

.fashion-pose-intro h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 5.8rem);
  line-height: 0.9;
  text-wrap: balance;
}

.fashion-pose-intro strong {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  font-weight: 500;
  line-height: 1.38;
}

.fashion-pose-intro-compact {
  align-items: start;
}

.fashion-pose-model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.fashion-pose-model-tags span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(183, 255, 42, 0.46);
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.12);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fashion-pose-series-list {
  display: grid;
  gap: clamp(38px, 5vw, 70px);
}

.fashion-pose-subsection.is-midjourney-v8 .fashion-pose-series-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 38px);
  align-items: start;
}

.fashion-pose-subsection.is-midjourney-v8 .fashion-pose-series {
  gap: 14px;
}

.fashion-pose-subsection.is-midjourney-v8 .fashion-pose-series.is-portrait .fashion-pose-frame img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.fashion-pose-subsection.is-midjourney-v8 .fashion-pose-prompt-grid {
  grid-template-columns: 1fr;
}

.fashion-pose-series.is-portal-lesson {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(220px, 0.42fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(191, 244, 255, 0.26);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 15%, rgba(191, 244, 255, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.055);
}

.fashion-pose-portal-copy {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.fashion-pose-portal-copy > p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  font-weight: 520;
  line-height: 1.42;
}

.fashion-pose-portal-button {
  width: max-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: #2aabee;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 46px rgba(42, 171, 238, 0.22);
}

.fashion-pose-portal-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.fashion-pose-series.is-portal-lesson .fashion-pose-frame {
  justify-content: flex-end;
}

.fashion-pose-series.is-portal-lesson .fashion-pose-frame img {
  width: min(100%, 380px);
  max-height: 260px;
  object-fit: contain;
  border-radius: 18px;
}

.fashion-pose-subsection {
  display: grid;
  gap: clamp(28px, 4vw, 50px);
  padding-top: clamp(16px, 3vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fashion-pose-subsection-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.58fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: end;
  max-width: 1320px;
}

.fashion-pose-subsection-head h4 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 4.1rem);
  line-height: 0.95;
  text-wrap: balance;
}

.fashion-pose-subsection-head strong {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  font-weight: 500;
  line-height: 1.42;
}

.fashion-pose-series {
  display: grid;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid rgba(183, 255, 42, 0.26);
}

.fashion-pose-series-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.fashion-pose-series-head p,
.fashion-pose-series-head h3 {
  margin: 0;
}

.fashion-pose-series-head p {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fashion-pose-series-head h3 {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.08rem, 1.6vw, 1.42rem);
}

.fashion-pose-frame {
  margin: 0;
  display: flex;
  justify-content: center;
}

.fashion-pose-frame img {
  width: 100%;
  display: block;
  border-radius: 26px;
  background: #161616;
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.34);
}

.fashion-pose-series.is-portrait .fashion-pose-frame img {
  width: min(560px, 100%);
}

.fashion-pose-prompt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fashion-pose-prompt {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(183, 255, 42, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.055);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.fashion-pose-prompt:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 42, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(183, 255, 42, 0.2), transparent 36%),
    rgba(255, 255, 255, 0.085);
}

.fashion-pose-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fashion-pose-prompt-head span {
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--lime);
  color: #050505;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 900;
}

.fashion-pose-prompt .copy-prompt {
  position: static;
  width: 34px;
  height: 34px;
  border-color: rgba(255, 255, 255, 0.18);
}

.fashion-pose-prompt-title {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.18;
}

.fashion-pose-prompt p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.34;
}

@media (max-width: 980px) {
  .fashion-pose-intro,
  .fashion-pose-subsection-head {
    grid-template-columns: 1fr;
  }

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

  .fashion-pose-subsection.is-midjourney-v8 .fashion-pose-series-list,
  .fashion-pose-series.is-portal-lesson {
    grid-template-columns: 1fr;
  }

  .fashion-pose-series.is-portal-lesson .fashion-pose-frame {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .fashion-pose-section {
    padding-inline: 16px;
  }

  .fashion-pose-series-head {
    align-items: start;
    flex-direction: column;
  }

  .fashion-pose-frame img {
    border-radius: 18px;
  }

  .fashion-pose-prompt-grid {
    grid-template-columns: 1fr;
  }
}

.texture-topic-hero {
  min-height: auto;
  padding-bottom: clamp(38px, 6vw, 84px);
}

.texture-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.texture-hero-copy {
  max-width: 820px;
}

.texture-hero-copy h2 {
  font-size: clamp(2.9rem, 5.2vw, 5.9rem);
  line-height: 0.9;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.texture-hero-copy strong {
  max-width: 720px;
}

.creative-hero-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.38fr);
  align-items: end;
}

.creative-hero-copy h2 {
  max-width: 840px;
  font-size: clamp(3rem, 6.4vw, 6.9rem);
  white-space: normal;
  text-wrap: balance;
}

.creative-hero-copy strong {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
  line-height: 1.34;
}

.creative-hero-media {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  justify-self: end;
  align-self: center;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(183, 255, 42, 0.12), rgba(255, 255, 255, 0.035)),
    #0d0d0f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 78px rgba(0, 0, 0, 0.28);
}

.creative-hero-media img,
.creative-hero-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.creative-hero-media.is-placeholder div {
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px dashed rgba(183, 255, 42, 0.42);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.creative-hero-media.is-placeholder svg {
  width: 30px;
  height: 30px;
  color: var(--lime);
}

.creative-hero-media.is-placeholder span {
  max-width: 180px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.28;
  text-transform: uppercase;
}

.texture-hero-collage {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(74px, 8.4vw, 142px);
  gap: clamp(10px, 1.4vw, 18px);
  min-width: 0;
}

.texture-collage-item-1 {
  grid-column: 1 / span 3;
  grid-row: span 2;
}

.texture-collage-item-2 {
  grid-column: 4 / span 3;
}

.texture-collage-item-3 {
  grid-column: 4 / span 2;
}

.texture-collage-item-4 {
  grid-column: 6 / span 1;
}

.texture-collage-item-5 {
  grid-column: 1 / span 2;
}

.texture-collage-item-6 {
  grid-column: 3 / span 2;
}

.texture-collage-item-7 {
  grid-column: 5 / span 2;
}

.texture-placeholder {
  width: 100%;
  min-width: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 238, 238, 0.94)),
    #fff;
  color: rgba(5, 5, 5, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 22px 62px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.texture-placeholder span {
  max-width: 80%;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.22;
  text-align: center;
  text-transform: uppercase;
}

.texture-hero-collage img,
.texture-sketch-board img,
.texture-card img {
  width: 100%;
  display: block;
  background: #0d0d0f;
  object-fit: contain;
}

.texture-collage-item,
.texture-sketch-main,
.texture-preview-item,
.texture-sketch-near {
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 22px 62px rgba(0, 0, 0, 0.18);
}

.texture-hero-collage img,
.texture-sketch-board img {
  height: 100%;
}

.texture-effects-body {
  display: grid;
  gap: clamp(54px, 8vw, 116px);
  padding: 36px clamp(18px, 4vw, 74px) 108px;
  background: #050505;
  color: #fff;
  overflow-x: hidden;
}

.texture-step {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.texture-step-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.texture-step-head {
  gap: 14px;
}

.texture-step-number {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: #050505;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 900;
}

.texture-step-copy h3,
.texture-collection-head h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 3.5vw, 4.2rem);
  line-height: 0.96;
  text-wrap: balance;
}

.texture-step-copy p,
.texture-collection-head strong {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  font-weight: 600;
  line-height: 1.36;
}

.texture-step-visual {
  min-width: 0;
}

.texture-sketch-board {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.42fr);
  gap: 18px;
  align-items: stretch;
}

.texture-sketch-main {
  min-height: 430px;
  aspect-ratio: 1.25;
  background: #2d2d2d;
  object-fit: cover;
}

.texture-sketch-near {
  min-height: 430px;
  aspect-ratio: 0.527;
  object-fit: cover;
}

.texture-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.texture-preview-item {
  aspect-ratio: 1;
  border-radius: 18px;
}

.texture-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

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

.texture-step-card-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.texture-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.texture-card-main {
  width: 100%;
  height: clamp(280px, 26vw, 430px);
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background: #0d0d0f;
}

.texture-card img.texture-card-main {
  object-fit: cover;
}

.texture-card-prompt {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 4px 2px 0;
}

.texture-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.texture-card-prompt small {
  display: block;
  color: rgba(255, 255, 255, 0.46);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.texture-card-prompt p {
  margin: 0;
  padding-right: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.78rem, 0.74vw, 0.9rem);
  font-weight: 600;
  line-height: 1.28;
}

.texture-card-prompt .copy-prompt {
  position: static;
  width: 34px;
  height: 34px;
  border-color: rgba(255, 255, 255, 0.46);
}

.texture-reference {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: stretch;
  margin-top: auto;
}

.texture-reference span {
  color: rgba(255, 255, 255, 0.46);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.texture-reference-image {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  border-radius: 14px;
  background: #0d0d0f;
}

.texture-reference img.texture-reference-image {
  object-fit: cover;
}

.creative-effects-body {
  display: grid;
  gap: clamp(64px, 8vw, 124px);
  padding: 36px clamp(18px, 4vw, 74px) 108px;
  background: #050505;
  color: #fff;
  overflow-x: hidden;
}

.creative-model-section {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
}

.creative-model-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: end;
}

.creative-model-intro-no-reference {
  grid-template-columns: 1fr;
}

.creative-reference-card {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.creative-reference-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  border-radius: 20px;
  background: #0d0d0f;
  object-fit: cover;
}

.creative-reference-card figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.creative-model-copy {
  min-width: 0;
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.creative-model-copy p {
  width: 96px;
  min-height: 48px;
  margin: 0;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lime);
  color: #050505;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.creative-model-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 4.15vw, 4.8rem);
  line-height: 0.92;
  text-wrap: balance;
}

.creative-model-copy strong {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  font-weight: 600;
  line-height: 1.42;
}

.creative-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.creative-card-grid.is-wide-grid {
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 72px);
}

.sref-guide-intro {
  gap: clamp(26px, 4vw, 54px);
}

.sref-guide-intro .creative-model-copy {
  max-width: 920px;
}

.sref-universal-prompts {
  width: min(100%, 1180px);
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.sref-universal-prompts-head {
  display: grid;
  gap: 7px;
}

.sref-universal-prompts-head p,
.sref-universal-prompts-head h4,
.sref-universal-prompts-head span,
.sref-universal-prompt-card p {
  margin: 0;
}

.sref-universal-prompts-head p {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sref-universal-prompts-head h4 {
  color: #fff;
  font-size: clamp(1.55rem, 2.2vw, 2.45rem);
  line-height: 1;
}

.sref-universal-prompts-head span {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.98rem;
  line-height: 1.45;
}

.sref-universal-prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sref-universal-prompt-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 15px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.sref-universal-prompt-card:hover {
  border-color: rgba(177, 255, 27, 0.52);
  background: rgba(177, 255, 27, 0.08);
  transform: translateY(-2px);
}

.sref-universal-prompt-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sref-universal-prompt-topline small {
  color: rgba(255, 255, 255, 0.55);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sref-universal-prompt-card .copy-prompt {
  position: static;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
}

.sref-universal-prompt-card > p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.45;
}

.sref-universal-prompt-card > code {
  width: fit-content;
  max-width: 100%;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(177, 255, 27, 0.12);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.sref-guide-image-grid {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.sref-guide-image-card {
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.sref-guide-image-card .creative-card-image {
  height: auto;
}

.sref-guide-image-card figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .sref-universal-prompt-grid {
    grid-template-columns: 1fr;
  }

  .sref-universal-prompt-card {
    padding: 16px;
  }

  .sref-guide-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sref-guide-image-card {
    padding: 7px;
    border-radius: 16px;
  }
}

.creative-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.creative-card.is-wide-card {
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.creative-card-image {
  width: 100%;
  height: clamp(260px, 24vw, 410px);
  aspect-ratio: 4 / 5;
  display: block;
  border-radius: 20px;
  background: #0d0d0f;
  object-fit: cover;
}

.creative-card-image-wide {
  height: auto;
  aspect-ratio: 21 / 9;
  border-radius: clamp(18px, 2vw, 30px);
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 45%, rgba(171, 255, 37, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(85, 62, 118, 0.28), rgba(9, 10, 12, 0.96));
}

.creative-card-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.creative-card-media-carousel {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 22px;
  background: #08080b;
}

.creative-card-media-carousel figure {
  position: absolute;
  inset: 0;
  display: none;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #08080b;
}

.creative-card-media-carousel figure.is-active {
  display: block;
}

.creative-card-media-grid .creative-card-paired-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.creative-card-media-carousel .creative-card-paired-image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  display: block;
  object-fit: cover;
}

.creative-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: clamp(42px, 3.4vw, 54px);
  height: clamp(42px, 3.4vw, 54px);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--lime);
  color: #050505;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.42) inset,
    0 0 34px rgba(183, 255, 42, 0.46),
    0 14px 34px rgba(0, 0, 0, 0.32);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.creative-carousel-arrow:hover,
.creative-carousel-arrow:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-50%) scale(1.04);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.58) inset,
    0 0 44px rgba(183, 255, 42, 0.6),
    0 16px 38px rgba(0, 0, 0, 0.36);
}

.creative-carousel-arrow:focus-visible {
  outline: 3px solid rgba(191, 244, 255, 0.72);
  outline-offset: 3px;
}

.creative-carousel-arrow svg {
  width: 22px;
  height: 22px;
  stroke-width: 3;
}

.creative-carousel-prev {
  left: 16px;
}

.creative-carousel-next {
  right: 16px;
}

.creative-carousel-counter,
.creative-carousel-dots {
  position: absolute;
  z-index: 4;
  bottom: 14px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: rgba(33, 33, 35, 0.76);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.creative-carousel-counter {
  left: 14px;
  padding: 0 14px;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
}

.creative-carousel-dots {
  right: 14px;
  gap: 6px;
  padding: 0 10px;
}

.creative-carousel-dots button {
  width: 8px;
  height: 8px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease, opacity 160ms ease;
}

.creative-carousel-dots button.is-active {
  width: 26px;
  background: var(--lime);
}

.creative-carousel-dots button:hover,
.creative-carousel-dots button:focus-visible {
  background: var(--lime);
  opacity: 1;
}

.creative-card-copy {
  display: grid;
  gap: 10px;
  padding: 2px 2px 4px;
}

.creative-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.creative-card-head small {
  color: rgba(255, 255, 255, 0.46);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.creative-card-head .copy-prompt {
  position: static;
  width: 34px;
  height: 34px;
  border-color: rgba(255, 255, 255, 0.46);
}

.creative-card.is-wide-card .creative-card-copy {
  max-width: min(100%, 1180px);
  padding: 0;
}

.creative-card.is-wide-card .creative-card-head {
  padding-top: 2px;
}

.archive-setting-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.archive-setting-list code {
  max-width: 100%;
  padding: 7px 9px;
  border: 1px solid rgba(183, 255, 42, 0.24);
  border-radius: 10px;
  background: rgba(183, 255, 42, 0.08);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.creative-model-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 4px;
}

.creative-model-resource-bar {
  margin-bottom: 28px;
}

.creative-model-resources a {
  min-height: 42px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(183, 255, 42, 0.32);
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.1);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 850;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.creative-model-resources a:hover,
.creative-model-resources a:focus-visible {
  border-color: var(--lime);
  background: rgba(183, 255, 42, 0.18);
  transform: translateY(-1px);
}

.creative-model-resources svg {
  width: 16px;
  height: 16px;
}

.topic-detail[data-topic-slug^="archive-"] .creative-card {
  border-color: rgba(255, 255, 255, 0.14);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.topic-detail[data-topic-slug^="archive-"] .creative-card:hover {
  border-color: rgba(255, 91, 174, 0.68);
  background: rgba(255, 91, 174, 0.075);
  box-shadow: 0 24px 66px rgba(255, 91, 174, 0.16);
  transform: translateY(-2px);
}

.topic-detail[data-topic-slug^="archive-"] .creative-card-image {
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 50%, rgba(127, 70, 245, 0.12), transparent 42%),
    #0d0d0f;
}

.topic-detail[data-topic-slug^="archive-"] .creative-card-media-carousel .creative-card-image {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

/* 3D Avatars: every card uses one portrait crop, including single-image cards. */
.topic-detail[data-topic-slug="archive-3d-avatars"] .creative-card-image,
.topic-detail[data-topic-slug="archive-3d-avatars"] .creative-card-media-grid .creative-card-paired-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
}

.topic-detail[data-topic-slug="archive-3d-avatars"] .creative-card-media-carousel,
.topic-detail[data-topic-slug="archive-3d-avatars"] .creative-card-media-carousel figure {
  border-radius: 22px;
}

.topic-detail[data-topic-slug^="archive-"] .creative-hero-media img {
  object-fit: contain;
  background: #0d0d0f;
}

.topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-effects-body {
  gap: clamp(56px, 7vw, 108px);
}

.topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-model-intro {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  align-items: center;
}

.topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-reference-image {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #0b0b0d;
}

.topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-card {
  border-radius: 24px;
}

.topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-card-image {
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-card-head small {
  min-height: 2.4em;
}

.topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-neon-note {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(183, 255, 42, 0.72);
  border-radius: 24px;
  background: radial-gradient(circle at 8% 18%, rgba(183, 255, 42, 0.18), transparent 36%), rgba(183, 255, 42, 0.055);
  box-shadow: 0 0 38px rgba(183, 255, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-neon-note::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  z-index: -1;
  background: linear-gradient(105deg, transparent 36%, rgba(183, 255, 42, 0.12) 50%, transparent 64%);
  transform: translateX(-30%);
}

.topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-neon-note span {
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(183, 255, 42, 0.44);
  border-radius: var(--radius-pill);
  color: var(--lime);
  background: rgba(183, 255, 42, 0.09);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-neon-note p {
  max-width: 1040px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  font-weight: 650;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-model-intro {
    grid-template-columns: 1fr;
  }

  .topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-card-grid {
    grid-template-columns: 1fr;
  }

  .topic-detail[data-topic-slug="archive-krea-style-transfer"] .creative-card-image {
    height: clamp(320px, 96vw, 520px);
  }
}

@media (max-width: 760px) {
  .topic-detail[data-topic-slug="midjourney-90s-magazines"] .creative-card-grid,
  .topic-detail[data-topic-slug="midjourney-product"] .creative-card-grid,
  .topic-detail[data-topic-slug="midjourney-magazine-covers"] .creative-card-grid {
    gap: 18px;
  }

  .topic-detail[data-topic-slug="midjourney-90s-magazines"] .creative-card,
  .topic-detail[data-topic-slug="midjourney-product"] .creative-card,
  .topic-detail[data-topic-slug="midjourney-magazine-covers"] .creative-card {
    gap: 14px;
    padding: 14px;
  }

  .topic-detail[data-topic-slug="midjourney-90s-magazines"] .creative-card > .creative-card-image,
  .topic-detail[data-topic-slug="midjourney-product"] .creative-card > .creative-card-image,
  .topic-detail[data-topic-slug="midjourney-magazine-covers"] .creative-card > .creative-card-image {
    height: clamp(390px, 118vw, 620px);
    aspect-ratio: auto;
    border-radius: 18px;
    object-fit: contain;
    background:
      radial-gradient(circle at 50% 48%, rgba(127, 70, 245, 0.14), transparent 42%),
      #0d0d0f;
  }

  .topic-detail[data-topic-slug="midjourney-90s-magazines"] .creative-card-media-carousel,
  .topic-detail[data-topic-slug="midjourney-product"] .creative-card-media-carousel,
  .topic-detail[data-topic-slug="midjourney-magazine-covers"] .creative-card-media-carousel {
    min-height: 0;
    height: clamp(390px, 118vw, 620px);
    aspect-ratio: auto;
    border-radius: 18px;
  }

  .topic-detail[data-topic-slug="midjourney-90s-magazines"] .creative-card-media-carousel figure,
  .topic-detail[data-topic-slug="midjourney-product"] .creative-card-media-carousel figure,
  .topic-detail[data-topic-slug="midjourney-magazine-covers"] .creative-card-media-carousel figure {
    display: none;
    padding: 0;
  }

  .topic-detail[data-topic-slug="midjourney-90s-magazines"] .creative-card-media-carousel figure.is-active,
  .topic-detail[data-topic-slug="midjourney-product"] .creative-card-media-carousel figure.is-active,
  .topic-detail[data-topic-slug="midjourney-magazine-covers"] .creative-card-media-carousel figure.is-active {
    display: grid;
    place-items: center;
  }

  .topic-detail[data-topic-slug="midjourney-90s-magazines"] .creative-card-media-carousel .creative-card-image,
  .topic-detail[data-topic-slug="midjourney-product"] .creative-card-media-carousel .creative-card-image,
  .topic-detail[data-topic-slug="midjourney-magazine-covers"] .creative-card-media-carousel .creative-card-image {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: contain;
    background:
      radial-gradient(circle at 50% 48%, rgba(127, 70, 245, 0.14), transparent 42%),
      #0d0d0f;
  }
}

.prompt-card-prompt,
.texture-prompt,
.creative-prompt {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.2);
}

.prompt-card-prompt summary,
.texture-prompt summary,
.creative-prompt summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.8);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.creative-prompt-inline {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: transparent;
}

.creative-prompt-inline span {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.prompt-card-prompt summary::-webkit-details-marker,
.texture-prompt summary::-webkit-details-marker,
.creative-prompt summary::-webkit-details-marker {
  display: none;
}

.prompt-card-prompt summary::marker,
.texture-prompt summary::marker,
.creative-prompt summary::marker {
  content: "";
}

.prompt-card-prompt summary::before,
.texture-prompt summary::before,
.creative-prompt summary::before {
  content: "\25B8";
  display: inline-block;
  margin-right: 5px;
  transition: transform 0.18s ease;
}

.prompt-card-prompt[open] summary::before,
.texture-prompt[open] summary::before,
.creative-prompt[open] summary::before {
  transform: rotate(90deg);
}

.prompt-card-prompt p,
.texture-prompt p,
.creative-prompt p,
.creative-missing-prompt {
  margin: 0;
  padding: 0 14px 14px;
  color: rgba(255, 255, 255, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.36;
  overflow-wrap: anywhere;
}

.creative-missing-prompt {
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.5);
}

.creative-prompt-inline p {
  padding: 0;
  max-width: 1120px;
}

.cinematic-effects-body {
  display: grid;
  gap: clamp(34px, 5vw, 70px);
  padding: 36px clamp(18px, 4vw, 74px) 108px;
  background: #050505;
  color: #fff;
  overflow-x: hidden;
}

.cinematic-summary-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: end;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 85% 20%, rgba(183, 255, 42, 0.18), transparent 32%),
    radial-gradient(circle at 12% 88%, rgba(124, 88, 244, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.cinematic-summary-panel::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -42%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 32%;
  background: rgba(183, 255, 42, 0.82);
  filter: blur(1px);
  transform: rotate(-12deg);
  opacity: 0.85;
  pointer-events: none;
}

.cinematic-summary-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  min-width: 0;
  max-width: 860px;
}

.cinematic-summary-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 7vw, 7.2rem);
  line-height: 0.86;
  text-transform: uppercase;
  text-wrap: balance;
}

.cinematic-summary-copy strong {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  font-weight: 650;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.cinematic-tool-pills {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.cinematic-tool-pills span {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.cinematic-tool-pills b {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cinematic-technique-list {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
}

.cinematic-technique-card {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028)),
    #101010;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.cinematic-technique-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 18px;
  align-items: end;
}

.cinematic-technique-head span,
.cinematic-prompt-panel-head span,
.cinematic-media-card span {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cinematic-technique-head h3 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.92;
  text-wrap: balance;
}

.cinematic-technique-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.cinematic-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cinematic-media-card {
  display: grid;
  gap: 10px;
  margin: 0;
  min-width: 0;
}

.cinematic-media-card img,
.cinematic-media-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 22px;
  background: #050505;
  object-fit: cover;
}

.cinematic-video-card video {
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.34);
}

.cinematic-media-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cinematic-media-placeholder svg {
  width: 36px;
  height: 36px;
  color: var(--lime);
}

.cinematic-prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cinematic-prompt-panel {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.cinematic-prompt-panel-head {
  padding: 0 4px;
}

.cinematic-prompt-language-grid {
  display: grid;
  gap: 12px;
}

.cinematic-prompt-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.24);
}

.cinematic-prompt-card .copy-prompt {
  position: static;
  width: 34px;
  height: 34px;
}

.cinematic-prompt-card p {
  max-height: 260px;
  margin: 0;
  padding-right: 4px;
  overflow: auto;
  color: rgba(255, 255, 255, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.38;
  overflow-wrap: anywhere;
  scrollbar-color: rgba(183, 255, 42, 0.34) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.cinematic-prompt-card p::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.cinematic-prompt-card p::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.cinematic-prompt-card p::-webkit-scrollbar-track {
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.cinematic-prompt-card p::-webkit-scrollbar-thumb {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(183, 255, 42, 0.48), rgba(148, 205, 42, 0.28)),
    radial-gradient(circle at 35% 15%, rgba(255, 255, 255, 0.64), transparent 40%);
  box-shadow:
    0 8px 20px rgba(111, 160, 28, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.cinematic-prompt-card p::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(183, 255, 42, 0.62), rgba(148, 205, 42, 0.36)),
    radial-gradient(circle at 35% 15%, rgba(255, 255, 255, 0.72), transparent 40%);
}

.cinematic-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(183, 255, 42, 0.24);
  border-radius: 20px;
  background: rgba(183, 255, 42, 0.08);
}

.cinematic-note svg {
  width: 18px;
  height: 18px;
  color: var(--lime);
}

.cinematic-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.4;
}

.fisheye-effects-body {
  display: grid;
  gap: clamp(56px, 7vw, 104px);
  padding: 36px clamp(18px, 4vw, 74px) 108px;
  background: #050505;
  color: #fff;
  overflow-x: hidden;
}

.fisheye-master-section,
.fisheye-magnific-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: start;
}

.fisheye-master-copy {
  display: grid;
  gap: 14px;
}

.fisheye-master-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 4.4rem);
  line-height: 0.95;
  text-wrap: balance;
}

.fisheye-master-copy p:not(.chapter-label) {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 650;
  line-height: 1.42;
}

.fisheye-copy-panel,
.fisheye-master-prompt,
.fisheye-settings-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.fisheye-copy-grid {
  display: grid;
  gap: 14px;
}

.fisheye-copy-panel {
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fisheye-master-prompt:hover {
  border-color: rgba(255, 174, 226, 0.72);
  background: rgba(255, 174, 226, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 174, 226, 0.28),
    0 0 34px rgba(255, 174, 226, 0.22),
    0 26px 70px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.fisheye-short-prompt:hover {
  border-color: rgba(183, 255, 42, 0.72);
  background: rgba(183, 255, 42, 0.075);
  box-shadow:
    0 0 0 1px rgba(183, 255, 42, 0.25),
    0 0 34px rgba(183, 255, 42, 0.2),
    0 26px 70px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.fisheye-copy-panel h4 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.15rem, 1.4vw, 1.55rem);
  line-height: 1.05;
}

.fisheye-copy-panel > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
}

.fisheye-short-prompt {
  background: rgba(255, 255, 255, 0.035);
}

.fisheye-master-prompt .copy-prompt,
.fisheye-copy-panel .copy-prompt,
.fisheye-card .copy-prompt {
  position: static;
  width: 34px;
  height: 34px;
  border-color: rgba(255, 255, 255, 0.46);
}

.fisheye-reference-section,
.fisheye-pack-section,
.fisheye-krea-section,
.fisheye-magnific-section {
  display: grid;
  gap: 24px;
}

.fisheye-reference-grid,
.fisheye-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fisheye-reference-grid {
  grid-template-columns: repeat(2, minmax(190px, 280px));
  justify-content: start;
}

.fisheye-reference-card,
.fisheye-card {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.fisheye-reference-card {
  max-width: 280px;
}

.fisheye-model-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  min-width: 86px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--lime);
  color: #050505;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
}

.fisheye-reference-image,
.fisheye-card-image {
  width: 100%;
  display: block;
  border-radius: 20px;
  background: #0d0d0f;
  object-fit: cover;
}

.fisheye-reference-image {
  aspect-ratio: 4 / 5;
  max-height: 320px;
}

.fisheye-card-image {
  height: clamp(260px, 24vw, 410px);
  aspect-ratio: 4 / 5;
}

.fisheye-reference-card figcaption {
  color: rgba(255, 255, 255, 0.5);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fisheye-card-copy {
  display: grid;
  gap: 10px;
  padding: 2px 2px 4px;
}

.fisheye-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 255, 42, 0.55), transparent);
}

.fisheye-settings-card span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fisheye-settings-card svg {
  width: 18px;
  height: 18px;
}

.fisheye-settings-image {
  width: 100%;
  min-height: 120px;
  display: block;
  border-radius: 18px;
  background: #111;
  object-fit: contain;
}

.fisheye-result-card .fisheye-card-image {
  background: #0d0d0f;
}

.fisheye-krea-section {
  gap: 28px;
}

.fisheye-krea-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(18px, 4vw, 46px);
  align-items: end;
}

.fisheye-krea-settings-card {
  min-width: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(183, 255, 42, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(183, 255, 42, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.fisheye-krea-settings-card span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fisheye-krea-settings-card svg {
  width: 17px;
  height: 17px;
}

.fisheye-krea-settings-image {
  width: 100%;
  max-height: 210px;
  display: block;
  border-radius: 18px;
  background: #111;
  object-fit: contain;
}

.fisheye-variant-card {
  overflow: hidden;
}

.fisheye-variant-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 20px;
  background: #0d0d0f;
  isolation: isolate;
}

.fisheye-variant-image.fisheye-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 220ms ease, transform 280ms ease;
}

.fisheye-variant-image.fisheye-card-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.fisheye-variant-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.96), rgba(218, 255, 132, 0.84)),
    rgba(183, 255, 42, 0.9);
  color: #111;
  box-shadow: 0 8px 18px rgba(183, 255, 42, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.fisheye-variant-arrow:hover {
  filter: saturate(1.08);
  box-shadow: 0 10px 22px rgba(183, 255, 42, 0.26);
  transform: translateY(-50%) scale(1.04);
}

.fisheye-variant-arrow svg {
  width: 14px;
  height: 14px;
}

.fisheye-variant-prev {
  left: 12px;
}

.fisheye-variant-next {
  right: 12px;
}

.fisheye-variant-counter {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.64);
  color: rgba(255, 255, 255, 0.86);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.professions-effects-body {
  display: grid;
  gap: clamp(56px, 7vw, 104px);
  padding: 36px clamp(18px, 4vw, 74px) 108px;
  background: #050505;
  color: #fff;
  overflow-x: hidden;
}

.professions-overview,
.profession-collection {
  display: grid;
  gap: 24px;
}

.professions-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.professions-stat-row--top {
  margin-top: -18px;
}

.professions-stat-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(183, 255, 42, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profession-card-grid,
.profession-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.profession-copy-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profession-copy-block {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(183, 255, 42, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.profession-copy-block:hover,
.profession-copy-block:focus-within {
  border-color: rgba(183, 255, 42, 0.86);
  background: rgba(183, 255, 42, 0.08);
  box-shadow: 0 0 30px rgba(183, 255, 42, 0.12);
  transform: translateY(-2px);
}

.profession-copy-block small {
  color: #b7ff2a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profession-copy-block h4 {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.15;
}

.profession-copy-block p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.55;
}

.profession-copy-block .copy-prompt {
  position: static;
  width: 38px;
  height: 38px;
}

.profession-card,
.profession-video-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.profession-card-image {
  width: 100%;
  height: clamp(260px, 24vw, 410px);
  aspect-ratio: 4 / 5;
  display: block;
  border-radius: 20px;
  background: #0d0d0f;
  object-fit: cover;
}

.profession-card-copy {
  display: grid;
  gap: 10px;
  padding: 2px 2px 4px;
}

.profession-card-copy h4 {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.1vw, 1.22rem);
  line-height: 1.12;
}

.profession-card .copy-prompt,
.profession-video-card .copy-prompt {
  position: static;
  width: 34px;
  height: 34px;
  border-color: rgba(255, 255, 255, 0.46);
}

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

.profession-video-shell {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  background: #0d0d0f;
}

.profession-video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fuckup-effects-body {
  gap: clamp(48px, 6vw, 86px);
}

.fuckup-overview {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 18%, rgba(183, 255, 42, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.045);
}

.fuckup-copy {
  display: grid;
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.55;
}

.fuckup-copy p {
  margin: 0;
}

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

.fuckup-video-card {
  border-color: rgba(255, 255, 255, 0.16);
}

.fuckup-card-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.45;
}

.fuckup-analysis {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  line-height: 1.45;
}

.fuckup-analysis p {
  margin: 0;
}

.fuckup-analysis b {
  color: #b7ff2a;
}

@media (max-width: 1180px) {
  .fisheye-master-section,
  .fisheye-magnific-intro,
  .fisheye-krea-intro {
    grid-template-columns: 1fr;
  }

  .fisheye-card-grid,
  .profession-card-grid,
  .profession-video-grid,
  .fuckup-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fuckup-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .fisheye-effects-body,
  .professions-effects-body {
    padding: 24px 18px 76px;
  }

  .fisheye-reference-grid,
  .fisheye-card-grid,
  .profession-copy-blocks,
  .profession-card-grid,
  .profession-video-grid,
  .fuckup-video-grid {
    grid-template-columns: 1fr;
  }

  .fisheye-card,
  .fisheye-reference-card,
  .fisheye-copy-panel,
  .fisheye-master-prompt,
  .fisheye-settings-card,
  .profession-card,
  .profession-video-card {
    border-radius: 22px;
  }

  .fisheye-reference-card {
    width: min(100%, 300px);
    max-width: 300px;
  }

  .fisheye-card-image {
    height: auto;
    min-height: 320px;
  }

  .fisheye-krea-settings-image {
    max-height: 180px;
  }

  .fisheye-variant-media {
    aspect-ratio: 3 / 4;
  }

  .fisheye-variant-image.fisheye-card-image {
    min-height: 0;
  }

  .fisheye-variant-arrow {
    width: 24px;
    height: 24px;
  }

  .profession-card-image,
  .profession-video-shell {
    height: auto;
    min-height: 320px;
  }
}

.texture-collection {
  display: grid;
  gap: 24px;
}

.texture-collection-head {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.texture-collection-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.texture-application {
  display: grid;
  gap: 24px;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(183, 255, 42, 0.18);
  border-radius: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 18% 12%, rgba(183, 255, 42, 0.14), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(126, 87, 255, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    #101010;
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.texture-application-head {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.texture-application-head p {
  margin: 0;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.texture-application-head h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 5.2rem);
  line-height: 0.96;
  text-wrap: balance;
}

.texture-application-head strong,
.texture-application-note p,
.texture-application-example figcaption {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  font-weight: 500;
  line-height: 1.48;
}

.texture-application-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.texture-application-flow span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(183, 255, 42, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
}

.texture-application-warning {
  margin: 0;
  padding-left: 18px;
  border-left: 4px solid var(--lime);
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  font-weight: 700;
  line-height: 1.45;
}

.texture-application-example {
  display: grid;
  grid-template-columns: minmax(220px, 430px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  max-width: 980px;
  margin: 0;
}

.texture-application-example-image,
.texture-application-gallery-image {
  width: 100%;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  object-fit: cover;
}

.texture-application-example-image {
  justify-self: start;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  object-fit: contain;
  background: #050505;
}

.texture-application-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.texture-application-gallery-image {
  aspect-ratio: 4 / 5;
}

.texture-transform-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.texture-transform-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 10%, rgba(183, 255, 42, 0.08), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(126, 87, 255, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.texture-transform-images {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.texture-transform-images figure {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.texture-transform-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #f7f7f7;
  object-fit: contain;
}

.texture-transform-images figcaption {
  color: rgba(255, 255, 255, 0.52);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.texture-transform-arrow {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.98), rgba(218, 255, 132, 0.8)),
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.88), transparent 40%);
  color: #111;
  box-shadow:
    0 16px 34px rgba(183, 255, 42, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.texture-transform-arrow svg {
  width: 22px;
  height: 22px;
}

.texture-transform-copy {
  display: grid;
  gap: 9px;
}

.texture-transform-copy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.texture-transform-copy-head div {
  min-width: 0;
}

.texture-transform-copy-head small {
  display: block;
  margin-bottom: 4px;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.texture-transform-copy-head h4 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.06rem, 1.25vw, 1.36rem);
  line-height: 1.1;
}

.texture-transform-copy-button.copy-prompt {
  position: static;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.055);
}

.texture-transform-prompt {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}

.texture-transform-prompt summary {
  width: fit-content;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.texture-transform-prompt p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.texture-application-prompts {
  display: grid;
  gap: 18px;
  padding-top: 4px;
}

.texture-application-prompts-head {
  display: grid;
  gap: 8px;
  max-width: 920px;
}

.texture-application-prompts-head p {
  margin: 0;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.texture-application-prompts-head h4 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 3rem);
  line-height: 1;
}

.texture-application-prompts-head span {
  color: rgba(255, 255, 255, 0.68);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  font-weight: 500;
  line-height: 1.5;
}

.texture-beauty-prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.texture-beauty-prompt-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background:
    radial-gradient(circle at 14% 10%, rgba(183, 255, 42, 0.09), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(126, 87, 255, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.texture-beauty-prompt-images {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
  gap: 8px;
}

.texture-beauty-prompt-reference,
.texture-beauty-prompt-result {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.texture-beauty-prompt-reference {
  opacity: 0.82;
  filter: saturate(0.9);
}

.texture-beauty-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.texture-beauty-prompt-head div {
  min-width: 0;
}

.texture-beauty-prompt-head small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.42);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.texture-beauty-prompt-head h5 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.08rem, 1.35vw, 1.48rem);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}

.texture-beauty-copy.copy-prompt {
  position: static;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.055);
}

.texture-beauty-prompt-text {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.texture-beauty-prompt-text summary {
  width: fit-content;
  cursor: pointer;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.texture-beauty-prompt-text p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.45;
}

.texture-application-note {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.ohmy-advice-callout {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 8px;
  max-width: 920px;
  overflow: hidden;
  padding: 18px 20px 19px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 184, 220, 0.24), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(191, 244, 255, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(73, 45, 114, 0.34), rgba(255, 155, 198, 0.12)),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    0 20px 48px rgba(126, 87, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.ohmy-advice-callout::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 184, 220, 0.2) 32%, rgba(191, 244, 255, 0.28) 50%, transparent 68%);
  background-size: 220% 100%;
  opacity: 0.82;
  animation: ohmyAdviceGlow 4.8s ease-in-out infinite;
}

.ohmy-advice-callout::after {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb8dc, #bff4ff 54%, #c8a8ff);
  box-shadow: 0 0 22px rgba(255, 184, 220, 0.42);
}

.ohmy-advice-callout span {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.095);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ohmy-advice-callout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.18vw, 1.14rem);
  font-weight: 500;
  line-height: 1.48;
}

@keyframes ohmyAdviceGlow {
  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.62;
  }

  50% {
    background-position: 100% 50%;
    opacity: 0.95;
  }
}

.texture-telegram-button {
  width: fit-content;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(42, 171, 238, 0.98), rgba(77, 199, 255, 0.82)),
    radial-gradient(circle at 22% 12%, rgba(255, 255, 255, 0.6), transparent 36%);
  box-shadow:
    0 18px 44px rgba(42, 171, 238, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 900;
  text-decoration: none;
}

.texture-telegram-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 58px rgba(42, 171, 238, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@media (max-width: 820px) {
  .texture-application-example {
    grid-template-columns: 1fr;
  }

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

  .texture-transform-examples {
    grid-template-columns: 1fr;
  }

  .texture-beauty-prompt-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .texture-application {
    padding: 24px 16px;
    border-radius: 28px;
  }

  .texture-application-flow span {
    width: 100%;
  }

  .texture-beauty-prompt-card {
    padding: 12px;
    border-radius: 22px;
  }

  .texture-beauty-prompt-images {
    gap: 6px;
  }

  .texture-transform-card {
    padding: 10px;
    border-radius: 22px;
  }

  .texture-transform-images {
    gap: 6px;
  }

  .texture-transform-arrow {
    width: 36px;
    height: 36px;
  }
}

.web-design-body {
  display: grid;
  gap: 26px;
  padding: 32px clamp(18px, 4vw, 74px) 108px;
  background:
    radial-gradient(circle at 12% 0%, rgba(142, 242, 255, 0.14), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(255, 184, 220, 0.12), transparent 26%),
    #050505;
  color: #fff;
  overflow-x: hidden;
}

.web-design-intro,
.web-design-case {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.web-design-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.28fr);
  gap: 22px;
  align-items: stretch;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.web-design-intro h3 {
  max-width: 780px;
  margin: 8px 0 14px;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 0.95;
  text-wrap: balance;
}

.web-design-intro p:not(.chapter-label) {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.42;
}

.web-design-intro aside {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(142, 242, 255, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(142, 242, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.web-design-intro aside strong {
  color: #8ef2ff;
  font-family: "Unbounded", sans-serif;
  font-size: 3.6rem;
  line-height: 0.9;
}

.web-design-intro aside span {
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.web-design-intro aside p {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.36;
}

.web-design-intro-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.web-design-intro-stats div {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(142, 242, 255, 0.18);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
}

.web-design-intro-stats:has(div:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.web-design-intro-stats:has(div:only-child) div {
  min-height: 112px;
  align-content: center;
}

.web-design-section-head,
.web-design-media-collection {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.web-design-section-head {
  display: grid;
  gap: 10px;
  padding: 14px 4px 0;
}

.web-design-section-head h3,
.web-design-section-head p {
  margin: 0;
}

.web-design-section-head h3 {
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 0.95;
}

.web-design-section-head p:not(.chapter-label) {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.42;
}

.web-design-media-collection {
  display: grid;
  gap: 22px;
  padding: 16px 0 10px;
}

.web-design-media-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
}

.web-design-media-hero h3,
.web-design-media-hero p {
  margin: 0;
}

.web-design-media-hero h3 {
  margin-top: 8px;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
}

.web-design-media-hero div > span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  margin: 12px 0 14px;
  padding: 0 12px;
  border: 1px solid rgba(142, 242, 255, 0.28);
  border-radius: 999px;
  background: rgba(142, 242, 255, 0.08);
  color: #8ef2ff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.web-design-media-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.42;
}

.web-design-media-stats {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.web-design-media-stats span {
  min-width: 126px;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.62);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.web-design-media-stats strong {
  color: #8ef2ff;
  font-family: "Unbounded", sans-serif;
  font-size: 2.1rem;
  line-height: 0.9;
}

.web-design-media-prompts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.web-design-media-prompt-card {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.web-design-media-prompt-head {
  display: grid;
  gap: 6px;
  padding-right: 58px;
}

.web-design-media-prompt-head span,
.web-design-media-card figcaption span {
  color: rgba(255, 255, 255, 0.5);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.web-design-media-prompt-head h4 {
  margin: 0;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.05;
}

.web-design-media-copy-button.web-design-copy-prompt.copy-prompt {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
}

.web-design-media-prompt-card pre {
  max-height: 260px;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 550;
  line-height: 1.45;
  white-space: pre-wrap;
}

.web-design-media-group {
  display: grid;
  gap: 14px;
}

.web-design-media-group-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding-top: 8px;
}

.web-design-media-group-head h4,
.web-design-media-group-head p {
  margin: 0;
}

.web-design-media-group-head h4 {
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.web-design-media-group-head p:not(.chapter-label) {
  max-width: 840px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 650;
  line-height: 1.42;
}

.web-design-media-group-head > span {
  min-width: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(142, 242, 255, 0.22);
  border-radius: 999px;
  color: #8ef2ff;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 900;
}

.web-design-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.web-design-media-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

.web-design-media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #070708;
}

.web-design-media-frame img,
.web-design-media-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.web-design-media-card[data-kind="video"] .web-design-media-frame video {
  object-fit: contain;
}

.web-design-media-card figcaption {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.web-design-media-card figcaption div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.web-design-media-card figcaption strong {
  min-width: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Unbounded", sans-serif;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-design-media-download {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(142, 242, 255, 0.26);
  border-radius: 999px;
  background: rgba(142, 242, 255, 0.1);
  color: #8ef2ff;
  font-weight: 900;
  text-decoration: none;
}

.web-design-media-download svg {
  width: 17px;
  height: 17px;
}

.web-design-media-download:hover,
.web-design-media-download:focus-visible {
  transform: translateY(-2px);
  background: #8ef2ff;
  color: #051012;
}

.web-design-pipeline-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 8px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #ffe875 48%, #8ef2ff 100%);
  color: #051012;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
}

.web-design-pipeline-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.web-design-pipeline-link:hover,
.web-design-pipeline-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.7);
  background: #fff;
}

.web-design-bottom-cta {
  width: min(100%, 1320px);
  margin: 8px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(142, 242, 255, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(142, 242, 255, 0.18), transparent 34%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.032)),
    #0f1012;
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.24);
}

.web-design-bottom-cta h3,
.web-design-bottom-cta p {
  margin: 0;
}

.web-design-bottom-cta h3 {
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.web-design-bottom-cta div {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.web-design-bottom-cta div > p:not(.chapter-label) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.42;
}

.web-design-bottom-cta-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #ffe875 48%, #8ef2ff 100%);
  color: #051012;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
}

.web-design-bottom-cta-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.web-design-bottom-cta-button:hover,
.web-design-bottom-cta-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.72);
  background: #fff;
}

.web-design-case-list {
  display: grid;
  gap: 24px;
}

.web-design-case {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(340px, 0.42fr);
  gap: 18px;
  align-items: stretch;
}

.web-design-preview-button {
  position: relative;
  min-width: 0;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.web-design-preview-window {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: #0d0d10;
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.34),
    0 0 46px color-mix(in srgb, var(--preview-accent) 16%, transparent);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.web-design-preview-button:hover .web-design-preview-window,
.web-design-preview-button:focus-visible .web-design-preview-window {
  border-color: color-mix(in srgb, var(--preview-accent) 58%, white 10%);
  transform: translateY(-2px);
  box-shadow:
    0 34px 96px rgba(0, 0, 0, 0.42),
    0 0 58px color-mix(in srgb, var(--preview-accent) 24%, transparent);
}

.web-design-preview-button:focus-visible {
  outline: 3px solid rgba(142, 242, 255, 0.58);
  outline-offset: 4px;
}

.web-design-browser-bar {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.web-design-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.web-design-browser-bar span:first-child {
  background: #ff7b7b;
}

.web-design-browser-bar span:nth-child(2) {
  background: #ffd166;
}

.web-design-browser-bar span:nth-child(3) {
  background: #8ef2ff;
}

.web-design-browser-bar small {
  min-width: 0;
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-design-preview-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--preview-accent) 18%, #101014), #111116 48%, #070708);
}

.web-design-preview-stage img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.web-design-preview-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 44px;
}

.web-design-preview-fallback strong {
  max-width: 500px;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 2.6rem;
  line-height: 0.96;
}

.web-design-preview-fallback > span {
  color: rgba(255, 255, 255, 0.64);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.web-design-preview-lines {
  width: min(100%, 420px);
  display: grid;
  gap: 10px;
}

.web-design-preview-lines i {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.web-design-preview-lines i:nth-child(2) {
  width: 74%;
}

.web-design-preview-lines i:nth-child(3) {
  width: 54%;
  background: color-mix(in srgb, var(--preview-accent) 52%, white 4%);
}

.web-design-preview-footer {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.035);
}

.web-design-preview-footer div {
  display: inline-flex;
  gap: 7px;
}

.web-design-preview-footer span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: var(--swatch);
}

.web-design-preview-footer small {
  color: rgba(255, 255, 255, 0.54);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.web-design-live-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 4;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.66);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  font-weight: 900;
}

.web-design-live-badge svg {
  width: 18px;
  height: 18px;
  color: #8ef2ff;
  fill: currentColor;
}

.web-design-case-copy {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    #111113;
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.26);
}

.web-design-case-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.web-design-case-kicker span,
.web-design-case-kicker small {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(142, 242, 255, 0.26);
  border-radius: 999px;
  background: rgba(142, 242, 255, 0.08);
  color: #8ef2ff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.web-design-case-kicker small {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.54);
}

.web-design-case-copy h3 {
  margin: 0;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  text-wrap: balance;
}

.web-design-case-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.42;
}

.web-design-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.web-design-meta div {
  min-width: 0;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.web-design-meta dt,
.web-design-meta dd {
  margin: 0;
  min-width: 0;
}

.web-design-meta dt {
  color: rgba(255, 255, 255, 0.42);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.web-design-meta dd {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.web-design-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.web-design-open,
.web-design-copy-prompt.copy-prompt {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.web-design-open {
  padding: 0 17px;
  border: 1px solid rgba(142, 242, 255, 0.42);
  background: #8ef2ff;
  color: #051012;
}

.web-design-open-work {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #ffe875 48%, #8ef2ff 100%);
  color: #051012;
  white-space: normal;
  text-align: center;
}

.web-design-open-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.web-design-open svg {
  width: 18px;
  height: 18px;
}

.web-design-open:hover,
.web-design-copy-prompt.copy-prompt:hover,
.web-design-copy-prompt.copy-prompt.is-copied {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.68);
  background: #fff;
  color: #051012;
}

.web-design-copy-prompt.copy-prompt {
  position: static;
  top: auto;
  right: auto;
  width: 48px;
  height: 48px;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.web-design-prompt {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.24);
}

.web-design-prompt summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.web-design-prompt pre {
  max-height: 320px;
  margin: 0;
  padding: 0 16px 16px;
  overflow: auto;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.42;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  scrollbar-color: rgba(142, 242, 255, 0.42) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

body.is-web-design-preview-open {
  overflow: hidden;
}

.web-design-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 22px;
}

.web-design-preview-modal[hidden] {
  display: none;
}

.web-design-preview-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(142, 242, 255, 0.16), transparent 34%),
    rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.web-design-preview-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  height: min(90vh, 900px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: #08080a;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.58);
}

.web-design-preview-dialog-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.web-design-preview-dialog-head p,
.web-design-preview-dialog-head h2 {
  margin: 0;
}

.web-design-preview-dialog-head p {
  color: #8ef2ff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.web-design-preview-dialog-head h2 {
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 1.15rem;
  line-height: 1.1;
}

.web-design-preview-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.web-design-preview-close:hover,
.web-design-preview-close:focus-visible {
  background: #8ef2ff;
  color: #051012;
}

.web-design-preview-dialog iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #fff;
}

@media (max-width: 1020px) {
  .web-design-intro,
  .web-design-case {
    grid-template-columns: 1fr;
  }

  .web-design-media-hero,
  .web-design-media-prompts {
    grid-template-columns: 1fr;
  }

  .web-design-media-stats {
    justify-content: start;
  }

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

  .web-design-intro h3 {
    font-size: 2.55rem;
  }

  .web-design-preview-stage {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 620px) {
  .web-design-body {
    gap: 18px;
    padding: 24px 12px 86px;
  }

  .web-design-intro,
  .web-design-case-copy,
  .web-design-preview-window {
    border-radius: 22px;
  }

  .web-design-intro,
  .web-design-case-copy {
    padding: 18px;
  }

  .web-design-intro-stats,
  .web-design-media-grid {
    grid-template-columns: 1fr;
  }

  .web-design-intro h3 {
    font-size: 2rem;
  }

  .web-design-section-head h3,
  .web-design-media-group-head h4 {
    font-size: 1.8rem;
  }

  .web-design-media-collection {
    gap: 18px;
  }

  .web-design-media-hero {
    gap: 14px;
  }

  .web-design-media-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .web-design-media-prompt-card {
    padding: 15px;
    border-radius: 18px;
  }

  .web-design-media-prompt-card pre {
    max-height: none;
    font-size: 0.82rem;
  }

  .web-design-media-group-head {
    align-items: start;
  }

  .web-design-media-download span {
    display: none;
  }

  .web-design-intro aside strong {
    font-size: 2.8rem;
  }

  .web-design-browser-bar small {
    max-width: 210px;
  }

  .web-design-preview-fallback {
    padding: 28px;
  }

  .web-design-preview-fallback strong {
    font-size: 1.9rem;
  }

  .web-design-live-badge {
    left: 14px;
    bottom: 14px;
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.88rem;
  }

  .web-design-case-copy h3 {
    font-size: 1.85rem;
  }

  .web-design-meta div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .web-design-open {
    width: 100%;
  }

  .web-design-copy-prompt.copy-prompt {
    width: 100%;
  }

  .web-design-prompt pre {
    max-height: 260px;
  }

  .web-design-preview-modal {
    padding: 8px;
  }

  .web-design-preview-dialog {
    height: 92vh;
    border-radius: 18px;
  }
}

.lesson-wall {
  padding: 32px clamp(18px, 4vw, 74px) 100px;
  background: #050505;
  overflow-x: hidden;
}

.lesson-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: stretch;
  width: min(100%, 1320px);
  margin: 0 auto;
  color: #fff;
}

.lesson-card + .lesson-card {
  margin-top: 24px;
}

.lesson-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 0 clamp(18px, 4vw, 74px) 96px;
  background: #050505;
}

.lesson-load-more {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 26px;
  border: 1px solid rgba(183, 255, 42, 0.38);
  border-radius: 999px;
  color: #171717;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.94), rgba(227, 255, 148, 0.72)),
    radial-gradient(circle at 22% 12%, rgba(255, 255, 255, 0.9), transparent 34%);
  box-shadow:
    0 18px 48px rgba(183, 255, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    inset 0 -10px 22px rgba(114, 169, 18, 0.13);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.lesson-load-more:hover {
  transform: translateY(-2px);
  filter: saturate(1.04);
  box-shadow:
    0 24px 64px rgba(183, 255, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -10px 22px rgba(114, 169, 18, 0.13);
}

.lesson-load-more small {
  color: rgba(23, 23, 23, 0.62);
  font-size: 0.82rem;
  font-weight: 900;
}

.lesson-card-video-only {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 1180px);
}

.lesson-video {
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(186, 255, 0, 0.18), transparent 36%),
    linear-gradient(300deg, rgba(139, 92, 246, 0.25), transparent 44%),
    #111;
}

.lesson-video video,
.lesson-video iframe,
.lesson-video img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  border: 0;
}

.lesson-video video,
.lesson-video img {
  object-fit: cover;
}

.lesson-card-video-only .lesson-video {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(183, 255, 42, 0.18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.lesson-card-video-only .lesson-video video,
.lesson-card-video-only .lesson-video iframe,
.lesson-card-video-only .lesson-video img {
  min-height: 0;
  height: 100%;
}

.lesson-empty {
  min-height: 420px;
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 34px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-weight: 900;
}

.lesson-empty svg {
  width: 52px;
  height: 52px;
  color: var(--lime);
}

.lesson-copy {
  min-width: 0;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  background: #171717;
  overflow: hidden;
}

.lesson-copy p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.54);
  font-weight: 900;
}

.lesson-copy h3 {
  margin: 0 0 24px;
  font-size: 2.35rem;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.lesson-copy strong {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.32;
}

.lesson-prompt {
  position: relative;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.lesson-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.lesson-prompt-head span {
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lesson-prompt .copy-prompt {
  position: static;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: #fff;
}

.lesson-prompt p {
  max-height: 360px;
  margin: 0;
  padding-right: 8px;
  overflow: auto;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.lesson-link {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--lime);
  color: #050505;
  font-weight: 900;
}

.lesson-external-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.lesson-card-video-only .lesson-external-links {
  margin-top: 0;
}

.lesson-external-links .lesson-link {
  min-height: 48px;
  gap: 10px;
  margin-top: 0;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(183, 255, 42, 0.12);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.lesson-external-links .lesson-link:hover {
  transform: translateY(-2px);
  background: #fff;
  color: #21172f;
  box-shadow: 0 18px 48px rgba(255, 255, 255, 0.16), 0 0 34px rgba(183, 255, 42, 0.18);
}

.lesson-external-links .telegram-hub-open {
  border-color: rgba(42, 171, 238, 0.45);
  background: #2aabee;
  color: #fff;
  box-shadow:
    0 16px 36px rgba(42, 171, 238, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.lesson-external-links .telegram-hub-open:hover {
  background: #fff;
  color: #1a8ec8;
  box-shadow:
    0 18px 42px rgba(42, 171, 238, 0.24),
    0 0 28px rgba(42, 171, 238, 0.18);
}

.lesson-external-links .lesson-link-youtube,
.lesson-external-links .lesson-link[href*="youtu.be"],
.lesson-external-links .lesson-link[href*="youtube.com"] {
  border-color: rgba(255, 255, 255, 0.24);
  background: #ff0000;
  color: #fff;
  box-shadow:
    0 16px 36px rgba(255, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.lesson-external-links .lesson-link-youtube:hover,
.lesson-external-links .lesson-link[href*="youtu.be"]:hover,
.lesson-external-links .lesson-link[href*="youtube.com"]:hover {
  background: #cc0000;
  color: #fff;
  box-shadow:
    0 18px 42px rgba(255, 0, 0, 0.26),
    0 0 28px rgba(255, 0, 0, 0.18);
}

.lesson-link svg,
.lesson-link i,
.lesson-link img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.lesson-brand-icon path {
  fill: currentColor;
}

.download-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 32px clamp(18px, 4vw, 74px) 100px;
  background: #050505;
}

.download-card {
  min-width: 0;
  min-height: 220px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 28px;
  background: #f7f7fb;
  color: #050505;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, background 180ms ease;
}

.download-card:hover {
  background: var(--lime);
  transform: translateY(-4px);
}

.download-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #050505;
  color: #fff;
}

.download-card:hover .download-icon {
  background: #fff;
  color: #050505;
}

.download-icon svg {
  width: 32px;
  height: 32px;
}

.download-copy {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.download-copy small {
  color: rgba(5, 5, 5, 0.5);
  font-weight: 900;
  text-transform: uppercase;
}

.download-copy strong {
  max-width: 780px;
  font-size: clamp(1.7rem, 3vw, 3.1rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.download-copy em {
  max-width: 680px;
  color: rgba(5, 5, 5, 0.62);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.34;
}

.download-action {
  width: max-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  background: #b7ff2a;
  color: #050505;
  box-shadow:
    0 14px 34px rgba(143, 210, 24, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  font-weight: 900;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.download-card:hover .download-action {
  background: #fff;
  color: #050505;
  box-shadow:
    0 18px 42px rgba(255, 255, 255, 0.24),
    0 0 34px rgba(183, 255, 42, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.top-services-panel {
  padding: 0 clamp(18px, 4vw, 74px) clamp(54px, 6vw, 96px);
  background: #050505;
  color: #fff;
}

.useful-links-main {
  display: grid;
  gap: 20px;
}

.top-services-head {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(260px, 0.5fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.top-services-head h1,
.top-services-head h3 {
  grid-column: 1;
  margin: 0;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 3vw, 3.8rem);
  line-height: 0.96;
}

.top-services-head p:not(.chapter-label) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
  line-height: 1.34;
}

.useful-links-page .top-services-panel {
  padding-top: clamp(20px, 2vw, 34px);
  border-radius: 30px;
}

.top-services-list {
  display: grid;
  gap: 18px;
}

.top-service-item {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(18px, 2.4vw, 34px);
  align-items: stretch;
  padding: clamp(20px, 2.5vw, 34px);
  border: 1px solid rgba(183, 255, 42, 0.18);
  border-radius: 32px;
  background:
    radial-gradient(circle at 94% 10%, rgba(183, 255, 42, 0.14), transparent 30%),
    linear-gradient(145deg, #1f2023 0%, #151517 62%, #223316 100%);
  color: #fff;
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.top-service-item:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 255, 42, 0.48);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38), 0 0 34px rgba(183, 255, 42, 0.12);
}

.top-service-item.is-text-only {
  grid-template-columns: minmax(0, 1fr);
}

.top-service-item.top-service-card-tripo {
  border-color: rgba(183, 255, 42, 0.3);
  background:
    radial-gradient(circle at 74% 12%, rgba(183, 255, 42, 0.23), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(141, 107, 255, 0.22), transparent 34%),
    linear-gradient(145deg, #191a1d 0%, #111113 58%, #223617 100%);
}

.top-service-item.top-service-card-scanned {
  border-color: rgba(255, 109, 64, 0.34);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 109, 64, 0.25), transparent 34%),
    radial-gradient(circle at 92% 90%, rgba(255, 212, 93, 0.16), transparent 32%),
    linear-gradient(145deg, #1c1718 0%, #111113 58%, #332018 100%);
}

.top-service-item.top-service-card-pinterest {
  border-color: rgba(255, 93, 133, 0.3);
  background:
    radial-gradient(circle at 76% 14%, rgba(255, 93, 133, 0.22), transparent 32%),
    radial-gradient(circle at 92% 88%, rgba(141, 107, 255, 0.18), transparent 34%),
    linear-gradient(145deg, #1e171d 0%, #111113 58%, #321923 100%);
}

.top-service-item.top-service-card-photopea {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 72, 54, 0.2), transparent 28%),
    radial-gradient(circle at 12% 92%, rgba(183, 255, 42, 0.1), transparent 30%),
    linear-gradient(145deg, #232323 0%, #111113 58%, #2b2b2b 100%);
}

.top-service-item.top-service-card-enhancer {
  border-color: rgba(133, 222, 255, 0.28);
  background:
    radial-gradient(circle at 86% 14%, rgba(133, 222, 255, 0.2), transparent 30%),
    radial-gradient(circle at 12% 92%, rgba(183, 255, 42, 0.12), transparent 30%),
    linear-gradient(145deg, #171d22 0%, #111113 58%, #17252d 100%);
}

.top-service-item.top-service-card-zimage {
  border-color: rgba(217, 187, 255, 0.3);
  background:
    radial-gradient(circle at 80% 12%, rgba(217, 187, 255, 0.2), transparent 32%),
    radial-gradient(circle at 14% 90%, rgba(255, 93, 133, 0.13), transparent 30%),
    linear-gradient(145deg, #1c1724 0%, #111113 58%, #24172b 100%);
}

.top-service-item.top-service-card-metricool {
  border-color: rgba(222, 255, 55, 0.32);
  background:
    radial-gradient(circle at 84% 12%, rgba(222, 255, 55, 0.22), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(141, 107, 255, 0.12), transparent 34%),
    linear-gradient(145deg, #1e1b20 0%, #111113 58%, #2b2715 100%);
}

.top-service-item.top-service-card-originkit {
  border-color: rgba(255, 119, 38, 0.34);
  background:
    radial-gradient(circle at 82% 14%, rgba(255, 119, 38, 0.22), transparent 32%),
    radial-gradient(circle at 12% 92%, rgba(183, 255, 42, 0.1), transparent 30%),
    linear-gradient(145deg, #211918 0%, #111113 58%, #2a1710 100%);
}

.top-service-item.top-service-card-liquid-metal {
  border-color: rgba(133, 222, 255, 0.34);
  background:
    radial-gradient(circle at 82% 14%, rgba(41, 103, 255, 0.24), transparent 34%),
    radial-gradient(circle at 94% 88%, rgba(255, 92, 119, 0.16), transparent 30%),
    linear-gradient(145deg, #171b24 0%, #111113 58%, #151c2e 100%);
}

.liquid-metal-example {
  min-width: 0;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.24);
}

.liquid-metal-example-pair {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.liquid-metal-example-step {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.liquid-metal-example-step img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  background: #050505;
}

.liquid-metal-example-step span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}

.liquid-metal-example-step span b {
  margin-right: 5px;
  color: #85deff;
  font-family: "IBM Plex Mono", monospace;
}

.liquid-metal-example figcaption {
  padding: 2px 4px 4px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.38;
}

.top-service-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: stretch;
}

.top-service-media {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(210px, 0.62fr);
  gap: 16px;
  align-items: stretch;
  margin: 0;
}

.top-service-media img,
.top-service-model {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(183, 255, 42, 0.18), transparent 32%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.top-service-media img {
  object-fit: cover;
  object-position: center;
}

.top-service-media.is-photopea img {
  min-height: 260px;
  padding: 6px;
  object-fit: contain;
  background: #242424;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.top-service-media.is-metricool img,
.top-service-media.is-originkit img {
  min-height: 300px;
  padding: 8px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.top-service-media.is-metricool img {
  background: #f8f7f4;
}

.top-service-media.is-originkit img {
  background: #111;
}

.top-service-media.is-pinterest img {
  padding: clamp(22px, 4vw, 56px);
  object-fit: contain;
  background: #e0e0e0;
}

.top-service-media.is-model {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.58fr);
}

.top-service-media.is-model .top-service-model {
  min-height: 360px;
}

.top-service-media-link {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.56);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 1.2rem;
  font-weight: 950;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.top-service-media-link:hover {
  transform: rotate(10deg) scale(1.05);
  background: var(--lime);
  color: #050505;
  box-shadow: 0 0 30px rgba(183, 255, 42, 0.28), 0 14px 34px rgba(0, 0, 0, 0.32);
}

.top-service-media figcaption {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 12px;
  padding: 4px;
}

.top-service-media small {
  color: #d9bbff;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 900;
  text-transform: uppercase;
}

.top-service-media.is-font-pairs small,
.top-service-media.is-tripo small {
  color: var(--lime);
}

.top-service-media.is-pinterest small {
  color: #ff8ca8;
}

.top-service-media.is-photopea small {
  color: #ff6b5d;
}

.top-service-media.is-metricool small {
  color: #dfff37;
}

.top-service-media.is-originkit small {
  color: #ff8a3d;
}

.top-service-media.is-scanned small {
  color: #ffd45d;
}

.top-service-media strong {
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.15rem, 1.6vw, 2rem);
  line-height: 1.04;
}

.top-service-media p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
  line-height: 1.34;
}

.model-fallback-link {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--lime);
  color: #050505;
  font-weight: 950;
}

.model-local-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 68px;
  z-index: 2;
  display: inline-flex;
  max-width: 420px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(5, 5, 5, 0.62);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.28;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.top-service-model.is-loaded .model-fallback-link,
.top-service-model.is-loaded .model-local-note {
  display: none;
}

.top-service-copy small {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 900;
  text-transform: uppercase;
}

.top-service-copy > strong {
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.35rem, 1.7vw, 2rem);
  line-height: 1.04;
}

.top-service-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
  line-height: 1.34;
}

.top-service-copy ul {
  display: grid;
  gap: 9px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}

.top-service-copy li {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.28;
}

.top-service-copy li b {
  color: #d9bbff;
}

.top-service-copy .hub-open {
  width: max-content;
  max-width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 0 16px;
  border-color: rgba(183, 255, 42, 0.42);
  background: var(--lime);
  color: #050505;
}

.top-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.top-service-actions .hub-open {
  margin-top: 0;
  text-decoration: none;
}

.top-service-secondary-action {
  border-color: rgba(217, 187, 255, 0.52);
  background: rgba(217, 187, 255, 0.16);
  color: #f0e6ff;
  box-shadow:
    0 14px 34px rgba(141, 107, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.top-service-secondary-action:hover {
  background: #eadcff;
  color: #120f18;
  box-shadow:
    0 18px 44px rgba(217, 187, 255, 0.2),
    0 0 28px rgba(217, 187, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

@media (min-width: 1100px) and (max-width: 2200px) and (max-height: 1250px) {
  .education-page .platform-shell {
    padding-inline: clamp(12px, 2.4vw, 46px);
  }

  .education-page .topbar {
    top: 10px;
    padding: 7px 14px;
    border-radius: 30px;
  }

  .education-page .brand-mark {
    font-size: clamp(0.95rem, 1.35vw, 1.18rem);
  }

  .education-page .brand-lab {
    min-height: 28px;
    padding: 0 11px;
  }

  .education-page .top-nav a {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .education-page .protected-account {
    min-height: 44px;
    padding: 4px 7px 4px 14px;
    font-size: 0.84rem;
  }

  .education-page .top-services-panel,
  .useful-links-page .top-services-panel {
    padding-inline: clamp(12px, 2.4vw, 46px);
    padding-bottom: clamp(48px, 4.5vw, 74px);
  }

  .education-page .top-services-head h3,
  .useful-links-page .top-services-head h1,
  .useful-links-page .top-services-head h3 {
    font-size: clamp(1.8rem, 2.25vw, 2.8rem);
  }

  .education-page .top-services-head p:not(.chapter-label),
  .useful-links-page .top-services-head p:not(.chapter-label),
  .education-page .top-service-copy > p,
  .useful-links-page .top-service-copy > p,
  .education-page .top-service-media p,
  .useful-links-page .top-service-media p {
    font-size: 0.9rem;
    font-weight: 620;
  }

  .education-page .top-service-item,
  .useful-links-page .top-service-item {
    gap: clamp(14px, 1.8vw, 26px);
    padding: clamp(16px, 1.7vw, 24px);
    border-radius: 26px;
  }

  .education-page .top-service-copy,
  .useful-links-page .top-service-copy {
    gap: 10px;
  }

  .education-page .top-service-copy > strong,
  .useful-links-page .top-service-copy > strong,
  .education-page .top-service-media strong,
  .useful-links-page .top-service-media strong {
    font-size: clamp(1.16rem, 1.25vw, 1.52rem);
  }

  .education-page .top-service-copy li,
  .useful-links-page .top-service-copy li {
    padding: 7px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 620;
  }

  .education-page .top-service-actions .hub-open,
  .useful-links-page .top-service-actions .hub-open,
  .education-page .top-service-copy .hub-open {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 0.84rem;
  }

  .education-page .top-service-media img,
  .useful-links-page .top-service-media img,
  .education-page .top-service-model,
  .useful-links-page .top-service-model {
    min-height: 220px;
    border-radius: 20px;
  }

  .education-page .top-service-media.is-model .top-service-model,
  .useful-links-page .top-service-media.is-model .top-service-model {
    min-height: 270px;
  }

  .education-page .top-service-media-link,
  .useful-links-page .top-service-media-link {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }
}

.payment-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.58fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  margin: 108px 0;
  padding: clamp(44px, 5.6vw, 82px);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 12% 10%, rgba(255, 210, 166, 0.42), transparent 34%),
    radial-gradient(circle at 28% 82%, rgba(183, 255, 42, 0.26), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(141, 107, 255, 0.28), transparent 38%),
    radial-gradient(circle at 70% 92%, rgba(255, 184, 220, 0.38), transparent 34%);
  border: 1px solid rgba(255, 255, 255, 0.76);
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 34px 110px rgba(91, 65, 150, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(30px) saturate(1.34);
  -webkit-backdrop-filter: blur(30px) saturate(1.34);
}

.payment-section::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 310px;
  height: 310px;
  border-radius: 46% 54% 58% 42%;
  background: linear-gradient(135deg, rgba(191, 244, 255, 0.5), rgba(205, 184, 255, 0.34));
  pointer-events: none;
}

.payment-copy h2 {
  max-width: 780px;
  margin: 0 0 22px;
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
  line-height: 0.92;
}

.payment-copy > p:not(.chapter-label) {
  max-width: 560px;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.24;
}

.checkout-card {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 4vw, 54px);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(91, 65, 150, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(26px) saturate(1.3);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.34);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  font-weight: 800;
}

.checkout-card h3 {
  margin: 26px 0 28px;
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 0.96;
}

.checkout-card dl {
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin-bottom: 34px;
}

.checkout-card dt,
.checkout-card dd {
  margin: 0;
}

.checkout-card dt {
  color: var(--muted);
}

.checkout-card dd {
  color: var(--text);
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
  margin: 0 0 18px;
  padding: 18px clamp(18px, 3vw, 28px);
  border-radius: 22px;
  background: #050505;
  color: #fff;
  box-shadow: 0 18px 46px rgba(33, 26, 47, 0.18);
}

.mastercard-mark {
  position: relative;
  display: inline-grid;
  grid-template-columns: 20px 20px;
  align-items: center;
  min-width: 78px;
  row-gap: 2px;
}

.mastercard-mark i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
}

.mastercard-mark i + i {
  margin-left: -8px;
  opacity: 0.92;
}

.mastercard-mark b {
  grid-column: 1 / -1;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: lowercase;
}

.visa-mark,
.mir-mark {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  font-weight: 900;
  line-height: 1;
}

.visa-mark {
  font-style: italic;
}

.card-note {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.25;
}

.checkout-button {
  width: 100%;
  min-height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.78), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 90% 0%, rgba(141, 107, 255, 0.24), transparent 48%);
  color: var(--text);
  box-shadow: 0 18px 42px rgba(91, 65, 150, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 1.06rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.checkout-button:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(205, 184, 255, 0.42)),
    radial-gradient(circle at 90% 0%, rgba(255, 184, 220, 0.34), transparent 48%);
}

.checkout-button.is-loading {
  background: #fff;
  color: #050505;
}

.checkout-button.is-error {
  background: var(--purple);
  color: #fff;
}

.checkout-button svg {
  width: 22px;
  height: 22px;
}

.checkout-card small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.account-preview {
  position: relative;
  margin-top: 104px;
  padding: clamp(44px, 6vw, 84px);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.44)),
    radial-gradient(circle at 18% 12%, rgba(191, 244, 255, 0.44), transparent 34%),
    radial-gradient(circle at 82% 24%, rgba(205, 184, 255, 0.48), transparent 34%),
    radial-gradient(circle at 74% 92%, rgba(255, 210, 166, 0.38), transparent 36%);
  border: 1px solid rgba(255, 255, 255, 0.76);
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 34px 110px rgba(91, 65, 150, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(30px) saturate(1.34);
  -webkit-backdrop-filter: blur(30px) saturate(1.34);
}

.account-preview::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -130px;
  z-index: 0;
  width: 360px;
  height: 360px;
  border-radius: 48% 52% 42% 58%;
  background: linear-gradient(135deg, rgba(255, 184, 220, 0.38), rgba(191, 244, 255, 0.42));
  pointer-events: none;
}

.account-preview > * {
  position: relative;
  z-index: 1;
}

.account-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 56px;
}

.ai-dsgn {
  gap: 8px;
  color: #fff;
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 3.15rem);
}

.ai-dsgn b {
  padding: 0 10px;
  border-radius: 14px;
  background: #fff;
  color: #050505;
  line-height: 1;
}

.account-top a {
  min-width: 270px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.76);
  color: var(--text);
  box-shadow: 0 18px 44px rgba(91, 65, 150, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  font-weight: 900;
}

.account-preview .ai-dsgn {
  color: var(--text);
}

.account-preview .ai-dsgn b {
  background: var(--lime);
  color: var(--text);
}

.account-preview h2 {
  text-align: center;
  margin-bottom: 78px;
}

.account-grid {
  width: min(100%, 1084px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 0 auto;
}

.profile-card,
.subscription-card {
  min-height: 540px;
  padding: clamp(38px, 4vw, 56px);
  border-radius: 38px;
}

.profile-card {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(91, 65, 150, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(26px) saturate(1.3);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
}

.subscription-card {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.76);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(91, 65, 150, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(26px) saturate(1.3);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
}

.profile-card > p,
.subscription-card > p {
  margin-bottom: 34px;
  color: var(--muted);
  font-weight: 900;
}

.subscription-card > p {
  color: var(--muted);
}

dl {
  display: grid;
  gap: 22px;
  margin: 0 0 70px;
}

dt {
  color: rgba(5, 5, 5, 0.35);
  font-size: 1.05rem;
  font-weight: 800;
}

.subscription-card dt {
  color: var(--muted);
}

dd {
  margin: -14px 0 14px;
  font-size: 1.28rem;
  font-weight: 900;
}

.profile-card button,
.subscription-card button {
  width: 100%;
  min-height: 84px;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 900;
}

.profile-card button {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  box-shadow: 0 18px 44px rgba(91, 65, 150, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(1.28);
  -webkit-backdrop-filter: blur(20px) saturate(1.28);
}

.profile-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 34px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.42);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 10px 24px rgba(91, 65, 150, 0.1);
  backdrop-filter: blur(16px) saturate(1.22);
  -webkit-backdrop-filter: blur(16px) saturate(1.22);
  font-weight: 900;
}

.profile-card svg {
  width: 18px;
  height: 18px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 58px;
}

.status-row h3 {
  margin: 0;
  font-size: 1.45rem;
}

.status-row span {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(211, 235, 229, 0.74);
  color: #00896a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 14px 34px rgba(0, 137, 106, 0.12);
  backdrop-filter: blur(18px) saturate(1.24);
  -webkit-backdrop-filter: blur(18px) saturate(1.24);
  font-weight: 900;
}

.status-row svg {
  width: 22px;
  height: 22px;
}

.subscription-card dl {
  grid-template-columns: 1fr auto;
  gap: 22px;
  margin-bottom: 78px;
}

.subscription-card dt,
.subscription-card dd {
  margin: 0;
}

.subscription-card button {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.54);
  color: var(--text);
  box-shadow: 0 18px 44px rgba(91, 65, 150, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(1.28);
  -webkit-backdrop-filter: blur(20px) saturate(1.28);
}

.subscription-card small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 900;
}

.subscription-card small b {
  display: block;
  color: var(--text);
}

.bottom-dock {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 18px;
  width: min(1260px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow:
    0 24px 78px rgba(91, 65, 150, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -18px 44px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(26px) saturate(1.35);
  -webkit-backdrop-filter: blur(26px) saturate(1.35);
  transform: translateX(-50%);
  transition: opacity 180ms ease, transform 220ms ease;
}

.account-mode .bottom-dock {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 120%);
}

.bottom-dock a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 26px;
  color: var(--text-soft);
  padding: 0 8px;
  font-size: clamp(0.76rem, 0.95vw, 1rem);
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: normal;
  text-align: center;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.bottom-dock a:hover,
.bottom-dock a.is-current {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 14px 34px rgba(91, 65, 150, 0.16);
}

.bottom-dock svg {
  width: 30px;
  height: 30px;
}

.top-nav a:focus-visible,
.profile-pill:focus-visible,
.hero-button:focus-visible,
.hub-open:focus-visible,
.hub-utility a:focus-visible,
.checkout-button:focus-visible,
.account-top a:focus-visible,
.bottom-dock a:focus-visible {
  outline: 3px solid rgba(141, 107, 255, 0.45);
  outline-offset: 3px;
}

@media (min-width: 761px) {
  .bottom-dock {
    display: none;
  }

  .platform-shell {
    padding-bottom: clamp(54px, 6vw, 92px);
  }
}

body.section-page {
  background: #050505;
  max-width: 100vw;
  overflow-x: hidden;
}

body.section-page .platform-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.section-page .topbar,
body.section-page .lab-hero,
body.section-page .llm-menu-intro,
body.section-page .platform-search-entry,
body.section-page .site-update-slot,
body.section-page .platform-update-slot,
body.section-page .resources-head,
body.section-page .platform-route-section,
body.section-page .platform-hub,
body.section-page .prompt-library,
body.section-page .payment-section,
body.section-page .account-preview,
body.section-page .account-plan-section,
body.section-page .bottom-dock {
  display: none;
}

@media (min-width: 761px) {
  .hub-subpage .bottom-dock {
    display: none;
  }
}

body.section-page .topic-detail {
  margin: 0;
  max-width: 100vw;
  overflow-x: hidden;
}

body.section-page .topic-hero {
  border-radius: 0;
}

body.section-page .prompt-wall,
body.section-page .download-wall {
  padding: 32px clamp(18px, 4vw, 74px) 100px;
}

body.section-page .prompt-groups .prompt-wall {
  padding: 0;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .topic-hero {
  min-height: auto;
  padding: clamp(22px, 3.2vw, 44px) clamp(18px, 4vw, 58px) clamp(28px, 4vw, 56px);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .topic-backbar {
  margin-bottom: clamp(22px, 3.8vw, 46px);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .topic-preview {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: clamp(20px, 4vw, 56px);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .topic-copy p {
  margin-bottom: 12px;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .topic-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5.2vw, 4.9rem);
  line-height: 0.92;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .topic-copy strong {
  max-width: 560px;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.28;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .topic-preview img {
  max-height: min(46vh, 420px);
  aspect-ratio: 0.86;
  transform: rotate(-2deg);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  padding: 32px clamp(18px, 4vw, 74px) 96px;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-card {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: #171717;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.32);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-card + .lesson-card {
  margin-top: 0;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-video {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-video video,
.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-video iframe,
.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-video img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-empty {
  min-height: 0;
  height: 100%;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-copy {
  padding: clamp(18px, 2vw, 24px);
  border-radius: 0;
  background: #171717;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-copy p {
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-copy h3 {
  margin-bottom: 0;
  font-size: clamp(1.16rem, 1.6vw, 1.58rem);
  line-height: 1.08;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-copy strong {
  margin-top: 12px;
  font-size: 0.94rem;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-prompt {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-prompt p {
  max-height: 220px;
  font-size: 0.86rem;
  scrollbar-color: rgba(183, 255, 42, 0.34) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-prompt p::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-prompt p::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-prompt p::-webkit-scrollbar-track {
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-prompt p::-webkit-scrollbar-thumb {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(183, 255, 42, 0.48), rgba(148, 205, 42, 0.28)),
    radial-gradient(circle at 35% 15%, rgba(255, 255, 255, 0.64), transparent 40%);
  box-shadow:
    0 8px 20px rgba(111, 160, 28, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-prompt p::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(183, 255, 42, 0.62), rgba(148, 205, 42, 0.36)),
    radial-gradient(circle at 35% 15%, rgba(255, 255, 255, 0.72), transparent 40%);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .lesson-link {
  min-height: 44px;
  margin-top: 16px;
  padding: 0 18px;
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .topic-preview img {
  max-height: min(46vh, 420px);
  aspect-ratio: 0.86;
  transform: rotate(-2deg);
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  padding: 32px clamp(18px, 4vw, 74px) 96px;
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-card {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: #171717;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.32);
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-card + .lesson-card {
  margin-top: 0;
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-video {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-video video,
.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-video iframe,
.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-video img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-empty {
  min-height: 0;
  height: 100%;
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-copy {
  padding: clamp(18px, 2vw, 24px);
  border-radius: 0;
  background: #171717;
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-copy p {
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-copy h3 {
  margin-bottom: 0;
  font-size: clamp(1.16rem, 1.6vw, 1.58rem);
  line-height: 1.08;
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-copy strong {
  margin-top: 12px;
  font-size: 0.94rem;
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-prompt {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-prompt p {
  max-height: 220px;
  font-size: 0.86rem;
  scrollbar-color: rgba(183, 255, 42, 0.34) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-link {
  min-height: 44px;
  margin-top: 16px;
  padding: 0 18px;
}

@media (max-width: 760px) {
  .topic-detail[data-topic-slug="ai-video-seedance-25"] .topic-hero {
    padding: 18px 12px 24px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance-25"] .topic-preview {
    gap: 16px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance-25"] .topic-copy h2 {
    font-size: clamp(2.15rem, 10vw, 2.75rem);
  }

  .topic-detail[data-topic-slug="ai-video-seedance-25"] .topic-copy strong {
    font-size: 0.98rem;
  }

  .topic-detail[data-topic-slug="ai-video-seedance-25"] .topic-preview img {
    width: min(100%, 300px);
    max-height: 240px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-wall {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 18px 12px 54px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance-25"] .lesson-card {
    border-radius: 22px;
  }
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(18px, 3vw, 36px);
  margin: 0 clamp(18px, 4vw, 74px) 28px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(233, 238, 224, 0.76)),
    rgba(255, 255, 255, 0.82);
  color: #101012;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-copy {
  min-width: 0;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-copy h3 {
  max-width: 520px;
  margin: 8px 0 14px;
  font-size: clamp(2rem, 3.7vw, 4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-copy > p:not(.chapter-label) {
  max-width: 580px;
  margin: 0;
  color: rgba(16, 16, 18, 0.72);
  font-weight: 800;
  line-height: 1.38;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-copy a {
  color: #080808;
  font-weight: 1000;
  text-decoration: underline;
  text-decoration-color: rgba(183, 255, 42, 0.88);
  text-decoration-thickness: 0.18em;
  text-underline-offset: 0.12em;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-soon {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(16, 16, 18, 0.14);
  border-radius: 999px;
  background: rgba(16, 16, 18, 0.06);
  color: rgba(16, 16, 18, 0.66);
  font-size: 0.82em;
  white-space: normal;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(16, 16, 18, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #101012;
  font-weight: 1000;
  text-decoration: none;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-copy .seedance-howto-link {
  text-decoration: none;
  text-decoration-color: transparent;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-link-primary {
  border-color: rgba(16, 16, 18, 0.16);
  background: var(--lime);
  box-shadow: 0 18px 38px rgba(183, 255, 42, 0.22);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-link-work {
  border-color: rgba(16, 16, 18, 0.2);
  background: #101012;
  color: #fff;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-copy .seedance-howto-link-work {
  color: #fff;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-link-work .seedance-howto-badge {
  background: rgba(183, 255, 42, 0.92);
  color: #101012;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-link i {
  width: 16px;
  height: 16px;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(16, 16, 18, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-steps span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #101012;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-steps p {
  margin: 0;
  color: rgba(16, 16, 18, 0.82);
  font-weight: 850;
  line-height: 1.3;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto + .lesson-wall {
  padding-top: 4px;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto + .seedance-library {
  margin-top: clamp(18px, 3vw, 38px);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-library {
  padding: clamp(24px, 4vw, 58px) clamp(18px, 4vw, 74px) 30px;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-library + .seedance-howto {
  margin-top: 20px;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-library-head {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(340px, 0.42fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: start;
  margin-bottom: 22px;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-library-head h3 {
  justify-self: end;
  max-width: 620px;
  margin: clamp(12px, 2.8vw, 42px) 0 0;
  color: #25183b;
  font-size: clamp(2rem, 4vw, 4.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-library-head strong {
  max-width: 560px;
  color: rgba(37, 24, 59, 0.72);
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  font-weight: 850;
  line-height: 1.34;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-library .chapter-label {
  color: rgba(37, 24, 59, 0.66);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-tag {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(183, 255, 42, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  color: #25183b;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-tag:hover,
.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-tag:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(183, 255, 42, 0.72);
  background: rgba(183, 255, 42, 0.24);
  color: #151018;
  outline: none;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-tag small {
  min-width: 28px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--lime);
  color: #101012;
  font-size: 0.76rem;
  font-weight: 1000;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-list {
  display: grid;
  gap: 14px;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.055), transparent 36%),
    #101010;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category[open] {
  border-color: rgba(183, 255, 42, 0.34);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-summary {
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: clamp(16px, 2vw, 22px);
  cursor: pointer;
  list-style: none;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-summary::-webkit-details-marker {
  display: none;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-kicker {
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-title {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2.15rem);
  font-weight: 1000;
  line-height: 0.98;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-count {
  min-width: 46px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--lime);
  color: #101012;
  font-size: 0.95rem;
  font-weight: 1000;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-summary i {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.76);
  transition: transform 180ms ease;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category[open] .seedance-category-summary i {
  transform: rotate(180deg);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-body {
  padding: 0 clamp(14px, 2vw, 22px) clamp(18px, 2.4vw, 26px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-description {
  max-width: 760px;
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 850;
  line-height: 1.36;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-wall.lesson-wall {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-load-more-wrap {
  padding: 18px 0 0;
}

.topic-detail[data-topic-slug="ai-video-seedance"] .seedance-load-more {
  min-width: 220px;
}

.payment-return-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 16% 20%, rgba(186, 255, 0, 0.26), transparent 24rem),
    radial-gradient(circle at 82% 26%, rgba(139, 92, 246, 0.32), transparent 28rem),
    #050505;
  color: #fff;
}

.payment-return {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 72px;
  padding: clamp(28px, 5vw, 74px);
}

.payment-return section {
  max-width: 950px;
}

.payment-return h1 {
  margin-bottom: 26px;
  font-size: clamp(3.8rem, 10vw, 11rem);
  line-height: 0.86;
}

.payment-return p:not(.chapter-label) {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.15rem;
  font-weight: 900;
}

@media (max-width: 1280px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .top-service-item {
    grid-template-columns: 1fr;
  }

  .gpt-agents-guide,
  .gpt-agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpt-agents-guide > p {
    grid-column: 1 / -1;
  }

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

  .platform-card,
  .platform-card-video,
  .platform-card-client,
  .platform-card-llm,
  .platform-card-prompts,
  .platform-card-terms {
    grid-column: auto;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: 420px;
  }
}

@media (max-width: 1320px) and (min-width: 981px) {
  .public-topbar {
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    gap: 10px;
  }

  .public-topbar .brand {
    grid-column: 1;
    grid-row: 1;
    padding-right: 0;
  }

  .public-topbar .top-nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    padding: 5px;
  }

  .public-topbar .top-nav a {
    padding-inline: clamp(7px, 0.62vw, 11px);
    font-size: clamp(0.72rem, 0.8vw, 0.82rem);
  }

  .public-topbar .public-auth-actions,
  .public-topbar > .profile-pill {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .public-auth-actions .profile-pill,
  .public-topbar > .profile-pill {
    min-width: 104px;
    max-width: 140px;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .top-nav {
    display: none;
  }

  .profile-pill span:last-child {
    display: none;
  }

  .profile-pill {
    width: 44px;
    justify-content: center;
    padding: 0;
  }

  .public-auth-actions {
    gap: 6px;
  }

  .public-auth-actions .profile-pill {
    max-width: 44px;
  }

  .platform-entry-pill {
    min-height: 44px;
    padding: 0 13px;
    font-size: 0.84rem;
  }

  .resources-head,
  .hub-toolbar,
  .subpage-hero,
  .subpage-section-head,
  .gpt-agent-video-card,
  .skill-video-block,
  .skill-download-grid,
  .library-toolbar,
  .account-grid {
    grid-template-columns: 1fr;
  }

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

  .platform-card {
    min-height: 390px;
  }

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

  .texture-hero-layout,
  .texture-step {
    grid-template-columns: 1fr;
  }

  .creative-hero-media {
    justify-self: start;
    width: min(100%, 420px);
  }

  .texture-hero-collage {
    grid-auto-rows: clamp(72px, 15vw, 128px);
  }

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

  .download-wall {
    grid-template-columns: 1fr;
  }

  .payment-section {
    grid-template-columns: 1fr;
  }

  .topic-preview {
    grid-template-columns: 1fr;
  }

  .topic-detail[data-topic-slug="cinematic-prompts"] .topic-preview {
    grid-template-columns: 1fr;
  }

  .subpage-copy h1 {
    font-size: clamp(3rem, 12vw, 6.4rem);
  }

  .topic-copy h2 {
    font-size: clamp(3.6rem, 10vw, 5.6rem);
  }

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

@media (max-width: 680px) {
  .platform-shell {
    padding: 18px 10px 156px;
  }

  .topbar {
    margin-bottom: 18px;
  }

  .brand-mark {
    font-size: 1.02rem;
  }

  .hero-panel {
    min-height: auto;
    padding: 28px 22px 22px;
    border-radius: 26px;
  }

  .hero-panel::after {
    right: -10%;
    width: 34%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 9.4vw, 3rem);
    line-height: 0.96;
    overflow-wrap: break-word;
  }

  .hero-copy > p:not(.chapter-label):not(.hero-subtitle) {
    font-size: 1rem;
  }

  .hero-button {
    width: 100%;
    min-width: 0;
    min-height: 64px;
  }

  .phone-stage {
    min-height: 380px;
  }

  .phone-frame {
    right: 8%;
    width: 210px;
  }

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

  .feature-stack div {
    min-height: 120px;
  }

  .resources-head h2,
  .library-toolbar h2,
  .hub-toolbar h2,
  .account-preview h2 {
    font-size: clamp(2.15rem, 12vw, 3.6rem);
  }

  .authors-note {
    grid-template-columns: 1fr;
  }

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

  .global-sections-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 360px;
    padding: 26px;
  }

  .platform-card > svg {
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
  }

  .platform-card h3 {
    font-size: clamp(2rem, 12vw, 3.25rem);
  }

  .subpage-hero {
    min-height: auto;
    padding: 28px 18px;
    border-radius: 26px;
  }

  .subpage-hero::after {
    right: -8%;
    width: 32%;
  }

  .subpage-copy h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
    line-height: 0.94;
  }

  .section-material-grid,
  .gpt-agents-guide,
  .gpt-agent-grid,
  .paid-lesson-grid,
  .tool-lanes {
    grid-template-columns: 1fr;
  }

  .section-material-card {
    min-height: 250px;
  }

  .texture-topic-hero {
    padding: 24px 12px 42px;
  }

  .texture-hero-copy h2 {
    font-size: clamp(2.5rem, 10.6vw, 3.2rem);
    white-space: nowrap;
  }

  .texture-hero-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 132px;
    gap: 10px;
  }

  .texture-collage-item-1,
  .texture-collage-item-2,
  .texture-collage-item-3,
  .texture-collage-item-4,
  .texture-collage-item-5,
  .texture-collage-item-6,
  .texture-collage-item-7 {
    grid-column: auto;
    grid-row: auto;
  }

  .texture-effects-body {
    gap: 58px;
    padding: 26px 12px 86px;
  }

  .texture-step-copy h3,
  .texture-collection-head h3 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .texture-sketch-board,
  .texture-card-grid,
  .texture-step-card-grid {
    grid-template-columns: 1fr;
  }

  .texture-sketch-main {
    min-height: 0;
    height: auto;
    aspect-ratio: 1.25;
  }

  .texture-sketch-near {
    min-height: 0;
    height: auto;
    aspect-ratio: 0.527;
  }

  .texture-sketch-board img {
    height: auto;
  }

  .texture-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .texture-preview-item {
    border-radius: 14px;
  }

  .texture-card {
    border-radius: 22px;
  }

  .texture-card-main {
    height: clamp(340px, 118vw, 520px);
    aspect-ratio: 4 / 5;
  }

  .gpt-agent-card {
    min-height: 260px;
  }

  .gpt-agent-video-card {
    padding: 14px;
    border-radius: 24px;
  }

  .gpt-agent-video-shell {
    min-height: 210px;
    border-radius: 20px;
  }

  .gpt-agent-video-copy .hub-open {
    width: 100%;
  }

  .micro-nav {
    border-radius: 18px;
    font-size: 0.7rem;
  }

  .skill-kit-summary {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
  }

  .skill-kit-action {
    width: 100%;
    white-space: normal;
  }

  .skill-md-actions {
    display: grid;
  }

  .skill-md-actions a {
    width: 100%;
  }

  .skill-video-shell {
    min-height: 210px;
    border-radius: 20px;
  }

  .skill-attention-strip {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .skill-attention-icon {
    width: 38px;
    height: 38px;
  }

  .instruction-steps {
    border-radius: 20px;
  }

  .platform-card p {
    font-size: 1rem;
  }

  .hub-open {
    min-height: 44px;
  }

  .hub-utility a {
    width: 100%;
  }

  .resource-card {
    min-height: 360px;
    padding: 26px;
  }

  .card-image {
    right: -26px;
    width: 64%;
  }

  .image-fisheye {
    width: 118%;
  }

  .resource-card:hover h3,
  .resource-card.is-featured h3 {
    padding: 24px 22px;
  }

  .open-bubble {
    width: 132px;
    height: 132px;
  }

  .account-preview {
    padding: 26px 14px;
  }

  .payment-section {
    margin: 58px 0;
    padding: 28px 16px;
    border-radius: 26px;
  }

  .checkout-card {
    padding: 24px 18px;
    border-radius: 26px;
  }

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

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

  .account-top a {
    min-width: 0;
    width: 100%;
  }

  .account-preview h2 {
    margin-bottom: 32px;
    text-align: left;
  }

  .profile-card,
  .subscription-card {
    min-height: auto;
    padding: 28px 24px;
    border-radius: 30px;
  }

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

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

  .bottom-dock {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    gap: 5px;
    padding: 8px;
    border-radius: 26px;
  }

  .bottom-dock a {
    min-width: 0;
    min-height: 34px;
    border-radius: 16px;
    font-size: 0.68rem;
    line-height: 1.04;
  }

  .topic-detail {
    margin: 56px 0;
  }

  .topic-hero {
    min-height: auto;
    padding: 24px 16px;
    border-radius: 26px;
  }

  .topic-backbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 42px;
  }

  .topic-actions {
    width: 100%;
    max-width: 358px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .topic-close,
  .topic-menu {
    min-width: 0;
    width: 100%;
    padding: 0 14px;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .topic-copy h2 {
    font-size: clamp(2.35rem, 10.2vw, 3rem);
    line-height: 0.96;
    overflow-wrap: break-word;
  }

  .topic-preview,
  .topic-copy {
    max-width: 358px;
  }

  .topic-preview img,
  .topic-preview > video {
    width: 100%;
    max-height: 420px;
    transform: none;
  }

  .prompt-wall {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .prompt-groups {
    gap: 54px;
    padding: 24px 12px 84px;
  }

  .prompt-group-head h3 {
    font-size: 2.4rem;
  }

  .prompt-card img {
    aspect-ratio: 4 / 5;
  }

  .prompt-card-wide img {
    aspect-ratio: 21 / 9;
  }

  .lesson-wall {
    padding: 24px 12px 84px;
  }

  .lesson-load-more-wrap {
    padding: 0 12px 84px;
  }

  .lesson-load-more {
    width: 100%;
    min-height: 56px;
    flex-wrap: wrap;
  }

  .lesson-video,
  .lesson-video video,
  .lesson-video iframe,
  .lesson-video img,
  .lesson-empty {
    min-height: 240px;
  }

  .lesson-copy {
    padding: 24px 18px;
  }

  .lesson-prompt {
    padding: 16px;
    border-radius: 20px;
  }

  .lesson-prompt p {
    max-height: 300px;
  }

  .download-wall {
    grid-template-columns: 1fr;
    padding: 24px 12px 84px;
  }

  .top-services-panel {
    padding: 0 12px 84px;
  }

  .top-services-head {
    grid-template-columns: 1fr;
  }

  .top-services-head h3,
  .top-services-head p:not(.chapter-label) {
    grid-column: auto;
    grid-row: auto;
  }

  .top-service-item {
    border-radius: 24px;
  }

  .top-service-media {
    grid-template-columns: 1fr;
  }

  .liquid-metal-example {
    padding: 9px;
    border-radius: 18px;
  }

  .liquid-metal-example-step img {
    border-radius: 12px;
  }

  .liquid-metal-example figcaption {
    font-size: 0.78rem;
  }

  .top-service-model,
  .top-service-media img {
    min-height: 260px;
  }

  .download-card {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 24px;
  }

  .download-copy strong {
    font-size: 1.75rem;
  }
}

@media (max-width: 900px) {
  .review-zone,
  .review-admin-panel {
    border-radius: 24px;
    padding: 20px;
  }

  .review-zone-head {
    flex-direction: column;
  }

  .review-open-button,
  .review-submit-button,
  .review-admin-shortcut,
  .platform-dashboard-page .platform-reviews-anchor,
  .review-admin-tabs,
  .review-admin-tabs button {
    width: 100%;
  }

  .review-list,
  .review-admin-list {
    grid-template-columns: 1fr;
  }

  .review-admin-actions {
    flex-direction: column;
  }

  .review-admin-actions button {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .review-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    font-size: 0.78rem;
  }

  .review-card-top {
    flex-direction: column;
    gap: 6px;
  }

  .review-dialog {
    max-height: calc(100svh - 28px);
    overflow: auto;
  }

  .review-rating {
    justify-content: space-between;
  }

  .review-rating button {
    width: 100%;
  }
}

/* Threads lesson final lock 20260706: this must stay after legacy lesson rules. */
body .topic-detail[data-topic-slug="threads-growth"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 14%, rgba(183, 255, 42, 0.13), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(141, 107, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 58% 82%, rgba(255, 135, 194, 0.1), transparent 24rem),
    linear-gradient(135deg, #050506 0%, #101018 54%, #061006 100%);
  background-size: 96px 96px, 96px 96px, auto, auto, auto, auto;
}

body .topic-detail[data-topic-slug="threads-growth"]::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 28%, rgba(183, 255, 42, 0.18), transparent 18rem),
    radial-gradient(circle at 74% 36%, rgba(126, 68, 255, 0.24), transparent 22rem),
    radial-gradient(circle at 52% 76%, rgba(255, 119, 197, 0.12), transparent 20rem);
  filter: blur(8px);
  opacity: 0.8;
  animation: threadsGlowDrift 18s ease-in-out infinite alternate;
}

body .topic-detail[data-topic-slug="threads-growth"] > * {
  position: relative;
  z-index: 1;
}

body .topic-detail[data-topic-slug="threads-growth"] .topic-hero {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(183, 255, 42, 0.15), transparent 22rem),
    radial-gradient(circle at 14% 82%, rgba(126, 68, 255, 0.22), transparent 26rem),
    transparent;
  box-shadow: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .topic-copy h2 {
  max-width: 1100px;
  color: #fff;
  font-size: clamp(3.6rem, 9vw, 8.7rem);
  line-height: 0.88;
  letter-spacing: 0;
}

body .topic-detail[data-topic-slug="threads-growth"] .topic-copy p,
body .topic-detail[data-topic-slug="threads-growth"] .topic-hero p {
  max-width: 920px;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.55vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-guide-shell {
  width: min(100%, 1480px);
  display: grid;
  gap: clamp(32px, 5vw, 78px);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 54px) clamp(16px, 4vw, 52px) clamp(72px, 9vw, 132px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-guide-intro,
body .topic-detail[data-topic-slug="threads-growth"] .threads-stat-grid {
  display: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-toc {
  position: static;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 0 clamp(28px, 4vw, 54px);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-toc a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-toc a span {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-toc a:hover,
body .topic-detail[data-topic-slug="threads-growth"] .threads-toc a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 42, 0.52);
  background:
    linear-gradient(110deg, rgba(183, 255, 42, 0.16), rgba(141, 107, 255, 0.08)),
    rgba(255, 255, 255, 0.045);
  color: #fff;
  box-shadow: 0 16px 38px rgba(183, 255, 42, 0.12);
  outline: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module-stack {
  display: grid;
  gap: clamp(46px, 7vw, 112px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(30px, 5vw, 74px) clamp(18px, 4.4vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(circle at 92% 12%, rgba(183, 255, 42, 0.11), transparent 24rem),
    radial-gradient(circle at 12% 88%, rgba(126, 68, 255, 0.13), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(10, 10, 12, 0.78);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
  scroll-margin-top: 112px;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module:nth-child(2n) {
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 123, 198, 0.12), transparent 22rem),
    radial-gradient(circle at 92% 86%, rgba(183, 255, 42, 0.12), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022)),
    rgba(9, 9, 11, 0.78);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: min(34vw, 430px);
  aspect-ratio: 1;
  border-radius: 42%;
  background:
    radial-gradient(circle at 38% 34%, rgba(183, 255, 42, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(183, 255, 42, 0.24), rgba(126, 68, 255, 0.14));
  opacity: 0.5;
  filter: blur(2px);
  transform: rotate(-12deg);
  pointer-events: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module > * {
  position: relative;
  z-index: 1;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(88px, 0.22fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head > span {
  width: auto;
  min-width: 74px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(183, 255, 42, 0.42);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.08);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.95rem;
  font-weight: 800;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head .chapter-label,
body .topic-detail[data-topic-slug="threads-growth"] .threads-block .chapter-label {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.54);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head h3 {
  max-width: 1050px;
  margin: 0;
  color: #fff;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(2.55rem, 5.8vw, 6.3rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head p:not(.chapter-label) {
  max-width: 820px;
  margin: clamp(14px, 2vw, 22px) 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.02rem, 1.25vw, 1.24rem);
  font-weight: 450;
  line-height: 1.62;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-block-stack {
  max-width: none;
  display: grid;
  gap: clamp(24px, 4vw, 54px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-block {
  display: grid;
  gap: clamp(12px, 1.8vw, 20px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-block h3 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.65rem, 3vw, 3.25rem);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: 0;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-block p,
body .topic-detail[data-topic-slug="threads-growth"] .threads-block li,
body .topic-detail[data-topic-slug="threads-growth"] .threads-step p,
body .topic-detail[data-topic-slug="threads-growth"] .threads-mini-card p,
body .topic-detail[data-topic-slug="threads-growth"] .threads-example-list blockquote,
body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box p {
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  font-weight: 430;
  line-height: 1.64;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-block strong,
body .topic-detail[data-topic-slug="threads-growth"] .threads-step strong,
body .topic-detail[data-topic-slug="threads-growth"] .threads-mini-card strong {
  color: #fff;
  font-weight: 720;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card {
  min-height: clamp(260px, 32vw, 430px);
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  align-items: end;
  gap: clamp(20px, 4vw, 54px);
  padding: clamp(30px, 5vw, 68px) clamp(30px, 5vw, 70px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 84% 26%, var(--visual-glow, rgba(183, 255, 42, 0.2)), transparent 18rem),
    radial-gradient(circle at 16% 90%, rgba(126, 68, 255, 0.24), transparent 20rem),
    linear-gradient(135deg, rgba(16, 16, 20, 0.88), rgba(8, 8, 10, 0.92));
  background-size: 78px 78px, 78px 78px, auto, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 64px rgba(0, 0, 0, 0.24);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card::before,
body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-frame,
body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-brand,
body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-ring,
body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-ribbon {
  display: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-line {
  align-self: stretch;
  width: 6px;
  min-height: clamp(180px, 24vw, 330px);
  border-radius: 999px;
  background:
    linear-gradient(180deg, var(--visual-accent, var(--lime)), rgba(126, 68, 255, 0.52), rgba(255, 119, 197, 0.36));
  box-shadow: 0 0 32px var(--visual-glow, rgba(183, 255, 42, 0.2));
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card h3 {
  max-width: 900px;
  min-width: 0;
  margin: 0;
  color: #fff;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(2.2rem, 5.2vw, 5.8rem);
  font-weight: 800;
  line-height: 0.92;
  overflow-wrap: anywhere;
  hyphens: auto;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card p:not(.chapter-label) {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 430;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card > div:not(.threads-visual-line) {
  min-width: 0;
  width: min(100%, 720px);
  justify-self: end;
  padding-right: clamp(12px, 2vw, 28px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 24px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid figure {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(18px, 2.2vw, 28px);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.32);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid figcaption {
  padding: 10px 2px 0;
  color: rgba(255, 255, 255, 0.56);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 450;
  line-height: 1.35;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-step-list,
body .topic-detail[data-topic-slug="threads-growth"] .threads-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-step,
body .topic-detail[data-topic-slug="threads-growth"] .threads-mini-card,
body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-card,
body .topic-detail[data-topic-slug="threads-growth"] .threads-formula-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(183, 255, 42, 0.09), transparent 18rem),
    rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-step,
body .topic-detail[data-topic-slug="threads-growth"] .threads-mini-card {
  padding: clamp(16px, 2vw, 24px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-card,
body .topic-detail[data-topic-slug="threads-growth"] .threads-formula-card {
  padding: clamp(18px, 2.8vw, 30px);
  border-color: rgba(183, 255, 42, 0.18);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2.3vw, 24px);
  border: 1px solid rgba(183, 255, 42, 0.24);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box p {
  margin: 0;
  max-height: none;
  padding-right: clamp(42px, 6vw, 62px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box .copy-prompt {
  position: absolute;
  top: 14px;
  right: 14px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-check-list ul,
body .topic-detail[data-topic-slug="threads-growth"] .threads-avoid-list ul,
body .topic-detail[data-topic-slug="threads-growth"] .threads-formula-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-check-list li,
body .topic-detail[data-topic-slug="threads-growth"] .threads-avoid-list li,
body .topic-detail[data-topic-slug="threads-growth"] .threads-formula-card li,
body .topic-detail[data-topic-slug="threads-growth"] .threads-example-list blockquote {
  position: relative;
  margin: 0;
  padding: 14px 16px 14px 22px;
  border: 0;
  border-left: 5px solid rgba(183, 255, 42, 0.82);
  border-radius: 0 18px 18px 0;
  background:
    linear-gradient(90deg, rgba(183, 255, 42, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.035);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-avoid-list li {
  border-left-color: rgba(255, 119, 197, 0.72);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-check-list li::before,
body .topic-detail[data-topic-slug="threads-growth"] .threads-avoid-list li::before,
body .topic-detail[data-topic-slug="threads-growth"] .threads-formula-card li::before {
  display: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-formula-card > strong {
  color: var(--lime);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.18rem, 1.8vw, 1.7rem);
  font-weight: 720;
  line-height: 1.32;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-example-list {
  display: grid;
  gap: 12px;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-tool-title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-tool-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), transparent 36%),
    linear-gradient(135deg, #1ee8d6, #7b5cff 58%, #111);
  color: #06100d;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(30, 232, 214, 0.22);
}

@media (max-width: 980px) {
  body .topic-detail[data-topic-slug="threads-growth"] .threads-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-step-list,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body .topic-detail[data-topic-slug="threads-growth"] {
    background-size: 70px 70px, 70px 70px, auto, auto, auto, auto;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .topic-copy h2 {
    font-size: clamp(3rem, 17vw, 5.3rem);
    line-height: 0.9;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-guide-shell {
    padding-inline: 14px;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-toc {
    grid-template-columns: 1fr;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-module {
    padding: 24px 16px;
    border-radius: 24px;
    scroll-margin-top: 84px;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head h3 {
    font-size: clamp(2.35rem, 13vw, 4.5rem);
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-block h3,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card h3 {
    font-size: clamp(1.72rem, 9.4vw, 3.25rem);
    line-height: 1;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card {
    min-height: 0;
    padding: 22px 16px;
    border-radius: 22px;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid img {
    aspect-ratio: 4 / 3;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box p {
    padding-right: 0;
    padding-top: 44px;
  }

  .public-hero-panel li:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body .topic-detail[data-topic-slug="threads-growth"]::before,
  .public-hero-panel li,
  .public-hero-panel li::before {
    animation: none;
    transition: none;
  }
}

/* Threads lesson gold middle override: one canvas, clear chapters, fewer boxes. */
.topic-detail[data-topic-slug="threads-growth"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 14%, rgba(183, 255, 42, 0.13), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(141, 107, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 58% 82%, rgba(255, 135, 194, 0.1), transparent 24rem),
    linear-gradient(135deg, #050506 0%, #101018 54%, #061006 100%);
  background-size: 96px 96px, 96px 96px, auto, auto, auto, auto;
}

.topic-detail[data-topic-slug="threads-growth"]::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 28%, rgba(183, 255, 42, 0.18), transparent 18rem),
    radial-gradient(circle at 74% 36%, rgba(126, 68, 255, 0.24), transparent 22rem),
    radial-gradient(circle at 52% 76%, rgba(255, 119, 197, 0.12), transparent 20rem);
  filter: blur(8px);
  opacity: 0.8;
  animation: threadsGlowDrift 18s ease-in-out infinite alternate;
}

.topic-detail[data-topic-slug="threads-growth"] > * {
  position: relative;
  z-index: 1;
}

@keyframes threadsGlowDrift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(2%, 1%, 0) scale(1.05);
  }
}

.topic-detail[data-topic-slug="threads-growth"] .topic-hero {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(183, 255, 42, 0.15), transparent 22rem),
    radial-gradient(circle at 14% 82%, rgba(126, 68, 255, 0.22), transparent 26rem),
    transparent;
  box-shadow: none;
}

.topic-detail[data-topic-slug="threads-growth"] .topic-copy h2 {
  max-width: 1100px;
  color: #fff;
  font-size: clamp(3.6rem, 9vw, 8.7rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.topic-detail[data-topic-slug="threads-growth"] .topic-copy p,
.topic-detail[data-topic-slug="threads-growth"] .topic-hero p {
  max-width: 920px;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.55vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
}

.topic-detail[data-topic-slug="threads-growth"] .topic-preview {
  filter: drop-shadow(0 34px 80px rgba(0, 0, 0, 0.38));
}

.topic-detail[data-topic-slug="threads-growth"] .threads-guide-shell {
  width: min(100%, 1480px);
  display: grid;
  gap: clamp(32px, 5vw, 78px);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 54px) clamp(16px, 4vw, 52px) clamp(72px, 9vw, 132px);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-guide-intro,
.topic-detail[data-topic-slug="threads-growth"] .threads-stat-grid {
  display: none;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-toc {
  position: static;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 0 clamp(28px, 4vw, 54px);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-toc a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-toc a span {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-toc a:hover,
.topic-detail[data-topic-slug="threads-growth"] .threads-toc a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 42, 0.52);
  background:
    linear-gradient(110deg, rgba(183, 255, 42, 0.16), rgba(141, 107, 255, 0.08)),
    rgba(255, 255, 255, 0.045);
  color: #fff;
  box-shadow: 0 16px 38px rgba(183, 255, 42, 0.12);
  outline: none;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module-stack {
  display: grid;
  gap: clamp(46px, 7vw, 112px);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(30px, 5vw, 74px) clamp(18px, 4.4vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(circle at 92% 12%, rgba(183, 255, 42, 0.11), transparent 24rem),
    radial-gradient(circle at 12% 88%, rgba(126, 68, 255, 0.13), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(10, 10, 12, 0.78);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
  scroll-margin-top: 112px;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module:nth-child(2n) {
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 123, 198, 0.12), transparent 22rem),
    radial-gradient(circle at 92% 86%, rgba(183, 255, 42, 0.12), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022)),
    rgba(9, 9, 11, 0.78);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: min(34vw, 430px);
  aspect-ratio: 1;
  border-radius: 42%;
  background:
    radial-gradient(circle at 38% 34%, rgba(183, 255, 42, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(183, 255, 42, 0.24), rgba(126, 68, 255, 0.14));
  opacity: 0.5;
  filter: blur(2px);
  transform: rotate(-12deg);
  pointer-events: none;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module > * {
  position: relative;
  z-index: 1;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(88px, 0.22fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module-head > span {
  width: auto;
  min-width: 74px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(183, 255, 42, 0.42);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.08);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 0 34px rgba(183, 255, 42, 0.1);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module-head .chapter-label,
.topic-detail[data-topic-slug="threads-growth"] .threads-block .chapter-label {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.54);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module-head h3 {
  max-width: 1050px;
  margin: 0;
  color: #fff;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(2.55rem, 5.8vw, 6.3rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module-head p:not(.chapter-label) {
  max-width: 820px;
  margin: clamp(14px, 2vw, 22px) 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.02rem, 1.25vw, 1.24rem);
  font-weight: 450;
  line-height: 1.62;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-block-stack {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-block {
  display: grid;
  gap: clamp(12px, 1.8vw, 20px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-block h3 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.65rem, 3vw, 3.25rem);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: 0;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-block p,
.topic-detail[data-topic-slug="threads-growth"] .threads-block li,
.topic-detail[data-topic-slug="threads-growth"] .threads-step p,
.topic-detail[data-topic-slug="threads-growth"] .threads-mini-card p,
.topic-detail[data-topic-slug="threads-growth"] .threads-example-list blockquote,
.topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box p {
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  font-weight: 430;
  line-height: 1.64;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-block strong,
.topic-detail[data-topic-slug="threads-growth"] .threads-step strong,
.topic-detail[data-topic-slug="threads-growth"] .threads-mini-card strong {
  color: #fff;
  font-weight: 720;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-visual-card {
  min-height: clamp(260px, 32vw, 430px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.48fr);
  align-items: end;
  gap: clamp(20px, 4vw, 54px);
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 84% 26%, var(--visual-glow, rgba(183, 255, 42, 0.2)), transparent 18rem),
    radial-gradient(circle at 16% 90%, rgba(126, 68, 255, 0.24), transparent 20rem),
    linear-gradient(135deg, rgba(16, 16, 20, 0.88), rgba(8, 8, 10, 0.92));
  background-size: 78px 78px, 78px 78px, auto, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 64px rgba(0, 0, 0, 0.24);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-visual-card::before,
.topic-detail[data-topic-slug="threads-growth"] .threads-visual-frame,
.topic-detail[data-topic-slug="threads-growth"] .threads-visual-brand,
.topic-detail[data-topic-slug="threads-growth"] .threads-visual-ring,
.topic-detail[data-topic-slug="threads-growth"] .threads-visual-ribbon {
  display: none;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-visual-line {
  align-self: stretch;
  width: 6px;
  min-height: 130px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, var(--visual-accent, var(--lime)), rgba(126, 68, 255, 0.52), rgba(255, 119, 197, 0.36));
  box-shadow: 0 0 32px var(--visual-glow, rgba(183, 255, 42, 0.2));
}

.topic-detail[data-topic-slug="threads-growth"] .threads-visual-card h3 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(2.2rem, 5.2vw, 5.8rem);
  font-weight: 800;
  line-height: 0.92;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-visual-card p:not(.chapter-label) {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 430;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-media-card {
  gap: 16px;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 24px);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-media-grid figure {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-media-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(18px, 2.2vw, 28px);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.32);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-media-grid figcaption {
  padding: 10px 2px 0;
  color: rgba(255, 255, 255, 0.56);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 450;
  line-height: 1.35;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-step-list,
.topic-detail[data-topic-slug="threads-growth"] .threads-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-step,
.topic-detail[data-topic-slug="threads-growth"] .threads-mini-card,
.topic-detail[data-topic-slug="threads-growth"] .threads-prompt-card,
.topic-detail[data-topic-slug="threads-growth"] .threads-formula-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(183, 255, 42, 0.09), transparent 18rem),
    rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-step,
.topic-detail[data-topic-slug="threads-growth"] .threads-mini-card {
  padding: clamp(16px, 2vw, 24px);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-step > span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.12);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 900;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-prompt-card,
.topic-detail[data-topic-slug="threads-growth"] .threads-formula-card {
  padding: clamp(18px, 2.8vw, 30px);
  border-color: rgba(183, 255, 42, 0.18);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2.3vw, 24px);
  border: 1px solid rgba(183, 255, 42, 0.24);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box p {
  margin: 0;
  max-height: none;
  padding-right: clamp(42px, 6vw, 62px);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box .copy-prompt {
  position: absolute;
  top: 14px;
  right: 14px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-check-list ul,
.topic-detail[data-topic-slug="threads-growth"] .threads-avoid-list ul,
.topic-detail[data-topic-slug="threads-growth"] .threads-formula-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-check-list li,
.topic-detail[data-topic-slug="threads-growth"] .threads-avoid-list li,
.topic-detail[data-topic-slug="threads-growth"] .threads-formula-card li,
.topic-detail[data-topic-slug="threads-growth"] .threads-example-list blockquote {
  position: relative;
  margin: 0;
  padding: 14px 16px 14px 22px;
  border: 0;
  border-left: 5px solid rgba(183, 255, 42, 0.82);
  border-radius: 0 18px 18px 0;
  background:
    linear-gradient(90deg, rgba(183, 255, 42, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.035);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-avoid-list li {
  border-left-color: rgba(255, 119, 197, 0.72);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-check-list li::before,
.topic-detail[data-topic-slug="threads-growth"] .threads-avoid-list li::before,
.topic-detail[data-topic-slug="threads-growth"] .threads-formula-card li::before {
  display: none;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-formula-card > strong {
  color: var(--lime);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.18rem, 1.8vw, 1.7rem);
  font-weight: 720;
  line-height: 1.32;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-example-list {
  display: grid;
  gap: 12px;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-tool-title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-tool-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), transparent 36%),
    linear-gradient(135deg, #1ee8d6, #7b5cff 58%, #111);
  color: #06100d;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(30, 232, 214, 0.22);
}

.public-hero-panel li {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.24s ease,
    color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease;
  will-change: transform;
}

.public-hero-panel li::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 30%, rgba(183, 255, 42, 0.18) 48%, rgba(141, 107, 255, 0.12) 66%, transparent 100%);
  opacity: 0;
  transform: translateX(-115%);
  transition:
    opacity 0.18s ease,
    transform 0.46s ease;
}

.public-hero-panel li:hover {
  transform: translateX(6px);
  background:
    linear-gradient(115deg, rgba(183, 255, 42, 0.16), rgba(255, 255, 255, 0.1)),
    rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow:
    0 12px 28px rgba(183, 255, 42, 0.12),
    inset 0 0 0 1px rgba(183, 255, 42, 0.22);
}

.public-hero-panel li:hover::before {
  opacity: 1;
  transform: translateX(115%);
}

.public-hero-panel li:nth-child(even):hover {
  background:
    linear-gradient(115deg, rgba(141, 107, 255, 0.15), rgba(183, 255, 42, 0.12)),
    rgba(255, 255, 255, 0.1);
  box-shadow:
    0 12px 28px rgba(141, 107, 255, 0.14),
    inset 0 0 0 1px rgba(183, 255, 42, 0.18);
}

@media (max-width: 980px) {
  .topic-detail[data-topic-slug="threads-growth"] .threads-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-detail[data-topic-slug="threads-growth"] .threads-module-head,
  .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card,
  .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid,
  .topic-detail[data-topic-slug="threads-growth"] .threads-step-list,
  .topic-detail[data-topic-slug="threads-growth"] .threads-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topic-detail[data-topic-slug="threads-growth"] {
    background-size: 70px 70px, 70px 70px, auto, auto, auto, auto;
  }

  .topic-detail[data-topic-slug="threads-growth"] .topic-copy h2 {
    font-size: clamp(3rem, 17vw, 5.3rem);
    line-height: 0.9;
  }

  .topic-detail[data-topic-slug="threads-growth"] .threads-guide-shell {
    padding-inline: 14px;
  }

  .topic-detail[data-topic-slug="threads-growth"] .threads-toc {
    grid-template-columns: 1fr;
  }

  .topic-detail[data-topic-slug="threads-growth"] .threads-toc a {
    min-height: 46px;
    padding-inline: 14px;
  }

  .topic-detail[data-topic-slug="threads-growth"] .threads-module {
    padding: 24px 16px;
    border-radius: 24px;
    scroll-margin-top: 84px;
  }

  .topic-detail[data-topic-slug="threads-growth"] .threads-module-head h3 {
    font-size: clamp(2.35rem, 13vw, 4.5rem);
  }

  .topic-detail[data-topic-slug="threads-growth"] .threads-block h3,
  .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card h3 {
    font-size: clamp(1.72rem, 9.4vw, 3.25rem);
    line-height: 1;
  }

  .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card {
    min-height: 0;
    padding: 22px 16px;
    border-radius: 22px;
  }

  .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid img {
    aspect-ratio: 4 / 3;
  }

  .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box p {
    padding-right: 0;
    padding-top: 44px;
  }

  .public-hero-panel li:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .topic-detail[data-topic-slug="threads-growth"]::before,
  .public-hero-panel li,
  .public-hero-panel li::before {
    animation: none;
    transition: none;
  }
}

/* Threads lesson final direction: dark animated-canvas feeling, clean text, rare accents. */
.topic-detail[data-topic-slug="threads-growth"] {
  background:
    radial-gradient(circle at 88% 8%, rgba(183, 255, 42, 0.12), transparent 28rem),
    radial-gradient(circle at 12% 28%, rgba(126, 68, 255, 0.2), transparent 31rem),
    radial-gradient(circle at 82% 66%, rgba(255, 90, 190, 0.09), transparent 28rem),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #050506 0%, #0b0912 46%, #050506 100%);
  background-size: auto, auto, auto, 94px 94px, 94px 94px, auto;
  color: #fff;
}

.topic-detail[data-topic-slug="threads-growth"] .topic-hero {
  border-color: rgba(183, 255, 42, 0.14);
  background:
    radial-gradient(circle at 86% 18%, rgba(183, 255, 42, 0.16), transparent 28rem),
    radial-gradient(circle at 20% 88%, rgba(126, 68, 255, 0.24), transparent 30rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
    transparent;
}

.topic-detail[data-topic-slug="threads-growth"] .topic-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 650;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-guide-shell {
  width: min(100%, 1260px);
  gap: clamp(24px, 3.4vw, 48px);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-guide-intro,
.topic-detail[data-topic-slug="threads-growth"] .threads-toc,
.topic-detail[data-topic-slug="threads-growth"] .threads-module,
.topic-detail[data-topic-slug="threads-growth"] .threads-block,
.topic-detail[data-topic-slug="threads-growth"] .threads-step,
.topic-detail[data-topic-slug="threads-growth"] .threads-mini-card,
.topic-detail[data-topic-slug="threads-growth"] .threads-media-grid figure {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-guide-intro,
.topic-detail[data-topic-slug="threads-growth"] .threads-module {
  border: 0;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-guide-intro {
  display: block;
  padding: 0 0 clamp(28px, 4vw, 52px);
  border-bottom: 1px solid rgba(183, 255, 42, 0.22);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-guide-intro h3 {
  max-width: 900px;
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 6rem);
  line-height: 0.9;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-guide-intro p:not(.chapter-label),
.topic-detail[data-topic-slug="threads-growth"] .threads-module-head p:not(.chapter-label),
.topic-detail[data-topic-slug="threads-growth"] .threads-block p,
.topic-detail[data-topic-slug="threads-growth"] .threads-block li,
.topic-detail[data-topic-slug="threads-growth"] .threads-example-list blockquote,
.topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box p {
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  font-weight: 450;
  line-height: 1.62;
  letter-spacing: 0;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-stat-grid {
  max-width: 980px;
  margin-top: clamp(22px, 3vw, 34px);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-stat {
  min-height: 0;
  padding: 0 0 0 16px;
  border: 0;
  border-left: 2px solid rgba(183, 255, 42, 0.62);
  background: transparent;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-stat strong {
  color: var(--lime);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-stat span,
.topic-detail[data-topic-slug="threads-growth"] .threads-step strong,
.topic-detail[data-topic-slug="threads-growth"] .threads-mini-card strong {
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 650;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-stat p {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 450;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-toc {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 clamp(22px, 3vw, 38px);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-toc a {
  min-height: 34px;
  padding: 7px 12px;
  border-color: rgba(183, 255, 42, 0.24);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.08);
  color: rgba(255, 255, 255, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 550;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module {
  padding: clamp(22px, 4vw, 56px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module:first-child {
  border-top: 0;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module-head > span {
  width: auto;
  min-width: 58px;
  height: 34px;
  aspect-ratio: auto;
  border: 1px solid rgba(183, 255, 42, 0.34);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.08);
  box-shadow: none;
  font-size: 0.95rem;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-module-head h3 {
  color: #fff;
  font-size: clamp(2rem, 4.7vw, 5.2rem);
  line-height: 0.92;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-block {
  gap: 12px;
  padding: clamp(14px, 2.4vw, 28px) 0;
  border: 0;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-block h3 {
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.7vw, 2.55rem);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: 0;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-visual-card {
  min-height: 0;
  aspect-ratio: auto;
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
  align-items: start;
  padding: clamp(26px, 4vw, 48px) 0;
  overflow: visible;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-visual-card::before,
.topic-detail[data-topic-slug="threads-growth"] .threads-visual-frame,
.topic-detail[data-topic-slug="threads-growth"] .threads-visual-brand,
.topic-detail[data-topic-slug="threads-growth"] .threads-visual-ring,
.topic-detail[data-topic-slug="threads-growth"] .threads-visual-ribbon {
  display: none;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-visual-line {
  display: block;
  width: 5px;
  height: 100%;
  min-height: 112px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, var(--visual-accent, var(--lime)), rgba(126, 68, 255, 0.42), transparent);
  box-shadow: 0 0 28px var(--visual-glow, rgba(183, 255, 42, 0.28));
}

.topic-detail[data-topic-slug="threads-growth"] .threads-visual-card h3 {
  max-width: 900px;
  color: #fff;
  font-family: "Unbounded", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 4.6vw, 5rem);
  font-weight: 800;
  line-height: 0.92;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-visual-card p:not(.chapter-label) {
  max-width: 820px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 450;
  line-height: 1.58;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-media-grid {
  gap: 12px;
  margin-top: 12px;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-media-grid img {
  border-radius: 22px;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-media-grid figcaption {
  padding: 9px 2px 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 450;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-step-list,
.topic-detail[data-topic-slug="threads-growth"] .threads-card-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-step,
.topic-detail[data-topic-slug="threads-growth"] .threads-mini-card {
  padding: 16px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-step:first-child,
.topic-detail[data-topic-slug="threads-growth"] .threads-mini-card:first-child {
  border-top: 0;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-check-list li,
.topic-detail[data-topic-slug="threads-growth"] .threads-avoid-list li,
.topic-detail[data-topic-slug="threads-growth"] .threads-formula-card li {
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-check-list li::before,
.topic-detail[data-topic-slug="threads-growth"] .threads-formula-card li::before {
  left: 2px;
  top: 20px;
  width: 8px;
  height: 8px;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-prompt-card,
.topic-detail[data-topic-slug="threads-growth"] .threads-formula-card {
  border-top: 1px solid rgba(183, 255, 42, 0.2);
  background: transparent;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box {
  border-color: rgba(183, 255, 42, 0.22);
  border-radius: 18px;
  background: rgba(183, 255, 42, 0.06);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-example-list {
  gap: 14px;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-example-list blockquote {
  padding: 18px 22px 18px 26px;
  border: 1px solid rgba(183, 255, 42, 0.12);
  border-left: 5px solid var(--lime);
  border-radius: 0 22px 22px 0;
  background:
    linear-gradient(120deg, rgba(183, 255, 42, 0.055), rgba(126, 68, 255, 0.055)),
    rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.74);
}

.topic-detail[data-topic-slug="threads-growth"] .threads-tool-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.topic-detail[data-topic-slug="threads-growth"] .threads-tool-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(183, 255, 42, 0.38);
  border-radius: 50%;
  background: rgba(183, 255, 42, 0.1);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(183, 255, 42, 0.16);
}

@media (max-width: 760px) {
  .topic-detail[data-topic-slug="threads-growth"] .threads-stat-grid,
  .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid {
    grid-template-columns: 1fr;
  }

  .topic-detail[data-topic-slug="threads-growth"] .threads-module-head,
  .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card {
    grid-template-columns: 1fr;
  }

  .topic-detail[data-topic-slug="threads-growth"] .threads-visual-line {
    width: 86px;
    height: 4px;
    min-height: 0;
  }

  .topic-detail[data-topic-slug="threads-growth"] .threads-example-list blockquote {
    padding: 15px 16px 15px 18px;
    border-radius: 0 18px 18px 0;
    font-size: 0.96rem;
  }
}

@media (max-width: 1280px) {
  .phone-stage {
    padding-bottom: 240px;
  }

  .platform-card h3 {
    font-size: clamp(2.55rem, 3.2rem, 3.2rem);
    padding-right: 52px;
  }
}

@media (max-width: 980px) {
  .platform-card h3 {
    font-size: clamp(2.4rem, 3rem, 3rem);
  }
}

@media (min-width: 981px) {
  .lab-hero {
    min-height: calc(100svh - 140px);
    margin-bottom: 32px;
  }
}

@media (max-width: 680px) {
  .phone-stage {
    padding-bottom: 210px;
  }

  .platform-card h3 {
    font-size: clamp(2.15rem, 2.55rem, 2.55rem);
    line-height: 1;
    padding-right: 40px;
  }

  .platform-card li,
  .tool-badges span {
    padding: 9px 13px;
    font-size: 0.86rem;
  }

  .bottom-dock {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    bottom: 10px;
    gap: 4px;
    padding: 6px;
    border-radius: 24px;
  }

  .bottom-dock a {
    min-height: 29px;
    border-radius: 14px;
    font-size: 0.62rem;
    line-height: 0.96;
  }
}

@media (max-width: 520px) {
  .hero-subtitle {
    font-size: 19px;
  }

  .hero-price {
    margin-top: 8px;
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .platform-card {
    padding: 22px 18px;
  }

  .platform-card > svg {
    position: relative;
    top: auto;
    right: auto;
    margin: 6px 0 2px;
  }

  .platform-card h3 {
    font-size: clamp(2rem, 2.18rem, 2.18rem);
    padding-right: 0;
  }
}

/* Doterra final production stages and GPT access guidance. */
.pipeline-resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.pipeline-resource-link,
.pipeline-bot-button {
  width: max-content;
  max-width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid rgba(183, 255, 42, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.09);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.pipeline-resource-link:hover,
.pipeline-resource-link:focus-visible {
  transform: translateY(-2px);
  background: var(--lime);
  color: #050505;
  box-shadow: 0 16px 38px rgba(183, 255, 42, 0.18);
}

.pipeline-resource-link svg,
.pipeline-bot-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.pipeline-resource-link-bot,
.pipeline-bot-button {
  border-color: rgba(205, 184, 255, 0.58);
  background: linear-gradient(135deg, var(--violet), var(--purple));
  color: #fff;
  box-shadow: 0 16px 44px rgba(124, 58, 237, 0.22);
}

.pipeline-resource-link-bot:hover,
.pipeline-resource-link-bot:focus-visible,
.pipeline-bot-button:hover,
.pipeline-bot-button:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--purple), var(--lavender-deep));
  color: #fff;
  box-shadow: 0 20px 52px rgba(124, 58, 237, 0.3);
}

.pipeline-finish-section {
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.9fr);
}

.pipeline-finish-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pipeline-finish-tool {
  min-width: 0;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 10%, rgba(183, 255, 42, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pipeline-finish-tool:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 255, 42, 0.42);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.25), 0 0 32px rgba(183, 255, 42, 0.09);
}

.pipeline-finish-tool img {
  width: 94px;
  height: 94px;
  display: block;
  padding: 8px;
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
}

.pipeline-finish-tool div {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.pipeline-finish-tool small {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pipeline-finish-tool h3,
.pipeline-finish-tool p {
  margin: 0;
}

.pipeline-finish-tool h3 {
  color: #fff;
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  line-height: 1;
}

.pipeline-finish-tool p {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 650;
  line-height: 1.35;
}

.pipeline-upscale-section .pipeline-bot-button {
  margin-top: 4px;
}

.pipeline-final-film-section {
  grid-template-columns: minmax(0, 0.5fr) minmax(280px, 0.48fr);
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid rgba(255, 184, 220, 0.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 184, 220, 0.14), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(124, 58, 237, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.045);
}

.pipeline-final-film {
  width: min(100%, 390px);
  justify-self: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: #050505;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.34), 0 0 42px rgba(255, 184, 220, 0.08);
}

.pipeline-final-film video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #050505;
}

.pipeline-final-film figcaption {
  padding: 12px 15px;
  color: rgba(255, 255, 255, 0.62);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gpts-access-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 18px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(183, 255, 42, 0.38);
  border-radius: 26px;
  background:
    radial-gradient(circle at 86% 12%, rgba(157, 125, 255, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(183, 255, 42, 0.12), rgba(255, 255, 255, 0.055)),
    #171717;
  color: #fff;
  box-shadow: 0 24px 66px rgba(0, 0, 0, 0.24), 0 0 36px rgba(183, 255, 42, 0.08);
}

.gpts-access-note-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--lime);
  color: #050505;
}

.gpts-access-note-icon svg {
  width: 25px;
  height: 25px;
}

.gpts-access-note > div {
  min-width: 0;
}

.gpts-access-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.gpts-access-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 650;
  line-height: 1.35;
}

.gpts-access-note > a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(205, 184, 255, 0.58);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--violet), var(--purple));
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 16px 42px rgba(124, 58, 237, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gpts-access-note > a:hover,
.gpts-access-note > a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 54px rgba(124, 58, 237, 0.34);
}

.gpts-access-note > a svg {
  width: 19px;
  height: 19px;
}

#seedance-skills,
#vetrova-kling-helper {
  scroll-margin-top: 120px;
}

@media (max-width: 980px) {
  .pipeline-finish-section,
  .pipeline-final-film-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .pipeline-final-film {
    justify-self: start;
  }

  .gpts-access-note {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .gpts-access-note > a {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .pipeline-resource-actions,
  .pipeline-resource-link,
  .pipeline-bot-button {
    width: 100%;
  }

  .pipeline-finish-tools {
    grid-template-columns: minmax(0, 1fr);
  }

  .pipeline-finish-tool {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
  }

  .pipeline-finish-tool img {
    width: 74px;
    height: 74px;
  }

  .pipeline-final-film-section {
    padding: 18px 12px;
  }

  .pipeline-final-film {
    width: min(100%, 360px);
    justify-self: center;
  }

  .gpts-access-note {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    border-radius: 22px;
  }

  .gpts-access-note > a {
    white-space: normal;
    text-align: center;
  }
}

/* Compact architecture pass */
.lab-hero {
  min-height: auto;
  margin-bottom: 24px;
}

.hero-panel {
  min-height: 224px;
  grid-template-columns: minmax(0, 1fr);
  padding: 26px 30px;
  border-radius: 28px;
}

.hero-panel::before {
  inset: 10px;
  border-radius: 22px;
}

.hero-panel::after {
  display: none;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  max-width: 700px;
  margin-bottom: 12px;
  font-size: 3.05rem;
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: 1.16rem;
  font-weight: 800;
}

.hero-price {
  margin-left: 6px;
  padding: 5px 11px 6px;
  box-shadow:
    0 10px 24px rgba(143, 210, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  font-size: 0.94em;
}

.hero-button {
  min-width: 0;
  min-height: 48px;
  padding: 0 20px;
  background: var(--lime);
  color: #050505;
  cursor: pointer;
}

.hero-button:hover {
  background: #fff;
}

.platform-hub {
  margin-bottom: 48px;
}

.hub-toolbar {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 16px;
  margin-bottom: 12px;
}

.hub-toolbar h2 {
  font-size: 2.55rem;
  line-height: 1;
}

.hub-toolbar > p {
  font-size: 0.94rem;
  font-weight: 800;
}

.global-sections-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.platform-card,
.platform-card-video,
.platform-card-client,
.platform-card-llm,
.platform-card-prompts,
.platform-card-terms,
.platform-card-payment,
.platform-card-profile {
  grid-column: auto;
}

.platform-card {
  min-height: 156px;
  padding: 16px;
  border-radius: 22px;
}

.platform-card::before {
  right: -92px;
  bottom: -112px;
  width: 190px;
  height: 190px;
  opacity: 0.55;
}

.platform-card::after {
  left: 20px;
  top: 18px;
  right: 20px;
}

.platform-card:hover {
  transform: translateY(-3px);
}

.platform-card > svg {
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
}

.platform-card .tag {
  min-height: 28px;
  padding: 0 10px;
  font-size: 0.68rem;
}

.platform-card h3 {
  margin: 18px 0 8px;
  padding-right: 34px;
  font-family: "Unbounded", sans-serif;
  font-size: 1.16rem;
  line-height: 1.04;
}

.platform-card p {
  margin-bottom: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.28;
}

.platform-card ul {
  display: none;
}

.platform-card li {
  min-height: 28px;
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 800;
}

.platform-card .hub-open {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.86rem;
}

.platform-card-payment::before,
.platform-card-profile::before {
  background: linear-gradient(135deg, rgba(183, 255, 42, 0.34), rgba(205, 184, 255, 0.34));
}

.llm-menu-page .platform-shell,
.gpts-page .platform-shell {
  padding-bottom: 126px;
}

.llm-menu-intro {
  margin-bottom: 22px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(22px) saturate(1.24);
  -webkit-backdrop-filter: blur(22px) saturate(1.24);
}

.llm-menu-intro h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1;
}

.llm-menu-intro > p:not(.chapter-label) {
  max-width: 780px;
  margin: 0;
  color: rgba(5, 5, 5, 0.68);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 700;
  line-height: 1.35;
}

.llm-menu-section {
  margin-bottom: 64px;
}

.llm-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.llm-menu-card {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 24px;
  background: #171717;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, background 180ms ease;
}

.llm-menu-card:hover {
  transform: translateY(-3px);
  background:
    radial-gradient(circle at 70% 10%, rgba(255, 94, 214, 0.17), transparent 34%),
    #101012;
  box-shadow:
    0 0 0 1px rgba(255, 133, 224, 0.32),
    0 24px 70px rgba(255, 74, 204, 0.18),
    var(--shadow);
}

.llm-menu-card small {
  color: rgba(255, 255, 255, 0.52);
  font-weight: 900;
  text-transform: uppercase;
}

.llm-menu-card h3 {
  margin: auto 0 12px;
  font-size: clamp(1.28rem, 1.6vw, 1.9rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.llm-menu-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.34;
}

.llm-menu-card .hub-open {
  min-height: 42px;
  padding: 0 16px;
}

.llm-menu-card:hover .hub-open:not(.hub-open-muted) {
  border-color: rgba(183, 255, 42, 0.74);
  background: var(--lime);
  color: #050505;
  box-shadow: 0 0 0 6px rgba(183, 255, 42, 0.13), 0 18px 42px rgba(183, 255, 42, 0.24);
}

.catalog-back {
  width: max-content;
  max-width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  box-shadow: var(--shadow-glass);
  font-weight: 900;
}

.catalog-back svg {
  width: 18px;
  height: 18px;
}

.gpts-catalog-intro {
  margin-bottom: 22px;
  padding: 30px 44px;
}

.gpts-page .gpts-catalog-intro .catalog-back {
  margin-bottom: 18px;
}

.gpts-page .gpts-catalog-intro h1 {
  margin-bottom: 12px;
  font-size: 3.45rem;
}

.gpts-page .subpage-section {
  margin-bottom: 54px;
}

.gpts-page .subpage-section-head {
  gap: 18px;
  margin-bottom: 18px;
}

.gpts-page .subpage-section-head h2 {
  max-width: 840px;
  font-size: 3rem;
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
}

.gpts-page .subpage-section-head > p {
  max-width: 420px;
  font-size: 0.98rem;
  font-weight: 800;
}

.gpts-page .gpt-agents-guide {
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 22px;
  margin: 18px 0 0;
  padding: 22px 30px;
  border-radius: 24px;
}

.gpts-page .gpt-agents-guide h3 {
  font-size: 2rem;
  line-height: 1.05;
}

.gpts-page .gpt-agents-guide li,
.gpts-page .gpt-agents-guide > p {
  font-size: 0.94rem;
}

.pipelines-page,
.pipeline-lesson-page {
  color: #fff;
  background:
    radial-gradient(circle at 12% 8%, rgba(183, 255, 42, 0.16), transparent 26rem),
    radial-gradient(circle at 86% 10%, rgba(141, 107, 255, 0.18), transparent 32rem),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #070708;
  background-size: auto, auto, 86px 86px, 86px 86px, auto;
  background-attachment: fixed;
}

.pipelines-page::before,
.pipeline-lesson-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 24%, rgba(183, 255, 42, 0.16) 0 4px, transparent 5px),
    radial-gradient(circle at 68% 18%, rgba(217, 187, 255, 0.16) 0 5px, transparent 6px),
    radial-gradient(circle at 82% 66%, rgba(191, 244, 255, 0.13) 0 4px, transparent 5px),
    linear-gradient(112deg, transparent 0 18%, rgba(255, 255, 255, 0.055) 18% 18.3%, transparent 18.3% 100%),
    linear-gradient(26deg, transparent 0 52%, rgba(255, 255, 255, 0.045) 52% 52.25%, transparent 52.25% 100%);
  opacity: 0.72;
}

.pipelines-page .platform-shell,
.pipeline-lesson-page .platform-shell,
.plush-lesson-page .platform-shell,
.useful-links-page .platform-shell {
  padding-bottom: 126px;
}

.pipelines-main,
.pipeline-lesson-shell {
  display: grid;
  gap: clamp(22px, 4vw, 54px);
}

.pipelines-hero,
.pipeline-lesson-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(300px, 0.42fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: clamp(26px, 5vw, 62px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 12%, rgba(183, 255, 42, 0.16), transparent 28rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028)),
    rgba(9, 9, 11, 0.88);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pipelines-hero h1,
.pipeline-lesson-hero h1 {
  margin: 0;
  color: #fff;
  line-height: 0.92;
  overflow-wrap: normal;
  text-wrap: balance;
}

.pipelines-hero h1 {
  max-width: 100%;
  font-size: clamp(2.75rem, 4.55vw, 5rem);
  white-space: nowrap;
}

.pipeline-lesson-hero h1 {
  max-width: 880px;
  font-size: clamp(2.35rem, 4.15vw, 4.65rem);
  line-height: 0.98;
}

.pipelines-hero > p,
.pipeline-lesson-hero-copy > p:not(.chapter-label),
.pipeline-section-copy p,
.pipeline-note-list p,
.pipeline-lesson-close p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 760;
  line-height: 1.42;
}

.pipelines-hero > div,
.pipeline-lesson-hero-copy {
  min-width: 0;
}

.pipelines-hero > p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.26vw, 1.22rem);
}

.pipelines-page .subpage-section-head h2,
.pipelines-page .subpage-section-head > p {
  color: #fff;
}

.pipelines-page .subpage-section-head > p {
  color: rgba(255, 255, 255, 0.72);
}

.pipeline-definition-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pipeline-definition-section article {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 12%, rgba(183, 255, 42, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(9, 9, 11, 0.78);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

.pipeline-definition-section span {
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(183, 255, 42, 0.44);
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.1);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pipeline-definition-section h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 3.25rem);
  line-height: 0.98;
  text-wrap: balance;
}

.pipeline-definition-section p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 720;
  line-height: 1.42;
}

.pipeline-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.pipeline-project-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 0.72fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: stretch;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(10, 10, 12, 0.88);
  color: #fff;
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.32);
}

.pipeline-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 255, 42, 0.46);
  box-shadow: 0 32px 92px rgba(0, 0, 0, 0.42), 0 0 34px rgba(183, 255, 42, 0.12);
}

.pipeline-project-card figure,
.pipeline-hero-media,
.pipeline-reference-media,
.pipeline-node-media figure,
.pipeline-variant-grid figure,
.pipeline-video-grid figure,
.pipeline-grain-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.pipeline-project-card img,
.pipeline-hero-media img,
.pipeline-reference-media img,
.pipeline-node-media img,
.pipeline-variant-grid img,
.pipeline-grain-grid img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.pipeline-project-card figure img {
  height: 100%;
  min-height: 340px;
}

.pipeline-project-card.pipeline-nomo-card figure {
  position: relative;
  min-height: 340px;
  background: #050505;
}

.pipeline-project-card.pipeline-nomo-card figure video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pipeline-project-card.pipeline-site-card figure {
  display: grid;
  place-items: center;
  background: #050505;
}

.pipeline-project-card.pipeline-site-card figure img {
  height: auto;
  min-height: 0;
  max-height: 360px;
  object-fit: contain;
}

.pipeline-project-card > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(8px, 1.4vw, 18px) 0;
}

.pipeline-project-card small,
.pipeline-prompt-head .chapter-label,
.pipeline-section-copy .chapter-label {
  color: var(--lime);
}

.pipeline-project-card h3 {
  max-width: 720px;
  margin: auto 0 14px;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 5.3rem);
  line-height: 0.92;
}

.pipeline-project-card p {
  max-width: 640px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 760;
  line-height: 1.36;
}

.pipeline-project-card .hub-open,
.pipeline-lesson-close .hero-button {
  border-color: rgba(183, 255, 42, 0.5);
  background: var(--lime);
  color: #050505;
}

.pipeline-lesson-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pipeline-lesson-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
}

.pipeline-hero-media img {
  height: auto;
  max-height: min(68vh, 640px);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.pipeline-hero-media {
  width: min(100%, 560px);
  justify-self: end;
  background: rgba(5, 5, 5, 0.36);
}

.pipeline-hero-media-wide {
  width: min(100%, 780px);
}

.pipeline-wide-media {
  width: 100%;
}

.pipeline-media-contain img,
.pipeline-media-contain video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #050505;
}

.pipeline-node-media .pipeline-media-contain img,
.pipeline-node-media .pipeline-media-contain video,
.pipeline-node-media.pipeline-media-contain img,
.pipeline-node-media.pipeline-media-contain video,
.pipeline-reference-media.pipeline-media-contain img,
.pipeline-reference-media.pipeline-media-contain video {
  aspect-ratio: auto;
  object-fit: contain;
}

.pipeline-site-page .pipeline-hero-media {
  width: min(100%, 840px);
}

.pipeline-site-page .pipeline-reference-media img,
.pipeline-site-page .pipeline-node-media img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #050505;
}

.pipeline-site-page .pipeline-lesson-section {
  align-items: start;
}

.pipeline-site-page .pipeline-reference-section,
.pipeline-site-page .pipeline-result-section,
.pipeline-site-page .pipeline-node-section {
  grid-template-columns: minmax(320px, 0.5fr) minmax(0, 0.86fr);
  gap: clamp(18px, 2.4vw, 34px);
}

.pipeline-site-page .pipeline-node-media {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.pipeline-site-page .pipeline-node-media figure,
.pipeline-site-page .pipeline-reference-media {
  align-self: start;
}

.pipeline-site-page .pipeline-node-media img,
.pipeline-site-page .pipeline-reference-media img {
  max-height: min(58vh, 560px);
}

.pipeline-site-page .pipeline-reference-media-compact {
  width: min(100%, 640px);
  justify-self: end;
}

.pipeline-site-page .pipeline-reference-media-compact img {
  max-height: min(44vh, 400px);
}

.pipeline-site-page .pipeline-media-contain figcaption {
  background: rgba(5, 5, 5, 0.72);
}

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

.pipeline-site-reference-grid figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.pipeline-site-reference-grid img {
  max-height: 520px;
}

.pipeline-hero-media figcaption,
.pipeline-reference-media figcaption,
.pipeline-node-media figcaption,
.pipeline-video-grid figcaption {
  padding: 11px 14px;
  color: rgba(255, 255, 255, 0.58);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pipeline-lesson-section,
.pipeline-prompt-section,
.pipeline-lesson-close {
  display: grid;
  gap: clamp(18px, 3vw, 34px);
}

.pipeline-lesson-section {
  grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.72fr);
  align-items: center;
}

.pipeline-section-copy {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.pipeline-section-copy h2,
.pipeline-prompt-head h2,
.pipeline-lesson-close h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.55vw, 4.15rem);
  line-height: 0.94;
  overflow-wrap: normal;
  text-wrap: balance;
}

.pipeline-reference-media img {
  aspect-ratio: 4 / 5;
}

.pipeline-prompt-section {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(8, 8, 10, 0.86);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pipeline-prompt-head {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
}

.pipeline-copy-button.copy-prompt {
  position: static;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 900;
}

.pipeline-copy-button.copy-prompt .copy-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pipeline-prompt-text {
  max-height: 540px;
  margin: 0;
  padding: clamp(16px, 2.2vw, 24px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.045);
  background-size: 100% 28px;
  color: rgba(255, 255, 255, 0.86);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  font-weight: 650;
  line-height: 1.55;
  white-space: pre-wrap;
}

.pipeline-variant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pipeline-variant-grid img {
  aspect-ratio: 4 / 5;
}

.pipeline-node-section {
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.9fr);
}

.pipeline-node-media {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
}

.pipeline-node-media img {
  aspect-ratio: 16 / 9;
}

.pipeline-notes-section {
  grid-template-columns: minmax(0, 1fr);
}

.pipeline-notes-section .pipeline-section-copy {
  max-width: 1080px;
}

.pipeline-note-list {
  display: grid;
  gap: 12px;
}

.pipeline-note-list p {
  padding: 14px 16px;
  border: 1px solid rgba(183, 255, 42, 0.18);
  border-radius: 18px;
  background: rgba(183, 255, 42, 0.08);
}

.pipeline-result-section {
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.9fr);
}

.pipeline-result-section .pipeline-section-copy h2 {
  max-width: 520px;
}

.pipeline-video-grid,
.pipeline-grain-grid {
  display: grid;
  gap: 12px;
}

.pipeline-video-grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  align-items: start;
}

.pipeline-video-grid figure.is-vertical {
  width: min(100%, 360px);
  justify-self: center;
}

.pipeline-video-grid figure.is-wide {
  width: 100%;
}

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

.pipeline-video-grid video {
  width: 100%;
  display: block;
  background: #050505;
  object-fit: contain;
}

.pipeline-video-grid figure.is-vertical video {
  aspect-ratio: 9 / 16;
}

.pipeline-video-grid figure.is-wide video {
  aspect-ratio: 16 / 9;
}

.pipeline-grain-grid img {
  aspect-ratio: 16 / 9;
}

.pipeline-node-media.pipeline-media-contain img,
.pipeline-node-media.pipeline-media-contain video,
.pipeline-node-media .pipeline-media-contain img,
.pipeline-node-media .pipeline-media-contain video,
.pipeline-reference-media.pipeline-media-contain img,
.pipeline-reference-media.pipeline-media-contain video,
.pipeline-hero-media.pipeline-media-contain img,
.pipeline-hero-media.pipeline-media-contain video {
  aspect-ratio: auto;
  object-fit: contain;
}

.pipeline-lesson-close {
  justify-items: start;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid rgba(183, 255, 42, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 8%, rgba(183, 255, 42, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.06);
}

.pipeline-lesson-close > div {
  display: grid;
  gap: 10px;
}

.pipeline-close-kicker {
  width: max-content;
  max-width: 100%;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(183, 255, 42, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.1);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.pipeline-lesson-close p {
  max-width: 980px;
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
}

.pipeline-dance-page .pipeline-dance-hero {
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 0.56fr);
}

.pipeline-dance-page .pipeline-dance-hero h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 5.3vw, 6.2rem);
}

.pipeline-dance-page .pipeline-dance-hero h1 span {
  display: block;
}

.pipeline-dance-hero-media {
  width: min(100%, 760px);
  justify-self: end;
}

.pipeline-dance-video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: #050505;
}

.pipeline-dance-video-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  background: #050505;
}

.pipeline-sound-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(183, 255, 42, 0.46);
  border-radius: var(--radius-pill);
  background: rgba(5, 5, 5, 0.78);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.pipeline-sound-toggle:hover,
.pipeline-sound-toggle:focus-visible {
  background: var(--lime);
  color: #050505;
  transform: translateY(-2px);
}

.pipeline-sound-toggle svg {
  width: 17px;
  height: 17px;
}

.pipeline-neon-note {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding: clamp(15px, 2vw, 20px);
  border: 1px solid rgba(183, 255, 42, 0.5);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 18%, rgba(183, 255, 42, 0.15), transparent 34%),
    rgba(183, 255, 42, 0.055);
  box-shadow: 0 0 32px rgba(183, 255, 42, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pipeline-neon-note strong {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pipeline-neon-note p {
  color: rgba(255, 255, 255, 0.76);
}

.pipeline-prompt-context {
  max-width: 980px;
  margin: -8px 0 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.98rem, 1.25vw, 1.14rem);
  font-weight: 800;
  line-height: 1.45;
}

.pipeline-dance-two-up {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
}

.pipeline-dance-agent-grid,
.pipeline-dance-reference-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.pipeline-dance-page .pipeline-node-media img,
.pipeline-dance-page .pipeline-reference-media img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #050505;
}

.pipeline-dance-page .pipeline-node-media figure,
.pipeline-dance-page .pipeline-reference-media,
.pipeline-dance-storyboards figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-self: start;
}

.pipeline-dance-page .pipeline-node-media img,
.pipeline-dance-page .pipeline-reference-media img {
  max-height: min(66vh, 660px);
}

.pipeline-dance-reference-grid img {
  max-height: min(64vh, 620px);
}

.pipeline-dance-storyboard-section {
  grid-template-columns: minmax(420px, 0.5fr) minmax(0, 0.92fr);
  align-items: start;
}

.pipeline-dance-storyboard-section .pipeline-section-copy h2 {
  font-size: clamp(1.95rem, 3vw, 3.65rem);
}

.pipeline-dance-storyboards {
  display: grid;
  gap: 14px;
}

.pipeline-dance-storyboards figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.pipeline-dance-storyboards img {
  width: 100%;
  max-height: min(78vh, 820px);
  display: block;
  object-fit: contain;
  background: #f6f6f2;
}

.pipeline-storyboard-prompt-grid {
  width: min(100% - 64px, 1720px);
  margin: 0 auto clamp(28px, 5vw, 76px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pipeline-storyboard-prompt-card {
  width: 100%;
  margin: 0;
}

.pipeline-storyboard-prompt-card .pipeline-prompt-head {
  align-items: flex-start;
}

.pipeline-storyboard-prompt-card h2 {
  font-size: clamp(1.25rem, 2vw, 2.2rem);
}

.pipeline-storyboard-prompt-card .pipeline-prompt-text {
  max-height: 430px;
}

.pipeline-dance-video-grid {
  width: 100%;
}

.pipeline-dance-video-grid figure.is-wide video {
  aspect-ratio: 16 / 9;
}

.pipeline-dance-page .pipeline-prompt-text {
  max-height: 620px;
}

/* NOMO Spy-Casino pipeline */
.nomo-pipeline-page {
  color-scheme: dark;
  color: #fff;
  background-color: #060607;
  background:
    radial-gradient(circle at 18% 14%, rgba(183, 255, 42, 0.1), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(110, 76, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #060607 0%, #0b0b0e 48%, #141019 100%);
}

.nomo-shell {
  gap: clamp(26px, 5vw, 78px);
}

.nomo-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.56fr);
  align-items: center;
  background:
    radial-gradient(circle at 74% 18%, rgba(144, 16, 36, 0.2), transparent 34%),
    radial-gradient(circle at 18% 90%, rgba(183, 255, 42, 0.1), transparent 28%),
    rgba(255, 255, 255, 0.055);
}

.nomo-hero h1 {
  max-width: 920px;
  font-size: clamp(3rem, 6.7vw, 8.2rem);
}

.nomo-hero .pipeline-lesson-hero-copy > p:not(.chapter-label) {
  max-width: 760px;
}

.nomo-hero .pipeline-lesson-tags + .pipeline-resource-actions {
  margin-top: clamp(20px, 2.6vw, 34px);
}

.nomo-hero-video {
  justify-self: end;
  width: min(100%, 420px);
}

.nomo-hero-video video {
  width: auto;
  max-width: 100%;
  max-height: min(68vh, 680px);
  aspect-ratio: 9 / 16;
  border-radius: 28px 28px 0 0;
  background: #050505;
  object-fit: contain;
}

.nomo-roadmap {
  display: grid;
  gap: clamp(22px, 3vw, 38px);
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid rgba(183, 255, 42, 0.28);
  border-radius: 32px;
  background:
    linear-gradient(115deg, rgba(183, 255, 42, 0.08), transparent 36%),
    rgba(6, 6, 8, 0.88);
}

.nomo-roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
}

.nomo-roadmap-track li {
  position: relative;
  min-height: 142px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  background: #0b0b0e;
}

.nomo-roadmap-track li::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 18px;
  right: -10px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-weight: 900;
}

.nomo-roadmap-track li:nth-child(4n)::after,
.nomo-roadmap-track li:last-child::after {
  display: none;
}

.nomo-roadmap-track span {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
}

.nomo-roadmap-track strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.nomo-roadmap-track small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.5;
}

.nomo-roadmap a,
.nomo-review-note a {
  color: var(--lime);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.nomo-reference-map {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border-left: 4px solid var(--lime);
  background: rgba(183, 255, 42, 0.07);
}

.nomo-reference-map strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
}

.nomo-reference-map p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.nomo-reference-map b {
  color: #fff;
}

.nomo-reference-map span {
  color: var(--lime);
  font-family: var(--font-mono);
}

.nomo-detail-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.nomo-detail-divider::before,
.nomo-detail-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(183, 255, 42, 0.8));
}

.nomo-detail-divider::after {
  transform: scaleX(-1);
}

.nomo-control-grid,
.nomo-qc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.nomo-control-grid article,
.nomo-qc-grid p {
  min-height: 150px;
  margin: 0;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
  border: 1px solid rgba(183, 255, 42, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(8, 8, 10, 0.82);
}

.nomo-control-grid span {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(183, 255, 42, 0.48);
  border-radius: 50%;
  color: var(--lime);
  font-family: var(--font-mono);
  font-weight: 900;
}

.nomo-control-grid strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 2rem);
  line-height: 1;
}

.nomo-bible-grid,
.nomo-character-grid,
.nomo-roulette-grid,
.nomo-board-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nomo-bible-grid figure,
.nomo-character-grid figure,
.nomo-roulette-grid figure,
.nomo-board-grid figure,
.nomo-video-grid figure,
.nomo-sound-grid figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.055);
}

.nomo-bible-grid img,
.nomo-character-grid img,
.nomo-roulette-grid img,
.nomo-board-grid img,
.nomo-title-card img {
  width: 100%;
  max-height: min(66vh, 640px);
  display: block;
  object-fit: contain;
  background: #050505;
}

.nomo-character-grid img {
  max-height: min(72vh, 700px);
}

.nomo-gold-note {
  border-color: rgba(238, 196, 116, 0.55);
  background:
    radial-gradient(circle at 12% 16%, rgba(238, 196, 116, 0.16), transparent 32%),
    rgba(238, 196, 116, 0.055);
}

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

.nomo-video-grid figure.is-vertical {
  width: 100%;
}

.nomo-video-grid video,
.nomo-sound-grid video {
  width: auto;
  max-width: 100%;
  max-height: min(70vh, 700px);
  justify-self: center;
  border-radius: 26px 26px 0 0;
  object-fit: contain;
  background: #050505;
}

.nomo-single-video-grid {
  grid-template-columns: minmax(260px, 380px);
}

.nomo-success-video-grid {
  grid-template-columns: repeat(2, minmax(260px, 380px));
}

.nomo-single-video-grid,
.nomo-success-video-grid {
  justify-content: start;
}

.nomo-review-note {
  border-color: rgba(183, 255, 42, 0.5);
}

.nomo-prompt-warning {
  display: grid;
  gap: 12px;
  border-width: 2px;
  border-color: var(--lime);
  box-shadow: 0 0 34px rgba(183, 255, 42, 0.12);
}

.nomo-prompt-warning strong {
  color: var(--lime);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.3vw, 3.4rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.nomo-prompt-warning p {
  margin: 0;
}

.nomo-scene-prompts {
  display: grid;
  gap: 18px;
}

.nomo-scene-prompts > .pipeline-section-copy {
  max-width: 980px;
}

.nomo-prompt-section {
  margin: 0;
}

.nomo-prompt-section .pipeline-prompt-head h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 2.4rem);
  line-height: 1;
}

.nomo-prompt-section .pipeline-prompt-text {
  max-height: 360px;
}

.nomo-sound-grid {
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.86fr);
}

.nomo-qc-section {
  gap: 22px;
}

.nomo-qc-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: nomo-check;
}

.nomo-qc-list li {
  counter-increment: nomo-check;
  position: relative;
  padding: 17px 16px 17px 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 750;
}

.nomo-qc-list li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183, 255, 42, 0.65);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.nomo-close {
  background:
    radial-gradient(circle at 86% 10%, rgba(238, 196, 116, 0.18), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(183, 255, 42, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.06);
}

@media (max-width: 1180px) {
  .nomo-hero,
  .nomo-sound-grid {
    grid-template-columns: 1fr;
  }

  .nomo-hero-video {
    justify-self: start;
    width: min(100%, 360px);
  }

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

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

  .nomo-roadmap-track li:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .nomo-pipeline-page {
    color: #fff;
    background-color: #060607;
    background-attachment: scroll;
  }

  .nomo-pipeline-page .platform-shell,
  .nomo-pipeline-page .pipeline-lesson-shell,
  .nomo-pipeline-page .pipeline-lesson-hero,
  .nomo-pipeline-page .pipeline-lesson-section,
  .nomo-pipeline-page .pipeline-prompt-section,
  .nomo-pipeline-page .pipeline-lesson-close,
  .nomo-pipeline-page .nomo-scene-prompts {
    color: #fff;
  }

  .nomo-pipeline-page .pipeline-lesson-hero,
  .nomo-pipeline-page .pipeline-prompt-section,
  .nomo-pipeline-page .pipeline-lesson-close,
  .nomo-pipeline-page .nomo-roadmap,
  .nomo-pipeline-page .nomo-control-grid article,
  .nomo-pipeline-page .nomo-bible-grid figure,
  .nomo-pipeline-page .nomo-character-grid figure,
  .nomo-pipeline-page .nomo-roulette-grid figure,
  .nomo-pipeline-page .nomo-board-grid figure,
  .nomo-pipeline-page .nomo-video-grid figure,
  .nomo-pipeline-page .nomo-sound-grid figure {
    background-color: #0b0b0e;
  }

  .nomo-pipeline-page h1,
  .nomo-pipeline-page h2,
  .nomo-pipeline-page h3,
  .nomo-pipeline-page strong,
  .nomo-pipeline-page b {
    color: #fff;
  }

  .nomo-pipeline-page .pipeline-lesson-hero-copy > p:not(.chapter-label),
  .nomo-pipeline-page .pipeline-section-copy p,
  .nomo-pipeline-page .pipeline-note-list p,
  .nomo-pipeline-page .pipeline-lesson-close p,
  .nomo-pipeline-page figcaption,
  .nomo-pipeline-page .nomo-qc-list li {
    color: rgba(255, 255, 255, 0.8);
  }

  .nomo-bible-grid,
  .nomo-character-grid,
  .nomo-roulette-grid,
  .nomo-board-grid,
  .nomo-control-grid,
  .nomo-video-grid {
    grid-template-columns: 1fr;
  }

  .nomo-roadmap-track {
    grid-template-columns: 1fr;
  }

  .nomo-roadmap-track li::after {
    display: none;
  }

  .nomo-detail-divider {
    align-items: flex-start;
  }
}

@media (max-width: 1180px) {
  .global-sections-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .pipelines-hero,
  .pipeline-lesson-hero,
  .pipeline-dance-page .pipeline-dance-hero,
  .pipeline-project-card,
  .pipeline-lesson-section,
  .pipeline-node-section,
  .pipeline-notes-section,
  .pipeline-result-section,
  .pipeline-dance-storyboard-section {
    grid-template-columns: 1fr;
  }

  .pipeline-site-page .pipeline-reference-section,
  .pipeline-site-page .pipeline-result-section,
  .pipeline-site-page .pipeline-node-section {
    grid-template-columns: 1fr;
  }

  .pipeline-project-card.pipeline-nomo-card {
    grid-template-columns: 1fr;
  }

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

  .pipeline-dance-agent-grid,
  .pipeline-dance-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-panel,
  .llm-menu-intro {
    border-radius: 24px;
    padding: 24px 18px;
  }

  .hero-copy h1 {
    font-size: 2.08rem;
    line-height: 1.04;
  }

  .llm-menu-intro h1 {
    font-size: 2.28rem;
    line-height: 1;
  }

  .hero-subtitle {
    display: grid;
    gap: 10px;
  }

  .hero-price {
    width: max-content;
    margin-left: 0;
  }

  .hub-toolbar,
  .global-sections-grid,
  .llm-menu-grid,
  .pipeline-definition-section,
  .pipeline-node-media,
  .pipeline-dance-two-up,
  .pipeline-dance-agent-grid,
  .pipeline-dance-reference-grid,
  .pipeline-dance-seedance-grid,
  .pipeline-site-page .pipeline-node-media,
  .pipeline-site-reference-grid,
  .pipeline-video-grid,
  .pipeline-grain-grid,
  .pipeline-variant-grid,
  .web-design-bottom-cta {
    grid-template-columns: 1fr;
  }

  .gpts-page .subpage-section-head,
  .gpts-page .gpt-agents-guide {
    grid-template-columns: 1fr;
  }

  .gpts-page .subpage-section-head h2 {
    font-size: 2.35rem;
  }

  .gpts-page .gpts-catalog-intro {
    padding: 24px 18px;
  }

  .gpts-page .gpts-catalog-intro h1 {
    font-size: 2.28rem;
  }

  .platform-card,
  .llm-menu-card {
    min-height: 0;
  }

  .platform-card h3 {
    font-size: 1.72rem;
  }

  .pipelines-hero,
  .pipeline-lesson-hero,
  .pipeline-prompt-section,
  .pipeline-lesson-close {
    border-radius: 24px;
    padding: 22px 18px;
  }

  .pipelines-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.15rem);
    white-space: normal;
  }

  .pipeline-project-card {
    border-radius: 24px;
    padding: 16px;
  }

  .pipeline-project-card figure img {
    min-height: 220px;
  }

  .pipeline-prompt-head {
    display: grid;
  }

  .pipeline-copy-button.copy-prompt {
    width: 46px;
  }

  .pipeline-dance-page .pipeline-dance-hero h1 {
    font-size: clamp(2.2rem, 11.4vw, 3rem);
  }

  .pipeline-dance-hero-media {
    width: 100%;
    justify-self: stretch;
  }

  .pipeline-sound-toggle {
    right: 10px;
    bottom: 10px;
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.66rem;
  }

  .pipeline-dance-page .pipeline-node-media img,
  .pipeline-dance-page .pipeline-reference-media img,
  .pipeline-dance-storyboards img {
    max-height: none;
  }

  .pipeline-storyboard-prompt-grid {
    width: min(100% - 32px, 1720px);
    grid-template-columns: 1fr;
  }
}

/* Public/auth architecture */
.public-shell {
  padding-bottom: 80px;
}

body.public-page {
  background:
    radial-gradient(circle at 82% 16%, rgba(191, 244, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 12% 12%, rgba(183, 255, 42, 0.09), transparent 20rem),
    radial-gradient(circle at 52% 58%, rgba(124, 58, 237, 0.2), transparent 32rem),
    linear-gradient(180deg, #050609 0%, #06101a 680px, #3d2e5c 900px, #cab3ff 1220px, #e9fbff 100%);
  background-attachment: scroll;
  animation: none;
}

body.public-page::before {
  display: none;
}

/* Seedance 2.0 Prompt Writer */
.seedance-prompt-writer-page {
  background:
    linear-gradient(180deg, var(--lavender) 0, var(--bg-cool) 46%, var(--bg) 100%);
}

.seedance-prompt-writer-page .platform-shell {
  padding-bottom: 126px;
}

.seedance-skill-main {
  display: grid;
  gap: 34px;
}

.seedance-skill-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 42px;
  align-items: center;
  min-height: 680px;
  padding: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(122deg, #050505 0 52%, rgba(124, 58, 237, 0.92) 100%);
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.seedance-skill-hero-copy,
.seedance-skill-guide-copy,
.seedance-skill-video-copy {
  min-width: 0;
}

.seedance-skill-hero .catalog-back {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
}

.seedance-skill-hero .catalog-back:hover,
.seedance-skill-hero .catalog-back:focus-visible {
  color: var(--lime);
}

.seedance-skill-hero .chapter-label {
  color: var(--pink);
}

.seedance-skill-hero h1 {
  max-width: 860px;
  margin: 12px 0 24px;
  color: #fff;
  font-size: 5rem;
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
}

.seedance-skill-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.5;
}

.seedance-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.seedance-skill-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(183, 255, 42, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.08);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
}

.seedance-skill-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.seedance-skill-primary,
.seedance-skill-secondary {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.seedance-skill-primary {
  border: 1px solid var(--lime);
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 16px 38px rgba(183, 255, 42, 0.18);
}

.seedance-skill-secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.seedance-skill-primary:hover,
.seedance-skill-primary:focus-visible {
  border-color: var(--pink);
  background: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(255, 184, 220, 0.24);
}

.seedance-skill-secondary:hover,
.seedance-skill-secondary:focus-visible {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
  transform: translateY(-2px);
}

.seedance-skill-primary:focus-visible,
.seedance-skill-secondary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.seedance-skill-primary svg,
.seedance-skill-secondary svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.seedance-director-panel {
  min-width: 0;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(5, 5, 5, 0.66)),
    #171717;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.seedance-director-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 800;
}

.seedance-director-panel-head strong {
  color: var(--pink);
}

.seedance-director-frame {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border: 1px solid rgba(191, 244, 255, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(191, 244, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(191, 244, 255, 0.08) 1px, transparent 1px),
    linear-gradient(155deg, rgba(124, 58, 237, 0.42), rgba(5, 5, 5, 0.96));
  background-size: 38px 38px, 38px 38px, auto;
  text-align: center;
  overflow: hidden;
}

.seedance-director-frame > svg {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--lime);
}

.seedance-director-frame strong {
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.seedance-director-frame p {
  max-width: 350px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

.seedance-frame-corner {
  position: absolute;
  width: 36px;
  height: 36px;
  border-color: var(--pink);
}

.seedance-frame-corner-a {
  top: 18px;
  left: 18px;
  border-top: 3px solid var(--pink);
  border-left: 3px solid var(--pink);
}

.seedance-frame-corner-b {
  right: 18px;
  bottom: 18px;
  border-right: 3px solid var(--pink);
  border-bottom: 3px solid var(--pink);
}

.seedance-director-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
}

.seedance-director-track span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.seedance-director-track span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.seedance-director-track span.is-active {
  background: rgba(183, 255, 42, 0.16);
}

.seedance-director-track b {
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
}

.seedance-director-track em {
  color: rgba(255, 255, 255, 0.5);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
}

.seedance-director-meta {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.seedance-director-meta b {
  display: inline-block;
  min-width: 62px;
  color: var(--cyan);
}

.video-eyes-main {
  gap: 30px;
}

.video-eyes-hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(183, 255, 42, 0.22), transparent 24rem),
    linear-gradient(122deg, #050505 0 54%, rgba(31, 20, 56, 0.96) 100%);
}

.video-eyes-console {
  min-width: 0;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(183, 255, 42, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(183, 255, 42, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(183, 255, 42, 0.06) 1px, transparent 1px),
    #111;
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.video-eyes-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
}

.video-eyes-console-head strong {
  color: var(--lime);
}

.video-eyes-orbit {
  position: relative;
  min-height: 270px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(191, 244, 255, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle, rgba(191, 244, 255, 0.14), transparent 19rem),
    rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.video-eyes-orbit span {
  position: absolute;
  width: min(78%, 330px);
  aspect-ratio: 2.35 / 1;
  border: 4px solid var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(183, 255, 42, 0.62), inset 0 0 16px rgba(183, 255, 42, 0.2);
  transform: rotate(-12deg);
}

.video-eyes-orbit svg {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  color: var(--cyan);
  filter: drop-shadow(0 0 22px rgba(191, 244, 255, 0.45));
}

.video-eyes-console-lines {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 800;
}

.video-eyes-console-lines b {
  display: inline-block;
  min-width: 34px;
  color: var(--lime);
}

.video-eyes-warning {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: clamp(22px, 4vw, 34px);
  border: 2px solid var(--lime);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.12), rgba(191, 244, 255, 0.08)),
    #111;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(183, 255, 42, 0.16), 0 0 38px rgba(183, 255, 42, 0.2);
}

.video-eyes-warning > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--lime);
  color: var(--ink);
}

.video-eyes-warning svg {
  width: 28px;
  height: 28px;
}

.video-eyes-warning strong {
  display: block;
  color: var(--lime);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  line-height: 1.08;
}

.video-eyes-warning p {
  max-width: 980px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 650;
  line-height: 1.5;
}

.video-eyes-prompts {
  display: grid;
  gap: 24px;
  scroll-margin-top: 120px;
}

.video-eyes-prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.video-eyes-prompt-card {
  min-width: 0;
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(33, 26, 47, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-glass);
}

.video-eyes-prompt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.video-eyes-prompt-head small {
  color: var(--violet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
}

.video-eyes-prompt-head h3 {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.04;
}

.video-eyes-prompt-head .copy-prompt {
  position: static;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(33, 26, 47, 0.22);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.video-eyes-prompt-head .copy-prompt:hover,
.video-eyes-prompt-head .copy-prompt:focus-visible,
.video-eyes-prompt-head .copy-prompt.is-copied,
.skill-download-card-video-eyes .download-action {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.video-eyes-prompt-card pre {
  max-height: 520px;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(33, 26, 47, 0.14);
  border-radius: 18px;
  background: #111;
  color: rgba(255, 255, 255, 0.82);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.78rem, 1.2vw, 0.92rem);
  font-weight: 700;
  line-height: 1.58;
  white-space: pre-wrap;
  overflow: auto;
}

.skill-download-card-video-eyes {
  border-color: rgba(183, 255, 42, 0.78);
  background:
    radial-gradient(circle at 86% 18%, rgba(183, 255, 42, 0.26), transparent 18rem),
    linear-gradient(112deg, rgba(191, 244, 255, 0.18), rgba(205, 184, 255, 0.18) 44%, rgba(183, 255, 42, 0.16)),
    rgba(255, 255, 255, 0.84);
}

.skill-download-card-video-eyes .download-icon {
  background: var(--lime);
  color: var(--ink);
}

.seedance-skill-statement {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.72fr) minmax(320px, 0.62fr);
  gap: 34px;
  align-items: end;
  padding: 44px 10px;
  border-top: 1px solid rgba(33, 26, 47, 0.16);
  border-bottom: 1px solid rgba(33, 26, 47, 0.16);
}

.seedance-skill-statement h2,
.seedance-skill-section-head h2,
.seedance-skill-guide-copy h2,
.seedance-skill-video-copy h2 {
  margin: 0;
  color: var(--ink);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.seedance-skill-statement h2 {
  font-size: 3.5rem;
}

.seedance-skill-statement > p:last-child {
  margin: 0;
  color: rgba(33, 26, 47, 0.7);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
}

.seedance-skill-capabilities,
.seedance-skill-workflow {
  display: grid;
  gap: 24px;
  padding-block: 20px;
}

.seedance-skill-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: end;
}

.seedance-skill-section-head h2 {
  max-width: 900px;
  font-size: 3.15rem;
}

.seedance-skill-section-head > p {
  margin: 0;
  color: rgba(33, 26, 47, 0.68);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.45;
}

.seedance-skill-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.seedance-skill-feature-grid article {
  min-width: 0;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: #171717;
  color: #fff;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.seedance-skill-feature-grid article:hover {
  transform: translateY(-3px);
  background: rgba(124, 58, 237, 0.96);
  box-shadow: 0 22px 48px rgba(124, 58, 237, 0.2);
}

.seedance-skill-feature-grid svg {
  width: 30px;
  height: 30px;
  margin-bottom: auto;
  color: var(--lime);
}

.seedance-skill-feature-grid h3 {
  margin: 34px 0 10px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.08;
}

.seedance-skill-feature-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.42;
}

.seedance-skill-guide {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius-lg);
  background: #171717;
  color: #fff;
}

.seedance-skill-guide-preview {
  min-width: 0;
  min-height: 520px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.seedance-skill-guide-preview img {
  width: 100%;
  height: 100%;
  max-height: 650px;
  display: block;
  object-fit: contain;
}

.seedance-skill-guide-copy .chapter-label {
  color: var(--pink);
}

.seedance-skill-guide-copy h2 {
  color: #fff;
  font-size: 3.15rem;
}

.seedance-skill-guide-copy ul {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding-left: 22px;
}

.seedance-skill-guide-copy li {
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.42;
}

.seedance-skill-guide-copy small {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.46);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
}

.seedance-skill-video {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 0.62fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding-block: 36px;
}

.seedance-skill-video-media {
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  justify-self: start;
  margin: 0;
  border: 1px solid rgba(33, 26, 47, 0.18);
  border-radius: 24px;
  background: #171717;
  box-shadow: 0 26px 60px rgba(33, 26, 47, 0.2);
  overflow: hidden;
}

.seedance-skill-video-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #171717;
}

.seedance-skill-video-placeholder {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(33, 26, 47, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255, 184, 220, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(191, 244, 255, 0.18) 1px, transparent 1px),
    linear-gradient(135deg, var(--pink), var(--lavender) 54%, var(--cyan));
  background-size: 44px 44px, 44px 44px, auto;
  color: var(--ink);
  overflow: hidden;
}

.seedance-skill-video-placeholder > span {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 16px 38px rgba(183, 255, 42, 0.26);
}

.seedance-skill-video-placeholder svg {
  width: 26px;
  height: 26px;
}

.seedance-skill-video-placeholder div {
  display: grid;
  gap: 7px;
}

.seedance-skill-video-placeholder small,
.seedance-skill-video-placeholder strong {
  font-family: "IBM Plex Mono", monospace;
}

.seedance-skill-video-placeholder small {
  color: rgba(33, 26, 47, 0.66);
  font-size: 0.72rem;
  font-weight: 900;
}

.seedance-skill-video-placeholder strong {
  font-size: 1.35rem;
}

.seedance-skill-video-copy h2 {
  font-size: 2.75rem;
}

.seedance-skill-video-copy > p:last-child {
  margin: 18px 0 0;
  color: rgba(33, 26, 47, 0.68);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.48;
}

.seedance-skill-workflow {
  scroll-margin-top: 120px;
}

.seedance-skill-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seedance-skill-steps li {
  min-width: 0;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(33, 26, 47, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-glass);
}

.seedance-skill-steps li > span {
  color: var(--violet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  font-weight: 900;
}

.seedance-skill-steps li > div {
  margin-top: auto;
}

.seedance-skill-steps h3 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.08;
}

.seedance-skill-steps p {
  margin: 0;
  color: rgba(33, 26, 47, 0.68);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.42;
}

@media (max-width: 1100px) {
  .seedance-skill-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .seedance-director-panel {
    max-width: 760px;
  }

  .seedance-skill-statement {
    grid-template-columns: 0.34fr 1fr;
  }

  .seedance-skill-statement > p:last-child {
    grid-column: 2;
  }

  .seedance-skill-feature-grid,
  .seedance-skill-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-eyes-prompt-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .video-eyes-warning {
    grid-template-columns: 1fr;
  }

  .video-eyes-prompt-head {
    align-items: center;
  }

  .video-eyes-prompt-card pre {
    max-height: 430px;
  }
}

@media (max-width: 760px) {
  .seedance-skill-main {
    gap: 24px;
  }

  .seedance-skill-hero,
  .seedance-skill-guide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 18px;
    border-radius: 22px;
  }

  .seedance-skill-hero h1 {
    font-size: 3.1rem;
  }

  .seedance-skill-lead {
    font-size: 1rem;
  }

  .seedance-skill-actions,
  .seedance-skill-primary,
  .seedance-skill-secondary {
    width: 100%;
  }

  .seedance-director-panel {
    padding: 14px;
    border-radius: 20px;
  }

  .seedance-director-frame {
    min-height: 260px;
    padding: 24px 18px;
  }

  .seedance-director-track span {
    padding: 10px 8px;
  }

  .seedance-director-track em {
    font-size: 0.56rem;
  }

  .seedance-skill-statement,
  .seedance-skill-section-head,
  .seedance-skill-video {
    grid-template-columns: 1fr;
  }

  .seedance-skill-statement {
    gap: 20px;
    padding: 34px 4px;
  }

  .seedance-skill-statement > p:last-child {
    grid-column: auto;
  }

  .seedance-skill-statement h2,
  .seedance-skill-section-head h2,
  .seedance-skill-guide-copy h2,
  .seedance-skill-video-copy h2 {
    font-size: 2.35rem;
  }

  .seedance-skill-feature-grid,
  .seedance-skill-steps {
    grid-template-columns: 1fr;
  }

  .seedance-skill-feature-grid article,
  .seedance-skill-steps li {
    min-height: 220px;
  }

  .seedance-skill-guide-preview {
    min-height: 0;
    padding: 10px;
  }

  .seedance-skill-guide-preview img {
    height: auto;
    max-height: none;
  }

  .seedance-skill-video {
    align-items: start;
  }

  .seedance-skill-video-media {
    width: 100%;
    max-width: none;
  }

  .seedance-skill-video-placeholder {
    min-width: 0;
    gap: 12px;
    padding: 14px;
  }

  .seedance-skill-video-placeholder > span {
    width: 52px;
    height: 52px;
  }

  .seedance-skill-video-placeholder strong {
    font-size: 1rem;
  }

  .seedance-skill-video-placeholder small {
    font-size: 0.62rem;
  }
}

@media (max-width: 420px) {
  .seedance-skill-hero h1 {
    font-size: 2.7rem;
  }

  .seedance-director-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .seedance-director-track {
    grid-template-columns: 1fr;
  }

  .seedance-director-track span + span {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }
}

.public-page .topbar {
  margin-bottom: clamp(12px, 1.6vw, 22px);
}

.public-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: clamp(450px, calc(100vh - 178px), 620px);
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(340px, 0.48fr);
  gap: clamp(24px, 4vw, 76px);
  align-items: start;
  margin: -4px calc(50% - 50vw) 0;
  padding: clamp(28px, 3.4vw, 52px) clamp(24px, 6vw, 112px) clamp(42px, 4.8vw, 72px);
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.public-hero::before,
.public-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.public-hero::before {
  inset: -8% 0 0;
  z-index: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(191, 244, 255, 0.16), transparent 25%),
    radial-gradient(circle at 78% 78%, rgba(183, 255, 42, 0.08), transparent 22%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.18) 45%, transparent 72%);
}

.public-hero::after {
  inset: auto 0 0;
  z-index: 3;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(61, 46, 92, 0.88));
}

.public-hero-copy,
.public-hero-panel,
.public-section,
.public-free-band,
.public-plan-card,
.auth-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(22px) saturate(1.24);
  -webkit-backdrop-filter: blur(22px) saturate(1.24);
}

.public-hero-copy {
  position: relative;
  z-index: 4;
  min-height: 360px;
  align-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.compact-public-hero .public-hero-copy {
  min-height: 0;
}

.public-hero-copy h1 {
  max-width: 680px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2.7rem, 4.25vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-brand-lab {
  color: var(--lime);
  text-shadow: 0 12px 42px rgba(183, 255, 42, 0.26);
}

.public-hero-copy > p:not(.chapter-label):not(.public-status) {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-weight: 700;
  line-height: 1.34;
}

.public-hero-copy .chapter-label {
  color: rgba(255, 255, 255, 0.62);
}

.public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.public-telegram-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.public-telegram-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.public-telegram-link:hover,
.public-telegram-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.46);
}

.public-telegram-link i,
.public-telegram-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.public-telegram-link span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.public-telegram-link strong {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.08;
  text-transform: uppercase;
  white-space: nowrap;
}

.public-telegram-link small {
  color: rgba(255, 255, 255, 0.7);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.public-telegram-link-group {
  background:
    linear-gradient(135deg, rgba(42, 171, 238, 0.98), rgba(77, 199, 255, 0.82)),
    radial-gradient(circle at 22% 12%, rgba(255, 255, 255, 0.5), transparent 36%);
  box-shadow:
    0 18px 44px rgba(42, 171, 238, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.public-telegram-link-group:hover,
.public-telegram-link-group:focus-visible {
  box-shadow:
    0 22px 54px rgba(42, 171, 238, 0.3),
    0 0 24px rgba(42, 171, 238, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.public-telegram-link-bot {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 184, 220, 0.34), transparent 32%),
    linear-gradient(135deg, var(--violet), var(--purple) 58%, #211a2f);
  box-shadow:
    0 18px 44px rgba(141, 107, 255, 0.24),
    0 0 28px rgba(141, 107, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.public-telegram-link-bot:hover,
.public-telegram-link-bot:focus-visible {
  box-shadow:
    0 22px 54px rgba(141, 107, 255, 0.34),
    0 0 28px rgba(255, 184, 220, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.public-telegram-link-work {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.38), transparent 34%),
    linear-gradient(135deg, var(--lime), var(--cyan));
  color: var(--text);
  box-shadow:
    0 18px 44px rgba(183, 255, 42, 0.22),
    0 0 26px rgba(191, 244, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.public-telegram-link-work:hover,
.public-telegram-link-work:focus-visible {
  box-shadow:
    0 22px 54px rgba(183, 255, 42, 0.34),
    0 0 30px rgba(191, 244, 255, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.public-telegram-link-support {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(135deg, var(--pink), var(--lavender) 62%, var(--purple));
  color: var(--text);
  box-shadow:
    0 18px 44px rgba(255, 184, 220, 0.24),
    0 0 26px rgba(205, 184, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.public-telegram-link-support:hover,
.public-telegram-link-support:focus-visible {
  box-shadow:
    0 22px 54px rgba(255, 184, 220, 0.34),
    0 0 28px rgba(205, 184, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

@media (max-width: 520px) {
  .public-telegram-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .public-telegram-links .public-telegram-link {
    min-width: 0;
    justify-content: center;
    padding-inline: 10px;
  }

  .public-telegram-links .public-telegram-link-support {
    grid-column: 1 / -1;
    width: calc(50% - 5px);
    justify-self: center;
  }
}

.public-review-jump svg {
  width: 18px;
  height: 18px;
}

.public-hero .hero-price,
.public-hero .public-hero-signal {
  display: none !important;
}

.public-hero-signal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.public-hero-signal span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(183, 255, 42, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(110deg, rgba(183, 255, 42, 0.13), transparent 46%),
    #171719;
  color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(19, 15, 31, 0.14);
  font-size: 0.82rem;
  font-weight: 900;
}

.secondary-button,
.text-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.secondary-button:hover,
.text-button:hover {
  transform: translateY(-2px);
  background: #fff;
}

.public-status,
.auth-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.public-status:empty,
.public-status[data-tone]:empty {
  display: none;
}

.public-status[data-tone="error"],
.auth-status[data-tone="error"] {
  color: #7b2554;
}

.public-status[data-tone="success"],
.auth-status[data-tone="success"] {
  color: #345b12;
}

.hero-portfolio {
  position: absolute;
  z-index: 2;
  inset: -24% -3vw -26% auto;
  width: min(50vw, 790px);
  display: grid;
  grid-template-columns: repeat(4, minmax(82px, 1fr));
  gap: clamp(8px, 0.72vw, 12px);
  transform: rotate(8deg) translateX(8%) scale(0.84);
  transform-origin: center;
  opacity: 0.86;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent);
}

.hero-portfolio::before {
  content: "";
  position: absolute;
  inset: -6% -8%;
  z-index: -1;
  background: radial-gradient(circle at 50% 44%, rgba(191, 244, 255, 0.16), transparent 58%);
  filter: blur(22px);
}

.hero-portfolio-column {
  display: grid;
  gap: clamp(8px, 0.72vw, 12px);
  will-change: transform;
  animation: hero-portfolio-rise 42s linear infinite;
}

.hero-portfolio-column-b {
  margin-top: -78px;
  animation-duration: 48s;
}

.hero-portfolio-column-c {
  margin-top: 50px;
  animation-duration: 45s;
}

.hero-portfolio-column-d {
  margin-top: -24px;
  animation-duration: 52s;
}

.hero-portfolio figure {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: #0d0d13;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.34);
}

.hero-portfolio img,
.hero-portfolio video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: rotate(-8deg) scale(1.18);
  filter: saturate(1.05) contrast(1.04);
}

.hero-portfolio span {
  position: absolute;
  left: 10px;
  bottom: 9px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(183, 255, 42, 0.42);
  border-radius: 999px;
  background: rgba(5, 6, 9, 0.62);
  color: rgba(255, 255, 255, 0.86);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@keyframes hero-portfolio-rise {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

.hero-marquee {
  position: relative;
  z-index: 4;
  width: 100vw;
  max-width: 100vw;
  min-height: 54px;
  display: flex;
  align-items: center;
  margin: 0 calc(50% - 50vw);
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(8, 8, 12, 0.94), rgba(55, 42, 86, 0.92) 52%, rgba(22, 20, 30, 0.96)),
    radial-gradient(circle at 70% 50%, rgba(183, 255, 42, 0.14), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(183, 255, 42, 0.08);
}

.hero-marquee::before,
.hero-marquee::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(16vw, 180px);
  pointer-events: none;
}

.hero-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #09090e, transparent);
}

.hero-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #16141e, transparent);
}

.hero-marquee-track {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: hero-marquee-run 32s linear infinite;
}

.hero-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(18px, 3.2vw, 42px);
  color: rgba(255, 255, 255, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.76rem, 1vw, 0.96rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-marquee-track span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(183, 255, 42, 0.72);
}

.site-update-slot {
  position: relative;
  z-index: 5;
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw);
  overflow: hidden;
  background: linear-gradient(100deg, var(--pink), var(--lavender) 52%, var(--cyan));
  color: var(--text);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-update-slot[hidden] {
  display: none !important;
}

.site-update-slot.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-update-link {
  width: min(1480px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  padding: 14px 0;
  color: inherit;
  text-decoration: none;
}

.site-update-eyebrow,
.site-update-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-update-eyebrow {
  min-height: 36px;
  padding: 0 14px;
  background: var(--text);
  color: var(--bg-warm);
}

.site-update-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.site-update-copy strong {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1rem, 1.55vw, 1.42rem);
  font-weight: 800;
  line-height: 1.05;
}

.site-update-copy small {
  overflow: hidden;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-update-meta {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(33, 26, 47, 0.2);
  background: rgba(255, 255, 255, 0.34);
}

.site-update-action {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 10px 30px rgba(183, 255, 42, 0.28);
  transition: transform 180ms ease, background 180ms ease;
}

.site-update-action svg {
  width: 22px;
  height: 22px;
}

.site-update-link:hover .site-update-action,
.site-update-link:focus-visible .site-update-action {
  background: var(--bg-warm);
  transform: translate(2px, -2px);
}

.site-update-link:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: -3px;
}

@media (max-width: 760px) {
  .site-update-link {
    width: calc(100% - 32px);
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    padding: 13px 0;
  }

  .site-update-eyebrow {
    width: fit-content;
    min-height: 28px;
    padding-inline: 10px;
    font-size: 0.64rem;
  }

  .site-update-copy {
    grid-column: 1;
  }

  .site-update-copy strong {
    font-size: 0.95rem;
  }

  .site-update-copy small {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.76rem;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .site-update-meta {
    display: none;
  }

  .site-update-action {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-update-slot,
  .site-update-action {
    transition: none;
  }
}

.platform-update-slot {
  margin-top: clamp(24px, 4vw, 48px);
  border-block: 1px solid rgba(255, 255, 255, 0.38);
  background: linear-gradient(100deg, var(--pink), var(--lavender) 48%, var(--cyan));
}

.platform-update-slot:not([hidden]) + .platform-route-section {
  margin-top: clamp(54px, 6vw, 88px);
}

.platform-update-slot:not([hidden]) + .platform-update-tools + .platform-route-section {
  margin-top: clamp(46px, 5vw, 76px);
}

.platform-update-link {
  width: 100%;
  min-height: 72px;
  display: block;
  overflow: hidden;
  padding: 0;
}

.site-update-track {
  width: max-content;
  min-height: 72px;
  display: flex;
  align-items: stretch;
  animation: site-update-run 34s linear infinite;
}

.platform-update-link:hover .site-update-track,
.platform-update-link:focus-visible .site-update-track {
  animation-play-state: paused;
}

.site-update-item {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  padding: 11px clamp(18px, 2.8vw, 42px);
  color: var(--text);
}

.site-update-title {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(0.94rem, 1.25vw, 1.15rem);
  font-weight: 850;
  line-height: 1;
}

.site-update-summary {
  max-width: 52ch;
  overflow: hidden;
  color: rgba(31, 24, 48, 0.72);
  font-size: 0.82rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-update-item .site-update-action {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  background: var(--text);
  color: #fff;
  box-shadow: none;
}

.site-update-item .site-update-action svg {
  width: 17px;
  height: 17px;
}

@keyframes site-update-run {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333%);
  }
}

@media (max-width: 760px) {
  .platform-update-link,
  .site-update-track {
    min-height: 62px;
  }

  .site-update-item {
    padding-inline: 16px;
  }

  .site-update-summary,
  .site-update-item .site-update-meta {
    display: none;
  }

  .site-update-item .site-update-eyebrow {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-update-track {
    width: 100%;
    animation: none;
  }

  .site-update-item {
    min-width: 100%;
    justify-content: center;
  }

  .site-update-item:nth-child(n + 2) {
    display: none;
  }
}

.platform-update-tools {
  width: min(1480px, calc(100% - 48px));
  margin: 12px auto 0;
  display: flex;
  justify-content: flex-end;
}

.updates-checklist-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 10px 0 17px;
  border: 1px solid rgba(33, 26, 47, 0.18);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(135deg, rgba(33, 26, 47, 0.96), rgba(58, 46, 76, 0.92)),
    radial-gradient(circle at 16% 0%, rgba(183, 255, 42, 0.2), transparent 36%);
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    0 18px 42px rgba(33, 26, 47, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.updates-checklist-button:hover,
.updates-checklist-button:focus-visible {
  border-color: rgba(183, 255, 42, 0.72);
  transform: translateY(-2px);
  box-shadow:
    0 20px 48px rgba(33, 26, 47, 0.24),
    0 0 28px rgba(183, 255, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.updates-checklist-button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.updates-checklist-button svg {
  width: 18px;
  height: 18px;
}

.updates-checklist-count {
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 900;
}

.updates-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(4, 3, 8, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.updates-drawer-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.updates-drawer {
  position: fixed;
  top: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 96;
  width: min(560px, calc(100vw - 32px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(183, 255, 42, 0.32);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(183, 255, 42, 0.18), transparent 34%),
    radial-gradient(circle at 100% 24%, rgba(141, 107, 255, 0.18), transparent 38%),
    #141316;
  color: #fff;
  box-shadow: 0 28px 92px rgba(0, 0, 0, 0.54);
  transform: translateX(calc(100% + 28px));
  opacity: 0;
  visibility: hidden;
  transition: transform 240ms ease, opacity 220ms ease, visibility 220ms ease;
}

.updates-drawer.is-visible {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.updates-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(22px, 4vw, 32px) clamp(20px, 4vw, 32px) 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.updates-drawer-head p {
  margin: 0 0 8px;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.updates-drawer-head h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.updates-drawer-note {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.28;
}

.updates-drawer-close {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.updates-drawer-close:hover,
.updates-drawer-close:focus-visible {
  background: var(--lime);
  color: var(--text);
}

.updates-drawer-close:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.updates-drawer-close svg {
  width: 20px;
  height: 20px;
}

.updates-drawer-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px clamp(20px, 4vw, 32px);
}

.updates-drawer-filters button,
.updates-drawer-mark-all {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.updates-drawer-filters button {
  padding: 0 14px;
}

.updates-drawer-filters button.is-active {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--text);
}

.updates-checklist-list {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 2px clamp(20px, 4vw, 32px) 20px;
  overflow: auto;
}

.updates-checklist-list::-webkit-scrollbar {
  width: 8px;
}

.updates-checklist-list::-webkit-scrollbar-thumb {
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.42);
}

.updates-checklist-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

.updates-checklist-card[data-seen="true"] {
  opacity: 0.7;
}

.updates-checklist-check {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183, 255, 42, 0.38);
  border-radius: 50%;
  background: rgba(183, 255, 42, 0.08);
  color: var(--lime);
  cursor: pointer;
}

.updates-checklist-check[aria-pressed="true"] {
  background: var(--lime);
  color: var(--text);
}

.updates-checklist-check:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.updates-checklist-check svg {
  width: 18px;
  height: 18px;
}

.updates-checklist-card-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.updates-checklist-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.updates-checklist-card-meta .is-new,
.updates-checklist-card-meta .is-seen {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: var(--radius-pill);
}

.updates-checklist-card-meta .is-new {
  background: var(--lime);
  color: var(--text);
}

.updates-checklist-card-meta .is-seen {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
}

.updates-checklist-card h3 {
  margin: 0;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 900;
  line-height: 1.06;
}

.updates-checklist-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.32;
}

.updates-checklist-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.updates-checklist-open {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.updates-checklist-open:hover,
.updates-checklist-open:focus-visible {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--text);
}

.updates-checklist-open svg {
  width: 15px;
  height: 15px;
}

.updates-checklist-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 26px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.updates-checklist-empty svg {
  width: 34px;
  height: 34px;
  color: var(--lime);
}

.updates-checklist-empty strong {
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 1.1rem;
}

.updates-checklist-empty p {
  max-width: 34ch;
  margin: 0;
  font-weight: 720;
  line-height: 1.35;
}

.updates-drawer-footer {
  padding: 16px clamp(20px, 4vw, 32px) clamp(20px, 4vw, 30px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.updates-drawer-mark-all {
  width: 100%;
  padding: 0 16px;
}

.updates-drawer-mark-all:hover,
.updates-drawer-mark-all:focus-visible {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--text);
}

body.updates-drawer-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .platform-update-tools {
    width: calc(100% - 32px);
    justify-content: stretch;
  }

  .updates-checklist-button {
    width: 100%;
    justify-content: space-between;
  }

  .updates-drawer {
    inset: 10px;
    width: auto;
    border-radius: 24px;
  }

  .updates-drawer-head {
    padding-top: 22px;
  }

  .updates-drawer-head h2 {
    font-size: 1.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .updates-checklist-button,
  .updates-drawer,
  .updates-drawer-backdrop {
    transition: none;
  }
}

/* SPORT collection */
.sport-topic-body {
  display: grid;
  gap: clamp(54px, 7vw, 96px);
  padding: clamp(48px, 6vw, 82px) clamp(18px, 4vw, 74px) clamp(72px, 8vw, 118px);
  background: #0d0d0f;
  color: #fff;
}

.sport-topic-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: clamp(26px, 4vw, 52px) 0;
  border-block: 1px solid rgba(183, 255, 42, 0.3);
}

.sport-topic-intro > p,
.sport-collection-head p,
.sport-model-title p,
.sport-styles-intro p,
.sport-style-head p {
  margin: 0;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sport-topic-intro h2 {
  grid-column: 1;
  margin: 8px 0 0;
  font-size: clamp(2.6rem, 5.6vw, 6.4rem);
  line-height: 0.92;
}

.sport-topic-intro > strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.5;
}

.sport-model-jump {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.sport-model-jump a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 5px 12px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.sport-model-jump a:hover,
.sport-model-jump a:focus-visible {
  border-color: var(--pink);
  background: rgba(255, 184, 220, 0.14);
  transform: translateY(-2px);
}

.sport-model-jump img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.sport-model-section {
  display: grid;
  gap: clamp(30px, 4vw, 54px);
  scroll-margin-top: 120px;
}

.sport-model-section + .sport-model-section {
  padding-top: clamp(54px, 7vw, 94px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sport-model-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.sport-model-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sport-model-title > img {
  width: clamp(58px, 7vw, 84px);
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #fff;
}

.sport-model-title h3 {
  margin: 5px 0 0;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 0.94;
}

.sport-model-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.sport-model-actions > strong {
  flex: 1 1 340px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.sport-service-row {
  flex: 0 1 280px;
}

.sport-collection-block {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.sport-collection-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.sport-collection-head h4,
.sport-styles-intro h4 {
  margin: 7px 0 0;
  font-size: clamp(1.8rem, 3.4vw, 3.7rem);
  line-height: 0.98;
}

.sport-collection-head > strong,
.sport-styles-intro > strong,
.sport-style-head strong {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.45;
}

.sport-prompt-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sport-prompt-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.sport-prompt-card:hover {
  border-color: rgba(255, 184, 220, 0.7);
  background: rgba(255, 184, 220, 0.09);
  transform: translateY(-3px);
}

.sport-prompt-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #08080b;
}

.sport-prompt-gallery.is-single {
  grid-template-columns: 1fr;
}

.sport-prompt-gallery figure,
.sport-collection-gallery figure,
.sport-style-gallery figure,
.sport-vibe-loop {
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.sport-prompt-gallery figure:nth-child(n + 5) {
  display: none;
}

.sport-prompt-gallery img,
.sport-collection-gallery img,
.sport-style-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sport-prompt-gallery.is-single img {
  object-fit: contain;
}

.sport-prompt-carousel {
  position: relative;
  display: grid;
  grid-template-columns: var(--sport-slide-columns, 1fr 1fr);
  aspect-ratio: var(--sport-media-ratio, 8 / 5);
  min-height: 0;
  background: #08080b;
  transition: aspect-ratio 180ms ease;
}

.sport-prompt-carousel figure,
.sport-prompt-carousel figure:nth-child(n + 5) {
  position: relative;
  display: none;
  min-width: 0;
  background: #08080b;
}

.sport-prompt-carousel figure.is-active {
  display: block;
}

.sport-prompt-carousel img,
.sport-prompt-carousel.is-single img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sport-carousel-controls {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 10px;
  display: inline-grid;
  grid-template-columns: 40px auto 40px;
  align-items: center;
  gap: 7px;
  padding: 6px;
  border: 1px solid rgba(183, 255, 42, 0.58);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.84);
  box-shadow: 0 0 24px rgba(183, 255, 42, 0.16);
  backdrop-filter: blur(12px);
}

.sport-carousel-controls button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(183, 255, 42, 0.42);
  border-radius: 50%;
  background: rgba(183, 255, 42, 0.08);
  color: #fff;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.sport-carousel-controls button:hover,
.sport-carousel-controls button:focus-visible {
  border-color: var(--lime);
  background: var(--lime);
  color: #050505;
}

.sport-carousel-controls button svg {
  width: 19px;
  height: 19px;
}

.sport-carousel-controls span {
  min-width: 45px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
}

.sport-prompt-content {
  display: grid;
  gap: 13px;
  padding: 16px;
}

.sport-prompt-heading {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.sport-prompt-heading > span {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
}

.sport-prompt-heading small {
  color: rgba(255, 255, 255, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.sport-prompt-heading h5 {
  margin: 4px 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.05;
}

.sport-copy-button {
  position: static;
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(183, 255, 42, 0.46);
  border-radius: 7px;
  background: rgba(183, 255, 42, 0.1);
  color: #fff;
  font-size: 0.78rem;
}

.sport-copy-button:hover,
.sport-copy-button:focus-visible,
.sport-copy-button.copied {
  border-color: var(--lime);
  background: var(--lime);
  color: #050505;
}

.sport-copy-button svg {
  width: 17px;
  height: 17px;
}

.sport-settings-panel {
  min-width: min(100%, 360px);
  flex: 1 1 360px;
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(183, 255, 42, 0.32);
  border-radius: 8px;
  background: rgba(183, 255, 42, 0.06);
}

.sport-settings-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.sport-settings-copy small {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sport-settings-copy strong {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  line-height: 1.42;
}

.sport-settings-copy code {
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 10px;
  border-radius: 6px;
  background: rgba(5, 5, 5, 0.66);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  line-height: 1.45;
}

.sport-prompt-text {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 11px;
}

.sport-prompt-text summary {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.sport-prompt-text p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.5;
}

.sport-styles-section,
.sport-styles-list {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.sport-styles-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: end;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
  background: linear-gradient(110deg, rgba(255, 184, 220, 0.18), rgba(205, 184, 255, 0.12), rgba(191, 244, 255, 0.08));
}

.sport-style-block {
  display: grid;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  scroll-margin-top: 120px;
}

.sport-style-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.sport-style-head > div {
  max-width: 780px;
}

.sport-style-head h5 {
  margin: 7px 0 9px;
  font-size: clamp(1.45rem, 2.5vw, 2.6rem);
}

.sport-vibe-loop {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 184, 220, 0.45);
  border-radius: 8px;
  background: #050505;
}

.sport-vibe-loop video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sport-vibe-loop figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(5, 5, 5, 0.74);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  font-weight: 900;
}

.sport-collection-gallery,
.sport-style-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.sport-collection-gallery figure,
.sport-style-gallery figure {
  aspect-ratio: 4 / 5;
  border-radius: 7px;
  background: #101014;
}

.sport-collection-gallery {
  gap: 6px;
}

.sport-collection-gallery figure {
  aspect-ratio: 9 / 16;
}

.sport-trademark-note {
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.45;
}

/* Public SPORT preview */
.sport-free-section {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  margin-top: clamp(28px, 4vw, 54px);
  padding: clamp(26px, 4vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(33, 22, 51, 0.98), rgba(10, 15, 12, 0.98));
  color: #fff;
  box-shadow: 0 24px 70px rgba(49, 26, 85, 0.2);
  scroll-margin-top: 110px;
  margin-bottom: clamp(30px, 4vw, 58px);
}

.free-sport-upsell-marquee {
  width: 100vw;
  min-height: clamp(62px, 6vw, 82px);
  display: block;
  margin: 0 calc(50% - 50vw) clamp(52px, 7vw, 94px);
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.42);
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 184, 220, 0.32), transparent 26%),
    linear-gradient(100deg, #211633, var(--violet) 50%, #211633);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 54px rgba(49, 26, 85, 0.22);
}

.free-sport-upsell-marquee .hero-marquee-track {
  min-height: inherit;
  gap: clamp(34px, 5vw, 88px);
  padding-inline: clamp(24px, 4vw, 64px);
  animation-duration: 24s;
}

.free-sport-upsell-marquee .hero-marquee-track span {
  color: #fff;
  font-size: clamp(0.84rem, 1.25vw, 1.08rem);
  text-shadow: 0 0 18px rgba(255, 184, 220, 0.48);
}

.free-sport-upsell-marquee .hero-marquee-track span:nth-child(3n + 2) {
  color: var(--pink);
}

.free-sport-upsell-marquee .hero-marquee-track span:nth-child(3n) {
  color: var(--lime);
}

.free-sport-upsell-marquee:hover .hero-marquee-track,
.free-sport-upsell-marquee:focus-visible .hero-marquee-track {
  animation-play-state: paused;
}

.sport-free-section::before {
  content: "SPORT";
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(255, 255, 255, 0.04);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.sport-free-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.sport-free-new {
  width: fit-content;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--pink);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(255, 184, 220, 0.3);
}

.sport-free-intro > div:first-child > p {
  margin: 18px 0 0;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
}

.sport-free-intro h2 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 0.94;
}

.sport-free-intro-copy {
  display: grid;
  gap: 16px;
}

.sport-free-intro-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.96rem, 1.22vw, 1.1rem);
  font-weight: 700;
  line-height: 1.48;
}

.sport-free-service {
  width: min(100%, 310px);
}

.sport-free-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sport-free-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.sport-free-card:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 255, 42, 0.66);
  background: rgba(183, 255, 42, 0.09);
}

.sport-free-card-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #050505;
}

.sport-free-card-gallery.is-single {
  grid-template-columns: 1fr;
}

.sport-free-card-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.sport-free-card-gallery figure:nth-child(n + 5) {
  display: none;
}

.sport-free-card-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sport-free-card-gallery.is-single img {
  object-fit: contain;
}

.sport-free-carousel {
  position: relative;
  display: grid;
  grid-template-columns: var(--sport-slide-columns, 1fr 1fr);
  aspect-ratio: var(--sport-media-ratio, 8 / 5);
  min-height: 0;
  background: #050505;
  transition: aspect-ratio 180ms ease;
}

.sport-free-carousel figure,
.sport-free-carousel figure:nth-child(n + 5) {
  position: relative;
  display: none;
  min-width: 0;
  background: #050505;
}

.sport-free-carousel figure.is-active {
  display: block;
}

.sport-free-carousel img,
.sport-free-carousel.is-single img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sport-free-card-copy {
  display: grid;
  gap: 13px;
  padding: 16px;
}

.sport-free-card-copy header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
}

.sport-free-card-copy header > span {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
}

.sport-free-card-copy small {
  color: rgba(255, 255, 255, 0.46);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sport-free-card-copy h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  line-height: 1.08;
}

.sport-free-copy {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(183, 255, 42, 0.48);
  border-radius: 7px;
  background: rgba(183, 255, 42, 0.09);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.sport-free-copy:hover,
.sport-free-copy:focus-visible,
.sport-free-copy.is-copied {
  border-color: var(--lime);
  background: var(--lime);
  color: #050505;
}

.sport-free-copy svg {
  width: 17px;
  height: 17px;
}

.sport-free-card details {
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sport-free-card summary {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.sport-free-card details p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  line-height: 1.52;
}

.sport-free-copy-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
}

@media (max-width: 900px) {
  .sport-topic-intro,
  .sport-model-head,
  .sport-collection-head,
  .sport-styles-intro,
  .sport-free-intro {
    grid-template-columns: 1fr;
  }

  .sport-topic-intro > strong {
    grid-column: 1;
    grid-row: auto;
  }

  .sport-model-actions {
    justify-content: flex-start;
  }

  .sport-collection-gallery,
  .sport-style-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .sport-topic-body {
    gap: 52px;
  }

  .sport-topic-intro {
    padding-block: 26px;
  }

  .sport-topic-intro h2 {
    font-size: 2.55rem;
  }

  .sport-model-jump {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sport-model-head {
    gap: 18px;
  }

  .sport-model-title > img {
    width: 58px;
  }

  .sport-prompt-list,
  .sport-free-grid {
    grid-template-columns: 1fr;
  }

  .sport-style-head {
    display: grid;
    align-items: start;
  }

  .sport-collection-gallery,
  .sport-style-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sport-vibe-loop {
    width: 100%;
  }

  .sport-free-section {
    margin-inline: 0;
    padding: 24px 18px;
  }

  .sport-free-section::before {
    top: 12px;
    right: 8px;
  }

  .sport-free-intro h2 {
    font-size: 2.25rem;
  }

  .sport-free-copy {
    width: 100%;
  }

  .sport-settings-panel {
    min-width: 0;
    width: 100%;
  }

  .sport-carousel-controls {
    right: 8px;
    bottom: 8px;
    grid-template-columns: 36px auto 36px;
  }

  .sport-carousel-controls button {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sport-prompt-card,
  .sport-model-jump a,
  .sport-free-card,
  .sport-free-copy {
    transition: none;
  }
}

.home-mid-marquee {
  margin-top: clamp(-54px, -4vw, -28px);
  margin-bottom: 14px;
}

@keyframes hero-marquee-run {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.public-hero-panel {
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 28px;
  border-color: rgba(183, 255, 42, 0.18);
  background:
    linear-gradient(120deg, rgba(183, 255, 42, 0.13) 0%, transparent 38%),
    linear-gradient(145deg, #202124 0%, #171719 56%, #243518 100%);
  color: #fff;
  box-shadow: 0 26px 74px rgba(15, 14, 20, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.public-hero-panel span {
  color: rgba(255, 255, 255, 0.62);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  font-weight: 800;
}

.public-hero-panel strong {
  font-family: "Unbounded", sans-serif;
  font-size: 2.1rem;
  line-height: 1;
}

.public-hero-panel ul,
.public-plan-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-hero-panel li,
.public-plan-card li {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.18;
}

.public-section,
.public-free-band,
.public-subscription {
  margin-bottom: 28px;
}

.public-section,
.public-free-band {
  padding: 28px;
}

#features {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 184, 220, 0.42), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(191, 244, 255, 0.48), transparent 36%),
    linear-gradient(135deg, rgba(232, 222, 255, 0.88), rgba(244, 235, 255, 0.68) 48%, rgba(226, 244, 255, 0.7));
  animation: soft-rise 520ms ease both;
}

#features,
#inside {
  scroll-margin-top: 124px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#features {
  padding: clamp(18px, 3vw, 30px) 0 34px;
}

#inside {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 3.6vw, 42px) 0 26px;
}

#inside::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18px -28px auto -28px;
  height: min(64%, 520px);
  border-radius: 44px;
  background:
    radial-gradient(circle at 10% 20%, rgba(183, 255, 42, 0.28), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(255, 210, 166, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(236, 255, 199, 0.56), rgba(247, 235, 255, 0.26) 54%, rgba(255, 248, 241, 0.36));
  filter: blur(0.2px);
  pointer-events: none;
}

#features .public-section-head {
  margin-bottom: 34px;
}

.public-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.public-section-head h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1;
}

.public-section-head > p {
  margin: 0;
  color: var(--text-soft);
  font-weight: 800;
  line-height: 1.35;
}

.public-feature-grid,
.public-preview-grid {
  display: grid;
  gap: 12px;
}

.public-preview-grid {
  align-items: start;
}

.public-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.public-feature-card,
.public-preview-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 34px rgba(104, 80, 180, 0.12);
}

.public-feature-card {
  animation: soft-rise 560ms ease both;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.public-feature-card.is-full-access {
  background:
    radial-gradient(circle at 88% 8%, rgba(183, 255, 42, 0.34), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(205, 184, 255, 0.3), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(238, 255, 206, 0.58));
  border-color: rgba(183, 255, 42, 0.38);
}

.public-feature-card.is-free-access {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 210, 166, 0.24), transparent 32%),
    radial-gradient(circle at 92% 100%, rgba(255, 184, 220, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(247, 235, 255, 0.56));
  border-color: rgba(255, 210, 166, 0.34);
}

.public-feature-card:nth-child(2) {
  animation-delay: 80ms;
}

.public-feature-card:hover {
  transform: translateY(-3px);
}

.public-feature-card.is-full-access:hover {
  border-color: rgba(183, 255, 42, 0.62);
  background:
    radial-gradient(circle at 88% 8%, rgba(183, 255, 42, 0.44), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(205, 184, 255, 0.34), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(238, 255, 206, 0.7));
  box-shadow: 0 22px 48px rgba(143, 210, 24, 0.16);
}

.public-feature-card.is-free-access:hover {
  border-color: rgba(255, 184, 220, 0.5);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 210, 166, 0.32), transparent 32%),
    radial-gradient(circle at 92% 100%, rgba(255, 184, 220, 0.32), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(247, 235, 255, 0.66));
  box-shadow: 0 22px 48px rgba(255, 184, 220, 0.14);
}

.public-preview-card {
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

#inside .public-preview-card {
  border-color: rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at 92% 10%, rgba(183, 255, 42, 0.18), transparent 31%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(240, 232, 255, 0.54));
  box-shadow: 0 14px 30px rgba(104, 80, 180, 0.09);
}

#inside .public-preview-card:nth-child(3n + 2) {
  background:
    radial-gradient(circle at 14% 12%, rgba(183, 255, 42, 0.2), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(239, 255, 208, 0.54));
}

#inside .public-preview-card:nth-child(3n + 3) {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 210, 166, 0.2), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 236, 246, 0.54));
}

.public-preview-card:hover,
.public-preview-card.is-open {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 42, 0.58);
  background:
    radial-gradient(circle at 96% 8%, rgba(183, 255, 42, 0.22), transparent 34%),
    rgba(255, 255, 255, 0.66);
}

#inside .public-preview-card:hover,
#inside .public-preview-card.is-open {
  border-color: rgba(183, 255, 42, 0.62);
  background:
    radial-gradient(circle at 92% 8%, rgba(183, 255, 42, 0.3), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(239, 255, 208, 0.66));
  box-shadow: 0 22px 46px rgba(143, 210, 24, 0.14);
}

.public-feature-card i {
  width: 28px;
  height: 28px;
  color: var(--purple);
}

.public-feature-card h3,
.public-preview-card h3 {
  margin: auto 0 8px;
  font-size: 1.24rem;
  line-height: 1.08;
}

.public-preview-card h3 {
  margin: 18px 0 8px;
}

.public-feature-card p,
.public-preview-card p {
  margin: 0;
  color: var(--text-soft);
  font-weight: 500;
  line-height: 1.3;
}

.public-preview-card small {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
}

.public-preview-card span {
  width: max-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.52);
  font-size: 0.78rem;
  font-weight: 900;
}

.preview-toggle {
  width: max-content;
  max-width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.52);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 900;
}

.preview-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.public-preview-card.is-open .preview-toggle {
  background: var(--lime);
}

.public-preview-card.is-open .preview-toggle svg {
  transform: rotate(180deg);
}

.preview-menu {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 240ms ease, opacity 180ms ease, margin-top 180ms ease;
}

.public-preview-card.is-open .preview-menu {
  max-height: 760px;
  margin-top: 18px;
  opacity: 1;
}

.preview-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview-menu li {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.12;
}

.preview-link {
  width: max-content;
  max-width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: #050505;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(183, 255, 42, 0.14);
}

#inside .preview-link {
  background: var(--lime);
  color: #050505;
}

#access-types .public-feature-card {
  position: relative;
  min-height: 224px;
  overflow: hidden;
  border-color: rgba(183, 255, 42, 0.16);
  background:
    linear-gradient(110deg, rgba(183, 255, 42, 0.13) 0%, transparent 34%),
    linear-gradient(145deg, #1f2023 0%, #171719 62%, #243518 100%);
  color: #fff;
  box-shadow: 0 26px 68px rgba(19, 15, 31, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#access-types .public-feature-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(183, 255, 42, 0.62), rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

#access-types .public-feature-card > * {
  position: relative;
  z-index: 1;
}

#access-types .public-feature-card.is-free-access {
  background:
    linear-gradient(125deg, rgba(255, 184, 220, 0.15) 0%, transparent 38%),
    linear-gradient(145deg, #211d24 0%, #171719 62%, #2f2630 100%);
  border-color: rgba(255, 184, 220, 0.16);
}

#access-types .public-feature-card:hover,
#access-types .public-feature-card.is-full-access:hover,
#access-types .public-feature-card.is-free-access:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 42, 0.42);
  background:
    linear-gradient(110deg, rgba(183, 255, 42, 0.18) 0%, transparent 38%),
    linear-gradient(145deg, #25272a 0%, #171719 58%, #273d19 100%);
  box-shadow: 0 32px 82px rgba(19, 15, 31, 0.28), 0 0 34px rgba(183, 255, 42, 0.12);
}

#access-types .public-feature-card i,
#access-types .public-feature-card svg {
  color: var(--lime);
}

#access-types .public-feature-card h3 {
  color: #fff;
}

#access-types .public-feature-card p {
  color: rgba(255, 255, 255, 0.72);
}

#inside .public-preview-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(112deg, rgba(183, 255, 42, 0.11) 0%, transparent 34%),
    linear-gradient(145deg, #1f2023 0%, #171719 64%, #243518 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(19, 15, 31, 0.2);
}

#inside .public-preview-card:nth-child(3n + 2) {
  background:
    linear-gradient(125deg, rgba(205, 184, 255, 0.14) 0%, transparent 36%),
    linear-gradient(145deg, #202027 0%, #171719 62%, #252039 100%);
}

#inside .public-preview-card:nth-child(3n + 3) {
  background:
    linear-gradient(125deg, rgba(255, 184, 220, 0.13) 0%, transparent 36%),
    linear-gradient(145deg, #211d24 0%, #171719 62%, #302532 100%);
}

#inside .public-preview-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(183, 255, 42, 0.44), rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

#inside .public-preview-card > * {
  position: relative;
  z-index: 1;
}

#inside .public-preview-card.has-preview-visual {
  min-height: 0;
}

.preview-visual {
  width: 100%;
  margin: 18px 0 0;
  overflow: hidden;
  border-radius: 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.preview-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  object-fit: contain;
}

#inside .public-preview-card.has-preview-visual .preview-toggle {
  margin-top: 16px;
}

#inside .public-preview-card:hover,
#inside .public-preview-card.is-open {
  transform: translateY(-4px);
  border-color: rgba(205, 184, 255, 0.92);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.5), transparent 28%),
    radial-gradient(circle at 12% 100%, rgba(183, 255, 42, 0.2), transparent 34%),
    linear-gradient(180deg, #7c3aed 0%, #a77cff 54%, #efe7ff 100%);
  color: #fff;
  box-shadow:
    0 34px 84px rgba(124, 58, 237, 0.28),
    0 0 38px rgba(205, 184, 255, 0.24);
}

#inside .public-preview-card h3 {
  color: #fff;
}

#inside .public-preview-card small,
#inside .public-preview-card p {
  color: rgba(255, 255, 255, 0.68);
}

#inside .public-preview-card:hover h3,
#inside .public-preview-card.is-open h3 {
  color: #fff;
}

#inside .public-preview-card:hover small,
#inside .public-preview-card:hover p,
#inside .public-preview-card.is-open small,
#inside .public-preview-card.is-open p {
  color: rgba(255, 255, 255, 0.9);
}

#inside .public-preview-card:hover .preview-toggle,
#inside .public-preview-card.is-open .preview-toggle,
#inside .public-preview-card:hover .preview-link,
#inside .public-preview-card.is-open .preview-link {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.92);
  color: #3b147d;
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

#inside .public-preview-card:hover .preview-menu li,
#inside .public-preview-card.is-open .preview-menu li {
  border-color: rgba(33, 26, 47, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(33, 26, 47, 0.84);
  font-weight: 500;
}

#inside .preview-toggle {
  border-color: rgba(183, 255, 42, 0.34);
  background: rgba(183, 255, 42, 0.92);
  color: #050505;
  box-shadow: 0 16px 34px rgba(183, 255, 42, 0.12);
}

#inside .preview-menu li {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
}

.public-page .public-free-band {
  border-color: rgba(183, 255, 42, 0.16);
  background:
    linear-gradient(115deg, rgba(183, 255, 42, 0.16) 0%, transparent 40%),
    linear-gradient(145deg, #1f2023 0%, #171719 62%, #243518 100%);
  color: #fff;
  box-shadow: 0 26px 68px rgba(19, 15, 31, 0.2);
}

.public-page .public-free-band .chapter-label,
.public-page .public-free-band h2 {
  color: #fff;
}

.public-page .public-free-band p {
  color: rgba(255, 255, 255, 0.7);
}

.public-page .public-free-band .secondary-button {
  border-color: rgba(183, 255, 42, 0.5);
  background: var(--lime);
  color: #050505;
  box-shadow: 0 18px 42px rgba(183, 255, 42, 0.16);
}

.public-free-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(circle at 92% 10%, rgba(183, 255, 42, 0.28), transparent 28%),
    rgba(255, 255, 255, 0.58);
}

.public-free-band h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.public-free-band p {
  max-width: 720px;
  margin: 0;
  color: var(--text-soft);
  font-weight: 800;
}

.public-upcoming-section {
  width: min(100%, 1480px);
  margin: clamp(26px, 4vw, 52px) auto;
}

.public-upcoming-section .work-announcement {
  margin: 0;
}

.public-subscription {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 124px;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 184, 220, 0.32), transparent 31%),
    radial-gradient(circle at 88% 2%, rgba(255, 210, 166, 0.22), transparent 34%),
    radial-gradient(circle at 74% 100%, rgba(205, 184, 255, 0.3), transparent 38%),
    linear-gradient(135deg, #21103f 0%, #371a63 50%, #4b244f 100%);
  color: #fff;
  box-shadow: 0 28px 86px rgba(91, 65, 150, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: subscription-shell-in 640ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.public-subscription::before,
.public-subscription::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.public-subscription::before {
  inset: -1px;
  background:
    linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.1) 46%, transparent 62%),
    radial-gradient(circle at 18% 18%, rgba(255, 184, 220, 0.24), transparent 30%),
    radial-gradient(circle at 86% 28%, rgba(255, 210, 166, 0.16), transparent 24%);
  opacity: 0.54;
  transition: opacity 220ms ease;
}

.public-subscription::after {
  inset: auto 28px 22px 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  opacity: 0.44;
}

.public-subscription:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 210, 166, 0.42);
  box-shadow: 0 34px 96px rgba(91, 65, 150, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.public-subscription:hover::before {
  opacity: 0.94;
}

.public-subscription > * {
  position: relative;
  z-index: 1;
}

.public-subscription .public-section-head,
.public-subscription .work-announcement,
.public-subscription .current-plan-card,
.public-subscription .tariff-card,
.public-subscription .public-subscription-actions {
  animation: subscription-piece-in 520ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.public-subscription .work-announcement {
  animation-name: work-announcement-in;
  animation-delay: 70ms;
}

.public-subscription .current-plan-card {
  animation-delay: 130ms;
}

.public-subscription .tariff-card-free {
  animation-delay: 190ms;
}

.public-subscription .tariff-card-paid {
  animation-delay: 260ms;
}

.public-subscription .public-subscription-actions {
  animation-delay: 330ms;
}

.public-subscription .public-section-head > p {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 500;
}

.public-subscription .public-section-head {
  margin-bottom: 22px;
}

.public-subscription .chapter-label {
  color: rgba(255, 255, 255, 0.64);
}

.work-announcement {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 1.8vw, 22px);
  align-items: center;
  margin: 0 0 14px;
  padding: 13px 14px;
  border: 1px solid rgba(183, 255, 42, 0.62);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 48%, rgba(183, 255, 42, 0.34), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(255, 184, 220, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(238, 225, 255, 0.64) 52%, rgba(218, 255, 154, 0.5));
  box-shadow:
    0 0 0 1px rgba(183, 255, 42, 0.48),
    0 0 22px rgba(183, 255, 42, 0.2),
    0 0 34px rgba(255, 184, 220, 0.16),
    0 18px 58px rgba(16, 8, 38, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
}

.work-announcement::before {
  content: "";
  position: absolute;
  inset: -42% auto -42% -28%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  pointer-events: none;
  animation: work-announcement-shine 6.8s cubic-bezier(0.2, 0.8, 0.2, 1) 900ms infinite;
}

.work-announcement::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 26px rgba(255, 184, 220, 0.12),
    inset 0 0 0 1px rgba(183, 255, 42, 0.34);
  pointer-events: none;
}

.work-announcement > * {
  position: relative;
  z-index: 1;
}

.work-announcement-badge,
.work-announcement-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  width: max-content;
  max-width: 100%;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.work-announcement-badge {
  padding: 0 13px;
  background: rgba(183, 255, 42, 0.82);
  color: var(--text);
  box-shadow: 0 0 24px rgba(183, 255, 42, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.work-announcement-copy {
  min-width: 0;
}

.work-announcement-copy h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: clamp(1.08rem, 1.5vw, 1.42rem);
  line-height: 1.05;
}

.work-announcement-copy p {
  max-width: 920px;
  margin: 0;
  color: rgba(33, 26, 47, 0.72);
  font-size: clamp(0.86rem, 1vw, 0.98rem);
  font-weight: 500;
  line-height: 1.28;
}

.work-announcement-cta {
  padding: 0 14px;
  border: 1px solid rgba(33, 26, 47, 0.14);
  background: rgba(33, 26, 47, 0.08);
  color: rgba(33, 26, 47, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.work-announcement:hover {
  border-color: rgba(183, 255, 42, 0.88);
  box-shadow:
    0 0 0 1px rgba(183, 255, 42, 0.6),
    0 0 28px rgba(183, 255, 42, 0.24),
    0 0 40px rgba(255, 184, 220, 0.16),
    0 22px 66px rgba(16, 8, 38, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.public-plan-card {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.public-plan-card h3 {
  margin: 12px 0 8px;
  font-size: 2rem;
}

.public-plan-card p,
.public-plan-card small {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.public-plan-card small {
  max-width: 260px;
}

.public-plan-card .checkout-button {
  width: max-content;
  min-width: 190px;
}

.account-plan-section {
  margin: 0 0 28px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(22px) saturate(1.24);
  -webkit-backdrop-filter: blur(22px) saturate(1.24);
}

.current-plan-card,
.tariff-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
  box-shadow: 0 16px 36px rgba(104, 80, 180, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.current-plan-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 12px;
  padding: 18px;
}

.current-plan-card h3 {
  margin: 10px 0 0;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  line-height: 1;
}

.current-plan-card p {
  margin: 0;
  color: var(--text-soft);
  font-weight: 500;
  line-height: 1.34;
}

.tariff-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1.24fr);
  gap: 12px;
}

.tariff-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.tariff-card.is-featured {
  background:
    radial-gradient(circle at 92% 8%, rgba(183, 255, 42, 0.24), transparent 32%),
    radial-gradient(circle at 14% 100%, rgba(205, 184, 255, 0.34), transparent 36%),
    rgba(255, 255, 255, 0.72);
  border-color: rgba(183, 255, 42, 0.48);
}

.tariff-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.02;
}

.tariff-card p {
  margin: 0;
  color: var(--text-soft);
  font-weight: 500;
  line-height: 1.35;
}

.tariff-price {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
  color: var(--text);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 800;
  line-height: 0.95;
}

.tariff-price strong {
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.tariff-price span {
  margin-left: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(0.82rem, 0.9vw, 0.98rem);
  font-weight: 900;
  line-height: 1.08;
  color: inherit;
}

.tariff-price-annual {
  display: grid;
  gap: 6px;
  align-items: start;
}

.tariff-price-annual span {
  max-width: 18rem;
}

.annual-price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.annual-price strong {
  color: var(--text);
}

.annual-price span,
.tariff-status {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 900;
}

.annual-price span {
  background: rgba(183, 255, 42, 0.54);
  color: var(--text);
}

.tariff-status {
  margin-top: auto;
  background: rgba(183, 255, 42, 0.58);
  color: var(--text);
}

.tariff-status[data-state="included"] {
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
}

.platform-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 4px;
  padding: 0;
  list-style: none;
}

.platform-includes li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.16;
}

.tariff-card .checkout-button {
  min-height: 54px;
  margin-top: auto;
}

.checkout-button:disabled {
  cursor: default;
  opacity: 0.72;
  transform: none;
}

.public-subscription .current-plan-card,
.public-subscription .tariff-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 42px rgba(16, 8, 38, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.public-subscription .current-plan-card::before,
.public-subscription .tariff-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 8%, rgba(255, 255, 255, 0.16) 48%, transparent 64%);
  opacity: 0;
  transform: translateX(-52%) skewX(-12deg);
  transition: opacity 200ms ease, transform 420ms ease;
  pointer-events: none;
}

.public-subscription .current-plan-card:hover,
.public-subscription .tariff-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 210, 166, 0.42);
  box-shadow: 0 26px 58px rgba(16, 8, 38, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.public-subscription .current-plan-card:hover::before,
.public-subscription .tariff-card:hover::before {
  opacity: 1;
  transform: translateX(55%) skewX(-12deg);
}

.public-subscription .current-plan-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(205, 184, 255, 0.13)),
    rgba(255, 255, 255, 0.06);
}

.public-subscription .current-plan-card.is-full-access-current {
  border-color: rgba(183, 255, 42, 0.78);
  background:
    radial-gradient(circle at 8% 20%, rgba(183, 255, 42, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(183, 255, 42, 0.2), rgba(255, 255, 255, 0.12) 52%, rgba(205, 184, 255, 0.14)),
    rgba(255, 255, 255, 0.07);
  box-shadow:
    0 24px 68px rgba(16, 8, 38, 0.2),
    0 0 24px rgba(183, 255, 42, 0.18),
    inset 0 0 0 1px rgba(183, 255, 42, 0.28);
}

.public-subscription .current-plan-card.is-full-access-current .plan-badge {
  border-color: rgba(183, 255, 42, 0.58);
  background: rgba(183, 255, 42, 0.78);
  color: var(--text);
}

.public-subscription .tariff-card-free {
  background:
    radial-gradient(circle at 18% 0%, rgba(205, 184, 255, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(33, 16, 63, 0.38));
}

.public-subscription .tariff-card.is-featured {
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 210, 166, 0.36), transparent 30%),
    radial-gradient(circle at 10% 100%, rgba(255, 184, 220, 0.42), transparent 34%),
    linear-gradient(135deg, rgba(255, 252, 246, 0.94), rgba(247, 235, 255, 0.9) 54%, rgba(255, 232, 244, 0.94));
  color: var(--text);
  border-color: rgba(255, 210, 166, 0.78);
  box-shadow: 0 24px 66px rgba(16, 8, 38, 0.24), 0 0 0 1px rgba(183, 255, 42, 0.22) inset;
}

.public-subscription .plan-badge {
  align-self: flex-start;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
}

.public-subscription .tariff-card.is-featured .plan-badge,
.public-subscription .annual-price span {
  border-color: rgba(183, 255, 42, 0.44);
  background: rgba(183, 255, 42, 0.72);
  color: var(--text);
}

.public-subscription .tariff-card-free .plan-badge {
  border-color: rgba(205, 184, 255, 0.34);
  background: rgba(205, 184, 255, 0.18);
}

.public-subscription .current-plan-card p,
.public-subscription .tariff-card p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.public-subscription .tariff-card.is-featured p {
  color: rgba(33, 26, 47, 0.72);
}

.public-subscription .tariff-price {
  color: #fff;
}

.public-subscription .tariff-card.is-featured .tariff-price,
.public-subscription .tariff-card.is-featured .annual-price strong {
  color: var(--text);
}

.public-subscription .platform-includes li {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
}

.public-subscription .tariff-card.is-featured .platform-includes li {
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(255, 255, 255, 0.78);
  color: rgba(33, 26, 47, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.public-subscription .tariff-status {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
}

.public-subscription .tariff-status[data-state="included"] {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
}

.public-subscription .tariff-status[data-state="current"] {
  background: rgba(183, 255, 42, 0.7);
  color: var(--text);
}

.public-subscription .tariff-card .checkout-button {
  box-shadow: 0 16px 38px rgba(91, 65, 150, 0.18), 0 0 0 1px rgba(183, 255, 42, 0.18) inset;
}

.public-subscription .tariff-card.is-featured .checkout-button:disabled {
  opacity: 1;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.88), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 92% 0%, rgba(255, 184, 220, 0.34), transparent 48%);
  color: var(--text);
  box-shadow: 0 18px 44px rgba(143, 210, 24, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.public-subscription .public-section-head > p:not(.chapter-label),
.public-subscription .current-plan-card > p,
.public-subscription .tariff-card > p,
.public-subscription .promo-panel p,
.public-subscription-actions small {
  font-weight: 400;
  line-height: 1.42;
}

.public-subscription .tariff-card > p {
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.public-subscription .tariff-card:hover,
.public-subscription .tariff-card.is-featured:hover {
  background:
    radial-gradient(circle at 82% 6%, rgba(255, 255, 255, 0.78), transparent 28%),
    radial-gradient(circle at 16% 100%, rgba(183, 255, 42, 0.28), transparent 32%),
    linear-gradient(180deg, #f153d7 0%, #cb7eff 54%, #f6e8ff 100%);
  color: #fff;
  border-color: rgba(255, 184, 220, 0.96);
  box-shadow:
    0 34px 88px rgba(255, 79, 216, 0.3),
    0 0 44px rgba(255, 184, 220, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.public-subscription .tariff-card:hover h3,
.public-subscription .tariff-card:hover p,
.public-subscription .tariff-card:hover .tariff-price,
.public-subscription .tariff-card:hover .tariff-price span,
.public-subscription .tariff-card:hover .annual-price,
.public-subscription .tariff-card:hover .annual-price strong,
.public-subscription .tariff-card:hover .platform-includes li,
.public-subscription .tariff-card:hover .tariff-status,
.public-subscription .tariff-card:hover .tariff-final,
.public-subscription .tariff-card.is-featured:hover h3,
.public-subscription .tariff-card.is-featured:hover p,
.public-subscription .tariff-card.is-featured:hover .tariff-price,
.public-subscription .tariff-card.is-featured:hover .annual-price strong,
.public-subscription .tariff-card.is-featured:hover .platform-includes li {
  color: rgba(255, 255, 255, 0.9);
}

.public-subscription .tariff-card:hover h3,
.public-subscription .tariff-card:hover .tariff-price,
.public-subscription .tariff-card:hover .tariff-price span,
.public-subscription .tariff-card:hover .annual-price strong,
.public-subscription .tariff-card.is-featured:hover h3,
.public-subscription .tariff-card.is-featured:hover .tariff-price,
.public-subscription .tariff-card.is-featured:hover .annual-price strong {
  color: #fff;
}

.public-subscription .tariff-card:hover .plan-badge,
.public-subscription .tariff-card:hover .annual-price span,
.public-subscription .tariff-card:hover .platform-includes li,
.public-subscription .tariff-card:hover .tariff-status {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.public-subscription .tariff-card:hover .checkout-button,
.public-subscription .tariff-card:hover .checkout-button:disabled,
.public-subscription .tariff-card.is-featured:hover .checkout-button:disabled {
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.96), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 90% 0%, rgba(255, 184, 220, 0.34), transparent 48%);
  color: #050505;
  box-shadow: 0 18px 46px rgba(183, 255, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.public-subscription-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.public-subscription-actions small {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 500;
  line-height: 1.32;
}

.public-subscription-actions .secondary-button {
  min-height: 54px;
  padding: 0 22px;
  border-color: rgba(183, 255, 42, 0.52);
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.9), rgba(255, 210, 166, 0.78)),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.58), transparent 44%);
  color: var(--text);
  box-shadow: 0 18px 46px rgba(143, 210, 24, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.public-subscription-actions .secondary-button:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(183, 255, 42, 0.64)),
    radial-gradient(circle at 92% 0%, rgba(255, 184, 220, 0.34), transparent 44%);
  box-shadow: 0 24px 58px rgba(143, 210, 24, 0.22), 0 0 28px rgba(183, 255, 42, 0.22);
}

.tariff-grid-three {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.public-subscription #public-reviews-slot {
  margin-top: clamp(20px, 3vw, 34px);
}

.public-subscription #public-reviews-slot .review-zone {
  margin-top: 0;
}

.public-subscription .tariff-card {
  min-height: 560px;
  cursor: pointer;
}

.tariff-card-top {
  min-height: 42px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tariff-time,
.recommend-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 950;
}

.tariff-time {
  color: var(--lime-hot);
}

.recommend-pill {
  background: #050505;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 184, 220, 0.18);
}

.tariff-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  line-height: 1.25;
}

.tariff-list li,
.platform-includes li {
  position: relative;
}

.tariff-list li {
  padding-left: 22px;
}

.tariff-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lime-hot);
  font-weight: 950;
}

.public-subscription .tariff-card-monthly {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 184, 220, 0.22), transparent 40%),
    radial-gradient(circle at 100% 84%, rgba(183, 255, 42, 0.1), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(33, 16, 63, 0.42));
}

.public-subscription .tariff-card-quarterly {
  background:
    radial-gradient(circle at 12% 0%, rgba(183, 255, 42, 0.16), transparent 38%),
    radial-gradient(circle at 100% 78%, rgba(205, 184, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(24, 18, 48, 0.48));
}

.public-subscription .tariff-card-lifetime {
  border-color: rgba(255, 115, 183, 0.72);
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 86, 172, 0.38), transparent 42%),
    radial-gradient(circle at 100% 86%, rgba(183, 255, 42, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(57, 18, 63, 0.94), rgba(20, 13, 39, 0.98));
  box-shadow: 0 30px 84px rgba(105, 33, 116, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.public-subscription .tariff-card-lifetime .plan-badge {
  background: #ff69b4;
  border-color: rgba(255, 255, 255, 0.52);
  color: #1b1023;
}

.public-subscription .tariff-card-lifetime .recommend-pill {
  background: var(--lime-hot);
  color: #160d20;
}

.public-subscription .tariff-card-lifetime .tariff-lifetime-gift span {
  background: linear-gradient(90deg, #ff8bc5, #b7ff2a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.public-subscription .tariff-card.is-selected {
  border-color: rgba(183, 255, 42, 0.9);
  box-shadow: 0 30px 82px rgba(16, 8, 38, 0.3), 0 0 30px rgba(183, 255, 42, 0.24);
}

.public-subscription .tariff-card.is-burst::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background:
    linear-gradient(115deg, transparent 20%, rgba(183, 255, 42, 0.62) 46%, rgba(255, 184, 220, 0.52) 58%, transparent 76%);
  opacity: 0;
  pointer-events: none;
  animation: plan-burst 720ms ease both;
}

@keyframes plan-burst {
  0% {
    opacity: 0;
    transform: translateX(-42%) skewX(-14deg);
  }

  34% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: translateX(42%) skewX(-14deg);
  }
}

.public-subscription .tariff-final {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  background: rgba(183, 255, 42, 0.78);
  color: var(--text);
}

.public-subscription .tariff-final[hidden] {
  display: none;
}

.public-subscription .tariff-card.is-featured .tariff-final {
  background: rgba(183, 255, 42, 0.86);
}

.promo-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.58fr);
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 18%, rgba(183, 255, 42, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 184, 220, 0.08));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.promo-panel.is-applied {
  animation: promo-pop 780ms ease both;
}

@keyframes promo-pop {
  0%,
  100% {
    transform: scale(1);
  }

  38% {
    transform: scale(1.012);
    box-shadow: 0 0 46px rgba(183, 255, 42, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }
}

.promo-panel h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.35rem, 1.8vw, 1.9rem);
}

.promo-panel p,
.promo-form small {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
  line-height: 1.32;
}

.promo-form {
  display: grid;
  gap: 10px;
}

.promo-form label {
  color: rgba(255, 255, 255, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.promo-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.promo-field input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-weight: 950;
  text-transform: uppercase;
  outline: 0;
}

.promo-field input:focus {
  box-shadow: 0 0 0 3px rgba(183, 255, 42, 0.36);
}

.promo-field button {
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: var(--lime);
  color: var(--text);
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.promo-field button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(183, 255, 42, 0.22);
}

.promo-form small[data-tone="success"] {
  color: var(--lime);
}

.promo-form small[data-tone="error"] {
  color: #ffb8dc;
}

.promo-form small[data-tone="loading"] {
  color: #ffd2a6;
}

.upsell-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(20, 8, 44, 0.58);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.upsell-modal[hidden] {
  display: none;
}

.upsell-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(183, 255, 42, 0.32), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(255, 184, 220, 0.42), transparent 36%),
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(247, 235, 255, 0.96));
  color: var(--text);
  box-shadow: 0 34px 96px rgba(16, 8, 38, 0.34);
  animation: subscription-piece-in 300ms ease both;
}

.upsell-dialog h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.95;
}

.upsell-dialog p {
  margin: 0;
  color: var(--text-soft);
  font-weight: 850;
  line-height: 1.35;
}

.upsell-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(33, 26, 47, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
}

.upsell-close svg {
  width: 20px;
  height: 20px;
}

.upsell-compare {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--text-soft);
  font-weight: 900;
}

.upsell-compare strong {
  color: var(--text);
  font-size: 1.1rem;
}

.upsell-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.upsell-actions .checkout-button,
.upsell-actions .secondary-button {
  width: 100%;
}

.has-upsell-modal {
  overflow: hidden;
}

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

@media (max-width: 760px) {
  .tariff-grid-three,
  .work-announcement,
  .promo-panel,
  .promo-field,
  .upsell-actions {
    grid-template-columns: 1fr;
  }

  .work-announcement {
    align-items: flex-start;
    min-height: 0;
    gap: 10px;
    padding: 16px;
    border-radius: 20px;
  }

  .work-announcement-badge,
  .work-announcement-cta {
    min-height: 32px;
    white-space: normal;
  }

  .work-announcement-copy p {
    font-size: 0.86rem;
  }

  .public-subscription .tariff-card {
    min-height: 0;
  }

  .tariff-card-annual {
    grid-column: auto;
  }

  .tariff-card-top {
    min-height: 34px;
  }

  .promo-field button {
    width: 100%;
  }

  .upsell-dialog {
    border-radius: 24px;
  }
}

.public-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.public-download-grid .download-card {
  min-height: 168px;
  grid-template-columns: 76px minmax(0, 1fr);
  padding: 22px;
  border-radius: 22px;
}

.public-download-grid .download-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
}

.public-download-grid .download-copy strong {
  font-size: 1.55rem;
  line-height: 1.05;
}

.public-download-grid .download-action {
  width: max-content;
  margin-top: 14px;
}

.free-case-section {
  background:
    linear-gradient(135deg, rgba(22, 18, 42, 0.94), rgba(34, 29, 66, 0.9) 54%, rgba(13, 43, 62, 0.9)),
    repeating-linear-gradient(90deg, rgba(183, 255, 42, 0.12) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(191, 244, 255, 0.1) 0 1px, transparent 1px 54px);
  color: #fff;
}

.free-case-section .public-section-head > p {
  color: rgba(255, 255, 255, 0.7);
}

.free-case-card {
  min-height: 148px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 22px 52px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.free-case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 255, 42, 0.76);
  background:
    radial-gradient(circle at 92% 18%, rgba(183, 255, 42, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 26px 62px rgba(0, 0, 0, 0.24),
    0 0 38px rgba(183, 255, 42, 0.12);
}

.free-case-card .download-icon {
  width: 72px;
  height: 72px;
  background: rgba(183, 255, 42, 0.16);
  color: var(--lime);
}

.free-case-card .download-copy small,
.free-case-card .download-copy strong {
  color: #fff;
}

.free-case-card .download-action {
  width: max-content;
  margin-top: 14px;
  border-color: rgba(183, 255, 42, 0.78);
  background: #b7ff2a;
  color: #050505;
  box-shadow:
    0 18px 42px rgba(183, 255, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.free-case-card:hover .download-action,
.free-case-card:focus-visible .download-action {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.94);
  background: #ffffff;
  color: #050505;
  box-shadow:
    0 20px 48px rgba(255, 255, 255, 0.18),
    0 0 34px rgba(183, 255, 42, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.free-materials-page .public-shell {
  padding-bottom: 84px;
}

.free-hook-marquee {
  min-height: 44px;
  margin-top: 14px;
  border-color: rgba(5, 5, 5, 0.16);
  background: var(--lime);
  box-shadow: 0 0 30px rgba(183, 255, 42, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.free-hook-marquee::before {
  background: linear-gradient(90deg, var(--lime), transparent);
}

.free-hook-marquee::after {
  background: linear-gradient(270deg, var(--lime), transparent);
}

.free-hook-marquee .hero-marquee-track {
  animation-duration: 28s;
}

.free-hook-marquee:hover .hero-marquee-track,
.free-hook-marquee:focus-within .hero-marquee-track {
  animation-play-state: paused;
}

.free-hook-marquee .hero-marquee-track span {
  color: #050505;
  font-size: 0.76rem;
}

.free-hook-marquee .hero-marquee-track span::before {
  width: 7px;
  height: 7px;
  background: #050505;
  box-shadow: none;
}

.free-library-marquee {
  min-height: 52px;
  margin-top: clamp(30px, 4vw, 54px);
  margin-bottom: clamp(30px, 4vw, 54px);
}

.free-library-marquee:hover .hero-marquee-track,
.free-library-marquee:focus-within .hero-marquee-track {
  animation-play-state: paused;
}

.free-landing-hero {
  display: grid;
  grid-template:
    "heading vault" auto
    "offer vault" 1fr /
    minmax(0, 0.76fr) minmax(520px, 1.24fr);
  gap: 18px clamp(26px, 3.6vw, 52px);
  align-items: start;
  min-height: 680px;
  padding: clamp(30px, 3.6vw, 54px);
  overflow: hidden;
}

.free-hero-heading {
  grid-area: heading;
  align-self: end;
  animation: free-hero-in 560ms 80ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.free-hero-heading .chapter-label {
  color: rgba(255, 255, 255, 0.74);
  opacity: 1;
  text-shadow: 0 0 18px rgba(141, 107, 255, 0.32);
}

.free-hero-heading h1 {
  max-width: 730px;
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(2.65rem, 4vw, 4.45rem);
  line-height: 0.94;
}

.free-hero-offer {
  grid-area: offer;
  align-self: start;
  animation: free-hero-in 560ms 170ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.free-hero-offer > p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.98rem, 1.18vw, 1.13rem);
  font-weight: 700;
  line-height: 1.36;
}

.free-hero-benefits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.free-hero-benefits span {
  display: inline-flex;
  align-items: center;
}

.free-hero-benefits i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px rgba(255, 184, 220, 0.72);
}

.free-hero-actions {
  margin-top: 15px;
}

.free-hero-subscribe {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.free-hero-subscribe:hover,
.free-hero-subscribe:focus-visible {
  color: #fff;
}

.free-hero-vault {
  grid-area: vault;
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 10px;
  animation: free-vault-in 680ms 240ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.free-hook-video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 26px;
  background: #050505;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34), 0 0 34px rgba(183, 255, 42, 0.1);
}

.free-hook-video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #050505;
}

.free-video-proof {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  max-width: min(72%, 380px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 8px 9px;
  border: 1px solid rgba(183, 255, 42, 0.58);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.78);
  color: #fff;
  box-shadow: 0 0 26px rgba(183, 255, 42, 0.18);
  backdrop-filter: blur(14px);
}

.free-video-proof strong {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--lime);
  color: #050505;
  font-family: "Unbounded", sans-serif;
  font-size: 0.78rem;
  line-height: 1;
}

.free-video-proof span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.free-video-toolbar {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 34px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.82));
}

.free-video-controls {
  display: flex;
  gap: 7px;
}

.free-video-controls button,
.free-prompt-open,
.free-prompt-close {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.68);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.free-video-controls button:hover,
.free-video-controls button:focus-visible,
.free-prompt-open:hover,
.free-prompt-open:focus-visible,
.free-prompt-close:hover,
.free-prompt-close:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 42, 0.7);
  background: rgba(183, 255, 42, 0.92);
  color: #050505;
  box-shadow: 0 0 24px rgba(183, 255, 42, 0.22);
}

.free-video-controls svg,
.free-prompt-open svg,
.free-prompt-close svg {
  width: 18px;
  height: 18px;
}

.free-prompt-open {
  gap: 8px;
  padding: 0 14px;
  border-color: rgba(183, 255, 42, 0.5);
  font-weight: 900;
}

.free-vault-strip {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  perspective: 900px;
}

.free-vault-tile {
  --vault-x: 0px;
  --vault-y: 0px;
  position: relative;
  min-width: 0;
  height: 132px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 17px;
  background: #0b0b0e;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  transform: translate3d(var(--vault-x), var(--vault-y), 0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.free-vault-tile:nth-child(2n) {
  margin-top: 10px;
}

.free-vault-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

.free-vault-tile figcaption {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 4px 7px;
  border: 1px solid rgba(183, 255, 42, 0.34);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.76);
  color: rgba(255, 255, 255, 0.86);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.free-vault-tile:hover {
  z-index: 2;
  border-color: rgba(255, 184, 220, 0.82);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), 0 0 28px rgba(255, 119, 197, 0.24);
  transform: translate3d(var(--vault-x), calc(var(--vault-y) - 6px), 18px) rotateX(1deg);
}

.free-vault-tile:hover img {
  transform: scale(1.055);
}

@keyframes free-hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes free-vault-in {
  from {
    opacity: 0;
    transform: translate3d(24px, 18px, 0) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0);
  }
}

.free-library-section,
.free-subscription-bridge,
#free-lessons,
#realism-prompts,
#ai-smm-table {
  scroll-margin-top: 112px;
}

.free-task-groups {
  display: grid;
  gap: clamp(24px, 3.4vw, 42px);
}

.free-task-group {
  display: grid;
  gap: 13px;
}

.free-task-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.free-task-head h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.7rem, 2.7vw, 2.65rem);
  line-height: 0.98;
}

.free-material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.free-material-card.download-card {
  min-height: 250px;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  padding: 17px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 12%, rgba(183, 255, 42, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(241, 235, 255, 0.58));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.free-material-card.download-card:hover,
.free-material-card.download-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(183, 255, 42, 0.64);
  background:
    radial-gradient(circle at 92% 12%, rgba(183, 255, 42, 0.26), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(239, 255, 208, 0.6));
  box-shadow: 0 22px 48px rgba(91, 65, 150, 0.16), 0 0 24px rgba(183, 255, 42, 0.12);
}

.free-material-card .download-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.free-material-copy {
  min-width: 0;
  min-height: 214px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.free-material-copy small {
  color: rgba(31, 24, 48, 0.54);
}

.free-material-copy strong {
  color: var(--text);
  margin-top: 5px;
  font-size: clamp(1.04rem, 1.45vw, 1.28rem);
  line-height: 1.08;
}

.free-material-copy em,
.free-material-copy b {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.3;
}

.free-material-copy em {
  color: rgba(31, 24, 48, 0.68);
  font-weight: 650;
}

.free-material-copy b {
  color: rgba(31, 24, 48, 0.82);
  font-weight: 900;
}

.free-material-copy .download-action {
  min-height: 36px;
  margin-top: auto;
  padding-inline: 15px;
  font-size: 0.84rem;
}

.free-file-warning {
  width: auto;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 8px;
  padding: 6px 9px;
  border-radius: var(--radius-pill);
  background: #050505;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 950;
  line-height: 1.18;
  white-space: normal;
}

.free-lesson-card .download-icon {
  background: rgba(183, 255, 42, 0.2);
  color: var(--lime-hot);
}

.free-subscription-bridge {
  display: grid;
  gap: clamp(18px, 3vw, 26px);
  margin-top: clamp(34px, 5vw, 68px);
}

.free-subscription-benefits {
  --metric-pointer-x: 50%;
  --metric-pointer-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(118deg, rgba(115, 67, 99, 0.82), rgba(44, 27, 85, 0.96)),
    #211633;
  box-shadow: 0 24px 70px rgba(49, 26, 85, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  scroll-margin-top: 112px;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.free-subscription-benefits::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(
    circle 340px at var(--metric-pointer-x) var(--metric-pointer-y),
    rgba(183, 255, 42, 0.2),
    rgba(255, 184, 220, 0.1) 34%,
    transparent 70%
  );
  opacity: 0.58;
  transition: opacity 220ms ease;
}

.free-subscription-benefits.is-pointer-active {
  border-color: rgba(183, 255, 42, 0.42);
  box-shadow:
    0 28px 82px rgba(49, 26, 85, 0.26),
    0 0 34px rgba(183, 255, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.free-subscription-benefits.is-pointer-active::before {
  opacity: 1;
}

.free-subscription-benefits > h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.free-subscription-benefits-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 32px);
  align-items: stretch;
}

.free-subscription-metric {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, auto) minmax(2.4em, auto);
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 8px 4px 4px;
  text-align: center;
  transition: transform 220ms ease, filter 220ms ease;
}

.free-subscription-metric:hover {
  transform: translateY(-6px);
  filter: saturate(1.08);
}

.free-subscription-metric strong {
  color: var(--lime);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(3.8rem, 7vw, 7.2rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 0.86;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow:
    0 0 16px rgba(183, 255, 42, 0.48),
    0 0 38px rgba(183, 255, 42, 0.24);
  transition: text-shadow 220ms ease, transform 220ms ease;
}

.free-subscription-metric:hover strong {
  transform: scale(1.025);
  text-shadow:
    0 0 18px rgba(183, 255, 42, 0.78),
    0 0 48px rgba(183, 255, 42, 0.42);
}

.free-subscription-metric span {
  max-width: 22ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.9rem, 1.2vw, 1.08rem);
  font-weight: 850;
  line-height: 1.2;
  text-wrap: balance;
}

.free-subscription-gallery {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin: clamp(28px, 4vw, 52px) calc(50% - 50vw) 0;
  padding-block: 10px;
}

.free-library-preview-gallery {
  margin-bottom: clamp(28px, 4vw, 52px);
}

.free-subscription-gallery::before,
.free-subscription-gallery::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(10vw, 150px);
  pointer-events: none;
}

.free-subscription-gallery::before {
  left: 0;
  background: linear-gradient(90deg, #cbbaff, transparent);
}

.free-subscription-gallery::after {
  right: 0;
  background: linear-gradient(270deg, #cbbaff, transparent);
}

.free-subscription-gallery-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: free-subscription-gallery-loop 38s linear infinite;
}

.free-subscription-gallery:hover .free-subscription-gallery-track {
  animation-play-state: paused;
}

.free-subscription-gallery-set {
  flex: none;
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.free-subscription-gallery-card {
  position: relative;
  overflow: hidden;
  width: clamp(156px, 15vw, 230px);
  aspect-ratio: 4 / 5;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  background: #17141f;
  box-shadow: 0 18px 40px rgba(48, 28, 84, 0.2);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.free-subscription-gallery-card:hover {
  z-index: 1;
  transform: translateY(-5px) scale(1.018);
  border-color: rgba(183, 255, 42, 0.82);
  box-shadow: 0 22px 48px rgba(48, 28, 84, 0.28), 0 0 26px rgba(183, 255, 42, 0.2);
}

.free-subscription-gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.free-subscription-gallery-card figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border: 1px solid rgba(183, 255, 42, 0.38);
  border-radius: 999px;
  background: rgba(7, 7, 10, 0.76);
  color: rgba(255, 255, 255, 0.9);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

@keyframes free-subscription-gallery-loop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.free-subscription-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.free-price-card {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 12%, rgba(183, 255, 42, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.07);
  overflow: hidden;
  outline: none;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.free-price-card > * {
  position: relative;
  z-index: 1;
}

.free-price-card::before {
  content: "";
  position: absolute;
  inset: -50% auto -50% -35%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  opacity: 0;
  transform: skewX(-16deg);
  transition: transform 520ms ease, opacity 200ms ease;
  pointer-events: none;
}

.free-price-card small,
.free-price-card span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 850;
}

.free-price-card small {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.free-price-card strong {
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.9;
}

.free-plan-toggle {
  width: 100%;
  min-height: 176px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: clamp(18px, 2.4vw, 26px);
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.free-plan-summary {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.free-plan-price {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: flex-end;
}

.free-plan-price > span {
  max-width: 210px;
  padding-bottom: 3px;
  line-height: 1.18;
}

.free-plan-toggle-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: transform 240ms ease, background 200ms ease, border-color 200ms ease;
}

.free-plan-toggle-icon svg {
  width: 22px;
  height: 22px;
}

.free-plan-details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 320ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 220ms ease;
}

.free-plan-details-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 clamp(18px, 2.4vw, 26px);
}

.free-plan-details-inner > p {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  line-height: 1.38;
}

.free-plan-details ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0 0 clamp(20px, 2.4vw, 26px);
  list-style: none;
}

.free-plan-details li {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.15;
}

.free-price-card.is-open .free-plan-details {
  grid-template-rows: 1fr;
  opacity: 1;
}

.free-price-card.is-open .free-plan-toggle-icon {
  transform: rotate(180deg);
  border-color: rgba(183, 255, 42, 0.58);
  background: rgba(183, 255, 42, 0.16);
}

.free-price-card.is-open {
  border-color: rgba(255, 184, 220, 0.78);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22), 0 0 28px rgba(255, 119, 197, 0.28);
}

.free-price-card.is-highlighted {
  border-color: rgba(183, 255, 42, 0.52);
  background:
    radial-gradient(circle at 88% 10%, rgba(183, 255, 42, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(183, 255, 42, 0.14), rgba(255, 255, 255, 0.07));
}

.free-price-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 184, 220, 0.94);
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 119, 197, 0.24), transparent 36%),
    linear-gradient(145deg, rgba(255, 184, 220, 0.13), rgba(255, 255, 255, 0.08));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.25), 0 0 18px rgba(255, 119, 197, 0.52), 0 0 42px rgba(255, 184, 220, 0.28);
}

.free-price-card:focus-within::before {
  opacity: 1;
  transform: translateX(430%) skewX(-16deg);
}

@media (hover: hover) {
  .free-price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 184, 220, 0.94);
    background:
      radial-gradient(circle at 88% 10%, rgba(255, 119, 197, 0.24), transparent 36%),
      linear-gradient(145deg, rgba(255, 184, 220, 0.13), rgba(255, 255, 255, 0.08));
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.25), 0 0 18px rgba(255, 119, 197, 0.52), 0 0 42px rgba(255, 184, 220, 0.28);
  }

  .free-price-card:hover::before {
    opacity: 1;
    transform: translateX(430%) skewX(-16deg);
  }
}

.free-existing-reviews {
  display: grid;
  gap: 12px;
}

.free-existing-reviews[hidden] {
  display: none;
}

.free-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.free-review-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.free-review-card strong {
  color: #fff;
}

.free-review-card span {
  color: var(--lime-hot);
  letter-spacing: 1px;
}

.free-review-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
  line-height: 1.34;
}

.free-download-toast {
  position: fixed;
  z-index: 40;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  width: min(460px, calc(100vw - 32px));
  display: grid;
  gap: 12px;
  padding: 18px 52px 18px 18px;
  border: 1px solid rgba(183, 255, 42, 0.42);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 8%, rgba(183, 255, 42, 0.2), transparent 36%),
    linear-gradient(145deg, rgba(22, 18, 42, 0.96), rgba(10, 10, 13, 0.94));
  color: #fff;
  box-shadow: 0 26px 72px rgba(10, 8, 20, 0.36), 0 0 34px rgba(183, 255, 42, 0.14);
}

.free-download-toast[hidden] {
  display: none;
}

.free-download-toast p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 760;
  line-height: 1.34;
}

.free-download-toast div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.free-download-toast a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.86);
  color: #050505;
  font-size: 0.82rem;
  font-weight: 950;
}

.free-toast-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.free-prompt-dialog {
  width: min(920px, calc(100vw - 32px));
  max-height: min(82vh, 760px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(183, 255, 42, 0.38);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 8%, rgba(183, 255, 42, 0.12), transparent 28%),
    linear-gradient(145deg, #17131f, #09090d);
  color: #fff;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.62), 0 0 46px rgba(183, 255, 42, 0.14);
}

.free-prompt-dialog::backdrop {
  background: rgba(4, 4, 8, 0.78);
  backdrop-filter: blur(12px);
}

.free-prompt-dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.free-prompt-dialog-head h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.free-prompt-dialog pre {
  max-height: min(56vh, 520px);
  margin: 0;
  padding: 20px 22px;
  overflow: auto;
  white-space: pre-wrap;
  color: rgba(255, 255, 255, 0.8);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.55;
}

.free-prompt-dialog-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.free-prompt-dialog-actions .hero-button {
  min-height: 46px;
  gap: 8px;
  border: 0;
  cursor: pointer;
}

.free-prompt-dialog-actions [role="status"] {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
}

.free-copy-offer {
  position: fixed;
  z-index: 95;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 5, 14, 0.58);
  backdrop-filter: blur(9px);
  cursor: pointer;
}

.free-copy-offer[hidden] {
  display: none;
}

.free-copy-offer-card {
  width: min(520px, 100%);
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(183, 255, 42, 0.7);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 119, 197, 0.28), transparent 42%),
    linear-gradient(145deg, rgba(54, 30, 88, 0.98), rgba(19, 16, 31, 0.98));
  box-shadow: 0 32px 94px rgba(0, 0, 0, 0.52), 0 0 42px rgba(183, 255, 42, 0.2);
  color: #fff;
  text-align: center;
  cursor: default;
  animation: free-copy-offer-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.free-copy-offer-label {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.free-copy-offer-card h2 {
  max-width: 430px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 4.4vw, 3.25rem);
  line-height: 0.98;
  text-wrap: balance;
}

.free-copy-offer-card .hero-button {
  min-width: 180px;
  justify-content: center;
}

@keyframes free-copy-offer-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.free-reveal-target {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.free-reveal-target.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .free-landing-hero {
    grid-template:
      "heading"
      "video"
      "offer"
      "strip" /
      minmax(0, 1fr);
    min-height: 0;
  }

  .free-hero-vault {
    display: contents;
  }

  .free-hook-video-card {
    grid-area: video;
  }

  .free-vault-strip {
    grid-area: strip;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(118px, 22vw);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .free-vault-strip::-webkit-scrollbar {
    display: none;
  }

  .free-vault-tile {
    scroll-snap-align: start;
  }

  .free-subscription-grid,
  .free-reviews-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .free-hook-marquee {
    min-height: 38px;
    margin-top: 9px;
  }

  .free-hook-marquee .hero-marquee-track span {
    padding-inline: 16px;
    font-size: 0.66rem;
  }

  .free-landing-hero {
    gap: 14px;
    padding: 25px 18px 30px;
  }

  .free-hero-heading h1 {
    font-size: 2.2rem;
    line-height: 1;
  }

  .free-hero-offer {
    display: flex;
    flex-direction: column;
  }

  .free-hero-actions {
    order: -2;
    margin-top: 0;
  }

  .free-hero-offer > p {
    order: -1;
    margin-top: 14px;
    font-size: 0.94rem;
  }

  .free-hero-benefits {
    margin-top: 13px;
    font-size: 0.66rem;
  }

  .free-hero-actions,
  .free-hero-actions .hero-button,
  .free-hero-actions .secondary-button,
  .free-subscription-actions,
  .free-subscription-actions .hero-button,
  .free-subscription-actions .secondary-button {
    width: 100%;
  }

  .free-video-proof {
    top: 9px;
    left: 9px;
    max-width: calc(100% - 18px);
    gap: 6px;
    padding: 6px 9px 6px 6px;
  }

  .free-video-proof strong {
    font-size: 0.66rem;
  }

  .free-video-proof span {
    font-size: 0.55rem;
  }

  .free-video-toolbar {
    padding: 24px 9px 8px;
  }

  .free-video-controls button,
  .free-prompt-open {
    min-width: 34px;
    min-height: 34px;
  }

  .free-prompt-open {
    padding-inline: 11px;
    font-size: 0.78rem;
  }

  .free-vault-strip {
    grid-auto-columns: 116px;
  }

  .free-vault-tile {
    height: 124px;
  }

  .free-library-section,
  .free-subscription-bridge {
    padding: 20px;
  }

  .free-material-grid {
    grid-template-columns: 1fr;
  }

  .free-material-card.download-card {
    min-height: 0;
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 15px;
  }

  .free-material-card .download-icon {
    width: 42px;
    height: 42px;
  }

  .free-material-copy {
    min-height: 190px;
  }

  .free-material-copy strong {
    font-size: 1.05rem;
  }

  .free-material-copy em,
  .free-material-copy b {
    font-size: 0.86rem;
  }

  .free-task-head {
    display: grid;
    gap: 6px;
  }

  .free-task-head h3 {
    font-size: 1.75rem;
  }

  .free-price-card {
    min-height: 0;
  }

  .free-plan-toggle {
    min-height: 148px;
    gap: 12px;
    padding: 18px;
  }

  .free-plan-price {
    display: grid;
    gap: 8px;
  }

  .free-plan-toggle-icon {
    width: 38px;
    height: 38px;
  }

  .free-plan-details-inner {
    padding-inline: 18px;
  }

  .free-plan-details li {
    width: 100%;
    border-radius: 14px;
  }

  .free-copy-offer {
    place-items: end center;
    padding: 10px;
  }

  .free-copy-offer-card {
    gap: 16px;
    padding: 28px 20px 22px;
    border-radius: 24px;
  }

  .free-copy-offer-card .hero-button {
    width: 100%;
  }

  .free-subscription-benefits {
    gap: 20px;
    padding: 24px 18px;
    border-radius: 24px;
  }

  .free-subscription-benefits-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .free-subscription-metric {
    grid-template-rows: auto auto;
    gap: 8px;
    padding: 18px 4px;
  }

  .free-subscription-metric + .free-subscription-metric {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .free-subscription-metric strong {
    font-size: clamp(3.25rem, 18vw, 4.8rem);
  }

  .free-subscription-metric span {
    font-size: 0.84rem;
  }

  .free-subscription-gallery {
    margin-top: 22px;
  }

  .free-subscription-gallery-card {
    width: 142px;
    border-radius: 14px;
  }

  .free-library-marquee {
    min-height: 44px;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .free-price-card:active {
    border-color: rgba(255, 184, 220, 0.9);
    box-shadow: 0 0 18px rgba(255, 119, 197, 0.38), 0 0 34px rgba(255, 184, 220, 0.2);
  }

  .free-prompt-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 20px;
  }

  .free-prompt-dialog-head,
  .free-prompt-dialog pre,
  .free-prompt-dialog-actions {
    padding-inline: 16px;
  }

  .free-prompt-dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .free-hook-marquee .hero-marquee-track,
  .free-library-marquee .hero-marquee-track,
  .free-subscription-gallery-track,
  .free-hero-heading,
  .free-hero-offer,
  .free-hero-vault {
    animation: none;
  }

  .free-hook-marquee .hero-marquee-track,
  .free-library-marquee .hero-marquee-track,
  .free-subscription-gallery-track {
    transform: none;
  }

  .free-subscription-gallery-set[aria-hidden="true"] {
    display: none;
  }

  .free-reveal-target {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .free-vault-tile,
  .free-vault-tile img,
  .free-price-card,
  .free-price-card::before,
  .free-plan-details,
  .free-plan-toggle-icon,
  .free-subscription-metric,
  .free-subscription-metric strong,
  .free-subscription-gallery-card {
    transition: none;
  }

  .free-copy-offer-card {
    animation: none;
  }
}

.skin-case-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(183, 255, 42, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(8, 7, 17, 0.98), rgba(28, 23, 52, 0.96) 52%, rgba(7, 27, 38, 0.95)),
    repeating-linear-gradient(90deg, rgba(183, 255, 42, 0.1) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(0deg, rgba(191, 244, 255, 0.08) 0 1px, transparent 1px 58px);
  color: #fff;
}

.skin-case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.skin-case-copy {
  min-width: 0;
}

.skin-case-copy h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.85rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.skin-case-copy > p {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 700;
  line-height: 1.45;
}

.skin-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 26px;
}

.skin-badge-row span,
.skin-model-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(183, 255, 42, 0.3);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.1);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.skin-case-visual {
  min-height: 520px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 34px 80px rgba(0, 0, 0, 0.28);
}

.skin-case-visual img {
  width: 100%;
  height: 100%;
  min-height: 492px;
  display: block;
  border-radius: 24px;
  object-fit: cover;
}

.skin-material-body {
  display: grid;
  gap: clamp(26px, 4vw, 46px);
  margin-top: clamp(34px, 6vw, 76px);
}

.skin-section-intro {
  max-width: 940px;
}

.skin-section-intro h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.skin-section-intro > p:not(.chapter-label) {
  max-width: 820px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.98rem, 1.12vw, 1.1rem);
  font-weight: 700;
  line-height: 1.5;
}

.skin-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.skin-portal-button {
  width: max-content;
  max-width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(42, 171, 238, 0.5);
  border-radius: var(--radius-pill);
  background: #2aabee;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow:
    0 16px 36px rgba(42, 171, 238, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.skin-portal-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 18px 42px rgba(42, 171, 238, 0.26),
    0 0 28px rgba(42, 171, 238, 0.18);
}

.skin-portal-button svg {
  width: 18px;
  height: 18px;
}

.skin-expert-note {
  max-width: 860px;
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(183, 255, 42, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.12), rgba(255, 255, 255, 0.07)),
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.skin-expert-note span {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.skin-expert-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 720;
  line-height: 1.48;
}

.skin-image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.skin-image-strip figure,
.skin-result-slot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
}

.skin-image-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
}

.skin-image-strip figcaption {
  padding: 10px 14px 12px;
  color: rgba(255, 255, 255, 0.74);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.skin-krea-strip {
  margin-bottom: clamp(24px, 4vw, 54px);
}

.skin-midj-v8-section {
  display: grid;
  gap: 18px;
}

.skin-midj-setting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(183, 255, 42, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.12), rgba(255, 255, 255, 0.07)),
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.skin-midj-setting span {
  color: rgba(255, 255, 255, 0.62);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.skin-midj-setting code {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.78rem, 1vw, 0.94rem);
  font-weight: 800;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.skin-midj-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.skin-midj-card {
  display: flex;
  flex-direction: column;
}

.skin-midj-media-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.skin-midj-media-grid.is-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skin-midj-card figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.24);
}

.skin-midj-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  display: block;
  object-fit: cover;
}

.skin-midj-card figcaption {
  padding: 8px 10px 10px;
  color: rgba(255, 255, 255, 0.68);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.skin-midj-card .skin-prompt-details {
  margin-top: auto;
}

.skin-compare-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.skin-compare-prompt {
  display: flex;
  flex-direction: column;
}

.skin-compare-prompt .skin-prompt-details {
  margin-top: auto;
}

.skin-prompt-image {
  margin: 16px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.24);
}

.skin-prompt-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
}

.skin-prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.skin-prompt-card,
.skin-result-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 44px rgba(0, 0, 0, 0.18);
}

.skin-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.skin-copy-button.copy-prompt {
  position: static;
  inset: auto;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.skin-prompt-card h4,
.skin-result-card h4 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.12rem, 1.4vw, 1.45rem);
  line-height: 1.08;
}

.skin-prompt-card > p,
.skin-result-card > p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.42;
}

.skin-result-card a {
  color: var(--lime);
  text-decoration: underline;
  text-decoration-color: rgba(183, 255, 42, 0.58);
  text-underline-offset: 3px;
}

.skin-prompt-details {
  margin: 16px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
}

.skin-prompt-details summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 16px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.skin-prompt-details summary::marker {
  content: "";
}

.skin-prompt-details summary::before {
  content: "\25B8";
  display: inline-block;
  margin-right: 5px;
  transition: transform 0.18s ease;
}

.skin-prompt-details[open] summary::before {
  transform: rotate(90deg);
}

.skin-prompt-text {
  width: 100%;
  margin: 0;
  padding: 16px;
  overflow: visible;
  white-space: pre-wrap;
  word-break: break-word;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.48;
}

.skin-results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.skin-result-card {
  display: grid;
  gap: 14px;
}

.skin-comparison-card {
  grid-column: span 2;
  align-content: start;
}

.skin-comparison-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 24%, rgba(183, 255, 42, 0.12), transparent 30%),
    rgba(0, 0, 0, 0.26);
  cursor: ew-resize;
  touch-action: none;
}

.skin-comparison-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.skin-comparison-base,
.skin-comparison-overlay {
  position: absolute;
  inset: 0;
}

.skin-comparison-base {
  position: relative;
}

.skin-comparison-overlay {
  width: var(--compare-position, 50%);
  overflow: hidden;
}

.skin-comparison-overlay img {
  width: calc(100% / (var(--compare-position-number, 0.5)));
  max-width: none;
}

.skin-comparison-labels {
  position: absolute;
  inset: 12px 12px auto;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.skin-comparison-labels span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 7, 17, 0.62);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.skin-comparison-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-position, 50%);
  z-index: 4;
  width: 2px;
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 22px rgba(183, 255, 42, 0.52);
}

.skin-comparison-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 13px, rgba(255, 255, 255, 0.95) 13px 15px, transparent 15px 27px, rgba(255, 255, 255, 0.95) 27px 29px, transparent 29px),
    rgba(8, 7, 17, 0.72);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.skin-comparison-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.skin-result-slot {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(183, 255, 42, 0.16), transparent 30%),
    rgba(0, 0, 0, 0.26);
}

.skin-result-slot img {
  width: 100%;
  height: 100%;
  display: block;
  grid-area: 1 / 1;
  object-fit: cover;
}

.skin-result-slot:not(.is-missing) span {
  display: none;
}

.skin-result-slot.is-missing img {
  display: none;
}

.skin-result-slot span {
  grid-area: 1 / 1;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
}

.skin-prompt-image img,
.skin-image-strip img,
.skin-result-slot img,
.skin-case-visual img {
  cursor: zoom-in;
}

.skin-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(3, 3, 8, 0.86);
  backdrop-filter: blur(18px);
  cursor: zoom-out;
}

.skin-lightbox[hidden] {
  display: none;
}

.skin-lightbox img {
  max-width: min(96vw, 1280px);
  max-height: 92vh;
  display: block;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.62);
}

body.is-skin-lightbox-open {
  overflow: hidden;
}

main img:not([data-no-lightbox]) {
  cursor: zoom-in;
}

main a[href] img,
main img[data-no-lightbox] {
  cursor: inherit;
}

.site-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(3, 3, 8, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  cursor: zoom-out;
}

.site-image-lightbox[hidden] {
  display: none;
}

.site-image-lightbox img {
  max-width: min(96vw, 1320px);
  max-height: 92vh;
  display: block;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.62);
}

.site-image-lightbox-close {
  position: fixed;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-image-lightbox-close svg {
  width: 20px;
  height: 20px;
}

body.is-site-lightbox-open {
  overflow: hidden;
}

.topic-detail[data-topic-slug="midjourney-guide"] {
  background: #050506;
}

.topic-detail[data-topic-slug="midjourney-guide"] .topic-backbar {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(28px, 4.6vw, 68px);
}

.midjourney-guide-hero {
  position: relative;
  min-height: auto;
  isolation: isolate;
  padding: clamp(24px, 3.6vw, 54px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 75% 18%, rgba(183, 255, 42, 0.2), transparent 28rem),
    radial-gradient(circle at 18% 78%, rgba(126, 68, 255, 0.26), transparent 34rem),
    linear-gradient(135deg, #060607 0%, #111019 48%, #061318 100%);
  background-size: 94px 94px, 94px 94px, auto, auto, auto;
}

.midjourney-guide-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 16%, rgba(183, 255, 42, 0.1) 16% 16.4%, transparent 16.4% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%, rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.midjourney-case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.midjourney-case-copy {
  min-width: 0;
  animation: midjourneyRise 0.7s ease both;
}

.midjourney-case-copy h2 {
  max-width: 840px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.65rem, 5.7vw, 6rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

.midjourney-case-copy > p:not(.chapter-label) {
  max-width: 740px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.18vw, 1.2rem);
  font-weight: 800;
  line-height: 1.46;
}

.midjourney-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}

.midjourney-badge-row span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(183, 255, 42, 0.34);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.11);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.midjourney-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.midjourney-hero-actions .topic-hero-download {
  margin-top: 0;
}

.midjourney-case-visual {
  position: relative;
  min-height: 520px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(183, 255, 42, 0.06)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 34px 86px rgba(0, 0, 0, 0.42);
  animation: midjourneyRise 0.76s 0.08s ease both;
}

.midjourney-case-visual img {
  width: 100%;
  height: 100%;
  min-height: 492px;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  object-position: 50% 38%;
  filter: saturate(1.04) contrast(1.03);
}

.midjourney-case-visual::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.62)),
    linear-gradient(120deg, rgba(183, 255, 42, 0.16), transparent 34%);
  pointer-events: none;
}

.midjourney-hero-stats {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.midjourney-hero-stats span {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(7, 7, 9, 0.64);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.midjourney-hero-stats small,
.midjourney-hero-stats strong {
  display: block;
  overflow-wrap: anywhere;
}

.midjourney-hero-stats small {
  color: rgba(255, 255, 255, 0.55);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.midjourney-hero-stats strong {
  margin-top: 4px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.14;
}

.midjourney-material-body {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  padding: clamp(34px, 5vw, 76px) clamp(18px, 4vw, 74px) 110px;
  background:
    radial-gradient(circle at 88% 8%, rgba(183, 255, 42, 0.12), transparent 28rem),
    linear-gradient(180deg, #050506 0%, #0a0811 46%, #050506 100%);
}

.midjourney-section-intro,
.midjourney-param-head {
  max-width: 960px;
}

.midjourney-section-intro h3,
.midjourney-param-head h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.midjourney-section-intro > p:not(.chapter-label),
.midjourney-param-head > p:not(.chapter-label) {
  max-width: 840px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.98rem, 1.12vw, 1.1rem);
  font-weight: 800;
  line-height: 1.5;
}

.midjourney-material-body > * {
  animation: midjourneyRise 0.62s ease both;
}

.midjourney-image-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.midjourney-image-strip figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.midjourney-image-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.midjourney-image-strip figure:hover img {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.06);
}

.midjourney-image-strip figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(6, 6, 8, 0.64);
  color: rgba(255, 255, 255, 0.86);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  backdrop-filter: blur(14px) saturate(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.18);
}

.midjourney-formula-card {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(183, 255, 42, 0.2);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 22px 64px rgba(0, 0, 0, 0.22);
}

.midjourney-formula-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.midjourney-formula-track span {
  min-width: 0;
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.32);
}

.midjourney-formula-track small {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
}

.midjourney-formula-track strong {
  color: #fff;
  font-size: clamp(0.92rem, 1.08vw, 1.05rem);
  line-height: 1.16;
}

.midjourney-param-groups {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.midjourney-param-group {
  display: grid;
  gap: 18px;
}

.midjourney-param-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.midjourney-param-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.midjourney-param-card:hover,
.midjourney-preset-card:hover,
.midjourney-prompt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 255, 42, 0.42);
  background: rgba(183, 255, 42, 0.1);
}

.midjourney-param-card span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.13);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
}

.midjourney-param-card h4 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.05rem, 1.2vw, 1.28rem);
  line-height: 1.08;
}

.midjourney-param-card small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.32;
}

.midjourney-param-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.42;
}

.midjourney-photo-break {
  display: grid;
  grid-template-columns: 1.08fr 1fr 0.92fr 1fr 1.08fr;
  gap: 10px;
  margin: 8px 0 4px;
}

.midjourney-photo-break figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(183, 255, 42, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.midjourney-photo-break img {
  width: 100%;
  height: clamp(130px, 13vw, 210px);
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.midjourney-photo-break figure:hover img {
  transform: scale(1.035);
  filter: saturate(1.12) contrast(1.06);
}

.midjourney-important-note,
.midjourney-telegram-note {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding: 16px 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 105, 151, 0.24), transparent 24%),
    linear-gradient(90deg, rgba(255, 105, 151, 0.18), rgba(183, 255, 42, 0.08)),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(183, 255, 42, 0.42);
  box-shadow:
    0 0 0 1px rgba(183, 255, 42, 0.08),
    0 18px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.midjourney-important-note span,
.midjourney-telegram-note span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ff6d97;
  color: #08070b;
  font-weight: 950;
}

.midjourney-important-note p,
.midjourney-telegram-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 780;
  line-height: 1.38;
}

.midjourney-telegram-note {
  justify-content: space-between;
  background:
    radial-gradient(circle at 10% 50%, rgba(183, 255, 42, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(217, 187, 255, 0.16), rgba(183, 255, 42, 0.08)),
    rgba(255, 255, 255, 0.055);
}

.midjourney-telegram-note span {
  min-height: 0;
  justify-content: flex-start;
  padding: 0;
  background: transparent;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.midjourney-telegram-note .hub-open {
  flex: 0 0 auto;
  min-height: 46px;
  border-color: rgba(42, 171, 238, 0.5);
  background: #2aabee;
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 16px 36px rgba(42, 171, 238, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.midjourney-telegram-note .hub-open:hover {
  background: #fff;
  color: #101018;
  box-shadow:
    0 18px 44px rgba(42, 171, 238, 0.24),
    0 0 28px rgba(42, 171, 238, 0.22);
}

.midjourney-presets,
.midjourney-prompt-section {
  display: grid;
  gap: 18px;
}

.midjourney-preset-grid,
.midjourney-prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.midjourney-preset-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04)),
    #111116;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 44px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.midjourney-preset-card span {
  display: block;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.28;
  text-transform: uppercase;
}

.midjourney-preset-card strong {
  display: block;
  margin-top: 18px;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.92rem, 1.08vw, 1.08rem);
  line-height: 1.34;
}

.midjourney-preset-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.42;
}

.midjourney-prompt-card {
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

@keyframes midjourneyRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .midjourney-case-copy,
  .midjourney-case-visual,
  .midjourney-material-body > *,
  .midjourney-image-strip img,
  .midjourney-photo-break img,
  .midjourney-param-card,
  .midjourney-preset-card,
  .midjourney-prompt-card {
    animation: none;
    transition: none;
  }
}

.prompt-case-page {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 7, 17, 0.98), rgba(18, 14, 37, 0.98) 48%, rgba(7, 26, 38, 0.98)),
    repeating-linear-gradient(90deg, rgba(183, 255, 42, 0.1) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(191, 244, 255, 0.08) 0 1px, transparent 1px 72px),
    #080711;
  background-attachment: fixed;
}

.prompt-case-shell {
  width: min(100%, 1500px);
}

.prompt-case-page .topbar {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(12, 10, 24, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
  color: #fff;
  backdrop-filter: blur(24px) saturate(1.24);
  -webkit-backdrop-filter: blur(24px) saturate(1.24);
}

.prompt-case-page .brand-mark,
.prompt-case-page .brand-lab,
.prompt-case-page .top-nav a,
.prompt-case-page .profile-pill {
  color: #fff;
}

.prompt-case-page .top-nav a.is-current,
.prompt-case-page .top-nav a:hover {
  background: rgba(183, 255, 42, 0.14);
  color: var(--lime);
}

.prompt-case-page .profile-pill {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.prompt-case-page .chapter-label {
  color: var(--lime);
  opacity: 0.86;
}

.prompt-case-main {
  display: grid;
  gap: 22px;
}

.prompt-case-hero,
.prompt-case-section,
.prompt-case-cta {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(1.16);
  -webkit-backdrop-filter: blur(20px) saturate(1.16);
}

.prompt-case-hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  overflow: hidden;
}

.prompt-case-hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 840px;
  padding: clamp(8px, 3vw, 26px);
}

.prompt-case-hero h1,
.prompt-case-section h2,
.prompt-case-cta h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  letter-spacing: 0;
}

.prompt-case-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
  font-size: 3.85rem;
  line-height: 1;
}

.prompt-case-hero p,
.prompt-case-section p,
.prompt-case-cta p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.prompt-case-hero .prompt-case-lead {
  max-width: 720px;
  color: #fff;
  font-size: 1.28rem;
}

.prompt-case-tags,
.prompt-case-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.prompt-case-tags span,
.prompt-case-flow span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(183, 255, 42, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.12);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 900;
}

.prompt-case-hero-visual,
.prompt-case-figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.prompt-case-hero-visual img,
.prompt-case-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.prompt-case-hero-visual {
  min-height: 560px;
}

.prompt-case-section,
.prompt-case-cta {
  padding: 28px;
}

.prompt-case-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(280px, 0.58fr);
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
}

.prompt-case-section-head h2,
.prompt-case-step h2,
.prompt-case-cta h2 {
  font-size: 2.65rem;
  line-height: 1;
}

.prompt-case-section-head .chapter-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.prompt-case-section-head p {
  margin: 0;
}

.prompt-case-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.prompt-case-prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.prompt-case-prompt-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

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

.prompt-case-prompt-head small {
  color: rgba(183, 255, 42, 0.82);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.prompt-case-prompt-head .copy-prompt {
  position: static;
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.36);
}

.prompt-case-prompt-card pre {
  max-height: 180px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.38;
}

.prompt-case-figure {
  aspect-ratio: 4 / 5;
}

.prompt-case-figure figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(8, 7, 17, 0.68);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.prompt-case-step {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
  gap: 20px;
  align-items: stretch;
}

.prompt-case-step.is-reversed {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
}

.prompt-case-step-copy,
.prompt-case-note-card,
.prompt-case-flow,
.prompt-case-video-placeholder {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.prompt-case-step-copy,
.prompt-case-note-card {
  min-width: 0;
  padding: 24px;
}

.prompt-case-step-copy {
  display: grid;
  align-content: center;
}

.prompt-case-step-copy p:last-child,
.prompt-case-note-card p:last-child,
.prompt-case-cta p:last-of-type {
  margin-bottom: 0;
}

.prompt-case-note-card {
  display: grid;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.1), rgba(191, 244, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
}

.prompt-case-note-card small {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 900;
}

.prompt-case-note-card strong {
  margin: 12px 0 6px;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.05;
}

.prompt-case-dialog p {
  margin: 0;
  color: #fff;
  font-size: 1.16rem;
}

.prompt-case-flow {
  align-content: center;
  justify-content: flex-start;
  padding: 24px;
}

.prompt-case-animation {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
  gap: 20px;
  align-items: center;
}

.prompt-case-video-placeholder {
  min-height: 190px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
  text-align: center;
}

.prompt-case-video-placeholder svg {
  width: 44px;
  height: 44px;
  color: var(--lime);
}

.prompt-case-animation.has-video {
  align-items: start;
}

.prompt-case-video-card {
  width: min(100%, 360px);
  justify-self: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.prompt-case-video-card video {
  width: 100%;
  max-height: 520px;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #050505;
}

.prompt-case-video-card figcaption {
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.prompt-case-animation-prompt {
  grid-column: 1 / -1;
}

.prompt-case-animation-prompt pre {
  max-height: 300px;
}

.prompt-case-cta {
  display: grid;
  gap: 14px;
  justify-items: start;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.16), rgba(141, 107, 255, 0.2) 52%, rgba(191, 244, 255, 0.12)),
    rgba(255, 255, 255, 0.08);
}

.prompt-case-cta p {
  max-width: 760px;
  margin: 0;
}

.prompt-case-cta .hero-button {
  margin-top: 6px;
}

body.football-case-page {
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 11% 7%, rgba(183, 255, 42, 0.16), transparent 24rem),
    radial-gradient(circle at 84% 16%, rgba(141, 107, 255, 0.22), transparent 34rem),
    linear-gradient(135deg, #050704 0%, #0b0715 47%, #071812 100%);
  background-size: 96px 96px, 96px 96px, auto, auto, auto;
  background-attachment: fixed;
}

.football-case-page::before,
.football-case-page::after {
  display: none;
}

.football-case-page .prompt-case-hero,
.football-case-page .prompt-case-section,
.football-case-page .prompt-case-cta {
  border-color: rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(5, 5, 6, 0.78);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.football-case-page .prompt-case-hero {
  background:
    radial-gradient(circle at 86% 12%, rgba(183, 255, 42, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(10, 13, 8, 0.96), rgba(15, 9, 31, 0.95) 58%, rgba(5, 16, 13, 0.94));
}

.football-case-page .prompt-case-hero h1,
.football-case-page .prompt-case-section h2,
.football-case-page .prompt-case-cta h2 {
  color: #fff;
}

.football-case-page .prompt-case-note-card,
.football-case-page .prompt-case-step-copy,
.football-case-page .prompt-case-flow,
.football-case-page .prompt-case-figure,
.football-case-page .prompt-case-hero-visual {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.football-case-page .prompt-case-note-card {
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.13), rgba(141, 107, 255, 0.1)),
    rgba(255, 255, 255, 0.055);
}

.football-case-page .prompt-case-cta {
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.13), rgba(141, 107, 255, 0.13) 58%, rgba(255, 255, 255, 0.045)),
    rgba(6, 7, 7, 0.82);
}

.interactive-scrub-section {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin: clamp(34px, 5vw, 76px) calc(50% - 50vw) clamp(40px, 6vw, 86px);
  padding: 0;
  overflow: hidden;
  border-inline: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(211, 188, 255, 0.32), transparent 42%),
    linear-gradient(90deg, rgba(95, 72, 150, 0.92), rgba(160, 132, 212, 0.88) 52%, rgba(115, 93, 171, 0.94));
  color: #fff;
  isolation: isolate;
}

.home-head-design-section {
  margin-top: 0;
}

.interactive-scrub-head {
  position: absolute;
  z-index: 2;
  top: clamp(18px, 3vw, 42px);
  left: clamp(18px, 6vw, 110px);
  width: min(560px, calc(100vw - 36px));
  margin: 0;
  pointer-events: none;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
}

.interactive-scrub-head h2 {
  max-width: 920px;
  color: rgba(255, 255, 255, 0.96);
}

.interactive-scrub-head p:not(.chapter-label) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.interactive-scrub-stage {
  --mascot-shift-x: 0px;
  --mascot-shift-y: 0px;
  --mascot-rotate: 0deg;
  --mascot-shadow-x: 0px;
  --mascot-light-x: 50%;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  aspect-ratio: 21 / 9;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at var(--mascot-light-x) 48%, rgba(146, 122, 199, 0.5), transparent 46%),
    linear-gradient(90deg, #3d2e5c, #49366d 50%, #3d2e5c);
  box-shadow: none;
  cursor: crosshair;
  touch-action: pan-y;
  user-select: none;
}

.mascot-about-copy {
  position: absolute;
  z-index: 4;
  inset: clamp(28px, 5vw, 64px) clamp(22px, 5.4vw, 96px) auto;
  display: grid;
  grid-template-columns: minmax(260px, 28vw) minmax(300px, 1fr) minmax(220px, 24vw);
  gap: clamp(18px, 2.5vw, 46px);
  align-items: start;
  pointer-events: none;
  text-shadow: 0 16px 36px rgba(18, 8, 42, 0.42);
}

.mascot-about-copy h2 {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(2.05rem, 3.35vw, 3.9rem);
  font-weight: 900;
  line-height: 0.92;
  text-align: right;
  text-wrap: balance;
}

.mascot-about-text {
  grid-column: 1;
  grid-row: 1;
  max-width: 100%;
  padding-top: clamp(42px, 7.2vw, 118px);
}

.mascot-about-text .chapter-label {
  margin-bottom: 16px;
  color: rgba(183, 255, 42, 0.86);
  font-weight: 800;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.mascot-about-text p:not(.chapter-label) {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.98rem, 1.18vw, 1.22rem);
  font-weight: 400;
  line-height: 1.5;
}

.mascot-about-text strong {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 850;
}

.interactive-scrub-stage::before,
.interactive-scrub-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.interactive-scrub-stage::before {
  z-index: 1;
  background:
    linear-gradient(
      112deg,
      rgba(183, 255, 42, 0.12),
      transparent 28%,
      rgba(141, 107, 255, 0.12) 72%,
      transparent
    );
  opacity: 0.72;
  mix-blend-mode: screen;
}

.interactive-scrub-stage::after {
  z-index: 3;
  background:
    linear-gradient(
      180deg,
      rgba(216, 198, 255, 0.38),
      transparent 7%,
      transparent 91%,
      rgba(216, 198, 255, 0.34)
    );
  box-shadow: none;
  mix-blend-mode: screen;
}

.interactive-scrub-video {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  filter: saturate(1.05);
  transform: translate3d(var(--mascot-shift-x), var(--mascot-shift-y), 0) rotate(var(--mascot-rotate)) scale(1.045);
  transform-origin: center;
  transition: filter 0.22s ease;
  box-shadow: var(--mascot-shadow-x) 22px 70px rgba(55, 30, 104, 0.12);
  -webkit-mask-image: radial-gradient(ellipse 42% 90% at 50% 54%, #000 34%, rgba(0, 0, 0, 0.55) 58%, transparent 96%);
  mask-image: radial-gradient(ellipse 42% 90% at 50% 54%, #000 34%, rgba(0, 0, 0, 0.55) 58%, transparent 96%);
  will-change: transform, filter;
}

.interactive-scrub-ui {
  position: absolute;
  z-index: 5;
  right: clamp(18px, 5vw, 92px);
  bottom: clamp(14px, 2vw, 30px);
  display: grid;
  grid-template-columns: auto minmax(100px, 220px);
  gap: 12px;
  align-items: center;
  justify-content: end;
  color: rgba(255, 255, 255, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  pointer-events: none;
}

.interactive-scrub-ui span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(5, 5, 6, 0.42);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.interactive-scrub-ui i {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.interactive-scrub-ui b {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime), rgba(255, 255, 255, 0.92));
  transform: scaleX(0.5);
  transform-origin: left center;
}

.mascot-lesson-hint {
  position: absolute;
  z-index: 6;
  right: clamp(54px, 11vw, 210px);
  bottom: clamp(92px, 8.4vw, 138px);
  width: min(350px, calc(100% - 44px));
  display: grid;
  gap: 7px;
  padding: 18px 20px 19px;
  border: 1px solid rgba(183, 255, 42, 0.48);
  border-radius: 26px 26px 26px 13px;
  background:
    radial-gradient(circle at 12% 2%, rgba(183, 255, 42, 0.28), transparent 36%),
    radial-gradient(circle at 92% 92%, rgba(141, 107, 255, 0.24), transparent 42%),
    linear-gradient(135deg, rgba(15, 16, 20, 0.62), rgba(46, 35, 75, 0.5));
  color: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 22px 70px rgba(25, 10, 60, 0.3),
    0 0 34px rgba(183, 255, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(20px) saturate(1.22);
  -webkit-backdrop-filter: blur(20px) saturate(1.22);
  transform: translateY(14px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s ease, opacity 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.mascot-lesson-hint::before {
  content: "";
  position: absolute;
  left: clamp(34px, 18%, 72px);
  bottom: -13px;
  width: 24px;
  height: 24px;
  border-right: 1px solid rgba(183, 255, 42, 0.48);
  border-bottom: 1px solid rgba(183, 255, 42, 0.48);
  border-bottom-right-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 18, 34, 0.62), rgba(46, 35, 75, 0.5));
  transform: rotate(45deg);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 10px 16px 30px rgba(25, 10, 60, 0.16);
}

.mascot-lesson-hint span {
  color: rgba(183, 255, 42, 0.86);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mascot-lesson-hint strong {
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
  font-weight: 900;
  line-height: 1.12;
}

.mascot-lesson-hint p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.38;
  opacity: 1;
}

.interactive-scrub-stage:hover .mascot-lesson-hint,
.interactive-scrub-stage[data-scrub-active="true"] .mascot-lesson-hint,
.mascot-lesson-hint:hover,
.mascot-lesson-hint:focus-visible {
  border-color: rgba(183, 255, 42, 0.58);
  box-shadow:
    0 26px 76px rgba(25, 10, 60, 0.34),
    0 0 42px rgba(183, 255, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.interactive-scrub-stage:hover .mascot-lesson-hint p,
.interactive-scrub-stage[data-scrub-active="true"] .mascot-lesson-hint p,
.mascot-lesson-hint:hover p,
.mascot-lesson-hint:focus-visible p {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .interactive-scrub-video {
    transform: none;
    transition: none;
  }
}

.summer-vibe-page {
  background:
    linear-gradient(135deg, rgba(4, 5, 8, 0.98), rgba(14, 16, 28, 0.98) 45%, rgba(6, 30, 34, 0.98)),
    #050505;
}

.summer-vibe-hero {
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
  min-height: 620px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 86% 12%, rgba(183, 255, 42, 0.12), transparent 28rem),
    rgba(255, 255, 255, 0.07);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.summer-vibe-model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.summer-vibe-model-tags span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(183, 255, 42, 0.32);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.1);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.summer-vibe-hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
  line-height: 0.86;
}

.summer-vibe-hero-visual {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 34px 80px rgba(0, 0, 0, 0.28);
}

.summer-vibe-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  cursor: zoom-in;
}

.summer-vibe-hero-visual img:nth-child(1),
.summer-vibe-hero-visual img:nth-child(4) {
  transform: translateY(18px);
}

.summer-vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.summer-vibe-card {
  display: flex;
  flex-direction: column;
}

.summer-vibe-card-image {
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.24);
}

.summer-vibe-card-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 180ms ease, filter 180ms ease;
}

.summer-vibe-card:hover .summer-vibe-card-image img {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.02);
}

.summer-vibe-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.16rem, 1.45vw, 1.5rem);
  line-height: 1.05;
}

.summer-vibe-card .skin-prompt-details {
  margin-top: auto;
}

.summer-vibe-topic-main {
  padding-bottom: 80px;
}

.summer-vibe-topic {
  display: block;
}

.summer-vibe-topic .topic-hero {
  min-height: min(760px, calc(100svh - 120px));
}

.summer-vibe-topic .topic-preview {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.5fr);
}

.summer-vibe-topic .topic-preview img {
  aspect-ratio: 0.76;
  object-position: center;
}

.summer-vibe-topic .summer-vibe-model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.summer-vibe-topic .summer-vibe-model-tags span,
.summer-krea-tags span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(183, 255, 42, 0.34);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.1);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.summer-vibe-prompt-wall {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summer-vibe-topic .summer-vibe-card {
  display: block;
}

.summer-vibe-topic .summer-vibe-card img {
  aspect-ratio: 0.76;
}

.summer-vibe-card .prompt-text strong {
  display: block;
  color: #fff;
  font-size: clamp(1.04rem, 1.08vw, 1.18rem);
  line-height: 1.08;
}

.summer-vibe-card .prompt-text > p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.32;
}

.summer-krea-group {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.summer-model-switch {
  position: relative;
  min-height: clamp(160px, 16vw, 230px);
  display: grid;
  align-content: center;
  gap: 13px;
  margin: clamp(26px, 4vw, 58px) 0;
  overflow: hidden;
  border-block: 1px solid rgba(183, 255, 42, 0.2);
  background:
    linear-gradient(90deg, rgba(183, 255, 42, 0.05), transparent 28%, rgba(115, 70, 181, 0.16) 72%, transparent),
    #070707;
  isolation: isolate;
}

.summer-model-switch::after {
  content: "MODEL SWITCH / 03";
  position: absolute;
  right: 18px;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.34);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  font-weight: 900;
}

.summer-model-switch-rail {
  width: 104%;
  margin-left: -2%;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.summer-model-switch-rail-primary {
  padding: 13px 0;
  background: var(--lime);
  color: #050505;
  transform: rotate(-1.35deg);
}

.summer-model-switch-rail-secondary {
  padding: 8px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.2);
  background: #5b3286;
  color: #fff;
  transform: rotate(0.75deg);
}

.summer-model-switch-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: summer-model-switch-run 26s linear infinite;
}

.summer-model-switch-rail-secondary .summer-model-switch-track {
  animation-direction: reverse;
  animation-duration: 34s;
}

.summer-model-switch-track span {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  padding: 0 34px;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.35rem, 2.7vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.summer-model-switch-track span::after {
  content: "+";
  margin-left: 34px;
  opacity: 0.46;
}

.summer-model-switch-track small {
  font-size: 0.38em;
  font-weight: 900;
}

.summer-model-switch-rail-secondary span {
  font-size: clamp(0.76rem, 1.1vw, 1rem);
  letter-spacing: 0.08em;
}

.summer-model-switch:hover .summer-model-switch-track,
.summer-model-switch:focus-within .summer-model-switch-track {
  animation-play-state: paused;
}

@keyframes summer-model-switch-run {
  to {
    transform: translateX(-50%);
  }
}

.summer-gpt5-group {
  padding-top: clamp(20px, 3vw, 38px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.summer-gpt5-card > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: contain;
  border-radius: 20px;
  background: #070707;
}

.summer-clean-card-head {
  align-items: start;
}

.summer-clean-card-head strong {
  min-width: 0;
  margin: 0;
}

.summer-krea-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.summer-krea-carousel {
  max-width: 760px;
  display: grid;
  gap: 14px;
}

.summer-krea-ideas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.summer-krea-idea-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.summer-krea-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)), #111;
  cursor: pointer;
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.34);
}

.summer-krea-frame img {
  width: 100%;
  aspect-ratio: 0.76;
  display: block;
  object-fit: cover;
}

.summer-krea-idea-card .summer-krea-frame {
  border-radius: 26px 26px 0 0;
  border: 0;
  box-shadow: none;
}

.summer-krea-idea-card .summer-krea-frame img {
  transition: opacity 0.18s ease, transform 0.28s ease;
}

.summer-krea-idea-card:hover .summer-krea-frame img {
  transform: scale(1.015);
}

.summer-krea-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183, 255, 42, 0.72);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.88);
  color: #07070a;
  cursor: pointer;
  box-shadow:
    0 16px 32px rgba(183, 255, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
  transform: translateY(-50%);
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.summer-krea-arrow:hover {
  background: var(--lime);
  transform: translateY(-50%) scale(1.06);
}

.summer-krea-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.summer-krea-arrow svg {
  width: 22px;
  height: 22px;
  stroke-width: 3;
}

.summer-krea-arrow-prev {
  left: 14px;
}

.summer-krea-arrow-next {
  right: 14px;
}

.summer-krea-swipe {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.58);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.summer-krea-idea-card .summer-krea-swipe {
  right: auto;
  left: 14px;
  z-index: 3;
  background: rgba(5, 5, 5, 0.52);
}

.summer-krea-swipe svg {
  width: 17px;
  height: 17px;
  color: var(--lime);
}

.summer-krea-dots {
  position: absolute;
  right: 14px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.46);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.summer-krea-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.18s ease, background 0.18s ease;
}

.summer-krea-dots span.is-active {
  width: 18px;
  background: var(--lime);
}

.summer-krea-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.summer-krea-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.summer-krea-controls button:hover {
  border-color: rgba(183, 255, 42, 0.66);
  background: var(--lime);
  color: #050505;
}

.summer-krea-controls strong,
.summer-krea-controls span {
  display: block;
}

.summer-krea-controls strong {
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.1;
}

.summer-krea-controls span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .summer-vibe-topic .topic-preview {
    grid-template-columns: 1fr;
  }

  .summer-vibe-prompt-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .summer-vibe-topic {
    margin-top: 28px;
  }

  .summer-vibe-topic .topic-hero {
    min-height: 0;
    padding: 18px;
    border-radius: 28px;
  }

  .summer-vibe-topic .topic-backbar,
  .summer-vibe-topic .topic-actions,
  .summer-vibe-topic .topic-menu,
  .summer-vibe-topic .topic-close {
    width: 100%;
  }

  .summer-vibe-topic .topic-backbar {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 32px;
  }

  .summer-vibe-topic .topic-copy h2 {
    font-size: clamp(2.72rem, 16vw, 4.2rem);
    line-height: 0.9;
  }

  .summer-vibe-topic .topic-preview img,
  .summer-krea-frame img {
    border-radius: 20px;
  }

  .summer-vibe-groups {
    padding-inline: 0;
  }

  .summer-vibe-prompt-wall {
    grid-template-columns: 1fr;
  }

  .summer-krea-carousel {
    max-width: none;
  }

  .summer-krea-ideas {
    grid-template-columns: 1fr;
  }

  .summer-krea-arrow {
    width: 40px;
    height: 40px;
  }

  .summer-model-switch {
    min-height: 146px;
    margin-block: 28px;
  }

  .summer-model-switch-track span {
    padding-inline: 20px;
  }

  .summer-model-switch-track span::after {
    margin-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .summer-model-switch-track {
    animation-play-state: paused;
  }
}

/* KLING 2.5 video idea lesson */
.kling-idea-page {
  background-color: #09090b;
  background-image:
    linear-gradient(rgba(183, 255, 42, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 255, 42, 0.075) 1px, transparent 1px);
  background-size: 72px 72px;
  color: #fff;
}

.kling-idea-page .platform-shell {
  background: transparent;
}

.kling-idea-canvas {
  width: min(1500px, calc(100% - 56px));
  margin: 0 auto;
  padding: 38px 0 112px;
}

.kling-idea-canvas .catalog-back {
  margin-bottom: 46px;
}

.kling-idea-hero,
.kling-idea-section,
.kling-idea-prompt,
.kling-idea-review {
  padding: 58px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.kling-idea-hero {
  display: grid;
  gap: 44px;
  padding-top: 18px;
  border-top: 0;
}

.kling-idea-hero-copy {
  max-width: 1080px;
}

.kling-idea-hero h1 {
  max-width: 1050px;
  margin: 16px 0 24px;
  color: #fff;
  font-size: 5.4rem;
  line-height: 0.94;
  letter-spacing: 0;
}

.kling-idea-hero-copy > p:last-of-type,
.kling-idea-section-copy > p:last-child {
  max-width: 880px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.55;
}

.kling-idea-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.kling-idea-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(183, 255, 42, 0.4);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.08);
  color: #d9ff85;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.kling-idea-hero figure,
.kling-idea-section figure,
.kling-idea-video {
  margin: 0;
}

.kling-idea-hero img,
.kling-idea-hero video,
.kling-idea-section img,
.kling-idea-video video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #050505;
}

.kling-idea-hero figcaption,
.kling-idea-section figcaption,
.kling-idea-video figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.kling-idea-section {
  display: grid;
  gap: 34px;
}

.kling-idea-section-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 36px 70px;
  align-items: end;
}

.kling-idea-section-copy .chapter-label {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.kling-idea-section h2,
.kling-idea-prompt h2,
.kling-idea-review h2 {
  margin: 0;
  color: #fff;
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: 0;
}

.kling-idea-frame-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.kling-idea-prompt {
  display: grid;
  gap: 24px;
}

.kling-idea-prompt-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.kling-idea-prompt-text {
  max-height: 620px;
  margin: 0;
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(183, 255, 42, 0.62);
  border-radius: 8px;
  background: rgba(5, 5, 6, 0.92);
  box-shadow: 0 0 42px rgba(183, 255, 42, 0.07);
  color: rgba(255, 255, 255, 0.84);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.65;
}

.kling-idea-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(255, 255, 255, 0.14);
}

.kling-idea-note-grid > div {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.kling-idea-note-grid > div:last-child {
  border-right: 0;
}

.kling-idea-note-grid strong {
  color: var(--lime);
  font-size: 1.15rem;
}

.kling-idea-note-grid p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.kling-idea-video {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.kling-idea-review {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 980px) {
  .kling-idea-hero h1 {
    font-size: 4rem;
  }

  .kling-idea-section-copy {
    grid-template-columns: 1fr;
  }

  .kling-idea-section-copy .chapter-label {
    margin-bottom: -18px;
  }

  .kling-idea-frame-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .kling-idea-page {
    background-size: 44px 44px;
  }

  .kling-idea-canvas {
    width: min(100% - 28px, 1500px);
    padding-top: 22px;
  }

  .kling-idea-canvas .catalog-back {
    margin-bottom: 24px;
  }

  .kling-idea-hero,
  .kling-idea-section,
  .kling-idea-prompt,
  .kling-idea-review {
    padding: 38px 0;
  }

  .kling-idea-hero h1 {
    margin-top: 12px;
    font-size: 2.65rem;
    line-height: 0.98;
  }

  .kling-idea-hero-copy > p:last-of-type,
  .kling-idea-section-copy > p:last-child {
    font-size: 1rem;
  }

  .kling-idea-section h2,
  .kling-idea-prompt h2,
  .kling-idea-review h2 {
    font-size: 2.3rem;
  }

  .kling-idea-prompt-head {
    align-items: stretch;
    flex-direction: column;
  }

  .kling-idea-prompt-head .pipeline-copy-button {
    width: 100%;
  }

  .kling-idea-prompt-text {
    max-height: 520px;
    padding: 18px;
    font-size: 0.78rem;
  }

  .kling-idea-note-grid {
    grid-template-columns: 1fr;
  }

  .kling-idea-note-grid > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .kling-idea-note-grid > div:last-child {
    border-bottom: 0;
  }
}

.frame-director-page {
  background:
    radial-gradient(circle at 86% 12%, rgba(183, 255, 42, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(5, 5, 6, 0.98), rgba(14, 13, 24, 0.98) 48%, rgba(4, 20, 20, 0.98)),
    #050505;
}

.frame-director-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
}

.frame-director-hero .hero-button,
.frame-director-page .prompt-case-cta .hero-button {
  width: max-content;
  max-width: 100%;
  margin-top: 24px;
}

.frame-director-hero-visual img {
  object-position: center;
}

.frame-director-screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  gap: 16px;
}

.frame-director-screen {
  aspect-ratio: 16 / 9;
  background: #050505;
}

.frame-director-screen img {
  object-fit: contain;
  background: #050505;
}

.frame-director-list {
  min-width: 0;
  display: grid;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.08);
}

.frame-director-list ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.frame-director-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.38;
}

.frame-director-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(183, 255, 42, 0.12);
}

.frame-director-prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.frame-director-prompt-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 44px rgba(0, 0, 0, 0.18);
}

.frame-director-prompt-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.18rem, 1.5vw, 1.55rem);
  line-height: 1.08;
}

.frame-director-prompt-card > p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.42;
}

.frame-director-result {
  aspect-ratio: auto;
  background: #050505;
}

.frame-director-result img {
  height: auto;
  object-fit: contain;
  background: #050505;
}

.simple-logo-page {
  background:
    radial-gradient(circle at 88% 10%, rgba(183, 255, 42, 0.16), transparent 30%),
    radial-gradient(circle at 14% 88%, rgba(207, 231, 174, 0.1), transparent 32%),
    linear-gradient(135deg, rgba(5, 5, 6, 0.98), rgba(16, 17, 13, 0.98) 48%, rgba(8, 20, 16, 0.98)),
    #050505;
}

.frame-director-page,
.simple-logo-page {
  color: #f7fff2;
  background:
    radial-gradient(circle at 12% 10%, rgba(183, 255, 42, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 14%, rgba(63, 97, 35, 0.32), transparent 34rem),
    radial-gradient(circle at 44% 100%, rgba(20, 55, 36, 0.32), transparent 36rem),
    linear-gradient(135deg, #040604 0%, #10150d 48%, #07130d 100%);
  background-attachment: fixed;
}

.frame-director-page .topbar,
.simple-logo-page .topbar {
  border-color: rgba(183, 255, 42, 0.16);
  background:
    linear-gradient(135deg, rgba(17, 23, 15, 0.82), rgba(7, 11, 8, 0.78)),
    rgba(8, 12, 8, 0.78);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.frame-director-page .prompt-case-hero,
.frame-director-page .prompt-case-section,
.frame-director-page .prompt-case-cta,
.simple-logo-page .prompt-case-hero,
.simple-logo-page .prompt-case-section,
.simple-logo-page .prompt-case-cta {
  border-color: rgba(183, 255, 42, 0.18);
  background:
    radial-gradient(circle at 88% 12%, rgba(183, 255, 42, 0.1), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.024)),
    rgba(8, 12, 8, 0.9);
  box-shadow:
    0 32px 86px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(183, 255, 42, 0.04);
}

.frame-director-page .prompt-case-hero,
.simple-logo-page .prompt-case-hero {
  background:
    radial-gradient(circle at 85% 18%, rgba(183, 255, 42, 0.13), transparent 26rem),
    radial-gradient(circle at 12% 80%, rgba(75, 111, 39, 0.22), transparent 30rem),
    linear-gradient(145deg, rgba(15, 20, 13, 0.96), rgba(6, 9, 7, 0.94));
}

.frame-director-page .prompt-case-cta,
.simple-logo-page .prompt-case-cta {
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.18), rgba(54, 82, 36, 0.2) 46%, rgba(255, 255, 255, 0.04)),
    rgba(8, 12, 8, 0.9);
}

.frame-director-page .prompt-case-step-copy,
.frame-director-page .prompt-case-note-card,
.frame-director-page .prompt-case-flow,
.frame-director-page .prompt-case-video-placeholder,
.frame-director-page .prompt-case-figure,
.frame-director-page .prompt-case-hero-visual,
.simple-logo-page .prompt-case-step-copy,
.simple-logo-page .prompt-case-note-card,
.simple-logo-page .prompt-case-flow,
.simple-logo-page .prompt-case-video-placeholder,
.simple-logo-page .prompt-case-figure,
.simple-logo-page .prompt-case-hero-visual {
  border-color: rgba(183, 255, 42, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(9, 13, 9, 0.82);
}

.frame-director-page .prompt-case-hero h1,
.frame-director-page .prompt-case-section h2,
.frame-director-page .prompt-case-cta h2,
.simple-logo-page .prompt-case-hero h1,
.simple-logo-page .prompt-case-section h2,
.simple-logo-page .prompt-case-cta h2 {
  color: #fff;
}

.frame-director-page .prompt-case-hero p:not(.chapter-label),
.frame-director-page .prompt-case-section p:not(.chapter-label),
.frame-director-page .prompt-case-cta p:not(.chapter-label),
.simple-logo-page .prompt-case-hero p:not(.chapter-label),
.simple-logo-page .prompt-case-section p:not(.chapter-label),
.simple-logo-page .prompt-case-cta p:not(.chapter-label) {
  color: rgba(247, 255, 242, 0.74);
  font-weight: 650;
}

.frame-director-page .prompt-case-hero .prompt-case-lead,
.simple-logo-page .prompt-case-hero .prompt-case-lead {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
}

.frame-director-page .chapter-label,
.simple-logo-page .chapter-label {
  color: var(--lime);
  opacity: 0.92;
}

.simple-logo-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.5fr);
}

.simple-logo-hero-visual {
  background: #eaf1df;
}

.simple-logo-hero-visual img,
.simple-logo-pdf-page img {
  object-fit: cover;
  object-position: center;
}

.simple-logo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.simple-logo-actions .hero-button,
.simple-logo-actions .secondary-button {
  width: max-content;
  max-width: 100%;
}

.simple-logo-formula-card,
.simple-logo-check-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 44px rgba(0, 0, 0, 0.18);
}

.simple-logo-formula-card h3,
.simple-logo-check-grid h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.18rem, 1.5vw, 1.55rem);
  line-height: 1.08;
}

.simple-logo-formula-card .skin-prompt-text {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
}

.simple-logo-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.simple-logo-check-grid small {
  width: max-content;
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: #050505;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
}

.simple-logo-check-grid p {
  margin: 10px 0 0;
}

.simple-logo-ai-tools {
  gap: 28px;
}

.simple-logo-tool-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.simple-logo-tool-note article {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06);
}

.simple-logo-tool-note span,
.simple-logo-example-card figcaption span {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: #050505;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.simple-logo-tool-note h3 {
  margin: 18px 0 10px;
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1;
}

.simple-logo-tool-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.simple-logo-example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.simple-logo-example-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.simple-logo-example-card-wide {
  grid-column: span 2;
}

.simple-logo-example-card img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  background: #101010;
  object-fit: cover;
}

.simple-logo-example-card-wide img {
  aspect-ratio: 16 / 9;
}

.simple-logo-example-card figcaption {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.simple-logo-example-card figcaption strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.08;
}

.simple-logo-vector-card {
  gap: 12px;
}

.simple-logo-vector-card .hub-open {
  width: max-content;
  max-width: 100%;
  margin-top: 8px;
  color: var(--lime);
}

.simple-logo-pdf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.simple-logo-pdf-page {
  aspect-ratio: 0.707;
  background: #eaf1df;
}

.auth-page {
  min-height: 100svh;
}

.auth-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  gap: 24px;
  padding: 32px 18px;
}

.auth-card {
  width: min(100%, 520px);
  padding: 30px;
}

.auth-card h1 {
  margin-bottom: 12px;
  font-size: 2.6rem;
  line-height: 1;
}

.auth-card > p {
  color: var(--text-soft);
  font-weight: 800;
}

.auth-card form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.auth-card label {
  display: grid;
  gap: 7px;
  color: var(--text-soft);
  font-weight: 900;
}

.auth-card input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(139, 111, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  outline: none;
}

.auth-card input:focus {
  border-color: rgba(141, 107, 255, 0.68);
  box-shadow: 0 0 0 4px rgba(141, 107, 255, 0.12);
}

.auth-oauth {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 22px;
}

.auth-oauth > p {
  margin: 0;
  color: var(--text-soft);
  font-weight: 900;
}

.auth-oauth-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.auth-oauth-button {
  width: 62px;
  height: 62px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 28px rgba(65, 46, 112, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.auth-oauth-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.auth-oauth-button:hover,
.auth-oauth-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(65, 46, 112, 0.22), 0 0 0 4px rgba(183, 255, 42, 0.2);
}

.auth-oauth-button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.42;
  filter: grayscale(0.35);
}

.auth-oauth small {
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 20px 0 2px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: rgba(139, 111, 255, 0.2);
  content: "";
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 54px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid rgba(139, 111, 255, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.86), transparent 42%),
    rgba(255, 255, 255, 0.58);
  color: rgba(60, 51, 78, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle:hover,
.password-toggle.is-visible {
  border-color: rgba(183, 255, 42, 0.72);
  background:
    radial-gradient(circle at 26% 16%, rgba(255, 255, 255, 0.92), transparent 38%),
    rgba(183, 255, 42, 0.46);
  color: var(--text);
}

.password-toggle:focus-visible {
  outline: 3px solid rgba(183, 255, 42, 0.42);
  outline-offset: 2px;
}

.auth-switch {
  margin: 16px 0 0;
}

.auth-switch a {
  color: var(--violet);
  font-weight: 900;
}

.text-button {
  min-height: auto;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.forgot-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(139, 111, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.forgot-panel form[hidden],
.forgot-message[hidden] {
  display: none;
}

.forgot-panel form {
  margin-top: 0;
}

.forgot-panel .checkout-button {
  min-height: 52px;
}

.forgot-message {
  display: grid;
  gap: 10px;
}

.forgot-message h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.05;
}

.forgot-message p {
  margin: 0;
  color: var(--text-soft);
  font-weight: 800;
  line-height: 1.34;
}

.forgot-message .text-button {
  width: max-content;
  max-width: 100%;
  margin-top: 6px;
}

.forgot-panel[data-state="loading"] {
  opacity: 0.82;
}

.protected-account {
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, auto) auto auto;
  gap: 8px;
  align-items: center;
  padding: 5px 6px 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
  font-weight: 900;
}

.protected-account span,
.protected-account strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.protected-account span {
  max-width: 180px;
  color: var(--text);
  font-size: 0.82rem;
}

.protected-account strong {
  max-width: 150px;
  color: var(--muted);
  font-size: 0.72rem;
}

.protected-account button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--text);
  font-weight: 900;
}

.protected-account .account-profile-link,
.protected-account .account-topup {
  width: 32px;
  height: 32px;
  display: inline-grid;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.54);
  color: var(--text);
}

.protected-account .account-profile-link svg,
.protected-account .account-topup svg {
  width: 16px;
  height: 16px;
}

.protected-account .account-topup {
  background: var(--lime);
}

.protected-account .account-balance {
  max-width: 118px;
  color: var(--text);
  font-size: 0.76rem;
}

.platform-dashboard-page .protected-account {
  display: flex;
  grid-template-columns: none;
  max-width: min(560px, 38vw);
  padding-left: 6px;
}

.platform-dashboard-page .protected-account [data-user-email] {
  max-width: clamp(96px, 9vw, 156px);
}

.platform-dashboard-page .protected-account [data-subscription-label] {
  max-width: clamp(84px, 7vw, 120px);
}

.ecosystem-panel {
  display: grid;
  gap: 24px;
  margin: 0 0 clamp(52px, 6vw, 84px);
  padding: clamp(24px, 3.2vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 8%, rgba(183, 255, 42, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.4));
  box-shadow: var(--shadow-glass);
}

.ecosystem-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.ecosystem-panel-head h2 {
  max-width: 760px;
  margin: 8px 0 10px;
  font-size: clamp(1.9rem, 3.4vw, 3.6rem);
  line-height: 0.98;
}

.ecosystem-panel-head p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--text-soft);
  font-weight: 800;
  line-height: 1.4;
}

.ecosystem-refresh {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(139, 111, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
  cursor: pointer;
}

.ecosystem-refresh svg {
  width: 19px;
  height: 19px;
}

.ecosystem-refresh.is-loading svg {
  animation: ecosystem-spin 0.8s linear infinite;
}

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

.ecosystem-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(139, 111, 255, 0.18);
}

.ecosystem-summary > div {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 18px clamp(12px, 2vw, 24px);
}

.ecosystem-summary > div + div {
  border-left: 1px solid rgba(139, 111, 255, 0.18);
}

.ecosystem-summary small {
  color: var(--muted);
  font: 700 0.72rem/1.2 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.ecosystem-summary strong {
  overflow: hidden;
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.34rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ecosystem-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ecosystem-service {
  min-height: 132px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  gap: 8px 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(139, 111, 255, 0.17);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ecosystem-service:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 42, 0.72);
  background: rgba(255, 255, 255, 0.72);
}

.ecosystem-service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(139, 111, 255, 0.12);
  color: var(--violet);
}

.ecosystem-service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecosystem-service-icon svg {
  width: 20px;
  height: 20px;
}

.ecosystem-service-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.ecosystem-service-copy strong {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ecosystem-service-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.ecosystem-service-state::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: rgba(82, 72, 99, 0.32);
  content: "";
}

.ecosystem-service[data-connected="true"] .ecosystem-service-state::before {
  background: var(--lime);
  box-shadow: 0 0 14px rgba(183, 255, 42, 0.8);
}

.ecosystem-service-state[data-status="confirmation_required"]::before {
  background: var(--pink);
  box-shadow: 0 0 14px rgba(255, 171, 211, 0.72);
}

.ecosystem-service-state[data-status="conflict"]::before {
  background: #a62d51;
  box-shadow: 0 0 14px rgba(166, 45, 81, 0.42);
}

.ecosystem-service-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.ecosystem-service-action {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(139, 111, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.ecosystem-service-action.is-primary {
  border-color: rgba(183, 255, 42, 0.72);
  background: var(--lime);
}

.ecosystem-service-action[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
}

.ecosystem-loading,
.ecosystem-status {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.ecosystem-status:empty {
  display: none;
}

.ecosystem-status[data-tone="success"] { color: #3b641d; }
.ecosystem-status[data-tone="error"] { color: #a62d51; }

.ecosystem-data-controls {
  border-top: 1px solid rgba(139, 111, 255, 0.18);
  color: var(--text-soft);
}

.ecosystem-data-controls summary {
  width: fit-content;
  padding-top: 16px;
  font-weight: 800;
  cursor: pointer;
}

.ecosystem-data-controls > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
}

.ecosystem-data-controls p {
  max-width: 760px;
  margin: 0;
  line-height: 1.45;
}

.ecosystem-data-controls button {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0 18px;
  border: 1px solid rgba(166, 45, 81, 0.34);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.58);
  color: #7d2342;
  font-weight: 900;
  cursor: pointer;
}

.ecosystem-data-controls button:hover,
.ecosystem-data-controls button:focus-visible {
  border-color: #a62d51;
  background: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1100px) {
  .ecosystem-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-dashboard-page .protected-account .account-balance,
  .platform-dashboard-page .protected-account .account-topup { display: none; }
}

@media (max-width: 720px) {
  .auth-card { padding: 24px 20px; }
  .auth-oauth-button { width: 58px; height: 58px; }
  .ecosystem-panel { gap: 20px; padding: 22px 18px; border-radius: var(--radius-lg); }
  .ecosystem-panel-head { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .ecosystem-summary { grid-template-columns: 1fr; }
  .ecosystem-summary > div { padding-inline: 4px; }
  .ecosystem-summary > div + div { border-left: 0; border-top: 1px solid rgba(139, 111, 255, 0.18); }
  .ecosystem-summary strong,
  .ecosystem-service-copy strong {
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }
  .ecosystem-services { grid-template-columns: 1fr; }
  .ecosystem-service { min-height: 112px; }
  .ecosystem-data-controls > div { align-items: stretch; flex-direction: column; }
  .ecosystem-data-controls button { width: 100%; }
  .platform-dashboard-page .protected-account .account-profile-link { display: inline-grid; }
}

.protected-telegram-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.protected-telegram-link.public-telegram-link {
  min-height: 38px;
  padding: 8px 13px 8px 11px;
  gap: 8px;
  box-shadow:
    0 14px 30px rgba(23, 16, 45, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.protected-telegram-link.public-telegram-link strong {
  font-size: 0.76rem;
  letter-spacing: 0.015em;
}

.protected-telegram-link.public-telegram-link i,
.protected-telegram-link.public-telegram-link svg {
  width: 16px;
  height: 16px;
}

.protected-page .topbar,
.platform-dashboard-page .topbar {
  grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, max-content);
  gap: clamp(10px, 1.1vw, 18px);
}

.protected-page .brand,
.platform-dashboard-page .brand {
  min-width: 0;
}

.protected-page .brand-mark,
.platform-dashboard-page .brand-mark {
  font-size: clamp(1rem, 1.42vw, 1.26rem);
}

.protected-page .brand-lab,
.platform-dashboard-page .brand-lab {
  min-height: 28px;
  padding-inline: 10px;
}

.protected-page .top-nav,
.platform-dashboard-page .top-nav {
  min-width: 0;
  width: 100%;
  justify-self: stretch;
  justify-content: center;
  gap: 3px;
  padding: 5px;
  overflow: hidden;
}

.protected-page .top-nav a,
.platform-dashboard-page .top-nav a {
  min-height: 40px;
  padding-inline: clamp(7px, 0.72vw, 12px);
  font-size: clamp(0.74rem, 0.78vw, 0.86rem);
}

.protected-page .protected-account,
.platform-dashboard-page .protected-account {
  justify-self: end;
  min-width: 0;
  max-width: min(390px, 28vw);
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.protected-page .protected-account span,
.platform-dashboard-page .protected-account span {
  max-width: clamp(118px, 11vw, 176px);
}

.protected-page .protected-account strong,
.platform-dashboard-page .protected-account strong {
  max-width: clamp(92px, 8vw, 132px);
}

@media (min-width: 981px) and (max-width: 1460px) {
  .protected-page .topbar,
  .platform-dashboard-page .topbar {
    grid-template-columns: max-content minmax(0, 1fr) minmax(0, max-content);
    align-items: start;
  }

  .protected-page .top-nav,
  .platform-dashboard-page .top-nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .protected-page .protected-telegram-links,
  .platform-dashboard-page .protected-telegram-links {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .protected-page .protected-account,
  .platform-dashboard-page .protected-account {
    grid-column: 3;
    grid-row: 1;
    max-width: min(100%, 460px);
  }
}

.platform-dashboard-intro {
  position: relative;
  margin-bottom: 22px;
}

.platform-dashboard-intro-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(18px, 2.2vw, 28px);
}

.platform-dashboard-intro-head .chapter-label {
  margin: 0;
}

.dashboard-subscription-badge {
  position: absolute;
  top: clamp(24px, 3.2vw, 48px);
  right: clamp(24px, 4vw, 58px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 18% 10%, rgba(183, 255, 42, 0.34), transparent 42%);
  color: #211a2f;
  box-shadow:
    0 16px 36px rgba(65, 46, 112, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.dashboard-subscription-badge strong {
  color: inherit;
  font: inherit;
}

.dashboard-subscription-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  background: #b7ff2a;
  box-shadow: 0 0 0 5px rgba(183, 255, 42, 0.16), 0 0 20px rgba(183, 255, 42, 0.72);
  animation: dashboardSubscriptionPulse 1.6s ease-in-out infinite;
}

.dashboard-subscription-badge[data-state="soon"] .dashboard-subscription-dot {
  background: #ffd84f;
  box-shadow: 0 0 0 5px rgba(255, 216, 79, 0.17), 0 0 20px rgba(255, 216, 79, 0.68);
}

.dashboard-subscription-badge[data-state="urgent"] .dashboard-subscription-dot,
.dashboard-subscription-badge[data-state="inactive"] .dashboard-subscription-dot {
  background: #ff5d75;
  box-shadow: 0 0 0 5px rgba(255, 93, 117, 0.17), 0 0 20px rgba(255, 93, 117, 0.72);
}

.dashboard-subscription-badge[data-state="inactive"] {
  color: rgba(33, 26, 47, 0.72);
}

.platform-dashboard-update-anchor {
  display: flex;
  width: 100%;
  margin-top: 18px;
}

.platform-dashboard-update-anchor .platform-update-tools {
  width: auto;
  margin: 0;
  justify-content: flex-start;
}

@keyframes dashboardSubscriptionPulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.76;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .platform-dashboard-intro-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-subscription-badge {
    position: static;
    white-space: normal;
    line-height: 1.15;
  }

  .platform-dashboard-update-anchor {
    display: none;
  }
}

@media (max-width: 760px) {
  .lesson-review-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .lesson-review-cta .review-open-button {
    width: 100%;
  }
}

.platform-dashboard-page .platform-reviews-anchor {
  min-height: 50px;
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  justify-self: end;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.46)),
    radial-gradient(circle at 18% 12%, rgba(183, 255, 42, 0.36), transparent 42%);
  color: var(--text);
  box-shadow: var(--shadow-glass);
  font-weight: 950;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.platform-dashboard-page .platform-reviews-anchor:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.92), rgba(255, 255, 255, 0.64)),
    radial-gradient(circle at 72% 10%, rgba(205, 184, 255, 0.42), transparent 40%);
}

.platform-dashboard-page .platform-reviews-anchor svg {
  width: 19px;
  height: 19px;
}

body.is-auth-checking .platform-shell main,
body.is-auth-checking .bottom-dock {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

body.is-auth-checking::after {
  content: "Проверяем доступ...";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 100;
  transform: translate(-50%, -50%);
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-glass);
  font-weight: 900;
}

.review-zone,
.review-admin-panel {
  width: min(100%, 1480px);
  margin: clamp(42px, 7vw, 96px) auto 0;
  padding: clamp(22px, 3.4vw, 42px);
  border: 1px solid rgba(183, 255, 42, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 12%, rgba(183, 255, 42, 0.13), transparent 30%),
    radial-gradient(circle at 8% 92%, rgba(141, 107, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    #101010;
  color: #fff;
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.28);
}

.lesson-review-cta {
  width: min(100%, 1160px);
  margin: clamp(42px, 6vw, 76px) auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(183, 255, 42, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 0%, rgba(183, 255, 42, 0.18), transparent 32%),
    radial-gradient(circle at 92% 100%, rgba(141, 107, 255, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    #111113;
  color: #fff;
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.lesson-review-cta .chapter-label {
  margin-bottom: 10px;
  color: rgba(183, 255, 42, 0.86);
}

.lesson-review-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 3.9rem);
  line-height: 0.96;
}

.lesson-review-cta p:not(.chapter-label) {
  max-width: 640px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.44;
}

.review-zone-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.review-zone-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 3.7rem);
  line-height: 0.96;
}

.review-zone-head p:not(.chapter-label) {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
  line-height: 1.4;
}

.review-open-button,
.review-submit-button,
.review-admin-actions button,
.review-admin-tabs button,
.review-admin-shortcut {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 950;
}

.review-open-button,
.review-submit-button {
  background: var(--lime);
  color: #050505;
  box-shadow: 0 16px 40px rgba(183, 255, 42, 0.22);
}

.review-admin-shortcut {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.review-admin-shortcut:hover {
  border-color: rgba(183, 255, 42, 0.4);
  color: #fff;
}

.review-list,
.review-admin-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.review-card,
.review-empty {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.review-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

.review-empty {
  grid-column: 1 / -1;
  padding: 22px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 800;
}

.review-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.94), rgba(205, 184, 255, 0.72)),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.9), transparent 34%);
  color: #111;
  font-family: "Unbounded", sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
}

.review-card-body {
  min-width: 0;
}

.review-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.review-card-top strong {
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.15;
}

.review-card-top span {
  white-space: nowrap;
  color: var(--lime);
  letter-spacing: 0;
}

.review-card p {
  margin: 12px 0 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
  line-height: 1.42;
}

.review-card small,
.review-admin-meta {
  color: rgba(255, 255, 255, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.review-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.review-admin-meta b {
  color: var(--lime);
}

.review-modal[hidden] {
  display: none;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
}

.review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.review-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 8%, rgba(183, 255, 42, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    #111;
  color: #fff;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.52);
}

.review-dialog h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.9rem);
  line-height: 1;
}

.review-dialog label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 900;
}

.review-dialog input,
.review-dialog textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.review-dialog textarea {
  resize: vertical;
  min-height: 150px;
}

.review-dialog input:focus,
.review-dialog textarea:focus {
  border-color: rgba(183, 255, 42, 0.54);
  box-shadow: 0 0 0 4px rgba(183, 255, 42, 0.08);
}

.review-rating {
  display: flex;
  gap: 8px;
}

.review-rating button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.42);
  font-size: 1.2rem;
}

.review-rating button.is-active {
  border-color: rgba(183, 255, 42, 0.58);
  background: rgba(183, 255, 42, 0.16);
  color: var(--lime);
}

.review-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.review-form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.review-submit-button:disabled,
.review-admin-actions button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.review-admin-panel {
  border-color: rgba(205, 184, 255, 0.28);
}

.review-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.review-admin-tabs button,
.review-admin-actions button {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.review-admin-tabs button.is-active,
.review-admin-actions button:first-child {
  border-color: rgba(183, 255, 42, 0.46);
  background: rgba(183, 255, 42, 0.92);
  color: #050505;
}

.review-admin-item {
  display: grid;
  gap: 10px;
}

.review-admin-actions {
  display: flex;
  gap: 8px;
}

body.review-modal-open {
  overflow: hidden;
}

.review-zone {
  border-color: rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 184, 220, 0.42), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(191, 244, 255, 0.46), transparent 34%),
    radial-gradient(circle at 78% 92%, rgba(183, 255, 42, 0.3), transparent 34%),
    linear-gradient(135deg, rgba(255, 249, 255, 0.9), rgba(235, 224, 255, 0.78) 52%, rgba(236, 252, 255, 0.84));
  color: var(--text);
  box-shadow:
    0 28px 82px rgba(91, 65, 150, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px) saturate(1.15);
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
}

.review-zone .chapter-label,
.review-zone-head p:not(.chapter-label),
.review-zone .review-card small,
.review-zone .review-admin-meta {
  color: rgba(60, 51, 78, 0.68);
}

.review-zone-head h2,
.review-zone .review-card-top strong {
  color: var(--text);
}

.review-zone .review-card,
.review-zone .review-empty {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.48);
  box-shadow:
    0 18px 44px rgba(91, 65, 150, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.review-zone .review-card p,
.review-zone .review-empty {
  color: var(--text-soft);
}

.review-zone .review-card-top span {
  color: #78aa00;
}

.review-zone .review-avatar {
  box-shadow:
    0 14px 34px rgba(143, 210, 24, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.review-zone .review-admin-shortcut {
  border-color: rgba(91, 65, 150, 0.16);
  background: rgba(255, 255, 255, 0.5);
  color: rgba(33, 26, 47, 0.72);
}

.review-zone .review-admin-shortcut:hover {
  border-color: rgba(183, 255, 42, 0.5);
  color: var(--text);
}

.access-error {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.access-error section {
  width: min(100%, 560px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-glass);
}

.access-error h1 {
  font-size: 2.35rem;
  line-height: 1;
}

@media (max-width: 1180px) {
  .public-preview-grid,
  .public-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .public-plan-card small {
    max-width: none;
  }

  .skin-case-hero {
    grid-template-columns: 1fr;
  }

  .skin-case-visual {
    min-height: 0;
  }

  .skin-case-visual img {
    min-height: 420px;
  }

  .skin-compare-layout,
  .skin-prompt-grid,
  .skin-midj-grid,
  .skin-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skin-compare-prompt {
    grid-column: 1 / -1;
  }

  .midjourney-case-hero {
    grid-template-columns: 1fr;
  }

  .midjourney-case-visual {
    min-height: 0;
  }

  .midjourney-case-visual img {
    min-height: 420px;
  }

  .midjourney-image-strip,
  .midjourney-photo-break,
  .midjourney-param-grid,
  .midjourney-preset-grid,
  .midjourney-prompt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .midjourney-important-note,
  .midjourney-telegram-note {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .creative-model-intro {
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  }

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

  .summer-vibe-hero,
  .summer-vibe-grid {
    grid-template-columns: 1fr;
  }

  .summer-vibe-hero-visual {
    min-height: 0;
  }

  .frame-director-hero,
  .frame-director-screen-grid,
  .frame-director-prompt-grid,
  .simple-logo-hero,
  .simple-logo-tool-note,
  .simple-logo-check-grid,
  .simple-logo-pdf-grid {
    grid-template-columns: 1fr;
  }

  .frame-director-screen {
    aspect-ratio: 16 / 10;
  }

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

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

@media (max-width: 760px) {
  .glossary-main {
    padding: 28px 0 82px;
  }

  .glossary-hero,
  .term-entry {
    grid-template-columns: 1fr;
  }

  .glossary-hero {
    gap: 18px;
    margin-bottom: 42px;
  }

  .glossary-hero h1 {
    font-size: 3rem;
  }

  .glossary-hero > p,
  .term-entry dd {
    font-size: 1rem;
  }

  .term-entry {
    gap: 12px;
    padding: 24px 0;
  }

  .term-name {
    font-size: 2rem;
  }

  .public-hero,
  .public-section-head,
  .public-feature-grid,
  .public-preview-grid,
  .public-free-band,
  .public-download-grid {
    grid-template-columns: 1fr;
  }

  .public-hero {
    min-height: 0;
    margin: 0 calc(50% - 50vw);
    padding: 36px 18px 0;
    gap: 18px;
    border-radius: 0;
  }

  .public-hero-copy,
  .public-hero-panel,
  .public-section,
  .public-free-band,
  .public-subscription,
  .public-plan-card,
  .account-plan-section,
  .current-plan-card,
  .tariff-card,
  .auth-card {
    border-radius: 24px;
    padding: 22px 18px;
  }

  .public-hero-copy {
    min-height: 0;
    padding: 0;
  }

  .public-hero-copy h1,
  .auth-card h1 {
    font-size: 2.16rem;
  }

  .hero-portfolio {
    position: relative;
    inset: auto;
    width: min(520px, calc(100% + 126px));
    height: 260px;
    grid-template-columns: repeat(4, minmax(72px, 1fr));
    gap: 8px;
    margin: 2px -72px -12px auto;
    transform: rotate(7deg) translateX(15%) scale(0.86);
    opacity: 0.82;
  }

  .hero-portfolio-column {
    gap: 8px;
    animation-duration: 34s;
  }

  .hero-portfolio-column-b {
    margin-top: -58px;
  }

  .hero-portfolio-column-c {
    margin-top: 34px;
  }

  .hero-portfolio-column-d {
    margin-top: -22px;
  }

  .hero-portfolio figure {
    border-width: 2px;
    border-radius: 18px;
  }

  .public-section-head h2,
  .public-free-band h2 {
    font-size: 1.82rem;
  }

  .current-plan-card,
  .tariff-grid {
    grid-template-columns: 1fr;
  }

  .tariff-price {
    font-size: 2.2rem;
  }

  .public-actions,
  .public-plan-card .checkout-button,
  .tariff-card .checkout-button,
  .secondary-button,
  .hero-button {
    width: 100%;
  }

  .public-download-grid .download-card {
    min-height: 0;
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 18px;
  }

  .public-download-grid .download-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }

  .public-download-grid .download-copy strong {
    font-size: 1.18rem;
  }

  .skin-case-hero,
  .skin-image-strip,
  .skin-compare-layout,
  .skin-prompt-grid,
  .skin-midj-grid,
  .skin-results-grid {
    grid-template-columns: 1fr;
  }

  .skin-midj-setting,
  .skin-midj-media-grid.is-pair {
    grid-template-columns: 1fr;
  }

  .skin-compare-prompt {
    grid-column: auto;
  }

  .skin-comparison-card {
    grid-column: auto;
  }

  .midjourney-guide-hero {
    padding: 18px;
  }

  .topic-detail[data-topic-slug="midjourney-guide"] .topic-backbar {
    margin-bottom: 26px;
  }

  .midjourney-case-hero,
  .midjourney-image-strip,
  .midjourney-param-grid,
  .midjourney-preset-grid,
  .midjourney-prompt-grid,
  .midjourney-formula-track {
    grid-template-columns: 1fr;
  }

  .midjourney-case-copy h2 {
    font-size: 2.34rem;
    line-height: 0.98;
  }

  .midjourney-hero-actions .hero-button,
  .midjourney-hero-actions .topic-hero-download {
    width: 100%;
  }

  .midjourney-case-visual {
    padding: 10px;
    border-radius: 24px;
  }

  .midjourney-case-visual img {
    min-height: 340px;
    border-radius: 18px;
  }

  .midjourney-case-visual::after {
    inset: 10px;
    border-radius: 18px;
  }

  .midjourney-hero-stats {
    left: 20px;
    right: 20px;
    bottom: 20px;
    grid-template-columns: 1fr;
  }

  .midjourney-hero-stats span {
    padding: 10px 12px;
  }

  .midjourney-material-body {
    padding: 32px 18px 88px;
  }

  .midjourney-section-intro h3,
  .midjourney-param-head h3 {
    font-size: 2.08rem;
    line-height: 1;
  }

  .midjourney-formula-card,
  .midjourney-param-card,
  .midjourney-preset-card {
    border-radius: 22px;
  }

  .midjourney-formula-track span {
    min-height: 0;
  }

  .skin-case-copy h2 {
    font-size: 2.28rem;
    line-height: 0.98;
  }

  .skin-case-visual {
    padding: 10px;
    border-radius: 24px;
  }

  .skin-case-visual img {
    min-height: 340px;
    border-radius: 18px;
  }

  .skin-prompt-card,
  .skin-result-card {
    padding: 16px;
    border-radius: 22px;
  }

  .frame-director-page .prompt-case-hero,
  .frame-director-page .prompt-case-section,
  .frame-director-page .prompt-case-cta {
    padding: 18px;
  }

  .frame-director-hero .hero-button,
  .frame-director-page .prompt-case-cta .hero-button {
    width: 100%;
  }

  .frame-director-list,
  .frame-director-prompt-card {
    padding: 16px;
    border-radius: 22px;
  }

  .summer-vibe-hero,
  .summer-vibe-page .prompt-case-section {
    padding: 18px;
  }

  .summer-vibe-hero h1 {
    font-size: clamp(2.72rem, 14vw, 4.1rem);
    line-height: 0.9;
  }

  .summer-vibe-hero-visual {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 22px;
  }

  .summer-vibe-hero-visual img {
    min-height: 160px;
    border-radius: 15px;
  }

  .summer-vibe-hero-visual img:nth-child(1),
  .summer-vibe-hero-visual img:nth-child(4) {
    transform: none;
  }

  .summer-vibe-card {
    padding: 16px;
    border-radius: 22px;
  }

  .frame-director-screen {
    aspect-ratio: 4 / 3;
  }

  .simple-logo-actions,
  .simple-logo-actions .hero-button,
  .simple-logo-actions .secondary-button {
    width: 100%;
  }

  .simple-logo-formula-card,
  .simple-logo-check-grid article,
  .simple-logo-tool-note article {
    padding: 16px;
    border-radius: 22px;
  }

  .simple-logo-example-grid {
    grid-template-columns: 1fr;
  }

  .simple-logo-example-card-wide {
    grid-column: auto;
  }

  .simple-logo-example-card {
    border-radius: 20px;
  }

  .simple-logo-example-card img,
  .simple-logo-example-card-wide img {
    aspect-ratio: 1;
  }

  .simple-logo-pdf-grid {
    grid-template-columns: 1fr;
  }

  .skin-prompt-text {
    padding: 14px;
    font-size: 0.72rem;
  }

  .creative-effects-body {
    padding: 24px 18px 76px;
  }

  .cinematic-effects-body {
    padding: 24px 12px 76px;
  }

  .cinematic-summary-panel,
  .cinematic-technique-head,
  .cinematic-media-grid,
  .cinematic-prompt-grid {
    grid-template-columns: 1fr;
  }

  .cinematic-summary-panel {
    padding: 22px 18px;
    border-radius: 26px;
  }

  .cinematic-summary-panel::after {
    right: -24%;
    bottom: -32%;
    width: 54%;
  }

  .cinematic-summary-copy h3 {
    max-width: 100%;
    font-size: 2.62rem;
    line-height: 0.92;
    overflow-wrap: normal;
    word-break: normal;
  }

  .cinematic-tool-pills {
    gap: 10px;
  }

  .cinematic-technique-card {
    padding: 14px;
    border-radius: 24px;
  }

  .cinematic-technique-head h3 {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 0.94;
  }

  .cinematic-media-card img,
  .cinematic-media-card video {
    border-radius: 18px;
  }

  .cinematic-prompt-card {
    padding: 14px;
    border-radius: 18px;
  }

  .cinematic-prompt-card p {
    max-height: 300px;
    font-size: 0.84rem;
  }

  .creative-model-intro,
  .creative-card-grid {
    grid-template-columns: 1fr;
  }

  .creative-model-copy h3 {
    font-size: 2.24rem;
  }

  .creative-hero-copy h2 {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
    line-height: 0.9;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .creative-hero-copy strong {
    font-size: 1rem;
  }

  .creative-hero-media {
    width: min(100%, 360px);
    justify-self: stretch;
  }

  .creative-reference-card,
  .creative-card {
    border-radius: 22px;
  }

  .creative-reference-image,
  .creative-card-image {
    border-radius: 16px;
  }

  .topic-detail[data-topic-slug="creative-effects"] .creative-card-image,
  .topic-detail[data-topic-slug="creative-effects-2"] .creative-card-image,
  .topic-detail[data-topic-slug="color-grading"] .creative-card-image,
  .topic-detail[data-topic-slug="fifa-2026"] .creative-card-image {
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .topic-detail[data-topic-slug="creative-effects"] .creative-card-grid.is-wide-grid,
  .topic-detail[data-topic-slug="creative-effects-2"] .creative-card-grid.is-wide-grid,
  .topic-detail[data-topic-slug="color-grading"] .creative-card-grid.is-wide-grid,
  .topic-detail[data-topic-slug="fifa-2026"] .creative-card-grid.is-wide-grid {
    gap: 20px;
  }

  .topic-detail[data-topic-slug="creative-effects"] .creative-card.is-wide-card,
  .topic-detail[data-topic-slug="creative-effects-2"] .creative-card.is-wide-card,
  .topic-detail[data-topic-slug="color-grading"] .creative-card.is-wide-card,
  .topic-detail[data-topic-slug="fifa-2026"] .creative-card.is-wide-card {
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
  }

  .topic-detail[data-topic-slug="creative-effects"] .creative-card-image-wide,
  .topic-detail[data-topic-slug="creative-effects-2"] .creative-card-image-wide,
  .topic-detail[data-topic-slug="color-grading"] .creative-card-image-wide,
  .topic-detail[data-topic-slug="fifa-2026"] .creative-card-image-wide {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    object-fit: cover;
  }

  .protected-account {
    grid-template-columns: 1fr auto;
    width: 100%;
    border-radius: 20px;
  }

  .protected-account strong {
    display: none;
  }

  .protected-page .topbar,
  .platform-dashboard-page .topbar {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .protected-page .protected-account,
  .platform-dashboard-page .protected-account {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    max-width: 128px;
  }

  .protected-page .protected-telegram-links,
  .platform-dashboard-page .protected-telegram-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: stretch;
  }

  .protected-telegram-link.public-telegram-link {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding-inline: 10px;
  }

  .protected-telegram-link.public-telegram-link strong {
    font-size: 0.72rem;
  }
}

@media (max-width: 1180px) {
  .prompt-case-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .prompt-case-hero h1 {
    font-size: 3.25rem;
  }

  .prompt-case-hero-visual {
    min-height: 520px;
  }

  .prompt-case-section-head,
  .prompt-case-step,
  .prompt-case-step.is-reversed,
  .prompt-case-animation {
    grid-template-columns: 1fr;
  }

  .interactive-scrub-ui {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .free-case-card {
    min-height: 0;
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 18px;
  }

  .free-case-card .download-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }

  .free-case-card .download-copy strong {
    font-size: 1.14rem;
  }

  .prompt-case-page .topbar {
    border-radius: 24px;
  }

  .prompt-case-hero,
  .prompt-case-section,
  .prompt-case-cta {
    border-radius: 24px;
    padding: 18px;
  }

  .prompt-case-hero-copy,
  .prompt-case-step-copy,
  .prompt-case-note-card,
  .prompt-case-flow,
  .prompt-case-video-placeholder {
    padding: 18px;
  }

  .prompt-case-hero h1 {
    font-size: 1.95rem;
    line-height: 1;
  }

  .prompt-case-hero .prompt-case-lead {
    font-size: 1.08rem;
  }

  .prompt-case-hero-visual {
    min-height: 440px;
  }

  .prompt-case-section-head h2,
  .prompt-case-step h2,
  .prompt-case-cta h2 {
    font-size: 1.78rem;
  }

  .prompt-case-image-grid,
  .prompt-case-prompt-grid {
    grid-template-columns: 1fr;
  }

  .prompt-case-figure {
    aspect-ratio: 4 / 5.6;
  }

  .prompt-case-video-card {
    width: min(100%, 320px);
  }

  .prompt-case-video-card video {
    max-height: 460px;
  }

  .prompt-case-animation-prompt pre {
    max-height: 260px;
  }

  .prompt-case-tags span,
  .prompt-case-flow span {
    font-size: 0.76rem;
  }

  .interactive-scrub-section {
    margin-block: 24px 44px;
  }

  .interactive-scrub-ui {
    right: 12px;
    bottom: 10px;
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 0.58rem;
  }

  .interactive-scrub-ui i {
    width: 120px;
  }

  .prompt-case-cta .hero-button {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .interactive-scrub-stage {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    min-height: 0;
    padding-top: clamp(26px, 5vw, 46px);
    padding-bottom: 0;
    background:
      radial-gradient(circle at var(--mascot-light-x) 72%, rgba(222, 205, 255, 0.4), transparent 46%),
      linear-gradient(180deg, #66539a, #7a65ab 34%, #a58fce 62%, #bfa9de 100%);
  }

  .mascot-about-copy {
    position: static;
    inset: auto;
    display: block;
    padding-inline: clamp(18px, 5vw, 48px);
  }

  .mascot-about-copy h2 {
    justify-self: start;
    max-width: 560px;
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 5.6vw, 2.7rem);
    text-align: left;
    text-wrap: balance;
  }

  .mascot-about-text {
    max-width: 620px;
    padding-top: 0;
  }

  .mascot-about-text .chapter-label {
    margin-bottom: 10px;
  }

  .mascot-about-text p:not(.chapter-label) {
    font-size: clamp(0.92rem, 2.6vw, 1.05rem);
    line-height: 1.45;
  }

  .interactive-scrub-video {
    position: static;
    width: 100%;
    height: clamp(310px, 88vw, 390px);
    margin-top: clamp(-58px, -7vw, -24px);
    margin-bottom: 0;
    object-fit: cover;
    object-position: center 58%;
    -webkit-mask-image: radial-gradient(ellipse 88% 96% at 50% 52%, #000 52%, rgba(0, 0, 0, 0.6) 74%, transparent 98%);
    mask-image: radial-gradient(ellipse 88% 96% at 50% 52%, #000 52%, rgba(0, 0, 0, 0.6) 74%, transparent 98%);
  }

  .mascot-lesson-hint {
    position: absolute;
    left: auto;
    right: clamp(12px, 4vw, 30px);
    top: auto;
    bottom: clamp(14px, 4vw, 26px);
    width: min(250px, 58vw);
    margin: 0;
    padding: 10px 12px 11px;
    border-radius: 19px 19px 19px 9px;
    transform: translateY(8px) scale(0.96);
  }

  .mascot-lesson-hint::before {
    left: auto;
    right: 34px;
    bottom: -9px;
    width: 16px;
    height: 16px;
  }

  .mascot-lesson-hint span {
    font-size: 0.56rem;
  }

  .mascot-lesson-hint p {
    opacity: 1;
    font-size: 0.68rem;
    line-height: 1.24;
  }

  .interactive-scrub-ui {
    display: none;
  }
}

@media (max-width: 640px) {
  .mascot-about-copy h2 {
    display: none;
  }

  .mascot-about-copy {
    padding-inline: 18px;
  }

  .mascot-about-text p:not(.chapter-label) {
    font-size: 0.94rem;
  }

  .interactive-scrub-video {
    height: clamp(305px, 88vw, 360px);
    margin-top: -50px;
    margin-bottom: 0;
    transform: translate3d(var(--mascot-shift-x), var(--mascot-shift-y), 0) rotate(var(--mascot-rotate)) scale(1.12);
  }

  .mascot-lesson-hint {
    width: min(214px, 52vw);
    padding: 9px 10px 10px;
  }

  .mascot-lesson-hint p {
    font-size: 0.62rem;
  }
}

@media (max-width: 980px) {
  .topic-detail[data-topic-slug="ai-video-seedance"] .topic-preview {
    grid-template-columns: 1fr;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto {
    grid-template-columns: 1fr;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-library-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-library-head h3 {
    justify-self: start;
    max-width: none;
    margin-top: 0;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .topic-preview img {
    width: min(100%, 360px);
    max-height: 320px;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .topic-detail[data-topic-slug="ai-video-seedance"] .topic-hero {
    padding: 18px 12px 24px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .topic-backbar {
    margin-bottom: 20px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .topic-preview {
    gap: 16px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .topic-copy h2 {
    font-size: clamp(2.15rem, 10vw, 2.75rem);
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .topic-copy strong {
    font-size: 0.98rem;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .topic-preview img {
    width: min(100%, 300px);
    max-height: 240px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto {
    margin: 0 12px 18px;
    padding: 18px;
    border-radius: 22px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-copy h3 {
    font-size: clamp(1.82rem, 10vw, 2.65rem);
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-actions {
    flex-direction: column;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-link {
    width: 100%;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-steps li {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-howto-steps span {
    width: 30px;
    height: 30px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-library {
    padding: 18px 12px 24px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-library-head {
    gap: 12px;
    margin-bottom: 16px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-tags {
    gap: 8px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-tag {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category {
    border-radius: 20px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-summary {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 16px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-kicker {
    grid-column: 1 / -1;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-count {
    min-width: 40px;
    min-height: 34px;
    border-radius: 12px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-summary i {
    display: none;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-body {
    padding: 0 12px 16px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-description {
    margin: 14px 0;
    font-size: 0.94rem;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .lesson-wall {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 12px 84px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .seedance-category-wall.lesson-wall {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .lesson-card {
    border-radius: 20px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .lesson-copy {
    padding: 18px;
  }

  .topic-detail[data-topic-slug="ai-video-seedance"] .lesson-prompt p {
    max-height: 180px;
  }
}

@media (max-width: 1180px) {
  .prompting-hero,
  .prompting-example {
    grid-template-columns: 1fr;
  }

  .prompting-benefit-grid,
  .prompting-structure-grid,
  .prompting-param-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .prompting-hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: auto;
  }
}

@media (max-width: 760px) {
  .prompting-lesson {
    gap: 24px;
    padding-bottom: 76px;
  }

  .prompting-hero,
  .prompting-section {
    border-radius: 24px;
  }

  .prompting-hero,
  .prompting-section {
    padding: 18px;
  }

  .prompting-hero {
    min-height: 0;
  }

  .prompting-hero-copy h1 {
    font-size: clamp(2.38rem, 13vw, 3.5rem);
    line-height: 0.96;
  }

  .prompting-hero-actions,
  .prompting-hero-actions .hero-button,
  .prompting-hero-actions .secondary-button {
    width: 100%;
  }

  .prompting-hero-panel,
  .prompting-benefit-grid,
  .prompting-structure-grid,
  .prompting-token-grid,
  .prompting-param-grid,
  .prompting-checklist-list {
    grid-template-columns: 1fr;
  }

  .prompting-section-intro h2,
  .prompting-example-copy h2 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
  }

  .prompting-benefit-grid article,
  .prompting-structure-grid article,
  .prompting-token-grid article,
  .prompting-param-grid article,
  .prompting-full-prompt,
  .prompting-checklist-list article {
    border-radius: 20px;
    padding: 16px;
  }

  .prompting-benefit-grid article,
  .prompting-param-grid article {
    min-height: 0;
  }

  .prompting-example-steps article {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 14px;
  }

  .prompting-example-steps span {
    width: 30px;
    height: 30px;
  }

  .prompting-example-steps p {
    grid-column: 1 / -1;
  }

  .prompting-example-visual,
  .prompting-example-visual img {
    border-radius: 20px;
  }

  .prompting-full-prompt pre {
    font-size: 0.72rem;
  }

  .prompting-checklist-list article {
    display: grid;
    grid-template-columns: 1fr;
  }

  .prompting-checklist-list span,
  .prompting-checklist-list h3,
  .prompting-checklist-list p {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}

.platform-dashboard-page .platform-dashboard-intro {
  margin-bottom: clamp(28px, 4vw, 56px);
}

body.platform-dashboard-page {
  background:
    radial-gradient(circle at 16% -8%, rgba(255, 255, 255, 0.42), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(183, 255, 42, 0.18), transparent 24%),
    radial-gradient(circle at 54% 64%, rgba(255, 184, 220, 0.18), transparent 36%),
    linear-gradient(135deg, #bfa7fb 0%, #c8b1ff 46%, #d9caff 100%);
}

.platform-route-section {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(48px, 6vw, 78px);
}

.platform-dashboard-page .platform-route-section {
  scroll-margin-top: 118px;
}

.platform-route-groups {
  display: grid;
  gap: 58px;
}

.platform-route-group {
  --route-accent: var(--lime);
  --route-accent-soft: rgba(183, 255, 42, 0.14);
  --route-button-text: #050505;
  min-width: 0;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--route-accent) 42%, transparent);
}

.platform-route-group-prompts {
  --route-accent: var(--lime);
  --route-accent-soft: rgba(183, 255, 42, 0.14);
}

.platform-route-group-webdesign {
  --route-accent: #8ef2ff;
  --route-accent-soft: rgba(142, 242, 255, 0.16);
  --route-button-text: #051012;
}

.platform-route-group-tutorials {
  --route-accent: var(--pink);
  --route-accent-soft: rgba(255, 184, 220, 0.16);
}

.platform-route-group-clients {
  --route-accent: var(--cyan);
  --route-accent-soft: rgba(191, 244, 255, 0.16);
}

.platform-route-group-skills {
  --route-accent: var(--purple);
  --route-accent-soft: rgba(141, 107, 255, 0.18);
  --route-button-text: #fff;
}

.platform-route-group-extra {
  --route-accent: var(--peach);
  --route-accent-soft: rgba(255, 210, 166, 0.16);
}

.platform-route-group-head {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.platform-route-group-index,
.platform-route-group-count {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.platform-route-group-index {
  color: var(--route-accent);
}

.platform-route-group-count {
  padding-left: 14px;
  border-left: 1px solid color-mix(in srgb, var(--route-accent) 52%, transparent);
  color: rgba(33, 26, 47, 0.56);
}

.platform-route-group-head h3 {
  margin: 0;
  color: var(--text);
  font-family: "Unbounded", sans-serif;
  font-size: 2.05rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.94;
}

.platform-new-sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(5, 16, 18, 0.1);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #ffe875 52%, #8ef2ff 100%);
  color: #051012;
  box-shadow: 0 16px 38px rgba(142, 242, 255, 0.22);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.platform-new-sticker {
  margin-left: 10px;
  vertical-align: middle;
  transform: rotate(-2deg) translateY(-3px);
}

.platform-route-group .platform-card::after {
  background: linear-gradient(90deg, var(--route-accent), rgba(255, 255, 255, 0.06));
}

.platform-route-group .platform-card:hover {
  border-color: var(--route-accent);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.24), 0 0 36px var(--route-accent-soft);
}

.platform-route-group .platform-card > svg {
  color: var(--route-accent);
}

.platform-route-group .platform-card .tag {
  border-color: color-mix(in srgb, var(--route-accent) 48%, transparent);
  background: var(--route-accent-soft);
  color: var(--route-accent);
}

.platform-route-group .platform-card .hub-open {
  border-color: var(--route-accent);
  background: var(--route-accent);
  color: var(--route-button-text);
  box-shadow: 0 18px 42px var(--route-accent-soft);
}

.platform-route-group-single .platform-card {
  grid-column: span 2;
}

.quick-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-route-card {
  min-width: 0;
  min-height: 156px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    #121215;
  color: #fff;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.quick-route-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 255, 42, 0.34);
  background:
    radial-gradient(circle at 88% 18%, rgba(183, 255, 42, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03)),
    #121215;
}

.quick-route-card small,
.quick-route-card span {
  color: rgba(255, 255, 255, 0.58);
}

.quick-route-card small {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-route-card strong {
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.12rem, 1.45vw, 1.62rem);
  line-height: 1.05;
}

.quick-route-card span {
  font-weight: 800;
  line-height: 1.3;
}

.quick-route-card-warning {
  border-color: rgba(183, 255, 42, 0.26);
}

.quick-route-card-free {
  background:
    radial-gradient(circle at 88% 16%, rgba(183, 255, 42, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03)),
    #111315;
}

.quick-route-card-portal {
  border-color: rgba(183, 255, 42, 0.34);
  background:
    radial-gradient(circle at 86% 12%, rgba(183, 255, 42, 0.2), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(255, 94, 214, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028)),
    #111315;
}

.platform-dashboard-page .platform-hub {
  margin-bottom: clamp(54px, 7vw, 96px);
}

.platform-dashboard-page .global-sections-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.platform-dashboard-page .platform-card,
.platform-dashboard-page .platform-card-video,
.platform-dashboard-page .platform-card-client,
.platform-dashboard-page .platform-card-llm,
.platform-dashboard-page .platform-card-prompts,
.platform-dashboard-page .platform-card-terms,
.platform-dashboard-page .platform-card-fuckup,
.platform-dashboard-page .platform-card-free,
.platform-dashboard-page .platform-card-traffic {
  grid-column: auto;
}

.platform-dashboard-page .platform-card {
  --platform-card-image: linear-gradient(transparent, transparent);
  --platform-card-position: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background-color: #121215;
  background-image:
    linear-gradient(90deg, rgba(8, 8, 12, 0.97) 0%, rgba(8, 8, 12, 0.89) 54%, rgba(8, 8, 12, 0.6) 100%),
    var(--platform-card-image);
  background-position: center, var(--platform-card-position);
  background-repeat: no-repeat;
  background-size: cover, 104%;
  color: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, background-size 420ms ease;
}

.platform-dashboard-page .platform-card::before {
  display: none;
}

.platform-dashboard-page .platform-card::after {
  left: 22px;
  top: 20px;
  right: 22px;
  background: linear-gradient(90deg, rgba(183, 255, 42, 0.42), rgba(255, 255, 255, 0.06));
}

.platform-dashboard-page .platform-card:hover {
  border-color: rgba(183, 255, 42, 0.34);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.24);
  background-size: cover, 110%;
}

.platform-dashboard-page .platform-card > * {
  position: relative;
  z-index: 2;
}

.platform-dashboard-page .platform-card-prompts {
  --platform-card-image: url("assets/platform-cards/photo-prompts-editorial.webp");
  --platform-card-position: 38% center;
}

.platform-dashboard-page .platform-card-video {
  --platform-card-image: url("assets/seedance/posters/2026-07-10/seedance-231.jpg");
  --platform-card-position: 64% center;
}

.platform-dashboard-page .platform-card-webdesign {
  --platform-card-image: url("assets/web-design/landing-pages/previews/design.png");
  --platform-card-position: center top;
}

.platform-dashboard-page .platform-card-llm {
  --platform-card-image: url("assets/lessons/pipelines/doterra-evening-ritual/workflow-map.png");
  --platform-card-position: 66% center;
}

.platform-dashboard-page .platform-card-client {
  --platform-card-image: url("images/lesson-covers/claude-skill-lesson-03.png");
  --platform-card-position: 66% center;
}

.platform-dashboard-page .platform-card-skills {
  --platform-card-image: url("assets/platform-cards/gpts-skills.png");
  --platform-card-position: 60% center;
}

.platform-dashboard-page .platform-card-traffic {
  --platform-card-image: url("images/профессии/SMM/1.png");
  --platform-card-position: 68% center;
}

.platform-dashboard-page .platform-card-fuckup {
  --platform-card-image: url("assets/lessons/pipelines/doterra-evening-ritual/bad-scale-example.png");
  --platform-card-position: 68% center;
}

.platform-dashboard-page .platform-card-free {
  --platform-card-image: url("assets/free-materials/sport/krea-classic/04-01.webp");
  --platform-card-position: 68% center;
}

.platform-dashboard-page .platform-card-directing {
  --platform-card-image: url("images/cinematic-prompts/saxophone-cinematic-effect.png");
  --platform-card-position: 68% center;
}

.platform-dashboard-page .platform-card-links {
  --platform-card-image: url("assets/lessons/pipelines/model1990/magnific-spaces.png");
  --platform-card-position: 70% center;
}

.platform-dashboard-page .platform-card-portal {
  --platform-card-image: url("assets/platform-cards/portal-editorial.webp");
  --platform-card-position: 52% center;
}

.platform-dashboard-page .platform-card-prompts,
.platform-dashboard-page .platform-card-portal {
  background-size: cover, cover;
}

.platform-dashboard-page .platform-card-prompts:hover,
.platform-dashboard-page .platform-card-portal:hover {
  background-size: cover, auto 108%;
}

.platform-dashboard-page .platform-card > svg {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 30px;
  height: 30px;
  color: #b7ff2a;
  filter: none;
}

.platform-dashboard-page .platform-card .tag {
  min-height: 30px;
  padding: 0 12px;
  border-color: rgba(183, 255, 42, 0.28);
  background: rgba(183, 255, 42, 0.07);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.platform-dashboard-page .platform-card h3 {
  margin: 42px 0 12px;
  padding-right: 34px;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.24rem, 1.55vw, 1.85rem);
  line-height: 1.02;
}

.platform-dashboard-page .platform-card p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.66);
}

.platform-dashboard-page .platform-card .hub-open {
  min-height: 42px;
  padding: 0 16px;
  border-color: rgba(183, 255, 42, 0.38);
  background: rgba(183, 255, 42, 0.94);
  color: #050505;
  box-shadow: 0 18px 42px rgba(183, 255, 42, 0.12);
}

.platform-dashboard-page .platform-card-fuckup .tag {
  border-color: rgba(183, 255, 42, 0.42);
  color: #b7ff2a;
}

.platform-dashboard-page .platform-card-free::before {
  background: linear-gradient(135deg, rgba(183, 255, 42, 0.28), rgba(255, 255, 255, 0.14));
}

.platform-dashboard-page .platform-card-traffic::before {
  background: linear-gradient(135deg, rgba(183, 255, 42, 0.38), rgba(141, 107, 255, 0.18));
}

.platform-dashboard-page .platform-card-traffic .tag {
  border-color: rgba(183, 255, 42, 0.42);
  color: #b7ff2a;
}

.platform-dashboard-page .platform-card-portal::before {
  background: linear-gradient(135deg, rgba(183, 255, 42, 0.32), rgba(255, 94, 214, 0.16));
}

.platform-dashboard-page .platform-route-group .platform-card::after {
  background: linear-gradient(90deg, var(--route-accent), rgba(255, 255, 255, 0.06));
}

.platform-dashboard-page .platform-route-group .platform-card:hover {
  border-color: var(--route-accent);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.24), 0 0 36px var(--route-accent-soft);
}

.platform-dashboard-page .platform-route-group .platform-card > svg {
  color: var(--route-accent);
}

.platform-dashboard-page .platform-route-group .platform-card .tag {
  border-color: color-mix(in srgb, var(--route-accent) 48%, transparent);
  background: var(--route-accent-soft);
  color: var(--route-accent);
}

.platform-dashboard-page .platform-route-group .platform-card .hub-open {
  border-color: var(--route-accent);
  background: var(--route-accent);
  color: var(--route-button-text);
  box-shadow: 0 18px 42px var(--route-accent-soft);
}

.platform-dashboard-page .platform-route-group-single .platform-card {
  grid-column: span 2;
}

.platform-dashboard-page .platform-route-group-extra .global-sections-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1280px) {
  .platform-dashboard-page .global-sections-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .quick-route-grid,
  .platform-dashboard-page .global-sections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .platform-route-groups {
    gap: 44px;
  }

  .platform-route-group {
    padding-top: 18px;
  }

  .platform-route-group-head {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 12px;
    margin-bottom: 14px;
  }

  .platform-route-group-head h3 {
    font-size: 1.5rem;
    line-height: 1;
  }

  .platform-route-group-count {
    grid-column: 2;
    padding-left: 0;
    border-left: 0;
  }

  .quick-route-grid,
  .platform-dashboard-page .global-sections-grid {
    grid-template-columns: 1fr;
  }

  .platform-dashboard-page .platform-route-group-single .platform-card {
    grid-column: auto;
  }

  .platform-dashboard-page .platform-route-group-extra .global-sections-grid {
    grid-template-columns: 1fr;
  }

  .quick-route-card,
  .platform-dashboard-page .platform-card {
    min-height: 0;
  }
}

.video-page .video-catalog-intro {
  margin-bottom: clamp(28px, 4vw, 50px);
  padding: clamp(24px, 3.6vw, 42px);
}

.video-page .video-catalog-intro .catalog-back {
  margin-bottom: 18px;
}

.video-page .video-catalog-intro h1 {
  max-width: 900px;
  margin-bottom: 12px;
  font-size: clamp(3.1rem, 5.8vw, 6.2rem);
  line-height: 0.92;
}

.video-page .video-catalog-intro > p:not(.chapter-label) {
  max-width: 820px;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

.video-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.video-hero-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(36, 32, 56, 0.16);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.42);
  color: rgba(34, 28, 50, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.video-page .subpage-section {
  margin-bottom: clamp(50px, 6vw, 82px);
}

.video-page .subpage-section-head {
  gap: 18px;
  margin-bottom: 20px;
}

.video-page .subpage-section-head h2 {
  max-width: 840px;
  font-size: clamp(2.45rem, 4.2vw, 4.7rem);
  line-height: 0.96;
}

.video-page .subpage-section-head > p {
  max-width: 440px;
  font-size: 0.98rem;
  font-weight: 800;
}

.video-page .section-material-grid,
.video-page .paid-lesson-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.video-page .section-material-card,
.video-page .paid-lesson-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    #121215;
  color: #fff;
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.video-page .section-material-card {
  min-height: 292px;
  padding: 22px;
}

.video-page .section-material-card::after {
  width: 42%;
  opacity: 0.58;
}

.video-page .section-material-card:hover,
.video-page .paid-lesson-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 255, 42, 0.36);
  background:
    radial-gradient(circle at 88% 18%, rgba(183, 255, 42, 0.13), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    #101012;
}

.video-page .section-material-card small,
.video-page .paid-lesson-card small {
  color: rgba(255, 255, 255, 0.5);
}

.video-page .section-material-card h3 {
  margin: 28px 0 12px;
  padding-right: 30px;
  color: #fff;
  font-size: clamp(1.22rem, 1.5vw, 1.75rem);
  line-height: 1.04;
}

.video-page .section-material-card p,
.video-page .paid-lesson-card p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.video-page .section-material-card .hub-open,
.video-page .paid-lesson-card .hub-open {
  border-color: rgba(183, 255, 42, 0.34);
  background: rgba(183, 255, 42, 0.92);
  color: #050505;
}

.video-page .paid-lesson-card {
  overflow: hidden;
  padding: 12px;
}

.video-page .paid-lesson-card img {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #050505;
  object-fit: cover;
}

.video-page .paid-lesson-card div {
  padding: 14px 4px 4px;
}

.video-page .paid-lesson-card h3 {
  color: #fff;
  font-size: clamp(1.16rem, 1.35vw, 1.55rem);
  line-height: 1.05;
}

.video-page .paid-lesson-card-featured {
  grid-column: span 2;
  background:
    radial-gradient(circle at 18% 18%, rgba(183, 255, 42, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    #111216;
}

.video-page .motion-control-card {
  grid-column: span 2;
  border-color: rgba(217, 187, 255, 0.28);
  background:
    radial-gradient(circle at 84% 12%, rgba(141, 107, 255, 0.22), transparent 34%),
    radial-gradient(circle at 18% 90%, rgba(183, 255, 42, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    #111216;
}

.video-page .motion-control-card img {
  object-position: center;
}

.video-page .telegram-hub-open {
  gap: 9px;
  border-color: rgba(42, 171, 238, 0.45);
  background: #2aabee;
  color: #fff;
  box-shadow:
    0 16px 36px rgba(42, 171, 238, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.video-page .telegram-hub-open:hover {
  background: #fff;
  color: #1a8ec8;
  box-shadow:
    0 18px 42px rgba(42, 171, 238, 0.24),
    0 0 28px rgba(42, 171, 238, 0.18);
}

.telegram-button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.plush-lesson-section {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(24px, 4vw, 54px) clamp(18px, 4vw, 74px) clamp(56px, 6vw, 96px);
  background:
    radial-gradient(circle at 84% 8%, rgba(183, 255, 42, 0.16), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(141, 107, 255, 0.18), transparent 34%),
    #050505;
  color: #fff;
}

.plush-lesson-hero,
.plush-lesson-block {
  border: 1px solid rgba(183, 255, 42, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 12%, rgba(183, 255, 42, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    #121215;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
}

.plush-lesson-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.08fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 48px);
}

.plush-lesson-copy,
.plush-lesson-block-head,
.plush-tool-grid article,
.plush-note-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plush-lesson-copy h2,
.plush-lesson-block h3 {
  margin: 0;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  line-height: 0.98;
}

.plush-lesson-copy h2 {
  font-size: clamp(2.2rem, 4vw, 5rem);
}

.plush-lesson-block h3 {
  font-size: clamp(1.65rem, 2.5vw, 3.2rem);
}

.plush-lesson-copy p,
.plush-lesson-block-head > p,
.plush-tool-grid p,
.plush-next-block li,
.plush-note-card li {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  line-height: 1.36;
}

.plush-lesson-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.plush-lesson-actions .hero-button {
  width: max-content;
  max-width: 100%;
}

.plush-lesson-hero-media {
  display: grid;
  gap: 10px;
  margin: 0;
}

.plush-lesson-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.36);
}

.plush-lesson-hero-media figcaption,
.plush-example-grid figcaption,
.plush-video-grid figcaption {
  color: rgba(255, 255, 255, 0.54);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plush-pipeline,
.plush-example-grid,
.plush-video-grid,
.plush-tool-grid,
.plush-prompt-split {
  display: grid;
  gap: 14px;
}

.plush-pipeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.plush-pipeline article,
.plush-prompt-card,
.plush-note-card,
.plush-tool-grid article,
.plush-next-block ol,
.plush-codex-block pre {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.plush-pipeline article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
  padding: 18px;
}

.plush-pipeline span,
.plush-tool-grid small,
.plush-prompt-card small {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 900;
  text-transform: uppercase;
}

.plush-pipeline h3,
.plush-tool-grid h4 {
  margin: 0;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  line-height: 1.04;
}

.plush-pipeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
  line-height: 1.34;
}

.plush-lesson-block {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 38px);
}

.plush-prompt-split {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
}

.plush-prompt-card,
.plush-note-card,
.plush-tool-grid article {
  padding: clamp(18px, 2.2vw, 28px);
}

.plush-prompt-card pre,
.plush-codex-block pre {
  margin: 0;
  overflow: auto;
  color: rgba(255, 255, 255, 0.86);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.plush-note-card ul,
.plush-next-block ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.plush-note-card li {
  list-style: none;
}

.plush-note-card b,
.plush-next-block li::marker {
  color: #d9bbff;
}

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

.plush-example-grid figure,
.plush-video-grid figure {
  display: grid;
  gap: 10px;
  margin: 0;
}

.plush-example-grid img,
.plush-video-grid video {
  width: 100%;
  display: block;
  border-radius: 20px;
  background: #050505;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.plush-example-grid img {
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

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

.plush-tool-grid article {
  min-height: 280px;
}

.plush-tool-grid .hub-open {
  width: max-content;
  max-width: 100%;
  margin-top: auto;
  border-color: rgba(183, 255, 42, 0.34);
  background: rgba(183, 255, 42, 0.94);
  color: #050505;
}

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

.plush-video-grid video {
  aspect-ratio: 16 / 9;
}

.plush-next-block {
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  align-items: start;
}

.plush-next-block ol {
  padding: clamp(18px, 2.2vw, 28px) clamp(18px, 2.2vw, 34px);
  list-style-position: inside;
}

.plush-codex-block pre {
  max-height: 340px;
  padding: clamp(18px, 2.2vw, 28px);
}

.client-work-page .client-work-intro {
  margin-bottom: clamp(24px, 4vw, 44px);
}

.client-work-page .section-material-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-work-page .client-material-card {
  min-height: 260px;
}

.client-work-page .client-material-card .hub-open {
  border-color: rgba(183, 255, 42, 0.36);
  background: rgba(183, 255, 42, 0.92);
  color: #050505;
}

.client-work-page .client-material-card.is-soon .hub-open {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.74);
  box-shadow: none;
}

.topic-soon-panel {
  width: min(100%, 1180px);
  margin: clamp(28px, 5vw, 72px) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(183, 255, 42, 0.16), transparent 34%),
    radial-gradient(circle at 10% 88%, rgba(141, 107, 255, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #111113;
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.3);
}

.topic-soon-copy h3 {
  max-width: 780px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.35rem, 6vw, 5.6rem);
  line-height: 0.94;
}

.topic-soon-copy p:not(.chapter-label) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 650;
  line-height: 1.45;
}

.topic-soon-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.topic-soon-actions span,
.topic-soon-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.topic-soon-actions span {
  min-width: 150px;
  border: 1px solid rgba(183, 255, 42, 0.36);
  background: rgba(183, 255, 42, 0.92);
  color: #050505;
  box-shadow: 0 18px 42px rgba(183, 255, 42, 0.16);
}

.topic-soon-actions a {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.78);
}

.threads-guide-shell {
  width: min(100%, 1480px);
  margin: clamp(28px, 5vw, 72px) auto 0;
  display: grid;
  gap: clamp(18px, 3vw, 34px);
}

.threads-guide-intro,
.threads-toc,
.threads-module,
.threads-block {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 88% 12%, rgba(183, 255, 42, 0.1), transparent 32%),
    radial-gradient(circle at 12% 92%, rgba(141, 107, 255, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    #111113;
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.28);
}

.threads-guide-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: stretch;
  padding: clamp(22px, 3.4vw, 44px);
  border-radius: 30px;
}

.threads-guide-intro h3,
.threads-module-head h3,
.threads-block h3 {
  margin: 0;
  color: #fff;
  line-height: 0.98;
}

.threads-guide-intro h3 {
  font-size: clamp(2.1rem, 4vw, 4.8rem);
}

.threads-guide-intro p:not(.chapter-label),
.threads-module-head p:not(.chapter-label),
.threads-block p,
.threads-block li {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 650;
  line-height: 1.45;
}

.threads-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.threads-stat {
  min-height: 100%;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(183, 255, 42, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.15), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.05);
}

.threads-stat strong {
  color: var(--lime);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2.45rem);
  line-height: 0.95;
}

.threads-stat span {
  color: #fff;
  font-weight: 950;
}

.threads-stat p {
  margin: 0;
  font-size: 0.92rem;
}

.threads-visual-card {
  --visual-accent: var(--lime);
  --visual-glow: rgba(183, 255, 42, 0.3);
  --visual-base: #18171d;
  position: relative;
  min-height: 360px;
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: stretch;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(145deg, var(--visual-base), #101013 68%);
}

.threads-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.08) 48%, transparent 64%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 112px);
  opacity: 0.58;
}

.threads-visual-frame {
  position: relative;
  z-index: 2;
  width: min(74%, 760px);
  display: grid;
  align-content: space-between;
  gap: 32px;
  padding: clamp(22px, 3.4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px) saturate(1.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
  transform: rotate(-1.4deg);
}

.threads-visual-brand {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88);
  color: #191522;
  font-family: "Unbounded", sans-serif;
  font-weight: 950;
}

.threads-visual-card h3 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: 4.1rem;
  line-height: 0.96;
}

.threads-visual-card p:not(.chapter-label) {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.2rem;
  font-weight: 780;
}

.threads-visual-ring {
  position: absolute;
  z-index: 1;
  top: clamp(24px, 5vw, 70px);
  right: clamp(34px, 7vw, 120px);
  width: clamp(128px, 18vw, 240px);
  aspect-ratio: 1;
  border: clamp(24px, 4vw, 52px) solid var(--visual-accent);
  border-radius: 50%;
  filter: drop-shadow(0 20px 46px var(--visual-glow));
  opacity: 0.96;
}

.threads-visual-ribbon {
  position: absolute;
  z-index: 1;
  left: -8%;
  right: -8%;
  bottom: 18%;
  height: clamp(34px, 5vw, 72px);
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, var(--visual-accent) 22%, rgba(255, 255, 255, 0.5) 54%, transparent 86%);
  opacity: 0.82;
  transform: rotate(-8deg);
  filter: blur(0.2px) drop-shadow(0 18px 30px var(--visual-glow));
}

.threads-visual-violet {
  --visual-base: #211a37;
  --visual-glow: rgba(150, 109, 255, 0.28);
}

.threads-visual-lime {
  --visual-base: #172016;
  --visual-glow: rgba(183, 255, 42, 0.24);
}

.threads-visual-pink {
  --visual-base: #251629;
  --visual-accent: #ff9ac8;
  --visual-glow: rgba(255, 154, 200, 0.26);
}

.threads-visual-cyan {
  --visual-base: #102127;
  --visual-accent: #9df8ff;
  --visual-glow: rgba(157, 248, 255, 0.22);
}

.threads-visual-peach {
  --visual-base: #251b16;
  --visual-accent: #ffd2a1;
  --visual-glow: rgba(255, 210, 161, 0.2);
}

.threads-visual-deep {
  --visual-base: #12121e;
  --visual-accent: #b7ff2a;
  --visual-glow: rgba(183, 255, 42, 0.2);
}

.threads-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.threads-media-grid figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
}

.threads-media-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.threads-media-grid figcaption {
  padding: 12px 14px 14px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 750;
  line-height: 1.25;
}

.threads-article-flow {
  display: grid;
  gap: 14px;
}

.threads-article-flow p {
  margin: 0;
}

.threads-toc {
  position: sticky;
  top: 16px;
  z-index: 7;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 24px;
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.threads-toc a {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 950;
}

.threads-toc a:hover {
  transform: translateY(-1px);
  border-color: rgba(183, 255, 42, 0.34);
  background: rgba(183, 255, 42, 0.12);
}

.threads-toc span,
.threads-module-head > span,
.threads-step span {
  font-family: "IBM Plex Mono", monospace;
  color: var(--lime);
  font-weight: 900;
}

.threads-module-stack,
.threads-block-stack {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
}

.threads-module {
  scroll-margin-top: 120px;
  padding: clamp(20px, 3.2vw, 42px);
  border-radius: 32px;
}

.threads-module-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
  align-items: start;
  margin-bottom: clamp(18px, 3vw, 34px);
}

.threads-module-head > span {
  width: clamp(70px, 8vw, 112px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(135deg, rgba(183, 255, 42, 0.22), rgba(141, 107, 255, 0.16));
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.threads-module-head h3 {
  font-size: clamp(2rem, 4.4vw, 5rem);
}

.threads-module-head p:not(.chapter-label) {
  max-width: 900px;
  margin-top: 12px;
}

.threads-block {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 2.6vw, 30px);
  border-radius: 26px;
}

.threads-block h3 {
  font-size: clamp(1.35rem, 2.6vw, 2.4rem);
}

.threads-step-list,
.threads-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.threads-step,
.threads-mini-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.threads-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
}

.threads-step p {
  grid-column: 2;
}

.threads-step strong,
.threads-mini-card strong {
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.2;
}

.threads-step p,
.threads-mini-card p {
  margin: 0;
}

.threads-check-list ul,
.threads-avoid-list ul,
.threads-formula-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.threads-check-list li,
.threads-avoid-list li,
.threads-formula-card li {
  position: relative;
  padding: 14px 14px 14px 44px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.065);
}

.threads-check-list li::before,
.threads-formula-card li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(183, 255, 42, 0.56);
}

.threads-avoid-list li::before {
  content: "!";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 93, 133, 0.18);
  color: #ffb7ca;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 900;
}

.threads-prompt-card,
.threads-formula-card {
  border-color: rgba(183, 255, 42, 0.26);
  background:
    radial-gradient(circle at 92% 10%, rgba(183, 255, 42, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(183, 255, 42, 0.08), rgba(141, 107, 255, 0.09)),
    #111113;
}

.threads-prompt-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(183, 255, 42, 0.18);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.24);
}

.threads-prompt-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Inter", sans-serif;
  font-weight: 650;
}

.threads-example-list {
  display: grid;
  gap: 10px;
}

.threads-example-list blockquote {
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--lime);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 850;
}

.topic-detail[data-topic-slug="threads-growth"] {
  background:
    radial-gradient(circle at 88% 8%, rgba(183, 255, 42, 0.1), transparent 28rem),
    radial-gradient(circle at 14% 30%, rgba(126, 68, 255, 0.18), transparent 30rem),
    linear-gradient(180deg, #050506 0%, #0a0911 42%, #050506 100%);
}

.topic-detail[data-topic-slug="threads-growth"] .topic-backbar {
  position: relative;
  z-index: 8;
}

.topic-detail[data-topic-slug="threads-growth"] .topic-hero {
  border-color: rgba(183, 255, 42, 0.12);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 80% 18%, rgba(183, 255, 42, 0.16), transparent 28rem),
    radial-gradient(circle at 20% 90%, rgba(126, 68, 255, 0.24), transparent 30rem),
    linear-gradient(135deg, #060607 0%, #111019 52%, #061318 100%);
  background-size: 94px 94px, 94px 94px, auto, auto, auto;
}

.topic-detail[data-topic-slug="threads-growth"] .topic-hero h2 {
  max-width: 980px;
  line-height: 0.9;
}

.topic-detail[data-topic-slug="threads-growth"] .topic-hero p {
  font-weight: 700;
}

.threads-guide-shell {
  width: min(100%, 1260px);
  gap: clamp(22px, 3.4vw, 46px);
}

.threads-guide-intro,
.threads-toc,
.threads-module,
.threads-block {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.threads-guide-intro {
  display: block;
  padding: 0 0 clamp(28px, 4vw, 52px);
  border-bottom: 1px solid rgba(183, 255, 42, 0.2);
  border-radius: 0;
}

.threads-guide-intro h3 {
  max-width: 860px;
  font-size: clamp(2.3rem, 5.3vw, 6rem);
  line-height: 0.9;
}

.threads-guide-intro p:not(.chapter-label),
.threads-module-head p:not(.chapter-label),
.threads-block p,
.threads-block li {
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.62;
}

.threads-stat-grid {
  max-width: 980px;
  margin-top: clamp(22px, 3vw, 34px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.threads-stat {
  padding: 0 0 0 16px;
  border: 0;
  border-left: 2px solid rgba(183, 255, 42, 0.58);
  border-radius: 0;
  background: transparent;
}

.threads-stat strong {
  color: var(--lime);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
}

.threads-stat span {
  color: #fff;
  font-weight: 800;
}

.threads-stat p {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
}

.threads-toc {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 clamp(22px, 3vw, 38px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.threads-toc a {
  min-height: 34px;
  gap: 8px;
  padding: 7px 12px;
  border-color: rgba(183, 255, 42, 0.24);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.threads-toc a:hover {
  transform: translateY(-1px);
  background: rgba(183, 255, 42, 0.16);
}

.threads-module {
  padding: clamp(18px, 3vw, 42px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
}

.threads-module:first-child {
  border-top: 0;
}

.threads-module-head {
  max-width: 980px;
  gap: clamp(14px, 2vw, 24px);
}

.threads-module-head > span {
  width: auto;
  min-width: 58px;
  height: 34px;
  aspect-ratio: auto;
  border: 1px solid rgba(183, 255, 42, 0.34);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.08);
  box-shadow: none;
  font-size: 0.95rem;
}

.threads-module-head h3 {
  max-width: 920px;
  font-size: clamp(2rem, 4.7vw, 5.2rem);
  line-height: 0.92;
}

.threads-block-stack {
  max-width: 1040px;
}

.threads-block {
  gap: 12px;
  padding: clamp(14px, 2.2vw, 26px) 0;
  border-radius: 0;
}

.threads-block h3 {
  max-width: 880px;
  color: #fff;
  font-size: clamp(1.35rem, 2.7vw, 2.55rem);
  line-height: 1.05;
}

.threads-visual-card {
  min-height: 0;
  aspect-ratio: auto;
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
  align-items: start;
  padding: clamp(22px, 3vw, 36px) 0;
  overflow: visible;
  background: transparent;
}

.threads-visual-card::before,
.threads-visual-frame,
.threads-visual-brand,
.threads-visual-ring,
.threads-visual-ribbon {
  display: none;
}

.threads-visual-line {
  width: 5px;
  height: 100%;
  min-height: 110px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, var(--visual-accent, var(--lime)), rgba(126, 68, 255, 0.38), transparent);
  box-shadow: 0 0 28px var(--visual-glow, rgba(183, 255, 42, 0.24));
}

.threads-visual-card h3 {
  max-width: 900px;
  font-size: clamp(2rem, 4.4vw, 5rem);
  line-height: 0.92;
}

.threads-visual-card p:not(.chapter-label) {
  max-width: 820px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 500;
  line-height: 1.58;
}

.threads-media-card {
  padding: 18px 0 clamp(24px, 3vw, 38px);
}

.threads-media-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.threads-media-grid figure {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.threads-media-grid img {
  border-radius: 22px;
}

.threads-media-grid figcaption {
  padding: 9px 2px 0;
  color: rgba(255, 255, 255, 0.56);
  font-weight: 500;
}

.threads-step-list,
.threads-card-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.threads-step,
.threads-mini-card {
  padding: 16px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0;
  background: transparent;
}

.threads-step:first-child,
.threads-mini-card:first-child {
  border-top: 0;
}

.threads-step strong,
.threads-mini-card strong {
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.threads-step p,
.threads-mini-card p {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 500;
}

.threads-check-list ul,
.threads-avoid-list ul,
.threads-formula-card ul {
  gap: 0;
}

.threads-check-list li,
.threads-avoid-list li,
.threads-formula-card li {
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
}

.threads-check-list li::before,
.threads-formula-card li::before {
  left: 2px;
  top: 20px;
  width: 8px;
  height: 8px;
}

.threads-avoid-list li::before {
  left: 0;
  top: 14px;
  background: transparent;
}

.threads-prompt-card,
.threads-formula-card {
  border-color: rgba(183, 255, 42, 0.2);
  border-top: 1px solid rgba(183, 255, 42, 0.2);
  background: transparent;
}

.threads-formula-card > strong {
  color: var(--lime);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
}

.threads-prompt-box {
  border-color: rgba(183, 255, 42, 0.22);
  border-radius: 18px;
  background: rgba(183, 255, 42, 0.06);
}

.threads-prompt-box p {
  font-weight: 500;
  line-height: 1.55;
}

.threads-example-list blockquote {
  padding: 14px 0 14px 18px;
  border-left-color: var(--lime);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.55;
}

.pinterest-lesson-page {
  background:
    radial-gradient(circle at 8% 12%, rgba(183, 255, 42, 0.14), transparent 34%),
    radial-gradient(circle at 92% 4%, rgba(255, 93, 133, 0.18), transparent 34%),
    radial-gradient(circle at 54% 92%, rgba(141, 107, 255, 0.2), transparent 38%),
    #050505;
  color: #fff;
}

.pinterest-lesson {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  padding-bottom: clamp(56px, 7vw, 104px);
}

.pinterest-hero,
.pinterest-section,
.pinterest-helper-panel,
.pinterest-final {
  border: 1px solid rgba(183, 255, 42, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(183, 255, 42, 0.1), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    #111113;
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.32);
}

.pinterest-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.72fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 52px);
}

.pinterest-hero-copy,
.pinterest-section-head,
.pinterest-helper-panel,
.pinterest-final-copy,
.pinterest-step-card,
.pinterest-download-card {
  min-width: 0;
}

.pinterest-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pinterest-hero-copy h1,
.pinterest-section h2,
.pinterest-helper-panel h2,
.pinterest-final h2 {
  margin: 0;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  line-height: 0.96;
}

.pinterest-hero-copy h1 {
  max-width: 920px;
  font-size: clamp(2.8rem, 6.5vw, 7rem);
}

.pinterest-section h2,
.pinterest-helper-panel h2,
.pinterest-final h2 {
  font-size: clamp(1.9rem, 3.2vw, 4rem);
}

.pinterest-hero-copy p,
.pinterest-section-head p,
.pinterest-step-card p,
.pinterest-helper-panel p,
.pinterest-final p,
.pinterest-download-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  line-height: 1.45;
}

.pinterest-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
}

.pinterest-hero-tags span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(183, 255, 42, 0.24);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(183, 255, 42, 0.08);
  color: #d6ff7a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pinterest-hero-media {
  display: grid;
  gap: 10px;
  align-content: stretch;
  margin: 0;
}

.pinterest-hero-media > .pinterest-image-link > img,
.pinterest-step-card img,
.pinterest-analytics-grid img,
.pinterest-final-media img {
  width: 100%;
  display: block;
  border-radius: 22px;
  background: #050505;
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.38);
}

.pinterest-hero-media > .pinterest-image-link {
  height: 100%;
}

.pinterest-hero-media > .pinterest-image-link > img {
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
}

.pinterest-mini-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pinterest-mini-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.pinterest-image-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.pinterest-image-link:hover img {
  transform: translateY(-2px);
  box-shadow:
    0 24px 68px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(183, 255, 42, 0.12);
}

.pinterest-section,
.pinterest-helper-panel,
.pinterest-final {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3.4vw, 42px);
}

.pinterest-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(280px, 0.45fr);
  gap: 18px;
  align-items: end;
}

.pinterest-web-alert {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid rgba(255, 93, 133, 0.48);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 93, 133, 0.22), transparent 36%),
    rgba(255, 93, 133, 0.08);
  box-shadow:
    0 0 28px rgba(255, 93, 133, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: pinterest-alert-pulse 1.55s ease-in-out infinite;
}

.pinterest-web-alert strong {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  background: #ff5d85;
  color: #08070a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pinterest-web-alert span {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
  line-height: 1.35;
}

@keyframes pinterest-alert-pulse {
  0%,
  100% {
    border-color: rgba(255, 93, 133, 0.42);
    box-shadow:
      0 0 22px rgba(255, 93, 133, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    border-color: rgba(183, 255, 42, 0.72);
    box-shadow:
      0 0 34px rgba(183, 255, 42, 0.16),
      0 0 18px rgba(255, 93, 133, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
}

.pinterest-download-grid,
.pinterest-step-grid,
.pinterest-analytics-grid {
  display: grid;
  gap: 14px;
}

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

.pinterest-download-card {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pinterest-download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 255, 42, 0.38);
  background: rgba(183, 255, 42, 0.1);
}

.pinterest-download-card .pinterest-file-type,
.pinterest-step-card span,
.pinterest-final figcaption {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pinterest-download-card h3,
.pinterest-step-card h3 {
  margin: 0;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.15rem, 1.6vw, 1.8rem);
  line-height: 1.04;
}

.pinterest-download-card .pinterest-file-type {
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(183, 255, 42, 0.1);
}

.pinterest-download-card .hero-button,
.pinterest-helper-panel .hero-button,
.pinterest-final .hero-button {
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--lime);
  color: #050505;
  font-weight: 950;
  text-decoration: none;
}

.pinterest-helper-panel {
  grid-template-columns: minmax(0, 0.72fr) minmax(220px, 0.28fr);
  align-items: center;
  border-color: rgba(255, 93, 133, 0.26);
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 93, 133, 0.18), transparent 32%),
    radial-gradient(circle at 10% 90%, rgba(183, 255, 42, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    #111113;
}

.pinterest-helper-badge {
  justify-self: end;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(183, 255, 42, 0.34);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 900;
  text-transform: uppercase;
}

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

.pinterest-step-card {
  display: grid;
  gap: 12px;
}

.pinterest-step-card:first-child {
  grid-column: 1 / -1;
}

.pinterest-step-card:first-child .pinterest-step-image {
  width: min(50%, 820px);
  justify-self: center;
}

.pinterest-step-image {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.pinterest-step-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pinterest-step-card:first-child img {
  aspect-ratio: 815 / 236;
  object-fit: contain;
  background: #050505;
}

.pinterest-step-image:hover img {
  transform: translateY(-2px);
  box-shadow:
    0 24px 68px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(183, 255, 42, 0.12);
}

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

.pinterest-analytics-grid .pinterest-image-link:first-child {
  grid-column: 1 / -1;
}

.pinterest-final {
  grid-template-columns: minmax(300px, 0.56fr) minmax(0, 0.44fr);
  align-items: center;
}

.pinterest-final-media {
  margin: 0;
}

.pinterest-final-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: center;
}

.pinterest-final-copy .chapter-label {
  margin-bottom: 2px;
}

.pinterest-final-copy h2 {
  max-width: 760px;
}

.pinterest-final-copy p:not(.chapter-label) {
  max-width: 820px;
}

.pinterest-final-media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}

.pinterest-final:not(.pinterest-ad-complete) .pinterest-final-media img {
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 50%, rgba(183, 255, 42, 0.08), transparent 42%),
    #050505;
}

.pinterest-ad-complete {
  border-color: rgba(255, 93, 133, 0.24);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 93, 133, 0.14), transparent 32%),
    radial-gradient(circle at 12% 90%, rgba(183, 255, 42, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    #111113;
}

.pinterest-ad-complete .pinterest-final-media img {
  object-fit: contain;
  background: #050505;
}

@media (prefers-reduced-motion: reduce) {
  .pinterest-web-alert {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .video-page .section-material-grid,
  .video-page .paid-lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-work-page .section-material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .threads-guide-intro,
  .topic-soon-panel,
  .threads-stat-grid,
  .threads-toc,
  .threads-step-list,
  .threads-card-grid,
  .threads-media-grid {
    grid-template-columns: 1fr;
  }

  .threads-visual-card h3 {
    font-size: 3.2rem;
  }

  .threads-visual-frame {
    width: min(82%, 720px);
  }

  .plush-lesson-hero,
  .plush-prompt-split,
  .plush-next-block,
  .pinterest-hero,
  .pinterest-section-head,
  .pinterest-helper-panel,
  .pinterest-final {
    grid-template-columns: 1fr;
  }

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

  .plush-tool-grid,
  .plush-example-grid,
  .pinterest-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .video-page .video-catalog-intro h1 {
    font-size: clamp(2.35rem, 13vw, 4.1rem);
  }

  .video-page .section-material-grid,
  .video-page .paid-lesson-grid,
  .video-page .subpage-section-head,
  .client-work-page .section-material-grid,
  .plush-pipeline,
  .plush-tool-grid,
  .plush-example-grid,
  .plush-video-grid {
    grid-template-columns: 1fr;
  }

  .video-page .paid-lesson-card-featured {
    grid-column: auto;
  }

  .video-page .motion-control-card {
    grid-column: auto;
  }

  .video-hero-tags span {
    width: 100%;
    justify-content: center;
  }

  .plush-lesson-section {
    padding-inline: 12px;
  }

  .plush-lesson-hero,
  .plush-lesson-block,
  .threads-guide-intro,
  .topic-soon-panel,
  .threads-visual-card,
  .threads-module,
  .threads-block,
  .pinterest-hero,
  .pinterest-section,
  .pinterest-helper-panel,
  .pinterest-final {
    border-radius: 24px;
  }

  .threads-guide-shell {
    margin-top: 22px;
  }

  .topic-soon-panel {
    padding: 22px;
  }

  .topic-soon-actions {
    justify-items: stretch;
  }

  .topic-soon-actions span,
  .topic-soon-actions a {
    width: 100%;
  }

  .threads-visual-card {
    min-height: 300px;
    aspect-ratio: auto;
    padding: 16px;
  }

  .threads-visual-frame {
    width: 100%;
    min-height: 268px;
    padding: 20px;
    transform: none;
  }

  .threads-visual-card h3 {
    font-size: 2.35rem;
  }

  .threads-visual-card p:not(.chapter-label) {
    font-size: 1rem;
  }

  .threads-visual-ring {
    top: 18px;
    right: -22px;
    width: 116px;
    border-width: 24px;
  }

  .threads-visual-ribbon {
    left: -18%;
    right: -18%;
    bottom: 20%;
    height: 38px;
  }

  .threads-toc {
    position: static;
  }

  .threads-module {
    padding: 18px;
  }

  .threads-module-head {
    grid-template-columns: 1fr;
  }

  .threads-module-head > span {
    width: 70px;
    border-radius: 22px;
  }

  .threads-step {
    grid-template-columns: 1fr;
  }

  .threads-step p {
    grid-column: auto;
  }

  .threads-prompt-box {
    grid-template-columns: 1fr;
  }

  .plush-lesson-copy h2 {
    font-size: clamp(2.15rem, 12vw, 3.7rem);
  }

  .plush-lesson-actions,
  .plush-lesson-actions .hero-button,
  .pinterest-download-card .hero-button,
  .pinterest-helper-panel .hero-button,
  .pinterest-final .hero-button {
    width: 100%;
  }

  .pinterest-web-alert {
    align-items: flex-start;
    flex-direction: column;
  }

  .pinterest-download-grid,
  .pinterest-step-grid,
  .pinterest-analytics-grid,
  .pinterest-mini-strip {
    grid-template-columns: 1fr;
  }

  .pinterest-step-card:first-child .pinterest-step-image {
    width: 100%;
  }

  .pinterest-hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 4.2rem);
  }

  .plush-lesson-hero-media img {
    min-height: 220px;
  }

  .plush-pipeline article,
  .plush-tool-grid article {
    min-height: 0;
  }

  .plush-prompt-card pre,
  .plush-codex-block pre {
    font-size: 0.78rem;
  }
}

/* Heading wrapping guard: keep titles from breaking into single-letter fragments on narrow screens. */
h1,
h2,
h3,
.platform-shell h1,
.platform-shell h2,
.platform-shell h3,
.platform-card h3,
.llm-menu-card h3,
.section-material-card h3,
.subpage-copy h1,
.subpage-section-head h2,
.topic-copy h2,
.texture-hero-copy h2,
.creative-hero-copy h2,
.texture-collection-head h3,
.profession-card h3,
.prompt-case-hero h1,
.prompt-case-section h2,
.prompt-case-cta h2,
.video-page .video-catalog-intro h1,
.video-page .subpage-section-head h2,
.pinterest-hero-copy h1,
.pinterest-section h2,
.pinterest-helper-panel h2,
.pinterest-final h2 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

@media (max-width: 680px) {
  h1,
  .subpage-copy h1,
  .llm-menu-intro h1,
  .video-page .video-catalog-intro h1,
  .prompt-case-hero h1,
  .pinterest-hero-copy h1 {
    line-height: 1.02;
  }

  .platform-dashboard-page .platform-card h3,
  .section-material-card h3,
  .video-page .section-material-card h3 {
    font-size: clamp(1.18rem, 6.4vw, 1.6rem);
    line-height: 1.08;
  }

  .prompts-styles-page .subpage-copy h1 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }

  .prompts-styles-page .section-material-card h3 {
    font-size: clamp(1.12rem, 5vw, 1.34rem);
  }

  .platform-dashboard-page .platform-card h3 {
    padding-right: 28px;
  }

  .subpage-section-head h2,
  .topic-copy h2,
  .texture-hero-copy h2,
  .creative-hero-copy h2,
  .texture-collection-head h3,
  .prompt-case-section h2,
  .prompt-case-cta h2 {
    line-height: 1.02;
  }
}

/* Review widgets final responsive override. */
@media (max-width: 900px) {
  .review-zone,
  .review-admin-panel {
    border-radius: 24px;
    padding: 20px;
  }

  .review-zone-head {
    flex-direction: column;
  }

  .review-open-button,
  .review-submit-button,
  .review-admin-shortcut,
  .review-admin-tabs,
  .review-admin-tabs button {
    width: 100%;
  }

  .review-list,
  .review-admin-list {
    grid-template-columns: 1fr;
  }

  .review-admin-actions {
    flex-direction: column;
  }

  .review-admin-actions button {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .review-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    font-size: 0.78rem;
  }

  .review-card-top {
    flex-direction: column;
    gap: 6px;
  }

  .review-dialog {
    max-height: calc(100svh - 28px);
    overflow: auto;
  }

  .review-rating {
    justify-content: space-between;
  }

  .review-rating button {
    width: 100%;
  }
}

/* Threads final order guard: keep after every legacy rule. */
body .topic-detail[data-topic-slug="threads-growth"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 14%, rgba(183, 255, 42, 0.13), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(141, 107, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 58% 82%, rgba(255, 135, 194, 0.1), transparent 24rem),
    linear-gradient(135deg, #050506 0%, #101018 54%, #061006 100%);
  background-size: 96px 96px, 96px 96px, auto, auto, auto, auto;
}

body .topic-detail[data-topic-slug="threads-growth"]::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 28%, rgba(183, 255, 42, 0.18), transparent 18rem),
    radial-gradient(circle at 74% 36%, rgba(126, 68, 255, 0.24), transparent 22rem),
    radial-gradient(circle at 52% 76%, rgba(255, 119, 197, 0.12), transparent 20rem);
  filter: blur(8px);
  opacity: 0.8;
  animation: threadsGlowDrift 18s ease-in-out infinite alternate;
}

body .topic-detail[data-topic-slug="threads-growth"] > * {
  position: relative;
  z-index: 1;
}

body .topic-detail[data-topic-slug="threads-growth"] .topic-hero {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(183, 255, 42, 0.15), transparent 22rem),
    radial-gradient(circle at 14% 82%, rgba(126, 68, 255, 0.22), transparent 26rem),
    transparent;
  box-shadow: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .topic-copy h2 {
  max-width: 1100px;
  color: #fff;
  font-size: clamp(3.6rem, 9vw, 8.7rem);
  line-height: 0.88;
  letter-spacing: 0;
}

body .topic-detail[data-topic-slug="threads-growth"] .topic-copy p,
body .topic-detail[data-topic-slug="threads-growth"] .topic-hero p {
  max-width: 920px;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.55vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-guide-shell {
  width: min(100%, 1480px);
  display: grid;
  gap: clamp(32px, 5vw, 78px);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 54px) clamp(16px, 4vw, 52px) clamp(72px, 9vw, 132px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-guide-intro,
body .topic-detail[data-topic-slug="threads-growth"] .threads-stat-grid {
  display: none !important;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-toc {
  position: static;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 0 clamp(28px, 4vw, 54px);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-toc a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.22s ease, color 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-toc a span {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-toc a:hover,
body .topic-detail[data-topic-slug="threads-growth"] .threads-toc a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 42, 0.52);
  background: linear-gradient(110deg, rgba(183, 255, 42, 0.16), rgba(141, 107, 255, 0.08)), rgba(255, 255, 255, 0.045);
  color: #fff;
  box-shadow: 0 16px 38px rgba(183, 255, 42, 0.12);
  outline: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module-stack {
  display: grid;
  gap: clamp(46px, 7vw, 112px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(30px, 5vw, 74px) clamp(18px, 4.4vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: clamp(24px, 3vw, 38px);
  background: radial-gradient(circle at 92% 12%, rgba(183, 255, 42, 0.11), transparent 24rem), radial-gradient(circle at 12% 88%, rgba(126, 68, 255, 0.13), transparent 22rem), linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)), rgba(10, 10, 12, 0.78);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
  scroll-margin-top: 112px;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module:nth-child(2n) {
  background: radial-gradient(circle at 12% 16%, rgba(255, 123, 198, 0.12), transparent 22rem), radial-gradient(circle at 92% 86%, rgba(183, 255, 42, 0.12), transparent 24rem), linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022)), rgba(9, 9, 11, 0.78);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: min(34vw, 430px);
  aspect-ratio: 1;
  border-radius: 42%;
  background: radial-gradient(circle at 38% 34%, rgba(183, 255, 42, 0.22), transparent 34%), linear-gradient(135deg, rgba(183, 255, 42, 0.24), rgba(126, 68, 255, 0.14));
  opacity: 0.5;
  filter: blur(2px);
  transform: rotate(-12deg);
  pointer-events: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module > * {
  position: relative;
  z-index: 1;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(88px, 0.22fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head > span {
  width: auto;
  min-width: 74px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(183, 255, 42, 0.42);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.08);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.95rem;
  font-weight: 800;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head .chapter-label,
body .topic-detail[data-topic-slug="threads-growth"] .threads-block .chapter-label {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.54);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head h3 {
  max-width: 1050px;
  margin: 0;
  color: #fff;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(2.55rem, 5.8vw, 6.3rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head p:not(.chapter-label) {
  max-width: 820px;
  margin: clamp(14px, 2vw, 22px) 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.02rem, 1.25vw, 1.24rem);
  font-weight: 450;
  line-height: 1.62;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-block-stack {
  max-width: none;
  display: grid;
  gap: clamp(24px, 4vw, 54px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-block {
  display: grid;
  gap: clamp(12px, 1.8vw, 20px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-block h3 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.65rem, 3vw, 3.25rem);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: 0;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-block p,
body .topic-detail[data-topic-slug="threads-growth"] .threads-block li,
body .topic-detail[data-topic-slug="threads-growth"] .threads-step p,
body .topic-detail[data-topic-slug="threads-growth"] .threads-mini-card p,
body .topic-detail[data-topic-slug="threads-growth"] .threads-example-list blockquote,
body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box p {
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  font-weight: 430;
  line-height: 1.64;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-block strong,
body .topic-detail[data-topic-slug="threads-growth"] .threads-step strong,
body .topic-detail[data-topic-slug="threads-growth"] .threads-mini-card strong {
  color: #fff;
  font-weight: 720;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card {
  min-height: clamp(260px, 32vw, 430px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.48fr);
  align-items: end;
  gap: clamp(20px, 4vw, 54px);
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: clamp(24px, 3vw, 34px);
  background: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px), radial-gradient(circle at 84% 26%, var(--visual-glow, rgba(183, 255, 42, 0.2)), transparent 18rem), radial-gradient(circle at 16% 90%, rgba(126, 68, 255, 0.24), transparent 20rem), linear-gradient(135deg, rgba(16, 16, 20, 0.88), rgba(8, 8, 10, 0.92));
  background-size: 78px 78px, 78px 78px, auto, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 64px rgba(0, 0, 0, 0.24);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card::before,
body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-frame,
body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-brand,
body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-ring,
body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-ribbon {
  display: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-line {
  align-self: stretch;
  width: 6px;
  min-height: 130px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--visual-accent, var(--lime)), rgba(126, 68, 255, 0.52), rgba(255, 119, 197, 0.36));
  box-shadow: 0 0 32px var(--visual-glow, rgba(183, 255, 42, 0.2));
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card h3 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(2.2rem, 5.2vw, 5.8rem);
  font-weight: 800;
  line-height: 0.92;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card p:not(.chapter-label) {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 430;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 24px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid figure {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(18px, 2.2vw, 28px);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.32);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid figcaption {
  padding: 10px 2px 0;
  color: rgba(255, 255, 255, 0.56);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 450;
  line-height: 1.35;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-step-list,
body .topic-detail[data-topic-slug="threads-growth"] .threads-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-step,
body .topic-detail[data-topic-slug="threads-growth"] .threads-mini-card,
body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-card,
body .topic-detail[data-topic-slug="threads-growth"] .threads-formula-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: radial-gradient(circle at 100% 0%, rgba(183, 255, 42, 0.09), transparent 18rem), rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-step,
body .topic-detail[data-topic-slug="threads-growth"] .threads-mini-card {
  padding: clamp(16px, 2vw, 24px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-card,
body .topic-detail[data-topic-slug="threads-growth"] .threads-formula-card {
  padding: clamp(18px, 2.8vw, 30px);
  border-color: rgba(183, 255, 42, 0.18);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2.3vw, 24px);
  border: 1px solid rgba(183, 255, 42, 0.24);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box p {
  margin: 0;
  max-height: none;
  padding-right: clamp(42px, 6vw, 62px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box .copy-prompt {
  position: absolute;
  top: 14px;
  right: 14px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-check-list ul,
body .topic-detail[data-topic-slug="threads-growth"] .threads-avoid-list ul,
body .topic-detail[data-topic-slug="threads-growth"] .threads-formula-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-check-list li,
body .topic-detail[data-topic-slug="threads-growth"] .threads-avoid-list li,
body .topic-detail[data-topic-slug="threads-growth"] .threads-formula-card li,
body .topic-detail[data-topic-slug="threads-growth"] .threads-example-list blockquote {
  position: relative;
  margin: 0;
  padding: 14px 16px 14px 22px;
  border: 0;
  border-left: 5px solid rgba(183, 255, 42, 0.82);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, rgba(183, 255, 42, 0.12), rgba(255, 255, 255, 0.04)), rgba(255, 255, 255, 0.035);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-avoid-list li {
  border-left-color: rgba(255, 119, 197, 0.72);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-check-list li::before,
body .topic-detail[data-topic-slug="threads-growth"] .threads-avoid-list li::before,
body .topic-detail[data-topic-slug="threads-growth"] .threads-formula-card li::before {
  display: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-formula-card > strong {
  color: var(--lime);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.18rem, 1.8vw, 1.7rem);
  font-weight: 720;
  line-height: 1.32;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-tool-title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-tool-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), transparent 36%), linear-gradient(135deg, #1ee8d6, #7b5cff 58%, #111);
  color: #06100d;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(30, 232, 214, 0.22);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-resource-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid rgba(183, 255, 42, 0.78);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(183, 255, 42, 0.95), rgba(132, 255, 242, 0.78));
  color: #171125;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(183, 255, 42, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-resource-link:hover,
body .topic-detail[data-topic-slug="threads-growth"] .threads-resource-link:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 20px 46px rgba(183, 255, 42, 0.26);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-resource-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-media-card-compact {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-media-card-compact .threads-media-grid {
  grid-template-columns: 1fr;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-media-card-compact .threads-media-grid figure {
  padding: 0;
  border-radius: 28px;
  background: transparent;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-media-card-compact .threads-media-grid img {
  width: 100%;
  max-height: none;
  object-fit: contain;
}

@media (max-width: 980px) {
  body .topic-detail[data-topic-slug="threads-growth"] .threads-toc,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-step-list,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head {
    grid-template-columns: 1fr;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card {
    grid-template-columns: 6px minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 640px) {
  body .topic-detail[data-topic-slug="threads-growth"] {
    background-size: 70px 70px, 70px 70px, auto, auto, auto, auto;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .topic-copy h2 {
    font-size: clamp(3rem, 17vw, 5.3rem);
    line-height: 0.9;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-guide-shell {
    padding-inline: 14px;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-toc,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-step-list,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-card-grid {
    grid-template-columns: 1fr;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-module {
    padding: 24px 16px;
    border-radius: 24px;
    scroll-margin-top: 84px;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-resource-link {
    width: 100%;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head h3 {
    font-size: clamp(2.35rem, 13vw, 4.5rem);
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-block h3,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card h3 {
    font-size: clamp(1.72rem, 9.4vw, 3.25rem);
    line-height: 1;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card {
    min-height: 0;
    padding: 22px 16px;
    border-radius: 22px;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-media-grid img {
    aspect-ratio: 4 / 3;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box p {
    padding-right: 0;
    padding-top: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .topic-detail[data-topic-slug="threads-growth"]::before {
    animation: none;
  }
}

/* Copy buttons final feedback state. */
body .skin-copy-button.copy-prompt.is-copied,
body .skin-copy-button.copy-prompt.is-copied:hover,
body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box .copy-prompt.is-copied,
body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box .copy-prompt.is-copied:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: #050505;
  box-shadow:
    0 0 0 1px rgba(183, 255, 42, 0.35),
    0 0 28px rgba(183, 255, 42, 0.34);
}

body .skin-copy-button.copy-prompt.is-copied svg,
body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box .copy-prompt.is-copied svg {
  color: #050505;
  stroke: #050505;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-tool-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(40, 137, 143, 0.42);
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.26), transparent 34%),
    rgba(40, 137, 143, 0.1);
  color: #2a8c91;
  box-shadow: 0 0 24px rgba(42, 140, 145, 0.16);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-tool-icon svg {
  width: 30px;
  height: 30px;
  display: block;
  stroke: currentColor;
  stroke-width: 4.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

/* Threads heading wrap guard: never split words inside large titles. */
body .topic-detail[data-topic-slug="threads-growth"] .topic-copy h2,
body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head h3,
body .topic-detail[data-topic-slug="threads-growth"] .threads-block h3,
body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card h3 {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card {
  grid-template-columns: 6px minmax(0, 1fr);
  gap: clamp(26px, 5.4vw, 86px);
  padding-right: clamp(34px, 5.2vw, 82px);
  padding-left: clamp(34px, 5.2vw, 82px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card > div:not(.threads-visual-line) {
  min-width: 0;
  width: min(100%, 920px);
  justify-self: end;
  padding-right: clamp(20px, 2.8vw, 48px);
}

body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card h3 {
  width: 100%;
  max-width: 920px;
  font-size: clamp(2.15rem, 4.7vw, 5.25rem);
  line-height: 0.94;
}

@media (max-width: 980px) {
  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card {
    gap: clamp(18px, 4vw, 34px);
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card > div:not(.threads-visual-line) {
    width: 100%;
    justify-self: stretch;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card {
    padding: 22px 18px;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card h3 {
    font-size: clamp(2rem, 11.5vw, 3.15rem);
    line-height: 0.98;
  }
}
/* P0 commercial funnel polish */
.hero-proof {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-proof {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 0;
  margin: clamp(14px, 1.7vw, 20px) 0 0;
  padding: clamp(16px, 1.55vw, 20px) clamp(18px, 2.2vw, 26px);
  overflow: hidden;
  border: 1px solid rgba(255, 184, 220, 0.38);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 184, 220, 0.2), transparent 18rem),
    radial-gradient(circle at 100% 0%, rgba(183, 255, 42, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(33, 26, 47, 0.86), rgba(60, 51, 78, 0.62));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 54px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-weight: 850;
  line-height: 1.3;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

.hero-proof::before {
  display: none;
}

.hero-proof:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 184, 220, 0.78);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 184, 220, 0.34), transparent 18rem),
    radial-gradient(circle at 86% 8%, rgba(183, 255, 42, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(61, 33, 75, 0.94), rgba(82, 55, 86, 0.72));
  box-shadow:
    0 0 0 1px rgba(255, 184, 220, 0.28),
    0 0 34px rgba(255, 184, 220, 0.22),
    0 22px 66px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero-proof::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  z-index: -1;
  height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--pink), var(--lime), var(--cyan));
  opacity: 0.86;
}

.hero-price-note {
  position: relative;
  margin: 0;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  line-height: 1.35;
}

.hero-price-note::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--lime), var(--pink));
  box-shadow: 0 0 18px rgba(183, 255, 42, 0.2);
}

.public-demo-section,
.public-day-one-section,
.platform-start-section {
  width: min(1180px, calc(100% - 32px));
  margin: 64px auto;
}

.demo-update-marquee {
  min-height: clamp(54px, 5vw, 68px);
  margin-top: clamp(30px, 4vw, 54px);
  margin-bottom: 0;
  border-block-color: rgba(255, 184, 220, 0.38);
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 184, 220, 0.34), transparent 28rem),
    radial-gradient(circle at 82% 50%, rgba(183, 255, 42, 0.18), transparent 24rem),
    linear-gradient(90deg, var(--text), rgba(60, 51, 78, 0.98) 52%, var(--ink));
  box-shadow:
    0 0 28px rgba(255, 184, 220, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(255, 184, 220, 0.18);
}

.demo-update-marquee::before {
  background: linear-gradient(90deg, var(--text), transparent);
}

.demo-update-marquee::after {
  background: linear-gradient(270deg, var(--ink), transparent);
}

.demo-update-marquee .hero-marquee-track {
  animation-duration: 26s;
}

.demo-update-marquee:hover .hero-marquee-track,
.demo-update-marquee:focus-within .hero-marquee-track {
  animation-play-state: paused;
}

.demo-update-marquee .hero-marquee-track span {
  color: var(--pink);
  font-size: clamp(0.82rem, 1.08vw, 1.05rem);
  text-shadow:
    0 0 10px rgba(255, 184, 220, 0.74),
    0 0 26px rgba(255, 184, 220, 0.38),
    0 0 42px rgba(191, 244, 255, 0.2);
}

.demo-update-marquee .hero-marquee-track span:nth-child(3n) {
  color: var(--bg-warm);
  text-shadow:
    0 0 10px rgba(255, 184, 220, 0.5),
    0 0 26px rgba(183, 255, 42, 0.22);
}

.demo-update-marquee .hero-marquee-track span::before {
  background: var(--pink);
  box-shadow:
    0 0 16px rgba(255, 184, 220, 0.9),
    0 0 30px rgba(255, 184, 220, 0.42);
}

.demo-update-marquee + .public-demo-showcase {
  margin-top: 0;
}

.demo-try-marquee {
  min-height: clamp(58px, 5.4vw, 76px);
  margin-top: clamp(18px, 3vw, 34px);
  margin-bottom: 0;
  border-block-color: rgba(141, 107, 255, 0.5);
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 184, 220, 0.24), transparent 24rem),
    radial-gradient(circle at 78% 50%, rgba(191, 244, 255, 0.18), transparent 22rem),
    linear-gradient(90deg, var(--violet), var(--purple) 46%, var(--text));
  box-shadow:
    0 0 34px rgba(141, 107, 255, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 184, 220, 0.2);
}

.demo-try-marquee::before {
  background: linear-gradient(90deg, var(--violet), transparent);
}

.demo-try-marquee::after {
  background: linear-gradient(270deg, var(--text), transparent);
}

.demo-try-marquee .hero-marquee-track {
  animation-duration: 22s;
}

.demo-try-marquee:hover .hero-marquee-track,
.demo-try-marquee:focus-within .hero-marquee-track {
  animation-play-state: paused;
}

.demo-try-marquee .hero-marquee-track span {
  color: var(--bg-warm);
  font-size: clamp(0.95rem, 1.34vw, 1.32rem);
  letter-spacing: 0;
  text-shadow:
    0 0 10px rgba(255, 184, 220, 0.7),
    0 0 28px rgba(141, 107, 255, 0.56),
    0 0 44px rgba(191, 244, 255, 0.24);
}

.demo-try-marquee .hero-marquee-track span::before {
  background: var(--pink);
  box-shadow:
    0 0 18px rgba(255, 184, 220, 0.9),
    0 0 32px rgba(141, 107, 255, 0.48);
}

.demo-try-marquee + .public-demo-section.public-demo-showcase {
  margin-top: 0;
  padding-top: clamp(58px, 7vw, 104px);
  background:
    radial-gradient(circle at 10% 0%, rgba(141, 107, 255, 0.32), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(191, 244, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 50% 100%, rgba(183, 255, 42, 0.14), transparent 30rem),
    linear-gradient(
      180deg,
      rgba(60, 51, 78, 0.92) 0%,
      var(--text) 18%,
      var(--ink) 68%,
      rgba(60, 51, 78, 0.82) 88%,
      rgba(245, 244, 255, 0) 100%
    );
}

.demo-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: center;
  margin-top: 24px;
}

.demo-feature-media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(33, 26, 47, 0.96), rgba(60, 51, 78, 0.88)),
    var(--text);
  box-shadow: var(--shadow-soft);
}

.demo-feature-media::after {
  content: "";
  position: absolute;
  inset: 18px auto auto 18px;
  width: min(220px, 42%);
  height: 4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--lime), var(--pink), var(--cyan));
  opacity: 0.86;
  pointer-events: none;
}

.demo-feature video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.demo-feature-copy,
.demo-proof-card,
.day-one-grid article,
.platform-start-card {
  border: 1px solid rgba(33, 26, 47, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 44px rgba(91, 65, 150, 0.12);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.demo-feature-copy {
  padding: 24px;
  align-self: stretch;
}

.demo-feature-copy h3,
.demo-proof-card h3,
.day-one-grid h3,
.platform-start-card h3 {
  margin: 0 0 10px;
}

.demo-feature-copy dl {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.demo-feature-copy dl > div {
  padding: 12px 0;
  border-top: 1px solid rgba(33, 26, 47, 0.1);
}

.demo-feature-copy dt {
  margin: 0 0 4px;
  font: 700 12px/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.demo-feature-copy dd {
  margin: 0;
  color: var(--text-soft);
}

.demo-proof-grid,
.day-one-grid,
.platform-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.demo-proof-card,
.day-one-grid article,
.platform-start-card {
  padding: 20px;
}

.demo-proof-card,
.day-one-grid article {
  display: flex;
  flex-direction: column;
}

.proof-card-media,
.day-one-visual {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 0 16px;
  padding: 14px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(205, 184, 255, 0.22)),
    var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.proof-card-media img,
.day-one-visual img {
  position: absolute;
  inset: 14px;
  display: block;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  border-radius: calc(var(--radius-md) - 6px);
}

.proof-card-media {
  aspect-ratio: 4 / 3;
}

.proof-card-media-wide {
  aspect-ratio: 16 / 9;
}

.day-one-visual {
  aspect-ratio: 16 / 10;
}

.day-one-visual img {
  max-height: 100%;
}

.day-one-grid span,
.platform-start-card small {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--violet);
  font: 800 12px/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-feature:hover .demo-feature-copy,
.demo-feature:focus-within .demo-feature-copy {
  border-color: rgba(183, 255, 42, 0.54);
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.22), rgba(255, 184, 220, 0.24)),
    var(--glass-strong);
  box-shadow: 0 24px 70px rgba(141, 107, 255, 0.2);
}

.demo-proof-card:hover,
.demo-proof-card:focus-within,
.day-one-grid article:hover,
.day-one-grid article:focus-within,
.platform-start-card:hover,
.platform-start-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(141, 107, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.18), rgba(191, 244, 255, 0.28)),
    var(--glass-strong);
  box-shadow: 0 28px 78px rgba(91, 65, 150, 0.2);
}

.demo-proof-card:nth-child(2):hover,
.demo-proof-card:nth-child(2):focus-within,
.day-one-grid article:nth-child(2):hover,
.day-one-grid article:nth-child(2):focus-within {
  background:
    linear-gradient(135deg, rgba(255, 184, 220, 0.28), rgba(205, 184, 255, 0.24)),
    var(--glass-strong);
}

.demo-proof-card:nth-child(3):hover,
.demo-proof-card:nth-child(3):focus-within,
.day-one-grid article:nth-child(3):hover,
.day-one-grid article:nth-child(3):focus-within {
  background:
    linear-gradient(135deg, rgba(191, 244, 255, 0.34), rgba(255, 210, 166, 0.22)),
    var(--glass-strong);
}

.demo-proof-card:hover .proof-card-media,
.day-one-grid article:hover .day-one-visual {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(183, 255, 42, 0.2)),
    var(--glass-strong);
}

.platform-start-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.platform-start-card > span:last-child {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 800;
}

.copy-prompt,
.download-icon,
.password-toggle,
.free-plan-toggle,
.preview-toggle {
  min-width: 44px;
  min-height: 44px;
}

.bottom-dock {
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}

.bottom-dock a,
.bottom-dock button {
  min-width: 44px;
  min-height: 44px;
  font-size: max(12px, 0.78rem);
}

@media (max-width: 820px) {
  .public-demo-section,
  .public-day-one-section,
  .platform-start-section {
    width: min(100% - 24px, 680px);
    margin: 44px auto;
  }

  .demo-feature,
  .demo-proof-grid,
  .day-one-grid,
  .platform-start-grid {
    grid-template-columns: 1fr;
  }

  .demo-feature-copy,
  .demo-proof-card,
  .day-one-grid article,
  .platform-start-card {
    padding: 18px;
  }

  .hero-proof,
  .hero-price-note {
    font-size: 0.96rem;
  }
}

.public-demo-section.public-demo-showcase {
  width: 100vw;
  max-width: none;
  margin: clamp(34px, 5vw, 70px) 0 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(88px, 10vw, 142px) 0 clamp(82px, 9vw, 132px);
  overflow: clip;
  color: var(--bg-warm);
  background:
    radial-gradient(circle at 10% 0%, rgba(141, 107, 255, 0.32), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(191, 244, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 50% 100%, rgba(183, 255, 42, 0.14), transparent 30rem),
    linear-gradient(
      180deg,
      rgba(205, 184, 255, 0) 0%,
      rgba(60, 51, 78, 0.88) 13%,
      var(--text) 28%,
      var(--ink) 68%,
      rgba(60, 51, 78, 0.82) 86%,
      rgba(245, 244, 255, 0) 100%
    );
}

.public-demo-showcase .demo-showcase-head,
.public-demo-showcase .demo-carousel-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.public-demo-showcase .demo-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.58fr);
  grid-template-rows: auto 1fr;
  min-height: clamp(300px, 32vw, 420px);
  gap: clamp(24px, 5vw, 76px);
  align-items: stretch;
}

.public-demo-showcase .demo-showcase-head .chapter-label {
  grid-column: 1;
  grid-row: 1;
  color: rgba(255, 255, 255, 0.46);
}

.public-demo-showcase .demo-showcase-title {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: grid;
  gap: clamp(8px, 1.2vw, 14px);
  max-width: 680px;
  margin: 0;
  color: var(--bg-warm);
}

.demo-neon-percent {
  display: block;
  color: var(--lime);
  font-size: clamp(6.2rem, 13vw, 13rem);
  line-height: 0.68;
  text-shadow:
    0 0 8px rgba(183, 255, 42, 0.96),
    0 0 24px rgba(183, 255, 42, 0.7),
    0 0 58px rgba(183, 255, 42, 0.44),
    0 0 92px rgba(191, 244, 255, 0.28);
  animation: demo-neon-pulse 1.85s linear infinite;
}

.demo-title-rest {
  display: block;
  max-width: 620px;
  color: var(--bg-warm);
  font-size: clamp(2.35rem, 4.8vw, 5.3rem);
  line-height: 0.92;
}

.public-demo-showcase .demo-showcase-lead {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  display: grid;
  gap: 8px;
  max-width: 660px;
  margin: 0;
  padding: clamp(2px, 0.5vw, 8px) 0 clamp(2px, 0.4vw, 6px) clamp(18px, 2vw, 26px);
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.05rem, 1.36vw, 1.32rem);
  font-weight: 850;
  line-height: 1.34;
}

.public-demo-showcase .demo-showcase-lead::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--lime), var(--cyan), transparent);
  opacity: 0.82;
}

.public-demo-showcase .demo-showcase-lead span {
  display: block;
}

.public-demo-showcase .demo-showcase-lead span:first-child {
  color: rgba(255, 255, 255, 0.88);
}

.demo-carousel-shell {
  position: relative;
  margin-top: clamp(24px, 3.4vw, 40px);
}

@keyframes demo-neon-pulse {
  0% {
    color: var(--lime);
    opacity: 1;
    text-shadow:
      0 0 8px rgba(183, 255, 42, 0.96),
      0 0 24px rgba(183, 255, 42, 0.7),
      0 0 58px rgba(183, 255, 42, 0.44),
      0 0 92px rgba(191, 244, 255, 0.28);
  }
  38%,
  100% {
    color: var(--lime);
    opacity: 1;
    text-shadow:
      0 0 10px rgba(183, 255, 42, 0.92),
      0 0 30px rgba(183, 255, 42, 0.62),
      0 0 70px rgba(183, 255, 42, 0.38),
      0 0 112px rgba(191, 244, 255, 0.24);
  }
  41% {
    opacity: 0.38;
    text-shadow:
      0 0 4px rgba(183, 255, 42, 0.38),
      0 0 16px rgba(183, 255, 42, 0.2);
  }
  44% {
    color: var(--lime);
    opacity: 1;
    text-shadow:
      0 0 12px rgba(183, 255, 42, 1),
      0 0 36px rgba(183, 255, 42, 0.74),
      0 0 82px rgba(191, 244, 255, 0.38);
  }
  47% {
    opacity: 0.64;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-neon-percent,
  .demo-update-marquee .hero-marquee-track {
    animation: none;
  }

  .demo-update-marquee .hero-marquee-track {
    transform: none;
  }
}

.demo-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font: 800 12px/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-carousel-edge {
  position: absolute;
  z-index: 6;
  top: calc(50% + 24px);
  width: clamp(48px, 5vw, 64px);
  height: clamp(48px, 5vw, 64px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--bg-warm);
  cursor: pointer;
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.demo-carousel-edge-prev {
  left: clamp(-18px, -1.4vw, -10px);
  transform: translateY(-50%);
}

.demo-carousel-edge-next {
  right: clamp(-18px, -1.4vw, -10px);
  transform: translateY(-50%);
}

.demo-carousel-edge:hover,
.demo-carousel-edge:focus-visible {
  border-color: rgba(183, 255, 42, 0.52);
  background: rgba(183, 255, 42, 0.16);
}

.demo-carousel-edge-prev:hover,
.demo-carousel-edge-prev:focus-visible {
  transform: translate(-2px, -50%);
}

.demo-carousel-edge-next:hover,
.demo-carousel-edge-next:focus-visible {
  transform: translate(2px, -50%);
}

.demo-carousel-track {
  display: flex;
  gap: 18px;
  margin-inline: -20px;
  padding: 6px 20px 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
}

.demo-carousel-track::-webkit-scrollbar {
  display: none;
}

.demo-carousel-card {
  position: relative;
  flex: 0 0 min(940px, calc(100vw - 58px));
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  min-height: clamp(440px, 43vw, 540px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(235, 229, 255, 0.88)),
    var(--glass-strong);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.26);
  scroll-snap-align: center;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.demo-carousel-card:hover,
.demo-carousel-card:focus-visible,
.demo-carousel-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(183, 255, 42, 0.48);
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.34);
}

.demo-carousel-card-subscription {
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(22px, 4vw, 56px);
  border-color: rgba(255, 85, 215, 0.74);
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 85, 215, 0.58), transparent 22rem),
    radial-gradient(circle at 78% 4%, rgba(183, 255, 42, 0.42), transparent 20rem),
    radial-gradient(circle at 52% 108%, rgba(141, 107, 255, 0.45), transparent 24rem),
    linear-gradient(135deg, rgba(33, 26, 47, 0.98), rgba(60, 51, 78, 0.96));
  box-shadow:
    0 0 0 1px rgba(255, 85, 215, 0.42),
    0 0 42px rgba(255, 85, 215, 0.28),
    0 34px 104px rgba(0, 0, 0, 0.42);
  color: var(--bg-warm);
}

.demo-carousel-card-subscription::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;
  border: 1px solid rgba(255, 85, 215, 0.34);
  border-radius: calc(var(--radius-lg) - 10px);
  box-shadow:
    inset 0 0 36px rgba(255, 85, 215, 0.12),
    0 0 34px rgba(255, 85, 215, 0.18);
  pointer-events: none;
}

.demo-carousel-card-subscription::after {
  content: "";
  position: absolute;
  inset: auto clamp(24px, 4vw, 48px) clamp(22px, 3vw, 36px);
  height: 4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #ff55d7, var(--lime), var(--cyan), #ff55d7);
  box-shadow:
    0 0 18px rgba(255, 85, 215, 0.86),
    0 0 34px rgba(183, 255, 42, 0.28);
  pointer-events: none;
}

.demo-subscription-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(18px, 2vw, 28px);
}

.demo-subscription-banner.work-announcement {
  width: 100%;
  min-height: clamp(180px, 22vw, 260px);
  margin: 0;
  padding: clamp(18px, 2.6vw, 32px);
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  align-content: center;
  gap: clamp(12px, 1.6vw, 18px);
  border-color: rgba(255, 85, 215, 0.7);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 6% 50%, rgba(255, 85, 215, 0.36), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(183, 255, 42, 0.24), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 184, 220, 0.12));
  box-shadow:
    0 0 0 1px rgba(255, 85, 215, 0.32),
    0 0 32px rgba(255, 85, 215, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.demo-subscription-banner .work-announcement-badge {
  grid-row: auto;
}

.demo-subscription-banner .work-announcement-copy {
  width: min(100%, 900px);
}

.demo-subscription-banner .work-announcement-copy h3 {
  margin-bottom: 10px;
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 5.8rem);
  line-height: 0.9;
  overflow-wrap: normal;
  color: var(--bg-warm);
  text-shadow:
    0 0 14px rgba(255, 85, 215, 0.8),
    0 0 34px rgba(255, 85, 215, 0.44),
    0 0 54px rgba(183, 255, 42, 0.14);
}

.demo-subscription-banner .work-announcement-copy p {
  max-width: 820px;
  color: rgba(255, 248, 241, 0.86);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.36;
}

.demo-subscription-link {
  justify-self: start;
  border-color: rgba(255, 85, 215, 0.48);
  background: #ff55d7;
  color: var(--text);
  box-shadow:
    0 0 18px rgba(255, 85, 215, 0.62),
    0 0 34px rgba(255, 85, 215, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
  text-decoration: none;
}

.demo-subscription-link:hover,
.demo-subscription-link:focus-visible {
  background: var(--lime);
  border-color: rgba(183, 255, 42, 0.72);
  box-shadow:
    0 0 18px rgba(183, 255, 42, 0.62),
    0 0 34px rgba(255, 85, 215, 0.3);
}

.demo-subscription-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.demo-subscription-chips span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 85, 215, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 248, 241, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  font-weight: 850;
}

.demo-carousel-media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  padding: clamp(14px, 1.6vw, 22px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(183, 255, 42, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(33, 26, 47, 0.94), rgba(60, 51, 78, 0.88)),
    var(--text);
}

.demo-carousel-media img,
.demo-carousel-media video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 490px;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 14px);
}

.demo-carousel-media img {
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.22));
}

.demo-video-media {
  aspect-ratio: auto;
  background:
    radial-gradient(circle at 0% 0%, rgba(183, 255, 42, 0.2), transparent 24rem),
    linear-gradient(135deg, rgba(10, 13, 17, 0.98), rgba(33, 26, 47, 0.94)),
    var(--ink);
}

.demo-video-media video {
  background: var(--ink);
}

.demo-carousel-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: clamp(22px, 2.7vw, 34px);
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.64)),
    var(--glass-strong);
  transition:
    background 220ms ease,
    color 220ms ease;
}

.demo-carousel-card:hover .demo-carousel-copy,
.demo-carousel-card:focus-within .demo-carousel-copy {
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.18), rgba(191, 244, 255, 0.2)),
    var(--glass-strong);
}

.demo-carousel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font: 800 12px/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-carousel-meta b {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(33, 26, 47, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.62);
  color: var(--violet);
}

.demo-carousel-copy h3 {
  margin: 0;
  font-size: clamp(1.9rem, 2.65vw, 3.2rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.demo-carousel-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.32;
}

.demo-carousel-source {
  font-weight: 850;
}

.demo-carousel-copy pre {
  max-height: 96px;
  margin: 2px 0 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(33, 26, 47, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
  color: var(--text-soft);
  font: 650 0.82rem/1.38 "Inter", system-ui, sans-serif;
  white-space: pre-wrap;
}

.demo-copy-button {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding: 12px 18px;
  border: 1px solid rgba(33, 26, 47, 0.1);
  border-radius: var(--radius-pill);
  background: var(--text);
  color: var(--bg-warm);
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.demo-copy-button:hover,
.demo-copy-button:focus-visible,
.demo-copy-button.is-copied {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 42, 0.58);
  background: var(--lime);
  color: var(--text);
}

.demo-copy-button-floating {
  position: absolute;
  right: clamp(18px, 2.4vw, 28px);
  bottom: clamp(18px, 2.4vw, 28px);
  z-index: 2;
  margin: 0;
  border-color: rgba(183, 255, 42, 0.52);
  background: rgba(33, 26, 47, 0.82);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
}

.demo-carousel-index {
  position: absolute;
  right: 18px;
  top: 16px;
  color: rgba(33, 26, 47, 0.18);
  font: 950 clamp(2rem, 4vw, 4.5rem)/1 "IBM Plex Mono", monospace;
  pointer-events: none;
}

.public-static-reviews.review-zone {
  width: min(1180px, calc(100% - 32px));
  margin: 64px auto;
}

.public-static-reviews .review-zone-head {
  margin-bottom: 22px;
}

.public-static-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.public-static-review-card {
  min-width: 0;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.public-static-review-card:hover,
.public-static-review-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(141, 107, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.14), rgba(191, 244, 255, 0.18)),
    var(--glass-strong);
  box-shadow: 0 24px 70px rgba(91, 65, 150, 0.16);
}

.free-static-reviews-slot {
  width: 100%;
}

@media (max-width: 980px) {
  .public-demo-showcase .demo-showcase-head {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
    align-items: start;
  }

  .public-demo-showcase .demo-showcase-head .chapter-label,
  .public-demo-showcase .demo-showcase-title,
  .public-demo-showcase .demo-showcase-lead {
    grid-column: auto;
    grid-row: auto;
  }

  .public-demo-showcase .demo-showcase-lead {
    max-width: 680px;
    margin-top: 4px;
  }

  .demo-carousel-card {
    flex-basis: min(760px, calc(100vw - 42px));
    grid-template-columns: 1fr;
  }

  .demo-subscription-banner.work-announcement {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .demo-carousel-media {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .demo-video-media {
    aspect-ratio: 16 / 9;
  }

  .demo-carousel-media img,
  .demo-carousel-media video {
    max-height: 420px;
  }

  .public-static-review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .demo-update-marquee {
    min-height: 48px;
    margin-top: 30px;
  }

  .demo-update-marquee .hero-marquee-track span {
    padding-inline: 22px;
    font-size: 0.76rem;
  }

  .public-demo-section.public-demo-showcase {
    margin-top: 42px;
    margin-right: calc(50% - 50vw);
    margin-bottom: 0;
    margin-left: calc(50% - 50vw);
    padding: 70px 0 64px;
  }

  .demo-update-marquee + .public-demo-showcase {
    margin-top: 0;
  }

  .public-demo-showcase .demo-showcase-head,
  .public-demo-showcase .demo-carousel-shell {
    width: min(100% - 24px, 680px);
  }

  .demo-neon-percent {
    font-size: clamp(4.6rem, 24vw, 6.5rem);
  }

  .demo-title-rest {
    font-size: clamp(1.85rem, 10vw, 2.75rem);
  }

  .public-demo-showcase .demo-showcase-lead {
    gap: 7px;
    padding-left: 16px;
    font-size: 1rem;
    line-height: 1.32;
  }

  .demo-carousel-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-carousel-track {
    gap: 14px;
    margin-inline: -12px;
    padding-inline: 12px;
    scroll-padding-inline: 12px;
  }

  .demo-carousel-edge {
    top: calc(50% + 36px);
    width: 46px;
    height: 46px;
  }

  .demo-carousel-edge-prev {
    left: -4px;
  }

  .demo-carousel-edge-next {
    right: 0;
  }

  .demo-carousel-card {
    flex-basis: min(92vw, 520px);
    min-height: 0;
    border-radius: var(--radius-md);
  }

  .demo-carousel-card-subscription {
    padding: 14px;
  }

  .demo-subscription-banner.work-announcement {
    min-height: 0;
    padding: 18px;
    border-radius: var(--radius-md);
  }

  .demo-subscription-banner .work-announcement-copy h3 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .demo-subscription-banner .work-announcement-copy p {
    font-size: 0.95rem;
  }

  .demo-carousel-copy {
    padding: 20px;
  }

  .demo-carousel-copy h3 {
    font-size: clamp(1.65rem, 11vw, 2.35rem);
  }

  .demo-carousel-media {
    padding: 12px;
    aspect-ratio: 4 / 3;
  }

  .demo-copy-button-floating {
    position: static;
    justify-self: end;
    margin-top: 10px;
  }

  .demo-carousel-index {
    display: none;
  }

  .public-static-reviews.review-zone {
    width: min(100% - 24px, 680px);
    margin: 44px auto;
  }
}

/* Stage 2 responsive audit: final intrinsic-width repairs for legacy pages. */
@media (max-width: 820px) {
  .public-hero,
  .public-hero-copy,
  .public-hero-copy > *,
  .glossary-hero,
  .glossary-hero > *,
  .payment-return,
  .payment-return section,
  .payment-return section > *,
  .prompt-case-shell,
  .prompt-case-hero,
  .prompt-case-hero > *,
  .prompt-case-section,
  .prompt-case-section > *,
  .prompt-case-section-head,
  .prompt-case-section-head > *,
  .prompt-case-cta,
  .prompt-case-cta > *,
  .pipeline-lesson-shell,
  .pipeline-lesson-shell > *,
  .pipeline-lesson-hero,
  .pipeline-lesson-hero > *,
  .pipeline-lesson-section,
  .pipeline-lesson-section > *,
  .pipeline-prompt-section,
  .pipeline-prompt-section > *,
  .pipeline-node-section,
  .pipeline-notes-section,
  .pipeline-result-section,
  .pipeline-section-copy,
  .pipeline-note-list,
  .kling-idea-canvas,
  .kling-idea-section,
  .kling-idea-section > *,
  .kling-idea-section-copy,
  .kling-idea-section-copy > *,
  .gpt-agent-video-card,
  .gpt-agent-video-card > *,
  .gpt-agent-video-shell,
  .skill-video-block,
  .skill-video-block > *,
  .skill-video-shell,
  .midjourney-section-intro,
  .midjourney-section-intro > *,
  .midjourney-image-strip,
  .cinematic-summary-panel,
  .cinematic-summary-panel > *,
  .cinematic-summary-copy,
  .cinematic-summary-copy > * {
    min-width: 0;
    max-width: 100%;
  }

  .public-hero,
  .glossary-hero,
  .prompt-case-hero,
  .prompt-case-section-head,
  .pipeline-lesson-hero,
  .pipeline-lesson-section,
  .pipeline-node-section,
  .pipeline-notes-section,
  .pipeline-result-section,
  .kling-idea-section-copy,
  .gpt-agent-video-card,
  .skill-video-block,
  .cinematic-summary-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-hero-copy,
  .midjourney-section-intro,
  .midjourney-image-strip,
  .pipeline-lesson-hero,
  .pipeline-lesson-section,
  .pipeline-prompt-section,
  .pipeline-lesson-close {
    width: 100%;
  }

  .public-hero-copy h1,
  .glossary-hero h1,
  .payment-return h1,
  .pipeline-lesson-hero h1,
  .pipeline-section-copy h2,
  .pipeline-prompt-head h2,
  .pipeline-lesson-close h2,
  .kling-idea-section h2,
  .midjourney-section-intro h3,
  .cinematic-summary-copy h3,
  .topic-detail[data-topic-slug="fifa-2026"] .creative-card h3,
  .topic-detail[data-topic-slug="fifa-2026"] .creative-card strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: wrap;
  }

  .glossary-hero h1 {
    font-size: clamp(2.3rem, 14vw, 3rem);
  }

  .payment-return {
    gap: 42px;
    padding: 24px 16px;
  }

  .payment-return h1 {
    font-size: clamp(2.65rem, 15vw, 3.8rem);
  }

  .payment-return .hero-button {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding-inline: 16px;
    white-space: normal;
    text-align: center;
  }

  .prompt-case-shell {
    width: min(calc(100% - 20px), 1500px);
  }

  .pipeline-lesson-hero h1 {
    font-size: clamp(2rem, 12vw, 3rem);
    white-space: normal;
  }

.pipeline-section-copy h2,
.pipeline-prompt-head h2,
.pipeline-lesson-close h2 {
  font-size: clamp(1.75rem, 10vw, 2.7rem);
}

  .kling-idea-canvas {
    width: min(calc(100% - 36px), 1500px);
  }

  .gpt-agent-video-shell,
  .skill-video-shell {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .gpt-agent-video-shell iframe,
  .skill-video-shell video {
    width: 100%;
    height: 100%;
  }

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

  .cinematic-summary-copy h3 {
    font-size: clamp(2.1rem, 13vw, 2.62rem);
  }

  .topic-detail[data-topic-slug="fifa-2026"] .creative-card,
  .topic-detail[data-topic-slug="fifa-2026"] .creative-card > * {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .midjourney-image-strip {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .prompt-case-step,
  .prompt-case-step > *,
  .prompt-case-step-copy,
  .prompt-case-step-copy > * {
    min-width: 0;
    max-width: 100%;
  }

  .prompt-case-step,
  .prompt-case-step-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .prompt-case-step-copy h2,
  .prompt-case-step-copy p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .midjourney-material-body,
  .topic-detail[data-topic-slug="fifa-2026"] .creative-effects-body,
  .topic-detail[data-topic-slug="fifa-2026"] .creative-model-section,
  .topic-detail[data-topic-slug="fifa-2026"] .creative-model-intro,
  .topic-detail[data-topic-slug="fifa-2026"] .creative-model-copy {
    min-width: 0;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .midjourney-material-body > *,
  .topic-detail[data-topic-slug="fifa-2026"] .creative-model-copy > * {
    width: auto;
    min-width: 0;
    max-width: 100%;
    justify-self: stretch;
  }

  .topic-detail[data-topic-slug="fifa-2026"] .creative-model-copy h3,
  .topic-detail[data-topic-slug="fifa-2026"] .creative-model-copy strong {
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .midjourney-param-groups,
  .midjourney-param-group,
  .midjourney-param-head,
  .midjourney-param-grid,
  .midjourney-formula-card,
  .midjourney-formula-track,
  .midjourney-photo-break,
  .midjourney-presets,
  .midjourney-preset-grid,
  .midjourney-prompt-section,
  .midjourney-prompt-grid {
    min-width: 0;
    max-width: 100%;
  }

  .midjourney-param-groups,
  .midjourney-param-group,
  .midjourney-param-head,
  .midjourney-formula-card,
  .midjourney-presets,
  .midjourney-prompt-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .midjourney-param-group > *,
  .midjourney-param-head > *,
  .midjourney-presets > *,
  .midjourney-prompt-section > * {
    width: auto;
    min-width: 0;
    max-width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 720px) {
  .protected-telegram-link.public-telegram-link {
    box-sizing: border-box;
  }
}

/* Stage 1 mobile QA: final responsive overrides. */
.dashboard-telegram-links {
  display: none;
}

@media (min-width: 981px) {
  .platform-dashboard-page .topbar > .protected-telegram-links {
    display: none;
  }

  .platform-dashboard-intro {
    padding-right: clamp(440px, 38vw, 590px);
  }

  .platform-dashboard-intro .dashboard-telegram-links {
    position: absolute;
    top: clamp(108px, 8vw, 132px);
    right: clamp(24px, 4vw, 58px);
    display: inline-flex;
    width: min(520px, 38vw);
    justify-content: flex-end;
  }

  .platform-dashboard-intro .dashboard-telegram-links .protected-telegram-link {
    flex: 1 1 0;
    justify-content: center;
    min-height: 44px;
    padding-inline: 12px;
  }
}

@media (max-width: 820px) {
  body .topic-detail[data-topic-slug="threads-growth"] .topic-hero,
  body .topic-detail[data-topic-slug="threads-growth"] .topic-copy,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-guide-shell,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-module-stack,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-module,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-module > *,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head > div,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-block-stack,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-block,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card > div:not(.threads-visual-line),
  body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-step,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-mini-card {
    min-width: 0;
    max-width: 100%;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .topic-copy h2 {
    max-width: 100%;
    font-size: clamp(2.35rem, 13.5vw, 4.4rem);
    line-height: 0.94;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: wrap;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-guide-shell,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-module,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-block-stack {
    grid-template-columns: minmax(0, 1fr);
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-guide-shell {
    width: 100%;
    padding-inline: 12px;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-module {
    width: 100%;
    gap: 28px;
    padding: 26px 14px;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head h3,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-block h3,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: wrap;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-module-head h3 {
    font-size: clamp(1.82rem, 9.4vw, 3.6rem);
    line-height: 0.96;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-block h3,
  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card h3 {
    font-size: clamp(1.55rem, 8vw, 2.7rem);
    line-height: 1.04;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card {
    grid-template-columns: 4px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 14px;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-visual-card > div:not(.threads-visual-line) {
    width: 100%;
    justify-self: stretch;
    padding-right: 0;
  }

  body .topic-detail[data-topic-slug="threads-growth"] .threads-prompt-box p {
    padding-top: 48px;
    padding-right: 0;
  }

  .pipelines-main,
  .pipelines-hero,
  .pipelines-hero > div {
    min-width: 0;
    max-width: 100%;
  }

  .pipelines-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .pipelines-hero h1 {
    max-width: 100%;
    font-size: clamp(1.55rem, 7.9vw, 2.6rem);
    line-height: 0.96;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: wrap;
    white-space: nowrap;
  }

  .hub-subpage:not(.section-page) .bottom-dock {
    position: static;
    left: auto;
    bottom: auto;
    width: 100%;
    margin: 32px auto 0;
    transform: none;
  }

  .pipelines-page .platform-shell,
  .pipeline-lesson-page .platform-shell,
  .plush-lesson-page .platform-shell,
  .useful-links-page .platform-shell {
    padding-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .free-subscription-benefits {
    margin-top: 34px;
  }

  .demo-carousel-card,
  .demo-carousel-card-subscription,
  .demo-subscription-inner,
  .demo-subscription-banner,
  .demo-subscription-banner .work-announcement-copy {
    min-width: 0;
    max-width: 100%;
  }

  .demo-carousel-card {
    flex-basis: min(calc(100vw - 36px), 520px);
  }

  .demo-subscription-banner .work-announcement-copy h3 {
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .protected-page .protected-account,
  .platform-dashboard-page .protected-account {
    grid-template-columns: auto;
    padding-left: 6px;
  }

  .protected-page .protected-account span,
  .platform-dashboard-page .protected-account span {
    display: none;
  }
}

@media (max-width: 1100px) {
  .prompts-styles-page .prompt-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prompt-archive-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .prompt-archive-stats {
    width: min(100%, 560px);
  }

  .prompt-workflow-guide-head,
  .prompt-workflow-guide-body {
    grid-template-columns: 1fr;
  }

  .prompt-workflow-guide-copy h2 {
    font-size: 3.75rem;
  }
}

@media (max-width: 760px) {
  .prompt-archive-showcase {
    margin: 32px auto 42px;
    padding: 16px;
    border-radius: 24px;
  }

  .prompt-archive-head {
    gap: 20px;
  }

  .prompt-archive-head h2 {
    font-size: clamp(2rem, 10.8vw, 3rem);
  }

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

  .prompt-archive-stats div {
    padding: 11px 8px;
  }

  .prompt-archive-stats dd {
    font-size: 0.57rem;
  }

  .prompt-workflow-guide {
    gap: 22px;
    padding-bottom: 24px;
  }

  .prompt-workflow-guide-head,
  .prompt-workflow-guide-body {
    gap: 20px;
  }

  .prompt-workflow-guide-copy h2 {
    font-size: 2.6rem;
  }

  .prompt-workflow-guide-copy > p:last-child {
    font-size: 0.96rem;
  }

  .prompt-workflow-guide-media {
    border-radius: 18px;
  }

  .prompt-workflow-steps {
    grid-template-columns: 1fr;
  }

  .prompts-styles-page .prompt-archive-grid {
    grid-template-columns: 1fr;
  }

  .creative-card-media-grid {
    gap: 6px;
  }

  .creative-model-resources {
    display: grid;
    grid-template-columns: 1fr;
  }

  .creative-model-resources a {
    width: 100%;
  }
}

@media (min-width: 1181px) {
  .pipeline-lesson-section.pipeline-finish-section {
    grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.9fr);
  }

  .pipeline-lesson-section.pipeline-final-film-section {
    grid-template-columns: minmax(0, 0.5fr) minmax(280px, 0.48fr);
  }
}

/* Privacy, cookies and legal links */
.cookie-consent[hidden] {
  display: none;
}

.cookie-consent {
  position: fixed;
  z-index: 500;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  width: min(980px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 24px;
  overflow: hidden;
  color: #fff;
  background: var(--text);
  border: 1px solid rgba(205, 184, 255, 0.48);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(33, 26, 47, 0.42);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-consent::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--lime), var(--cyan));
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-consent-copy {
  min-width: 0;
}

.cookie-consent-label {
  margin: 0 0 7px;
  color: var(--lime);
  font: 600 0.72rem/1.2 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.cookie-consent h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.05;
}

.cookie-consent-copy > p:not(.cookie-consent-label) {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  line-height: 1.48;
}

.cookie-consent-copy a {
  display: inline-block;
  margin-top: 10px;
  color: var(--cyan);
  font-weight: 700;
  text-underline-offset: 3px;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.cookie-consent-button,
.privacy-settings-button {
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  font: 800 0.86rem/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.cookie-consent-button-primary,
.privacy-settings-button {
  color: var(--text);
  background: var(--lime);
}

.cookie-consent-button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.cookie-consent-button:focus-visible,
.privacy-settings-button:focus-visible,
.site-legal-footer a:focus-visible,
.site-legal-footer button:focus-visible,
.privacy-back:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.site-legal-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  width: min(100%, 720px);
  margin: 24px auto 90px;
  padding: 10px 18px;
  color: var(--muted);
  font-size: 0.76rem;
}

.site-legal-footer a,
.site-legal-footer button {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.auth-page > .site-legal-footer,
.payment-return-page > .site-legal-footer {
  position: fixed;
  right: 18px;
  bottom: 14px;
  left: 18px;
  width: auto;
  margin: 0;
}

.privacy-page {
  min-height: 100vh;
  width: 100%;
  max-width: none;
}

.privacy-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 80px;
  box-sizing: border-box;
}

.privacy-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
}

.privacy-back {
  padding: 11px 16px;
  color: var(--text);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-weight: 800;
  text-decoration: none;
}

.privacy-document {
  width: min(920px, 100%);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin: 70px auto 0;
}

.privacy-document > section,
.privacy-document section > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.privacy-hero {
  padding-bottom: 50px;
}

.privacy-hero h1 {
  max-width: 850px;
  margin: 14px 0 20px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.18rem, 6vw, 3rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.privacy-hero > p:not(.chapter-label) {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 1.2rem;
  line-height: 1.5;
}

.privacy-hero > span {
  color: var(--muted);
  font: 600 0.78rem/1.3 "IBM Plex Mono", monospace;
}

.privacy-document > section:not(.privacy-hero) {
  padding: 34px 0;
  border-top: 1px solid rgba(141, 107, 255, 0.22);
}

.privacy-document section h2 {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1.1;
}

.privacy-document section p,
.privacy-document section li {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.privacy-document section p {
  margin: 0 0 14px;
}

.privacy-document section ul {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.privacy-document a {
  color: var(--violet);
  font-weight: 700;
}

.privacy-table-wrap {
  width: 100%;
  margin: 0 0 20px;
  overflow-x: auto;
  border: 1px solid rgba(141, 107, 255, 0.2);
  border-radius: var(--radius-md);
}

.privacy-document table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  background: var(--glass-soft);
}

.privacy-document th,
.privacy-document td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(141, 107, 255, 0.15);
}

.privacy-document th {
  color: var(--muted);
  font: 600 0.72rem/1.3 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.privacy-document tbody tr:last-child td {
  border-bottom: 0;
}

.privacy-settings-button {
  margin-top: 6px;
}

@media (max-width: 760px) {
  .cookie-consent {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .cookie-consent h2 {
    font-size: 1.35rem;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-consent-button {
    width: 100%;
  }

  .site-legal-footer {
    margin-bottom: 76px;
  }

  .auth-page > .site-legal-footer,
  .payment-return-page > .site-legal-footer {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin: -34px auto 18px;
  }

  .privacy-shell {
    width: min(calc(100% - 20px), 1180px);
    padding-top: 10px;
  }

  .privacy-topbar {
    padding: 12px;
  }

  .privacy-topbar .brand-mark {
    font-size: 1.25rem;
  }

  .privacy-back {
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .privacy-document {
    margin-top: 44px;
    padding-inline: 8px;
  }

  .privacy-hero {
    padding-bottom: 36px;
  }

  .privacy-hero h1 {
    font-size: clamp(1.18rem, 6vw, 2.25rem);
    line-height: 1.12;
  }

  .privacy-hero > p:not(.chapter-label) {
    font-size: 1rem;
  }

  .privacy-document section h2 {
    font-size: 1.45rem;
  }

  .privacy-document > section:not(.privacy-hero) {
    padding: 28px 0;
  }
}

@media (max-width: 820px) {
  .privacy-table-wrap {
    max-width: 100%;
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .privacy-document table {
    display: block;
    width: 100%;
    min-width: 0;
    background: transparent;
  }

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

  .privacy-document tbody,
  .privacy-document tr,
  .privacy-document td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .privacy-document tbody {
    display: grid;
    gap: 12px;
  }

  .privacy-document tr {
    padding: 14px;
    background: var(--glass-soft);
    border: 1px solid rgba(141, 107, 255, 0.2);
    border-radius: var(--radius-md);
  }

  .privacy-document td {
    padding: 5px 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .privacy-document td::before {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font: 600 0.67rem/1.3 "IBM Plex Mono", monospace;
    text-transform: uppercase;
  }

  .privacy-document td:nth-child(1)::before {
    content: "Данные";
  }

  .privacy-document td:nth-child(2)::before {
    content: "Назначение";
  }

  .privacy-document td:nth-child(3)::before {
    content: "Срок";
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition: none;
  }
}

/* Mini lessons */
.platform-dashboard-page .platform-card-mini-lessons {
  --platform-card-image: url("assets/lessons/mini-lessons/character-outfit-location/final-result.jpg");
  --platform-card-position: 60% center;
}

.platform-dashboard-page .platform-card-mini-lessons::before {
  background: linear-gradient(135deg, rgba(255, 184, 220, 0.38), rgba(141, 107, 255, 0.18));
}

.platform-dashboard-page .platform-card-mini-lessons .tag {
  border-color: rgba(255, 184, 220, 0.72);
  background: rgba(255, 184, 220, 0.18);
  color: #fff;
}

.section-material-card-mini-lessons {
  border-color: rgba(255, 184, 220, 0.78);
  background:
    linear-gradient(118deg, rgba(20, 15, 30, 0.88) 0%, rgba(20, 15, 30, 0.72) 56%, rgba(124, 58, 237, 0.25) 100%),
    url("assets/lessons/mini-lessons/character-outfit-location/final-result.jpg") 62% center / cover no-repeat;
  color: #fff;
}

.section-material-card-mini-lessons::after {
  background: linear-gradient(90deg, var(--pink), var(--lime), var(--cyan));
}

.section-material-card-mini-lessons small {
  color: var(--pink);
}

.section-material-card-mini-lessons h3,
.section-material-card-mini-lessons p {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.64);
}

.mini-lessons-page,
.mini-lesson-page {
  background:
    radial-gradient(circle at 8% 16%, rgba(183, 255, 42, 0.12), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(255, 184, 220, 0.2), transparent 28%),
    linear-gradient(150deg, #0b0911 0 30%, #201632 68%, #cdb8ff 100%);
  background-attachment: fixed;
}

.mini-lessons-page .platform-shell,
.mini-lesson-page .platform-shell {
  padding-bottom: 126px;
}

.mini-lessons-page .catalog-back,
.mini-lesson-page .catalog-back {
  margin-bottom: clamp(18px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.74);
}

.mini-lessons-main,
.mini-lesson-main {
  color: #fff;
}

.mini-lessons-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: clamp(30px, 6vw, 92px);
  min-height: clamp(320px, 42vw, 560px);
  padding: clamp(32px, 6vw, 82px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(3, 3, 5, 0.96) 0%, rgba(3, 3, 5, 0.8) 52%, rgba(39, 26, 58, 0.36) 100%),
    url("assets/lessons/mini-lessons/character-outfit-location/final-result.jpg") center / cover no-repeat;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.mini-lessons-hero h1 {
  max-width: 960px;
  margin: 12px 0 0;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(3rem, 8vw, 8.7rem);
  line-height: 0.86;
}

.mini-lessons-hero > p {
  max-width: 620px;
  margin: 0;
  padding: 18px 0 4px;
  border-top: 1px solid rgba(183, 255, 42, 0.52);
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 700;
  line-height: 1.5;
}

.mini-lessons-page .chapter-label,
.mini-lesson-page .chapter-label {
  color: var(--lime);
}

.mini-lessons-catalog {
  padding: clamp(58px, 8vw, 118px) 0 0;
}

.mini-lessons-section-head,
.mini-lesson-band-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.mini-lessons-section-head h2,
.mini-lesson-band-head h2,
.mini-lesson-finish h2 {
  margin: 8px 0 0;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.98;
}

.mini-lessons-section-head > span {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 184, 220, 0.48);
  border-radius: 999px;
  background: rgba(255, 184, 220, 0.1);
  color: var(--pink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-lessons-list {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.mini-lesson-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  min-height: 520px;
  border: 1px solid rgba(255, 184, 220, 0.55);
  border-radius: 8px;
  background: rgba(14, 12, 19, 0.9);
  color: #fff;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 32px 86px rgba(0, 0, 0, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mini-lesson-feature:hover,
.mini-lesson-feature:focus-visible {
  transform: translateY(-5px);
  border-color: var(--pink);
  box-shadow: 0 36px 100px rgba(255, 94, 214, 0.16);
}

.mini-lesson-feature:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.mini-lesson-feature-media {
  position: relative;
  min-height: 100%;
  background: #050505;
}

.mini-lesson-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-lesson-feature.is-portrait-feature .mini-lesson-feature-media {
  background:
    radial-gradient(circle at 50% 42%, rgba(183, 255, 42, 0.12), transparent 42%),
    #050505;
}

.mini-lesson-feature.is-portrait-feature .mini-lesson-feature-media img {
  object-fit: contain;
}

.mini-lesson-feature-media > span {
  position: absolute;
  top: 22px;
  left: 22px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: var(--pink);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(255, 184, 220, 0.44);
}

.mini-lesson-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(30px, 5vw, 70px);
}

.mini-lesson-feature-copy small {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-lesson-feature-copy h3 {
  margin: 18px 0;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  line-height: 1.02;
}

.mini-lesson-feature-copy p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.mini-lesson-feature-copy .hub-open {
  background: var(--lime);
  color: #050505;
}

.mini-lesson-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 7, 11, 0.9);
  overflow: hidden;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
}

.mini-lesson-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(32px, 5vw, 76px);
}

.mini-lesson-hero h1 {
  max-width: 820px;
  margin: 14px 0 24px;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.5rem, 5vw, 6.4rem);
  line-height: 0.93;
}

.mini-lesson-hero-copy > p:not(.chapter-label) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 700;
  line-height: 1.5;
}

.mini-lesson-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.mini-lesson-hero-meta span {
  padding: 9px 12px;
  border: 1px solid rgba(183, 255, 42, 0.34);
  border-radius: 999px;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-lesson-hero-media {
  position: relative;
  margin: 0;
  min-width: 0;
  min-height: 520px;
  background: #050505;
}

.mini-lesson-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-lesson-hero-media figcaption,
.mini-reference-card figcaption,
.mini-bot-screens figcaption {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.mini-lesson-hero-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.72);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.mini-lesson-route {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0 clamp(56px, 8vw, 110px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  list-style: none;
  overflow: hidden;
}

.mini-lesson-route.mini-lesson-route-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-lesson-route li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: rgba(8, 7, 11, 0.94);
}

.mini-lesson-route span {
  color: var(--pink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
}

.mini-lesson-route strong {
  min-width: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.mini-lesson-band {
  margin-top: clamp(22px, 4vw, 44px);
  padding: clamp(30px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(10, 9, 14, 0.9);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.2);
}

.mini-lesson-band-head > p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 700;
  line-height: 1.48;
}

.mini-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.mini-reference-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1220px;
  margin-inline: auto;
}

.mini-reference-grid-two .mini-reference-card img {
  height: min(68vw, 760px);
  object-fit: contain;
}

.mini-reference-card {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.mini-reference-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #050505;
}

.mini-reference-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  padding: 18px;
}

.mini-reference-card figcaption span {
  grid-row: 1 / 3;
  color: var(--lime);
  font-size: 0.74rem;
  font-weight: 900;
}

.mini-reference-card figcaption strong {
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
}

.mini-reference-card figcaption small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.66rem;
  font-weight: 700;
}

.mini-lesson-prompt-band {
  background: linear-gradient(120deg, rgba(18, 11, 27, 0.96), rgba(10, 9, 14, 0.94));
}

.mini-prompt-card {
  border: 1px solid rgba(183, 255, 42, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.mini-prompt-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-prompt-card-head > div {
  display: grid;
  gap: 4px;
}

.mini-prompt-card-head small {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-prompt-card-head strong {
  color: #fff;
  font-size: 1rem;
}

.mini-lesson-copy.copy-prompt {
  position: static;
  width: auto;
  min-width: 156px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border-color: rgba(183, 255, 42, 0.5);
  border-radius: 999px;
  background: rgba(183, 255, 42, 0.1);
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 900;
}

.mini-lesson-copy.copy-prompt:hover,
.mini-lesson-copy.copy-prompt.is-copied {
  border-color: var(--lime);
  background: var(--lime);
  color: #050505;
  box-shadow: 0 0 30px rgba(183, 255, 42, 0.24);
}

.mini-prompt-card pre {
  margin: 0;
  padding: clamp(22px, 4vw, 44px);
  color: rgba(255, 255, 255, 0.82);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  font-weight: 600;
  line-height: 1.62;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.mini-bot-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.mini-bot-instructions ol {
  display: grid;
  gap: 1px;
  margin: 0 0 26px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  list-style: none;
  overflow: hidden;
}

.mini-bot-instructions li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  background: rgba(5, 5, 5, 0.74);
}

.mini-bot-instructions li span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
}

.mini-bot-instructions li p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.42;
}

.mini-bot-instructions li strong {
  color: #fff;
}

.mini-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.mini-finish-action-row {
  grid-column: 1;
}

.mini-bot-button {
  min-height: 54px;
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: linear-gradient(100deg, var(--purple), var(--violet));
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(124, 58, 237, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mini-bot-button:hover,
.mini-bot-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(124, 58, 237, 0.44);
}

.mini-bot-button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.mini-work-button {
  border-color: rgba(255, 255, 255, 0.62);
  background: linear-gradient(110deg, var(--lime), var(--cyan));
  color: var(--text);
  box-shadow:
    0 18px 44px rgba(183, 255, 42, 0.26),
    0 0 28px rgba(191, 244, 255, 0.16);
}

.mini-work-button:hover,
.mini-work-button:focus-visible {
  box-shadow:
    0 22px 54px rgba(183, 255, 42, 0.38),
    0 0 32px rgba(191, 244, 255, 0.24);
}

.mini-bot-button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.mini-bot-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-bot-screens figure {
  margin: 0;
  border: 1px solid rgba(191, 244, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.mini-bot-screens img {
  display: block;
  width: 100%;
  height: auto;
}

.mini-bot-screens figcaption {
  padding: 13px 15px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
  font-weight: 800;
}

.mini-work-layout {
  grid-template-columns: minmax(300px, 0.9fr) minmax(280px, 0.7fr);
}

.mini-work-screen {
  max-width: 520px;
  width: 100%;
  margin: 0;
  justify-self: center;
  border: 1px solid rgba(191, 244, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.mini-work-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.mini-work-screen figcaption {
  padding: 13px 15px;
  color: rgba(255, 255, 255, 0.6);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: none;
}

.mini-replace-checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mini-replace-checks article {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(183, 255, 42, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.mini-replace-checks span {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
}

.mini-replace-checks strong {
  display: block;
  margin: 16px 0 10px;
  color: #fff;
  font-size: 1.05rem;
}

.mini-replace-checks p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.replace-person-lesson .mini-lesson-hero-media img {
  object-fit: contain;
}

.mini-lesson-finish-work {
  grid-template-columns: minmax(0, 1fr) max-content;
}

.mini-lesson-finish-work .mini-bot-button {
  grid-column: 2;
}

.mini-result-figure {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #050505;
  overflow: hidden;
}

.mini-result-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.mini-result-figure figcaption {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.mini-result-figure figcaption span {
  padding: 14px;
  background: rgba(8, 7, 11, 0.96);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.mini-lesson-finish {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  margin-top: clamp(22px, 4vw, 44px);
  padding: clamp(30px, 5vw, 72px);
  border: 1px solid rgba(255, 184, 220, 0.42);
  border-radius: 8px;
  background: linear-gradient(125deg, rgba(40, 24, 58, 0.96), rgba(10, 9, 14, 0.94));
}

.mini-lesson-finish > div > p:not(.chapter-label) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
  line-height: 1.5;
}

.mini-lesson-finish figure {
  grid-row: span 2;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.mini-lesson-finish figure img {
  display: block;
  width: 100%;
  height: auto;
}

.mini-lesson-finish .mini-bot-button {
  grid-column: 1;
}

@media (max-width: 980px) {
  .mini-lessons-hero,
  .mini-lesson-feature,
  .mini-lesson-hero,
  .mini-bot-layout,
  .mini-lesson-finish {
    grid-template-columns: 1fr;
  }

  .mini-lesson-finish-work .mini-bot-button {
    grid-column: auto;
  }

  .mini-lessons-hero {
    min-height: 480px;
    align-content: end;
  }

  .mini-lesson-feature-media {
    min-height: 420px;
  }

  .mini-lesson-hero-media {
    min-height: 0;
  }

  .mini-lesson-hero-media img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }

  .mini-lesson-finish figure {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .mini-lessons-section-head,
  .mini-lesson-band-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .mini-lesson-route {
    grid-template-columns: 1fr;
  }

  .mini-reference-grid {
    grid-template-columns: 1fr;
  }

  .mini-lesson-route.mini-lesson-route-four,
  .mini-replace-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-reference-grid-two .mini-reference-card img {
    height: auto;
    max-height: none;
  }

  .mini-reference-card {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .mini-bot-screens {
    grid-template-columns: 1fr;
  }

  .mini-bot-screens figure {
    max-width: 430px;
    width: 100%;
    margin-inline: auto;
  }

  .mini-result-figure figcaption {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .mini-lessons-page .platform-shell,
  .mini-lesson-page .platform-shell {
    padding-bottom: 108px;
  }

  .mini-lessons-hero,
  .mini-lesson-hero-copy,
  .mini-lesson-feature-copy,
  .mini-lesson-band,
  .mini-lesson-finish {
    padding: 24px;
  }

  .mini-lessons-hero {
    min-height: 460px;
    background-position: 62% center;
  }

  .mini-lessons-hero h1 {
    font-size: clamp(2.65rem, 16vw, 4.5rem);
  }

  .mini-lesson-feature {
    min-height: 0;
  }

  .mini-lesson-feature-media {
    min-height: 0;
  }

  .mini-lesson-feature-media img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }

  .mini-lesson-hero h1 {
    font-size: 2.2rem;
    overflow-wrap: anywhere;
  }

  .mini-prompt-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .mini-lesson-copy.copy-prompt,
  .mini-bot-button {
    width: 100%;
  }

  .mini-prompt-card pre {
    padding: 20px;
    font-size: 0.92rem;
  }

  .mini-result-figure figcaption {
    grid-template-columns: 1fr;
  }

  .mini-lesson-route.mini-lesson-route-four,
  .mini-replace-checks {
    grid-template-columns: 1fr;
  }

  .mini-lesson-finish .mini-bot-button {
    grid-column: auto;
  }

  .mini-action-row .mini-bot-button {
    width: 100%;
  }
}

/* Platform search */
.top-nav-search {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: rgba(5, 5, 5, 0.64);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.top-nav-search:hover,
.top-nav-search:focus-visible {
  border-color: rgba(183, 255, 42, 0.5);
  background: var(--lime);
  color: var(--text);
  box-shadow: 0 0 24px rgba(183, 255, 42, 0.28);
  transform: translateY(-1px);
}

.top-nav-search:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.top-nav-search svg {
  width: 18px;
  height: 18px;
}

.platform-search-entry {
  margin: clamp(-20px, -1.5vw, -8px) 0 clamp(34px, 5vw, 64px);
}

.platform-search-launcher {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 15px 18px;
  border: 1px solid rgba(33, 26, 47, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48)),
    linear-gradient(90deg, var(--pink), var(--cyan));
  color: var(--text);
  box-shadow: var(--shadow-glass);
  text-align: left;
  cursor: text;
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.platform-search-launcher:hover,
.platform-search-launcher:focus-visible {
  border-color: var(--lime);
  box-shadow: 0 18px 54px rgba(91, 65, 150, 0.2), 0 0 30px rgba(183, 255, 42, 0.2);
  transform: translateY(-2px);
}

.platform-search-launcher:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.platform-search-launcher-icon,
.platform-search-launcher-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.platform-search-launcher-icon {
  width: 50px;
  height: 50px;
  background: var(--text);
  color: var(--lime);
  box-shadow: 0 0 26px rgba(183, 255, 42, 0.2);
}

.platform-search-launcher-icon svg {
  width: 22px;
  height: 22px;
}

.platform-search-launcher-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.platform-search-launcher-copy small {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.platform-search-launcher-copy strong {
  min-width: 0;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.platform-search-launcher-hint {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(33, 26, 47, 0.18);
  background: rgba(255, 255, 255, 0.54);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  font-weight: 900;
}

body.is-platform-search-open {
  overflow: hidden;
}

.platform-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 42px);
  background: rgba(5, 5, 5, 0.72);
  opacity: 0;
  backdrop-filter: blur(18px) saturate(0.92);
  -webkit-backdrop-filter: blur(18px) saturate(0.92);
  transition: opacity 180ms ease;
}

.platform-search-overlay[hidden] {
  display: none;
}

.platform-search-overlay.is-visible {
  opacity: 1;
}

.platform-search-dialog {
  width: min(1180px, 100%);
  max-height: min(900px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: auto auto auto auto auto minmax(0, 1fr);
  gap: 16px;
  padding: clamp(22px, 3.2vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 8%, rgba(183, 255, 42, 0.12), transparent 26%),
    radial-gradient(circle at 8% 92%, rgba(255, 184, 220, 0.12), transparent 30%),
    #121215;
  color: #fff;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: translateY(14px) scale(0.985);
  transition: transform 180ms ease;
}

.platform-search-overlay.is-visible .platform-search-dialog {
  transform: translateY(0) scale(1);
}

.platform-search-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.platform-search-dialog-head > div {
  min-width: 0;
}

.platform-search-dialog-head p {
  margin: 0 0 8px;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.platform-search-dialog-head h2 {
  margin: 0;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1.04;
}

.platform-search-close {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.platform-search-close:hover,
.platform-search-close:focus-visible {
  border-color: var(--pink);
  background: var(--pink);
  color: var(--text);
}

.platform-search-close:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.platform-search-close svg {
  width: 20px;
  height: 20px;
}

.platform-search-field {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.platform-search-field:focus-within {
  border-color: var(--lime);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 32px rgba(183, 255, 42, 0.15);
}

.platform-search-field > svg {
  width: 24px;
  height: 24px;
  color: var(--lime);
}

.platform-search-field input {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 800;
}

.platform-search-field input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.platform-search-field kbd {
  min-width: 42px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  text-align: center;
}

.platform-search-quick,
.platform-search-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.platform-search-quick::-webkit-scrollbar,
.platform-search-filters::-webkit-scrollbar {
  display: none;
}

.platform-search-quick button,
.platform-search-filters button {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 0 13px;
  border-radius: 999px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.platform-search-quick button {
  border: 1px solid rgba(191, 244, 255, 0.24);
  background: rgba(191, 244, 255, 0.06);
  color: var(--cyan);
}

.platform-search-quick button:hover,
.platform-search-quick button:focus-visible {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--text);
}

.platform-search-filters button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.64);
}

.platform-search-filters button:hover,
.platform-search-filters button:focus-visible,
.platform-search-filters button.is-active {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--text);
}

.platform-search-quick button:focus-visible,
.platform-search-filters button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.platform-search-status {
  color: rgba(255, 255, 255, 0.52);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.platform-search-results {
  min-height: 170px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
  padding-right: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.platform-search-result {
  position: relative;
  min-width: 0;
  min-height: 132px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 16px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.platform-search-result:hover,
.platform-search-result:focus-visible {
  border-color: var(--pink);
  background: rgba(255, 184, 220, 0.1);
  transform: translateY(-2px);
}

.platform-search-result:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.platform-search-result-media {
  width: 112px;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.platform-search-result-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platform-search-result-media.is-placeholder {
  color: var(--lime);
}

.platform-search-result-media.is-placeholder svg {
  width: 30px;
  height: 30px;
}

.platform-search-result-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 7px;
}

.platform-search-result-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-search-result-meta small {
  flex: 0 0 auto;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.platform-search-result-meta em {
  min-width: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-search-result-copy > strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.18;
}

.platform-search-result-copy > span:not(.platform-search-result-meta):not(.platform-search-result-tags) {
  display: -webkit-box;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.36;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.platform-search-result mark {
  padding: 0 2px;
  border-radius: 3px;
  background: var(--pink);
  color: var(--text);
}

.platform-search-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.platform-search-result-tags i {
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.57rem;
  font-style: normal;
  font-weight: 800;
}

.platform-search-result-arrow {
  width: 18px;
  height: 18px;
  align-self: center;
  color: rgba(255, 255, 255, 0.38);
}

.platform-search-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.54);
  text-align: center;
}

.platform-search-empty svg {
  width: 32px;
  height: 32px;
  color: var(--pink);
}

.platform-search-empty strong {
  color: #fff;
  font-size: 1.05rem;
}

.platform-search-empty span {
  max-width: 520px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.is-search-target {
  outline: 3px solid var(--pink);
  outline-offset: 7px;
  box-shadow: 0 0 42px rgba(255, 184, 220, 0.34) !important;
}

@media (max-width: 980px) {
  .platform-search-results {
    grid-template-columns: 1fr;
  }

  .platform-search-dialog {
    max-height: calc(100vh - 28px);
  }
}

@media (max-width: 760px) {
  .top-nav-search {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .platform-search-entry {
    margin-top: -10px;
    margin-bottom: 42px;
  }

  .platform-search-launcher {
    min-height: 72px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
    padding: 12px;
  }

  .platform-search-launcher-icon {
    width: 44px;
    height: 44px;
  }

  .platform-search-launcher-hint {
    display: none;
  }

  .platform-search-overlay {
    place-items: stretch;
    padding: 0;
  }

  .platform-search-dialog {
    width: 100%;
    height: 100dvh;
    max-height: none;
    padding: 20px 14px calc(22px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
  }

  .platform-search-field {
    min-height: 62px;
    gap: 10px;
    padding-inline: 14px;
  }

  .platform-search-field kbd {
    display: none;
  }

  .platform-search-result {
    min-height: 116px;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .platform-search-result-media {
    width: 88px;
    min-height: 96px;
  }

  .platform-search-result-copy > span:not(.platform-search-result-meta):not(.platform-search-result-tags) {
    -webkit-line-clamp: 1;
  }

  .platform-search-result-tags {
    display: none;
  }
}

@media (max-width: 430px) {
  .platform-search-dialog-head h2 {
    font-size: 1.55rem;
  }

  .platform-search-dialog-head p,
  .platform-search-status {
    font-size: 0.64rem;
  }

  .platform-search-result {
    grid-template-columns: 74px minmax(0, 1fr) auto;
    min-height: 104px;
    padding: 8px;
  }

  .platform-search-result-media {
    width: 74px;
    min-height: 88px;
  }

  .platform-search-result-copy > strong {
    font-size: 0.92rem;
  }

  .platform-search-result-copy > span:not(.platform-search-result-meta):not(.platform-search-result-tags) {
    display: none;
  }
}

/* Ecosystem account controls stay compact after the legacy responsive rules. */
.platform-dashboard-page .protected-account {
  display: flex;
  grid-template-columns: none;
  max-width: min(560px, 38vw);
  padding-left: 6px;
}

.platform-dashboard-page .protected-account .account-profile-link,
.platform-dashboard-page .protected-account .account-topup {
  display: inline-grid;
}

@media (max-width: 1100px) {
  .platform-dashboard-page .protected-account .account-balance,
  .platform-dashboard-page .protected-account .account-topup {
    display: none;
  }
}

@media (max-width: 420px) {
  .platform-dashboard-page .protected-account {
    display: flex;
    grid-template-columns: none;
    max-width: 100%;
  }

  .platform-dashboard-page .protected-account .account-profile-link,
  .platform-dashboard-page .protected-account button {
    display: inline-grid;
  }
}

/* WORK release, canonical service controls and compact free collections. */
.public-hero .public-telegram-links,
.free-landing-hero .public-telegram-links {
  width: min(500px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-hero .public-telegram-link,
.free-landing-hero .public-telegram-link {
  min-width: 0;
  justify-content: center;
}

.public-work-release {
  margin-top: clamp(16px, 2vw, 26px);
  margin-bottom: clamp(26px, 3vw, 42px);
}

.work-announcement-release {
  color: inherit;
  text-decoration: none;
}

.work-announcement-release .work-announcement-cta {
  gap: 7px;
}

.work-announcement-release .work-announcement-cta svg {
  width: 16px;
  height: 16px;
}

.sport-free-section {
  display: block;
  margin-top: clamp(28px, 4vw, 54px);
  margin-bottom: clamp(30px, 4vw, 58px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sport-free-section::before {
  display: none;
}

.sport-free-disclosure {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 184, 220, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(33, 22, 51, 0.98), rgba(10, 15, 12, 0.98));
  color: #fff;
  box-shadow: 0 24px 70px rgba(49, 26, 85, 0.2);
}

.sport-free-disclosure::before {
  content: "SPORT";
  position: absolute;
  top: 8px;
  right: 18px;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.sport-free-summary {
  position: relative;
  z-index: 2;
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr) auto;
  gap: clamp(16px, 2.5vw, 34px);
  align-items: center;
  padding: clamp(18px, 2.4vw, 28px);
  list-style: none;
  cursor: pointer;
}

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

.sport-free-summary-label,
.sport-free-summary-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.sport-free-summary-label small,
.sport-free-summary-copy small {
  color: rgba(255, 255, 255, 0.6);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.sport-free-summary-copy > strong {
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.18rem, 2.3vw, 2rem);
  line-height: 1.03;
}

.sport-free-summary-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(183, 255, 42, 0.48);
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.1);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.sport-free-summary:hover .sport-free-summary-action,
.sport-free-summary:focus-visible .sport-free-summary-action {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--text);
}

.sport-free-summary-action svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.sport-free-disclosure[open] .sport-free-summary-action svg {
  transform: rotate(180deg);
}

.sport-free-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  padding: 0 clamp(20px, 4vw, 54px) clamp(26px, 4vw, 54px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sport-free-content .sport-free-intro {
  padding-top: clamp(24px, 4vw, 44px);
}

.work-release-section {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(22px, 3vw, 38px);
  margin: clamp(34px, 5vw, 72px) 0;
  padding: clamp(24px, 4vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(255, 184, 220, 0.7);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 184, 220, 0.26), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(183, 255, 42, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(33, 22, 51, 0.99), rgba(8, 8, 12, 0.99));
  color: #fff;
  box-shadow: 0 26px 82px rgba(49, 26, 85, 0.28), 0 0 38px rgba(255, 184, 220, 0.12);
}

.work-release-section::before {
  content: "WORK";
  position: absolute;
  top: -0.08em;
  right: -0.02em;
  z-index: -1;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(5rem, 16vw, 15rem);
  font-weight: 900;
  line-height: 0.8;
}

.work-release-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.work-release-copy {
  max-width: 990px;
}

.work-release-copy .chapter-label {
  color: var(--pink);
}

.work-release-copy h2 {
  max-width: 1050px;
  margin: 10px 0 16px;
  color: #fff;
  font-size: clamp(2.35rem, 5.4vw, 5.8rem);
  line-height: 0.94;
}

.work-release-copy > p:last-child {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 650;
  line-height: 1.5;
}

.work-release-actions {
  width: min(100%, 260px);
  display: grid;
  gap: 10px;
}

.work-release-actions .public-telegram-link {
  justify-content: center;
}

.work-release-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-release-flow li,
.work-release-models article {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.work-release-flow li:hover,
.work-release-models article:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 184, 220, 0.7);
  background: rgba(255, 184, 220, 0.1);
}

.work-release-flow span,
.work-release-models article > span {
  color: var(--pink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-release-flow strong {
  color: #fff;
  font-size: 1.05rem;
}

.work-release-flow small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  line-height: 1.4;
}

.work-release-models {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.work-release-models article:nth-child(2n) > span {
  color: var(--lime);
}

.work-release-models p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.5;
}

.gpts-access-note {
  grid-template-columns: auto minmax(0, 1fr) minmax(300px, auto);
}

.gpts-access-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.gpts-access-actions .public-telegram-link {
  justify-content: center;
  min-width: 0;
}

.gpts-access-note-strong {
  gap: clamp(16px, 2vw, 26px);
  padding: clamp(22px, 3vw, 34px);
  border-color: rgba(183, 255, 42, 0.58);
  background:
    radial-gradient(circle at 86% 50%, rgba(183, 255, 42, 0.18), transparent 32%),
    radial-gradient(circle at 66% 10%, rgba(124, 58, 237, 0.24), transparent 32%),
    linear-gradient(135deg, rgba(183, 255, 42, 0.13), rgba(255, 255, 255, 0.052)),
    #151515;
}

.gpts-access-note-strong .gpts-access-note-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  box-shadow: 0 0 32px rgba(183, 255, 42, 0.22);
}

.gpts-access-note-copy {
  display: grid;
  gap: 8px;
}

.gpts-access-note-strong .gpts-access-note-copy strong {
  margin: 0;
  max-width: 900px;
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 3.15rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.gpts-access-note-strong .gpts-access-note-copy strong span {
  display: inline-block;
  margin-top: 4px;
  padding: 0.04em 0.16em 0.09em;
  border-radius: 0.22em;
  background:
    linear-gradient(135deg, rgba(255, 184, 220, 0.98), rgba(255, 132, 202, 0.92));
  color: #23172a;
  box-shadow: 0 18px 44px rgba(255, 132, 202, 0.22);
}

.gpts-access-note-strong .gpts-access-note-copy p {
  max-width: 980px;
}

.gpts-access-no-vpn {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.gpts-access-official-note {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.56) !important;
  font-size: 0.88rem;
}

.gpts-access-note-cta {
  display: grid;
  gap: 10px;
  justify-items: end;
  min-width: min(100%, 390px);
}

.gpts-access-note-cta > span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.88), transparent 34%),
    linear-gradient(135deg, var(--lime), #78f7ff);
  color: #101012;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.78rem, 1.05vw, 1rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow:
    0 16px 44px rgba(183, 255, 42, 0.24),
    0 0 34px rgba(120, 247, 255, 0.16);
}

.gpts-access-note-strong .gpts-access-actions {
  width: 100%;
  gap: 10px;
}

.gpts-access-note-strong .public-telegram-link {
  min-height: 58px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.gpts-page .gpt-agents-guide {
  grid-template-columns: minmax(310px, 0.46fr) minmax(0, 1fr);
  column-gap: clamp(48px, 6vw, 100px);
  align-items: start;
}

.gpts-page .gpt-agents-guide > p {
  grid-column: 2;
}

.site-legal-footer {
  width: min(100%, 920px);
}

.site-legal-operator {
  flex-basis: 100%;
  color: color-mix(in srgb, currentColor 76%, transparent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  line-height: 1.4;
  text-align: center;
}

.top-nav a[data-ohmyai-work-nav] {
  color: var(--violet);
}

.copy-prompt:not(:has(span)):not(:has(.copy-label)) {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 8px;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.copy-prompt:not(:has(span)):not(:has(.copy-label)):hover,
.copy-prompt:not(:has(span)):not(:has(.copy-label)):focus-visible,
.copy-prompt:not(:has(span)):not(:has(.copy-label)).is-copied {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--text);
  box-shadow: 0 0 24px rgba(183, 255, 42, 0.3);
}

@media (min-width: 981px) {
  .platform-dashboard-intro {
    min-height: 350px;
    padding-right: clamp(380px, 35vw, 510px);
  }

  .platform-dashboard-intro .dashboard-telegram-links {
    top: auto;
    bottom: clamp(34px, 3.2vw, 48px);
    right: clamp(34px, 3.2vw, 48px);
    width: min(440px, 34vw);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .platform-dashboard-intro .dashboard-telegram-links .protected-telegram-link {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    gap: 7px;
  }

  .platform-dashboard-intro .dashboard-telegram-links .protected-telegram-link strong {
    font-size: 0.72rem;
  }

  .platform-dashboard-intro .dashboard-telegram-links .protected-telegram-link svg {
    width: 15px;
    height: 15px;
  }

  .platform-dashboard-update-anchor {
    position: absolute;
    top: clamp(190px, 15vw, 226px);
    right: clamp(24px, 4vw, 58px);
    width: min(420px, 34vw);
    margin: 0;
    justify-content: flex-start;
  }

  .platform-dashboard-update-anchor .platform-update-tools {
    width: 100%;
  }

  .platform-dashboard-update-anchor .updates-checklist-button {
    width: 100%;
    min-height: 54px;
    justify-content: space-between;
    padding: 0 12px 0 20px;
  }
}

@media (max-width: 980px) {
  .top-nav-update-button {
    display: none;
  }
}

@media (max-width: 1100px) {
  .work-release-models {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpts-access-note {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .gpts-access-actions {
    grid-column: 1 / -1;
  }

  .gpts-access-note-cta {
    grid-column: 1 / -1;
    width: 100%;
    justify-items: start;
  }
}

@media (max-width: 820px) {
  .sport-free-summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sport-free-summary-label {
    grid-column: 1;
  }

  .sport-free-summary-copy {
    grid-column: 1;
  }

  .sport-free-summary-action {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .sport-free-summary-action span {
    display: none;
  }

  .work-release-head,
  .work-release-flow,
  .gpts-page .gpt-agents-guide {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-release-actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpts-page .gpt-agents-guide > p {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .public-hero .public-telegram-links .public-telegram-link-support,
  .free-landing-hero .public-telegram-links .public-telegram-link-support {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }

  .sport-free-summary {
    min-height: 0;
    gap: 12px;
    padding: 16px;
  }

  .sport-free-summary-copy > strong {
    font-size: 1.08rem;
  }

  .sport-free-new {
    min-height: 29px;
    font-size: 0.62rem;
  }

  .sport-free-content {
    padding-inline: 12px;
  }

  .sport-free-content .sport-free-intro,
  .sport-free-grid,
  .work-release-flow,
  .work-release-models {
    grid-template-columns: minmax(0, 1fr);
  }

  .sport-free-intro h2 {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  .work-release-section {
    padding: 22px 14px;
  }

  .work-release-copy h2 {
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }

  .work-release-actions,
  .gpts-access-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .gpts-access-note {
    grid-template-columns: auto minmax(0, 1fr);
    border-radius: 18px;
  }

  .gpts-access-note-strong {
    grid-template-columns: minmax(0, 1fr);
  }

  .gpts-access-note-strong .gpts-access-note-icon {
    width: 52px;
    height: 52px;
  }

  .gpts-access-note-cta {
    min-width: 0;
  }

  .public-work-release {
    margin-inline: 0;
  }

  .work-announcement-release {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sport-free-summary-action svg,
  .work-release-flow li,
  .work-release-models article {
    transition: none;
  }
}

/* Protected header: compact menu for growing navigation. */
.protected-page .topbar.has-collapsible-menu,
.platform-dashboard-page .topbar.has-collapsible-menu {
  grid-template-columns: max-content minmax(0, 1fr) 48px minmax(0, max-content);
  align-items: center;
  overflow: visible;
}

.protected-page .topbar.has-collapsible-menu > .protected-telegram-links,
.platform-dashboard-page .topbar.has-collapsible-menu > .protected-telegram-links {
  grid-column: 2;
  justify-self: end;
  display: inline-flex;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.protected-page .topbar.has-collapsible-menu > .protected-telegram-links::-webkit-scrollbar,
.platform-dashboard-page .topbar.has-collapsible-menu > .protected-telegram-links::-webkit-scrollbar {
  display: none;
}

.protected-page .topbar.has-collapsible-menu > .protected-account,
.platform-dashboard-page .topbar.has-collapsible-menu > .protected-account {
  grid-column: 4;
  grid-row: 1;
  width: max-content;
  min-width: max-content;
  max-width: none;
  flex: 0 0 auto;
  justify-self: end;
  padding-right: 6px;
  overflow: visible;
}

.protected-page .topbar.has-collapsible-menu > .protected-account button,
.platform-dashboard-page .topbar.has-collapsible-menu > .protected-account button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.topbar-menu-toggle {
  width: 46px;
  min-width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 18%, rgba(183, 255, 42, 0.78), transparent 42%),
    rgba(255, 255, 255, 0.72);
  color: var(--text);
  box-shadow: 0 16px 36px rgba(91, 65, 150, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.topbar-menu-toggle:hover,
.topbar-menu-toggle:focus-visible,
.topbar.has-collapsible-menu.is-menu-open .topbar-menu-toggle {
  border-color: rgba(183, 255, 42, 0.86);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.86), transparent 42%),
    var(--lime);
  transform: translateY(-1px);
}

.topbar-menu-toggle svg {
  width: 22px;
  height: 22px;
}

.topbar-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 8px;
  right: 8px;
  z-index: 80;
  display: none;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 24px;
  background: rgba(246, 238, 255, 0.9);
  box-shadow: 0 24px 64px rgba(91, 65, 150, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
}

.topbar.has-collapsible-menu.is-menu-open .topbar-menu-panel {
  display: grid;
}

.protected-page .topbar.has-collapsible-menu .topbar-menu-panel .top-nav,
.platform-dashboard-page .topbar.has-collapsible-menu .topbar-menu-panel .top-nav {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  justify-self: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.protected-page .topbar.has-collapsible-menu .topbar-menu-panel .top-nav::-webkit-scrollbar,
.platform-dashboard-page .topbar.has-collapsible-menu .topbar-menu-panel .top-nav::-webkit-scrollbar {
  display: none;
}

@media (max-width: 760px) {
  .protected-page .topbar.has-collapsible-menu,
  .platform-dashboard-page .topbar.has-collapsible-menu {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 44px auto;
    gap: 6px;
    padding: 6px;
    border-radius: 26px;
  }

  .protected-page .topbar.has-collapsible-menu > .protected-account,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-account {
    grid-column: 3;
    max-width: none;
    min-width: 0;
    width: auto;
    padding: 4px 5px 4px 8px;
    gap: 6px;
  }

  .protected-page .topbar.has-collapsible-menu > .protected-account span,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-account span {
    max-width: clamp(72px, 18vw, 118px);
    font-size: 0.78rem;
  }

  .protected-page .topbar.has-collapsible-menu > .protected-account button,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-account button {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.86rem;
  }

  .protected-page .topbar.has-collapsible-menu .brand,
  .platform-dashboard-page .topbar.has-collapsible-menu .brand {
    gap: 7px;
    min-width: 0;
    padding-inline: 4px;
  }

  .protected-page .topbar.has-collapsible-menu .brand-mark,
  .platform-dashboard-page .topbar.has-collapsible-menu .brand-mark {
    font-size: clamp(1rem, 4.2vw, 1.22rem);
  }

  .protected-page .topbar.has-collapsible-menu .brand-lab,
  .platform-dashboard-page .topbar.has-collapsible-menu .brand-lab {
    min-height: 30px;
    padding-inline: 9px;
    font-size: 0.72rem;
  }

  .topbar-menu-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .protected-page .topbar.has-collapsible-menu > .protected-telegram-links,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-telegram-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: stretch;
    gap: 6px;
    width: 100%;
    overflow: visible;
  }

  .protected-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link.public-telegram-link,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link.public-telegram-link {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    justify-content: center;
    gap: 5px;
    padding: 7px 6px;
  }

  .protected-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link.public-telegram-link strong,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link.public-telegram-link strong {
    overflow: visible;
    font-size: 0;
    line-height: 0;
  }

  .protected-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link.public-telegram-link strong::after,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link.public-telegram-link strong::after {
    font-size: clamp(0.58rem, 2.4vw, 0.68rem);
    line-height: 1;
    letter-spacing: 0;
  }

  .protected-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link:nth-child(1) strong::after,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link:nth-child(1) strong::after {
    content: "CHANNEL";
  }

  .protected-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link:nth-child(2) strong::after,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link:nth-child(2) strong::after {
    content: "SUPPORT";
  }

  .protected-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link:nth-child(3) strong::after,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link:nth-child(3) strong::after {
    content: "WORK";
  }

  .protected-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link:nth-child(4) strong::after,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link:nth-child(4) strong::after {
    content: "BOT";
  }

  .protected-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link.public-telegram-link svg,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link.public-telegram-link svg {
    width: 15px;
    height: 15px;
  }

  .topbar-menu-panel {
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    border-radius: 22px;
  }

  .protected-page .topbar.has-collapsible-menu .topbar-menu-panel .top-nav,
  .platform-dashboard-page .topbar.has-collapsible-menu .topbar-menu-panel .top-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .protected-page .topbar.has-collapsible-menu,
  .platform-dashboard-page .topbar.has-collapsible-menu {
    grid-template-columns: minmax(0, 1fr) 42px max-content;
  }

  .protected-page .topbar.has-collapsible-menu > .protected-account,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-account {
    width: max-content;
    padding-left: 4px;
  }

  .protected-page .topbar.has-collapsible-menu > .protected-account span,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-account span,
  .protected-page .topbar.has-collapsible-menu > .protected-account strong,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-account strong,
  .protected-page .topbar.has-collapsible-menu > .protected-account .account-profile-link,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-account .account-profile-link {
    display: none;
  }

  .protected-page .topbar.has-collapsible-menu > .protected-account button,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-account button {
    min-height: 34px;
    padding-inline: 12px;
  }

  .protected-page .topbar.has-collapsible-menu .brand-mark,
  .platform-dashboard-page .topbar.has-collapsible-menu .brand-mark {
    font-size: clamp(0.92rem, 5vw, 1.08rem);
  }

  .protected-page .topbar.has-collapsible-menu .brand-lab,
  .platform-dashboard-page .topbar.has-collapsible-menu .brand-lab {
    min-height: 28px;
    padding-inline: 7px;
    font-size: 0.66rem;
  }

  .topbar-menu-toggle {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }
}

@media (max-width: 370px) {
  .protected-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link.public-telegram-link,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link.public-telegram-link {
    gap: 4px;
    padding-inline: 5px;
  }

  .protected-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link.public-telegram-link svg,
  .platform-dashboard-page .topbar.has-collapsible-menu > .protected-telegram-links .protected-telegram-link.public-telegram-link svg {
    width: 14px;
    height: 14px;
  }
}

/* Codex content factory lesson - local draft 20260803 */
.content-factory-page .pipeline-lesson-hero {
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 0.52fr);
}

.content-factory-page .pipeline-lesson-hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 5.5vw, 6.5rem);
  line-height: 0.9;
}

.content-factory-page .pipeline-lesson-hero-copy > p:not(.chapter-label) {
  max-width: 980px;
  margin-top: clamp(18px, 2.2vw, 32px);
}

.content-factory-hero-media {
  width: min(100%, 660px);
}

.content-factory-hero-media img {
  aspect-ratio: 1200 / 760;
  border-radius: 22px 22px 0 0;
}

.content-factory-page .pipeline-lesson-tags + .pipeline-resource-actions {
  margin-top: clamp(18px, 2.4vw, 30px);
}

.content-factory-intro,
.content-factory-map-section,
.content-factory-steps,
.content-factory-rules,
.content-factory-channel-section,
.content-factory-schedule,
.content-factory-polish,
.content-factory-checklist {
  grid-template-columns: minmax(0, 1fr);
}

.content-factory-intro .pipeline-section-copy,
.content-factory-map-section .pipeline-section-copy,
.content-factory-tree-section .pipeline-section-copy,
.content-factory-steps .pipeline-section-copy,
.content-factory-rules .pipeline-section-copy,
.content-factory-channel-section .pipeline-section-copy,
.content-factory-schedule .pipeline-section-copy,
.content-factory-polish .pipeline-section-copy,
.content-factory-checklist .pipeline-section-copy {
  max-width: 1120px;
  gap: clamp(17px, 1.8vw, 25px);
}

.content-factory-page .pipeline-section-copy h2 + p {
  margin-top: clamp(4px, 0.7vw, 10px);
}

.content-factory-page .pipeline-prompt-head > div {
  display: grid;
  gap: 10px;
}

.content-factory-page .pipeline-lesson-close > div {
  gap: clamp(12px, 1.5vw, 20px);
}

.content-factory-page .pipeline-lesson-close > p {
  margin-top: clamp(6px, 1vw, 14px);
}

.content-factory-stat-grid,
.content-factory-folder-grid,
.content-factory-channel-grid,
.content-factory-schedule-grid,
.content-factory-polish-grid,
.content-factory-tree-map,
.content-factory-check-grid {
  display: grid;
  gap: 14px;
}

.content-factory-stat-note {
  display: grid;
  gap: 12px;
  margin-top: clamp(18px, 2vw, 28px);
  padding: clamp(18px, 2.3vw, 28px);
  border: 1px solid rgba(183, 255, 42, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 10%, rgba(183, 255, 42, 0.12), transparent 34%),
    linear-gradient(110deg, rgba(183, 255, 42, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
}

.content-factory-stat-note strong {
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.35rem, 2vw, 2.45rem);
  line-height: 1.05;
}

.content-factory-stat-note p {
  max-width: 1160px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  font-weight: 720;
  line-height: 1.52;
}

.content-factory-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.content-factory-stat-grid article,
.content-factory-folder-grid article,
.content-factory-channel-grid article,
.content-factory-schedule-grid article,
.content-factory-polish-grid article,
.content-factory-tree-map article,
.content-factory-flow article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 12%, rgba(183, 255, 42, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.content-factory-stat-grid article {
  display: grid;
  gap: 10px;
  align-content: end;
  min-height: 150px;
  padding: 20px;
}

.content-factory-stat-grid strong {
  color: var(--lime);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 5.4rem);
  line-height: 0.9;
}

.content-factory-stat-grid span,
.content-factory-folder-grid p,
.content-factory-channel-grid p,
.content-factory-schedule-grid p,
.content-factory-polish-grid p,
.content-factory-tree-map p,
.content-factory-flow p,
.content-factory-rule-list p,
.content-factory-check-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 760;
  line-height: 1.38;
}

.content-factory-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.content-factory-flow > svg,
.content-factory-flow > i {
  display: none;
}

.content-factory-flow article {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 230px;
  padding: 22px;
}

.content-factory-flow article:not(:last-of-type)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -17px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(183, 255, 42, 0.55);
  border-radius: 999px;
  background:
    linear-gradient(135deg, transparent 42%, #b7ff2a 42% 58%, transparent 58%),
    rgba(7, 7, 8, 0.96);
  transform: translateY(-50%) rotate(45deg);
}

.content-factory-flow span,
.content-factory-folder-grid span,
.content-factory-channel-grid span,
.content-factory-schedule-grid span,
.content-factory-polish-grid span,
.content-factory-tree-map span {
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(183, 255, 42, 0.38);
  border-radius: var(--radius-pill);
  background: rgba(183, 255, 42, 0.12);
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.content-factory-flow strong,
.content-factory-folder-grid strong,
.content-factory-channel-grid h3,
.content-factory-schedule-grid strong,
.content-factory-polish-grid strong,
.content-factory-tree-map strong {
  margin: 0;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.2rem, 1.6vw, 1.85rem);
  line-height: 1.02;
}

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

.content-factory-folder-grid article,
.content-factory-channel-grid article,
.content-factory-schedule-grid article,
.content-factory-polish-grid article,
.content-factory-tree-map article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
}

.content-factory-tree-map {
  max-width: 980px;
}

.content-factory-tree-map article {
  grid-template-columns: minmax(92px, 0.24fr) minmax(170px, 0.35fr) minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
}

.content-factory-tree-map .is-leaves {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.052);
}

.content-factory-tree-map .is-branches {
  border-color: rgba(141, 107, 255, 0.32);
  background:
    radial-gradient(circle at 88% 18%, rgba(141, 107, 255, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.052);
}

.content-factory-tree-map .is-trunk {
  border-color: rgba(183, 255, 42, 0.26);
  background:
    radial-gradient(circle at 88% 18%, rgba(183, 255, 42, 0.15), transparent 38%),
    rgba(255, 255, 255, 0.052);
}

.content-factory-tree-map .is-roots {
  border-color: rgba(183, 255, 42, 0.52);
  box-shadow: 0 0 42px rgba(183, 255, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.content-factory-codex-window {
  width: min(100%, 420px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(183, 255, 42, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 10%, rgba(183, 255, 42, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.055);
}

.content-factory-codex-window img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.28);
}

.content-factory-codex-window figcaption,
.content-factory-gallery-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.42;
  text-transform: uppercase;
}

.content-factory-codex-window figcaption {
  padding: 14px 16px 16px;
}

.content-factory-rule-list,
.content-factory-check-grid {
  display: grid;
  gap: 12px;
}

.content-factory-rule-list p,
.content-factory-check-grid p {
  padding: 16px 18px;
  border: 1px solid rgba(183, 255, 42, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(183, 255, 42, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
}

.content-factory-rule-list strong {
  color: #fff;
}

.content-factory-channel-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.content-factory-channel-grid article {
  min-height: 260px;
}

.content-factory-link-row {
  margin-top: 18px;
}

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

.content-factory-note {
  margin-top: 18px;
}

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

.content-factory-polish-grid article {
  min-height: 210px;
}

.content-factory-example {
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid rgba(183, 255, 42, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(183, 255, 42, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.055);
}

.content-factory-example img {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.34);
}

.content-factory-example figcaption {
  padding: 16px 18px 18px;
  color: rgba(255, 255, 255, 0.7);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.content-factory-pinterest-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.content-factory-pinterest-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.32);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

.content-factory-gallery-note {
  max-width: 940px;
  margin-top: 12px;
}

.content-factory-page .pipeline-copy-button.copy-prompt {
  position: relative;
}

.content-factory-page .pipeline-copy-button.copy-prompt svg,
.content-factory-page .pipeline-copy-button.copy-prompt i {
  display: none;
}

.content-factory-page .pipeline-copy-button.copy-prompt::before,
.content-factory-page .pipeline-copy-button.copy-prompt::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
  pointer-events: none;
}

.content-factory-page .pipeline-copy-button.copy-prompt::before {
  right: 20px;
  top: 19px;
  opacity: 0.62;
}

.content-factory-page .pipeline-copy-button.copy-prompt::after {
  right: 15px;
  top: 24px;
  background: rgba(7, 7, 8, 0.82);
}

.content-factory-prompt-section .pipeline-prompt-text {
  max-height: 420px;
}

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

.content-factory-check-grid p {
  position: relative;
  padding-left: 54px;
}

.content-factory-check-grid p::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(183, 255, 42, 0.34);
}

.content-factory-close h2 {
  max-width: 1000px;
  font-size: clamp(2rem, 4vw, 4.7rem);
}

.pipeline-project-card.pipeline-content-factory-card figure {
  display: grid;
  place-items: center;
  background: #050506;
}

.pipeline-project-card.pipeline-content-factory-card figure img {
  height: auto;
  min-height: 0;
  max-height: 380px;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .content-factory-page .pipeline-lesson-hero,
  .content-factory-flow,
  .content-factory-folder-grid,
  .content-factory-channel-grid,
  .content-factory-schedule-grid,
  .content-factory-polish-grid,
  .content-factory-tree-map article {
    grid-template-columns: 1fr;
  }

  .content-factory-flow article {
    min-height: 0;
  }

  .content-factory-flow article:not(:last-of-type)::after {
    top: auto;
    right: 22px;
    bottom: -17px;
    transform: rotate(135deg);
  }

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

  .content-factory-hero-media {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .content-factory-page .pipeline-lesson-hero h1 {
    font-size: clamp(2.35rem, 14vw, 4rem);
  }

  .content-factory-stat-grid,
  .content-factory-pinterest-gallery,
  .content-factory-check-grid {
    grid-template-columns: 1fr;
  }

  .content-factory-stat-grid article,
  .content-factory-folder-grid article,
  .content-factory-channel-grid article,
  .content-factory-schedule-grid article,
  .content-factory-polish-grid article,
  .content-factory-tree-map article,
  .content-factory-flow article {
    padding: 18px;
    border-radius: 20px;
  }

  .content-factory-check-grid p {
    padding-left: 46px;
  }

  .content-factory-check-grid p::before {
    left: 15px;
  }
}

/* COLOR BIBLE */
.color-bible-page {
  display: grid;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(26px, 4vw, 64px) clamp(18px, 4vw, 56px) clamp(52px, 6vw, 88px);
}

.color-bible-topbar {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1760px);
  min-height: 54px;
  margin: 0 auto calc(-1 * clamp(12px, 2vw, 24px));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(14, 13, 18, 0.86);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.color-bible-topbar a,
.color-bible-topbar > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin: 0;
  border-radius: 12px;
  padding: 0 12px;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.color-bible-topbar a:first-child {
  color: var(--ink);
  background: var(--lime);
}

.color-bible-topbar a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.color-bible-topbar small {
  color: rgba(255, 255, 255, 0.54);
  font: inherit;
}

.color-bible-intro,
.color-bible-how,
.color-bible-test-prompts,
.color-bible-catalog,
.color-bible-detail-hero,
.color-bible-meta-grid article,
.color-bible-prompt-card {
  border: 1px solid rgba(156, 255, 24, 0.28);
  background:
    linear-gradient(135deg, rgba(156, 255, 24, 0.08), rgba(170, 140, 255, 0.08)),
    rgba(18, 18, 20, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.color-bible-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  min-height: 480px;
  border-radius: 42px;
  padding: clamp(28px, 5vw, 72px);
  overflow: hidden;
  position: relative;
}

.color-bible-intro::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% 45%;
  height: 360px;
  background: radial-gradient(circle, rgba(156, 255, 24, 0.18), transparent 62%);
  pointer-events: none;
}

.color-bible-intro p,
.color-bible-section-head span,
.color-bible-how span,
.color-bible-meta-grid span,
.color-bible-prompt-card header span {
  margin: 0;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.color-bible-intro h2 {
  margin: 18px 0 12px;
  max-width: 980px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 10.5rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.color-bible-intro strong {
  display: block;
  max-width: 860px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 2.1rem);
  line-height: 1.1;
}

.color-bible-intro span {
  display: block;
  max-width: 820px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
}

.color-bible-intro aside {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.color-bible-hero-showcase {
  display: grid;
  gap: 14px;
}

.color-bible-hero-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.color-bible-hero-cards img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.color-bible-hero-showcase .color-bible-swatches {
  min-height: 38px;
}

.color-bible-hero-showcase .color-bible-swatch {
  min-height: 38px;
}

.color-bible-intro aside small {
  display: block;
  margin: 2px 0 0;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.color-bible-intro aside p,
.color-bible-section-head p,
.color-bible-how p,
.color-bible-how li,
.color-bible-meta-grid p,
.color-bible-card p,
.color-bible-card strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.color-bible-how {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  border-radius: 30px;
  padding: clamp(24px, 4vw, 42px);
}

.color-bible-how h3,
.color-bible-section-head h3 {
  margin: 10px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.color-bible-how p {
  margin: 16px 0 0;
}

.color-bible-how ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: color-bible-step;
}

.color-bible-how li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  counter-increment: color-bible-step;
}

.color-bible-how li::before {
  content: counter(color-bible-step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(156, 255, 24, 0.16);
  color: var(--lime);
  font-family: var(--font-mono);
  font-weight: 900;
}

.color-bible-test-prompts,
.color-bible-catalog {
  border-radius: 34px;
  padding: clamp(24px, 4vw, 44px);
}

.color-bible-section-head {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin-bottom: 24px;
}

.color-bible-section-head p {
  margin: 0;
  max-width: 900px;
}

.color-bible-prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.color-bible-prompt-card {
  display: grid;
  gap: 16px;
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  padding: 22px;
}

.color-bible-prompt-card.is-wide {
  grid-column: 1 / -1;
}

.color-bible-prompt-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.color-bible-prompt-card header .color-bible-copy-button {
  position: static;
  flex: 0 0 auto;
}

.color-bible-copy-button {
  position: static;
  inset: auto;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.color-bible-copy-button:hover,
.color-bible-copy-button:focus-visible,
.color-bible-copy-button.is-copied {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}

.color-bible-prompt-card h4 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
  letter-spacing: 0;
}

.color-bible-prompt-card pre {
  margin: 0;
  white-space: pre-wrap;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  font-weight: 800;
  line-height: 1.65;
}

.color-bible-tools {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.color-bible-tools label {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--lime);
  background: rgba(255, 255, 255, 0.06);
}

.color-bible-tools input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: 800 1rem var(--font-body);
}

.color-bible-tools input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.color-bible-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-bible-filters button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
}

.color-bible-filters button.is-active,
.color-bible-filters button:hover,
.color-bible-filters button:focus-visible {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}

.color-bible-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.color-bible-card {
  display: grid;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  color: inherit;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.color-bible-card > a {
  display: grid;
  grid-template-rows: 220px 1fr;
  min-height: inherit;
  color: inherit;
  text-decoration: none;
}

.color-bible-card:hover,
.color-bible-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(156, 255, 24, 0.75);
  background: rgba(156, 255, 24, 0.08);
}

.color-bible-card.is-hidden {
  display: none;
}

.color-bible-card > a > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.color-bible-card > a > div {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
}

.color-bible-card > .color-bible-copy-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(28, 28, 30, 0.72);
  backdrop-filter: blur(12px);
}

.color-bible-card small {
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.color-bible-card h4 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.color-bible-card p,
.color-bible-card strong {
  margin: 0;
}

.color-bible-card strong {
  color: rgba(255, 255, 255, 0.86);
}

.color-bible-card span:not(.color-bible-swatch) {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 900;
}

.color-bible-swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 34px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.color-bible-swatch {
  display: block;
  min-height: 34px;
  background: var(--swatch);
}

.color-bible-swatches.is-named {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.color-bible-swatches.is-named .color-bible-swatch {
  display: flex;
  align-items: end;
  min-height: 126px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px;
}

.color-bible-swatches.is-named small {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 9px;
  color: #111;
  background: rgba(255, 255, 255, 0.78);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.color-bible-detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.color-bible-detail-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid rgba(156, 255, 24, 0.45);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--lime);
  background: rgba(156, 255, 24, 0.08);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.color-bible-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(24px, 4vw, 52px);
  border-radius: 38px;
  padding: clamp(24px, 4vw, 52px);
}

.color-bible-detail-hero p {
  margin: 0 0 14px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-weight: 900;
  text-transform: uppercase;
}

.color-bible-detail-hero h2 {
  margin: 0 0 22px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 8rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.color-bible-detail-hero strong {
  display: block;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.45;
}

.color-bible-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.color-bible-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.color-bible-meta-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.color-bible-meta-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 170px;
  border-radius: 22px;
  padding: 20px;
}

.color-bible-meta-grid p {
  margin: 0;
}

@media (max-width: 1180px) {
  .color-bible-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .color-bible-page {
    padding: 22px 14px 54px;
  }

  .color-bible-topbar {
    top: 8px;
    min-height: 50px;
    border-radius: 16px;
  }

  .color-bible-topbar a,
  .color-bible-topbar > span {
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .color-bible-intro,
  .color-bible-how,
  .color-bible-detail-hero {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .color-bible-intro {
    min-height: 0;
  }

  .color-bible-intro h2,
  .color-bible-detail-hero h2 {
    font-size: clamp(3rem, 16vw, 5.8rem);
  }

  .color-bible-prompt-grid,
  .color-bible-grid,
  .color-bible-meta-grid {
    grid-template-columns: 1fr;
  }

  .color-bible-card {
    grid-template-rows: minmax(280px, 58vw) 1fr;
    min-height: 0;
  }

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

  .color-bible-swatches.is-named {
    grid-template-columns: 1fr;
  }

  .color-bible-swatches.is-named .color-bible-swatch {
    min-height: 82px;
  }

  .color-bible-detail-nav {
    justify-content: stretch;
  }

  .color-bible-detail-nav a {
    flex: 1 1 100%;
  }
}

/* COLOR BIBLE REFINEMENT */
.color-bible-intro,
.color-bible-how,
.color-bible-test-prompts,
.color-bible-catalog {
  box-shadow: none;
}

.color-bible-intro {
  border-color: rgba(156, 255, 24, 0.16);
  background:
    radial-gradient(circle at 78% 20%, rgba(166, 126, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(13, 16, 13, 0.96), rgba(23, 20, 34, 0.94));
}

.color-bible-intro strong,
.color-bible-intro span,
.color-bible-how p,
.color-bible-how li,
.color-bible-section-head p,
.color-bible-card p,
.color-bible-card strong,
.color-bible-meta-grid p {
  font-family: var(--font-body);
  font-weight: 700;
}

.color-bible-hero-showcase {
  border-color: rgba(211, 197, 238, 0.34);
  background:
    linear-gradient(135deg, rgba(205, 188, 232, 0.18), rgba(207, 214, 218, 0.08)),
    rgba(255, 255, 255, 0.045);
}

.color-bible-hero-progress {
  display: block;
  margin: 4px 0 6px;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 8vw, 7rem);
  line-height: 0.88;
}

.color-bible-intro aside small {
  max-width: 290px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.28;
  text-transform: none;
}

.color-bible-how {
  border-color: rgba(156, 255, 24, 0.2);
  background:
    linear-gradient(135deg, rgba(156, 255, 24, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(18, 18, 20, 0.86);
}

.color-bible-test-prompts {
  border-color: rgba(174, 140, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(174, 140, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(18, 18, 20, 0.88);
}

.color-bible-catalog {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(156, 255, 24, 0.035)),
    rgba(17, 17, 18, 0.88);
}

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

.color-bible-prompt-card {
  align-content: start;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(12, 13, 13, 0.9);
  box-shadow: none;
}

.color-bible-prompt-card.is-wide {
  max-width: 980px;
}

.color-bible-prompt-card h4 {
  font-size: clamp(1.08rem, 1.45vw, 1.55rem);
  line-height: 1.05;
}

.color-bible-prompt-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.34);
}

.color-bible-prompt-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}

.color-bible-prompt-media img.is-active {
  opacity: 1;
}

.color-bible-prompt-media figcaption {
  position: absolute;
  inset: auto 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.color-bible-prompt-media figcaption span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  color: #fff;
  background: rgba(20, 20, 20, 0.68);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
}

.color-bible-prompt-media figcaption div {
  display: inline-flex;
  gap: 8px;
}

.color-bible-prompt-media button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #111;
  background: var(--lime);
  box-shadow: 0 10px 24px rgba(156, 255, 24, 0.24);
}

.color-bible-prompt-details {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.color-bible-prompt-details summary {
  cursor: pointer;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.color-bible-prompt-details pre {
  padding: 0 16px 16px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.color-bible-detail-hero {
  grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1fr);
  gap: clamp(44px, 6vw, 92px);
  border-color: rgba(255, 255, 255, 0.15);
  background:
    linear-gradient(135deg, rgba(68, 70, 68, 0.94), rgba(58, 53, 72, 0.94)),
    rgba(18, 18, 20, 0.9);
}

.color-bible-detail-hero > div:first-child {
  min-width: 0;
}

.color-bible-detail-hero h2 {
  max-width: 8.2em;
  margin-bottom: 30px;
  font-size: clamp(3rem, 5.3vw, 6.9rem);
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.color-bible-detail-hero strong {
  max-width: 680px;
  margin-bottom: 36px;
  font-family: var(--font-body);
  font-weight: 700;
}

.color-bible-detail-hero .color-bible-swatches.is-named {
  max-width: 760px;
  margin-top: 8px;
}

.color-bible-swatches.is-named {
  grid-template-columns: repeat(5, minmax(96px, 1fr));
  gap: 12px;
}

.color-bible-swatches.is-named .color-bible-swatch {
  min-height: 118px;
}

.color-bible-gallery {
  align-self: center;
  gap: 14px;
}

.color-bible-gallery img {
  border-radius: 20px;
}

@media (max-width: 1280px) {
  .color-bible-prompt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .color-bible-detail-hero {
    grid-template-columns: 1fr;
  }

  .color-bible-detail-hero h2 {
    max-width: 100%;
    overflow-wrap: normal;
  }
}

@media (max-width: 860px) {
  .color-bible-prompt-grid {
    grid-template-columns: 1fr;
  }

  .color-bible-hero-progress {
    font-size: clamp(3rem, 18vw, 5.5rem);
  }

  .color-bible-detail-hero h2 {
    font-size: clamp(2.75rem, 14vw, 5rem);
  }
}

/* COLOR BIBLE COMPACT HEADER */
.color-bible-page {
  gap: clamp(20px, 2.8vw, 42px);
  padding-top: clamp(16px, 2.2vw, 34px);
}

.color-bible-topbar {
  width: min(100%, 1640px);
  min-height: 46px;
  margin-bottom: 0;
  border-radius: 14px;
  padding: 6px 8px;
}

.color-bible-topbar a,
.color-bible-topbar > span {
  min-height: 34px;
  border-radius: 11px;
  padding: 0 10px;
  font-size: 0.72rem;
}

.color-bible-intro {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
  gap: clamp(20px, 3vw, 48px);
  min-height: 0;
  border-radius: 32px;
  padding: clamp(26px, 4vw, 54px);
  align-items: center;
}

.color-bible-intro h2 {
  max-width: 820px;
  margin: 12px 0 10px;
  font-size: clamp(4rem, 8vw, 7.8rem);
  line-height: 0.84;
}

.color-bible-intro strong {
  max-width: 740px;
  font-size: clamp(1.05rem, 1.65vw, 1.65rem);
  line-height: 1.12;
}

.color-bible-intro span {
  max-width: 720px;
  margin-top: 16px;
  font-size: clamp(0.98rem, 1.2vw, 1.16rem);
  line-height: 1.32;
}

.color-bible-intro aside {
  align-self: center;
  border-radius: 22px;
  padding: 12px;
}

.color-bible-hero-showcase {
  gap: 10px;
}

.color-bible-hero-cards {
  gap: 8px;
}

.color-bible-hero-cards img {
  border-radius: 15px;
}

.color-bible-hero-showcase .color-bible-swatches,
.color-bible-hero-showcase .color-bible-swatch {
  min-height: 30px;
}

.color-bible-hero-progress {
  margin: 0;
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
}

.color-bible-intro aside small {
  max-width: 100%;
  font-size: 0.82rem;
  line-height: 1.22;
}

.color-bible-detail-nav {
  gap: 8px;
}

.color-bible-detail-nav a {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.74rem;
}

@media (min-width: 1200px) {
  .color-bible-intro {
    min-height: min(560px, calc(100vh - 150px));
  }
}

@media (max-width: 860px) {
  .color-bible-page {
    padding-top: 12px;
  }

  .color-bible-topbar {
    position: relative;
    top: auto;
  }

  .color-bible-intro {
    padding: 22px;
  }

  .color-bible-intro h2 {
    font-size: clamp(3.1rem, 15vw, 5.2rem);
  }

  .color-bible-hero-progress {
    font-size: clamp(2.6rem, 14vw, 4.5rem);
  }
}
/* MIDJOURNEY: SMOKING IS SEXY */
body:has([data-topic-slug="midjourney-smoking-is-sexy"]) .topic-detail,
body.section-page:has([data-topic-slug="midjourney-smoking-is-sexy"]) {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 36%),
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.15), transparent 30%),
    #050505;
}

[data-topic-slug="midjourney-smoking-is-sexy"] .topic-preview,
[data-topic-slug="midjourney-smoking-is-sexy"] .sport-topic-intro,
[data-topic-slug="midjourney-smoking-is-sexy"] .sport-model-section,
[data-topic-slug="midjourney-smoking-is-sexy"] .sport-collection-block,
[data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-card {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    #080808;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
}

[data-topic-slug="midjourney-smoking-is-sexy"] .topic-copy p,
[data-topic-slug="midjourney-smoking-is-sexy"] .sport-topic-intro > p,
[data-topic-slug="midjourney-smoking-is-sexy"] .sport-collection-head p,
[data-topic-slug="midjourney-smoking-is-sexy"] .sport-model-title p,
[data-topic-slug="midjourney-smoking-is-sexy"] .sport-settings-copy small,
[data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-heading > span {
  color: #ffffff;
}

[data-topic-slug="midjourney-smoking-is-sexy"] .sport-topic-notice {
  max-width: 980px;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-left: 8px solid var(--acid);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font: 800 clamp(1rem, 1.35vw, 1.25rem) / 1.35 var(--font-body);
}

[data-topic-slug="midjourney-smoking-is-sexy"] .sport-copy-button,
[data-topic-slug="midjourney-smoking-is-sexy"] .sport-model-jump a {
  border-color: rgba(255, 255, 255, 0.5);
  background: #f4f4f0;
  color: #101010;
}

[data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-gallery img,
[data-topic-slug="midjourney-smoking-is-sexy"] .sport-collection-gallery img {
  filter: grayscale(1) contrast(1.08);
}

[data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

[data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-card {
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    #090909;
}

[data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-gallery {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
}

[data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-content {
  padding: 16px;
}

[data-topic-slug="midjourney-smoking-is-sexy"] .sport-copy-button {
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  justify-self: end;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.42);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

[data-topic-slug="midjourney-smoking-is-sexy"] .sport-copy-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

[data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-heading {
  grid-template-columns: 1fr auto;
  align-items: start;
}

[data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-heading > span {
  order: 2;
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

[data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-heading h5 {
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.08;
}

[data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-text {
  margin-top: 12px;
}

@media (max-width: 1180px) {
  [data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  [data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  [data-topic-slug="midjourney-smoking-is-sexy"] .sport-prompt-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
