/* Fablun Brand 05 Public Models Hub & Interactive Studio Playground (05 Liquid Titanium & AR Prism) */
.seo-public .seo-content.fm-page {
  --fm-bg: #ffffff;
  --fm-surface: #f7f8fa;
  --fm-surface-alt: #f0f2f6;
  --fm-ink: #0b0d12;
  --fm-muted: #596272;
  --fm-subtle: #8891a0;
  --fm-border: rgba(11, 13, 18, 0.09);
  --fm-border-strong: rgba(11, 13, 18, 0.18);
  --fm-ar-cyan: #2B78C9;
  --fm-ar-iris: #715DD9;
  --fm-ar-champagne: #C48A3B;
  --fm-ar-cyan-ink: #1F5CA3;
  --fm-cobalt: #2B78C9;
  --fm-cobalt-soft: rgba(43, 120, 201, 0.13);
  --fm-hairline-titanium: linear-gradient(90deg, transparent 4%, rgba(158, 165, 178, 0.44) 30%, rgba(255, 255, 255, 0.96) 50%, rgba(158, 165, 178, 0.44) 70%, transparent 96%);
  --fm-hairline-ar: linear-gradient(90deg, transparent 2%, rgba(43, 120, 201, 0.60) 24%, rgba(113, 93, 217, 0.66) 54%, rgba(196, 138, 59, 0.52) 82%, transparent 98%);
  --fm-hairline-ar-dark: linear-gradient(90deg, transparent 2%, rgba(124, 196, 255, 0.56) 28%, rgba(198, 180, 255, 0.60) 54%, rgba(246, 210, 155, 0.46) 80%, transparent 98%);
  --fm-titanium-surface: linear-gradient(180deg, #FFFFFF 0%, #F4F6FA 58%, #E9EEF5 100%);
  --fm-obsidian-surface: linear-gradient(180deg, #212633 0%, #0D1016 58%, #07090D 100%);
  --fm-radius-xl: 18px;
  --fm-radius-lg: 14px;
  --fm-radius-md: 10px;
  position: relative;
  isolation: isolate;
  max-width: 1360px;
  margin: 0 auto;
  padding: 104px 32px 72px;
  color: var(--fm-ink);
  font-family: inherit;
}

.seo-public .seo-content.fm-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 280px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 165px at 28% 0%, rgba(124, 196, 255, 0.13) 0%, transparent 72%),
    radial-gradient(ellipse 42% 155px at 54% 0%, rgba(198, 180, 255, 0.10) 0%, transparent 74%),
    radial-gradient(ellipse 38% 145px at 78% 8%, rgba(246, 210, 155, 0.09) 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.fm-page :is(.fm-seg-btn, .fm-choice-btn, .fm-pill, .fm-tab, .fm-preset-chip, .fm-run-btn, .fm-btn) {
  -webkit-tap-highlight-color: transparent;
}

.fm-page :is(.fm-seg-btn, .fm-choice-btn, .fm-pill, .fm-tab, .fm-preset-chip, .fm-run-btn, .fm-btn):focus:not(:focus-visible) {
  outline: none;
}

.fm-page :is(.fm-seg-btn, .fm-choice-btn, .fm-pill, .fm-tab, .fm-preset-chip, .fm-run-btn, .fm-btn):focus-visible {
  outline: 2px solid rgba(43, 120, 201, 0.52);
  outline-offset: 2px;
}

.seo-public .seo-content.fm-page a:not(.fm-btn):not(.fm-card-link):not(.fm-pill-link) {
  color: var(--fm-ink);
  text-decoration: none;
}

.seo-public .seo-content.fm-page a:not(.fm-btn):hover {
  text-decoration: underline;
}

/* Shared Buttons */
.fm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}

.fm-btn-primary {
  background: #0b0d12;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(11, 13, 18, 0.16);
}

.fm-btn-primary:hover {
  background: #1d222d;
  transform: translateY(-1px);
}

.fm-btn-secondary {
  background-color: #F7F9FC;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #F4F6FA 100%);
  color: #0b0d12 !important;
  border-color: rgba(10, 11, 14, 0.14);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 1px 3px rgba(10, 11, 14, 0.05);
}

.fm-btn-secondary:hover {
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #FAFBFE 100%);
  border-color: rgba(10, 11, 14, 0.28);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 4px 12px rgba(10, 11, 14, 0.07);
}

.fm-btn-sm {
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 8px;
}

.fm-btn-hero-primary {
  border-radius: 999px;
  padding: 8px 20px 8px 8px;
  gap: 10px;
  background-color: #F6F8FB;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #F3F6FA 100%);
  border: 1px solid rgba(255, 255, 255, 0.96);
  color: #0A0B0E !important;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 12px 28px rgba(5, 8, 14, 0.34);
}

.fm-btn-hero-primary::before {
  content: "";
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background:
    url("/assets/fablun-mark-05-dark-6aaa0ce0c76c13c4.svg") center / 17px 17px no-repeat,
    radial-gradient(circle at 50% 50%, #1C212E 0%, #090B0F 74%);
  border: 1px solid rgba(190, 210, 236, 0.30);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.20), 0 2px 6px rgba(0, 0, 0, 0.24);
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1), border-color 280ms ease, box-shadow 280ms ease;
}

.fm-btn-hero-primary:hover {
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #F9FBFE 100%);
  transform: translateY(-1.5px);
  box-shadow:
    inset 0 1px 0 #FFFFFF,
    0 16px 34px rgba(5, 8, 14, 0.42),
    0 0 0 1px rgba(176, 214, 255, 0.42);
}

.fm-btn-hero-primary:hover::before {
  transform: rotate(28deg);
  border-color: rgba(124, 196, 255, 0.68);
  box-shadow:
    0 0 0 2.5px rgba(124, 196, 255, 0.26),
    0 0 14px rgba(198, 180, 255, 0.36);
}

.fm-btn-hero-primary:active {
  background-color: #F1F4F9;
  background-image: linear-gradient(180deg, #F6F8FC 0%, #EDF1F7 100%);
  transform: translateY(0) scale(0.985);
  box-shadow:
    inset 0 1px 0 #FFFFFF,
    0 8px 20px rgba(5, 8, 14, 0.30);
}

.fm-btn-hero-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fm-btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.36);
}

/* Models Hub Full-Bleed Cinema Showcase */
.fm-hero-cinema {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 452px;
  display: flex;
  align-items: flex-end;
  background: #0A0B0E;
  color: #f8fafc;
  border: 1px solid rgba(226, 230, 237, 0.14);
  box-shadow: 0 28px 72px rgba(9, 13, 24, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.fm-hero-cinema::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  z-index: 4;
  background: var(--fm-hairline-ar-dark);
  pointer-events: none;
}

.fm-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.fm-hero-bg video,
.fm-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  display: block;
}

.fm-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 62% at 14% 8%, rgba(124, 196, 255, 0.20) 0%, transparent 62%),
    radial-gradient(ellipse 40% 54% at 38% 14%, rgba(198, 180, 255, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 36% 48% at 58% 92%, rgba(246, 210, 155, 0.10) 0%, transparent 64%),
    linear-gradient(95deg, rgba(6, 9, 14, 0.94) 0%, rgba(6, 9, 14, 0.80) 42%, rgba(6, 9, 14, 0.30) 72%, rgba(6, 9, 14, 0.12) 100%),
    linear-gradient(180deg, rgba(6, 9, 14, 0.22) 0%, transparent 45%, rgba(6, 9, 14, 0.74) 100%);
}

.fm-hero-inner {
  position: relative;
  z-index: 2;
  padding: 48px 52px 44px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.fm-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 230, 237, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  max-width: 100%;
}

.fm-hero-eyebrow.has-tag {
  padding: 4px 13px 4px 5px;
}

.fm-hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFFFFF 0%, #E6EBF3 100%);
  color: #0A0B0E;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-transform: uppercase;
  flex: none;
}

.fm-hero-display {
  margin: 0 0 12px !important;
  font-size: clamp(34px, 4.1vw, 54px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: #ffffff !important;
}

.fm-hero-lead {
  margin: 0 0 24px;
  font-size: 15.5px;
  line-height: 1.62;
  color: rgba(226, 232, 240, 0.88);
  max-width: 530px;
}

.fm-hero-metrics {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  margin: 0 0 26px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.fm-metric {
  padding: 2px 22px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fm-metric + .fm-metric {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.fm-metric strong {
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.fm-metric span {
  font-size: 11.5px;
  color: rgba(203, 213, 225, 0.78);
  letter-spacing: 0.01em;
}

.fm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.fm-hero-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.88) !important;
  text-decoration: none;
}

.fm-hero-link:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.fm-hero-hud {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fm-media-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(9, 13, 22, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
}

.fm-sound-btn {
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(9, 13, 22, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.fm-sound-btn:hover {
  background: rgba(9, 13, 22, 0.94);
}

.fm-catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 34px 0 14px;
}

.fm-catalog-head h2 {
  margin: 0 0 4px !important;
  font-size: 22px !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fm-catalog-head p {
  margin: 0;
  font-size: 13.5px;
  color: var(--fm-muted);
}

/* Catalog Filter Toolbar & 4-Col Grid */
.fm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 22px;
}

.fm-toolbar .fm-pills {
  padding: 4px;
  border-radius: 12px;
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  gap: 4px;
}

.fm-toolbar .fm-pill {
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
}

.fm-toolbar .fm-pill.is-active {
  background-color: #ffffff;
  background-image: none;
  color: #0b0d12;
  box-shadow: 0 1px 4px rgba(11, 13, 18, 0.10);
}

.fm-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--fm-border);
  background-color: #F8FAFD;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #F4F6FA 100%);
  box-shadow: inset 0 1px 0 #FFFFFF;
  color: var(--fm-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.fm-pill:hover {
  border-color: var(--fm-border-strong);
  color: var(--fm-ink);
}

.fm-pill.is-active {
  background-color: #0D1016;
  background-image: var(--fm-obsidian-surface);
  border-color: #0A0B0E;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 8px rgba(10, 11, 14, 0.18);
}

.fm-pill-count {
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
}

.fm-search-wrap {
  position: relative;
  flex: 0 1 360px;
  min-width: 220px;
}

.fm-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 14px 9px 36px;
  border-radius: 10px;
  border: 1px solid var(--fm-border-strong);
  background: #ffffff;
  color: var(--fm-ink);
  font-size: 14px;
}

.fm-search-input:focus {
  outline: none;
  border-color: var(--fm-cobalt);
  box-shadow: 0 0 0 3px var(--fm-cobalt-soft);
}

.fm-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--fm-subtle);
  pointer-events: none;
}

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

.fm-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid var(--fm-border);
  background: #ffffff;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 4px 14px rgba(10, 12, 18, 0.03);
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s ease, border-color 0.18s ease;
}

.fm-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 120, 201, 0.24);
  box-shadow: 0 14px 32px rgba(10, 12, 18, 0.085);
}

