:root {
  --lmc-red: #b80000;
  --lmc-red-dark: #8f0000;
  --lmc-red-bright: #d00000;
  --lmc-ink: #202734;
  --lmc-text: #344054;
  --lmc-muted: #667085;
  --lmc-bg: #e3e6e9;
  --lmc-panel: #f5f6f7;
  --lmc-border: #d7dde3;
  --lmc-dark: #2d3138;
  --lmc-gold: #ffcb3d;
  --lmc-shadow: 0 18px 38px rgba(32, 39, 52, .16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 360px;
  background: var(--lmc-bg);
}

body.funnel-page {
  margin: 0;
  min-height: 100vh;
  color: var(--lmc-text);
  background: var(--lmc-bg);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.58;
}

.funnel-page a {
  color: inherit;
}

.funnel-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.funnel-header,
.funnel-footer {
  color: var(--lmc-ink);
}

.funnel-header {
  width: 100%;
  min-height: 88px;
  margin: 0;
  padding: 18px max(24px, calc((100% - 1280px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--lmc-border);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 30px rgba(32, 39, 52, .08);
}

.funnel-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--lmc-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 24px;
}

.funnel-brand img {
  width: 92px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
}

.funnel-brand span {
  display: grid;
  gap: 2px;
}

.funnel-brand strong,
.funnel-footer-brand strong {
  color: var(--lmc-ink);
  font: inherit;
  line-height: 1.05;
}

.funnel-brand em {
  color: var(--lmc-muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.funnel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.funnel-nav a {
  color: var(--lmc-ink);
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.funnel-nav a:hover,
.funnel-nav a:focus {
  color: var(--lmc-red);
}

.funnel-nav-cta {
  padding: 9px 15px;
  border: 1px solid var(--lmc-red);
  border-radius: 6px;
  color: #fff !important;
  background: var(--lmc-red);
}

.funnel-nav-cta:hover,
.funnel-nav-cta:focus {
  color: #fff !important;
  background: var(--lmc-red-dark);
  border-color: var(--lmc-red-dark);
}

.funnel-hero {
  position: relative;
  overflow: hidden;
  background: var(--lmc-dark);
  color: #fff;
}

.funnel-hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 39, 52, .94), rgba(32, 39, 52, .68)), url("/images/writing.jpg") center / cover no-repeat;
}

.funnel-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
  gap: 48px;
  align-items: center;
  min-height: 650px;
  padding: 74px 0;
}

.funnel-kicker {
  margin: 0 0 14px;
  color: var(--lmc-gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.funnel-kicker.dark {
  color: var(--lmc-red);
}

.funnel-page h1,
.funnel-page h2,
.funnel-page h3 {
  margin: 0;
  color: inherit;
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.12;
}

.funnel-page h1 {
  max-width: 850px;
  font-size: 58px;
}

.funnel-page h2 {
  font-size: 38px;
  color: var(--lmc-ink);
}

.funnel-page h3 {
  font-size: 24px;
}

.funnel-lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: 24px;
}

.funnel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.funnel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border: 0;
  border-radius: 7px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.funnel-button-primary {
  color: #fff !important;
  background: linear-gradient(180deg, var(--lmc-red-bright), var(--lmc-red-dark));
  box-shadow: 0 5px 0 rgba(82, 0, 0, .52);
}

.funnel-button-primary:hover,
.funnel-button-primary:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #e10000, #a40000);
  transform: translateY(-1px);
  box-shadow: 0 7px 0 rgba(82, 0, 0, .48);
}

.funnel-button-ghost {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .06);
}

.funnel-button-ghost:hover,
.funnel-button-ghost:focus {
  color: var(--lmc-ink);
  background: #fff;
}

.funnel-price-note {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86);
  font-weight: 700;
}

.funnel-hero-card,
.funnel-image-card,
.funnel-stack-card,
.checkout-card,
.checkout-summary,
.checkout-security-note {
  border: 1px solid var(--lmc-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--lmc-shadow);
}

.funnel-hero-card {
  overflow: hidden;
  color: var(--lmc-ink);
}

.funnel-hero-card img,
.funnel-image-card img,
.funnel-feature-grid img,
.checkout-summary img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.funnel-hero-card img {
  aspect-ratio: 4 / 3;
}

.funnel-hero-card ul,
.funnel-stack-card ul,
.checkout-summary ul {
  margin: 0;
  padding: 24px 28px 28px;
}

.funnel-hero-card li,
.funnel-stack-card li,
.checkout-summary li {
  margin: 8px 0;
}

.funnel-section {
  padding: 72px 0;
}

.funnel-two-column,
.funnel-offer-grid,
.checkout-hero-grid,
.checkout-grid,
.funnel-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 38px;
  align-items: center;
}

.funnel-section p {
  max-width: 880px;
}

.funnel-image-card {
  overflow: hidden;
}

.funnel-image-card img {
  aspect-ratio: 16 / 10;
}

