/* Site2image landing, layered on Dashmin's landing.css */

.lp-nav-form {
  margin: 0;
  display: inline-flex;
}

.lp-flash {
  padding-top: 1rem;
}

.lp-hero-split {
  text-align: left;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.lp-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.lp-hero.lp-hero-split h1 {
  max-width: 11em;
  margin: 0 0 1rem;
}

.lp-hero.lp-hero-split .lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
}

.lp-hero-split .lp-hero-actions {
  justify-content: flex-start;
  margin-top: 1.35rem;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--dm-primary-muted);
  color: var(--dm-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-next {
  margin: 0.85rem 0 0;
  color: var(--dm-text-muted);
  font-size: 0.92rem;
}

.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--dm-heading);
  font-weight: 600;
  font-size: 0.92rem;
}

.lp-trust i {
  color: var(--dm-primary);
  margin-right: 0.2rem;
}

.lp-stage {
  position: relative;
}

.lp-browser {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--dm-shadow), 0 28px 70px rgba(255, 138, 26, 0.14);
}

.lp-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.9rem;
  background: var(--dm-surface-2);
  border-bottom: 1px solid var(--dm-border);
}

.lp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffb020;
}

.lp-dot:nth-child(2) {
  background: #ff8a1a;
}

.lp-dot:nth-child(3) {
  background: #fb7185;
}

.lp-browser-url {
  flex: 1;
  min-width: 0;
  margin-left: 0.35rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--dm-body-bg);
  color: var(--dm-text-muted);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-png {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: var(--dm-primary);
  color: #111;
}

.lp-browser-page {
  padding: 1.35rem 1.3rem 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 138, 26, 0.1), transparent 46%),
    var(--dm-surface);
}

.lp-kicker {
  margin: 0 0 0.35rem;
  color: var(--dm-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-browser-page h2 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  text-align: left;
}

.lp-browser-page p {
  margin: 0;
  color: var(--dm-text-muted);
}

.lp-page-lines {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.lp-page-lines span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--dm-border);
}

.lp-page-lines span:first-child {
  width: 72%;
  background: var(--dm-primary-muted);
}

.lp-page-lines span:nth-child(2) {
  width: 100%;
}

.lp-page-lines span:nth-child(3) {
  width: 84%;
}

.lp-code {
  margin: -1.1rem 1rem 0;
  position: relative;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: #16130f;
  color: #f5f0e8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  text-align: left;
}

.lp-code-flat {
  margin: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: none;
}

.lp-method,
.lp-status {
  color: #ff8a1a;
  font-weight: 700;
}

.lp-muted {
  color: #a8a29e;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.lp-step {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: 22px;
  padding: 1.35rem 1.3rem 1.4rem;
}

.lp-step-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 14px;
  background: var(--dm-primary);
  color: #111;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.lp-step h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.lp-step p {
  margin: 0;
  color: var(--dm-text-muted);
}

.lp-inline-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.lp-features {
  background:
    radial-gradient(circle at top center, rgba(255, 138, 26, 0.1), transparent 42%),
    var(--dm-surface-2);
}

.lp-api-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.lp-api-grid h2 {
  text-align: left;
  margin-bottom: 0.75rem;
}

.lp-api-lead {
  color: var(--dm-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.lp-api-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.lp-api-points li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
  color: var(--dm-text);
}

.lp-api-points i {
  color: var(--dm-primary);
  margin-top: 0.15rem;
}

.lp-api-card {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--dm-shadow);
}

.lp-api-card-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--dm-surface-2);
  border-bottom: 1px solid var(--dm-border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: var(--dm-heading);
}

.lp-faq-wrap {
  max-width: 760px;
}

.lp-faq {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: 16px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.75rem;
}

.lp-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--dm-heading);
}

.lp-faq p {
  margin: 0.75rem 0 0.15rem;
  color: var(--dm-text-muted);
}

.lp-sales-cta .lead {
  max-width: 36rem;
  color: var(--dm-text-muted);
  margin-bottom: 1.5rem;
}

.lp-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-formats li {
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  color: var(--dm-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.lp-jump-section {
  padding-bottom: 0.75rem;
}

.lp-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.lp-jump a {
  color: var(--dm-heading);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
}

.lp-jump a:hover {
  background: var(--dm-primary-muted);
  border-color: transparent;
}

.lp-band {
  padding: 3.25rem 0;
}

.lp-band-alt {
  background:
    radial-gradient(circle at top center, rgba(255, 138, 26, 0.1), transparent 46%),
    var(--dm-surface-2);
}

.lp-point h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  text-align: left;
}

.lp-point p {
  margin: 0 0 0.95rem;
  color: var(--dm-text-muted);
}

.lp-point:last-child p {
  margin-bottom: 0;
}

.lp-band .lp-api-lead {
  margin-bottom: 1.35rem;
}

.lp-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

#features,
#clean,
#render,
#screens,
#files,
#metadata,
#request,
#workflow,
#api,
#mcp,
#faq,
#token {
  scroll-margin-top: 92px;
}