.fm-card[hidden] {
  display: none !important;
}

.fm-card-cover-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101520;
}

.fm-card-cover-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.fm-card:hover .fm-card-cover-link img {
  transform: scale(1.03);
}

.fm-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.08) 0%, rgba(10, 12, 18, 0.56) 100%);
  pointer-events: none;
}

.fm-card-tags {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}

.fm-card-top-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(10, 11, 14, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 230, 237, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 12px rgba(0, 0, 0, 0.24);
  color: #F4F6FA;
}

.fm-card:first-child .fm-card-top-badge {
  border-color: rgba(198, 180, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.30), 0 0 14px rgba(124, 196, 255, 0.24);
}

.fm-card-tag {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(11, 13, 18, 0.68);
  backdrop-filter: blur(6px);
  color: #ffffff;
}

.fm-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 15px 13px;
}

.fm-card-brand {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fm-subtle);
  margin-bottom: 3px;
}

.fm-card-title {
  margin: 0 0 6px !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.fm-card-desc {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fm-muted);
  flex: 1;
}

.fm-card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--fm-border);
}

.fm-card-price {
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fm-ink);
}

.fm-card-price span {
  font-size: 12px;
  font-weight: 500;
  color: var(--fm-muted);
}

.fm-card-action {
  font-size: 13px;
  font-weight: 600;
  color: var(--fm-ar-cyan-ink) !important;
  white-space: nowrap;
}

.fm-empty {
  padding: 36px 24px;
  border-radius: 14px;
  border: 1px dashed var(--fm-border-strong);
  text-align: center;
  margin-top: 12px;
  background: var(--fm-surface);
}

.fm-upcoming-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--fm-border);
  background: var(--fm-surface);
  font-size: 13.5px;
  color: var(--fm-muted);
}

.fm-seo-section {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--fm-border);
}

.fm-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.fm-section-head h2 {
  margin: 0 !important;
  font-size: 22px !important;
  letter-spacing: -0.02em;
}

/* Single Model Studio Workbench (/models/magi-2) */
.fm-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: var(--fm-muted);
}

.fm-studio-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
}

.fm-studio-title-wrap h1 {
  margin: 0 0 8px !important;
  font-size: clamp(28px, 3vw, 38px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.025em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.fm-vendor-pill {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--fm-titanium-surface);
  border: 1px solid rgba(10, 11, 14, 0.12);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 1px 3px rgba(10, 11, 14, 0.05);
  color: #2F343D;
  letter-spacing: 0;
}

.fm-badge-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  color: #333945;
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F6FA 100%);
  border: 1px solid rgba(10, 11, 14, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 1px 2px rgba(10, 11, 14, 0.03);
}

.fm-breadcrumb .fm-badge-chip {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  border-radius: 999px;
  padding: 4px 11px;
  background: var(--fm-titanium-surface);
  border-color: rgba(10, 11, 14, 0.11);
  color: #2F343D;
}

.fm-studio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fm-studio-rate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.fm-rate-box {
  position: relative;
  overflow: hidden;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(145deg, #FFFFFF 0%, #F4F6FA 56%, #E7ECF4 100%);
  border: 1px solid rgba(10, 11, 14, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 6px 18px rgba(10, 12, 18, 0.05);
  text-align: right;
}

.fm-rate-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fm-hairline-ar);
  pointer-events: none;
}

.fm-rate-box strong {
  display: block;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  color: #0A0B0E;
  letter-spacing: -0.02em;
}

.fm-rate-box span {
  font-size: 12px;
  color: var(--fm-muted);
}

.fm-tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid rgba(10, 11, 14, 0.09);
  margin-bottom: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.fm-tabs::-webkit-scrollbar {
  display: none;
}

.fm-tab {
  position: relative;
  padding: 10px 2px 12px;
  background: none;
  border: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--fm-muted);
  cursor: pointer;
  white-space: nowrap;
}

.fm-tab:hover {
  color: var(--fm-ink);
}

.fm-tab.is-active {
  color: var(--fm-ink);
}

.fm-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0A0B0E 0%, #2B78C9 46%, #715DD9 76%, #C48A3B 100%);
  box-shadow: 0 2px 8px rgba(113, 93, 217, 0.24);
}

.fm-workbench {
  display: grid;
  grid-template-columns: minmax(340px, 430px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.fm-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10, 11, 14, 0.11);
  border-radius: 16px;
  background: linear-gradient(180deg, #FAFBFD 0%, #F2F5FA 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 14px 36px rgba(10, 12, 18, 0.045);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fm-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--fm-hairline-titanium);
  pointer-events: none;
}

.fm-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fm-muted);
  margin-bottom: 6px;
}

.fm-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: linear-gradient(180deg, #E5E9F1 0%, #ECEFF5 100%);
  border: 1px solid rgba(10, 11, 14, 0.07);
  box-shadow: inset 0 1px 2px rgba(10, 11, 14, 0.06);
}

.fm-seg-btn {
  padding: 8px 10px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--fm-muted);
  cursor: pointer;
}

.fm-seg-btn.is-active {
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
  border-color: rgba(10, 11, 14, 0.08);
  color: var(--fm-ink);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 2px 6px rgba(10, 11, 14, 0.08);
}

.fm-textarea,
.fm-text-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--fm-border-strong);
  border-radius: 10px;
  background: #ffffff;
  color: var(--fm-ink);
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.5;
  padding: 10px 12px;
}

.fm-textarea:focus,
.fm-text-input:focus {
  outline: none;
  border-color: var(--fm-cobalt);
  box-shadow: 0 0 0 3px var(--fm-cobalt-soft);
}

.fm-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.fm-preset-chip {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--fm-border);
  background: #ffffff;
  color: var(--fm-muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.fm-preset-chip:hover {
  border-color: var(--fm-border-strong);
  color: var(--fm-ink);
}

.fm-i2v-box {
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%);
  border: 1px solid rgba(10, 11, 14, 0.09);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 2px 8px rgba(10, 11, 14, 0.025);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fm-i2v-box[hidden] {
  display: none;
}

.fm-i2v-note {
  font-size: 12px;
  color: var(--fm-muted);
  line-height: 1.45;
  margin: 0;
}

.fm-i2v-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fm-i2v-top > span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fm-muted);
}

.fm-frame-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fm-upload-slot {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fm-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  aspect-ratio: 4 / 3;
  min-height: 132px;
  padding: 14px 10px;
  border-radius: 12px;
  border: 1.5px dashed rgba(83, 90, 103, 0.28);
  background-color: #F6F8FB;
  background-image: linear-gradient(180deg, #FAFBFD 0%, #F1F4F9 100%);
  cursor: pointer;
  min-width: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.fm-dropzone[hidden],
.fm-drop-preview[hidden],
.fm-upload-err[hidden] {
  display: none !important;
}

.fm-dropzone:hover,
.fm-dropzone:focus-visible {
  outline: none;
  border-color: rgba(43, 120, 201, 0.68);
  background-color: #F5F8FD;
  background-image: linear-gradient(180deg, #F8FBFF 0%, #F1F5FC 100%);
  box-shadow: 0 0 0 3px rgba(124, 196, 255, 0.24), inset 0 1px 0 #FFFFFF;
}

.fm-dropzone.is-dragging {
  border-style: solid;
  border-color: rgba(43, 120, 201, 0.78);
  background-color: #EFF5FD;
  background-image: linear-gradient(180deg, #F4F9FF 0%, #EBF2FC 100%);
  box-shadow: 0 0 0 3px rgba(124, 196, 255, 0.28), inset 0 1px 0 #FFFFFF;
}

.fm-drop-icon {
  width: 58px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, #FFFFFF 0%, #ECF0F7 100%);
  border: 1px solid rgba(10, 11, 14, 0.11);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 4px 12px rgba(10, 11, 14, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fm-ink);
  pointer-events: none;
  transition: transform 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.fm-drop-icon svg {
  width: 36px;
  height: 36px;
  display: block;
}

.fm-dropzone:hover .fm-drop-icon,
.fm-dropzone.is-dragging .fm-drop-icon {
  transform: translateY(-2px) scale(1.05);
  color: var(--fm-ar-cyan-ink);
  border-color: rgba(43, 120, 201, 0.34);
}

.fm-drop-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  pointer-events: none;
}

.fm-drop-copy strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--fm-ink);
  line-height: 1.25;
}

.fm-drop-copy span {
  font-size: 11px;
  color: var(--fm-muted);
  line-height: 1.25;
}

.fm-drop-preview {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 132px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--fm-border);
  background: #0f1420;
  min-width: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fm-drop-preview.is-dragging {
  border-color: var(--fm-cobalt);
  box-shadow: inset 0 0 0 2px var(--fm-cobalt), 0 0 0 3px var(--fm-cobalt-soft);
}

.fm-drop-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-drop-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.56) 0%, rgba(8, 12, 20, 0.04) 44%, rgba(8, 12, 20, 0.78) 100%);
  pointer-events: none;
}

