.marketing-page {
  --mail-ink: #302b24;
  --mail-soft: #655c4f;
  --mail-paper: #fffaf0;
  --mail-paper-deep: #f3e4c6;
  --mail-card: #fffdf8;
  --mail-line: #b9a88c;
  --mail-blue: #345f7d;
  --mail-red: #7b2f2b;
  --mail-green: #577158;
  --mail-yellow: #e0b64b;
  background:
    linear-gradient(rgba(78, 63, 43, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 63, 43, 0.035) 1px, transparent 1px),
    #ead8b7;
  background-size: 24px 24px;
  color: var(--mail-ink);
}

.marketing-page .site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  border: 1px solid rgba(48, 43, 36, 0.45);
  border-radius: 3px;
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 4px 5px 0 rgba(48, 43, 36, 0.18);
}

.marketing-page .site-nav a {
  text-decoration-color: transparent;
}

.marketing-page .site-nav a:hover {
  text-decoration-color: currentColor;
}

.marketing-page .button-primary {
  border-color: #4d201e;
  background: var(--mail-red);
  box-shadow: 0 5px 0 #4d201e;
  color: #fff;
}

.marketing-page .button-primary:hover:not(:disabled) {
  box-shadow: 0 7px 0 #4d201e;
}

.marketing-main {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
}

.marketing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(34px, 6vw, 78px);
  border: 2px solid var(--mail-ink);
  border-radius: 4px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.62), transparent 45%),
    var(--mail-paper);
  box-shadow: 8px 10px 0 rgba(48, 43, 36, 0.25);
}

.marketing-hero::after {
  position: absolute;
  right: 26px;
  bottom: 20px;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(123, 47, 43, 0.65);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--mail-paper), inset 0 0 0 7px rgba(123, 47, 43, 0.5);
  color: var(--mail-red);
  content: "MAH\A PRIVATE";
  font-family: var(--utility);
  font-size: 0.57rem;
  font-weight: 900;
  line-height: 1.2;
  opacity: 0.65;
  padding-top: 23px;
  text-align: center;
  white-space: pre;
  transform: rotate(-9deg);
}

.marketing-eyebrow,
.manifest-label {
  margin: 0 0 12px;
  color: var(--mail-red);
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.marketing-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--mail-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6.5vw, 6rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.marketing-lede {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--mail-soft);
  font-size: clamp(1.03rem, 1.7vw, 1.24rem);
  line-height: 1.68;
}

.marketing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}

.route-ticket {
  position: relative;
  padding: 24px;
  border: 2px solid var(--mail-ink);
  border-radius: 3px;
  background: #f3dcae;
  box-shadow: 6px 7px 0 rgba(48, 43, 36, 0.2);
  transform: rotate(1.2deg);
}

.route-ticket::before,
.route-ticket::after {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 32px;
  border: 2px solid var(--mail-ink);
  background: var(--mail-paper);
  content: "";
  transform: translateY(-50%);
}

.route-ticket::before {
  left: -2px;
  border-left: 0;
  border-radius: 0 18px 18px 0;
}

.route-ticket::after {
  right: -2px;
  border-right: 0;
  border-radius: 18px 0 0 18px;
}

.route-ticket h2 {
  margin: 0 0 18px;
  font-family: var(--utility);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.package-route {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.package-route li {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 13px;
  min-height: 58px;
  color: var(--mail-soft);
  font-size: 0.9rem;
}

.package-route li::before {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  border: 3px solid #f3dcae;
  border-radius: 50%;
  background: var(--mail-blue);
  box-shadow: 0 0 0 1px var(--mail-ink);
  content: "";
}

.package-route li:not(:last-child)::after {
  position: absolute;
  top: 20px;
  bottom: -1px;
  left: 8px;
  border-left: 2px dashed rgba(48, 43, 36, 0.55);
  content: "";
}

.package-route strong {
  display: block;
  color: var(--mail-ink);
  font-size: 0.88rem;
}

.breadcrumb {
  margin: 28px 0 18px;
  font-family: var(--utility);
  font-size: 0.72rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 7px;
  color: var(--mail-soft);
  content: "/";
}

.marketing-section {
  margin-top: 42px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--mail-line);
  border-radius: 3px;
  background: var(--mail-paper);
  box-shadow: 5px 6px 0 rgba(48, 43, 36, 0.15);
}

.marketing-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  gap: 30px;
  align-items: end;
  padding-bottom: 25px;
  border-bottom: 1px dashed var(--mail-line);
}

.marketing-section h2 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.marketing-section-head > p,
.section-intro {
  margin: 0;
  color: var(--mail-soft);
  line-height: 1.72;
}

.manifest-grid,
.combination-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.manifest-card,
.combination-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--mail-line);
  border-radius: 2px;
  background: var(--mail-card);
}

