/* Homepage styles stay separate from the shared trip reader. */
#marketing-page {
  --marketing-ink: #243f34;
}

#marketing-page section { scroll-margin-top: 90px; }
#marketing-page h1, #marketing-page h2 { letter-spacing: -0.055em; }
#marketing-page h1 { max-width: none; font-size: clamp(58px, 7.2vw, 90px); line-height: 1.02; }
#marketing-page h2 { font-size: clamp(38px, 4.5vw, 58px); line-height: 1.1; }
#marketing-page h3 { font-size: 25px; letter-spacing: -0.025em; }
#marketing-page .eyebrow { font-size: 12px; letter-spacing: 0.12em; }
#marketing-page figure { margin: 0; }
#marketing-page figcaption { margin-top: 20px; text-align: center; font-size: 12px; color: var(--muted); }
#marketing-page .product-hero {
  width: min(1060px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 90px;
  padding: 64px 0 80px;
}
#marketing-page .product-lead { font-size: 21px; line-height: 1.6; margin-top: 26px; color: var(--muted); max-width: 450px; }
#marketing-page .platform-note { font-size: 13px; color: var(--muted); max-width: 300px; margin-top: 20px; }
#marketing-page .phone-frame {
  position: relative;
  padding: 9px;
  background: #171819;
  border: 2px solid #737578;
  border-radius: 45px;
  box-shadow: inset 0 0 0 2px #303234, 0 24px 55px #30281e30;
}
#marketing-page .phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 34px;
}
#marketing-page .phone-frame::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 27%;
  height: 19px;
  border-radius: 20px;
  background: #101112;
  box-shadow: inset -6px 0 5px #20242a;
}
#marketing-page .phone-frame::after {
  content: "";
  position: absolute;
  top: 115px;
  right: -5px;
  width: 3px;
  height: 48px;
  border-radius: 0 3px 3px 0;
  background: #626467;
}

#marketing-page .hero-screen { width: min(100%, 320px); justify-self: center; }
#marketing-page .itinerary-story { padding: 80px max(32px, calc((100% - 1060px) / 2)); background: var(--surface); border-block: 1px solid var(--border); }
#marketing-page .story-heading { max-width: 610px; }
#marketing-page .story-heading > p:last-child { margin-top: 24px; font-size: 19px; color: var(--muted); }
#marketing-page .benefit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; }
#marketing-page .benefit-row article { border-top: 1px solid var(--border); padding-top: 22px; }
#marketing-page .benefit-row h3 + p { margin-top: 16px; color: var(--muted); font-size: 16px; }
#marketing-page .document-story { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; width: min(960px, calc(100% - 64px)); margin: 0 auto; padding: 90px 0; }
#marketing-page .document-screen { width: min(100%, 310px); justify-self: center; }
#marketing-page .document-copy > p:not([class]) { color: var(--muted); margin-top: 20px; }
#marketing-page .closing-note { background: var(--marketing-ink); color: #fff8f2; padding: 72px 24px; text-align: center; }
#marketing-page .closing-note .eyebrow { color: #c3d8c8; }
#marketing-page .closing-note a { display: inline-block; color: #fff8f2; margin-top: 30px; font-size: 15px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }

@media (max-width: 760px) {
  #marketing-page .product-hero { grid-template-columns: 1fr; gap: 44px; padding: 44px 0 56px; width: calc(100% - 40px); }
  #marketing-page h1 { font-size: clamp(52px, 12vw, 76px); }
  #marketing-page .hero-copy { max-width: 500px; }
  #marketing-page .hero-screen { width: min(100%, 320px); }
  #marketing-page .product-lead { font-size: 19px; }
  #marketing-page .itinerary-story { padding: 56px 24px; }
  #marketing-page .benefit-row { grid-template-columns: 1fr; gap: 30px; margin-top: 38px; }
  #marketing-page .document-story { grid-template-columns: 1fr; gap: 40px; width: calc(100% - 48px); padding: 56px 0; }
  #marketing-page .document-copy { grid-row: 1; }
  #marketing-page .closing-note { padding: 56px 24px; }
  .nav { gap: 12px; }
  .nav-links { gap: 12px; font-size: 13px; }
}

@media (max-width: 380px) {
  .nav-links a:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