.fm-drop-overlay-top {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  z-index: 2;
}

.fm-drop-badge {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(9, 13, 22, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.fm-drop-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.fm-drop-btn {
  padding: 3px 8px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(9, 13, 22, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.4;
  white-space: nowrap;
}

.fm-drop-btn:hover {
  background: rgba(9, 13, 22, 0.92);
}

.fm-drop-btn.is-icon {
  width: 24px;
  height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.fm-drop-info {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 8px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1px;
  pointer-events: none;
}

.fm-drop-info strong {
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fm-drop-info span {
  font-size: 10.5px;
  color: rgba(226, 232, 240, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fm-i2v-foot {
  font-size: 11.5px;
  color: var(--fm-subtle);
  line-height: 1.4;
  margin: 0;
}

.fm-upload-err {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 7px 10px;
}
.fm-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fm-choice-btn {
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(10, 11, 14, 0.13);
  background-color: #F9FAFD;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
  color: var(--fm-ink);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 #FFFFFF;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.fm-choice-btn:hover:not(:disabled):not(.is-active) {
  border-color: rgba(10, 11, 14, 0.28);
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%);
}

.fm-choice-btn.is-active {
  background-color: #0D1016;
  background-image: var(--fm-obsidian-surface);
  border-color: #0A0B0E;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 8px rgba(10, 11, 14, 0.20);
}

.fm-choice-btn:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.fm-run-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  padding: 12px 16px;
  border-radius: 11px;
  border: 1px solid rgba(226, 230, 237, 0.18);
  background-color: #0D1016;
  background-image: var(--fm-obsidian-surface);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 8px 22px rgba(10, 11, 14, 0.22);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, border-color 220ms ease;
}

.fm-run-btn::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: url("/assets/fablun-mark-05-dark-6aaa0ce0c76c13c4.svg") center / contain no-repeat;
  transform-origin: 50% 56%;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fm-run-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    108deg,
    transparent 22%,
    rgba(124, 196, 255, 0.18) 44%,
    rgba(255, 255, 255, 0.24) 50%,
    rgba(198, 180, 255, 0.18) 56%,
    rgba(246, 210, 155, 0.12) 64%,
    transparent 80%
  );
  transform: translateX(-115%);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.fm-run-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 196, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 12px 28px rgba(10, 11, 14, 0.28),
    0 0 0 1px rgba(124, 196, 255, 0.26);
}

.fm-run-btn:hover::before {
  transform: rotate(30deg) scale(1.06);
}

.fm-run-btn:hover::after {
  opacity: 0.85;
  transform: translateX(115%);
}

.fm-run-btn:active {
  transform: translateY(0.5px) scale(0.988);
}

.fm-panel-trust {
  font-size: 12px;
  line-height: 1.5;
  color: var(--fm-muted);
  text-align: center;
  margin: 0;
}

/* Right Stage */
.fm-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10, 11, 14, 0.10);
  border-radius: 16px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 18px 46px rgba(10, 12, 18, 0.055);
  padding: 18px;
}

.fm-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fm-hairline-ar);
  opacity: 0.92;
  pointer-events: none;
}

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

.fm-stage-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.fm-stage-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--fm-ink);
}

.fm-video-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #050608;
  box-shadow: 0 0 0 1px rgba(10, 11, 14, 0.14), 0 16px 38px rgba(5, 8, 14, 0.18);
}

.fm-video-box video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fm-stage-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--fm-muted);
}

.fm-summary-bar {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px 12px 17px;
  border-radius: 10px;
  background: linear-gradient(180deg, #F8FAFD 0%, #EFF2F8 100%);
  border: 1px solid rgba(10, 11, 14, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  font-size: 13px;
}

.fm-summary-bar strong {
  font-variant-numeric: tabular-nums;
}

/* API Code Tab */
.fm-code-box {
  border-radius: 12px;
  background-color: #0A0B0E;
  background-image: var(--fm-hairline-ar-dark);
  background-size: 100% 1.5px;
  background-position: top center;
  background-repeat: no-repeat;
  color: #e6ecf5;
  padding: 16px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.58;
  border: 1px solid rgba(226, 230, 237, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 36px rgba(5, 8, 14, 0.24);
}

.fm-code-box pre {
  margin: 0;
}

/* Below the fold Bento, Specs & FAQ */
.fm-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.fm-bento-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(10, 11, 14, 0.10);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FB 100%);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 8px 24px rgba(10, 12, 18, 0.035);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, box-shadow 220ms ease;
}

.fm-bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--fm-hairline-titanium);
  transition: background 240ms ease, opacity 240ms ease;
  pointer-events: none;
}

.fm-bento-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 120, 201, 0.24);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 14px 32px rgba(10, 12, 18, 0.07);
}

.fm-bento-card:hover::before {
  background: var(--fm-hairline-ar);
}

.fm-bento-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fm-subtle);
  font-variant-numeric: tabular-nums;
}

.fm-bento-val {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--fm-ink);
  font-variant-numeric: tabular-nums;
}

.fm-bento-sub {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--fm-muted);
}

.fm-bento-card h3 {
  margin: 0 0 6px !important;
  font-size: 15.5px !important;
  font-weight: 700;
}

.fm-bento-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fm-muted);
}

.fm-panel,
.fm-stage,
.fm-box,
.fm-bento-card,
.fm-card,
.fm-hero > div {
  min-width: 0;
}

.fm-page .seo-table,
.fm-page .sd-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fm-page .seo-table table,
.fm-page .sd-table {
  width: 100%;
}

.fm-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: 32px;
  align-items: stretch;
}

.fm-box {
  position: relative;
  overflow: hidden;
  padding: 26px 28px;
  border-radius: 16px;
  border: 1px solid rgba(10, 11, 14, 0.10);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 12px 32px rgba(10, 12, 18, 0.04);
}

.fm-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--fm-hairline-titanium);
  pointer-events: none;
}

.fm-section-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fm-subtle);
  margin-bottom: 4px;
}

.fm-box-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(10, 11, 14, 0.07);
}

.fm-box-head h2 {
  margin: 0 !important;
  font-size: 20px !important;
  letter-spacing: -0.02em;
}

.fm-box table th,
.fm-box table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(10, 11, 14, 0.065);
  text-align: left;
  vertical-align: top;
}

.fm-box table th {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fm-subtle);
}

.fm-box table tr:last-child td {
  border-bottom: none;
}

.fm-box table td:first-child {
  font-weight: 600;
  color: var(--fm-ink);
  white-space: nowrap;
}

.fm-box table td:last-child {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 680px) {
  .fm-box {
    padding: 20px 18px;
  }
  .fm-box table td:first-child {
    white-space: normal;
  }
}

.fm-box h2 {
  margin: 0 0 12px !important;
  font-size: 20px !important;
}

.fm-faq {
  margin-top: 36px;
  display: grid;
  gap: 10px;
}

.fm-faq-section {
  margin-top: 38px;
}

.fm-faq-head {
  margin-bottom: 14px;
}

.fm-faq-head h2 {
  margin: 0 !important;
  font-size: 20px !important;
  letter-spacing: -0.02em;
}

.fm-faq-section .fm-faq {
  margin-top: 0;
}

.fm-faq details {
  border: 1px solid rgba(10, 11, 14, 0.10);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 6px 18px rgba(10, 12, 18, 0.028);
  padding: 15px 18px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.fm-faq details:hover {
  border-color: rgba(43, 120, 201, 0.24);
}

.fm-faq details[open] {
  border-color: rgba(10, 11, 14, 0.18);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%);
}

.fm-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fm-faq summary::-webkit-details-marker {
  display: none;
}

.fm-faq summary::after {
  content: "+";
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(10, 11, 14, 0.12);
  background-color: #F4F6FA;
  background-image: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: var(--fm-ink-2);
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.fm-faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: #0A0B0E;
  background-image: none;
  border-color: #0A0B0E;
  color: #FFFFFF;
}

.fm-faq summary {
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
}

.fm-faq details p {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fm-muted);
}

.fm-code-inline {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--fm-surface-alt);
  font-size: 12.5px;
}