@media (max-width: 991px) {
  .lp-hero-grid,
  .lp-steps,
  .lp-api-grid {
    grid-template-columns: 1fr;
  }

  .lp-hero-split {
    text-align: center;
  }

  .lp-hero.lp-hero-split h1,
  .lp-hero.lp-hero-split .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-hero-split .lp-hero-actions,
  .lp-trust {
    justify-content: center;
  }

  .lp-trust {
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    margin-inline: auto;
  }

  .lp-api-grid h2 {
    text-align: center;
  }

  .lp-api-points {
    text-align: left;
  }

  .lp-formats {
    justify-content: center;
  }

  .lp-band .lp-api-grid h2,
  .lp-band .lp-api-lead,
  .lp-band .lp-kicker {
    text-align: left;
  }
}

@media (min-width: 992px) {
  .lp-api-grid.is-flip > :first-child {
    order: 2;
  }
}

.docs-hero {
  padding: clamp(2rem, 5vw, 3.5rem) 0 0.5rem;
}

.docs-hero h1 {
  max-width: 14em;
  margin: 0 0 0.85rem;
  text-align: left;
}

.docs-hero .lead {
  max-width: 40rem;
  margin: 0 0 1rem;
  color: var(--dm-text-muted);
}

.docs-origin {
  margin: 0;
  color: var(--dm-text);
}

.docs-origin code,
.docs-main code {
  color: var(--dm-heading);
  font-weight: 600;
  font-size: 0.9em;
}

.docs-origin code,
.docs-endpoint code {
  background: var(--dm-primary-muted);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  font-weight: 700;
}

.docs-table code,
.docs-code code {
  background: transparent;
  padding: 0;
  font-weight: 600;
}

.docs-shell {
  display: grid;
  gap: 1.5rem;
}

.docs-body {
  padding-top: 1.75rem;
  padding-bottom: 4rem;
}

.docs-toc {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.docs-toc::-webkit-scrollbar {
  display: none;
}

@media (max-width: 991px) {
  .docs-toc {
    position: sticky;
    top: 76px;
    z-index: 20;
    margin: 0 -0.25rem;
    padding: 0.45rem 0.25rem;
    background: color-mix(in srgb, var(--dm-body-bg) 92%, transparent);
  }
}

.docs-toc-spacer {
  display: none;
}

.docs-toc a {
  flex: 0 0 auto;
  color: var(--dm-text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
}

.docs-toc a:hover {
  color: var(--dm-heading);
  background: var(--dm-primary-muted);
}

.docs-section {
  scroll-margin-top: 96px;
  margin-bottom: 2.75rem;
}

.docs-section h2,
.docs-section h3 {
  text-align: left;
  margin-bottom: 0.75rem;
}

.docs-section h3 {
  margin-top: 1.75rem;
  font-size: 1.15rem;
}

.docs-section p {
  color: var(--dm-text-muted);
}

.docs-endpoint {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: var(--dm-heading);
  font-weight: 700;
}

.docs-method {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--dm-primary);
  color: #111;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.docs-code {
  margin: 0 0 1rem;
  border-radius: 16px;
}

.docs-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
}

.docs-table th,
.docs-table td {
  padding: 0.75rem 0.85rem 0.75rem 0;
  border-bottom: 1px solid var(--dm-border);
  vertical-align: top;
  text-align: left;
}

  .docs-table th {
  width: 38%;
  color: var(--dm-heading);
  font-weight: 600;
}

.docs-table td {
  color: var(--dm-text-muted);
}

.docs-kind {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--dm-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

#authentication,
#create,
#retrieve,
#download,
#devices,
#options,
#errors,
#webhooks,
#caching,
#mcp {
  scroll-margin-top: 96px;
}

@media (min-width: 992px) {
  .docs-shell {
    grid-template-columns: 180px minmax(0, 760px);
    justify-content: center;
    gap: 2.5rem;
    align-items: start;
  }

  .docs-toc {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 0.15rem;
    overflow: visible;
    padding: 0;
  }

  .docs-toc a {
    background: transparent;
    border-color: transparent;
    border-radius: 10px;
    padding: 0.4rem 0.65rem;
  }

  .docs-toc-spacer {
    display: block;
  }
}

@media (max-width: 575px) {
  .lp-nav .dm-brand {
    font-size: 1rem;
    gap: 0.45rem;
  }

  .lp-nav .dm-brand-mark {
    width: 32px;
    height: 32px;
  }

  .lp-hero-actions .btn-lg {
    width: 100%;
  }

  .lp-code {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    font-size: 0.72rem;
  }

  .docs-code {
    margin-left: 0;
    margin-right: 0;
  }
}
