/* Resource-style campaign pages: conversion above the fold, useful reference
   content below it, and no viewport choreography or scroll snapping. */

.resource-page {
  --resource-max-width: 80rem;
  --resource-gutter: clamp(2rem, 5vw, 4rem);
  --resource-surface: oklch(0.97 0.014 calc(var(--hue) + 8));
  --resource-line: oklch(0.48 0.04 var(--hue) / 0.16);
  --resource-accent: oklch(0.42 0.22 calc(var(--hue) + 180));
  --resource-wine: oklch(0.55 0.18 18);
  background: var(--page-bg);
}

/* The public examples directory is a browsable gallery, not a campaign
   landing page. It shares the brand shell and real preview renderer while
   using its own editorial rhythm and deliberately irregular canvas grid. */
.examples-page {
  --resource-surface: oklch(0.97 0.014 calc(var(--hue) + 8));
  --resource-line: oklch(0.48 0.04 var(--hue) / 0.16);
  --resource-accent: oklch(0.42 0.22 calc(var(--hue) + 180));
  background: var(--page-bg);
}

.examples-page main {
  overflow: clip;
}

.examples-page h1,
.examples-page h2,
.examples-page h3 {
  font-family: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
}

.examples-page .landing-header {
  padding-inline: max(1.5rem, calc((100vw - 80rem) / 2));
}

.examples-page .landing-footer {
  padding-inline: 0;
}

.examples-page .landing-footer-inner {
  width: min(100% - 3rem, 80rem);
}

.examples-directory-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  padding-block: clamp(4.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--resource-line);
}

.examples-directory-title > p,
.examples-browser-heading > p {
  margin: 0 0 1.1rem;
  color: var(--resource-wine, oklch(0.55 0.18 18));
  font: 750 0.72rem/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.examples-directory-title h1 {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(3.7rem, 6vw, 5.5rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 1;
  text-shadow: 3px 3px 0 color-mix(in oklch, var(--resource-accent), transparent 72%);
  text-wrap: balance;
}

.examples-directory-lede p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
}

.examples-feature {
  position: relative;
  min-height: clamp(34rem, 58vw, 48rem);
  padding-block: clamp(3rem, 6vw, 5rem) clamp(6rem, 10vw, 9rem);
}

.examples-feature-canvas {
  position: relative;
  width: min(82%, 66rem);
  height: auto;
  min-height: 0;
  aspect-ratio: 1920 / 1080;
  margin-left: auto;
  overflow: hidden;
  border-radius: 0.8rem;
  animation: examples-canvas-in 0.45s ease-out both;
  box-shadow: 0 1.4rem 2.2rem oklch(0.3 0.07 var(--hue) / 0.15), 0 4rem 8rem oklch(0.3 0.07 var(--hue) / 0.13);
}

@keyframes examples-canvas-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.examples-feature-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: clamp(3rem, 7vw, 6rem);
  width: min(38rem, 48%);
  padding: clamp(1.7rem, 4vw, 3.2rem);
  border: 1px solid var(--resource-line);
  border-radius: 1.35rem;
  background: color-mix(in oklch, var(--resource-surface), transparent 4%);
  box-shadow: 0 1.4rem 4rem oklch(0.3 0.07 var(--hue) / 0.14);
}

.examples-feature-copy > p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 1.5rem;
  color: var(--resource-wine);
  font: 750 0.7rem/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.examples-feature-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.examples-feature-copy > span {
  display: block;
  margin-top: 1.2rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.examples-browser {
  padding-block: clamp(4rem, 8vw, 7rem) clamp(6rem, 10vw, 9rem);
  border-top: 1px solid var(--resource-line);
}

.examples-browser-heading {
  max-width: 58rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.examples-browser-heading > p {
  margin-bottom: 1rem;
}

.examples-browser-heading h2 {
  max-width: 54rem;
  margin: 0 auto;
  font-size: clamp(2.7rem, 5.6vw, 5.8rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.examples-section-index {
  margin: 0 0 clamp(3rem, 6vw, 5rem);
}

.examples-section-index ol {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--resource-line);
  list-style: none;
}

.examples-section-index li {
  flex: 0 1 auto;
  min-width: 0;
}

.examples-section-index a {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  min-height: 5.5rem;
  padding: 1rem 0.8rem 1rem 0;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 160ms ease;
}

.examples-section-index a:hover,
.examples-section-index a:focus-visible {
  color: var(--resource-wine);
}

.examples-section-index a > span {
  color: var(--resource-wine);
  font: 800 0.76rem/1 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
}

.examples-section-index a > b {
  font-size: 0.95rem;
  line-height: 1.15;
}

.examples-panels {
  display: grid;
  gap: clamp(6rem, 11vw, 10rem);
}

.examples-panel {
  display: block;
  scroll-margin-top: 7rem;
}

.examples-panel-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.examples-panel-heading > div > span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--resource-wine);
  font: 800 0.76rem/1 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
}

.examples-panel-heading h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.examples-panel-heading p {
  max-width: 38rem;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.examples-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 3rem);
}

.examples-gallery-item {
  min-width: 0;
  scroll-margin-top: 7rem;
  contain: layout style;
}

.examples-gallery-canvas {
  --examples-canvas-rotation: -0.45deg;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1920 / 1080;
  overflow: hidden;
  border-radius: 0.65rem;
  contain: strict;
  content-visibility: auto;
  contain-intrinsic-size: auto 540px;
  opacity: 0;
  transform: translateY(18px) rotate(var(--examples-canvas-rotation));
  transition: opacity 0.25s ease-out, transform 0.34s cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 0.8rem 1.4rem oklch(0.35 0.08 var(--hue) / 0.13), 0 2rem 4rem oklch(0.35 0.08 var(--hue) / 0.1);
}

.examples-gallery-canvas[data-marketing-visible] {
  opacity: 1;
  transform: translateY(0) rotate(var(--examples-canvas-rotation));
}

.examples-gallery-item:nth-child(even) .examples-gallery-canvas {
  --examples-canvas-rotation: 0.55deg;
}

.examples-panel-alerts .examples-gallery-canvas,
.examples-panel-alerts .examples-gallery-item:nth-child(even) .examples-gallery-canvas,
.examples-panel-chat .examples-gallery-canvas,
.examples-panel-chat .examples-gallery-item:nth-child(even) .examples-gallery-canvas {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  --examples-canvas-rotation: 0deg;
}

@media (prefers-reduced-motion: reduce) {
  .examples-gallery-canvas,
  .examples-gallery-canvas[data-marketing-visible] {
    transform: rotate(var(--examples-canvas-rotation));
    transition-duration: 0.12s;
  }
}

.examples-gallery-copy {
  padding: 1.4rem 0.3rem 0;
}

.examples-gallery-copy h4 {
  margin: 0;
  font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  letter-spacing: -0.035em;
}