@media (max-width: 1120px) {
  .fm-grid,
  .fm-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fm-workbench,
  .fm-two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .fm-hero-cinema {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    border-radius: 18px;
  }
  .fm-hero-bg {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 9;
    width: 100%;
  }
  .fm-hero-scrim {
    background: linear-gradient(180deg, rgba(6, 9, 14, 0.12) 0%, transparent 45%, #0A0B0E 100%);
  }
  .fm-hero-inner {
    padding: 20px 20px 26px;
    max-width: none;
  }
  .fm-hero-metrics {
    grid-auto-flow: row;
    grid-auto-columns: initial;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }
  .fm-metric {
    padding: 0;
  }
  .fm-metric + .fm-metric {
    padding-left: 0;
    padding-top: 10px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .fm-hero-hud {
    top: 12px;
    right: 12px;
    bottom: auto;
  }
}

@media (max-width: 760px) {
  .seo-public .seo-content.fm-page {
    padding: 88px 16px 64px;
  }
  .fm-bento {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .fm-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .fm-frame-grid {
    gap: 8px;
  }
  .fm-dropzone,
  .fm-drop-preview {
    min-height: 116px;
  }
  .fm-drop-icon {
    width: 48px;
    height: 44px;
  }
  .fm-drop-icon svg {
    width: 30px;
    height: 30px;
  }
}

/* Extended Multi-Mode, Reference-to-Video & Image Studio Controls */
.fm-seg.is-3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fm-seg.is-3col .fm-seg-btn {
  padding: 8px 4px;
  font-size: 12px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fm-subseg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 3px;
  border-radius: 9px;
  background-color: #E7EBF2;
  background-image: none;
  border: 1px solid rgba(10, 11, 14, 0.08);
}

.fm-subseg-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 7px 10px;
  background-color: transparent;
  background-image: none;
  color: var(--fm-muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.fm-subseg-btn:hover {
  color: var(--fm-ink);
  background-color: rgba(255, 255, 255, 0.56);
  background-image: none;
}

.fm-subseg-btn.is-active {
  background-color: #FFFFFF;
  background-image: none;
  color: var(--fm-ink);
  border-color: rgba(10, 11, 14, 0.10);
  box-shadow: 0 1px 3px rgba(10, 12, 18, 0.08), inset 0 1px 0 #FFFFFF;
}

.fm-ref-banner {
  padding: 9px 11px;
  border-radius: 9px;
  background-color: #F4F6FA;
  background-image: none;
  border: 1px solid rgba(43, 120, 201, 0.18);
  color: var(--fm-ink-2);
  font-size: 12px;
  line-height: 1.48;
}

.fm-ref-dock {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fm-ref-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.fm-ref-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(10, 11, 14, 0.14);
  background: #0A0B0E;
}

.fm-ref-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-ref-thumb-badge {
  position: absolute;
  left: 5px;
  bottom: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  background-color: rgba(10, 11, 14, 0.84);
  background-image: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #F8FAFC;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.fm-ref-thumb-rm {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background-color: rgba(10, 11, 14, 0.84);
  background-image: none;
  color: #FFFFFF;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fm-ref-thumb-rm:hover {
  background-color: #DC2626;
  background-image: none;
}

.fm-ref-video-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fm-ref-video-item {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(10, 11, 14, 0.16);
  background: #050608;
}

.fm-ref-video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-dropzone.is-compact,
.fm-dropzone.is-video {
  aspect-ratio: auto;
  min-height: 66px;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 10px 14px;
}

.fm-dropzone.is-compact .fm-drop-icon,
.fm-dropzone.is-video .fm-drop-icon {
  width: 42px;
  height: 38px;
  border-radius: 10px;
  flex: 0 0 42px;
}

.fm-dropzone.is-compact .fm-drop-icon svg,
.fm-dropzone.is-video .fm-drop-icon svg {
  width: 24px;
  height: 24px;
}

.fm-dropzone.is-compact .fm-drop-copy,
.fm-dropzone.is-video .fm-drop-copy {
  align-items: flex-start;
}

.fm-ref-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.fm-ref-chips-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--fm-muted);
}

.fm-token-chip {
  appearance: none;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(10, 11, 14, 0.14);
  background-color: #FFFFFF;
  background-image: none;
  color: var(--fm-ink);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.fm-token-chip:hover {
  background-color: #F2F6FC;
  background-image: none;
  border-color: var(--fm-cobalt);
  color: var(--fm-cobalt);
}

.fm-toggle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background-color: #FFFFFF;
  background-image: none;
  border: 1px solid var(--fm-border);
}

.fm-toggle-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--fm-ink);
}

.fm-toggle-sub {
  font-size: 11.5px;
  color: var(--fm-muted);
}

.fm-toggle-btn {
  appearance: none;
  min-width: 58px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(10, 11, 14, 0.16);
  background-color: #F1F4F9;
  background-image: none;
  color: var(--fm-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.fm-toggle-btn:hover {
  background-color: #E6ECF5;
  background-image: none;
  color: var(--fm-ink);
}

.fm-toggle-btn.is-active {
  background-color: #0A0B0E;
  background-image: linear-gradient(180deg, #1E222B 0%, #0A0B0E 100%);
  border-color: rgba(10, 11, 14, 0.85);
  color: #FFFFFF;
}

.fm-stage-art-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #050608;
  box-shadow: 0 0 0 1px rgba(10, 11, 14, 0.14), 0 16px 38px rgba(5, 8, 14, 0.18);
}

.fm-stage-art-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-stage-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.fm-gallery-thumb {
  appearance: none;
  padding: 0;
  border-radius: 9px;
  overflow: hidden;
  border: 2px solid transparent;
  background-color: #0A0B0E;
  background-image: none;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.fm-gallery-thumb:hover {
  opacity: 0.94;
}

.fm-gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--fm-cobalt);
}

.fm-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 440px) {
  .fm-seg.is-3col .fm-seg-btn {
    padding: 7px 4px;
    font-size: 11.5px;
  }
  .fm-ref-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fm-ref-video-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .fm-bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .fm-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .fm-bento {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fm-page *,
  .fm-page *::before,
  .fm-page *::after {
    transition: none !important;
  }

  .fm-run-btn:hover,
  .fm-run-btn:active,
  .fm-run-btn:hover::before,
  .fm-run-btn:hover::after,
  .fm-btn-hero-primary:hover,
  .fm-btn-hero-primary:hover::before,
  .fm-bento-card:hover {
    transform: none !important;
  }
}


/* Clickable endpoint badge (eliminates dead clicks on studio header) */
.fm-breadcrumb .fm-badge-chip.fm-endpoint-btn {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #2F343D;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.fm-breadcrumb .fm-badge-chip.fm-endpoint-btn:hover {
  border-color: rgba(10, 11, 14, 0.28);
  color: #0A0B0E;
  background: linear-gradient(180deg, #FFFFFF 0%, #ECF1F8 100%);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 3px 10px rgba(10, 11, 14, 0.08);
  transform: translateY(-1px);
}

.fm-breadcrumb .fm-badge-chip.fm-endpoint-btn:focus-visible {
  outline: 2px solid #1D4ED8;
  outline-offset: 2px;
}

.fm-breadcrumb .fm-badge-chip.fm-endpoint-btn .fm-endpoint-arrow {
  font-family: inherit;
  font-size: 11px;
  opacity: 0.72;
  transition: transform 140ms ease, opacity 140ms ease;
}

.fm-breadcrumb .fm-badge-chip.fm-endpoint-btn:hover .fm-endpoint-arrow {
  opacity: 1;
  transform: translate(1px, -1px);
}

/* Unified /api/v3/generations above-the-fold quickstart card on /docs/create-task */
.fm-docs-unified {
  max-width: 1160px;
  margin: 24px auto 8px;
  padding: 24px 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%);
  border: 1px solid rgba(10, 11, 14, 0.1);
  box-shadow: 0 10px 30px rgba(10, 11, 14, 0.045);
  color: #0A0B0E;
}

.fm-docs-unified-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.fm-docs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.08);
  border: 1px solid rgba(29, 78, 216, 0.18);
  color: #1D4ED8;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.fm-docs-unified h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: #0A0B0E;
}

.fm-docs-unified .fm-docs-lead {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #4B5563;
}

.fm-docs-endpoints {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.fm-docs-endpoints li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(10, 11, 14, 0.08);
  font-size: 13px;
  color: #374151;
}

.fm-docs-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 2px 7px;
  border-radius: 6px;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  background: rgba(10, 11, 14, 0.07);
  color: #0A0B0E;
}

.fm-docs-method.is-post {
  background: rgba(29, 78, 216, 0.11);
  color: #1D4ED8;
}

.fm-docs-endpoints code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  color: #0A0B0E;
  font-weight: 600;
}

.fm-docs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.fm-docs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  background: #0A0B0E;
  color: #FFFFFF !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.fm-docs-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.fm-docs-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(10, 11, 14, 0.14);
  color: #0A0B0E !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease;
}

.fm-docs-btn-secondary:hover {
  border-color: rgba(10, 11, 14, 0.28);
  background: #F8FAFC;
}

.fm-docs-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-size: 13px;
}

.fm-docs-jump-links a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
}

.fm-docs-jump-links a:hover {
  color: #1D4ED8;
  text-decoration: underline;
}

.fm-docs-code-card {
  border-radius: 12px;
  overflow: hidden;
  background: #0E1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(10, 11, 14, 0.12);
}

.fm-docs-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #CBD5E1;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.fm-docs-copy-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #F8FAFC;
  border-radius: 7px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}

.fm-docs-copy-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
}

.fm-docs-code-card pre {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.58;
  color: #E2E8F0;
}

.fm-docs-code-foot {
  margin: 10px 2px 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #6B7280;
}

.fm-docs-code-foot code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: #1F2937;
  background: rgba(10, 11, 14, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
}

@media (max-width: 960px) {
  .fm-docs-unified {
    margin: 16px 16px 8px;
    padding: 18px;
  }
  .fm-docs-unified-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fm-breadcrumb .fm-badge-chip.fm-endpoint-btn,
  .fm-breadcrumb .fm-badge-chip.fm-endpoint-btn:hover,
  .fm-breadcrumb .fm-badge-chip.fm-endpoint-btn .fm-endpoint-arrow,
  .fm-docs-btn-primary:hover {
    transition: none !important;
    transform: none !important;
  }
}


