.marketing-body {
  background:
    linear-gradient(180deg, #f7f8f5 0%, #ffffff 22rem),
    #ffffff;
  color: #1f2933;
}

.marketing-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.marketing-main {
  flex: 1 0 auto;
}

.marketing-container {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.marketing-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(250, 251, 248, 0.9);
  backdrop-filter: blur(14px);
}

.marketing-header__inner,
.marketing-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.marketing-header__inner {
  padding: 1rem 0;
}

.marketing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #111827;
}

.marketing-brand__logo {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
}

.marketing-brand__wordmark {
  height: 0.9rem;
  width: auto;
  flex-shrink: 0;
}

.marketing-nav,
.marketing-footer__nav,
.marketing-footer__mark {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.marketing-nav__link {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #4b5563;
  transition: color 150ms ease;
}

.marketing-nav__link:hover {
  color: #111827;
}

.marketing-nav__link--active {
  color: #111827;
}

.marketing-nav__link--emphasis {
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  padding: 0.4rem 0.82rem;
  color: #111827;
  background: rgba(255, 255, 255, 0.72);
}

.marketing-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  color: #111827;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.marketing-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(17, 24, 39, 0.24);
}

.marketing-mobile-overlay.hidden {
  display: none;
}

.marketing-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(20rem, calc(100vw - 2rem));
  height: 100%;
  border-left: 1px solid rgba(17, 24, 39, 0.1);
  background:
    linear-gradient(180deg, rgba(250, 251, 248, 0.98), rgba(242, 244, 240, 0.96)),
    #ffffff;
  box-shadow: -24px 0 60px rgba(17, 24, 39, 0.16);
  transform: translateX(0);
  transition: transform 180ms ease;
}

.marketing-mobile-drawer.translate-x-full {
  transform: translateX(100%);
}

.marketing-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.marketing-drawer__title {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 650;
}

.marketing-drawer__close {
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  padding: 0.42rem 0.74rem;
  color: #374151;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.marketing-drawer__nav {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
}

.marketing-drawer__link {
  display: block;
  width: 100%;
  border-radius: 0.9rem;
  padding: 0.78rem 0.9rem;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.35;
  text-align: left;
}

.marketing-drawer__link:hover,
.marketing-drawer__link--active {
  color: #111827;
  background: rgba(255, 255, 255, 0.72);
}

.marketing-drawer__link--emphasis {
  margin-top: 0.35rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
  color: #111827;
  background: rgba(255, 255, 255, 0.82);
}

.marketing-drawer__form {
  margin: 0;
}

.marketing-footer {
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  margin-top: 5rem;
  background: #f2f4f0;
}

.marketing-footer__inner {
  padding: 1.25rem 0 2rem;
  color: #4b5563;
  font-size: 0.85rem;
}

.marketing-footer__link {
  color: #4b5563;
}

.marketing-footer__link:hover {
  color: #111827;
}

.marketing-hero,
.marketing-section-grid,
.marketing-page-intro,
.marketing-stack,
.marketing-debug,
.marketing-pricing-grid {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.marketing-hero,
.marketing-page-intro {
  padding-top: 5.5rem;
}

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  gap: 3rem;
  align-items: center;
}

.marketing-eyebrow,
.marketing-card__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.72rem;
  color: #56636f;
}

.marketing-hero__title,
.marketing-page-title {
  margin: 0.75rem 0 0;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  color: #111827;
}

.marketing-hero__lede,
.marketing-page-copy,
.marketing-card__body,
.marketing-bullet-list {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5563;
}

.marketing-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.marketing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-size: 0.95rem;
  color: #111827;
  background: #ffffff;
}

.marketing-button--primary {
  background: #111827;
  color: #f9fafb;
  border-color: #111827;
}

.marketing-panel,
.marketing-card {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 1.6rem;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.055);
}