.funnel-band {
  padding: 76px 0;
  color: #fff;
  background: var(--lmc-red);
}

.funnel-band h2 {
  color: #fff;
}

.funnel-band p:not(.funnel-kicker) {
  max-width: 980px;
  color: rgba(255, 255, 255, .92);
  font-size: 22px;
}

.funnel-steps,
.funnel-survey-grid,
.funnel-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.funnel-steps article,
.funnel-survey-grid article,
.funnel-feature-grid article {
  padding: 26px;
  border: 1px solid var(--lmc-border);
  border-radius: 8px;
  background: var(--lmc-panel);
}

.funnel-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--lmc-red);
  font-weight: 700;
}

.funnel-video-section {
  padding: 76px 0;
  color: #fff;
  background: #20242b;
}

.funnel-video-section h2 {
  color: #fff;
}

.funnel-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #000;
  box-shadow: var(--lmc-shadow);
}

.funnel-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.funnel-survey-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.funnel-ai-copy {
  max-width: 980px;
  margin-top: 22px;
  margin-bottom: 30px;
}

.funnel-ai-copy p {
  max-width: none;
  margin: 0 0 16px;
  font-size: 21px;
}

.funnel-offer {
  color: #fff;
  background: #2d3138;
}

.funnel-offer h2,
.funnel-offer h3 {
  color: #fff;
}

.funnel-offer p {
  color: rgba(255, 255, 255, .9);
}

.funnel-stack-card {
  padding: 28px;
  color: var(--lmc-ink);
  background: #fff;
}

.funnel-stack-card h3 {
  color: var(--lmc-ink);
}

.funnel-stack-card ul {
  padding: 10px 0 0 20px;
}

.funnel-section-intro {
  max-width: 850px;
}

.funnel-value-section {
  background: #fff;
}

.funnel-value-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.funnel-value-grid article {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--lmc-border);
  border-radius: 8px;
  background: #f7f8fa;
}

.funnel-value-grid h3 {
  color: var(--lmc-ink);
  font-size: 20px;
}

.funnel-value-grid p {
  margin: 14px 0 18px;
  font-size: 16px;
}

.funnel-value-grid strong {
  margin-top: auto;
  color: var(--lmc-red);
  font-size: 16px;
}

.funnel-value-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 24px 28px;
  border-radius: 8px;
  color: #fff;
  background: #20242b;
}

.funnel-value-total span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.funnel-value-total strong {
  font-size: 30px;
}

.funnel-proof-section {
  background: #f1f3f5;
}

.funnel-testimonials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.funnel-testimonials figure {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--lmc-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(32, 39, 52, .08);
}

.testimonial-avatar {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(32, 39, 52, .18);
}

.testimonial-rating {
  margin-bottom: 14px;
  color: #c99800;
  font-size: 18px;
  letter-spacing: .08em;
}

.funnel-testimonials blockquote {
  margin: 0;
  color: var(--lmc-text);
  font-size: 16px;
  line-height: 1.55;
}

.funnel-testimonials figcaption {
  margin-top: auto;
  padding-top: 18px;
  color: var(--lmc-ink);
  font-weight: 700;
}

.funnel-testimonials figcaption span {
  display: block;
  margin-top: 4px;
  color: var(--lmc-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.funnel-feature-grid article {
  overflow: hidden;
  padding: 0 0 24px;
}

.funnel-feature-grid img {
  aspect-ratio: 16 / 10;
}

.funnel-feature-grid h3,
.funnel-feature-grid p {
  padding: 0 24px;
}

.funnel-feature-grid h3 {
  margin-top: 22px;
  color: var(--lmc-ink);
}

.funnel-final-cta {
  padding: 78px 0;
  text-align: center;
  background: linear-gradient(180deg, #fff, #f3f5f7);
  border-top: 1px solid var(--lmc-border);
  border-bottom: 1px solid var(--lmc-border);
}

.funnel-final-cta p {
  max-width: 840px;
  margin: 18px auto 28px;
}

.funnel-footer {
  width: 100%;
  margin: 0;
  padding: 44px max(24px, calc((100% - 1280px) / 2)) 28px;
  background: #20242b;
  color: rgba(255, 255, 255, .78);
}

.funnel-footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(180px, auto) minmax(180px, auto);
  gap: 48px;
  align-items: start;
}

.funnel-footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.funnel-footer-brand img {
  width: 92px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
}

.funnel-footer-brand strong,
.funnel-footer nav strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.funnel-footer nav {
  display: grid;
  gap: 8px;
}

.funnel-footer a {
  color: rgba(255, 255, 255, .82);
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease;
}

.funnel-footer a:hover,
.funnel-footer a:focus {
  color: #fff;
}

.funnel-footer p {
  margin: 0;
}

.funnel-copyright {
  margin-top: 30px !important;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  font-size: 15px;
}

.checkout-hero {
  padding: 58px 0;
  color: #fff;
  background: #20242b;
}

.checkout-hero h1 {
  font-size: 46px;
}

.checkout-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, .9);
}