.examples-gallery-copy p {
  max-width: 34rem;
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.examples-directory-cta {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: transparent;
}

.examples-directory-cta .marketing-final-copy > p {
  margin: 0 0 1rem;
  color: oklch(0.45 0.16 18);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.examples-directory-cta h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-wrap: balance;
}

.examples-directory-actions {
  justify-content: center;
  margin-top: 2rem;
}

.resource-page main {
  overflow: clip;
}

.resource-page h1,
.resource-page h2,
.resource-page h3 {
  font-family: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
}

.resource-page a {
  color: inherit;
}

/* Header, hero, jump navigation, sections, and footer all share this rail. */
.resource-page .landing-header {
  padding-inline: max(
    var(--resource-gutter),
    calc((100vw - var(--resource-max-width)) / 2)
  );
}

/* The logo artwork starts about 14% into its square SVG viewBox. Pull that
   intrinsic whitespace outside the shell so the drawn mark, not its box,
   aligns with the content below. */
.resource-page .landing-brand-mark {
  margin-left: -0.4rem;
}

.resource-shell {
  width: min(
    calc(100% - var(--resource-gutter, 1.5rem) - var(--resource-gutter, 1.5rem)),
    var(--resource-max-width, 80rem)
  );
  margin-inline: auto;
}

.resource-hero {
  padding-block: clamp(2rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem);
}

.resource-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  color: var(--text-muted);
  font-size: 0.78rem;
}

.resource-breadcrumb a {
  text-decoration: none;
}

.resource-breadcrumb a:hover {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.resource-breadcrumb span[aria-hidden] {
  opacity: 0.45;
}

.resource-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.75rem, 2.75vw, 2.5rem);
}

.resource-hero-copy {
  min-width: 0;
}

.resource-pill {
  --pill-hue: calc(var(--hue) + 180);
  --pill-bg: oklch(0.94 0.06 var(--pill-hue));
  --pill-edge: oklch(0.72 0.09 var(--pill-hue));
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.9rem;
  border: 1px solid color-mix(in oklch, var(--pill-edge), var(--text-primary) 12%);
  border-radius: 999px;
  background: var(--pill-bg);
  color: oklch(0.30 0.10 var(--pill-hue));
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.55),
    0.28rem 0.35rem 0 var(--pill-edge),
    0.55rem 0.75rem 1.25rem var(--shadow-c3);
}

.resource-pill i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: oklch(0.65 0.20 145);
  box-shadow: 0 0 0 0.2rem oklch(0.65 0.20 145 / 0.2);
}

.resource-hero h1 {
  max-width: 11ch;
  margin: 1.5rem 0 1.25rem;
  color: var(--text-primary);
  font-size: clamp(3.4rem, 6.2vw, 6.1rem);
  font-weight: 800;
  font-kerning: normal;
  letter-spacing: -0.065em;
  line-height: 0.91;
  text-rendering: optimizeLegibility;
  text-wrap: balance;
}

.resource-hero h1.resource-heading-short {
  max-width: 14ch;
}

.resource-hero h1 span,
.resource-hero h1 em {
  display: block;
}

.resource-hero h1 span {
  margin-bottom: 0.15em;
  font-size: 0.56em;
  letter-spacing: -0.045em;
  line-height: 1;
}

.resource-hero h1 em {
  color: oklch(0.30 0.18 calc(var(--hue) + 180));
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.035em;
  -webkit-text-stroke: 0;
  text-shadow:
    1px 1px 0 var(--page-bg),
    3px 3px 0 oklch(0.32 0.06 calc(var(--hue) + 180) / 0.45);
}

.resource-hero-lead {
  max-width: 34rem;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.resource-prompt {
  --sx: 10;
  --sy: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 44rem);
  margin-top: 1.75rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: oklch(0.97 0.014 calc(var(--hue) + 8));
  color: var(--text-primary);
  font-family: 'SF Mono', 'Fira Code', ui-monospace, monospace;
  font-size: clamp(0.82rem, 1.15vw, 1rem);
  line-height: 1.4;
  text-decoration: none;
  box-shadow:
    calc(var(--sx) * 0.1px) calc(var(--sy) * 0.1px) 2px var(--shadow-c1),
    calc(var(--sx) * 0.25px) calc(var(--sy) * 0.25px) 6px var(--shadow-c1),
    calc(var(--sx) * 0.5px) calc(var(--sy) * 0.5px) 14px var(--shadow-c2),
    calc(var(--sx) * 1px) calc(var(--sy) * 1px) 28px var(--shadow-c3),
    calc(var(--sx) * 2px) calc(var(--sy) * 2px) 56px var(--shadow-c4);
}

.resource-prompt > span:first-child {
  color: var(--resource-wine);
  font-weight: 800;
  font-size: 1.1em;
  flex-shrink: 0;
}

.resource-prompt > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-prompt-cursor {
  display: none;
  width: 0.12em;
  height: 1.25em;
  flex: 0 0 0.12em;
  margin-left: -0.45rem;
  border-radius: 999px;
  background: var(--resource-wine);
  animation: resource-prompt-cursor 0.85s steps(1, end) infinite;
}

.resource-prompt[data-rotating-prompt] .resource-prompt-cursor {
  display: block;
}

@keyframes resource-prompt-cursor {
  50% { opacity: 0; }
}

.resource-prompt:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--resource-accent), transparent 25%);
  outline-offset: 4px;
}