/* ===== Trust, Pricing, Docs Contrast, Contact, Legal & 404 Polish (2026-11-27) ===== */
.seo-public .seo-content a.button,
.seo-public .sd-article a.button,
.seo-public #public-docs a.button {
  color: #ffffff !important;
  background: #0a0b0e;
  border-radius: 10px;
  text-decoration: none !important;
}
.seo-public .seo-content a.button:hover,
.seo-public .sd-article a.button:hover,
.seo-public #public-docs a.button:hover {
  background: #1f2430;
  color: #ffffff !important;
}
.seo-public .seo-content a:not(.button):not(.fm-btn):not(.fm-card-cover-link):not(.fm-card-action):not(.fm-docs-btn-primary):not(.fm-docs-btn-secondary):not(.fm-legal-tab):not(.fm-pricing-model-link) {
  color: #1d4ed8;
  text-decoration: none;
}
.seo-public .seo-content a:not(.button):not(.fm-btn):not(.fm-card-cover-link):not(.fm-card-action):not(.fm-docs-btn-primary):not(.fm-docs-btn-secondary):not(.fm-legal-tab):not(.fm-pricing-model-link):hover {
  color: #1e40af;
  text-decoration: underline;
}
.fm-docs-subnav {
  max-width: 1160px;
  margin: 12px auto 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fm-docs-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(10, 11, 14, 0.12);
  background: #ffffff;
  color: #0a0b0e !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.fm-docs-subnav a:hover {
  border-color: #1d4ed8;
  background: #f5f8ff;
  color: #1d4ed8 !important;
}

/* Pricing Hub */
.fm-pricing-hero {
  padding: 28px 32px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid rgba(10, 11, 14, 0.09);
  box-shadow: 0 10px 30px rgba(10, 11, 14, 0.04);
  margin-bottom: 28px;
}
.fm-pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fm-pricing-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0a0b0e;
}
.fm-pricing-lead {
  margin: 0 0 20px;
  max-width: 760px;
  font-size: 16.5px;
  line-height: 1.6;
  color: #4b5563;
}
.fm-pricing-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.fm-pricing-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(10, 11, 14, 0.1);
  color: #1f2937;
  font-size: 13px;
  font-weight: 500;
}
.fm-pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.fm-pricing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 18px;
}
.fm-pricing-group {
  margin-bottom: 32px;
}
.fm-pricing-group[hidden] {
  display: none !important;
}
.fm-pricing-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.fm-pricing-group-head h2 {
  margin: 0 !important;
  font-size: 22px !important;
  color: #0a0b0e;
  letter-spacing: -0.02em;
}
.fm-pricing-group-head span {
  font-size: 13.5px;
  color: #596272;
}
.fm-pricing-card {
  background: #ffffff;
  border: 1px solid rgba(10, 11, 14, 0.09);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(10, 11, 14, 0.03);
}
.fm-pricing-card .seo-table {
  margin: 0 !important;
}
.fm-pricing-card table {
  width: 100%;
  border-collapse: collapse;
}
.fm-pricing-card th {
  background: #f8f9fb;
  color: #4b5563;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 13px 16px !important;
  border-bottom: 1px solid rgba(10, 11, 14, 0.08) !important;
}
.fm-pricing-card td {
  padding: 15px 16px !important;
  border-bottom: 1px solid rgba(10, 11, 14, 0.06) !important;
  color: #1f2937;
  font-size: 14px;
  vertical-align: middle;
}
.fm-pricing-card tr:last-child td {
  border-bottom: none !important;
}
.fm-pricing-model-link {
  color: #0a0b0e !important;
  font-weight: 600;
  text-decoration: none !important;
}
.fm-pricing-model-link:hover {
  color: #1d4ed8 !important;
}
.fm-pricing-vendor {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 11px;
  font-weight: 500;
}
.fm-pricing-rate {
  font-weight: 600;
  color: #0a0b0e;
  font-variant-numeric: tabular-nums;
}
.fm-pricing-sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #596272;
  font-variant-numeric: tabular-nums;
}
.fm-pricing-faq {
  margin-top: 40px;
}
.fm-pricing-faq h2 {
  margin: 0 0 16px !important;
  font-size: 22px !important;
  letter-spacing: -0.02em;
}
.fm-pricing-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.fm-pricing-faq-item {
  padding: 20px 22px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(10, 11, 14, 0.09);
}
.fm-pricing-faq-item h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  color: #0a0b0e;
}
.fm-pricing-faq-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

/* Contact Page */
.fm-contact-shell {
  max-width: 1080px;
  margin: 0 auto;
}
.fm-contact-hero {
  padding: 32px 36px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid rgba(10, 11, 14, 0.09);
  box-shadow: 0 10px 30px rgba(10, 11, 14, 0.04);
  margin-bottom: 24px;
}
.fm-contact-eyebrow {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fm-contact-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.03em;
  color: #0a0b0e;
}
.fm-contact-lead {
  margin: 0 0 22px;
  max-width: 720px;
  font-size: 16.5px;
  line-height: 1.65;
  color: #4b5563;
}
.fm-contact-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #eef4ff;
  border: 1px solid rgba(29, 78, 216, 0.2);
  color: #1e3a8a;
  font-size: 14px;
}
.fm-contact-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
}
.fm-contact-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(10, 11, 14, 0.12);
}
.fm-contact-email-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fm-contact-email-label {
  font-size: 12px;
  color: #596272;
  font-weight: 500;
}
.fm-contact-email-val {
  font-size: 18px;
  font-weight: 600;
  color: #0a0b0e;
  background: transparent;
  padding: 0;
}
.fm-contact-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fm-contact-sla {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: #596272;
}
.fm-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.fm-contact-card {
  padding: 22px 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(10, 11, 14, 0.09);
}
.fm-contact-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #596272;
  margin-bottom: 8px;
}
.fm-contact-card h2 {
  margin: 0 0 10px !important;
  font-size: 18px !important;
  line-height: 1.3;
  color: #0a0b0e;
}
.fm-contact-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}
.fm-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Legal Pages */
.fm-legal-shell {
  max-width: 820px;
  margin: 0 auto;
}
.fm-legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(10, 11, 14, 0.09);
}
.fm-legal-tab {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: #4b5563 !important;
  background: #f3f4f6;
  text-decoration: none !important;
}
.fm-legal-tab:hover {
  color: #0a0b0e !important;
  background: #e5e7eb;
}
.fm-legal-tab.is-active {
  background: #0a0b0e;
  color: #ffffff !important;
}
.fm-legal-head h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.03em;
  color: #0a0b0e;
}
.fm-legal-meta {
  margin: 0 0 28px;
  font-size: 14px;
  color: #596272;
}
.fm-legal-section {
  margin-bottom: 26px;
}
.fm-legal-section h2 {
  margin: 0 0 10px !important;
  font-size: 19px !important;
  color: #0a0b0e;
}
.fm-legal-section p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #374151;
}
.fm-legal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 11, 14, 0.09);
}

/* Branded 404 Page */
.fm-404-shell {
  max-width: 660px;
  margin: 24px auto 40px;
  padding: 40px 36px;
  text-align: center;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(10, 11, 14, 0.09);
  box-shadow: 0 12px 32px rgba(10, 11, 14, 0.04);
}
.fm-404-code {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.fm-404-shell h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 36px);
  letter-spacing: -0.025em;
  color: #0a0b0e;
}
.fm-404-lead {
  margin: 0 auto 18px;
  max-width: 520px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #4b5563;
}
.fm-404-path {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #374151;
  font-size: 13px;
  word-break: break-all;
}
.fm-404-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .fm-contact-grid,
  .fm-pricing-faq-grid {
    grid-template-columns: 1fr;
  }
  .fm-pricing-hero,
  .fm-contact-hero {
    padding: 24px 20px;
  }
  .fm-404-shell {
    padding: 28px 20px;
  }
}
/* ==========================================================================
   Console-Matched Dark Model Studio (/models/<slug>) — 2026-11-27
   Aligned with Fablun Console dark tokens (#0b0b0c / #141417 / #26262b)
   ========================================================================== */

html:has(.fm-page-dark),
body:has(.fm-page-dark) {
  background: #0b0b0c;
  color: #ededf0;
  color-scheme: dark;
}

.marketing.seo-public.fm-page-dark {
  --fms-canvas: #0b0b0c;
  --fms-surface: #141417;
  --fms-raised: #1b1b1f;
  --fms-inset: #0d0d10;
  --fms-border: #26262b;
  --fms-border-strong: #383842;
  --fms-text: #f3f3f5;
  --fms-muted: #a5a5ae;
  --fms-subtle: #8e8e98;
  --fms-primary-bg: #f3f3f5;
  --fms-primary-bg-hover: #ffffff;
  --fms-primary-ink: #0b0b0c;
  background: var(--fms-canvas);
  color: var(--fms-text);
  min-height: 100vh;
}

.fm-page-dark ::selection {
  background: rgba(255, 255, 255, 0.20);
  color: #ffffff;
}

.fm-page-dark * {
  scrollbar-width: thin;
  scrollbar-color: #2e2e36 transparent;
}

