[hidden] {
  display: none !important;
}

body.home-page {
  --home-bg-color: #ffffff;
  --home-bg-image: url("/static/img/light_back.png");
  --home-header-bg-opacity: 0;
  --home-header-bg-rgb: 255, 255, 255;
  min-height: 100vh;
  background-color: var(--home-bg-color);
  background-image: var(--home-bg-image);
  background-position: top center;
  background-repeat: repeat-x;
  background-size: auto 400px;
  color: #101010;
}

html[data-theme="dark"] body.home-page,
body.home-page[data-theme="dark"] {
  --home-bg-color: #101010;
  --home-bg-image: url("/static/img/dark_back.png");
  --home-header-bg-rgb: 16, 16, 16;
  color: #ffffff;
}

.page-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}

body.home-page .page-shell {
  container-type: inline-size;
  min-height: 100vh;
  width: min(calc(100% - 70px), 1280px);
  max-width: 1280px;
  box-sizing: border-box;
  padding: 110px 0 32px;
}

.home-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10;
  display: flex;
  width: min(calc(100% - 70px), 1280px);
  max-width: 1280px;
  align-items: center;
  isolation: isolate;
  transform: translateX(-50%);
}

.home-header::before {
  position: absolute;
  top: -18px;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 72px;
  background: rgba(var(--home-header-bg-rgb), var(--home-header-bg-opacity));
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

body.home-page.site-page .home-header {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: min(calc(100% - 70px), 1280px);
  max-width: 1280px;
  margin: 18px auto 0;
  isolation: isolate;
}

body.home-page.site-page .page-shell {
  padding: 28px 0 32px;
}

.home-logo {
  display: block;
  flex: 0 0 auto;
  width: 73px;
  height: 19px;
}

.home-logo-image {
  display: block;
  width: 73px;
  height: 19px;
}

.home-logo-dark {
  display: none;
}

html[data-theme="dark"] body.home-page .home-logo-light,
body.home-page[data-theme="dark"] .home-logo-light {
  display: none;
}

html[data-theme="dark"] body.home-page .home-logo-dark,
body.home-page[data-theme="dark"] .home-logo-dark {
  display: block;
}

.home-nav-shell {
  display: flex;
  min-width: 0;
  align-items: center;
  margin-left: 35px;
  flex: 1 1 auto;
}

.home-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 25px;
  overflow-x: auto;
  scrollbar-width: none;
  transform: translateY(1px);
}

.home-nav::-webkit-scrollbar {
  display: none;
}

.home-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #101010;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 19px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.16s ease;
}

html[data-theme="dark"] body.home-page .home-nav-link,
body.home-page[data-theme="dark"] .home-nav-link {
  color: #ffffff;
}

@media (hover: hover) {
.home-nav-link:hover,
  .home-nav-link:focus-visible {
    color: rgba(16, 16, 16, 0.72);
  }

html[data-theme="dark"] body.home-page .home-nav-link:hover,
  html[data-theme="dark"] body.home-page .home-nav-link:focus-visible,
  body.home-page[data-theme="dark"] .home-nav-link:hover,
  body.home-page[data-theme="dark"] .home-nav-link:focus-visible {
    color: rgba(255, 255, 255, 0.72);
  }
}

.home-nav-link[aria-current="page"] {
  font-weight: 500;
}

.home-nav-chevron {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transform: translate(2px, 2px);
}

.home-nav-item {
  display: inline-flex;
  align-items: center;
}

.home-nav-submenu {
  display: none;
}

@media (min-width: 761px) and (hover: hover) {
.home-nav-item:hover .home-nav-submenu,
  .home-nav-item:focus-within .home-nav-submenu {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(var(--home-header-bg-rgb), 0.98);
    box-shadow: 0 12px 40px rgba(16, 16, 16, 0.12);
  }

.home-nav-item {
    position: relative;
  }
}

body.home-mobile-nav-open .home-menu-toggle svg path:nth-child(1) {
  opacity: 0;
}

body.home-mobile-nav-open .home-menu-toggle svg path:nth-child(2) {
  transform: translateY(-6px) rotate(-45deg);
  transform-origin: center;
}

body.home-mobile-nav-open .home-menu-toggle svg path:nth-child(3) {
  transform: translateY(6px) rotate(45deg);
  transform-origin: center;
}

.home-menu-toggle svg path {
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-box: fill-box;
}

.home-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  transform: translateY(1px);
}

.home-theme-toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.07);
  color: #101010;
  cursor: pointer;
}

.home-theme-toggle:hover,
.home-search-input:hover,
.home-search-input:focus {
  background: rgba(16, 16, 16, 0.09);
}