.checkout-security-note {
  padding: 26px;
  color: var(--lmc-ink);
}

.checkout-security-note p {
  margin-bottom: 0;
  color: var(--lmc-text);
}

.checkout-section {
  padding: 54px 0 80px;
}

.checkout-grid {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
}

.checkout-form {
  display: grid;
  gap: 22px;
}

.checkout-card,
.checkout-summary {
  padding: 28px;
}

.checkout-card h2,
.checkout-summary h2 {
  margin-bottom: 22px;
  font-size: 26px;
}

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

.checkout-fields label,
.plan-option {
  position: relative;
}

.checkout-fields span {
  display: block;
  margin-bottom: 7px;
  color: var(--lmc-ink);
  font-weight: 700;
}

.checkout-fields input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #cbd5df;
  border-radius: 7px;
  background: #fff;
  color: var(--lmc-ink);
  font: inherit;
}

.checkout-fields input:focus {
  outline: 3px solid rgba(184, 0, 0, .16);
  border-color: var(--lmc-red);
}

.field-wide {
  grid-column: 1 / -1;
}

.plan-options {
  display: grid;
  gap: 12px;
}

.plan-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--lmc-border);
  border-radius: 8px;
  background: var(--lmc-panel);
}

.plan-option.recommended {
  border-color: var(--lmc-red);
  background: #fff6f6;
}

.plan-option input {
  margin-top: 5px;
}

.plan-option strong,
.plan-option em {
  display: block;
}

.plan-option em {
  margin-top: 4px;
  color: var(--lmc-muted);
  font-style: normal;
}

.checkout-actions {
  padding: 8px 0 0;
}

.checkout-actions p {
  margin: 18px 0 0;
  color: var(--lmc-muted);
  font-size: 15px;
}

.checkout-summary {
  position: sticky;
  top: 18px;
}

.checkout-summary img {
  margin: -28px -28px 24px;
  width: calc(100% + 56px);
  aspect-ratio: 16 / 10;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--lmc-border);
}

.summary-line strong {
  white-space: nowrap;
}

.summary-boost-line strong {
  color: var(--lmc-muted);
}

.summary-total-line {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 2px solid var(--lmc-border);
  border-bottom: 0;
  color: var(--lmc-ink);
  font-weight: 700;
}

.summary-total-line strong {
  color: var(--lmc-red);
  font-size: 22px;
}

.checkout-summary hr {
  margin: 22px 0;
  border: 0;
  border-top: 1px solid var(--lmc-border);
}

.checkout-summary h3 {
  color: var(--lmc-ink);
  font-size: 20px;
}

.checkout-summary ul {
  padding: 8px 0 0 20px;
}

.checkout-secondary-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--lmc-red);
  font-weight: 700;
  text-decoration: none;
}

.checkout-secondary-link:hover,
.checkout-secondary-link:focus {
  color: var(--lmc-red-dark);
}

@media (max-width: 980px) {
  .funnel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .funnel-hero-grid,
  .funnel-two-column,
  .funnel-offer-grid,
  .checkout-hero-grid,
  .checkout-grid,
  .funnel-video-grid {
    grid-template-columns: 1fr;
  }

  .funnel-page h1 {
    font-size: 44px;
  }

  .funnel-page h2 {
    font-size: 32px;
  }

  .funnel-steps,
  .funnel-feature-grid {
    grid-template-columns: 1fr;
  }

  .funnel-survey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .funnel-value-grid,
  .funnel-testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .funnel-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .funnel-footer-brand {
    grid-column: 1 / -1;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  body.funnel-page {
    font-size: 16px;
  }

  .funnel-wrap {
    width: min(100% - 22px, 1180px);
  }

  .funnel-header {
    padding: 18px 12px;
  }

  .funnel-brand {
    font-size: 21px;
  }

  .funnel-brand img {
    width: 72px;
    height: 40px;
  }

  .funnel-nav {
    justify-content: flex-start;
    gap: 14px;
  }

  .funnel-value-grid,
  .funnel-testimonials,
  .funnel-footer-inner {
    grid-template-columns: 1fr;
  }

  .funnel-value-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .funnel-hero-grid {
    min-height: auto;
    padding: 54px 0;
  }

  .funnel-page h1,
  .checkout-hero h1 {
    font-size: 36px;
  }

  .funnel-page h2 {
    font-size: 28px;
  }

  .funnel-lede {
    font-size: 20px;
  }

  .funnel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .funnel-button {
    width: 100%;
  }

  .funnel-section,
  .funnel-band,
  .funnel-video-section,
  .funnel-final-cta {
    padding: 54px 0;
  }

  .funnel-survey-grid,
  .checkout-fields {
    grid-template-columns: 1fr;
  }

  .checkout-card,
  .checkout-summary {
    padding: 22px;
  }

  .checkout-summary img {
    margin: -22px -22px 22px;
    width: calc(100% + 44px);
  }
}