/* Dark Console-matched sticky header */
.fm-page-dark .site-header {
  background: rgba(11, 11, 12, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #1f1f24;
  min-height: 66px;
  padding: 10px var(--page, 32px);
  color: var(--fms-text);
}

.fm-page-dark .site-header .main-nav a {
  color: var(--fms-muted);
  font-size: 14.5px;
  font-weight: 500;
}

.fm-page-dark .site-header .main-nav a:hover {
  color: #ffffff;
  text-decoration: none;
}

.fm-page-dark .site-header .login-button {
  color: #c8c8d0;
  font-size: 14.5px;
  font-weight: 500;
}

.fm-page-dark .site-header .login-button:hover {
  color: #ffffff;
}

.fm-page-dark .site-header .button-small,
.fm-page-dark .site-header .account-nav .button {
  background: var(--fms-primary-bg);
  color: var(--fms-primary-ink) !important;
  border-radius: 8px;
  padding: 8px 14px;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
}

.fm-page-dark .site-header .button-small:hover,
.fm-page-dark .site-header .account-nav .button:hover {
  background: var(--fms-primary-bg-hover);
}

.fm-page-dark .site-header .language-trigger {
  color: var(--fms-muted);
  font-size: 14px;
}

.fm-page-dark .site-header .language-trigger:hover {
  color: #ffffff;
}

.fm-page-dark .site-header .language-menu {
  background: #171719;
  border: 1px solid #2b2b30;
  color: var(--fms-text);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.52);
}

.fm-page-dark .site-header .language-menu a {
  color: var(--fms-text);
  border-radius: 6px;
}

.fm-page-dark .site-header .language-menu a:hover {
  background: #24242a;
  text-decoration: none;
}

/* Main dark studio container — reclaims dead whitespace below sticky header */
.fm-page-dark .seo-content.fm-page.fms-page {
  --fm-bg: #0b0b0c;
  --fm-surface: #141417;
  --fm-surface-alt: #1b1b1f;
  --fm-ink: #f3f3f5;
  --fm-muted: #a5a5ae;
  --fm-subtle: #8e8e98;
  --fm-border: #26262b;
  --fm-border-strong: #383842;
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 32px 72px;
  color: var(--fms-text);
}

.fm-page-dark .seo-content.fm-page.fms-page::before {
  display: none;
}

.fm-page-dark .seo-content.fm-page.fms-page :is(button, a, summary, textarea, input):focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.50);
  outline-offset: 2px;
}

/* Top utility bar (Back to Models + Playground/API/Pricing segmented tabs) */
.fms-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.fms-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px 0 9px;
  border-radius: 8px;
  border: 1px solid var(--fms-border);
  background: var(--fms-surface);
  color: #d6d6de !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.fms-back svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.fms-back:hover {
  background: var(--fms-raised);
  border-color: var(--fms-border-strong);
  color: #ffffff !important;
  text-decoration: none !important;
}

.fms-tabs {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 9px;
  background: var(--fms-surface);
  border: 1px solid var(--fms-border);
}

.fms-tab {
  appearance: none;
  border: 0;
  border-radius: 6px;
  min-height: 28px;
  padding: 0 12px;
  background: transparent;
  color: var(--fms-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 140ms ease, color 140ms ease;
}

.fms-tab:hover {
  color: #ffffff;
}

.fms-tab.is-active {
  background: #27272e;
  color: #ffffff;
}

/* Title block — clean 2 lines, zero pill clutter */
.fms-head {
  margin-bottom: 18px;
}

.fm-page-dark .fms-head h1 {
  margin: 0 !important;
  font-size: clamp(26px, 2.7vw, 34px) !important;
  line-height: 1.14 !important;
  font-weight: 650 !important;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-wrap: balance;
}

.fms-subtitle {
  margin: 6px 0 0 !important;
  font-size: 14.5px;
  line-height: 1.5 !important;
  color: var(--fms-muted);
  max-width: 82ch;
}

/* 2-column Console Studio Stage: Visual proof left (~62%), Action card right (~38%) */
.fms-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(355px, 412px);
  gap: 20px;
  align-items: start;
}

.fms-stage,
.fms-action-card {
  min-width: 0;
  border-radius: 14px;
  border: 1px solid var(--fms-border);
  background: var(--fms-surface);
}

.fms-stage {
  padding: 16px;
}

.fms-stage-panel[hidden] {
  display: none !important;
}

/* Unified single mode switcher bar */
.fms-mode-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.fms-mode-pill {
  appearance: none;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--fms-border);
  background: transparent;
  color: var(--fms-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.fms-mode-pill:hover {
  border-color: var(--fms-border-strong);
  color: #ffffff;
}

.fms-mode-pill.is-active {
  background: var(--fms-primary-bg);
  border-color: var(--fms-primary-bg);
  color: var(--fms-primary-ink);
  font-weight: 600;
}

/* Cinema media stage bed — pure visual focus, zero footer clutter */
.fms-media-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #070709;
  border: 1px solid #202025;
}

.fms-media-frame.is-video video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 468px;
  background: #070709;
  object-fit: contain;
}

.fms-media-frame.is-image {
  aspect-ratio: 16 / 10;
}

.fms-media-frame.is-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* API tab inside dark stage */
.fms-code-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.fms-code-langs,
.fms-code-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.fms-endpoint-label {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: var(--fms-muted);
  background: var(--fms-inset);
  border: 1px solid var(--fms-border);
  padding: 5px 9px;
  border-radius: 7px;
}

.fms-code-box {
  border-radius: 10px;
  background: var(--fms-inset);
  border: 1px solid #222227;
  padding: 16px;
  overflow-x: auto;
}

.fms-code-box pre {
  margin: 0;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.65;
  color: #e4e4ec;
  white-space: pre;
}

/* Inline pricing tab inside dark stage */
.fms-pricing-inline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--fms-border);
  font-size: 13px;
  color: var(--fms-muted);
}

.fms-pricing-inline-head strong {
  color: #ffffff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Right Column: Console Action Card */
.fms-action-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Offer / Rate highlight block — Console craft, zero vertical accent bar */
.fms-offer-box {
  padding: 13px 15px;
  border-radius: 10px;
  background: var(--fms-raised);
  border: 1px solid var(--fms-border);
}

.fms-offer-box.is-free {
  background: #1a1a1f;
  border-color: #34343e;
}

.fms-offer-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.fms-offer-amount {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.025em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.fms-offer-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: #272730;
  border: 1px solid #353540;
  color: #e4e4ec;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.fms-offer-sub {
  margin: 5px 0 0 !important;
  font-size: 12.5px;
  line-height: 1.45 !important;
  color: var(--fms-muted);
}

/* Prompt & Specs fields */
.fms-field,
.fms-spec-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fms-spec-field[hidden] {
  display: none !important;
}

.fms-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #d4d4dc;
}

.fms-char-count {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--fms-subtle);
  font-variant-numeric: tabular-nums;
}

.fms-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--fms-border);
  background: var(--fms-inset);
  color: var(--fms-text);
  caret-color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.5;
  resize: vertical;
  min-height: 76px;
  transition: border-color 140ms ease;
}

.fms-textarea::placeholder {
  color: var(--fms-subtle);
}

.fms-textarea:focus {
  outline: none;
  border-color: #6c6c78;
}

/* Console pill selectors (exact match to logged-in Playground) */
.fms-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fms-pill {
  appearance: none;
  min-height: 31px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid var(--fms-border);
  background: transparent;
  color: #d4d4dc;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.fms-pill:hover:not(:disabled) {
  border-color: var(--fms-border-strong);
  color: #ffffff;
}

.fms-pill.is-active {
  background: var(--fms-primary-bg);
  border-color: var(--fms-primary-bg);
  color: var(--fms-primary-ink);
  font-weight: 600;
}

.fms-pill:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

/* Inline spec + audio toggle row */
.fms-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid var(--fms-border);
  background: var(--fms-inset);
}

.fms-inline-row[hidden] {
  display: none !important;
}

.fms-inline-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.fms-inline-label {
  font-size: 13px;
  font-weight: 500;
  color: #d4d4dc;
}

.fms-spec-inline {
  font-size: 12px;
  color: var(--fms-subtle);
  font-variant-numeric: tabular-nums;
}

.fms-spec-inline[hidden] {
  display: none !important;
}

.fms-toggle-btn {
  appearance: none;
  min-width: 50px;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid var(--fms-border-strong);
  background: var(--fms-raised);
  color: var(--fms-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.fms-toggle-btn:hover {
  color: #ffffff;
  border-color: #555562;
}

.fms-toggle-btn.is-active {
  background: var(--fms-primary-bg);
  border-color: var(--fms-primary-bg);
  color: var(--fms-primary-ink);
}

/* Optional collapsible local upload drawer */
.fms-attach-drawer {
  border-radius: 9px;
  border: 1px solid var(--fms-border);
  background: var(--fms-inset);
  overflow: hidden;
}

.fms-attach-drawer[hidden] {
  display: none !important;
}

.fms-attach-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fms-muted);
  cursor: pointer;
  user-select: none;
  transition: color 140ms ease, background-color 140ms ease;
}

.fms-attach-summary::-webkit-details-marker {
  display: none;
}