.resource-actions {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.resource-primary-action {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.resource-action-buttons,
.resource-final-actions,
.examples-directory-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.resource-text-link {
  margin-top: 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.resource-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.resource-reassurance {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}

.resource-featured {
  width: 100%;
  min-width: 0;
  margin: 0;
}

@media (min-width: 981px) {
  .resource-featured {
    width: calc(
      100% + clamp(
        0rem,
        calc((100vw - var(--resource-max-width)) / 2 - var(--resource-gutter)),
        12rem
      )
    );
  }
}

.resource-stage {
  --sx: 14;
  --sy: 14;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  animation: resource-stage-enter-flat 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
  box-shadow:
    calc(var(--sx) * 0.1px) calc(var(--sy) * 0.1px) 2px var(--shadow-c1),
    calc(var(--sx) * 0.25px) calc(var(--sy) * 0.25px) 6px var(--shadow-c2),
    calc(var(--sx) * 0.5px) calc(var(--sy) * 0.5px) 14px var(--shadow-c3),
    calc(var(--sx) * 1px) calc(var(--sy) * 1px) 28px var(--shadow-c4),
    calc(var(--sx) * 2px) calc(var(--sy) * 2px) 56px var(--shadow-c5);
}

.resource-stage > .marketing-logical-canvas {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-stage.is-changing > .marketing-logical-canvas {
  opacity: 0;
  filter: blur(0.35rem);
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

@media (min-width: 981px) {
  .resource-stage {
    transform: perspective(70rem) rotateY(-14deg) translateZ(1rem);
    transform-origin: 68% 50%;
    animation-name: resource-stage-enter-depth;
  }
}

@keyframes resource-stage-enter-flat {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes resource-stage-enter-depth {
  from {
    opacity: 0;
    transform: perspective(70rem) rotateY(-26deg) translate3d(4rem, 0, -5rem);
  }
  to {
    opacity: 1;
    transform: perspective(70rem) rotateY(-14deg) translateZ(1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .resource-stage {
    animation: none;
  }

  .resource-stage > .marketing-logical-canvas {
    transition: none;
  }
}

.resource-jumpbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-block: 1px solid var(--resource-line);
  background: oklch(0.94 0.035 var(--hue) / 0.92);
  backdrop-filter: blur(18px);
}

.resource-jumpbar .resource-shell {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 3vw, 2.5rem);
  min-height: 3.65rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.resource-jumpbar .resource-shell::-webkit-scrollbar {
  display: none;
}

.resource-jumpbar span {
  color: var(--resource-wine);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.resource-directory {
  scroll-margin-top: 1rem;
}

.resource-directory-groups {
  display: grid;
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 1px solid var(--resource-line);
  border-radius: 1.75rem;
  background: var(--resource-line);
}

.resource-directory-group {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  scroll-margin-top: 2rem;
  background: oklch(0.965 0.014 calc(var(--hue) + 8));
}

.resource-directory-group > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 1rem;
}

.resource-directory-group > header > p {
  margin: 0.25rem 0 0;
  color: var(--resource-wine);
  font: 700 0.72rem/1 'Share Tech Mono', monospace;
  letter-spacing: 0.08em;
}

.resource-directory-group h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.resource-directory-group header span {
  display: block;
  max-width: 29rem;
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.resource-directory-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 0.75rem;
}

.resource-directory-links > a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.75rem;
  min-height: 8.5rem;
  padding: 1.2rem;
  border: 1px solid var(--resource-line);
  border-radius: 1rem;
  background: oklch(0.94 0.022 var(--hue) / 0.56);
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.resource-directory-links > a:hover {
  background: var(--resource-surface);
  transform: translateY(-0.18rem);
}

.resource-directory-links b {
  align-self: start;
  font-size: 1.05rem;
}

.resource-directory-links span {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.resource-directory-links i {
  font-style: normal;
}

.resource-jumpbar a {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.resource-jumpbar a:hover {
  color: var(--text-primary);
}

.resource-section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
  scroll-margin-top: 4rem;
}

.resource-section + .resource-section {
  border-top: 1px solid var(--resource-line);
}

.resource-section-heading {
  max-width: 48rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.resource-section-heading > p,
.resource-guide-intro > p,
.resource-setup-copy > p {
  margin: 0 0 0.75rem;
  color: var(--resource-wine);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.resource-section-heading h2,
.resource-guide-intro h2,
.resource-setup-copy h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.resource-section-heading > span,
.resource-guide-intro > span,
.resource-setup-copy > span {
  display: block;
  max-width: 43rem;
  margin-top: 1.15rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.resource-process {
  border-top: 1px solid var(--resource-line);
}

.resource-process-heading {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
  text-align: center;
}

.resource-process-heading p {
  margin: 0;
  color: var(--resource-wine);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.resource-process-heading h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-shadow: 3px 3px 0 color-mix(in oklch, var(--resource-accent), transparent 72%);
  white-space: nowrap;
}

.resource-process-flow {
  position: relative;
}

.resource-process-route {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 13.75rem;
  overflow: visible;
  pointer-events: none;
}

.resource-process-route path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.resource-process-route-base {
  stroke: color-mix(in oklch, var(--text-primary) 16%, transparent);
  stroke-width: 2px;
  stroke-dasharray: 4 8;
}

.resource-process-route-pulse {
  stroke: var(--resource-wine);
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-dasharray: 2 154;
  animation: resource-process-travel 7s linear infinite;
}

.resource-process-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-process-list > li {
  display: grid;
  grid-template-rows: 13.75rem auto auto;
  align-content: start;
  row-gap: 0.4rem;
  min-width: 0;
}

.resource-process-list header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--resource-line);
}

.resource-process-list header span {
  color: var(--resource-wine);
  font: 800 0.72rem/1 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
}

.resource-process-list h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.resource-process-list > li > p {
  max-width: 36ch;
  margin: 0;
  padding-left: 2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.resource-process-art {
  display: grid;
  place-items: center;
  min-width: 0;
  color: var(--text-primary);
}

.resource-process-art svg {
  display: block;
  width: min(100%, 22.5rem);
  height: 100%;
  overflow: visible;
}

.process-window {
  fill: oklch(0.985 0.006 var(--hue));
  stroke: var(--text-primary);
  stroke-width: 3;
  filter: drop-shadow(7px 9px 0 var(--shadow-c2));
}

.process-scene-sketch {
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 3;
  stroke-linejoin: round;
  opacity: 0.72;
  transform-box: fill-box;
  transform-origin: center;
  animation: resource-process-sketch 4.8s ease-in-out infinite;
}

.process-scene-sketch > path:not(.process-sketch-dash) {
  fill: oklch(0.93 0.035 calc(var(--hue) + 180));
  stroke-width: 2;
}

.process-sketch-dash {
  stroke: var(--resource-wine);
  stroke-dasharray: 4 5;
}

.process-prompt-mark,
.process-link-lines,
.process-link-arrow,
.process-success {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-prompt-mark,
.process-link-arrow,
.process-success {
  stroke: var(--resource-wine);
  stroke-width: 5;
}

.process-link-lines {
  stroke: var(--text-primary);
  stroke-width: 6;
}

.process-type-window {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.process-typed-prompt {
  display: block;
  width: 0;
  max-width: 100%;
  overflow: hidden;
  border-right: 2px solid var(--resource-wine);
  color: var(--text-primary);
  font: 650 12px/1.4 'JetBrains Mono', monospace;
  white-space: nowrap;
  animation: resource-process-type 3.8s steps(34, end) infinite;
}

.process-build-surface {
  stroke: var(--text-primary);
  stroke-width: 3;
  filter: drop-shadow(7px 8px 0 var(--shadow-c2));
}

.process-check-a { fill: oklch(0.91 0.012 var(--hue)); }
.process-check-b { fill: oklch(0.97 0.006 var(--hue)); }

.process-build-progress {
  transform-box: fill-box;
  transform-origin: center;
  animation: resource-process-progress-life 5s ease-in-out infinite;
}

.process-build-track,
.process-build-meter {
  fill: none;
  stroke-width: 5;
}

.process-build-track {
  stroke: oklch(0.36 0.02 var(--hue) / 0.18);
}

.process-build-meter {
  stroke: var(--resource-wine);
  stroke-linecap: round;
  stroke-dasharray: 58 94;
  transform-box: fill-box;
  transform-origin: center;
  animation: resource-process-progress-spin 1.25s linear infinite;
}

.process-build-pip {
  fill: var(--text-primary);
  animation: resource-process-status 1.5s ease-in-out infinite;
}

.process-alert {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.process-alert > rect {
  stroke: var(--text-primary);
  stroke-width: 2;
  filter: drop-shadow(4px 5px 0 var(--shadow-c2));
}

.process-alert circle {
  fill: var(--resource-surface);
  stroke: var(--text-primary);
  stroke-width: 2;
}

.process-alert path {
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 3;
  stroke-linecap: round;
}

.process-chat-header {
  opacity: 0.55;
  stroke-width: 2 !important;
}

.process-progress-label {
  stroke-width: 3 !important;
}

.process-mini-track,
.process-mini-fill {
  stroke: none;
}

.process-mini-track { fill: oklch(0.27 0.02 var(--hue) / 0.2); }
.process-mini-fill {
  fill: var(--text-primary);
  transform-box: fill-box;
  transform-origin: left center;
  animation: resource-process-mini-fill 5s ease-in-out infinite;
}

.process-alert-one { fill: oklch(0.83 0.16 calc(var(--hue) + 85)); animation: resource-process-alert-one 5s cubic-bezier(0.2, 0, 0, 1) infinite; }
.process-alert-two { fill: oklch(0.78 0.15 calc(var(--hue) + 205)); animation: resource-process-alert-two 5s cubic-bezier(0.2, 0, 0, 1) infinite; }
.process-alert-three { fill: oklch(0.82 0.14 calc(var(--hue) + 300)); animation: resource-process-alert-three 5s cubic-bezier(0.2, 0, 0, 1) infinite; }

/* Stage three reuses the actual Browser Source tour shown by the product
   after a link is copied. It is intentionally dark in both themes: this is
   a depiction of broadcasting software, not another marketing-page card. */
.process-source-tour {
  display: block;
  overflow: visible;
  filter: drop-shadow(7px 9px 0 var(--shadow-c2));
}

.process-source-tour text {
  font-family: 'DM Sans', sans-serif;
}

.process-tour-window { fill: hsl(0 0% 12%); stroke: hsl(0 0% 26%); stroke-width: 1.5; }
.process-tour-dot { fill: hsl(0 0% 30%); }
.process-tour-titlebar,
.process-tour-divider { stroke: hsl(0 0% 21%); stroke-width: 1; }
.process-tour-panel { fill: none; stroke: hsl(0 0% 21%); stroke-width: 1; }
.process-tour-menu-box { fill: hsl(0 0% 16%); stroke: hsl(0 0% 28%); stroke-width: 1; }
.process-tour-dialog { fill: hsl(0 0% 15%); stroke: hsl(0 0% 28%); stroke-width: 1; }
.process-tour-field { fill: hsl(0 0% 9%); stroke: hsl(0 0% 27%); stroke-width: 1; }
.process-tour-button { fill: hsl(0 0% 22%); }
.process-tour-plus { fill: none; stroke: hsl(0 0% 85%); stroke-width: 1.5; stroke-linecap: round; }
.process-tour-radio { fill: none; stroke: hsl(0 0% 45%); stroke-width: 1.5; }
.process-tour-radio-dot { fill: var(--resource-accent); }
.process-tour-highlight { fill: color-mix(in srgb, var(--resource-accent) 30%, transparent); }
.process-tour-row-icon { fill: var(--resource-accent); }
.process-tour-label { font-size: 9px; fill: hsl(0 0% 58%); letter-spacing: 0.04em; }
.process-tour-row { font-size: 10px; fill: hsl(0 0% 80%); }
.process-tour-item { font-size: 10px; fill: hsl(0 0% 78%); }
.process-tour-item-hot { fill: hsl(0 0% 95%); }
.process-tour-button-label { font-size: 9.5px; fill: hsl(0 0% 88%); }
.process-tour-typed { font-size: 10px; fill: hsl(0 0% 90%); }
.process-tour-mono { font-family: 'JetBrains Mono', monospace !important; font-size: 9.5px; fill: hsl(0 0% 85%); }
.process-tour-field-focused { stroke: color-mix(in srgb, var(--resource-accent) 65%, hsl(0 0% 27%)); }

.process-tour-sources { animation: process-tour-sources 14s linear infinite; }
.process-tour-menu {
  transform-box: fill-box;
  transform-origin: 15% 95%;
  animation: process-tour-menu 14s linear infinite;
}
.process-tour-highlight { animation: process-tour-highlight 14s linear infinite; }
.process-tour-name { animation: process-tour-name 14s linear infinite; }
.process-tour-typed { animation: process-tour-type 14s linear infinite; }
.process-tour-caret { fill: hsl(0 0% 90%); animation: process-tour-caret 14s linear infinite; }
.process-tour-properties { animation: process-tour-properties 14s linear infinite; }
.process-tour-url { animation: process-tour-url 14s linear infinite; }
.process-tour-width { animation: process-tour-width 14s linear infinite; }
.process-tour-height { animation: process-tour-height 14s linear infinite; }
.process-tour-field-url { animation: process-tour-url-flash 14s linear infinite; }
.process-tour-field-width { animation: process-tour-width-flash 14s linear infinite; }
.process-tour-field-height { animation: process-tour-height-flash 14s linear infinite; }

.process-tour-cursor {
  fill: hsl(0 0% 96%);
  stroke: hsl(0 0% 15%);
  stroke-width: 1;
  animation: process-tour-cursor 14s linear infinite;
}

.process-tour-click {
  fill: none;
  stroke: var(--resource-accent);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: process-tour-click 14s linear infinite;
}

.process-tour-click-one { animation-delay: 1.82s; }
.process-tour-click-two { animation-delay: 4.62s; }
.process-tour-click-three { animation-delay: 8.26s; }
.process-tour-click-four { animation-delay: 9.8s; }
.process-tour-click-five { animation-delay: 12.6s; }

@keyframes resource-process-travel { to { stroke-dashoffset: -624; } }
@keyframes resource-process-sketch { 0%, 100% { transform: translateY(3px); opacity: 0.58; } 50% { transform: translateY(-3px); opacity: 0.82; } }
@keyframes resource-process-type { 0%, 5% { width: 0; } 52%, 86% { width: 100%; } 100% { width: 0; } }
@keyframes resource-process-status { 50% { transform: scale(1.35); opacity: 0.65; } }
@keyframes resource-process-progress-spin { to { transform: rotate(360deg); } }
@keyframes resource-process-progress-life { 0%, 58% { opacity: 1; transform: scale(1); } 70%, 100% { opacity: 0.35; transform: scale(0.82); } }
@keyframes resource-process-alert-one { 0%, 10% { opacity: 0; transform: translateY(10px) scale(0.86); } 20%, 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes resource-process-alert-two { 0%, 27% { opacity: 0; transform: translateY(10px) scale(0.86); } 37%, 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes resource-process-alert-three { 0%, 44% { opacity: 0; transform: translateY(10px) scale(0.86); } 54%, 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes resource-process-mini-fill { 0%, 37% { transform: scaleX(0.08); } 62%, 100% { transform: scaleX(1); } }
@keyframes process-tour-sources {
  0% { opacity: 0; }
  2%, 40% { opacity: 1; }
  42%, 60% { opacity: 0.3; }
  63%, 100% { opacity: 0; }
}
@keyframes process-tour-menu {
  0%, 14% { opacity: 0; transform: scale(0.95); }
  16%, 34% { opacity: 1; transform: scale(1); }
  37%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes process-tour-highlight {
  0%, 29% { opacity: 0; }
  31%, 34% { opacity: 1; }
  36%, 100% { opacity: 0; }
}
@keyframes process-tour-name {
  0%, 38% { opacity: 0; }
  40%, 60% { opacity: 1; }
  63%, 100% { opacity: 0; }
}
@keyframes process-tour-type {
  0%, 43% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(12, end); }
  53%, 100% { clip-path: inset(0 -2% 0 0); }
}
@keyframes process-tour-caret {
  0%, 42.9% { opacity: 0; }
  43%, 44.9% { opacity: 1; }
  45%, 46.9% { opacity: 0; }
  47%, 48.9% { opacity: 1; }
  49%, 50.9% { opacity: 0; }
  51%, 52.9% { opacity: 1; }
  53%, 54.9% { opacity: 0; }
  55%, 55.9% { opacity: 1; }
  56%, 100% { opacity: 0; }
}
@keyframes process-tour-properties {
  0%, 62% { opacity: 0; }
  64%, 93% { opacity: 1; }
  96%, 100% { opacity: 0; }
}
@keyframes process-tour-url {
  0%, 70.5% { opacity: 0; }
  71%, 100% { opacity: 1; }
}
@keyframes process-tour-width {
  0%, 78.5% { opacity: 0; }
  79%, 100% { opacity: 1; }
}
@keyframes process-tour-height {
  0%, 82.5% { opacity: 0; }
  83%, 100% { opacity: 1; }
}
@keyframes process-tour-url-flash {
  0%, 69% { stroke: hsl(0 0% 27%); }
  70%, 72% { stroke: var(--resource-accent); }
  75%, 100% { stroke: hsl(0 0% 27%); }
}
@keyframes process-tour-width-flash {
  0%, 78% { fill: hsl(0 0% 9%); }
  79%, 81% { fill: color-mix(in srgb, var(--resource-accent) 18%, hsl(0 0% 9%)); }
  84%, 100% { fill: hsl(0 0% 9%); }
}
@keyframes process-tour-height-flash {
  0%, 82% { fill: hsl(0 0% 9%); }
  83%, 85% { fill: color-mix(in srgb, var(--resource-accent) 18%, hsl(0 0% 9%)); }
  88%, 100% { fill: hsl(0 0% 9%); }
}
@keyframes process-tour-cursor {
  0% { opacity: 0; transform: translate(300px, 150px); }
  3% { opacity: 1; transform: translate(300px, 150px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  12%, 16% { transform: translate(50px, 163px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  30%, 36% { transform: translate(120px, 68px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  44% { transform: translate(170px, 100px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  58%, 61% { transform: translate(226px, 120px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  70%, 73% { transform: translate(140px, 58px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  78%, 81% { transform: translate(110px, 88px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  84%, 86% { transform: translate(260px, 88px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  89%, 93% { opacity: 1; transform: translate(300px, 158px); }
  96%, 100% { opacity: 0; transform: translate(300px, 150px); }
}
@keyframes process-tour-click {
  0% { opacity: 0.7; transform: scale(0.25); }
  2.2% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .resource-process-route-pulse,
  .process-scene-sketch,
  .process-typed-prompt,
  .process-build-progress,
  .process-build-meter,
  .process-build-pip,
  .process-alert,
  .process-mini-fill,
  .process-tour-sources,
  .process-tour-menu,
  .process-tour-highlight,
  .process-tour-name,
  .process-tour-typed,
  .process-tour-caret,
  .process-tour-properties,
  .process-tour-url,
  .process-tour-width,
  .process-tour-height,
  .process-tour-field-url,
  .process-tour-field-width,
  .process-tour-field-height,
  .process-tour-cursor,
  .process-tour-click {
    animation: none;
  }

  .process-typed-prompt {
    width: 100%;
  }

  .process-alert {
    opacity: 1;
  }

  .process-tour-sources,
  .process-tour-properties,
  .process-tour-url,
  .process-tour-width,
  .process-tour-height {
    opacity: 1;
  }

  .process-tour-menu,
  .process-tour-name,
  .process-tour-cursor,
  .process-tour-click {
    opacity: 0;
  }
}

.resource-compatibility-heading {
  display: grid;
  grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1.45fr);
  gap: 0.8rem clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.resource-compatibility-heading > p {
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
  color: var(--resource-wine);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.resource-compatibility-heading h2 {
  max-width: 48rem;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.94;
  text-wrap: balance;
}

.resource-compatibility-heading > span {
  display: block;
  max-width: 45rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.resource-compatibility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.resource-compatibility-axis {
  --compat-hue: calc(var(--hue) + 95);
  --compat-bg: oklch(0.95 0.055 var(--compat-hue));
  --compat-edge: oklch(0.72 0.09 var(--compat-hue));
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid color-mix(in oklch, var(--compat-edge), var(--text-primary) 12%);
  border-radius: 1.5rem;
  background: var(--compat-bg);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.55),
    0 0.45rem 0 var(--compat-edge),
    0 1.1rem 2.2rem var(--shadow-c3);
}

.resource-compatibility-software {
  --compat-hue: calc(var(--hue) + 205);
}

.resource-compatibility-axis > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.6rem;
}

.resource-compatibility-axis > header > span {
  padding-top: 0.25rem;
  color: oklch(0.42 0.14 var(--compat-hue));
  font: 800 1rem/1 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
}

.resource-compatibility-axis > header p {
  margin: 0 0 0.45rem;
  color: oklch(0.42 0.12 var(--compat-hue));
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.resource-compatibility-axis h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.resource-platform-list,
.resource-software-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-platform-list {
  display: grid;
}

.resource-platform-list > li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding-block: 1rem;
  border-top: 1px solid color-mix(in oklch, var(--text-primary), transparent 84%);
}

.resource-platform-list > li:last-child {
  padding-bottom: 0;
}

.resource-platform-logo {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid color-mix(in oklch, var(--text-primary), transparent 76%);
  border-radius: 0.8rem;
  background: oklch(0.985 0.006 var(--compat-hue));
  box-shadow: 0 0.24rem 0 color-mix(in oklch, var(--text-primary), transparent 76%);
}

.resource-platform-logo svg {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
}

.resource-platform-twitch svg { fill: #9146ff; }
.resource-platform-youtube svg { fill: #f00; }
.resource-platform-kick svg { fill: #53fc18; }

.resource-platform-list b,
.resource-software-list b {
  display: block;
  color: var(--text-primary);
  font-size: 0.98rem;
  line-height: 1.2;
}

.resource-platform-list li div > span,
.resource-software-list li div > span {
  display: block;
  margin-top: 0.28rem;
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

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

.resource-software-list > li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-height: 5.2rem;
  padding: 0.85rem;
  border: 1px solid color-mix(in oklch, var(--text-primary), transparent 82%);
  border-radius: 1rem;
  background: color-mix(in oklch, oklch(0.99 0.004 var(--compat-hue)), transparent 8%);
  box-shadow: 0 0.24rem 0 color-mix(in oklch, var(--compat-edge), transparent 25%);
}

.resource-software-list i {
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--compat-bg);
  font: 800 0.65rem/1 'JetBrains Mono', monospace;
  font-style: normal;
  letter-spacing: -0.04em;
}

.resource-compatibility-more {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  margin: 1.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.resource-compatibility-more > span {
  color: oklch(0.42 0.14 var(--compat-hue));
  font: 800 1rem/1 'JetBrains Mono', monospace;
}

.resource-example-grid {
  display: grid;
  gap: clamp(7rem, 11vw, 11rem);
  counter-reset: resource-examples;
}

#examples .resource-section-heading {
  max-width: 58rem;
  margin: 0 auto clamp(4.5rem, 7vw, 7rem);
  text-align: center;
}

#examples .resource-section-heading > span {
  margin-inline: auto;
}

.resource-example-card {
  display: grid;
  grid-template-columns: minmax(18rem, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  min-width: 0;
  counter-increment: resource-examples;
}

.resource-example-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.32fr) minmax(18rem, 0.68fr);
}

.resource-example-card:nth-child(odd) .resource-example-copy {
  grid-column: 1;
}

.resource-example-card:nth-child(odd) .resource-example-stage {
  grid-column: 2;
}

.resource-example-card:nth-child(even) .resource-example-copy {
  grid-column: 2;
}

.resource-example-card:nth-child(even) .resource-example-stage {
  grid-column: 1;
}

.resource-example-card > * {
  grid-row: 1;
}

.resource-example-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: visible;
  background: transparent;
}

.resource-example-full-canvas {
  --sx: 14;
  --sy: 14;
  overflow: hidden;
  isolation: isolate;
  backface-visibility: hidden;
  transform-style: flat;
  border-radius: 0.75rem;
  animation: resource-stage-enter-flat 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
  background-color: var(--checker-light);
  background-image:
    linear-gradient(45deg, var(--checker-dark) 25%, transparent 25%),
    linear-gradient(-45deg, var(--checker-dark) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--checker-dark) 75%),
    linear-gradient(-45deg, transparent 75%, var(--checker-dark) 75%);
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
  box-shadow:
    calc(var(--sx) * 0.1px) calc(var(--sy) * 0.1px) 2px var(--shadow-c1),
    calc(var(--sx) * 0.25px) calc(var(--sy) * 0.25px) 6px var(--shadow-c2),
    calc(var(--sx) * 0.5px) calc(var(--sy) * 0.5px) 14px var(--shadow-c3),
    calc(var(--sx) * 1px) calc(var(--sy) * 1px) 28px var(--shadow-c4),
    calc(var(--sx) * 2px) calc(var(--sy) * 2px) 56px var(--shadow-c5);
}

@media (min-width: 641px) {
  .resource-example-card:nth-child(odd) .resource-example-full-canvas {
    transform: perspective(70rem) rotateY(-14deg) translateZ(1rem);
    transform-origin: 68% 50%;
    animation-name: resource-stage-enter-depth;
  }

  .resource-example-card:nth-child(even) .resource-example-full-canvas {
    --sx: -14;
    transform: perspective(70rem) rotateY(14deg) translateZ(1rem);
    transform-origin: 32% 50%;
    animation-name: resource-example-stage-enter-depth-reverse;
  }
}

@keyframes resource-example-stage-enter-depth-reverse {
  from {
    opacity: 0;
    transform: perspective(70rem) rotateY(26deg) translate3d(-4rem, 0, -5rem);
  }
  to {
    opacity: 1;
    transform: perspective(70rem) rotateY(14deg) translateZ(1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .resource-example-full-canvas {
    animation: none;
  }
}

.resource-example-stage[data-marketing-demo="demo-police-raid-sound-alert"] {
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--text-primary), transparent 84%);
  border-radius: clamp(1.35rem, 2.4vw, 2.25rem);
  box-shadow:
    clamp(0.65rem, 1.2vw, 1.1rem) clamp(0.8rem, 1.5vw, 1.35rem) 0
      color-mix(in oklch, var(--resource-accent), transparent 54%),
    0 clamp(1.4rem, 3vw, 2.8rem) clamp(2.8rem, 6vw, 5.5rem)
      color-mix(in oklch, var(--text-primary), transparent 78%);
}

.resource-example-copy {
  width: 100%;
  margin: 0;
  padding: 0;
}

.resource-example-copy::before {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--resource-wine);
  content: "0" counter(resource-examples);
  font: 800 0.82rem/1 'JetBrains Mono', monospace;
  letter-spacing: 0.12em;
}

.resource-example-copy h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

.resource-example-copy a {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
  padding: 0.9rem 1rem;
  border: 1.5px solid color-mix(in oklch, var(--resource-accent), black 48%);
  border-radius: 1rem;
  background: oklch(0.98 0.012 var(--hue));
  box-shadow: 4px 5px 0 color-mix(in oklch, var(--resource-accent), transparent 50%);
  color: var(--text-primary);
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.76rem;
  line-height: 1.45;
  text-decoration: none;
  transition: box-shadow 160ms ease, transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.resource-example-copy a:hover {
  box-shadow: 2px 3px 0 color-mix(in oklch, var(--resource-accent), transparent 42%);
  transform: translate(2px, 2px);
}

.resource-example-copy a span {
  flex: 0 0 auto;
  color: var(--resource-wine);
  font-weight: 800;
}

.resource-example-sound {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--text-primary);
  border-radius: 999px;
  background: var(--text-primary);
  box-shadow: 4px 5px 0 color-mix(in oklch, var(--resource-accent), transparent 50%);
  color: var(--page-bg);
  cursor: pointer;
  font: 750 0.82rem/1 'Space Grotesk', sans-serif;
  transition: box-shadow 160ms ease, transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.resource-example-sound::before {
  width: 0;
  height: 0;
  border-top: 0.34rem solid transparent;
  border-bottom: 0.34rem solid transparent;
  border-left: 0.55rem solid currentColor;
  content: "";
}

.resource-example-sound:hover {
  box-shadow: 2px 3px 0 color-mix(in oklch, var(--resource-accent), transparent 42%);
  transform: translate(2px, 2px);
}

.resource-example-sound.is-playing::before {
  width: 0.55rem;
  height: 0.65rem;
  border: 0;
  border-inline: 0.17rem solid currentColor;
}

/* Alert sets read as one collection: title, then a centered broadcast canvas
   with the supporting event treatments flanking the hero raid. */
.resource-example-card:has(.resource-example-stage[data-marketing-demo="demo-pizza-raid-canvas"]) {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
  justify-items: center;
}

.resource-example-card:has(.resource-example-stage[data-marketing-demo="demo-pizza-raid-canvas"]) .resource-example-copy {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  justify-self: center;
  text-align: center;
}

.resource-example-card:has(.resource-example-stage[data-marketing-demo="demo-pizza-raid-canvas"]) .resource-example-copy::before {
  margin-inline: auto;
}

.resource-example-card:has(.resource-example-stage[data-marketing-demo="demo-pizza-raid-canvas"]) .resource-example-copy a {
  width: min(100%, 30rem);
  margin-inline: auto;
  text-align: left;
}

.resource-example-card:has(.resource-example-stage[data-marketing-demo="demo-pizza-raid-canvas"]) .resource-example-copy h3 {
  max-width: none;
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-shadow: 3px 3px 0 color-mix(in oklch, var(--resource-accent), transparent 72%);
  white-space: nowrap;
}

.resource-example-card:has(.resource-example-stage[data-marketing-demo="demo-pizza-raid-canvas"]) .resource-example-stage {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
}

.resource-spotlight {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, color-mix(in oklch, var(--resource-accent), transparent 72%), transparent 34%),
    color-mix(in oklch, var(--page-bg), white 22%);
}

.resource-spotlight-inner {
  display: grid;
  justify-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.resource-spotlight-copy {
  max-width: 58rem;
  text-align: center;
}

.resource-spotlight-copy > p {
  margin: 0 0 0.85rem;
  color: var(--resource-wine);
  font: 800 0.8rem/1 'JetBrains Mono', monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resource-spotlight-copy h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(2.5rem, 4.4vw, 4.5rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
  text-wrap: balance;
}

.resource-spotlight-copy > span {
  display: block;
  max-width: 46rem;
  margin: 1.25rem auto 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.resource-spotlight-copy > a {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: min(100%, 30rem);
  margin: 1.75rem auto 0;
  padding: 0.9rem 1rem;
  border: 1.5px solid color-mix(in oklch, var(--resource-accent), black 48%);
  border-radius: 1rem;
  background: oklch(0.98 0.012 var(--hue));
  box-shadow: 4px 5px 0 color-mix(in oklch, var(--resource-accent), transparent 50%);
  color: var(--text-primary);
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.76rem;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
}

.resource-spotlight-copy > a span {
  flex: 0 0 auto;
  color: var(--resource-wine);
  font-weight: 800;
}

.resource-spotlight-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.resource-spotlight-stage[data-marketing-demo="demo-neon-rose-responsive-scene"] {
  aspect-ratio: 1920 / 1172;
}

.resource-scene-family {
  background: transparent;
}

.resource-scene-family .resource-spotlight-copy {
  max-width: 64rem;
}

.resource-scene-family-stage {
  container-type: inline-size;
  aspect-ratio: 16 / 9;
}

.resource-scene-family-parent {
  position: absolute;
  inset: 0;
}

.resource-scene-family-children {
  position: absolute;
  z-index: 4;
  top: 47.96%;
  left: 4.17%;
  right: 4.17%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.81%;
}

.resource-scene-family-child {
  min-width: 0;
}

.resource-scene-family-child > header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.68cqw;
  align-items: center;
  min-height: 3.65cqw;
  padding: 0 1.04cqw;
  color: var(--text-primary);
}

.resource-scene-family-child > header span {
  display: grid;
  width: 1.77cqw;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--page-bg);
  font: 800 0.68cqw/1 'JetBrains Mono', monospace;
}

.resource-scene-family-child > header strong {
  font-size: 1.09cqw;
  letter-spacing: -0.025em;
}

.resource-scene-family-child > header i {
  padding: 0.36cqw 0.47cqw 0.31cqw;
  border: 1.5px solid #299a62;
  border-radius: 999px;
  color: #187748;
  font: 800 0.47cqw/1 'JetBrains Mono', monospace;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-scene-family-canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  animation: none;
}

.resource-scene-family-child:nth-child(1) .resource-scene-family-canvas {
  --sx: 8;
  transform: perspective(70rem) rotateY(-6deg) translateZ(0.5rem);
  transform-origin: 100% 50%;
}

.resource-scene-family-child:nth-child(2) .resource-scene-family-canvas {
  --sx: 0;
}

.resource-scene-family-child:nth-child(3) .resource-scene-family-canvas {
  --sx: -8;
  transform: perspective(70rem) rotateY(6deg) translateZ(0.5rem);
  transform-origin: 0 50%;
}

.resource-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(28rem, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.resource-guide-intro {
  position: sticky;
  top: 6.5rem;
  align-self: start;
}

.resource-step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: resource-steps;
}

.resource-step-list li {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--resource-line);
}

.resource-step-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.resource-step-list li > span {
  color: var(--resource-accent);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.resource-step-list h3,
.resource-setup-card h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.resource-step-list p,
.resource-setup-card li p {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.resource-setup-card {
  --sx: 12;
  --sy: 12;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(28rem, 1.15fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 1.75rem;
  background: var(--resource-surface);
  box-shadow:
    calc(var(--sx) * 0.2px) calc(var(--sy) * 0.2px) 5px var(--shadow-c2),
    calc(var(--sx) * 0.8px) calc(var(--sy) * 0.8px) 24px var(--shadow-c5);
}

.resource-requirement {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid oklch(0.55 0.08 75 / 0.2);
  border-radius: 1.25rem;
  background: oklch(0.94 0.045 75);
  color: var(--text-primary);
}

.resource-requirement > div {
  min-width: 0;
}

.resource-requirement div > span {
  color: oklch(0.45 0.14 55);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.resource-requirement h2 {
  display: inline;
  margin: 0 0.6rem 0 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  letter-spacing: -0.025em;
}

.resource-requirement p {
  display: inline;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.resource-requirement > a {
  flex: 0 0 auto;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text-primary);
  color: var(--resource-surface);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.resource-requirement > a:hover {
  background: oklch(0.45 0.14 55);
}

.resource-setup-card ol {
  display: grid;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-setup-card li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 1rem;
}

.resource-setup-card li > b {
  display: grid;
  place-items: center;
  align-self: start;
  width: 2.25rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: oklch(0.94 0.06 calc(var(--hue) + 180));
  color: oklch(0.30 0.10 calc(var(--hue) + 180));
}

.resource-faq {
  max-width: 52rem;
  margin-inline: auto;
}

#faq .resource-section-heading {
  margin-inline: auto;
  text-align: center;
}

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

.resource-related-grid > a {
  display: flex;
  min-height: 17rem;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--resource-line);
  border-radius: 1.25rem;
  background: oklch(0.95 0.02 var(--hue) / 0.7);
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease;
}

.resource-related-grid > a:hover {
  background: var(--resource-surface);
  transform: translateY(-0.25rem);
}

.resource-related-grid span {
  color: var(--resource-wine);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-related-grid h3 {
  margin: 1rem 0 0;
  color: var(--text-primary);
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.resource-related-grid p {
  margin: 0.85rem 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.resource-related-grid b {
  margin-top: auto;
  color: var(--text-primary);
  font-size: 0.85rem;
}

.resource-related-grid b i {
  font-style: normal;
}

.resource-final-cta {
  padding-block: clamp(5rem, 9vw, 9rem);
  background: transparent;
  text-align: center;
}

.resource-final-cta .resource-shell {
  width: min(100% - 3rem, 72rem);
  border: 1px solid oklch(0.55 0.05 calc(var(--hue) + 180) / 0.14);
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  background: oklch(0.91 0.025 calc(var(--hue) + 180));
  box-shadow: 0 20px 55px oklch(0.45 0.07 var(--hue) / 0.1);
}

.marketing-final-card {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  min-height: clamp(27rem, 41vw, 32rem);
  padding: 0;
  border: 1px solid oklch(0.55 0.05 calc(var(--hue) + 180) / 0.14);
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  background: oklch(0.91 0.025 calc(var(--hue) + 180));
  box-shadow: 0 20px 55px oklch(0.45 0.07 var(--hue) / 0.1);
}

.aq-block-shadow-logo {
  display: grid;
  width: 100%;
  height: 100%;
  padding: clamp(2rem, 4vw, 3.5rem);
  place-items: center;
}

.aq-block-shadow-logo svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.aq-block-logo-side {
  fill: oklch(0.68 0.1 calc(var(--hue) + 180));
}

.aq-block-logo-letter {
  filter: url(#block-logo-letter-cast-shadow);
}

.aq-block-logo-back,
.aq-block-logo-face {
  stroke: #07090a;
  stroke-width: 44;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

.aq-block-logo-face {
  fill: #fbfdff;
}

.marketing-final-copy {
  display: flex;
  min-width: 0;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.resource-final-cta h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(2.8rem, 5.5vw, 5.1rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-wrap: balance;
}

.resource-final-cta p {
  max-width: 35rem;
  margin: 1.25rem 0 2rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.resource-final-actions {
  margin-top: 2rem;
}

@media (max-width: 980px) {
  .resource-hero-grid,
  .resource-guide,
  .resource-setup-card,
  .resource-directory-group {
    grid-template-columns: 1fr;
  }

  .resource-hero-grid {
    gap: 3.5rem;
  }

  .resource-hero h1 {
    max-width: none;
  }

  .resource-hero h1.resource-heading-short {
    max-width: none;
  }

  .resource-hero h1 em {
    font-size: clamp(1.6rem, 7.2vw, 4.4rem);
    white-space: nowrap;
  }

  .resource-hero h1 em.resource-heading-short {
    font-size: clamp(1.8rem, 8.5vw, 4.8rem);
  }

  .resource-stage {
    min-height: 0;
  }

  .resource-guide-intro {
    position: static;
  }

  .resource-process-heading {
    gap: 1rem;
  }

  .resource-process-heading h2 {
    white-space: normal;
  }

  .resource-example-card:has(.resource-example-stage[data-marketing-demo="demo-pizza-raid-canvas"]) .resource-example-copy h3 {
    white-space: normal;
  }

  .resource-process-route {
    display: none;
  }

  .resource-process-list {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .resource-process-list > li {
    grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.2fr);
    grid-template-rows: auto auto;
    align-items: center;
  }

  .resource-process-art {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .resource-process-list > li > header,
  .resource-process-list > li > p {
    grid-column: 2;
  }

  .resource-compatibility-heading,
  .resource-compatibility-grid {
    grid-template-columns: 1fr;
  }

  .resource-compatibility-heading {
    gap: 0.8rem;
  }

  .resource-compatibility-heading > p {
    grid-row: auto;
    margin-bottom: 0.2rem;
  }

  .resource-related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .resource-related-grid > a:last-child {
    grid-column: 1 / -1;
  }

  .resource-example-card {
    grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.25fr);
    gap: 2rem;
  }

  .resource-example-card:nth-child(even) {
    grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
  }
}

@media (max-width: 640px) {
  .resource-page {
    --resource-gutter: clamp(1.5rem, 6vw, 2.25rem);
  }

  .resource-page .landing-header {
    padding-inline: var(--resource-gutter);
  }

  .resource-shell {
    width: min(
      calc(100% - var(--resource-gutter) - var(--resource-gutter)),
      var(--resource-max-width)
    );
  }

  .resource-hero {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
  }

  .resource-breadcrumb {
    margin-bottom: 2.5rem;
  }

  .resource-hero-copy {
    text-align: center;
  }

  .resource-hero h1 {
    max-width: 100%;
    margin-inline: auto;
    font-size: clamp(3.25rem, 15vw, 4.25rem);
    line-height: 0.92;
  }

  .resource-hero h1 span {
    font-size: 0.7em;
  }

  .resource-hero h1 em,
  .resource-hero h1 em.resource-heading-short {
    font-size: 1em;
    white-space: normal;
  }

  .resource-software-list > li {
    grid-template-columns: minmax(0, 1fr);
  }

  .resource-software-list i {
    display: none;
  }

  .resource-hero-lead,
  .resource-prompt {
    margin-inline: auto;
  }

  .resource-prompt {
    gap: 0.55rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.75rem;
    text-align: left;
  }

  .resource-actions {
    align-items: center;
    flex-direction: column;
    gap: 1rem;
  }

  .resource-action-buttons {
    gap: 0.6rem;
  }

  .resource-action-buttons .btn {
    min-height: 2.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
  }

  .resource-action-buttons .btn-primary {
    padding: 0.72rem 1.25rem;
    font-size: 0.85rem;
  }

  .resource-text-link {
    margin-top: 0;
  }

  .resource-featured {
    border-radius: 1rem;
  }

  .resource-jumpbar .resource-shell {
    width: 100%;
    padding-inline: var(--resource-gutter);
  }

  .resource-section {
    padding-block: 4.5rem;
  }

  .resource-section-heading,
  .resource-guide-intro,
  .resource-setup-copy {
    margin-inline: auto;
    text-align: center;
  }

  .resource-process-heading {
    text-align: center;
  }

  .resource-process-heading h2 {
    margin-inline: auto;
  }

  .resource-compatibility-heading {
    justify-items: center;
    text-align: center;
  }

  .resource-compatibility-heading > span {
    margin-inline: auto;
  }

  .resource-process-list > li {
    grid-template-columns: 1fr;
    grid-template-rows: 11.5rem auto auto;
  }

  .resource-process-art,
  .resource-process-list > li > header,
  .resource-process-list > li > p {
    grid-column: 1;
    grid-row: auto;
  }

  .resource-process-list > li > p {
    padding-left: 0;
  }

  .resource-section-heading > span,
  .resource-guide-intro > span,
  .resource-setup-copy > span {
    margin-inline: auto;
  }

  .resource-related-grid,
  .resource-directory-links {
    grid-template-columns: 1fr;
  }

  .resource-directory-groups {
    border-radius: 1.25rem;
  }

  .resource-directory-group {
    gap: 1.75rem;
  }

  .resource-directory-links > a {
    min-height: 7.5rem;
  }

  .resource-related-grid > a:last-child {
    grid-column: auto;
  }

  .resource-example-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .resource-example-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .resource-example-card:nth-child(n) .resource-example-copy,
  .resource-example-card:nth-child(n) .resource-example-stage {
    grid-column: 1;
  }

  .resource-example-card:nth-child(n) .resource-example-copy {
    grid-row: 1;
  }

  .resource-example-card:nth-child(n) .resource-example-stage {
    grid-row: 2;
  }

  .resource-step-list li {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .resource-step-list li > span {
    font-size: 1.7rem;
  }

  .resource-setup-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
  }

  .resource-requirement {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .resource-related-grid > a {
    min-height: 14rem;
  }

  .resource-final-cta {
    padding-block: 4.5rem;
  }

  .resource-final-cta .resource-shell {
    width: calc(100% - var(--resource-gutter) - var(--resource-gutter));
  }
}

@media (max-width: 760px) {
  .marketing-final-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .aq-block-shadow-logo {
    display: none;
  }

  .marketing-final-copy {
    padding: 3.5rem 1.5rem 4rem;
  }

  .examples-page .landing-header {
    padding-inline: 1.25rem;
  }

  .examples-page .resource-shell {
    width: calc(100% - 2.5rem);
  }

  .examples-page .landing-footer-inner {
    width: calc(100% - 2.5rem);
  }

  .examples-directory-intro {
    display: block;
    padding-block: 4rem 3rem;
  }

  .examples-directory-title h1 {
    font-size: clamp(3rem, 14vw, 3.7rem);
  }

  .examples-directory-lede {
    margin-top: 2rem;
  }

  .examples-feature {
    min-height: 0;
    padding-block: 2.5rem 5rem;
  }

  .examples-feature-canvas {
    width: 100%;
  }

  .examples-feature-copy {
    position: relative;
    bottom: auto;
    width: calc(100% - 1.25rem);
    margin: -1.5rem 0 0 1.25rem;
    padding: 1.5rem;
  }

  .examples-browser-heading,
  .examples-panel-heading {
    display: block;
  }

  .examples-browser-heading > p {
    margin-bottom: 1rem;
  }

  .examples-panel-heading p {
    margin-top: 0.8rem;
  }

  .examples-section-index ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .examples-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem 0;
  }

  .examples-gallery-canvas,
  .examples-gallery-item:nth-child(even) .examples-gallery-canvas {
    --examples-canvas-rotation: 0deg;
  }

  .examples-gallery-copy {
    padding-inline: 0;
  }
}
