.codex-showcase {
  --cw-bg: #f3fbf5;
  --cw-ink: #101414;
  --cw-muted: #4b5b57;
  --cw-soft: #e7f6ef;
  --cw-line: rgba(16, 20, 20, .18);
  --cw-line-strong: #101414;
  --cw-green: #b8ff2c;
  --cw-red: #ff5a36;
  --cw-blue: #25b7ff;
  --cw-yellow: #ffd84a;
  --cw-pink: #ff7bd3;
  --cw-shadow: 14px 14px 0 rgba(16, 20, 20, .92);
  --cw-shadow-soft: 0 24px 80px rgba(16, 20, 20, .20);
  background: var(--cw-bg);
  color: var(--cw-ink);
  font-family: 'Space Grotesk', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.codex-showcase .deck {
  background:
    radial-gradient(circle at 12% 16%, rgba(184,255,44,.45), transparent 20%),
    radial-gradient(circle at 88% 18%, rgba(37,183,255,.34), transparent 24%),
    linear-gradient(90deg, rgba(16,20,20,.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16,20,20,.055) 1px, transparent 1px),
    var(--cw-bg);
  background-size: auto, auto, 36px 36px, 36px 36px;
}

.codex-showcase .slide {
  padding: 56px 72px 58px;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255,255,255,.76), rgba(239,255,246,.78)),
    repeating-linear-gradient(-16deg, rgba(16,20,20,.04) 0 1px, transparent 1px 18px);
}

.codex-showcase .slide::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 14px;
  background:
    linear-gradient(90deg, var(--cw-green), var(--cw-blue) 32%, var(--cw-pink) 64%, var(--cw-red));
  z-index: 0;
}

.codex-showcase .slide::after {
  content: "";
  position: absolute;
  right: 38px;
  top: 44px;
  width: 156px;
  height: 156px;
  background:
    linear-gradient(45deg, transparent 0 43%, rgba(16,20,20,.12) 43% 57%, transparent 57%),
    linear-gradient(-45deg, transparent 0 43%, rgba(16,20,20,.12) 43% 57%, transparent 57%);
  background-size: 22px 22px;
  opacity: .55;
  z-index: 0;
  pointer-events: none;
}

.codex-showcase .slide > * {
  position: relative;
  z-index: 1;
}

.codex-showcase h1,
.codex-showcase h2,
.codex-showcase h3 {
  margin: 0;
  color: var(--cw-ink);
  font-family: 'Space Grotesk', 'Noto Sans SC', 'PingFang SC', sans-serif;
  letter-spacing: 0;
}

.codex-showcase h1 {
  font-size: 104px;
  line-height: .88;
  font-weight: 900;
  letter-spacing: -.02em;
}

.codex-showcase h2 {
  font-size: 56px;
  line-height: 1.04;
  font-weight: 900;
  max-width: 12.5em;
}

.codex-showcase p {
  margin: 0;
  letter-spacing: 0;
}

