body.ms-page-use-cases {
  scroll-padding-top: 6.5rem;
}

.uc-page {
  --uc-ink: #141210;
  --uc-paper: #f6f1ea;
  --uc-rust: #c25621;
  --uc-moss: #2f4f3c;
  --uc-sand: #e8dfd4;
  --uc-cream: #fffdf9;
  --uc-muted: rgba(20, 18, 16, 0.62);
  font-family: "Sora", "Inter", system-ui, sans-serif;
  color: var(--uc-ink);
  background: var(--uc-paper);
  overflow-x: clip;
}

html[data-theme="dark"] .uc-page {
  --uc-ink: #f3eee6;
  --uc-paper: #12100e;
  --uc-rust: #e07a3a;
  --uc-moss: #7cb89a;
  --uc-sand: #1e1c19;
  --uc-cream: #1a1816;
  --uc-muted: rgba(243, 238, 230, 0.65);
}

.uc-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
  background:
    linear-gradient(115deg, rgba(194, 86, 33, 0.12) 0%, transparent 45%),
    linear-gradient(295deg, rgba(47, 79, 60, 0.1) 0%, transparent 40%),
    var(--uc-cream);
  border-bottom: 1px solid var(--uc-sand);
}

html[data-theme="dark"] .uc-hero {
  background:
    linear-gradient(115deg, rgba(224, 122, 58, 0.15) 0%, transparent 45%),
    linear-gradient(295deg, rgba(124, 184, 154, 0.12) 0%, transparent 42%),
    var(--uc-cream);
}

.uc-hero__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .uc-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
}

.uc-hero__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--uc-rust);
  margin: 0 0 0.75rem;
}

.uc-hero__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--uc-ink);
}

.uc-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--uc-muted);
  margin: 0;
  max-width: 36em;
}

.uc-hero__panel {
  border: 1px solid var(--uc-sand);
  border-radius: 4px;
  padding: 1.25rem 1.35rem;
  background: var(--uc-paper);
  box-shadow: 8px 8px 0 rgba(20, 18, 16, 0.06);
}

html[data-theme="dark"] .uc-hero__panel {
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.35);
}

.uc-hero__panel p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--uc-muted);
}

.uc-jump {
  position: sticky;
  top: 56px;
  z-index: 40;
  border-bottom: 1px solid var(--uc-sand);
  background: color-mix(in srgb, var(--uc-paper) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.uc-jump__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem clamp(1rem, 3vw, 1.5rem);
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.uc-jump__inner::-webkit-scrollbar {
  height: 4px;
}

.uc-jump__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--uc-ink);
  border: 1px solid var(--uc-sand);
  background: var(--uc-cream);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.uc-jump__link i {
  font-size: 0.85rem;
  opacity: 0.75;
}

.uc-jump__link:hover {
  border-color: var(--uc-rust);
  color: var(--uc-rust);
}

.uc-section {
  scroll-margin-top: 6.5rem;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
}

.uc-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.uc-ph {
  position: relative;
  border-radius: 2px;
  background: var(--uc-sand);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--uc-ink) 8%, var(--uc-sand));
}

.uc-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    color-mix(in srgb, var(--uc-ink) 4%, transparent) 10px,
    color-mix(in srgb, var(--uc-ink) 4%, transparent) 11px
  );
  pointer-events: none;
}

.uc-ph__label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--uc-muted);
  z-index: 1;
}

#ai-films {
  background: var(--uc-cream);
}

#ai-films .uc-section__layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 820px) {
  #ai-films .uc-section__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}

#ai-films .uc-ph {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #2a2520 0%, #4a3f35 40%, #1c1916 100%);
}

#ai-films .uc-ph::before {
  content: "\f008";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3rem, 10vw, 5rem);
  color: rgba(255, 253, 249, 0.12);
  z-index: 0;
}

#ai-films .uc-block__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  margin: 0 0 0.75rem;
  border-left: 4px solid var(--uc-rust);
  padding-left: 1rem;
}

#product-videos {
  background: var(--uc-paper);
}

#product-videos .uc-section__inner {
  max-width: 1000px;
}

#product-videos .uc-ph {
  aspect-ratio: 21 / 9;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, #1a2332 0%, #3d4f6a 50%, #1e2a3d 100%);
  border-radius: 0;
}

#product-videos .uc-ph::before {
  content: "\f51a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  color: rgba(255, 255, 255, 0.1);
}

