:root {
  --lp-nav-bg: #4F6068;
  --lp-gold: #c4a87a;
  --lp-header-h: 88px;
}

.lp-page {
  margin: 0;
  color: #1f2a36;
  background: #f7f4ef;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

.lp-skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: #1f2a36;
  color: #fff;
  padding: 0.5rem 0.75rem;
  z-index: 220;
}

.lp-skip:focus {
  top: calc(var(--lp-header-h) + 0.75rem);
}

/* Mirror front layout.css header: height, padding, logo, link spacing. */
.lp-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--lp-header-h);
  padding: 0 1.5rem;
  background: rgb(79 96 104 / 81%);
}

.lp-site-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 100%;
  max-height: var(--lp-header-h);
  overflow: hidden;
  text-decoration: none;
}

.lp-site-logo img {
  display: block;
  height: 85px;
  width: auto;
  max-width: 350px;
  object-fit: contain;
}

.lp-site-nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
  margin-left: auto;
}

.lp-site-nav {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.lp-site-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 210;
}

.lp-site-nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.lp-site-header.is-open .lp-site-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.lp-site-header.is-open .lp-site-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.lp-site-header.is-open .lp-site-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lp-site-nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0;
  max-width: min(72vw, 58rem);
  min-width: 0;
  padding: 0;
  overflow-x: auto;
}

.lp-site-nav-menu a {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.lp-site-nav-menu a:hover,
.lp-site-nav-menu a:focus {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.lp-site-nav-cta {
  display: none !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 0.45rem;
  padding: 0.45rem 0.95rem !important;
  border-radius: 50px !important;
  background: var(--lp-gold) !important;
  color: #fff !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1;
  transition: background 0.2s, transform 0.15s;
}

.lp-site-nav-cta:hover,
.lp-site-nav-cta:focus {
  background: #b8954f !important;
  color: #fff !important;
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  :root {
    --lp-header-h: 72px;
  }

  .lp-site-header {
    padding: 0 1rem;
  }

  .lp-site-logo img {
    height: 58px;
    max-width: 160px;
  }

  .lp-site-nav-toggle {
    display: flex;
  }

  .lp-site-nav-menu {
    display: none;
    position: fixed;
    top: var(--lp-header-h);
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 0 1.2rem;
    background: var(--lp-nav-bg);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
    overflow: visible;
  }

  .lp-site-nav-menu.is-open {
    display: flex;
  }

  .lp-site-nav-menu a {
    padding: 0.75rem 1.6rem;
    border-radius: 0;
    font-size: 0.95rem;
  }

  .lp-site-nav-cta {
    margin: 0.35rem 1rem 0 !important;
    padding: 0.55rem 0.95rem !important;
  }
}

@media (max-width: 600px) {
  :root {
    --lp-header-h: 60px;
  }

  .lp-site-header {
    padding: 0 0.85rem;
  }

  .lp-site-logo img {
    height: 48px;
    max-width: 140px;
  }
}

body.lp-cw-modal-open {
  overflow: hidden;
}

.lp-cw-modal[hidden] {
  display: none !important;
}

.lp-cw-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lp-cw-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 34, 0.62);
}

.lp-cw-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 44rem);
  max-height: min(88vh, 52rem);
  overflow: hidden;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 28, 34, 0.28);
}

.lp-cw-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e4ddd2;
  background: #f7f4ef;
}

.lp-cw-modal-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #1f2a36;
}

.lp-cw-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: #4f6068;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lp-cw-modal-close:hover,
.lp-cw-modal-close:focus {
  background: rgba(79, 96, 104, 0.12);
  color: #1f2a36;
}

.lp-cw-modal-body {
  margin: 0;
  max-width: none;
  overflow: auto;
  padding: 1.15rem 1.25rem 1.35rem;
  border: 0;
  border-radius: 0;
}

.lp-preview {
  background: #c4a87a;
  color: #1f2a36;
  text-align: center;
  padding: 0.6rem 1rem;
  font-weight: 600;
}