.fms-attach-summary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.fms-attach-left,
.fms-attach-right {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.fms-attach-left svg {
  width: 15px;
  height: 15px;
  flex: none;
  opacity: 0.82;
}

.fms-chevron {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fms-attach-drawer[open] .fms-chevron {
  transform: rotate(180deg);
}

.fms-attach-count {
  padding: 1px 7px;
  border-radius: 999px;
  background: #2b2b34;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.fms-attach-count[hidden] {
  display: none !important;
}

.fms-attach-body {
  padding: 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #1f1f24;
  padding-top: 10px;
}

.fms-upload-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fms-upload-group[hidden] {
  display: none !important;
}

.fms-mini-btn {
  appearance: none;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--fms-border);
  background: var(--fms-raised);
  color: #d4d4dc;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease;
}

.fms-mini-btn:hover {
  border-color: var(--fms-border-strong);
  color: #ffffff;
}

/* Dark theme overrides for dropzones & token chips inside drawer */
.fm-page-dark .fm-dropzone {
  background: #141418;
  background-image: none;
  border: 1px dashed #353540;
  box-shadow: none;
  min-height: 58px;
  padding: 9px 11px;
}

.fm-page-dark .fm-dropzone:hover,
.fm-page-dark .fm-dropzone.is-dragover,
.fm-page-dark .fm-dropzone.is-dragging {
  border-color: #7c7c8c;
  background: #1a1a20;
  background-image: none;
  box-shadow: none;
}

.fm-page-dark .fm-drop-icon {
  background: #1e1e24;
  border-color: #2f2f38;
  box-shadow: none;
  color: #d4d4dc;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
}

.fm-page-dark .fm-drop-icon svg {
  width: 19px;
  height: 19px;
}

.fm-page-dark .fm-drop-copy strong {
  color: #ededf0;
  font-size: 12.5px;
}

.fm-page-dark .fm-drop-copy span {
  color: var(--fms-subtle);
  font-size: 11px;
}

.fm-page-dark .fm-token-chip {
  background: var(--fms-raised);
  border-color: var(--fms-border-strong);
  color: #e4e4ec;
}

.fm-page-dark .fm-token-chip:hover {
  background: #2b2b34;
  border-color: #6c6c78;
  color: #ffffff;
}

/* Primary Console White CTA Button — unmistakably above the fold */
.fms-cta-btn {
  appearance: none;
  width: 100%;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--fms-primary-bg);
  border-radius: 10px;
  background: var(--fms-primary-bg);
  color: var(--fms-primary-ink);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.25;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 150ms ease, transform 150ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 150ms ease;
}

.fms-cta-btn:hover:not(:disabled) {
  background: var(--fms-primary-bg-hover);
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}

.fms-cta-btn:active:not(:disabled) {
  transform: translateY(0);
}

.fms-cta-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.fms-cta-meta {
  margin: -4px 0 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  line-height: 1.4 !important;
  color: var(--fms-subtle);
  text-align: center;
}

.fms-auth-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #b4b4be;
}

.fms-auth-ico {
  width: 13px;
  height: 13px;
  display: block;
}

/* Secondary ghost button */
.fms-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--fms-border);
  background: var(--fms-surface);
  color: #d4d4dc !important;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.fms-ghost-btn:hover {
  background: var(--fms-raised);
  border-color: var(--fms-border-strong);
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Minimal 3-step horizontal workflow strip (typographic, zero cards) */
.fms-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
  padding: 26px 0;
  border-top: 1px solid #202025;
  border-bottom: 1px solid #202025;
}

.fms-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.fms-step-num {
  flex: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fms-subtle);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.fms-step-copy strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

.fms-step-copy p {
  margin: 4px 0 0 !important;
  font-size: 13.5px;
  line-height: 1.55 !important;
  color: var(--fms-muted);
}

/* Below-the-fold dark Specs, Pricing & Related Models */
.fm-page-dark .fm-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.fm-page-dark .fm-box {
  background: var(--fms-surface);
  border: 1px solid var(--fms-border);
  border-radius: 14px;
  box-shadow: none;
  padding: 22px 24px;
}

.fm-page-dark .fm-box::before {
  display: none;
}

.fm-page-dark .fm-box-head {
  border-bottom: 1px solid #222227;
  padding-bottom: 13px;
  margin-bottom: 14px;
}

.fm-page-dark .fm-box-head h2 {
  color: #ffffff;
  font-size: 17px !important;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.fms-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--fms-inset);
  border: 1px solid var(--fms-border);
  font-size: 12px;
  color: var(--fms-muted);
  font-variant-numeric: tabular-nums;
}

.fms-id-pill code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #e4e4ec;
  background: transparent;
  padding: 0;
}

.fm-page-dark .fm-box .seo-table,
.fm-page-dark .fm-box .sd-table-scroll,
.fm-page-dark .fms-stage .sd-table-scroll {
  margin: 0;
  border-color: #222227;
  background: transparent;
}

.fm-page-dark table th {
  background: transparent !important;
  color: var(--fms-subtle) !important;
  border-bottom: 1px solid #24242a !important;
  font-size: 11.5px;
  font-weight: 600;
  padding: 10px 12px;
}

.fm-page-dark table td {
  color: #d4d4dc !important;
  border-bottom: 1px solid #1e1e23 !important;
  font-size: 13.5px;
  padding: 12px;
}

.fm-page-dark table td:first-child {
  color: #ffffff !important;
  font-weight: 500;
}

.fm-page-dark table td strong {
  color: #ffffff !important;
}

.fm-page-dark table td code {
  background: #1c1c22;
  color: #e4e4ec;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12px;
}

/* Related models section in dark Console aesthetic */
.fm-page-dark .fm-seo-section {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid #202025;
}

.fm-page-dark .fm-section-head h2 {
  color: #ffffff;
  font-size: 19px !important;
  font-weight: 600;
}

.fm-page-dark .fm-card {
  background: var(--fms-surface);
  border: 1px solid var(--fms-border);
  box-shadow: none;
}

.fm-page-dark .fm-card:hover {
  border-color: #3e3e48;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.fm-page-dark .fm-card-brand {
  color: var(--fms-subtle);
}

.fm-page-dark .fm-card-title a {
  color: #ffffff !important;
}

.fm-page-dark .fm-card-desc {
  color: var(--fms-muted);
}

.fm-page-dark .fm-card-foot {
  border-top-color: #222227;
}

.fm-page-dark .fm-card-price {
  color: #ededf0;
}

.fm-page-dark .fm-card-action {
  color: #d4d4dc !important;
}

.fm-page-dark .fm-card-action:hover {
  color: #ffffff !important;
}

/* Seamless dark footer */
.fm-page-dark .site-footer {
  background: #0d0d0f;
  border-top: 1px solid #1f1f24;
  margin-top: 0;
}

.fm-page-dark .site-footer::before {
  display: none;
}

.fm-page-dark .fm-gallery-thumb.is-active {
  border-color: #f3f3f5;
}