#product-videos .uc-block__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0 0 0.5rem;
  text-align: center;
}

#product-videos .uc-block__intro {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
  color: var(--uc-muted);
  line-height: 1.65;
}

#social-content {
  background: linear-gradient(180deg, var(--uc-moss) 0%, color-mix(in srgb, var(--uc-moss) 85%, #000) 100%);
  color: #f4faf6;
}

#social-content .uc-block__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0 0 0.35rem;
  color: #fff;
}

#social-content .uc-block__intro {
  color: rgba(244, 250, 246, 0.82);
  margin: 0 0 1.75rem;
  max-width: 36rem;
  line-height: 1.6;
}

#social-content .uc-bento {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  #social-content .uc-bento {
    grid-template-columns: repeat(4, 1fr);
  }
}

#social-content .uc-ph {
  aspect-ratio: 1;
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.12);
}

#social-content .uc-ph:nth-child(1) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
}

#social-content .uc-ph:nth-child(2) {
  background: linear-gradient(200deg, rgba(194, 86, 33, 0.35), transparent);
}

#social-content .uc-ph:nth-child(3) {
  background: linear-gradient(320deg, rgba(255, 255, 255, 0.12), transparent);
}

#social-content .uc-ph:nth-child(4) {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

@media (min-width: 640px) {
  #social-content .uc-ph:nth-child(4) {
    grid-column: span 1;
    aspect-ratio: 1;
  }
}

#social-content .uc-ph__label {
  color: rgba(255, 255, 255, 0.55);
}

#social-content .uc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

#social-content .uc-list li {
  padding: 0.55rem 0 0.55rem 1.25rem;
  position: relative;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(244, 250, 246, 0.9);
}

#social-content .uc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--uc-rust);
}

#storytelling {
  position: relative;
  background: var(--uc-cream);
  overflow: hidden;
}

#storytelling::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 55%;
  height: 140%;
  background: linear-gradient(165deg, rgba(194, 86, 33, 0.08), transparent 55%);
  transform: rotate(-8deg);
  pointer-events: none;
}

#storytelling .uc-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  #storytelling .uc-section__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

#storytelling .uc-ph {
  aspect-ratio: 3 / 4;
  max-height: 420px;
  background: linear-gradient(180deg, #eae3d9 0%, #cfc4b8 100%);
}

html[data-theme="dark"] #storytelling .uc-ph {
  background: linear-gradient(180deg, #2a2622 0%, #1a1816 100%);
}

#storytelling .uc-ph::before {
  content: "\f518";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.5rem, 7vw, 4rem);
  color: color-mix(in srgb, var(--uc-ink) 12%, transparent);
}

#storytelling .uc-block__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  margin: 0 0 0.75rem;
}

#storytelling .uc-quote {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  border: 1px dashed var(--uc-sand);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--uc-muted);
  font-style: italic;
}

#character-creation {
  --uc-char-fg: #f6f1ea;
  --uc-char-muted: rgba(246, 241, 234, 0.78);
  background: #12100e;
  color: var(--uc-char-fg);
}

html[data-theme="dark"] #character-creation {
  background: #0a0908;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#character-creation .uc-block__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0 0 0.5rem;
  color: #fff;
}

#character-creation .uc-block__intro {
  color: var(--uc-char-muted);
  margin: 0 0 1.5rem;
  line-height: 1.65;
  max-width: 36rem;
}

#character-creation .uc-steps {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: uc;
}

#character-creation .uc-steps li {
  counter-increment: uc;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--uc-char-fg);
  font-size: 0.9375rem;
  line-height: 1.55;
}

#character-creation .uc-steps li::before {
  content: counter(uc, decimal-leading-zero);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--uc-rust);
  flex-shrink: 0;
  min-width: 2rem;
}

#character-creation .uc-ph {
  aspect-ratio: 16 / 10;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #3d2f4a 0%, #1f1a24 60%, #2a2430 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

#character-creation .uc-ph::before {
  content: "\f406";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  color: rgba(255, 255, 255, 0.1);
}

#character-creation .uc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #141210;
  background: #f6f1ea;
  border-radius: 2px;
  border: 2px solid var(--uc-rust);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

#character-creation .uc-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--uc-rust);
}

.uc-block__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

.uc-block__body {
  margin: 0.75rem 0 0;
  color: var(--uc-muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

#ai-films .uc-block__body,
#product-videos .uc-block__body {
  max-width: 40rem;
}