html[data-theme="dark"] body.home-page .home-theme-toggle,
body.home-page[data-theme="dark"] .home-theme-toggle {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

html[data-theme="dark"] body.home-page .home-theme-toggle:hover,
html[data-theme="dark"] body.home-page .home-search-input:hover,
html[data-theme="dark"] body.home-page .home-search-input:focus,
body.home-page[data-theme="dark"] .home-theme-toggle:hover,
body.home-page[data-theme="dark"] .home-search-input:hover,
body.home-page[data-theme="dark"] .home-search-input:focus {
  background: rgba(255, 255, 255, 0.09);
}

.home-theme-icon {
  width: 18px;
  height: 18px;
}

.home-theme-icon-sun {
  display: none;
}

html[data-theme="dark"] body.home-page .home-theme-icon-moon,
body.home-page[data-theme="dark"] .home-theme-icon-moon {
  display: none;
}

html[data-theme="dark"] body.home-page .home-theme-icon-sun,
body.home-page[data-theme="dark"] .home-theme-icon-sun {
  display: block;
}

.home-search {
  display: flex;
  width: 260px;
  height: 40px;
  margin: 0;
}

.home-search-input {
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  outline: 0;
  padding: 0 18px 1px;
  background: rgba(16, 16, 16, 0.07);
  color: #101010;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
}

html[data-theme="dark"] body.home-page .home-search-input,
body.home-page[data-theme="dark"] .home-search-input {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.home-search-input::placeholder {
  color: currentColor;
  opacity: 0.48;
}

.home-header-cta {
  display: inline-flex;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: 12px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #2557fe;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.home-header-cta span {
  transform: translateY(-1px);
}

.home-header-cta-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.home-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: #101010;
  cursor: pointer;
}

.home-menu-toggle svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

html[data-theme="dark"] body.home-page .home-menu-toggle,
body.home-page[data-theme="dark"] .home-menu-toggle {
  color: #ffffff;
}

.site-placeholder {
  min-height: clamp(360px, 48vh, 560px);
  padding-top: clamp(78px, 10cqw, 130px);
}

.site-placeholder-kicker {
  margin: 0 0 18px;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.46;
  text-transform: uppercase;
}

.site-placeholder h1 {
  max-width: 760px;
  margin: 0;
  color: inherit;
  font-size: clamp(42px, 5cqw, 72px);
  font-weight: 500;
  line-height: 1.04;
}

.site-placeholder p:not(.site-placeholder-kicker) {
  max-width: 620px;
  margin: 28px 0 0;
  color: inherit;
  font-size: clamp(17px, 1.6cqw, 21px);
  font-weight: 400;
  line-height: 1.48;
  opacity: 0.68;
}

.home-footer {
  margin-top: 118px;
  border-top: 1px solid rgba(16, 16, 16, 0.09);
  padding: 48px 0 0;
}

html[data-theme="dark"] body.home-page .home-footer,
body.home-page[data-theme="dark"] .home-footer {
  border-top-color: rgba(255, 255, 255, 0.09);
}

.home-footer-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.8fr);
  gap: clamp(42px, 7cqw, 92px);
  align-items: start;
}

.home-footer-brand {
  min-width: 0;
}

.home-footer-logo-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.home-footer-logo {
  display: block;
  width: 112px;
  height: auto;
  opacity: 0.76;
}

.home-footer-note {
  max-width: 270px;
  margin: 28px 0 0;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.56;
}

.home-footer-copy {
  margin: 28px 0 0;
  color: inherit;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.38;
}

.home-footer-nav {
  display: grid;
  grid-template-columns: minmax(120px, 0.85fr) minmax(180px, 1.05fr) minmax(260px, 1.6fr);
  gap: clamp(28px, 4cqw, 58px);
  align-items: start;
}

.home-footer-column {
  min-width: 0;
}

.home-footer-title {
  margin: 0 0 18px;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  opacity: 0.42;
  text-transform: uppercase;
}

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

.home-footer-models {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 11px;
}

.home-footer-list a {
  display: inline-flex;
  max-width: 100%;
  color: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  opacity: 0.66;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.home-footer-list a:hover {
  opacity: 1;
  transform: translateX(2px);
}

@media (max-width: 1080px) {
.home-search {
    display: none;
  }
}

@media (max-width: 980px) {
.home-footer-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

.home-footer-nav {
    grid-template-columns: minmax(120px, 0.8fr) minmax(180px, 1fr) minmax(260px, 1.45fr);
  }
}

@media (max-width: 760px) {
body.home-page .page-shell {
    width: min(calc(100% - 32px), 1280px);
    padding-top: 94px;
  }

body.home-page.site-page .page-shell {
    padding-top: 20px;
  }

body.home-page.site-page .home-header {
    top: auto;
    width: min(calc(100% - 32px), 1280px);
    margin-top: 18px;
  }

.home-header {
    top: 18px;
    width: min(calc(100% - 32px), 1280px);
  }

.home-nav-shell {
    display: none;
    position: fixed;
    inset: 0;
    z-index: -1;
    margin: 0;
    flex: 0;
    visibility: hidden;
    pointer-events: none;
  }

.home-nav {
    display: none;
  }

body.home-mobile-nav-open .home-header {
    z-index: 170;
  }

body.home-mobile-nav-open .home-nav-shell {
    display: block;
    z-index: 160;
    visibility: visible;
    pointer-events: auto;
    background: rgba(16, 16, 16, 0.36);
  }

html[data-theme="dark"] body.home-mobile-nav-open .home-nav-shell,
  body.home-page[data-theme="dark"].home-mobile-nav-open .home-nav-shell {
    background: rgba(0, 0, 0, 0.52);
  }

body.home-mobile-nav-open .home-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--home-mobile-nav-top, 72px);
    left: 16px;
    right: 16px;
    max-height: calc(100vh - var(--home-mobile-nav-top, 72px) - 16px);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 8px 0;
    gap: 0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 48px rgba(16, 16, 16, 0.18);
    transform: none;
    -webkit-overflow-scrolling: touch;
  }