.manifest-card {
  min-height: 215px;
}

.manifest-card::before {
  position: absolute;
  top: 0;
  right: 20px;
  width: 42px;
  height: 9px;
  background: var(--mail-yellow);
  content: "";
  transform: translateY(-5px) rotate(2deg);
}

.manifest-card h3,
.combination-card h3,
.faq-card h3 {
  margin: 0 0 10px;
  color: var(--mail-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.manifest-card p,
.combination-card p,
.faq-card p {
  margin: 0;
  color: var(--mail-soft);
  line-height: 1.65;
}

.manifest-card .goodie-type {
  display: inline-block;
  margin-bottom: 22px;
  padding: 4px 8px;
  border: 1px solid currentColor;
  color: var(--mail-blue);
  font-family: var(--utility);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.combination-card {
  border-top: 5px solid var(--mail-blue);
}

.combination-card:nth-child(2) {
  border-top-color: var(--mail-red);
}

.combination-card:nth-child(3) {
  border-top-color: var(--mail-green);
}

.combination-card ul {
  margin: 16px 0 0;
  padding-left: 19px;
  color: var(--mail-soft);
}

.combination-card li + li {
  margin-top: 8px;
}

.marketing-figure {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.8fr);
  gap: clamp(24px, 5vw, 55px);
  align-items: center;
}

.marketing-figure img {
  width: 100%;
  height: auto;
  border: 8px solid var(--mail-card);
  outline: 1px solid var(--mail-line);
  box-shadow: 7px 9px 0 rgba(48, 43, 36, 0.2);
}

.marketing-figure figcaption {
  color: var(--mail-soft);
  line-height: 1.72;
}

.marketing-figure figcaption h2 {
  margin-bottom: 18px;
}

.demo-stage-frame {
  padding: clamp(18px, 3vw, 32px);
  border: 2px dashed var(--mail-line);
  background: #efe2c8;
}

.demo-stage-frame [data-demo-stage] {
  max-width: 940px;
  margin: 0 auto;
}

.demo-fallback {
  padding: clamp(25px, 5vw, 52px);
  border: 2px solid var(--mail-ink);
  border-radius: 3px;
  background: var(--mail-card);
  box-shadow: 7px 8px 0 rgba(48, 43, 36, 0.17);
}

.demo-fallback > header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--mail-line);
}

.demo-fallback > header h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.sample-goodies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.sample-goodies li {
  min-height: 112px;
  padding: 17px;
  border: 1px solid var(--mail-line);
  background: #f9edd5;
}

.sample-goodies strong {
  display: block;
  margin-bottom: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
}

.sample-goodies span {
  color: var(--mail-soft);
  font-size: 0.83rem;
  line-height: 1.45;
}

.faq-card {
  padding: 24px;
  border-top: 1px solid var(--mail-line);
}

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

.related-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
}

.related-route a {
  display: grid;
  min-height: 105px;
  align-content: center;
  padding: 20px;
  border: 1px solid var(--mail-ink);
  background: var(--mail-card);
  color: var(--mail-ink);
  font-weight: 800;
  text-decoration: none;
}

.related-route a span {
  display: block;
  margin-top: 6px;
  color: var(--mail-soft);
  font-size: 0.78rem;
  font-weight: 500;
}

.related-route a:hover {
  background: #f3e4c6;
}

.marketing-page .site-footer {
  width: min(1180px, calc(100% - 32px));
}

@media (max-width: 900px) {
  .marketing-page .site-nav {
    display: none;
  }

  .marketing-hero,
  .marketing-section-head,
  .marketing-figure {
    grid-template-columns: 1fr;
  }

  .route-ticket {
    max-width: 600px;
    transform: none;
  }

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

  .marketing-figure figcaption {
    order: -1;
  }
}

@media (max-width: 620px) {
  .marketing-page .site-header,
  .marketing-main,
  .marketing-page .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .marketing-page .site-header {
    padding-inline: 12px;
  }

  .marketing-page .site-header > .button {
    padding-inline: 11px;
    font-size: 0.73rem;
  }

  .marketing-hero {
    padding: 30px 20px 38px;
  }

  .marketing-hero::after {
    display: none;
  }

  .marketing-hero h1 {
    font-size: clamp(2.45rem, 13vw, 4.1rem);
  }

  .marketing-actions .button {
    width: 100%;
  }

  .marketing-section {
    padding: 26px 18px;
  }

  .manifest-grid,
  .combination-grid,
  .faq-grid,
  .related-route,
  .sample-goodies {
    grid-template-columns: 1fr;
  }

  .manifest-card {
    min-height: 0;
  }

  .demo-fallback > header {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-page *,
  .marketing-page *::before,
  .marketing-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