.lp-shell-head,
.lp-faq,
.lp-shell-foot,
.lp-generated {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.lp-shell-head {
  padding-top: 1.5rem;
}

.lp-kicker {
  margin: 0 0 0.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.lp-kicker a {
  color: #4f6068;
  text-decoration: none;
}

.lp-page h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.15;
  font-weight: 700;
}

.lp-direct-answer {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  font-size: 1.05rem;
}

.lp-generated img,
.lp-generated picture {
  max-width: 100%;
  height: auto;
}

.lp-generated a {
  color: #3d5148;
}

.lp-faq {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.lp-faq h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.lp-faq details {
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.lp-faq summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.lp-faq p {
  margin: 0.5rem 0 0;
}

.lp-shell-foot {
  padding: 1.25rem 0 2rem;
  color: #4f6068;
  font-size: 0.92rem;
}

.cw-page {
  padding-bottom: 2rem;
}

.cw-page-body {
  margin-top: 1rem;
  max-width: 48rem;
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 0.75rem;
  padding: 1.25rem 1.35rem;
}

.cw-page-body > *:first-child {
  margin-top: 0;
}

.cw-page-body > *:last-child {
  margin-bottom: 0;
}

.cw-page-body img {
  max-width: 100%;
  height: auto;
}

.lp-shell-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.lp-shell-foot a {
  color: #1f2a36;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (min-width: 768px) {
  .lp-shell-head,
  .lp-faq,
  .lp-shell-foot,
  .lp-generated {
    width: min(100% - 3rem, 72rem);
  }

  .lp-shell-head {
    padding-top: 2.5rem;
  }
}

.lp-campaign {
  background: #4f6068;
}

.lp-hero {
  min-height: calc(100vh - var(--lp-header-h));
  min-height: calc(100dvh - var(--lp-header-h) - env(safe-area-inset-top, 0px));
  display: flex;
  align-items: flex-end;
  background-color: #4f6068;
  background-repeat: no-repeat;
  background-size: cover;
}

.lp-hero-panel {
  width: min(100% - 1.5rem, 36rem);
  max-height: 78vh;
  margin: 0.75rem;
  padding: 1.25rem;
  overflow: auto;
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(31, 42, 54, 0.18);
}

.lp-hero-panel h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4cqi, 2.75rem);
  line-height: 1.15;
}

.lp-hero-panel .lp-direct-answer {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.lp-hero-panel .lp-kicker {
  margin: 0 0 0.75rem;
}

.lp-hero-panel .lp-kicker a {
  color: inherit;
}

.lp-cta,
.lp-hero-panel .lp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 0.4rem;
  background: #1f2a36;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.lp-hero-panel.is-dark .lp-cta,
.lp-hero-panel.is-dark .lp-cta:hover,
.lp-hero-panel.is-dark .lp-cta:focus {
  background: #f7f4ef;
  color: #1f2a36;
}

.lp-hero-panel .lp-cta:hover,
.lp-hero-panel .lp-cta:focus {
  color: #fff;
  text-decoration: none;
}

.lp-privacy {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  opacity: 0.85;
  display: none;
}

.lp-frame {
  container-type: inline-size;
  width: 100%;
}

.lp-frame,
.lp-frame * {
  box-sizing: border-box;
}

.lp-hero-photo {
  display: none;
  background-repeat: no-repeat;
  background-size: cover;
}

@container (max-width: 575px) {
  .lp-cta {
    width: 100%;
  }
}

@container (min-width: 768px) {
  .lp-layout-panel-left,
  .lp-layout-panel-right,
  .lp-layout-center-card {
    align-items: center;
  }

  .lp-layout-panel-left .lp-hero-panel {
    margin: 6vh auto 6vh 5cqi;
    max-height: none;
  }

  .lp-layout-panel-right {
    justify-content: flex-end;
  }

  .lp-layout-panel-right .lp-hero-panel {
    margin: 6vh 5cqi 6vh auto;
    max-height: none;
  }

  .lp-layout-panel-bottom {
    align-items: flex-end;
  }

  .lp-layout-panel-bottom .lp-hero-panel {
    width: min(100% - 3rem, 72rem);
    margin: 0 auto 4vh;
    max-height: none;
  }

  .lp-layout-center-card {
    justify-content: center;
  }

  .lp-layout-center-card .lp-hero-panel {
    margin: 6vh auto;
    text-align: center;
    max-height: none;
  }

  .lp-layout-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .lp-layout-split .lp-hero-photo {
    min-height: 100%;
  }
}

.lp-layout-center-card .lp-hero-panel {
  text-align: center;
}

.lp-layout-split,
.lp-layout-stack {
  display: flex;
  flex-direction: column;
  background-image: none;
}

.lp-layout-split .lp-hero-photo,
.lp-layout-stack .lp-hero-photo {
  display: block;
  min-height: 42vh;
}

.lp-layout-split .lp-hero-panel,
.lp-layout-stack .lp-hero-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  max-height: none;
}

.lp-mini {
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  pointer-events: none;
  background: #4f6068;
}

.lp-mini .lp-frame {
  width: 1200px;
  height: 800px;
  transform: scale(calc(100cqw / 1200px));
  transform-origin: top left;
}

.lp-mini .lp-hero {
  width: 1200px;
  height: 800px;
  min-height: 800px;
}

#lpPreviewStage .lp-hero {
  min-height: 70vh;
  height: 70vh;
}