/* Responsive dark studio breakpoints */
@media (max-width: 1060px) {
  .fms-workbench {
    grid-template-columns: minmax(0, 1fr);
  }
  .fm-page-dark .fm-two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .fm-page-dark .seo-content.fm-page.fms-page {
    padding: 16px 16px 56px;
  }
  .fms-stage {
    padding: 12px;
  }
  .fms-action-card {
    padding: 16px;
  }
  .fms-steps {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 0;
  }
  .fms-mode-bar {
    gap: 5px;
  }
  .fms-mode-pill {
    font-size: 12.5px;
    padding: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fms-cta-btn,
  .fms-back,
  .fms-tab,
  .fms-mode-pill,
  .fms-pill,
  .fms-chevron {
    transition: none !important;
    transform: none !important;
  }
}

/* Self-hosted InterVariable font + Runway Nav dark studio surface */
@font-face {
  font-family: FablunInter;
  src: url("/assets/website-454d3914658a41f5/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

.marketing.seo-public.fm-page-dark {
  font-family: FablunInter, Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", sans-serif;
}

.marketing.seo-public.fm-page-dark .site-header.runway-nav {
  background: rgba(11, 11, 12, 0.90) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #1f1f24;
  color: #f3f3f5;
}

.marketing.seo-public.fm-page-dark .runway-nav .header-backplate {
  background: rgba(11, 11, 12, 0.94);
  opacity: 1;
}

.marketing.seo-public.fm-page-dark .runway-nav .rw-nav-link,
.marketing.seo-public.fm-page-dark .runway-nav .language-trigger {
  color: #b0b0ba;
}

.marketing.seo-public.fm-page-dark .runway-nav .rw-nav-link:hover,
.marketing.seo-public.fm-page-dark .runway-nav .rw-nav-link.is-active,
.marketing.seo-public.fm-page-dark .runway-nav .language-trigger:hover {
  color: #ffffff;
}

.marketing.seo-public.fm-page-dark .runway-nav .rw-login {
  color: #e4e4ec;
  background: #1b1b20;
  border: 1px solid #2b2b33;
}

.marketing.seo-public.fm-page-dark .runway-nav .rw-login:hover {
  background: #25252c;
  color: #ffffff;
}

.marketing.seo-public.fm-page-dark .runway-nav .rw-start {
  color: #0b0b0c !important;
  background: #f3f3f5;
}

.marketing.seo-public.fm-page-dark .runway-nav .rw-start:hover {
  background: #ffffff;
}

.marketing.seo-public.fm-page-dark .runway-nav .rw-menu-surface {
  background: #141417;
  border-color: #2b2b32;
  color: #f3f3f5;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.65);
}

.marketing.seo-public.fm-page-dark .runway-nav .nav-menu-intro h2,
.marketing.seo-public.fm-page-dark .runway-nav .nav-overview,
.marketing.seo-public.fm-page-dark .runway-nav .nav-model-tile,
.marketing.seo-public.fm-page-dark .runway-nav .nav-menu-column > a {
  color: #f3f3f5;
}

.marketing.seo-public.fm-page-dark .runway-nav .nav-eyebrow,
.marketing.seo-public.fm-page-dark .runway-nav .nav-model-tile p,
.marketing.seo-public.fm-page-dark .runway-nav .nav-api-tile p,
.marketing.seo-public.fm-page-dark .runway-nav .nav-menu-column > a span {
  color: #a5a5ae;
}

.marketing.seo-public.fm-page-dark .runway-nav .nav-api-tile {
  background: #1b1b20;
  color: #f3f3f5;
  border: 1px solid #2b2b32;
}

/* High-specificity overrides against index-BDZ10FeN.css .marketing !important light rules */
html body .marketing.seo-public.fm-page-dark {
  --paper: #0b0b0c !important;
  --line: #26262b !important;
  --muted: #a5a5ae !important;
  background: #0b0b0c !important;
  color: #f3f3f5 !important;
}

html body .marketing.seo-public.fm-page-dark .site-header {
  background: rgba(11, 11, 12, 0.92) !important;
  border-bottom: 1px solid #1f1f24 !important;
  color: #f3f3f5 !important;
  box-shadow: none !important;
}

html body .marketing.seo-public.fm-page-dark .site-header .main-nav a,
html body .marketing.seo-public.fm-page-dark .site-header .main-nav button,
html body .marketing.seo-public.fm-page-dark .site-header.runway-nav .rw-nav-link,
html body .marketing.seo-public.fm-page-dark .site-header .language-trigger {
  color: #a8a8b3 !important;
}

html body .marketing.seo-public.fm-page-dark .site-header .main-nav a:hover,
html body .marketing.seo-public.fm-page-dark .site-header.runway-nav .rw-nav-link:hover,
html body .marketing.seo-public.fm-page-dark .site-header.runway-nav .rw-nav-link.is-active,
html body .marketing.seo-public.fm-page-dark .site-header .language-trigger:hover {
  color: #ffffff !important;
}

html body .marketing.seo-public.fm-page-dark .site-header .login-button,
html body .marketing.seo-public.fm-page-dark .site-header.runway-nav .rw-login {
  background: #1b1b20 !important;
  color: #e4e4ec !important;
  border: 1px solid #2b2b33 !important;
  padding: 7px 13px;
  border-radius: 7px;
}

html body .marketing.seo-public.fm-page-dark .site-header .login-button:hover,
html body .marketing.seo-public.fm-page-dark .site-header.runway-nav .rw-login:hover {
  background: #26262e !important;
  color: #ffffff !important;
}

html body .marketing.seo-public.fm-page-dark .site-header .button-small,
html body .marketing.seo-public.fm-page-dark .site-header.runway-nav .rw-start {
  background: #f3f3f5 !important;
  color: #0b0b0c !important;
  border: 1px solid #f3f3f5 !important;
}

html body .marketing.seo-public.fm-page-dark .site-header .button-small:hover,
html body .marketing.seo-public.fm-page-dark .site-header.runway-nav .rw-start:hover {
  background: #ffffff !important;
  color: #0b0b0c !important;
}

html body .marketing.seo-public.fm-page-dark .site-header.runway-nav .header-backplate {
  background: rgba(11, 11, 12, 0.94) !important;
  opacity: 1 !important;
}

/* Dark-themed Privacy settings pill & dialog */
body:has(.fm-page-dark) .fv-settings {
  background: #141417 !important;
  border-color: #2b2b32 !important;
  color: #a5a5ae !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.48) !important;
}

body:has(.fm-page-dark) .fv-settings:hover {
  color: #ffffff !important;
  border-color: #3f3f4a !important;
}

body:has(.fm-page-dark) .fv-dialog {
  background: #141417 !important;
  border-color: #2b2b32 !important;
  color: #ededf0 !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65) !important;
}

body:has(.fm-page-dark) .fv-dialog a {
  color: #ffffff !important;
  text-decoration: underline;
}

body:has(.fm-page-dark) .fv-actions button {
  background: #1c1c22 !important;
  border-color: #32323c !important;
  color: #ededf0 !important;
}

body:has(.fm-page-dark) .fv-actions button:first-child {
  background: #f3f3f5 !important;
  border-color: #f3f3f5 !important;
  color: #0b0b0c !important;
}

/* Specs table wrapping & API code wrapping (zero horizontal clipping) */
.fm-page-dark .fm-box .seo-table td,
.fm-page-dark .fm-box .sd-table td {
  white-space: normal !important;
  line-height: 1.55;
}

.fm-page-dark .fm-box .seo-table td:first-child,
.fm-page-dark .fm-box .sd-table td:first-child {
  white-space: nowrap !important;
  width: 30%;
}

.fms-code-box pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.fm-page-dark .fm-card-foot {
  align-items: center;
  gap: 10px;
}

.fm-page-dark .fm-card-price {
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 680px) {
  .fm-page-dark .fm-box .seo-table td:first-child,
  .fm-page-dark .fm-box .sd-table td:first-child {
    white-space: normal !important;
    width: auto;
  }
}

/* Explicit high-contrast colors inside dark studio footer (overrides var(--paper) dark inheritance) */
html body .marketing.seo-public.fm-page-dark .site-footer {
  background: #0d0d0f !important;
  color: #e4e4ec !important;
}

html body .marketing.seo-public.fm-page-dark .site-footer .footer-positioning {
  color: #a5a5ae !important;
}

html body .marketing.seo-public.fm-page-dark .site-footer .footer-links h3 {
  color: #8e8e98 !important;
}

html body .marketing.seo-public.fm-page-dark .site-footer .footer-links a,
html body .marketing.seo-public.fm-page-dark .site-footer .footer-links button {
  color: #dcdce4 !important;
}

html body .marketing.seo-public.fm-page-dark .site-footer .footer-links a:hover,
html body .marketing.seo-public.fm-page-dark .site-footer .footer-links button:hover {
  color: #ffffff !important;
}

html body .marketing.seo-public.fm-page-dark .site-footer .footer-bottom {
  color: #8e8e98 !important;
}

html body .marketing.seo-public.fm-page-dark .site-footer .footer-bottom a,
html body .marketing.seo-public.fm-page-dark .site-footer .footer-bottom button {
  color: #b8b8c2 !important;
}

html body .marketing.seo-public.fm-page-dark .site-footer .footer-bottom a:hover {
  color: #ffffff !important;
}

.fm-page-dark .fm-card-price {
  font-size: 12.5px;
  font-weight: 600;
  color: #e4e4ec;
}

/* Direct zero-form conversion card (H3 Pro Plan A) */
.fms-action-card.is-direct {
  padding: 22px;
  gap: 18px;
}

.fms-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.fms-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.48;
  color: #d6d6de;
}

.fms-check-ico {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2.5px;
  color: #a5a5ae;
}

.fms-direct-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 4px;
}

.fms-direct-cta-wrap .fms-cta-meta {
  margin-top: 0 !important;
}

.fms-dev-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #222227;
  font-size: 12.5px;
  color: var(--fms-subtle);
}

.fms-link-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: #dcdce4;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: color 140ms ease;
}

.fms-link-btn:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Mobile 360x640+ above-the-fold conversion optimization (desktop >=761px unchanged) */
@media (max-width: 760px) {
  .fm-page-dark .seo-content.fm-page.fms-page {
    padding: 8px 14px 48px;
  }
  .fms-topbar {
    margin-bottom: 8px;
    gap: 8px;
  }
  .fms-back,
  .fms-tab {
    min-height: 26px;
    font-size: 12.5px;
  }
  .fms-head {
    margin-bottom: 8px;
  }
  .fm-page-dark .fms-head h1 {
    font-size: 21px !important;
    line-height: 1.15 !important;
  }
  .fms-subtitle {
    margin-top: 3px !important;
    font-size: 12.5px;
    line-height: 1.38 !important;
  }
  .fms-workbench {
    gap: 8px;
  }
  .fms-stage {
    padding: 9px;
  }
  .fms-mode-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 5px;
    margin-bottom: 7px;
  }
  .fms-mode-bar::-webkit-scrollbar {
    display: none;
  }
  .fms-mode-pill {
    flex: 0 0 auto;
    min-height: 28px;
    font-size: 12px;
    padding: 0 10px;
  }
  .fms-media-frame.is-video video {
    max-height: 184px;
  }
  .fms-action-card.is-direct {
    padding: 11px 13px;
    gap: 9px;
  }
  .fms-action-card.is-direct .fms-offer-box {
    order: 1;
    padding: 8px 11px;
  }
  .fms-action-card.is-direct .fms-offer-amount {
    font-size: 16px;
  }
  .fms-action-card.is-direct .fms-offer-tag {
    font-size: 11px;
    padding: 2px 7px;
  }
  .fms-action-card.is-direct .fms-offer-sub {
    margin-top: 2px !important;
    font-size: 12px;
  }
  .fms-action-card.is-direct .fms-direct-cta-wrap {
    order: 2;
    padding-top: 0;
    gap: 5px;
  }
  .fms-action-card.is-direct .fms-cta-btn {
    min-height: 43px;
    font-size: 14px;
  }
  .fms-action-card.is-direct .fms-cta-meta {
    font-size: 12px;
  }
  .fms-action-card.is-direct .fms-highlights {
    order: 3;
    gap: 7px;
    padding-top: 2px;
  }
  .fms-action-card.is-direct .fms-highlights li {
    font-size: 12.5px;
    line-height: 1.4;
  }
  .fms-action-card.is-direct .fms-dev-row {
    order: 4;
    padding-top: 9px;
  }
  body:has(.fm-page-dark) .fv-settings {
    padding: 4px 8px !important;
    font-size: 11px !important;
    bottom: 8px !important;
    left: 8px !important;
    opacity: 0.78;
  }
}