html[data-theme="dark"] body.home-mobile-nav-open .home-nav,
  body.home-page[data-theme="dark"].home-mobile-nav-open .home-nav {
    background: #1a1a1a;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  }

body.home-mobile-nav-open .home-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    font-size: 17px;
    line-height: 1.25;
    border-radius: 0;
    white-space: normal;
  }

body.home-mobile-nav-open .home-nav > .home-nav-link,
  body.home-mobile-nav-open .home-nav > .home-nav-item {
    border-bottom: 1px solid rgba(16, 16, 16, 0.08);
  }

html[data-theme="dark"] body.home-mobile-nav-open .home-nav > .home-nav-link,
  html[data-theme="dark"] body.home-mobile-nav-open .home-nav > .home-nav-item,
  body.home-page[data-theme="dark"].home-mobile-nav-open .home-nav > .home-nav-link,
  body.home-page[data-theme="dark"].home-mobile-nav-open .home-nav > .home-nav-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

body.home-mobile-nav-open .home-nav > :last-child {
    border-bottom: 0;
  }

body.home-mobile-nav-open .home-nav.is-drill-child-view > :not(.home-nav-item.is-drill-active):not(.home-mobile-nav-back) {
    display: none;
  }

body.home-mobile-nav-open .home-nav-item.is-drill-active > .home-nav-menu {
    display: none;
  }

body.home-mobile-nav-open .home-nav-item.is-drill-active .home-nav-submenu {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

body.home-mobile-nav-open .home-nav-item {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

body.home-mobile-nav-open .home-nav-item .home-nav-chevron {
    transform: rotate(-90deg);
  }

.home-mobile-nav-back {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid rgba(16, 16, 16, 0.08);
    padding: 12px 18px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 15px;
    cursor: pointer;
    text-align: left;
  }

html[data-theme="dark"] .home-mobile-nav-back,
  body.home-page[data-theme="dark"] .home-mobile-nav-back {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

.home-mobile-nav-back-title {
    margin-left: auto;
    padding-right: 4px;
    font-weight: 500;
    opacity: 0.72;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

.home-actions {
    gap: 4px;
  }

.home-theme-toggle {
    width: 38px;
    height: 38px;
  }

.home-header-cta {
    margin-left: 3px;
    padding: 0 14px;
  }

.home-menu-toggle {
    display: inline-flex;
  }

.home-footer {
    margin-top: 84px;
    padding: 38px 0 0;
  }

.home-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

.home-footer-column-models {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
.home-footer-nav {
    grid-template-columns: 1fr;
  }

.home-footer-column-models {
    grid-column: auto;
  }

.home-footer-models {
    grid-template-columns: 1fr;
  }
}

.panel {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  padding: 32px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.panel-auth {
  max-width: 420px;
  margin: 0 auto;
}

.console-embed-main {
  box-sizing: border-box;
  min-height: 100vh;
  margin: 0;
  padding: 32px 24px 48px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

body.flixa-console {
  margin: 0;
  background: #0f172a;
}

.panel-console {
  background: #1f2937;
  border-color: #374151;
  color: #f9fafb;
  max-width: 576px;
  width: 100%;
}

.page-title {
  margin: 0 0 8px;
  font-size: 32px;
}

.page-subtitle {
  margin: 0 0 24px;
  color: #4b5563;
}

.page-subtitle-muted {
  color: #cbd5e1;
}

.stack-md {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #374151;
}

.field input {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  color: #111827;
  background: #ffffff;
}

.button {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button-primary {
  background: #111827;
  color: #ffffff;
}

.button-secondary {
  background: #f9fafb;
  color: #111827;
}

.button-google {
  display: block;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  font-weight: 600;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.status-message {
  min-height: 22px;
  font-size: 14px;
}

.status-message-error {
  color: #b91c1c;
}

.status-message-success {
  color: #047857;
}

.panel-console .status-message-error {
  color: #fca5a5;
}

.code-block {
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  background: #0f172a;
  color: #f9fafb;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

body.is-model-demo-resizing {
  cursor: ew-resize;
  user-select: none;
}

body.is-model-demo-resizing * {
  cursor: ew-resize !important;
}

@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/Commissioner-VariableFont_FLAR,VOLM,slnt,wght.woff2") format("woff2");
}

body {
  margin: 0;
  font-family: "Commissioner", Arial, sans-serif;
  background: #f6f7fb;
  color: #1f2937;
}

@keyframes home-showcase-loading {
  from {
    background-position: 120% 0, 0 0;
  }

  to {
    background-position: -120% 0, 0 0;
  }
}

@keyframes model-demo-upload-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes model-demo-price-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes model-demo-generation-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