.codex-showcase .kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 2px solid var(--cw-ink);
  background: var(--cw-green);
  box-shadow: 5px 5px 0 var(--cw-ink);
  padding: 5px 10px;
  margin-bottom: 16px;
  color: var(--cw-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.codex-showcase .lead,
.codex-showcase .subtitle,
.codex-showcase .section-head p {
  color: var(--cw-muted);
  font-size: 21px;
  line-height: 1.62;
  font-weight: 600;
}

.codex-showcase .subtitle {
  max-width: 16em;
  margin-top: 22px;
  font-size: 25px;
}

.codex-showcase .deck-footer {
  position: absolute;
  left: 72px;
  right: 72px;
  bottom: 22px;
  z-index: 3;
  color: rgba(16,20,20,.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.codex-showcase .hero {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 48px;
  align-items: center;
}

.codex-showcase .hero-copy {
  position: relative;
  z-index: 2;
}

.codex-showcase .hero-stage {
  position: relative;
  min-height: 600px;
}

.codex-showcase .hero-desktop {
  position: absolute;
  right: 0;
  top: 40px;
  width: 860px;
  transform: rotate(-1deg);
}

.codex-showcase .hero-phone {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 230px;
  transform: rotate(2.5deg);
}

.codex-showcase .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  max-width: 560px;
}

.codex-showcase .tag-row span,
.codex-showcase .feature-strip span {
  border: 2px solid var(--cw-ink);
  background: #fff;
  color: var(--cw-ink);
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--cw-ink);
}

.codex-showcase .tag-row span:nth-child(1),
.codex-showcase .feature-strip span:nth-child(1) {
  background: var(--cw-green);
}

.codex-showcase .tag-row span:nth-child(2),
.codex-showcase .feature-strip span:nth-child(2) {
  background: var(--cw-blue);
}

.codex-showcase .tag-row span:nth-child(3),
.codex-showcase .feature-strip span:nth-child(3) {
  background: var(--cw-yellow);
}

.codex-showcase .tag-row span:nth-child(4),
.codex-showcase .feature-strip span:nth-child(4) {
  background: var(--cw-pink);
}

.codex-showcase .project-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  border: 2px solid var(--cw-ink);
  background: var(--cw-ink);
  box-shadow: 7px 7px 0 var(--cw-blue);
  color: #fff;
  padding: 10px 14px;
  font-family: 'IBM Plex Mono', 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.codex-showcase figure {
  margin: 0;
}

.codex-showcase figcaption {
  margin-top: 10px;
  color: var(--cw-muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.codex-showcase .screen,
.codex-showcase .phone {
  border: 3px solid var(--cw-ink);
  background: #fff;
  box-shadow: var(--cw-shadow);
  overflow: hidden;
}

.codex-showcase .desktop {
  border-radius: 18px;
}

.codex-showcase .phone {
  border-radius: 32px;
  padding: 9px;
  background: #fff;
}

.codex-showcase .screen img,
.codex-showcase .phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.codex-showcase .phone img {
  border-radius: 22px;
}

.codex-showcase .split,
.codex-showcase .governance {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.codex-showcase .copy {
  max-width: 620px;
}

.codex-showcase .copy .lead {
  margin-top: 22px;
}

.codex-showcase .flow,
.codex-showcase .governance-grid,
.codex-showcase .platform-cards,
.codex-showcase .audience-grid {
  display: grid;
  gap: 14px;
}

.codex-showcase .flow,
.codex-showcase .governance-grid {
  margin-top: 30px;
}

.codex-showcase .flow div,
.codex-showcase .governance-grid div,
.codex-showcase .platform-cards div,
.codex-showcase .audience-grid div {
  border: 2px solid var(--cw-ink);
  border-left: 12px solid var(--cw-green);
  background: rgba(255,255,255,.88);
  padding: 16px 18px;
  box-shadow: 8px 8px 0 rgba(16,20,20,.90);
}

.codex-showcase .flow b,
.codex-showcase .governance-grid b,
.codex-showcase .platform-cards b,
.codex-showcase .audience-grid b {
  display: block;
  margin-bottom: 4px;
  color: var(--cw-ink);
  font-size: 18px;
  font-weight: 900;
}

.codex-showcase .flow span,
.codex-showcase .governance-grid span,
.codex-showcase .platform-cards span,
.codex-showcase .audience-grid span {
  color: var(--cw-muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.codex-showcase .tall-phone {
  width: 306px;
  justify-self: center;
}

.codex-showcase .section-head {
  max-width: 980px;
}

.codex-showcase .section-head p {
  max-width: 52em;
  margin-top: 16px;
}

.codex-showcase .section-head.narrow {
  max-width: 830px;
}

.codex-showcase .workstation,
.codex-showcase .mobile-first,
.codex-showcase .shot-desktop,
.codex-showcase .shot-mobile,
.codex-showcase .multiuser,
.codex-showcase .settings,
.codex-showcase .theme-wall,
.codex-showcase .closing {
  justify-content: flex-start;
}

.codex-showcase .desktop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 34px;
}

.codex-showcase .desktop-grid .screen {
  aspect-ratio: 16 / 9;
}

.codex-showcase .feature-strip {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.codex-showcase .phone-row {
  display: grid;
  grid-template-columns: repeat(3, 240px);
  gap: 32px;
  justify-content: center;
  margin-top: 30px;
}

.codex-showcase .phone-row .phone {
  height: 520px;
}

.codex-showcase .shot-desktop,
.codex-showcase .shot-mobile {
  overflow: hidden;
}

.codex-showcase .shot-label {
  position: absolute;
  left: 72px;
  top: 58px;
  z-index: 4;
  max-width: 560px;
}

.codex-showcase .shot-label .kicker {
  margin-bottom: 8px;
}

.codex-showcase .shot-label h2 {
  display: none;
  border: 3px solid var(--cw-ink);
  background: rgba(255,255,255,.94);
  box-shadow: 7px 7px 0 var(--cw-ink);
  padding: 10px 14px;
  font-size: 30px;
  line-height: 1.08;
}

.codex-showcase .full-desktop-shot {
  position: absolute;
  left: 42px;
  right: 42px;
  top: 86px;
  bottom: 66px;
  height: auto;
  border-width: 4px;
  border-radius: 24px;
  box-shadow: 18px 18px 0 rgba(16,20,20,.92);
}

.codex-showcase .full-desktop-shot img {
  object-fit: cover;
}

.codex-showcase .full-phone-pair {
  position: absolute;
  inset: 104px 160px 62px 160px;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 360px));
  gap: 72px;
  justify-content: center;
  align-items: stretch;
}

.codex-showcase .full-phone-shot {
  width: 100%;
  height: 100%;
  border-width: 4px;
  border-radius: 42px;
  box-shadow: 18px 18px 0 rgba(16,20,20,.92);
}

.codex-showcase .full-phone-shot img {
  border-radius: 30px;
}

.codex-showcase .shot-mobile .mobile-label {
  left: 72px;
  top: 620px;
  max-width: 320px;
}

.codex-showcase .admin-pair {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 22px;
}

.codex-showcase .admin-phone {
  height: 420px;
}

.codex-showcase .admin-screen {
  height: 420px;
}

.codex-showcase .platform-cards {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
}

.codex-showcase .multiuser .section-head h2 {
  max-width: 22em;
  font-size: 44px;
}

.codex-showcase .multiuser .section-head p {
  margin-top: 10px;
  font-size: 19px;
}

.codex-showcase .platform-cards div:nth-child(2) {
  border-left-color: var(--cw-blue);
}

.codex-showcase .platform-cards div:nth-child(3) {
  border-left-color: var(--cw-red);
}

.codex-showcase .audit-screen {
  aspect-ratio: 16 / 9;
  width: 820px;
}

.codex-showcase .settings-pair {
  display: grid;
  grid-template-columns: repeat(2, 286px);
  gap: 40px;
  justify-content: center;
  margin-top: 28px;
}

.codex-showcase .setting-phone {
  height: 500px;
}

.codex-showcase .setting-phone img {
  object-fit: contain;
  background: #fbf3df;
}

.codex-showcase .theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.codex-showcase .theme-grid .screen {
  height: 235px;
}

.codex-showcase .theme-grid figcaption {
  position: absolute;
  left: 14px;
  top: 12px;
  margin: 0;
  padding: 4px 9px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--cw-line);
  color: var(--cw-ink);
}

.codex-showcase .theme-grid figure {
  position: relative;
}

.codex-showcase .closing {
  display: flex;
  justify-content: center;
}

.codex-showcase .closing-inner {
  width: min(1040px, 100%);
}

.codex-showcase .closing h2 {
  max-width: 20em;
  font-size: 52px;
}

.codex-showcase .audience-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.codex-showcase .audience-grid div {
  min-height: 132px;
}

.codex-showcase .audience-grid div:nth-child(2) {
  border-left-color: var(--cw-blue);
}

.codex-showcase .audience-grid div:nth-child(3) {
  border-left-color: var(--cw-yellow);
}

.codex-showcase .audience-grid div:nth-child(4) {
  border-left-color: var(--cw-red);
}

.codex-showcase .cta-line {
  margin-top: 32px;
  border: 2px solid var(--cw-line-strong);
  background: var(--cw-ink);
  color: #fff;
  padding: 20px 24px;
  font-size: 24px;
  font-weight: 800;
}

.codex-showcase .closing-link {
  margin-top: 18px;
  background: var(--cw-green);
  color: var(--cw-ink);
  box-shadow: 7px 7px 0 var(--cw-ink);
}

@media (max-width: 900px) {
  .codex-showcase .slide {
    padding: 36px 28px 44px;
  }

  .codex-showcase h1 {
    font-size: 54px;
  }

  .codex-showcase h2 {
    font-size: 34px;
  }

  .codex-showcase .hero,
  .codex-showcase .split,
  .codex-showcase .governance {
    grid-template-columns: 1fr;
  }
}