.marketing-device-shot {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.marketing-device-shot__image {
  width: min(100%, 22rem);
  height: auto;
  display: block;
}

.marketing-card--wide {
  width: min(100%, 72rem);
  margin: 2rem auto 0;
  padding-inline: 1.6rem;
}

.marketing-card__title {
  margin: 0.45rem 0 0;
  font-size: 1.2rem;
  line-height: 1.25;
  color: #111827;
}

.marketing-price {
  margin-top: 0.75rem;
  font-size: 2rem;
  line-height: 1;
  color: #111827;
}

.marketing-section-grid,
.marketing-pricing-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.marketing-section-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketing-pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.marketing-stack {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.marketing-bullet-list {
  padding-left: 1.1rem;
}

.marketing-bullet-list li + li {
  margin-top: 0.45rem;
}

.marketing-internal-note {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.marketing-debug {
  margin-top: 2rem;
}

.marketing-showcase {
  width: min(100%, 72rem);
  margin: 4rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: center;
}

.marketing-showcase--mcp {
  margin-top: 3rem;
}

.marketing-showcase__image-wrap {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.075);
}

.marketing-showcase__image {
  display: block;
  width: 100%;
  height: auto;
}

.marketing-diagram-teaser {
  width: min(100%, 22rem);
  margin: 1.25rem auto 0;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.06);
}

.marketing-diagram-teaser__image {
  display: block;
  width: 100%;
  height: auto;
}

.marketing-diagram-caption {
  width: min(100%, 22rem);
  margin: 0.55rem auto 0;
  color: #6b7280;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.marketing-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  width: min(100%, 26rem);
  margin-top: 1.5rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: #4b5563;
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: center;
}

.marketing-flow span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketing-flow span[aria-hidden="true"] {
  color: #9ca3af;
  line-height: 1;
}

.marketing-contact {
  width: min(100%, 72rem);
  margin: 4.5rem auto 0;
  padding: 0 1.5rem;
}

.marketing-contact__panel {
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 1.75rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 244, 240, 0.9)),
    linear-gradient(180deg, rgba(17, 24, 39, 0.04), rgba(17, 24, 39, 0));
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
}

.marketing-contact__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  cursor: pointer;
}

.marketing-contact__summary::-webkit-details-marker {
  display: none;
}

.marketing-contact__summary-copy {
  min-width: 0;
}

.marketing-contact__title {
  margin-top: 0.45rem;
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
}

.marketing-contact__lede {
  margin: 0.8rem 0 0;
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.7;
}

.marketing-contact__toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.85);
  color: #111827;
  font-size: 0.92rem;
}

.marketing-contact__toggle-label--open,
.marketing-contact__panel[open] .marketing-contact__toggle-label--closed {
  display: none;
}

.marketing-contact__panel[open] .marketing-contact__toggle-label--open {
  display: inline;
}

.marketing-contact__body {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.25rem;
  padding: 0 1.5rem 1.5rem;
}

.marketing-contact__form-wrap {
  padding: 1.1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.marketing-contact-form {
  display: grid;
  gap: 1rem;
}

.marketing-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.marketing-contact-form__field {
  display: grid;
  gap: 0.45rem;
}

.marketing-contact-form__field label {
  font-size: 0.88rem;
  line-height: 1.4;
  color: #374151;
}

.marketing-contact-form__field input,
.marketing-contact-form__field textarea {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 1rem;
  padding: 0.82rem 0.95rem;
  background: #ffffff;
  color: #111827;
}

.marketing-contact-form__field textarea {
  resize: vertical;
  min-height: 10rem;
}

.marketing-contact-form__field input:focus,
.marketing-contact-form__field textarea:focus {
  outline: 2px solid rgba(247, 186, 0, 0.35);
  outline-offset: 1px;
  border-color: rgba(17, 24, 39, 0.28);
}

.marketing-contact-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.marketing-contact-form__hint {
  margin: 0;
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.5;
}

.marketing-contact-form__errors {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
  font-size: 0.92rem;
}

.marketing-contact-form__errors p {
  margin: 0;
}

.marketing-contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.marketing-coming-soon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 1.75rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 244, 240, 0.9)),
    linear-gradient(180deg, rgba(17, 24, 39, 0.04), rgba(17, 24, 39, 0));
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
}

.marketing-coming-soon__title {
  font-size: clamp(2.1rem, 3.4vw, 3.6rem);
}

.marketing-coming-soon__form-wrap {
  padding: 1.1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.marketing-coming-soon__form {
  display: grid;
  gap: 1rem;
}

.legal-document {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-document h1,
.legal-document h2,
.legal-document h3 {
  color: #0f172a;
  font-weight: 700;
  letter-spacing: 0;
}

.legal-document h1 {
  font-size: 1.55rem;
  margin: 0 0 1rem;
}

.legal-document h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.legal-document h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.4rem;
}

.legal-document p {
  margin: 0.7rem 0;
}

.legal-document ul {
  margin: 0.75rem 0 1rem 1.25rem;
  padding: 0;
}

.legal-document li {
  margin: 0.3rem 0;
}

.legal-document hr {
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .marketing-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .marketing-nav {
    display: none;
  }

  .marketing-menu-button {
    display: inline-flex;
  }

  .marketing-hero {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
  }

  .marketing-page-intro {
    padding-top: 3.5rem;
  }

  .marketing-section-grid,
  .marketing-pricing-grid {
    grid-template-columns: 1fr;
  }

  .marketing-showcase {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .marketing-contact__summary,
  .marketing-contact__body,
  .marketing-contact-form__grid,
  .marketing-coming-soon {
    grid-template-columns: 1fr;
  }

  .marketing-contact__summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .marketing-contact__toggle {
    width: 100%;
  }

}
